@surveycake/rc 3.0.0-alpha.1 → 3.0.0-alpha.2
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 +12 -0
- package/dist/V2/Link/Link.stories.d.ts +5 -0
- package/dist/V2/Link/index.d.ts +6 -0
- package/dist/V2/Link/style.d.ts +1 -0
- package/dist/V2/index.d.ts +1 -0
- package/dist/rc.cjs.development.js +68 -38
- package/dist/rc.cjs.development.js.map +1 -1
- package/dist/rc.cjs.production.min.js +1 -1
- package/dist/rc.cjs.production.min.js.map +1 -1
- package/dist/rc.esm.js +67 -37
- package/dist/rc.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.0.0-alpha.2](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.1...v3.0.0-alpha.2) (2021-10-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add Link component ([77ec1bf](https://fox.25sprout.com/surveycake/sdk/rc/commit/77ec1bfabbef1156b205c44ad9cd59a320c089c8))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* adjust button theme color ([efa67cb](https://fox.25sprout.com/surveycake/sdk/rc/commit/efa67cbf19c5bbc95bdaf49407e1893b22a82eda))
|
|
16
|
+
|
|
5
17
|
## [3.0.0-alpha.1](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.0...v3.0.0-alpha.1) (2021-10-04)
|
|
6
18
|
|
|
7
19
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LinkProps as MUILinkProps } from '@material-ui/core/Link';
|
|
3
|
+
export interface LinkProps extends MUILinkProps {
|
|
4
|
+
}
|
|
5
|
+
declare const Link: React.ForwardRefExoticComponent<Pick<LinkProps, "style" | "title" | "className" | "classes" | "innerRef" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "noWrap" | "gutterBottom" | "paragraph" | "align" | "display" | "variant" | "variantMapping" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "type" | "referrerPolicy" | "TypographyClasses" | "underline"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
6
|
+
export default Link;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useStyles: (props: import("@material-ui/core/OverridableComponent").OverrideProps<import("@material-ui/core/Link").LinkTypeMap<{}, "a">, "a">) => Record<string, string>;
|
package/dist/V2/index.d.ts
CHANGED
|
@@ -3,5 +3,6 @@ export { theme } from './styles/theme';
|
|
|
3
3
|
export { ThemeProvider } from './styles/ThemeProvider';
|
|
4
4
|
export { default as Button } from './Button';
|
|
5
5
|
export { default as Typography } from './Typography';
|
|
6
|
+
export { default as Link } from './Link';
|
|
6
7
|
export { default as Icon } from './Icon';
|
|
7
8
|
export { CustomSvgIcon };
|
|
@@ -13,6 +13,7 @@ var styles$5 = require('@material-ui/core/styles');
|
|
|
13
13
|
var emotionTheming = require('emotion-theming');
|
|
14
14
|
var MUIButton = _interopDefault(require('@material-ui/core/Button'));
|
|
15
15
|
var Typography$2 = _interopDefault(require('@material-ui/core/Typography'));
|
|
16
|
+
var MUILink = _interopDefault(require('@material-ui/core/Link'));
|
|
16
17
|
var Cancel = _interopDefault(require('@material-ui/icons/Cancel'));
|
|
17
18
|
var Info = _interopDefault(require('@material-ui/icons/Info'));
|
|
18
19
|
var CheckCircle$2 = _interopDefault(require('@material-ui/icons/CheckCircle'));
|
|
@@ -120,7 +121,7 @@ function _taggedTemplateLiteralLoose(strings, raw) {
|
|
|
120
121
|
}
|
|
121
122
|
|
|
122
123
|
function _templateObject() {
|
|
123
|
-
var data = _taggedTemplateLiteralLoose(["\n @import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:400,500,700|Roboto:400,500,700&display=swap&subset=chinese-traditional');\n "]);
|
|
124
|
+
var data = _taggedTemplateLiteralLoose(["\n @import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC:300,400,500,700|Roboto:400,500,700&display=swap&subset=chinese-traditional');\n "]);
|
|
124
125
|
|
|
125
126
|
_templateObject = function _templateObject() {
|
|
126
127
|
return data;
|
|
@@ -284,7 +285,7 @@ styles$5.makeStyles(function (theme) {
|
|
|
284
285
|
},
|
|
285
286
|
text: {
|
|
286
287
|
'& .MuiButton-label': {
|
|
287
|
-
color: theme.palette.grey
|
|
288
|
+
color: theme.palette.grey[600]
|
|
288
289
|
},
|
|
289
290
|
'&:hover': {
|
|
290
291
|
backgroundColor: theme.palette.primary.light,
|
|
@@ -293,7 +294,7 @@ styles$5.makeStyles(function (theme) {
|
|
|
293
294
|
}
|
|
294
295
|
},
|
|
295
296
|
'&:disabled > .MuiButton-label': {
|
|
296
|
-
color: theme.palette.grey
|
|
297
|
+
color: theme.palette.grey[400]
|
|
297
298
|
}
|
|
298
299
|
},
|
|
299
300
|
outlined: {
|
|
@@ -309,13 +310,13 @@ styles$5.makeStyles(function (theme) {
|
|
|
309
310
|
contained: {
|
|
310
311
|
boxShadow: 'none',
|
|
311
312
|
'& > .MuiButton-label': {
|
|
312
|
-
color: theme.palette.grey
|
|
313
|
+
color: theme.palette.grey[500]
|
|
313
314
|
},
|
|
314
315
|
'&:hover': {
|
|
315
316
|
boxShadow: 'none',
|
|
316
|
-
backgroundColor: theme.palette.grey[
|
|
317
|
+
backgroundColor: theme.palette.grey[100],
|
|
317
318
|
'& .MuiButton-label': {
|
|
318
|
-
color: theme.palette.grey
|
|
319
|
+
color: theme.palette.grey[600]
|
|
319
320
|
}
|
|
320
321
|
},
|
|
321
322
|
'&:disabled': {
|
|
@@ -336,7 +337,7 @@ styles$5.makeStyles(function (theme) {
|
|
|
336
337
|
}
|
|
337
338
|
},
|
|
338
339
|
'&:disabled': {
|
|
339
|
-
backgroundColor: theme.palette.grey[
|
|
340
|
+
backgroundColor: theme.palette.grey[300],
|
|
340
341
|
'& > .MuiButton-label': {
|
|
341
342
|
color: theme.palette.common.white
|
|
342
343
|
}
|
|
@@ -386,9 +387,37 @@ React.forwardRef(function (props, ref) {
|
|
|
386
387
|
|
|
387
388
|
var Typography =
|
|
388
389
|
/*#__PURE__*/
|
|
390
|
+
React.forwardRef(function (_ref, ref) {
|
|
391
|
+
var _ref$color = _ref.color,
|
|
392
|
+
color = _ref$color === void 0 ? 'textPrimary' : _ref$color,
|
|
393
|
+
rest = _objectWithoutPropertiesLoose(_ref, ["color"]);
|
|
394
|
+
|
|
395
|
+
return React__default.createElement(Typography$2, Object.assign({}, rest, {
|
|
396
|
+
ref: ref,
|
|
397
|
+
color: color
|
|
398
|
+
}));
|
|
399
|
+
});
|
|
400
|
+
|
|
401
|
+
var useStyles$1 =
|
|
402
|
+
/*#__PURE__*/
|
|
403
|
+
styles$5.makeStyles(function (theme) {
|
|
404
|
+
return {
|
|
405
|
+
underlineHover: {
|
|
406
|
+
'&:hover': {
|
|
407
|
+
color: function color(props) {
|
|
408
|
+
return props.color && (props.color === 'primary' || props.color === 'secondary') ? theme.palette[props.color].dark : theme.palette.primary.dark;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
});
|
|
414
|
+
|
|
415
|
+
var Link =
|
|
416
|
+
/*#__PURE__*/
|
|
389
417
|
React.forwardRef(function (props, ref) {
|
|
390
|
-
return React__default.createElement(
|
|
391
|
-
ref: ref
|
|
418
|
+
return React__default.createElement(MUILink, Object.assign({}, props, {
|
|
419
|
+
ref: ref,
|
|
420
|
+
classes: useStyles$1(props)
|
|
392
421
|
}));
|
|
393
422
|
});
|
|
394
423
|
|
|
@@ -419,6 +448,7 @@ var index$1 = {
|
|
|
419
448
|
ThemeProvider: ThemeProvider,
|
|
420
449
|
Button: Button,
|
|
421
450
|
Typography: Typography,
|
|
451
|
+
Link: Link,
|
|
422
452
|
Icon: Icon
|
|
423
453
|
};
|
|
424
454
|
|
|
@@ -529,7 +559,7 @@ var styles = function styles(theme) {
|
|
|
529
559
|
});
|
|
530
560
|
};
|
|
531
561
|
|
|
532
|
-
var useStyles$
|
|
562
|
+
var useStyles$2 =
|
|
533
563
|
/*#__PURE__*/
|
|
534
564
|
styles$5.makeStyles(styles);
|
|
535
565
|
var Avatar =
|
|
@@ -546,7 +576,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
546
576
|
height = _ref.height,
|
|
547
577
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "src", "alt", "size", "variant", "width", "height"]);
|
|
548
578
|
|
|
549
|
-
var classes = useStyles$
|
|
579
|
+
var classes = useStyles$2({
|
|
550
580
|
width: width,
|
|
551
581
|
height: height
|
|
552
582
|
});
|
|
@@ -732,7 +762,7 @@ React.forwardRef(function (props, ref) {
|
|
|
732
762
|
}, props), props.children);
|
|
733
763
|
});
|
|
734
764
|
|
|
735
|
-
var useStyles$
|
|
765
|
+
var useStyles$3 =
|
|
736
766
|
/*#__PURE__*/
|
|
737
767
|
styles$5.makeStyles({
|
|
738
768
|
root: {
|
|
@@ -755,7 +785,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
755
785
|
className = _ref.className,
|
|
756
786
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "className"]);
|
|
757
787
|
|
|
758
|
-
var _useStyles = useStyles$
|
|
788
|
+
var _useStyles = useStyles$3(restProps),
|
|
759
789
|
root = _useStyles.root;
|
|
760
790
|
|
|
761
791
|
return React__default.createElement(MuiCard, Object.assign({
|
|
@@ -1037,7 +1067,7 @@ function resolveThemeColorProp(theme, color) {
|
|
|
1037
1067
|
return typeof color === 'function' ? color(theme) : resolveThemeColorByPath(theme, color);
|
|
1038
1068
|
}
|
|
1039
1069
|
|
|
1040
|
-
var useStyles$
|
|
1070
|
+
var useStyles$4 =
|
|
1041
1071
|
/*#__PURE__*/
|
|
1042
1072
|
makeStyles([['typography', function (theme, _ref) {
|
|
1043
1073
|
var variant = _ref[0],
|
|
@@ -1065,7 +1095,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
1065
1095
|
noWrap = _ref.noWrap,
|
|
1066
1096
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "variant", "color", "weight", "gutterBottom", "noWrap"]);
|
|
1067
1097
|
|
|
1068
|
-
var styles = useStyles$
|
|
1098
|
+
var styles = useStyles$4([Vari, color, weight, gutterBottom, noWrap]);
|
|
1069
1099
|
return React__default.createElement(Vari, Object.assign({}, props, {
|
|
1070
1100
|
className: className ? emotion.cx(styles.typography, className) : styles.typography,
|
|
1071
1101
|
ref: ref
|
|
@@ -1230,7 +1260,7 @@ function hexToRgba(originColor, opacity) {
|
|
|
1230
1260
|
return "rgba(" + rgb + ", " + opacity + ")";
|
|
1231
1261
|
}
|
|
1232
1262
|
|
|
1233
|
-
var useStyles$
|
|
1263
|
+
var useStyles$5 =
|
|
1234
1264
|
/*#__PURE__*/
|
|
1235
1265
|
makeStyles([['tag', function (theme, _ref) {
|
|
1236
1266
|
var originColor = _ref[0],
|
|
@@ -1248,7 +1278,7 @@ var Tag = function Tag(_ref) {
|
|
|
1248
1278
|
onClick = _ref.onClick,
|
|
1249
1279
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "className", "color", "variant", "onClick"]);
|
|
1250
1280
|
|
|
1251
|
-
var styles = useStyles$
|
|
1281
|
+
var styles = useStyles$5([color, variant, !!onClick]);
|
|
1252
1282
|
return React__default.createElement("div", Object.assign({}, props, {
|
|
1253
1283
|
className: className ? emotion.cx(styles.tag, className) : styles.tag,
|
|
1254
1284
|
onClick: onClick
|
|
@@ -1282,7 +1312,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
1282
1312
|
}, restProps), children);
|
|
1283
1313
|
});
|
|
1284
1314
|
|
|
1285
|
-
var useStyles$
|
|
1315
|
+
var useStyles$6 =
|
|
1286
1316
|
/*#__PURE__*/
|
|
1287
1317
|
styles$5.makeStyles({
|
|
1288
1318
|
root: {
|
|
@@ -1395,7 +1425,7 @@ var Select = function Select(props) {
|
|
|
1395
1425
|
isVarItem = _props$isVarItem === void 0 ? false : _props$isVarItem,
|
|
1396
1426
|
restProps = _objectWithoutPropertiesLoose(props, ["options", "value", "onChange", "variant", "multiple", "onOpen", "onClose", "height", "backgroundColor", "isVarItem"]);
|
|
1397
1427
|
|
|
1398
|
-
var classes = useStyles$
|
|
1428
|
+
var classes = useStyles$6(props);
|
|
1399
1429
|
var itemClasses = itemStyle(props);
|
|
1400
1430
|
return React__default.createElement(MuiSelect, Object.assign({
|
|
1401
1431
|
className: classes.root,
|
|
@@ -1721,7 +1751,7 @@ var MenuList = function MenuList(_ref) {
|
|
|
1721
1751
|
});
|
|
1722
1752
|
};
|
|
1723
1753
|
|
|
1724
|
-
var useStyles$
|
|
1754
|
+
var useStyles$7 =
|
|
1725
1755
|
/*#__PURE__*/
|
|
1726
1756
|
styles$5.makeStyles({
|
|
1727
1757
|
root: {
|
|
@@ -1746,7 +1776,7 @@ var MenuItem = function MenuItem(props) {
|
|
|
1746
1776
|
var children = props.children,
|
|
1747
1777
|
restProps = _objectWithoutPropertiesLoose(props, ["children", "backgroundColor", "color", "hoverBackgroundColor", "hoverColor"]);
|
|
1748
1778
|
|
|
1749
|
-
var classes = useStyles$
|
|
1779
|
+
var classes = useStyles$7(props);
|
|
1750
1780
|
return React__default.createElement(MuiMenuItem, Object.assign({}, restProps, {
|
|
1751
1781
|
className: classes.root
|
|
1752
1782
|
}), children);
|
|
@@ -1986,7 +2016,7 @@ var Pagination = function Pagination(_ref) {
|
|
|
1986
2016
|
var index$3 = /*#__PURE__*/
|
|
1987
2017
|
React.memo(Pagination);
|
|
1988
2018
|
|
|
1989
|
-
var useStyles$
|
|
2019
|
+
var useStyles$8 =
|
|
1990
2020
|
/*#__PURE__*/
|
|
1991
2021
|
styles$5.makeStyles({
|
|
1992
2022
|
scrollButtons: {
|
|
@@ -2016,7 +2046,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2016
2046
|
onChange = _ref.onChange,
|
|
2017
2047
|
restProps = _objectWithoutPropertiesLoose(_ref, ["children", "value", "onChange"]);
|
|
2018
2048
|
|
|
2019
|
-
var classes = useStyles$
|
|
2049
|
+
var classes = useStyles$8();
|
|
2020
2050
|
return React__default.createElement(MuiTabs, Object.assign({
|
|
2021
2051
|
ref: ref,
|
|
2022
2052
|
value: value,
|
|
@@ -2027,7 +2057,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2027
2057
|
}, restProps), children);
|
|
2028
2058
|
});
|
|
2029
2059
|
|
|
2030
|
-
var useStyles$
|
|
2060
|
+
var useStyles$9 =
|
|
2031
2061
|
/*#__PURE__*/
|
|
2032
2062
|
styles$5.makeStyles(function (theme) {
|
|
2033
2063
|
return styles$5.createStyles({
|
|
@@ -2063,7 +2093,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2063
2093
|
value = _ref.value,
|
|
2064
2094
|
restProps = _objectWithoutPropertiesLoose(_ref, ["label", "disabled", "icon", "value"]);
|
|
2065
2095
|
|
|
2066
|
-
var classes = useStyles$
|
|
2096
|
+
var classes = useStyles$9();
|
|
2067
2097
|
return React__default.createElement(MuiTab, Object.assign({
|
|
2068
2098
|
ref: ref,
|
|
2069
2099
|
classes: classes,
|
|
@@ -2091,7 +2121,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2091
2121
|
}, restProps), children);
|
|
2092
2122
|
});
|
|
2093
2123
|
|
|
2094
|
-
var useStyles$
|
|
2124
|
+
var useStyles$a =
|
|
2095
2125
|
/*#__PURE__*/
|
|
2096
2126
|
styles$5.makeStyles({
|
|
2097
2127
|
root: {
|
|
@@ -2136,7 +2166,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2136
2166
|
value = _ref.value,
|
|
2137
2167
|
restProps = _objectWithoutPropertiesLoose(_ref, ["disabled", "checked", "value", "classes"]);
|
|
2138
2168
|
|
|
2139
|
-
var css = useStyles$
|
|
2169
|
+
var css = useStyles$a();
|
|
2140
2170
|
return React__default.createElement(Radio$1, Object.assign({
|
|
2141
2171
|
ref: ref,
|
|
2142
2172
|
value: value,
|
|
@@ -2883,7 +2913,7 @@ var icons = {
|
|
|
2883
2913
|
warning: ExclamationCircle
|
|
2884
2914
|
};
|
|
2885
2915
|
|
|
2886
|
-
var useStyles$
|
|
2916
|
+
var useStyles$b =
|
|
2887
2917
|
/*#__PURE__*/
|
|
2888
2918
|
makeStyles([['message', function (theme, _ref) {
|
|
2889
2919
|
var visible = _ref[1];
|
|
@@ -2931,7 +2961,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
2931
2961
|
}
|
|
2932
2962
|
};
|
|
2933
2963
|
|
|
2934
|
-
var styles = useStyles$
|
|
2964
|
+
var styles = useStyles$b([type, visible]);
|
|
2935
2965
|
React.useEffect(function () {
|
|
2936
2966
|
window.setTimeout(function () {
|
|
2937
2967
|
return setVisible(true);
|
|
@@ -3118,7 +3148,7 @@ var semanticColors = {
|
|
|
3118
3148
|
warning: '#fef1e1',
|
|
3119
3149
|
error: '#fbd0e0'
|
|
3120
3150
|
};
|
|
3121
|
-
var useStyles$
|
|
3151
|
+
var useStyles$c =
|
|
3122
3152
|
/*#__PURE__*/
|
|
3123
3153
|
styles$5.makeStyles({
|
|
3124
3154
|
root: {
|
|
@@ -3220,7 +3250,7 @@ React.forwardRef(function (_ref, ref) {
|
|
|
3220
3250
|
semantic = _ref.semantic,
|
|
3221
3251
|
showSemanticIcon = _ref.showSemanticIcon,
|
|
3222
3252
|
MessageIcon = _ref.MessageIcon;
|
|
3223
|
-
var classes = useStyles$
|
|
3253
|
+
var classes = useStyles$c({
|
|
3224
3254
|
semantic: semantic,
|
|
3225
3255
|
withTitle: !!title
|
|
3226
3256
|
});
|
|
@@ -3285,7 +3315,7 @@ React.forwardRef(function (props, ref) {
|
|
|
3285
3315
|
}, props), props.children);
|
|
3286
3316
|
});
|
|
3287
3317
|
|
|
3288
|
-
var Link = {
|
|
3318
|
+
var Link$1 = {
|
|
3289
3319
|
name: 'list-ul-o',
|
|
3290
3320
|
definition: {
|
|
3291
3321
|
viewBox: '0 0 512 512',
|
|
@@ -3437,7 +3467,7 @@ var SlidingSideMenu = function SlidingSideMenu(_ref) {
|
|
|
3437
3467
|
}, icon) : React__default.createElement(StyledIconWrapper, {
|
|
3438
3468
|
onClick: handleIconClick
|
|
3439
3469
|
}, React__default.createElement(Icon$1, Object.assign({
|
|
3440
|
-
icon: Link,
|
|
3470
|
+
icon: Link$1,
|
|
3441
3471
|
className: emotion.cx(IconStyle, IconClassName)
|
|
3442
3472
|
}, restIconProps))), React__default.createElement(StyledSideMenu, Object.assign({
|
|
3443
3473
|
open: open,
|
|
@@ -3454,7 +3484,7 @@ var SlidingSideMenu = function SlidingSideMenu(_ref) {
|
|
|
3454
3484
|
var index$6 = /*#__PURE__*/
|
|
3455
3485
|
React.memo(SlidingSideMenu);
|
|
3456
3486
|
|
|
3457
|
-
var useStyles$
|
|
3487
|
+
var useStyles$d =
|
|
3458
3488
|
/*#__PURE__*/
|
|
3459
3489
|
styles$5.makeStyles({
|
|
3460
3490
|
root: {
|
|
@@ -3499,7 +3529,7 @@ styles$5.makeStyles({
|
|
|
3499
3529
|
});
|
|
3500
3530
|
|
|
3501
3531
|
var Divider = function Divider(props) {
|
|
3502
|
-
var _useStyles = useStyles$
|
|
3532
|
+
var _useStyles = useStyles$d(props),
|
|
3503
3533
|
root = _useStyles.root;
|
|
3504
3534
|
|
|
3505
3535
|
return React__default.createElement(MuiDivider, Object.assign({}, props, {
|
|
@@ -4369,7 +4399,7 @@ var AngleRight$1 = {
|
|
|
4369
4399
|
}
|
|
4370
4400
|
};
|
|
4371
4401
|
|
|
4372
|
-
var Link$
|
|
4402
|
+
var Link$2 = {
|
|
4373
4403
|
name: 'link-o',
|
|
4374
4404
|
definition: {
|
|
4375
4405
|
viewBox: '0 0 512 512',
|
|
@@ -4835,10 +4865,10 @@ exports.hexToRgba = hexToRgba;
|
|
|
4835
4865
|
exports.infoCircleFilled = InfoCircle;
|
|
4836
4866
|
exports.infoCircleOutlined = InfoCircle$1;
|
|
4837
4867
|
exports.linkLight = LinkLight;
|
|
4838
|
-
exports.linkOutlined = Link$
|
|
4868
|
+
exports.linkOutlined = Link$2;
|
|
4839
4869
|
exports.linkedinBrand = Linkedin;
|
|
4840
4870
|
exports.linkedinIn = LinkedinIn;
|
|
4841
|
-
exports.listUlOutlined = Link;
|
|
4871
|
+
exports.listUlOutlined = Link$1;
|
|
4842
4872
|
exports.longArrowRightOutlined = LongArrowRight;
|
|
4843
4873
|
exports.makeStyles = makeStyles;
|
|
4844
4874
|
exports.minusLightFilled = MinusLight;
|