@redsift/design-system-legacy 6.0.0 → 6.1.0-alpha.0
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/CONTRIBUTING.md +382 -0
- package/index.js +5708 -0
- package/index.js.map +1 -0
- package/package.json +7 -23
- package/esm/_internal/Alert.js +0 -10
- package/esm/_internal/Alert.js.map +0 -1
- package/esm/_internal/Alert2.js +0 -59
- package/esm/_internal/Alert2.js.map +0 -1
- package/esm/_internal/Button.js +0 -5
- package/esm/_internal/Button.js.map +0 -1
- package/esm/_internal/Button2.js +0 -56
- package/esm/_internal/Button2.js.map +0 -1
- package/esm/_internal/Card.js +0 -6
- package/esm/_internal/Card.js.map +0 -1
- package/esm/_internal/Card2.js +0 -33
- package/esm/_internal/Card2.js.map +0 -1
- package/esm/_internal/CardHeader.js +0 -7
- package/esm/_internal/CardHeader.js.map +0 -1
- package/esm/_internal/CardHeader2.js +0 -35
- package/esm/_internal/CardHeader2.js.map +0 -1
- package/esm/_internal/Checkbox.js +0 -7
- package/esm/_internal/Checkbox.js.map +0 -1
- package/esm/_internal/Checkbox2.js +0 -53
- package/esm/_internal/Checkbox2.js.map +0 -1
- package/esm/_internal/CheckboxTree.js +0 -8
- package/esm/_internal/CheckboxTree.js.map +0 -1
- package/esm/_internal/CheckboxTree2.js +0 -185
- package/esm/_internal/CheckboxTree2.js.map +0 -1
- package/esm/_internal/IconContainer.js +0 -6
- package/esm/_internal/IconContainer.js.map +0 -1
- package/esm/_internal/IconContainer2.js +0 -37
- package/esm/_internal/IconContainer2.js.map +0 -1
- package/esm/_internal/Input.js +0 -7
- package/esm/_internal/Input.js.map +0 -1
- package/esm/_internal/Input2.js +0 -185
- package/esm/_internal/Input2.js.map +0 -1
- package/esm/_internal/Pagination.js +0 -10
- package/esm/_internal/Pagination.js.map +0 -1
- package/esm/_internal/Pagination2.js +0 -82
- package/esm/_internal/Pagination2.js.map +0 -1
- package/esm/_internal/Radio.js +0 -7
- package/esm/_internal/Radio.js.map +0 -1
- package/esm/_internal/Radio2.js +0 -51
- package/esm/_internal/Radio2.js.map +0 -1
- package/esm/_internal/Select.js +0 -9
- package/esm/_internal/Select.js.map +0 -1
- package/esm/_internal/Select2.js +0 -458
- package/esm/_internal/Select2.js.map +0 -1
- package/esm/_internal/Switch.js +0 -7
- package/esm/_internal/Switch.js.map +0 -1
- package/esm/_internal/Switch2.js +0 -55
- package/esm/_internal/Switch2.js.map +0 -1
- package/esm/_internal/Table.js +0 -27
- package/esm/_internal/Table.js.map +0 -1
- package/esm/_internal/Table2.js +0 -1252
- package/esm/_internal/Table2.js.map +0 -1
- package/esm/_internal/Tabs.js +0 -7
- package/esm/_internal/Tabs.js.map +0 -1
- package/esm/_internal/Tabs2.js +0 -121
- package/esm/_internal/Tabs2.js.map +0 -1
- package/esm/_internal/Typography.js +0 -6
- package/esm/_internal/Typography.js.map +0 -1
- package/esm/_internal/Typography2.js +0 -75
- package/esm/_internal/Typography2.js.map +0 -1
- package/esm/_internal/_rollupPluginBabelHelpers.js +0 -108
- package/esm/_internal/_rollupPluginBabelHelpers.js.map +0 -1
- package/esm/_internal/icons/ActionsIcon.js +0 -20
- package/esm/_internal/icons/ActionsIcon.js.map +0 -1
- package/esm/_internal/icons/AddIcon.js +0 -16
- package/esm/_internal/icons/AddIcon.js.map +0 -1
- package/esm/_internal/icons/Arrow.js +0 -36
- package/esm/_internal/icons/Arrow.js.map +0 -1
- package/esm/_internal/icons/ArrowDown.js +0 -17
- package/esm/_internal/icons/ArrowDown.js.map +0 -1
- package/esm/_internal/icons/ArrowIcon.js +0 -29
- package/esm/_internal/icons/ArrowIcon.js.map +0 -1
- package/esm/_internal/icons/ArrowUp.js +0 -16
- package/esm/_internal/icons/ArrowUp.js.map +0 -1
- package/esm/_internal/icons/BarchartHorizontal.js +0 -26
- package/esm/_internal/icons/BarchartHorizontal.js.map +0 -1
- package/esm/_internal/icons/BellIcon.js +0 -27
- package/esm/_internal/icons/BellIcon.js.map +0 -1
- package/esm/_internal/icons/BimiSetupIcon.js +0 -21
- package/esm/_internal/icons/BimiSetupIcon.js.map +0 -1
- package/esm/_internal/icons/Chevron.js +0 -40
- package/esm/_internal/icons/Chevron.js.map +0 -1
- package/esm/_internal/icons/ChevronLeft.js +0 -16
- package/esm/_internal/icons/ChevronLeft.js.map +0 -1
- package/esm/_internal/icons/ChevronRight.js +0 -16
- package/esm/_internal/icons/ChevronRight.js.map +0 -1
- package/esm/_internal/icons/ClearIcon.js +0 -16
- package/esm/_internal/icons/ClearIcon.js.map +0 -1
- package/esm/_internal/icons/Cloud.js +0 -28
- package/esm/_internal/icons/Cloud.js.map +0 -1
- package/esm/_internal/icons/Cross.js +0 -26
- package/esm/_internal/icons/Cross.js.map +0 -1
- package/esm/_internal/icons/DeleteIcon.js +0 -24
- package/esm/_internal/icons/DeleteIcon.js.map +0 -1
- package/esm/_internal/icons/DynamicDmarcIcon.js +0 -36
- package/esm/_internal/icons/DynamicDmarcIcon.js.map +0 -1
- package/esm/_internal/icons/EditOutline.js +0 -16
- package/esm/_internal/icons/EditOutline.js.map +0 -1
- package/esm/_internal/icons/Email.js +0 -55
- package/esm/_internal/icons/Email.js.map +0 -1
- package/esm/_internal/icons/EmailSourcesIcon.js +0 -29
- package/esm/_internal/icons/EmailSourcesIcon.js.map +0 -1
- package/esm/_internal/icons/ExpandLayoutIcon.js +0 -35
- package/esm/_internal/icons/ExpandLayoutIcon.js.map +0 -1
- package/esm/_internal/icons/ExportIcon.js +0 -12
- package/esm/_internal/icons/ExportIcon.js.map +0 -1
- package/esm/_internal/icons/Eye.js +0 -35
- package/esm/_internal/icons/Eye.js.map +0 -1
- package/esm/_internal/icons/Facebook.js +0 -32
- package/esm/_internal/icons/Facebook.js.map +0 -1
- package/esm/_internal/icons/FilterList.js +0 -16
- package/esm/_internal/icons/FilterList.js.map +0 -1
- package/esm/_internal/icons/FindOutHowIcon.js +0 -41
- package/esm/_internal/icons/FindOutHowIcon.js.map +0 -1
- package/esm/_internal/icons/FlatArrow.js +0 -34
- package/esm/_internal/icons/FlatArrow.js.map +0 -1
- package/esm/_internal/icons/ForwardArrowIcon.js +0 -53
- package/esm/_internal/icons/ForwardArrowIcon.js.map +0 -1
- package/esm/_internal/icons/Github.js +0 -33
- package/esm/_internal/icons/Github.js.map +0 -1
- package/esm/_internal/icons/Globe.js +0 -61
- package/esm/_internal/icons/Globe.js.map +0 -1
- package/esm/_internal/icons/Hand.js +0 -25
- package/esm/_internal/icons/Hand.js.map +0 -1
- package/esm/_internal/icons/InfinityLoop.js +0 -22
- package/esm/_internal/icons/InfinityLoop.js.map +0 -1
- package/esm/_internal/icons/InfinityLoopBreak.js +0 -31
- package/esm/_internal/icons/InfinityLoopBreak.js.map +0 -1
- package/esm/_internal/icons/IngrainIcon.js +0 -39
- package/esm/_internal/icons/IngrainIcon.js.map +0 -1
- package/esm/_internal/icons/LanguageIcon.js +0 -37
- package/esm/_internal/icons/LanguageIcon.js.map +0 -1
- package/esm/_internal/icons/Linkedin.js +0 -29
- package/esm/_internal/icons/Linkedin.js.map +0 -1
- package/esm/_internal/icons/LocationPin.js +0 -31
- package/esm/_internal/icons/LocationPin.js.map +0 -1
- package/esm/_internal/icons/MicrosoftShield.js +0 -40
- package/esm/_internal/icons/MicrosoftShield.js.map +0 -1
- package/esm/_internal/icons/News.js +0 -44
- package/esm/_internal/icons/News.js.map +0 -1
- package/esm/_internal/icons/Nodes.js +0 -27
- package/esm/_internal/icons/Nodes.js.map +0 -1
- package/esm/_internal/icons/OnDmarcIcon.js +0 -34
- package/esm/_internal/icons/OnDmarcIcon.js.map +0 -1
- package/esm/_internal/icons/OnDmarcLogo.js +0 -52
- package/esm/_internal/icons/OnDmarcLogo.js.map +0 -1
- package/esm/_internal/icons/OnDomainIcon.js +0 -32
- package/esm/_internal/icons/OnDomainIcon.js.map +0 -1
- package/esm/_internal/icons/OnInboxIcon.js +0 -48
- package/esm/_internal/icons/OnInboxIcon.js.map +0 -1
- package/esm/_internal/icons/OnInboxLogo.js +0 -68
- package/esm/_internal/icons/OnInboxLogo.js.map +0 -1
- package/esm/_internal/icons/OnInboxManagerIcon.js +0 -49
- package/esm/_internal/icons/OnInboxManagerIcon.js.map +0 -1
- package/esm/_internal/icons/OpenInNewTabIcon.js +0 -23
- package/esm/_internal/icons/OpenInNewTabIcon.js.map +0 -1
- package/esm/_internal/icons/Padlock.js +0 -33
- package/esm/_internal/icons/Padlock.js.map +0 -1
- package/esm/_internal/icons/PlusIcon.js +0 -18
- package/esm/_internal/icons/PlusIcon.js.map +0 -1
- package/esm/_internal/icons/Question.js +0 -24
- package/esm/_internal/icons/Question.js.map +0 -1
- package/esm/_internal/icons/Recruiting.js +0 -23
- package/esm/_internal/icons/Recruiting.js.map +0 -1
- package/esm/_internal/icons/ReportsIcon.js +0 -21
- package/esm/_internal/icons/ReportsIcon.js.map +0 -1
- package/esm/_internal/icons/SearchIcon.js +0 -16
- package/esm/_internal/icons/SearchIcon.js.map +0 -1
- package/esm/_internal/icons/Shield.js +0 -22
- package/esm/_internal/icons/Shield.js.map +0 -1
- package/esm/_internal/icons/ShieldPassIcon.js +0 -19
- package/esm/_internal/icons/ShieldPassIcon.js.map +0 -1
- package/esm/_internal/icons/ShieldSolid.js +0 -31
- package/esm/_internal/icons/ShieldSolid.js.map +0 -1
- package/esm/_internal/icons/ShieldWarningIcon.js +0 -34
- package/esm/_internal/icons/ShieldWarningIcon.js.map +0 -1
- package/esm/_internal/icons/ShieldWarningInvertedIcon.js +0 -29
- package/esm/_internal/icons/ShieldWarningInvertedIcon.js.map +0 -1
- package/esm/_internal/icons/Spinner.js +0 -75
- package/esm/_internal/icons/Spinner.js.map +0 -1
- package/esm/_internal/icons/Team.js +0 -81
- package/esm/_internal/icons/Team.js.map +0 -1
- package/esm/_internal/icons/ThreeDotsIcon.js +0 -19
- package/esm/_internal/icons/ThreeDotsIcon.js.map +0 -1
- package/esm/_internal/icons/Thumb.js +0 -22
- package/esm/_internal/icons/Thumb.js.map +0 -1
- package/esm/_internal/icons/Traffic.js +0 -28
- package/esm/_internal/icons/Traffic.js.map +0 -1
- package/esm/_internal/icons/Twitter.js +0 -37
- package/esm/_internal/icons/Twitter.js.map +0 -1
- package/esm/_internal/icons/Upload.js +0 -25
- package/esm/_internal/icons/Upload.js.map +0 -1
- package/esm/_internal/icons/VerticalDots.js +0 -40
- package/esm/_internal/icons/VerticalDots.js.map +0 -1
- package/esm/_internal/icons/Warning.js +0 -36
- package/esm/_internal/icons/Warning.js.map +0 -1
- package/esm/_internal/icons/WarningTriangle.js +0 -39
- package/esm/_internal/icons/WarningTriangle.js.map +0 -1
- package/esm/_internal/icons/Youtube.js +0 -29
- package/esm/_internal/icons/Youtube.js.map +0 -1
- package/esm/index.js +0 -132
- package/esm/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"directory": "dist"
|
|
5
5
|
},
|
|
6
|
-
"main": "
|
|
7
|
-
"module": "
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"module": "index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
10
10
|
"build": "rollup -c",
|
|
11
11
|
"prepare": "install-peers || exit 0",
|
|
12
12
|
"prepublishOnly": "yarn build"
|
|
13
13
|
},
|
|
14
|
-
"version": "6.0.0",
|
|
14
|
+
"version": "6.1.0-alpha.0",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"classnames": "^2.3.1",
|
|
17
17
|
"match-sorter": "^6.3.1",
|
|
@@ -34,50 +34,34 @@
|
|
|
34
34
|
"@babel/preset-env": "^7.17.10",
|
|
35
35
|
"@babel/preset-react": "^7.17.12",
|
|
36
36
|
"@babel/preset-typescript": "^7.16.7",
|
|
37
|
-
"@rollup/plugin-babel": "^
|
|
37
|
+
"@rollup/plugin-babel": "^6.0.2",
|
|
38
38
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
39
39
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
40
40
|
"@svgr/rollup": "^6.2.1",
|
|
41
|
-
"@svgr/webpack": "^6.2.1",
|
|
42
41
|
"@typescript-eslint/eslint-plugin": "^5.28.0",
|
|
43
42
|
"@typescript-eslint/parser": "^5.26.0",
|
|
44
43
|
"autoprefixer": "^9.7.4",
|
|
45
44
|
"babel-plugin-require-context-hook": "^1.0.0",
|
|
46
45
|
"dts-bundle-generator": "^6.9.0",
|
|
47
|
-
"eslint": "^7.32.0",
|
|
48
|
-
"eslint-plugin-import": "^2.26.0",
|
|
49
|
-
"eslint-plugin-jest": "^26.5.3",
|
|
50
|
-
"eslint-plugin-jsdoc": "^39.3.2",
|
|
51
|
-
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
52
|
-
"eslint-plugin-react": "^7.30.0",
|
|
53
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
54
46
|
"identity-obj-proxy": "^3.0.0",
|
|
55
47
|
"install-peers-cli": "^2.2.0",
|
|
56
|
-
"mockdate": "^3.0.5",
|
|
57
48
|
"postcss-flexbox-unboxer": "^1.0.0",
|
|
58
49
|
"postcss-hover-media-feature": "^1.0.2",
|
|
59
50
|
"react": "18.1.0",
|
|
60
51
|
"react-dom": "18.1.0",
|
|
61
|
-
"react-test-renderer": "^18.1.0",
|
|
62
52
|
"rollup": "^2.72.1",
|
|
63
53
|
"rollup-plugin-analyzer": "^4.0.0",
|
|
64
54
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
65
55
|
"rollup-plugin-cleaner": "^1.0.0",
|
|
66
56
|
"rollup-plugin-copy": "^3.4.0",
|
|
67
|
-
"rollup-plugin-
|
|
57
|
+
"rollup-plugin-ts-paths-resolve": "^1.7.1",
|
|
68
58
|
"rollup-plugin-typescript-paths": "^1.3.1",
|
|
69
|
-
"styled-components": "^5.3.5"
|
|
70
|
-
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
71
|
-
"typescript": "^4.6.4",
|
|
72
|
-
"typescript-strict-plugin": "^2.0.0",
|
|
73
|
-
"webpack": "^5.72.1",
|
|
74
|
-
"yargs": "^17.5.0",
|
|
75
|
-
"yarn": "^1.22.18"
|
|
59
|
+
"styled-components": "^5.3.5"
|
|
76
60
|
},
|
|
77
61
|
"peerDependencies": {
|
|
78
62
|
"react": "17 || 18",
|
|
79
63
|
"react-dom": "17 || 18",
|
|
80
64
|
"styled-components": "^5.3.3"
|
|
81
65
|
},
|
|
82
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "cbf71715865796ec3f73f017709f6635be4a8091"
|
|
83
67
|
}
|
package/esm/_internal/Alert.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { A as Alert } from './Alert2.js';
|
|
2
|
-
import './_rollupPluginBabelHelpers.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'styled-components';
|
|
5
|
-
import './Typography2.js';
|
|
6
|
-
import 'prop-types';
|
|
7
|
-
import './Button2.js';
|
|
8
|
-
import './icons/WarningTriangle.js';
|
|
9
|
-
import './icons/Cross.js';
|
|
10
|
-
//# sourceMappingURL=Alert.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/esm/_internal/Alert2.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteral, c as _objectWithoutProperties, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { T as Typography } from './Typography2.js';
|
|
5
|
-
import { B as Button } from './Button2.js';
|
|
6
|
-
import { WarningTriangle } from './icons/WarningTriangle.js';
|
|
7
|
-
import { Cross } from './icons/Cross.js';
|
|
8
|
-
|
|
9
|
-
const _excluded = ["children", "type", "fluid", "title", "onClose"];
|
|
10
|
-
|
|
11
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
12
|
-
const kindToColor = {
|
|
13
|
-
success: "#e0ffe2",
|
|
14
|
-
info: "#dbf1ff",
|
|
15
|
-
warning: "#fff6dd",
|
|
16
|
-
danger: "#ffe3e0"
|
|
17
|
-
};
|
|
18
|
-
const kindToCornerColor = {
|
|
19
|
-
warning: "#FCBB54",
|
|
20
|
-
danger: "#E06354"
|
|
21
|
-
};
|
|
22
|
-
const AlertContainer = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n padding: 1.5em 3em;\n display: flex;\n flex-direction: row;\n background-color: ", ";\n justify-content: space-between;\n ", "\n align-items: ", ";\n > button {\n align-self: ", ";\n }\n line-height: 1.3em;\n"])), props => kindToColor[props.type], props => props.fluid ? "width: 100%;" : "", props => props.simple ? "center" : "flex-start", props => props.simple ? "center" : "flex-start");
|
|
23
|
-
const Title = styled(Typography)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-family: Raleway;\n margin-bottom: 0.5em;\n font-weight: 600;\n font-size: 1.12em;\n"])));
|
|
24
|
-
const Content = styled(Typography)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n color: #333;\n font-weight: medium;\n > p {\n margin-bottom: 0;\n }\n"])));
|
|
25
|
-
const CloseButton = styled(Button)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n"])), props => props.simple ? "margin: 0 -2em 0 2em;" : "\n position: absolute;\n top: .75em;\n right: .5em;\n ");
|
|
26
|
-
const WarningContainer = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n padding: 0.5em 0.75em 0.75em 0.5em;\n border-radius: 0 0 3.5em 0;\n background-color: ", ";\n"])), props => props.color);
|
|
27
|
-
const Alert = _ref => {
|
|
28
|
-
let {
|
|
29
|
-
children,
|
|
30
|
-
type = "info",
|
|
31
|
-
fluid,
|
|
32
|
-
title,
|
|
33
|
-
onClose
|
|
34
|
-
} = _ref,
|
|
35
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
36
|
-
|
|
37
|
-
return /*#__PURE__*/React.createElement(AlertContainer, _extends({
|
|
38
|
-
type: type,
|
|
39
|
-
simple: !title,
|
|
40
|
-
fluid: fluid,
|
|
41
|
-
role: "alert"
|
|
42
|
-
}, rest), /*#__PURE__*/React.createElement("div", null, kindToCornerColor[type] && /*#__PURE__*/React.createElement(WarningContainer, {
|
|
43
|
-
color: kindToCornerColor[type]
|
|
44
|
-
}, /*#__PURE__*/React.createElement(WarningTriangle, {
|
|
45
|
-
fill: "#FFF",
|
|
46
|
-
fillBar: true,
|
|
47
|
-
width: 20
|
|
48
|
-
})), title && /*#__PURE__*/React.createElement(Title, null, title), /*#__PURE__*/React.createElement(Content, null, children)), onClose && /*#__PURE__*/React.createElement(CloseButton, {
|
|
49
|
-
flatIcon: true,
|
|
50
|
-
simple: !title,
|
|
51
|
-
onClick: onClose
|
|
52
|
-
}, /*#__PURE__*/React.createElement(Cross, {
|
|
53
|
-
title: "dismiss",
|
|
54
|
-
width: title ? 10 : 12
|
|
55
|
-
})));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
export { Alert as A };
|
|
59
|
-
//# sourceMappingURL=Alert2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Alert2.js","sources":["../../../src/components/Alert/Alert.jsx"],"sourcesContent":["// @ts-nocheck\nimport React from 'react';\nimport styled from 'styled-components';\n\nimport { Button } from '../Button';\nimport { Typography } from '../Typography';\nimport { WarningTriangle, Cross } from '../icons';\n\nconst kindToColor = {\n success: \"#e0ffe2\",\n info: \"#dbf1ff\",\n warning: \"#fff6dd\",\n danger: \"#ffe3e0\",\n};\n\nconst kindToCornerColor = {\n warning: \"#FCBB54\",\n danger: \"#E06354\",\n};\n\nconst AlertContainer = styled.div`\n position: relative;\n padding: 1.5em 3em;\n display: flex;\n flex-direction: row;\n background-color: ${(props) => kindToColor[props.type]};\n justify-content: space-between;\n ${(props) => (props.fluid ? \"width: 100%;\" : \"\")}\n align-items: ${(props) => (props.simple ? \"center\" : \"flex-start\")};\n > button {\n align-self: ${(props) => (props.simple ? \"center\" : \"flex-start\")};\n }\n line-height: 1.3em;\n`;\n\nconst Title = styled(Typography)`\n font-family: Raleway;\n margin-bottom: 0.5em;\n font-weight: 600;\n font-size: 1.12em;\n`;\n\nconst Content = styled(Typography)`\n color: #333;\n font-weight: medium;\n > p {\n margin-bottom: 0;\n }\n`;\n\nconst CloseButton = styled(Button)`\n ${(props) =>\n props.simple\n ? \"margin: 0 -2em 0 2em;\"\n : `\n position: absolute;\n top: .75em;\n right: .5em;\n `}\n`;\n\nconst WarningContainer = styled.div`\n position: absolute;\n top: 0;\n left: 0;\n padding: 0.5em 0.75em 0.75em 0.5em;\n border-radius: 0 0 3.5em 0;\n background-color: ${(props) => props.color};\n`;\n\nexport const Alert = ({ children, type = \"info\", fluid, title, onClose, ...rest }) => (\n <AlertContainer\n type={type}\n simple={!title}\n fluid={fluid}\n role=\"alert\"\n {...rest}\n >\n <div>\n {kindToCornerColor[type] && (\n <WarningContainer color={kindToCornerColor[type]}>\n <WarningTriangle fill=\"#FFF\" fillBar width={20} />\n </WarningContainer>\n )}\n {title && <Title>{title}</Title>}\n <Content>{children}</Content>\n </div>\n {onClose && (\n <CloseButton flatIcon simple={!title} onClick={onClose}>\n <Cross title=\"dismiss\" width={title ? 10 : 12} />\n </CloseButton>\n )}\n </AlertContainer>\n);\n"],"names":["kindToColor","success","info","warning","danger","kindToCornerColor","AlertContainer","styled","div","props","type","fluid","simple","Title","Typography","Content","CloseButton","Button","WarningContainer","color","Alert","children","title","onClose","rest"],"mappings":";;;;;;;;;;;AAQA,MAAMA,WAAW,GAAG;AAClBC,EAAAA,OAAO,EAAE,SADS;AAElBC,EAAAA,IAAI,EAAE,SAFY;AAGlBC,EAAAA,OAAO,EAAE,SAHS;AAIlBC,EAAAA,MAAM,EAAE,SAAA;AAJU,CAApB,CAAA;AAOA,MAAMC,iBAAiB,GAAG;AACxB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0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
package/esm/_internal/Button2.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteral, c as _objectWithoutProperties, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React, { Fragment } from 'react';
|
|
3
|
-
import styled, { keyframes } from 'styled-components';
|
|
4
|
-
|
|
5
|
-
const _excluded = ["isLoading", "children", "color", "hoverColor", "flat", "flatIcon", "raised", "outlined", "loaderStyles", "danger", "white", "onClick", "type"];
|
|
6
|
-
|
|
7
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
8
|
-
const spin = keyframes(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n to {\n transform: rotate(360deg);\n }\n "])));
|
|
9
|
-
const Loader = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: absolute;\n top: calc(50% - 10px);\n left: calc(50% - 10px);\n border: 3px solid rgba(255, 255, 255, 0.1);\n border-top-color: ", ";\n border-radius: 50%;\n width: 1.1em;\n height: 1.1em;\n animation: ", " 1s linear infinite;\n"])), props => props.color || "#fff", spin);
|
|
10
|
-
const BaseButton = styled.button(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n position: relative;\n font-size: 0.875rem;\n background-color: transparent;\n font-family: Raleway, sans-serif;\n user-select: none;\n border-radius: 4px;\n padding: 0px 16px;\n height: 40px;\n vertical-align: middle;\n font-weight: 500;\n transition: background-color 0.2s ease;\n text-decoration: none;\n text-align: center;\n outline: 0;\n border-width: 0;\n cursor: pointer;\n &:disabled {\n color: rgba(0, 0, 0, 0.26);\n cursor: default;\n }\n &:disabled:hover {\n background-color: transparent;\n }\n"])));
|
|
11
|
-
const FlatButton = styled(BaseButton)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n color: ", ";\n &:hover {\n background-color: ", ";\n }\n"])), props => props.color || "", props => props.hoverColor || "");
|
|
12
|
-
const IconButton = styled(BaseButton)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n align-self: center;\n padding: 0px;\n margin: 0px 5px;\n height: unset;\n"])));
|
|
13
|
-
const OutlinedButton = styled(BaseButton)(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n border-style: solid;\n border-width: 1px;\n border-color: ", ";\n color: ", ";\n &:hover {\n background-color: ", ";\n }\n &:disabled {\n border-color: rgba(0, 0, 0, 0.12);\n }\n"])), props => props.color || "", props => props.color || "", props => props.hoverColor || "");
|
|
14
|
-
const DefaultButton = styled(BaseButton)(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n color: #fff;\n background-color: ", ";\n &:hover {\n background-color: ", ";\n }\n &:disabled {\n background-color: rgba(0, 0, 0, 0.12);\n }\n &:disabled:hover {\n background-color: rgba(0, 0, 0, 0.12);\n }\n"])), props => props.color || "", props => props.hoverColor || props.color || "");
|
|
15
|
-
const RaisedButton = styled(DefaultButton)(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2),\n 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);\n &:disabled {\n box-shadow: none;\n }\n"])));
|
|
16
|
-
const Button = props => {
|
|
17
|
-
const {
|
|
18
|
-
isLoading,
|
|
19
|
-
children,
|
|
20
|
-
color,
|
|
21
|
-
hoverColor,
|
|
22
|
-
flat,
|
|
23
|
-
flatIcon,
|
|
24
|
-
raised,
|
|
25
|
-
outlined,
|
|
26
|
-
loaderStyles,
|
|
27
|
-
danger,
|
|
28
|
-
white,
|
|
29
|
-
onClick,
|
|
30
|
-
type = "button"
|
|
31
|
-
} = props,
|
|
32
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
33
|
-
|
|
34
|
-
const Component = flat ? FlatButton : outlined ? OutlinedButton : flatIcon ? IconButton : raised ? RaisedButton : DefaultButton;
|
|
35
|
-
const buttonColor = "color" in props ? color : danger ? "#e06354" : white ? "#fff" : "";
|
|
36
|
-
const buttonHoverColor = "hoverColor" in props ? hoverColor : danger ? !flat && !outlined ? "#c23324" : "rgba(224, 99, 84, 0.1)" : white ? !flat && !outlined ? "#f2f2f2" : "rgba(255, 255, 255, 0.2)" : "";
|
|
37
|
-
const loaderColor = !flat && !outlined ? "#fff" : buttonColor;
|
|
38
|
-
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
39
|
-
color: buttonColor,
|
|
40
|
-
hoverColor: buttonHoverColor,
|
|
41
|
-
onClick: !isLoading ? onClick : null,
|
|
42
|
-
type: type
|
|
43
|
-
}, rest), isLoading ? /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Loader, {
|
|
44
|
-
color: loaderColor,
|
|
45
|
-
style: {
|
|
46
|
-
loaderStyles
|
|
47
|
-
}
|
|
48
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
49
|
-
style: {
|
|
50
|
-
visibility: "hidden"
|
|
51
|
-
}
|
|
52
|
-
}, children)) : children);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export { Button as B };
|
|
56
|
-
//# sourceMappingURL=Button2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button2.js","sources":["../../../src/components/Button/Button.jsx"],"sourcesContent":["import React, { Fragment } from 'react';\nimport styled, { keyframes } from 'styled-components';\n\nconst spin = keyframes`\n to {\n transform: rotate(360deg);\n }\n `;\n\nconst Loader = styled.div`\n position: absolute;\n top: calc(50% - 10px);\n left: calc(50% - 10px);\n border: 3px solid rgba(255, 255, 255, 0.1);\n border-top-color: ${(props) => props.color || \"#fff\"};\n border-radius: 50%;\n width: 1.1em;\n height: 1.1em;\n animation: ${spin} 1s linear infinite;\n`;\n\nconst BaseButton = styled.button`\n position: relative;\n font-size: 0.875rem;\n background-color: transparent;\n font-family: Raleway, sans-serif;\n user-select: none;\n border-radius: 4px;\n padding: 0px 16px;\n height: 40px;\n vertical-align: middle;\n font-weight: 500;\n transition: background-color 0.2s ease;\n text-decoration: none;\n text-align: center;\n outline: 0;\n border-width: 0;\n cursor: pointer;\n &:disabled {\n color: rgba(0, 0, 0, 0.26);\n cursor: default;\n }\n &:disabled:hover {\n background-color: transparent;\n }\n`;\n\nconst FlatButton = styled(BaseButton)`\n color: ${(props) => props.color || \"\"};\n &:hover {\n background-color: ${(props) => props.hoverColor || \"\"};\n }\n`;\n\nconst IconButton = styled(BaseButton)`\n align-self: center;\n padding: 0px;\n margin: 0px 5px;\n height: unset;\n`;\n\nconst OutlinedButton = styled(BaseButton)`\n border-style: solid;\n border-width: 1px;\n border-color: ${(props) => props.color || \"\"};\n color: ${(props) => props.color || \"\"};\n &:hover {\n background-color: ${(props) => props.hoverColor || \"\"};\n }\n &:disabled {\n border-color: rgba(0, 0, 0, 0.12);\n }\n`;\n\nconst DefaultButton = styled(BaseButton)`\n color: #fff;\n background-color: ${(props) => props.color || \"\"};\n &:hover {\n background-color: ${(props) => props.hoverColor || props.color || \"\"};\n }\n &:disabled {\n background-color: rgba(0, 0, 0, 0.12);\n }\n &:disabled:hover {\n background-color: rgba(0, 0, 0, 0.12);\n }\n`;\n\nconst RaisedButton = styled(DefaultButton)`\n box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2),\n 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);\n &:disabled {\n box-shadow: none;\n }\n`;\n\nexport const Button = (props) => {\n const {\n isLoading,\n children,\n color,\n hoverColor,\n flat,\n flatIcon,\n raised,\n outlined,\n loaderStyles,\n danger,\n white,\n onClick,\n type = \"button\",\n ...rest\n } = props;\n\n const Component = flat\n ? FlatButton\n : outlined\n ? OutlinedButton\n : flatIcon\n ? IconButton\n : raised\n ? RaisedButton\n : DefaultButton;\n\n const buttonColor =\n \"color\" in props ? color : danger ? \"#e06354\" : white ? \"#fff\" : \"\";\n\n const buttonHoverColor =\n \"hoverColor\" in props\n ? hoverColor\n : danger\n ? !flat && !outlined\n ? \"#c23324\"\n : \"rgba(224, 99, 84, 0.1)\"\n : white\n ? !flat && !outlined\n ? \"#f2f2f2\"\n : \"rgba(255, 255, 255, 0.2)\"\n : \"\";\n\n const loaderColor = !flat && !outlined ? \"#fff\" : buttonColor;\n\n return (\n <Component\n color={buttonColor}\n hoverColor={buttonHoverColor}\n onClick={!isLoading ? onClick : null}\n type={type}\n {...rest}\n >\n {isLoading ? (\n <Fragment>\n <Loader color={loaderColor} style={{ loaderStyles }} />\n <div style={{ visibility: \"hidden\" }}>{children}</div>\n </Fragment>\n ) : (\n children\n )}\n </Component>\n );\n};\n"],"names":["spin","keyframes","Loader","styled","div","props","color","BaseButton","button","FlatButton","hoverColor","IconButton","OutlinedButton","DefaultButton","RaisedButton","Button","isLoading","children","flat","flatIcon","raised","outlined","loaderStyles","danger","white","onClick","type","rest","Component","buttonColor","buttonHoverColor","loaderColor","visibility"],"mappings":";;;;;;;AAGA,MAAMA,IAAI,GAAGC,SAAH,CAAV,eAAA,KAAA,eAAA,GAAA,sBAAA,CAAA,CAAA,mDAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AAMA,MAAMC,MAAM,GAAGC,MAAM,CAACC,GAAV,CAKWC,gBAAAA,KAAAA,gBAAAA,GAAAA,sBAAAA,CAAAA,CAAAA,mJAAAA,EAAAA,4EAAAA,EAAAA,wBAAAA,CAAAA,CAAAA,CAAAA,EAAAA,KAAD,IAAWA,KAAK,CAACC,KAAN,IAAe,MALpC,EASGN,IATH,CAAZ,CAAA;AAYA,MAAMO,UAAU,GAAGJ,MAAM,CAACK,MAAV,CAAhB,gBAAA,KAAA,gBAAA,GAAA,sBAAA,CAAA,CAAA,4hBAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AA0BA,MAAMC,UAAU,GAAGN,MAAM,CAACI,UAAD,CAAT,CAAA,gBAAA,KAAA,g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E,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,IAAA,KAAK,EAAE;AAAEU,MAAAA,UAAU,EAAE,QAAA;AAAd,KAAA;AAAZ,GAAA,EAAuCf,QAAvC,CAFF,CADQ,GAMRA,QAbJ,CADF,CAAA;AAkBD;;;;"}
|
package/esm/_internal/Card.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/esm/_internal/Card2.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteral, c as _objectWithoutProperties, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
|
|
6
|
-
const _excluded = ["children", "className", "component", "noPadding"];
|
|
7
|
-
|
|
8
|
-
var _templateObject;
|
|
9
|
-
const StyledCard = styled.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background-color: #fff;\n border-radius: 10px;\n box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),\n 0 1px 3px 0 rgba(0, 0, 0, 0.12);\n box-sizing: border-box;\n margin-bottom: 20px;\n padding: ", ";\n width: 100%;\n"])), props => props.noPadding ? "" : "1.875rem");
|
|
10
|
-
const Card = _ref => {
|
|
11
|
-
let {
|
|
12
|
-
children,
|
|
13
|
-
className,
|
|
14
|
-
component,
|
|
15
|
-
noPadding
|
|
16
|
-
} = _ref,
|
|
17
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
18
|
-
|
|
19
|
-
return /*#__PURE__*/React.createElement(StyledCard, _extends({}, otherProps, {
|
|
20
|
-
noPadding: noPadding,
|
|
21
|
-
as: component,
|
|
22
|
-
className: className
|
|
23
|
-
}), children);
|
|
24
|
-
};
|
|
25
|
-
Card.propTypes = {
|
|
26
|
-
children: PropTypes.node,
|
|
27
|
-
className: PropTypes.string,
|
|
28
|
-
component: PropTypes.string,
|
|
29
|
-
noPadding: PropTypes.bool
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export { Card as C };
|
|
33
|
-
//# sourceMappingURL=Card2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Card2.js","sources":["../../../src/components/Card/Card.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from \"prop-types\";\nimport styled from 'styled-components';\n\nconst StyledCard = styled.section`\n background-color: #fff;\n border-radius: 10px;\n box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14),\n 0 1px 3px 0 rgba(0, 0, 0, 0.12);\n box-sizing: border-box;\n margin-bottom: 20px;\n padding: ${(props) => (props.noPadding ? \"\" : \"1.875rem\")};\n width: 100%;\n`;\n\nexport const Card = ({ children, className, component, noPadding, ...otherProps }) => {\n return (\n <StyledCard\n {...otherProps}\n noPadding={noPadding}\n as={component}\n className={className}\n >\n {children}\n </StyledCard>\n );\n};\n\nCard.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n component: PropTypes.string,\n noPadding: PropTypes.bool,\n};\n"],"names":["StyledCard","styled","section","props","noPadding","Card","children","className","component","otherProps","propTypes","PropTypes","node","string","bool"],"mappings":";;;;;;;;AAIA,MAAMA,UAAU,GAAGC,MAAM,CAACC,OAAV,CAOFC,eAAAA,KAAAA,eAAAA,GAAAA,sBAAAA,CAAAA,CAAAA,8OAAAA,EAAAA,qBAAAA,CAAAA,CAAAA,CAAAA,EAAAA,KAAD,IAAYA,KAAK,CAACC,SAAN,GAAkB,EAAlB,GAAuB,UAPhC,CAAhB,CAAA;AAWO,MAAMC,IAAI,GAAG,IAAkE,IAAA;EAAA,IAAjE;IAAEC,QAAF;IAAYC,SAAZ;IAAuBC,SAAvB;AAAkCJ,IAAAA,SAAAA;GAA+B,GAAA,IAAA;AAAA,MAAjBK,UAAiB,GAAA,wBAAA,CAAA,IAAA,EAAA,SAAA,CAAA,CAAA;;EACpF,oBACE,KAAA,CAAA,aAAA,CAAC,UAAD,EAAA,QAAA,CAAA,EAAA,EACMA,UADN,EAAA;AAEE,IAAA,SAAS,EAAEL,SAFb;AAGE,IAAA,EAAE,EAAEI,SAHN;AAIE,IAAA,SAAS,EAAED,SAAAA;AAJb,GAAA,CAAA,EAMGD,QANH,CADF,CAAA;AAUD,EAXM;AAaPD,IAAI,CAACK,SAAL,GAAiB;EACfJ,QAAQ,EAAEK,SAAS,CAACC,IADL;EAEfL,SAAS,EAAEI,SAAS,CAACE,MAFN;EAGfL,SAAS,EAAEG,SAAS,CAACE,MAHN;EAIfT,SAAS,EAAEO,SAAS,CAACG,IAAAA;AAJN,CAAjB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteral, c as _objectWithoutProperties, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { T as Typography } from './Typography2.js';
|
|
6
|
-
|
|
7
|
-
const _excluded = ["children", "className", "title"];
|
|
8
|
-
|
|
9
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
10
|
-
const StyledContainer = styled.section(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n"])));
|
|
11
|
-
const StyledTitle = styled(Typography)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin: 0;\n padding: 0;\n"])));
|
|
12
|
-
const StyledContent = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n align-items: flex-end;\n display: flex;\n gap: 10px;\n"])));
|
|
13
|
-
const CardHeader = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
children,
|
|
16
|
-
className,
|
|
17
|
-
title
|
|
18
|
-
} = _ref,
|
|
19
|
-
otherProps = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
-
|
|
21
|
-
return /*#__PURE__*/React.createElement(StyledContainer, _extends({
|
|
22
|
-
className: className
|
|
23
|
-
}, otherProps), title && /*#__PURE__*/React.createElement(StyledTitle, {
|
|
24
|
-
as: "h2",
|
|
25
|
-
size: "h2"
|
|
26
|
-
}, title), /*#__PURE__*/React.createElement(StyledContent, null, children));
|
|
27
|
-
};
|
|
28
|
-
CardHeader.propTypes = {
|
|
29
|
-
children: PropTypes.node,
|
|
30
|
-
className: PropTypes.string,
|
|
31
|
-
title: PropTypes.string
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export { CardHeader as C };
|
|
35
|
-
//# sourceMappingURL=CardHeader2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardHeader2.js","sources":["../../../src/components/CardHeader/CardHeader.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from \"prop-types\";\nimport styled from 'styled-components';\nimport { Typography } from '../Typography';\n\nconst StyledContainer = styled.section`\n display: flex;\n justify-content: space-between;\n margin-bottom: 0.5rem;\n`;\n\nconst StyledTitle = styled(Typography)`\n margin: 0;\n padding: 0;\n`;\n\nconst StyledContent = styled.div`\n align-items: flex-end;\n display: flex;\n gap: 10px;\n`;\n\nexport const CardHeader = ({ children, className, title, ...otherProps }) => {\n return (\n <StyledContainer className={className} {...otherProps}>\n {title && (\n <StyledTitle as=\"h2\" size=\"h2\">\n {title}\n </StyledTitle>\n )}\n <StyledContent>{children}</StyledContent>\n </StyledContainer>\n );\n};\n\nCardHeader.propTypes = {\n children: PropTypes.node,\n className: PropTypes.string,\n title: PropTypes.string,\n};\n"],"names":["StyledContainer","styled","section","StyledTitle","Typography","StyledContent","div","CardHeader","children","className","title","otherProps","propTypes","Prop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;;"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { _ as _taggedTemplateLiteral, c as _objectWithoutProperties, a as _extends } from './_rollupPluginBabelHelpers.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { T as Typography } from './Typography2.js';
|
|
5
|
-
|
|
6
|
-
const _excluded = ["color", "inputProps", "labelProps", "checked", "defaultChecked", "disabled", "onChange", "label", "checkProps", "borderColor", "hideLabel", "dashed"];
|
|
7
|
-
|
|
8
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
9
|
-
const Wrapper = styled.label(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n cursor: ", ";\n"])), props => props.disabled ? "default" : "pointer");
|
|
10
|
-
const Input = styled.input(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n position: absolute;\n opacity: 0;\n z-index: -1;\n transition: border-color 0.2s, background-color 0.2s, transform 0.2s;\n /* Create the background for checked status */\n :checked + span {\n background-color: ", ";\n border-color: ", ";\n }\n /* Show the checkmark when checked */\n :checked + span:after {\n display: block;\n }\n /* Create the background for disabled status */\n :disabled + span {\n cursor: initial;\n border-color: #ccc;\n }\n :checked:disabled + span {\n cursor: initial;\n background-color: #ccc;\n border-color: #ccc;\n }\n"])), props => props.checkedColor || "#000", props => props.checkedColor || "#000");
|
|
11
|
-
const CheckIndicator = styled.span(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n /* Create the box */\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: #fff;\n content: \"\";\n display: inline-block;\n box-sizing: border-box;\n border: solid 2px;\n border-color: ", ";\n border-radius: 2px;\n width: 18px;\n height: 18px;\n vertical-align: top;\n transition: border-color 0.2s, background-color 0.2s;\n\n /* Create the checkmark */\n :after {\n content: \"\";\n position: absolute;\n display: none;\n top: ", ";\n left: ", ";\n width: ", ";\n height: 10px;\n border: solid white;\n border-width: ", ";\n -webkit-transform: ", ";\n -ms-transform: ", ";\n transform: ", ";\n }\n"])), props => props.borderColor || "rgba(0, 0, 0 , .54)", props => props.dashed ? "6px" : "0px", props => props.dashed ? "2px" : "4px", props => props.dashed ? "10px" : "5px", props => props.dashed ? "2px 0px 0px 0px" : "0 2px 2px 0", props => props.dashed ? "" : "rotate(45deg)", props => props.dashed ? "" : "rotate(45deg)", props => props.dashed ? "" : "rotate(45deg)");
|
|
12
|
-
const Text = styled(Typography)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n margin-left: ", ";\n"])), props => props.hideLabel ? "0px" : "10px");
|
|
13
|
-
const Checkbox = props => {
|
|
14
|
-
const {
|
|
15
|
-
color,
|
|
16
|
-
inputProps,
|
|
17
|
-
labelProps,
|
|
18
|
-
checked,
|
|
19
|
-
defaultChecked,
|
|
20
|
-
disabled,
|
|
21
|
-
onChange,
|
|
22
|
-
label,
|
|
23
|
-
checkProps,
|
|
24
|
-
borderColor,
|
|
25
|
-
hideLabel,
|
|
26
|
-
dashed
|
|
27
|
-
} = props,
|
|
28
|
-
rest = _objectWithoutProperties(props, _excluded);
|
|
29
|
-
|
|
30
|
-
return /*#__PURE__*/React.createElement(Wrapper, _extends({}, rest, {
|
|
31
|
-
disabled: disabled
|
|
32
|
-
}), /*#__PURE__*/React.createElement(Input, _extends({
|
|
33
|
-
checkedColor: color,
|
|
34
|
-
checked: checked,
|
|
35
|
-
defaultChecked: defaultChecked,
|
|
36
|
-
disabled: disabled,
|
|
37
|
-
onChange: onChange,
|
|
38
|
-
"aria-label": label
|
|
39
|
-
}, inputProps, {
|
|
40
|
-
type: "checkbox"
|
|
41
|
-
})), /*#__PURE__*/React.createElement(CheckIndicator, _extends({
|
|
42
|
-
dashed: dashed,
|
|
43
|
-
borderColor: borderColor,
|
|
44
|
-
checkedColor: color
|
|
45
|
-
}, checkProps)), /*#__PURE__*/React.createElement(Text, _extends({
|
|
46
|
-
hideLabel: hideLabel,
|
|
47
|
-
component: "span",
|
|
48
|
-
color: disabled ? "#ccc" : "#333"
|
|
49
|
-
}, labelProps), !hideLabel && label));
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export { Checkbox as C };
|
|
53
|
-
//# sourceMappingURL=Checkbox2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox2.js","sources":["../../../src/components/Checkbox/Checkbox.jsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\nimport { Typography } from '../Typography';\n\nconst Wrapper = styled.label`\n position: relative;\n display: flex;\n align-items: center;\n cursor: ${props => (props.disabled ? \"default\" : \"pointer\")};\n`;\n\nconst Input = styled.input`\n position: absolute;\n opacity: 0;\n z-index: -1;\n transition: border-color 0.2s, background-color 0.2s, transform 0.2s;\n /* Create the background for checked status */\n :checked + span {\n background-color: ${props => props.checkedColor || \"#000\"};\n border-color: ${props => props.checkedColor || \"#000\"};\n }\n /* Show the checkmark when checked */\n :checked + span:after {\n display: block;\n }\n /* Create the background for disabled status */\n :disabled + span {\n cursor: initial;\n border-color: #ccc;\n }\n :checked:disabled + span {\n cursor: initial;\n background-color: #ccc;\n border-color: #ccc;\n }\n`;\n\nconst CheckIndicator = styled.span`\n /* Create the box */\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n background-color: #fff;\n content: \"\";\n display: inline-block;\n box-sizing: border-box;\n border: solid 2px;\n border-color: ${props => props.borderColor || \"rgba(0, 0, 0 , .54)\"};\n border-radius: 2px;\n width: 18px;\n height: 18px;\n vertical-align: top;\n transition: border-color 0.2s, background-color 0.2s;\n\n /* Create the checkmark */\n :after {\n content: \"\";\n position: absolute;\n display: none;\n top: ${props => (props.dashed ? \"6px\" : \"0px\")};\n left: ${props => (props.dashed ? \"2px\" : \"4px\")};\n width: ${props => (props.dashed ? \"10px\" : \"5px\")};\n height: 10px;\n border: solid white;\n border-width: ${props =>\n props.dashed ? \"2px 0px 0px 0px\" : \"0 2px 2px 0\"};\n -webkit-transform: ${props => (props.dashed ? \"\" : \"rotate(45deg)\")};\n -ms-transform: ${props => (props.dashed ? \"\" : \"rotate(45deg)\")};\n transform: ${props => (props.dashed ? \"\" : \"rotate(45deg)\")};\n }\n`;\n\nconst Text = styled(Typography)`\n margin-left: ${props => (props.hideLabel ? \"0px\" : \"10px\")};\n`;\n\nexport const Checkbox = props => {\n const {\n color,\n inputProps,\n labelProps,\n checked,\n defaultChecked,\n disabled,\n onChange,\n label,\n checkProps,\n borderColor,\n hideLabel,\n dashed,\n ...rest\n } = props;\n return (\n <Wrapper {...rest} disabled={disabled}>\n <Input\n checkedColor={color}\n checked={checked}\n defaultChecked={defaultChecked}\n disabled={disabled}\n onChange={onChange}\n aria-label={label}\n {...inputProps}\n type=\"checkbox\"\n />\n <CheckIndicator\n dashed={dashed}\n borderColor={borderColor}\n checkedColor={color}\n {...checkProps}\n />\n <Text\n hideLabel={hideLabel}\n component=\"span\"\n color={disabled ? \"#ccc\" : \"#333\"}\n {...labelProps}\n >\n {!hideLabel && label}\n </Text>\n </Wrapper>\n );\n};\n"],"names":["Wrapper","styled","label","props","disabled","Input","input","checkedColor","CheckIndicator","span","borderColor","dashed","Text","Typography","hideLabel","Checkbox","color","inputProps","labelProps","checked","defaultChecked","onChange","checkProps","rest"],"mappings":";;;;;;;;AAIA,MAAMA,OAAO,GAAGC,MAAM,CAACC,KAAV,CAIDC,eAAAA,KAAAA,eAAAA,GAAAA,sBAAAA,CAAAA,CAAAA,+EAAAA,EAAAA,KAAAA,CAAAA,CAAAA,CAAAA,EAAAA,KAAK,IAAKA,KAAK,CAACC,QAAN,GAAiB,SAAjB,GAA6B,SAJtC,CAAb,CAAA;AAOA,MAAMC,KAAK,GAAGJ,MAAM,CAACK,KAAV,CAOaH,gBAAAA,KAAAA,gBAAAA,GAAAA,sBAAAA,CAAAA,CAAAA,gOAAAA,EAAAA,uBAAAA,EAAAA,oVAAAA,CAAAA,CAAAA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AdJ,EAAA,SAAA,CAAA,CAAA;;EAeA,oBACE,KAAA,CAAA,aAAA,CAAC,OAAD,EAAA,QAAA,CAAA,EAAA,EAAaoB,IAAb,EAAA;AAAmB,IAAA,QAAQ,EAAEnB,QAAAA;AAA7B,GAAA,CAAA,eACE,oBAAC,KAAD,EAAA,QAAA,CAAA;AACE,IAAA,YAAY,EAAEY,KADhB;AAEE,IAAA,OAAO,EAAEG,OAFX;AAGE,IAAA,cAAc,EAAEC,cAHlB;AAIE,IAAA,QAAQ,EAAEhB,QAJZ;AAKE,IAAA,QAAQ,EAAEiB,QALZ;IAME,YAAYnB,EAAAA,KAAAA;AANd,GAAA,EAOMe,UAPN,EAAA;AAQE,IAAA,IAAI,EAAC,UAAA;GATT,CAAA,CAAA,eAWE,oBAAC,cAAD,EAAA,QAAA,CAAA;AACE,IAAA,MAAM,EAAEN,MADV;AAEE,IAAA,WAAW,EAAED,WAFf;AAGE,IAAA,YAAY,EAAEM,KAAAA;AAHhB,GAAA,EAIMM,UAJN,CAAA,CAXF,eAiBE,KAAA,CAAA,aAAA,CAAC,IAAD,EAAA,QAAA,CAAA;AACE,IAAA,SAAS,EAAER,SADb;AAEE,IAAA,SAAS,EAAC,MAFZ;AAGE,IAAA,KAAK,EAAEV,QAAQ,GAAG,MAAH,GAAY,MAAA;AAH7B,GAAA,EAIMc,UAJN,CAMG,EAAA,CAACJ,SAAD,IAAcZ,KANjB,CAjBF,CADF,CAAA;AA4BD;;;;"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { C as CheckboxTree, a as addKeysToNode, u as updateNodes } from './CheckboxTree2.js';
|
|
2
|
-
import './_rollupPluginBabelHelpers.js';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'styled-components';
|
|
5
|
-
import './Checkbox2.js';
|
|
6
|
-
import './Typography2.js';
|
|
7
|
-
import 'prop-types';
|
|
8
|
-
//# sourceMappingURL=CheckboxTree.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxTree.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|