@steroidsjs/bootstrap 3.0.0-beta.1 → 3.0.0-beta.10
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/content/Alert/AlertView.d.ts +0 -1
- package/content/Alert/AlertView.js +12 -16
- package/content/Alert/AlertView.scss +43 -82
- package/content/Avatar/AvatarGroupView.d.ts +0 -1
- package/content/Avatar/AvatarView.d.ts +5 -2
- package/content/Avatar/AvatarView.js +7 -3
- package/content/Avatar/AvatarView.scss +153 -85
- package/content/Badge/BadgeView.d.ts +3 -0
- package/content/Badge/BadgeView.js +23 -0
- package/content/Calendar/CalendarView.d.ts +0 -1
- package/content/Calendar/CaptionElement.d.ts +0 -1
- package/content/Calendar/CaptionElement.js +1 -1
- package/content/Card/CardView.d.ts +0 -1
- package/content/Card/CardView.js +3 -2
- package/content/Collapse/CollapseItemView.d.ts +0 -1
- package/content/Collapse/CollapseItemView.js +2 -1
- package/content/Collapse/CollapseView.d.ts +0 -1
- package/content/Detail/DetailView.d.ts +0 -1
- package/content/DropDown/DropDownView.d.ts +0 -1
- package/{icon → content}/Icon/IconView.d.ts +1 -2
- package/{icon → content}/Icon/IconView.js +0 -0
- package/{icon → content}/Icon/IconView.scss +0 -0
- package/crud/Crud/CrudView.d.ts +0 -1
- package/form/AutoCompleteField/AutoCompleteFieldView.d.ts +0 -1
- package/form/Button/ButtonView.d.ts +0 -1
- package/form/Button/ButtonView.js +1 -1
- package/form/CheckboxField/CheckboxFieldView.d.ts +0 -1
- package/form/CheckboxListField/CheckboxListFieldView.d.ts +0 -1
- package/form/DateField/DateFieldView.d.ts +0 -1
- package/form/DateField/DateFieldView.js +1 -1
- package/form/DateRangeField/DateRangeFieldView.d.ts +0 -1
- package/form/DateRangeField/DateRangeFieldView.js +1 -1
- package/form/DateTimeField/DateTimeFieldView.d.ts +0 -1
- package/form/DateTimeField/DateTimeFieldView.js +1 -1
- package/form/DateTimeRangeField/DateTimeRangeFieldView.d.ts +0 -1
- package/form/DateTimeRangeField/DateTimeRangeFieldView.js +1 -1
- package/form/DropDownField/DropDownFieldView.d.ts +0 -1
- package/form/DropDownField/DropDownFieldView.js +14 -13
- package/form/FieldLayout/FieldLayoutView.d.ts +0 -1
- package/form/FieldList/FieldListView.d.ts +0 -1
- package/form/FieldSet/FieldSetView.d.ts +0 -1
- package/form/FileField/FileFieldItemView.d.ts +0 -1
- package/form/FileField/FileFieldItemView.js +1 -1
- package/form/FileField/FileFieldView.d.ts +0 -1
- package/form/FileField/FileFieldView.js +1 -1
- package/form/HtmlField/HtmlFieldView.d.ts +0 -1
- package/form/ImageField/ImageFieldModalView.d.ts +0 -1
- package/form/ImageField/ImageFieldView.d.ts +1 -2
- package/form/ImageField/ImageFieldView.js +9 -9
- package/form/InputField/InputFieldView.d.ts +0 -1
- package/form/NumberField/NumberFieldView.d.ts +0 -1
- package/form/PasswordField/PasswordFieldView.d.ts +0 -1
- package/form/PasswordField/PasswordFieldView.js +1 -1
- package/form/RadioListField/RadioListFieldView.d.ts +0 -1
- package/form/RateField/RateFieldView.d.ts +0 -1
- package/form/RateField/RateFieldView.js +1 -1
- package/form/ReCaptchaField/ReCaptchaFieldView.d.ts +0 -1
- package/form/SliderField/SliderFieldView.d.ts +0 -1
- package/form/SwitcherField/SwitcherFieldView.d.ts +0 -1
- package/form/TextField/TextFieldView.d.ts +0 -1
- package/form/TimeField/TimeFieldView.d.ts +0 -1
- package/form/TimeField/TimeFieldView.js +1 -1
- package/form/TimeField/TimePanelView.d.ts +0 -1
- package/format/DefaultFormatter/DefaultFormatterView.d.ts +2 -1
- package/{icon → icons}/fontawesome.d.ts +0 -0
- package/{icon → icons}/fontawesome.js +14 -6
- package/index.d.ts +3 -3
- package/index.js +3 -3
- package/index.scss +1 -1
- package/layout/Header/HeaderView.d.ts +0 -1
- package/layout/Header/HeaderView.js +1 -1
- package/layout/Loader/LoaderView.d.ts +0 -1
- package/layout/Notifications/NotificationsItemView.d.ts +0 -1
- package/layout/Notifications/NotificationsView.d.ts +0 -1
- package/layout/ProgressBar/CircleProgressBarView.d.ts +0 -1
- package/layout/ProgressBar/CircleProgressBarView.js +5 -2
- package/layout/ProgressBar/LineProgressBarView.d.ts +0 -1
- package/layout/Skeleton/SkeletonView.d.ts +0 -1
- package/layout/Tooltip/TooltipView.d.ts +0 -1
- package/list/CheckboxColumn/CheckboxColumnView.d.ts +0 -1
- package/list/ControlsColumnView/ControlsColumnView.d.ts +0 -1
- package/list/Empty/EmptyView.d.ts +0 -1
- package/list/Grid/GridView.js +4 -4
- package/list/List/ListItemView.d.ts +0 -1
- package/list/Pagination/PaginationButtonView.d.ts +0 -1
- package/list/Pagination/PaginationMoreView.d.ts +0 -1
- package/list/PaginationSize/PaginationSizeView.d.ts +0 -1
- package/list/Steps/StepItemView.d.ts +1 -2
- package/list/Steps/StepItemView.js +3 -3
- package/list/Steps/StepsView.d.ts +0 -1
- package/list/Steps/StepsView.js +1 -1
- package/modal/Modal/ModalView.d.ts +0 -1
- package/modal/TwoFactorModal/TwoFactorModalView.d.ts +0 -1
- package/nav/Breadcrubms/BreadcrumbsView.d.ts +0 -1
- package/nav/Controls/ControlsView.d.ts +0 -1
- package/nav/Nav/NavBarView.d.ts +0 -1
- package/nav/Nav/NavButtonView.d.ts +0 -1
- package/nav/Nav/NavIconView.d.ts +0 -1
- package/nav/Nav/NavLinkView.d.ts +0 -1
- package/nav/Nav/NavListView.d.ts +0 -1
- package/nav/Nav/NavTabsView.d.ts +0 -1
- package/nav/Tree/TreeView.d.ts +0 -1
- package/package.json +56 -52
- package/scss/mixins/button.scss +1 -1
- package/scss/mixins/index.scss +1 -1
- package/scss/variables/common/colors.scss +153 -0
- package/scss/variables/common/old-variables.scss +24 -0
- package/scss/variables/common/radiuses.scss +5 -0
- package/scss/variables/common/spacing.scss +12 -0
- package/scss/variables/common/typography.scss +39 -0
- package/scss/variables/components/calendar.scss +1 -1
- package/scss/variables/components/card.scss +1 -1
- package/scss/variables/components/icon.scss +1 -1
- package/scss/variables/components/input.scss +56 -1
- package/scss/variables/components/ratefield.scss +1 -1
- package/scss/variables/index.scss +6 -3
- package/icon/Icon/index.d.ts +0 -1
- package/icon/Icon/index.js +0 -16
- package/scss/variables/colors.scss +0 -74
- package/scss/variables/components/alert.scss +0 -9
- package/scss/variables/components/avatar.scss +0 -17
|
@@ -27,15 +27,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
exports.__esModule = true;
|
|
29
29
|
var React = __importStar(require("react"));
|
|
30
|
-
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/
|
|
30
|
+
var Icon_1 = __importDefault(require("@steroidsjs/core/ui/content/Icon"));
|
|
31
31
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
32
32
|
function StepItemView(props) {
|
|
33
33
|
var _a;
|
|
34
|
-
var bem = (0, hooks_1.useBem)(
|
|
34
|
+
var bem = (0, hooks_1.useBem)('StepItemView');
|
|
35
35
|
return (React.createElement("div", { className: bem(props.className, bem.block((_a = {}, _a[props.status] = true, _a))) },
|
|
36
36
|
React.createElement("div", { className: bem.element('body', { disabled: props.disabled }), onClick: props.onChange },
|
|
37
37
|
React.createElement("div", { className: bem.element('header') },
|
|
38
|
-
React.createElement("span", { className: bem.element('icon') }, props.status === 'finish' ? React.createElement(Icon_1["default"], { name:
|
|
38
|
+
React.createElement("span", { className: bem.element('icon') }, props.status === 'finish' ? React.createElement(Icon_1["default"], { name: "check" }) : props.stepItem.icon || "0".concat(props.index)),
|
|
39
39
|
React.createElement("div", null,
|
|
40
40
|
React.createElement("div", { className: bem.element('title') }, props.stepItem.title),
|
|
41
41
|
React.createElement("div", { className: bem.element('subtitle') }, props.stepItem.subtitle))),
|
package/list/Steps/StepsView.js
CHANGED
|
@@ -26,7 +26,7 @@ exports.__esModule = true;
|
|
|
26
26
|
var React = __importStar(require("react"));
|
|
27
27
|
var hooks_1 = require("@steroidsjs/core/hooks");
|
|
28
28
|
function StepsView(props) {
|
|
29
|
-
var bem = (0, hooks_1.useBem)(
|
|
29
|
+
var bem = (0, hooks_1.useBem)('StepsView');
|
|
30
30
|
return (React.createElement("div", { className: bem(props.className, bem.block()) }, props.children));
|
|
31
31
|
}
|
|
32
32
|
exports["default"] = StepsView;
|
package/nav/Nav/NavBarView.d.ts
CHANGED
package/nav/Nav/NavIconView.d.ts
CHANGED
package/nav/Nav/NavLinkView.d.ts
CHANGED
package/nav/Nav/NavListView.d.ts
CHANGED
package/nav/Nav/NavTabsView.d.ts
CHANGED
package/nav/Tree/TreeView.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,54 +1,58 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
2
|
+
"name": "@steroidsjs/bootstrap",
|
|
3
|
+
"version": "3.0.0-beta.10",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"author": "Vladimir Kozhin <hello@kozhindev.com>",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/steroids/react-bootstrap"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"lint": "eslint -c ./.eslintrc --ext .js,.jsx,.ts,.tsx ./src --quiet",
|
|
13
|
+
"build": "tsc && cp ./{package.json,LICENSE,README.md} dist && copyfiles -u 1 \"src/**/*.scss\" \"src/icons/*.svg\" dist"
|
|
14
|
+
},
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"homepage": "https://github.com/steroids/react-bootstrap",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/steroids/react-bootstrap/issues"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@ckeditor/ckeditor5-react": "^3.0.2",
|
|
22
|
+
"@steroidsjs/ckeditor5": "^27.0.2-rc.2",
|
|
23
|
+
"bootstrap": "^4.5.2",
|
|
24
|
+
"date-fns": "^2.29.3",
|
|
25
|
+
"lodash": "^4.17.20",
|
|
26
|
+
"lodash-es": "^4.17.20",
|
|
27
|
+
"rc-slider": "^9.7.4",
|
|
28
|
+
"react": "^18.2.0",
|
|
29
|
+
"react-collapse": "^5.0.1",
|
|
30
|
+
"react-day-picker": "^7.4.10",
|
|
31
|
+
"react-dom": "^18.2.0",
|
|
32
|
+
"react-image-crop": "^9.0.2",
|
|
33
|
+
"react-modal": "^3.11.2",
|
|
34
|
+
"react-transition-group": "^2.9.0",
|
|
35
|
+
"react-use": "^17.4.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.6",
|
|
39
|
+
"@steroidsjs/eslint-config": "^2.1.3",
|
|
40
|
+
"@types/enzyme": "^3.10.8",
|
|
41
|
+
"@types/googlemaps": "^3.43.3",
|
|
42
|
+
"@types/jest": "^26.0.22",
|
|
43
|
+
"@types/markdown-to-jsx": "^6.11.3",
|
|
44
|
+
"@types/node": "^14.14.37",
|
|
45
|
+
"@types/overlayscrollbars": "^1.12.0",
|
|
46
|
+
"@types/reach__router": "^1.3.7",
|
|
47
|
+
"@types/react": "^18.0.27",
|
|
48
|
+
"@types/react-color": "^3.0.4",
|
|
49
|
+
"@types/react-syntax-highlighter": "^13.5.0",
|
|
50
|
+
"@types/webpack-env": "^1.16.0",
|
|
51
|
+
"copyfiles": "^2.4.1",
|
|
52
|
+
"eslint": "^8.34.0",
|
|
53
|
+
"typescript": "^4.9.5"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.6"
|
|
57
|
+
}
|
|
54
58
|
}
|
package/scss/mixins/button.scss
CHANGED
package/scss/mixins/index.scss
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
@import "button";
|
|
2
|
-
@import "card";
|
|
2
|
+
@import "card";
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--primary: #651fff;
|
|
3
|
+
--primary-dark: #5218d0;
|
|
4
|
+
--primary-light: #dbcbff;
|
|
5
|
+
--secondary: #a3aee6;
|
|
6
|
+
--secondary-dark: #6b76ad;
|
|
7
|
+
--secondary-light: #d9dfff;
|
|
8
|
+
--success: #2bc945;
|
|
9
|
+
--success-dark: #2abd42;
|
|
10
|
+
--success-light: #b9ffc3;
|
|
11
|
+
--danger: #fb4e4e;
|
|
12
|
+
--danger-dark: #ec4c4c;
|
|
13
|
+
--danger-light: #ffbfbf;
|
|
14
|
+
--info: #a7efff;
|
|
15
|
+
--info-dark: #8fd8e9;
|
|
16
|
+
--info-light: #d3f7ff;
|
|
17
|
+
--warning: #ffe457;
|
|
18
|
+
--warning-dark: #ebd251;
|
|
19
|
+
--warning-light: #fff6c6;
|
|
20
|
+
--graphite: #323232;
|
|
21
|
+
--gray-dark: #e1e1e1;
|
|
22
|
+
--gray: #ededed;
|
|
23
|
+
--light-gray: #f8f8f8;
|
|
24
|
+
--dark: #6f6b76;
|
|
25
|
+
--light: #9088a1;
|
|
26
|
+
|
|
27
|
+
html[data-theme="dark"] {
|
|
28
|
+
--primary: #8b57ff;
|
|
29
|
+
--primary-dark: #6648a7;
|
|
30
|
+
--primary-light: #ba9bff;
|
|
31
|
+
--secondary: #9ea8db;
|
|
32
|
+
--secondary-dark: #616a95;
|
|
33
|
+
--secondary-light: #bcc3e9;
|
|
34
|
+
--success: #3cf25a;
|
|
35
|
+
--success-dark: #34cc4d;
|
|
36
|
+
--success-light: #74ff8b;
|
|
37
|
+
--danger: #fc6666;
|
|
38
|
+
--danger-dark: #dc5858;
|
|
39
|
+
--danger-light: #ffa1a1;
|
|
40
|
+
--info: #9ae1f1;
|
|
41
|
+
--info-dark: #77c4d6;
|
|
42
|
+
--info-light: #ccf6ff;
|
|
43
|
+
--warning: #ffe457;
|
|
44
|
+
--warning-dark: #ebd251;
|
|
45
|
+
--warning-light: #fff6c8;
|
|
46
|
+
--graphite: #414141;
|
|
47
|
+
--gray-dark: #4e4f57;
|
|
48
|
+
--gray: #5b5c6b;
|
|
49
|
+
--light-gray: #928b9d;
|
|
50
|
+
--dark: #6b6477;
|
|
51
|
+
--light: #b7afc7;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/*
|
|
56
|
+
* SCSS variables implementation
|
|
57
|
+
*/
|
|
58
|
+
$primary: var(--primary) !default;
|
|
59
|
+
$primary-dark: var(--primary-dark) !default;
|
|
60
|
+
$primary-light: var(--primary-light) !default;
|
|
61
|
+
$secondary: var(--secondary) !default;
|
|
62
|
+
$secondary-dark: var(--secondary-dark) !default;
|
|
63
|
+
$secondary-light: var(--secondary-light) !default;
|
|
64
|
+
$success: var(--success) !default;
|
|
65
|
+
$success-dark: var(--success-dark) !default;
|
|
66
|
+
$success-light: var(--success-light) !default;
|
|
67
|
+
$danger: var(--danger) !default;
|
|
68
|
+
$danger-dark: var(--danger-dark) !default;
|
|
69
|
+
$danger-light: var(--danger-light) !default;
|
|
70
|
+
$info: var(--info) !default;
|
|
71
|
+
$info-dark: var(--info-dark) !default;
|
|
72
|
+
$info-light: var(--info-light) !default;
|
|
73
|
+
$warning: var(--warning) !default;
|
|
74
|
+
$warning-dark: var(--warning-dark) !default;
|
|
75
|
+
$warning-light: var(--warning-light) !default;
|
|
76
|
+
$graphite: var(--graphite) !default;
|
|
77
|
+
$gray-dark: var(--gray-dark) !default;
|
|
78
|
+
$gray: var(--gray) !default;
|
|
79
|
+
$light-gray: var(--light-gray) !default;
|
|
80
|
+
$dark: var(--dark) !default;
|
|
81
|
+
$light: var(--light) !default;
|
|
82
|
+
|
|
83
|
+
/*
|
|
84
|
+
* Common colors
|
|
85
|
+
*/
|
|
86
|
+
|
|
87
|
+
$black: rgba(#000, 1) !default;
|
|
88
|
+
$black-60: rgba(#000, 0.6) !default;
|
|
89
|
+
$black-30: rgba(#000, 0.3) !default;
|
|
90
|
+
$black-10: rgba(#000, 0.1) !default;
|
|
91
|
+
$black-4: rgba(#000, 0.04) !default;
|
|
92
|
+
$white: #fff !default;
|
|
93
|
+
|
|
94
|
+
$text-color: #312c3a !default;
|
|
95
|
+
$link-color: #2ba3fb !default;
|
|
96
|
+
|
|
97
|
+
$gradient-purple: linear-gradient(180deg, #7433FF, #FFA3FD);
|
|
98
|
+
$gradient-red: linear-gradient(180deg, #EB0155, #FFFA80);
|
|
99
|
+
|
|
100
|
+
$color-themes: () !default;
|
|
101
|
+
$color-themes: map-merge(
|
|
102
|
+
(
|
|
103
|
+
"primary": (
|
|
104
|
+
"color": $primary,
|
|
105
|
+
"color-dark": $primary-dark,
|
|
106
|
+
"color-light": $primary-light,
|
|
107
|
+
"text-color": $white,
|
|
108
|
+
),
|
|
109
|
+
"secondary": (
|
|
110
|
+
"color": $secondary,
|
|
111
|
+
"color-dark": $secondary-dark,
|
|
112
|
+
"color-light": $secondary-light,
|
|
113
|
+
"text-color": $white,
|
|
114
|
+
),
|
|
115
|
+
"success": (
|
|
116
|
+
"color": $success,
|
|
117
|
+
"color-dark": $success-dark,
|
|
118
|
+
"color-light": $success-light,
|
|
119
|
+
"text-color": $white,
|
|
120
|
+
),
|
|
121
|
+
"danger": (
|
|
122
|
+
"color": $danger,
|
|
123
|
+
"color-dark": $danger-dark,
|
|
124
|
+
"color-light": $danger-light,
|
|
125
|
+
"text-color": $white,
|
|
126
|
+
),
|
|
127
|
+
"warning": (
|
|
128
|
+
"color": $warning,
|
|
129
|
+
"color-dark": $warning-dark,
|
|
130
|
+
"color-light": $warning-light,
|
|
131
|
+
"text-color": $dark,
|
|
132
|
+
),
|
|
133
|
+
"info": (
|
|
134
|
+
"color": $info,
|
|
135
|
+
"color-dark": $info-dark,
|
|
136
|
+
"color-light": $info-light,
|
|
137
|
+
"text-color": $white,
|
|
138
|
+
),
|
|
139
|
+
"light": (
|
|
140
|
+
"color": $light,
|
|
141
|
+
"color-dark": $dark,
|
|
142
|
+
"color-light": $light,
|
|
143
|
+
"text-color": $dark,
|
|
144
|
+
),
|
|
145
|
+
"dark": (
|
|
146
|
+
"color": $dark,
|
|
147
|
+
"color-dark": $dark,
|
|
148
|
+
"color-light": $light,
|
|
149
|
+
"text-color": $white,
|
|
150
|
+
),
|
|
151
|
+
),
|
|
152
|
+
$color-themes
|
|
153
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
$grey-light: #D9D9D9;
|
|
2
|
+
$grey-lighter: #F8F8F8;
|
|
3
|
+
$grey: #F8F9FA;
|
|
4
|
+
$grey-dark: #2D2D2D;
|
|
5
|
+
$grey-darker: #78848E;
|
|
6
|
+
$grey-disabled: #F1F1F1;
|
|
7
|
+
|
|
8
|
+
$additional: #0596FF;
|
|
9
|
+
|
|
10
|
+
$border-default: #CCCCCC;
|
|
11
|
+
$border-hover: #B0B0B0;
|
|
12
|
+
$border-action: #39BBD8;
|
|
13
|
+
$border-typing: #A7EFFF;
|
|
14
|
+
$back-disabled: #EBEBEB;
|
|
15
|
+
$back-success: #F1FFEC;
|
|
16
|
+
$border-success: #64D03E;
|
|
17
|
+
$back-error: #FCE7E7;
|
|
18
|
+
$border-error: #FF4557;
|
|
19
|
+
$back-info: #ECFCFF;
|
|
20
|
+
$back-warning: #FFFCEA;
|
|
21
|
+
|
|
22
|
+
$shadow-default: 0px 0px 30px rgba(0, 0, 0, 0.1);
|
|
23
|
+
|
|
24
|
+
$heading: #152536 !default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Common font variables
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
$font-family-nunito: "Nunito", sans-serif;
|
|
6
|
+
|
|
7
|
+
$font-size-xs: 12px;
|
|
8
|
+
$font-size-sm: 14px;
|
|
9
|
+
$font-size-base: 16px;
|
|
10
|
+
$font-size-lg: 18px;
|
|
11
|
+
$font-size-xl: 24px;
|
|
12
|
+
$font-size-2xl: 32px;
|
|
13
|
+
|
|
14
|
+
$line-height-xs: 17px;
|
|
15
|
+
$line-height-sm: 20px;
|
|
16
|
+
$line-height-base: 22px;
|
|
17
|
+
$line-height-lg: 25px;
|
|
18
|
+
$line-height-xl: 34px;
|
|
19
|
+
$line-height-2xl: 45px;
|
|
20
|
+
|
|
21
|
+
$font-weight-sm: 400;
|
|
22
|
+
$font-weight-md: 500;
|
|
23
|
+
$font-weight-lg: 700;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/*
|
|
27
|
+
* Button font variables
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
$btn-font-weight-sm: 400;
|
|
31
|
+
$btn-font-weight-lg: 800;
|
|
32
|
+
|
|
33
|
+
$btn-font-xs: 12px;
|
|
34
|
+
$btn-font-sm: 14px;
|
|
35
|
+
$btn-font-base: 16px;
|
|
36
|
+
|
|
37
|
+
$btn-line-height: 24px;
|
|
38
|
+
|
|
39
|
+
$btn-letter-spacing: 0.1em;
|
|
@@ -12,4 +12,4 @@ $calendar-day-border-radius: 10px !default;
|
|
|
12
12
|
$calendar-shadow-shape: 0 0 0 3px !default;
|
|
13
13
|
$calendar-selected-shadow: $calendar-shadow-shape $calendar-primary-light-color !default;
|
|
14
14
|
$calendar-today-shadow: $calendar-shadow-shape $calendar-primary-light-color !default;
|
|
15
|
-
$calendar-hover-shadow: $calendar-shadow-shape $calendar-secondary-color !default;
|
|
15
|
+
$calendar-hover-shadow: $calendar-shadow-shape $calendar-secondary-color !default;
|
|
@@ -1,3 +1,58 @@
|
|
|
1
|
+
//Small
|
|
2
|
+
$input-label-margin-bottom-sm: 4px;
|
|
3
|
+
|
|
4
|
+
$input-padding-x-sm: 12px;
|
|
5
|
+
$input-padding-y-sm: 5px;
|
|
6
|
+
|
|
7
|
+
$input-margin-bottom-sm: 20px;
|
|
8
|
+
$input-outline-width-sm: 4px;
|
|
9
|
+
$input-border-width-sm: 1px;
|
|
10
|
+
|
|
11
|
+
$input-icon-margin-right-sm: 12px;
|
|
12
|
+
$input-icon-close-margin-left-sm: 12px;
|
|
13
|
+
$input-icon-size-sm: 24px;
|
|
14
|
+
|
|
15
|
+
$input-message-margin-top-sm: 4px;
|
|
16
|
+
$input-message-icon-size-sm: 16px;
|
|
17
|
+
$input-message-icon-margin-right-sm: 4px;
|
|
18
|
+
|
|
19
|
+
//Medium
|
|
20
|
+
$input-label-margin-bottom-md: $input-label-margin-bottom-sm;
|
|
21
|
+
|
|
22
|
+
$input-padding-x-md: $input-padding-x-sm;
|
|
23
|
+
$input-padding-y-md: 11px;
|
|
24
|
+
|
|
25
|
+
$input-margin-bottom-md: $input-margin-bottom-sm;
|
|
26
|
+
$input-outline-width-md: $input-outline-width-sm;
|
|
27
|
+
$input-border-width-md: $input-border-width-sm;
|
|
28
|
+
|
|
29
|
+
$input-icon-margin-right-md: $input-icon-margin-right-sm;
|
|
30
|
+
$input-icon-close-margin-left-md: $input-icon-close-margin-left-sm;
|
|
31
|
+
$input-icon-size-md: $input-icon-size-sm;
|
|
32
|
+
|
|
33
|
+
$input-message-margin-top-md: $input-message-margin-top-sm;
|
|
34
|
+
$input-message-icon-size-md: $input-message-icon-size-sm;
|
|
35
|
+
$input-message-icon-margin-right-md: $input-message-icon-margin-right-sm;
|
|
36
|
+
|
|
37
|
+
//Large
|
|
38
|
+
$input-label-margin-bottom-lg: $input-label-margin-bottom-sm;
|
|
39
|
+
|
|
40
|
+
$input-padding-x-lg: $input-padding-x-sm;
|
|
41
|
+
$input-padding-y-lg: 16px;
|
|
42
|
+
|
|
43
|
+
$input-margin-bottom-lg: $input-margin-bottom-sm;
|
|
44
|
+
$input-outline-width-lg: $input-outline-width-sm;
|
|
45
|
+
$input-border-width-lg: $input-border-width-sm;
|
|
46
|
+
|
|
47
|
+
$input-icon-margin-right-lg: $input-icon-margin-right-sm;
|
|
48
|
+
$input-icon-close-margin-left-lg: $input-icon-close-margin-left-sm;
|
|
49
|
+
$input-icon-size-lg: $input-icon-size-sm;
|
|
50
|
+
|
|
51
|
+
$input-message-margin-top-lg: $input-message-margin-top-sm;
|
|
52
|
+
$input-message-icon-size-lg: $input-message-icon-size-sm;
|
|
53
|
+
$input-message-icon-margin-right-lg: $input-message-icon-margin-right-sm;
|
|
54
|
+
|
|
55
|
+
|
|
1
56
|
$input-height-sm: 28px !default;
|
|
2
57
|
$input-height-md: 36px !default;
|
|
3
58
|
$input-height-lg: 46px !default;
|
|
@@ -8,4 +63,4 @@ $input-border-radius: 4px !default;
|
|
|
8
63
|
$input-padding-y: 0 !default;
|
|
9
64
|
$input-padding-x: 8px !default;
|
|
10
65
|
$input-addon-padding: 0.6rem !default;
|
|
11
|
-
$input-text-padding: 0.4rem !default;
|
|
66
|
+
$input-text-padding: 0.4rem !default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$icon-size: 20px !default;
|
|
2
|
-
$icon-color: $primary !default;
|
|
2
|
+
$icon-color: $primary !default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
@import 'colors';
|
|
2
|
-
@import '
|
|
3
|
-
@import '
|
|
1
|
+
@import 'common/colors';
|
|
2
|
+
@import 'common/typography';
|
|
3
|
+
@import 'common/spacing';
|
|
4
|
+
@import 'common/radiuses';
|
|
5
|
+
@import 'common/old-variables';
|
|
6
|
+
|
|
4
7
|
@import 'components/button';
|
|
5
8
|
@import 'components/calendar';
|
|
6
9
|
@import 'components/card';
|
package/icon/Icon/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './IconView';
|
package/icon/Icon/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
exports.__esModule = true;
|
|
14
|
-
exports["default"] = void 0;
|
|
15
|
-
var IconView_1 = require("./IconView");
|
|
16
|
-
__createBinding(exports, IconView_1, "default");
|