@steroidsjs/bootstrap 3.0.0-beta.2 → 3.0.0-beta.3
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 +0 -1
- package/content/Avatar/AvatarView.js +4 -1
- package/content/Avatar/AvatarView.scss +153 -85
- 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/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 +1 -1
- 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/icon/fontawesome.js +7 -4
- 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 +9 -5
- 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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steroidsjs/bootstrap",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Vladimir Kozhin <hello@kozhindev.com>",
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"url": "https://github.com/steroids/react-bootstrap"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
+
"lint": "eslint -c ./.eslintrc --ext .js,.jsx,.ts,.tsx ./src --quiet",
|
|
12
13
|
"build": "tsc && cp ./{package.json,LICENSE,README.md} dist && copyfiles -u 1 \"src/**/*.scss\" dist"
|
|
13
14
|
},
|
|
14
15
|
"license": "MIT",
|
|
@@ -30,10 +31,12 @@
|
|
|
30
31
|
"react-dom": "^18.2.0",
|
|
31
32
|
"react-image-crop": "^9.0.2",
|
|
32
33
|
"react-modal": "^3.11.2",
|
|
33
|
-
"react-transition-group": "^2.9.0"
|
|
34
|
+
"react-transition-group": "^2.9.0",
|
|
35
|
+
"react-use": "^17.4.0"
|
|
34
36
|
},
|
|
35
37
|
"devDependencies": {
|
|
36
|
-
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.
|
|
38
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.6",
|
|
39
|
+
"@steroidsjs/eslint-config": "^2.1.3",
|
|
37
40
|
"@types/enzyme": "^3.10.8",
|
|
38
41
|
"@types/googlemaps": "^3.43.3",
|
|
39
42
|
"@types/jest": "^26.0.22",
|
|
@@ -46,9 +49,10 @@
|
|
|
46
49
|
"@types/react-syntax-highlighter": "^13.5.0",
|
|
47
50
|
"@types/webpack-env": "^1.16.0",
|
|
48
51
|
"copyfiles": "^2.4.1",
|
|
49
|
-
"
|
|
52
|
+
"eslint": "^8.34.0",
|
|
53
|
+
"typescript": "^4.9.5"
|
|
50
54
|
},
|
|
51
55
|
"peerDependencies": {
|
|
52
|
-
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.
|
|
56
|
+
"@steroidsjs/core": "^3.0 || >=3.0.0-beta.6"
|
|
53
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");
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
$primary: #651FFF !default;
|
|
2
|
-
$primary-dark: darken($primary, 25) !default;
|
|
3
|
-
$primary-light: lighten($primary, 50) !default;
|
|
4
|
-
|
|
5
|
-
$secondary: #97A7C8 !default;
|
|
6
|
-
$secondary-dark: darken($secondary, 25) !default;
|
|
7
|
-
$secondary-light: lighten($secondary, 50) !default;
|
|
8
|
-
|
|
9
|
-
$success: #64D03E !default;
|
|
10
|
-
$success-dark: darken($success, 25) !default;
|
|
11
|
-
$success-light: lighten($success, 50) !default;
|
|
12
|
-
|
|
13
|
-
$danger: #FF4557 !default;
|
|
14
|
-
$danger-dark: darken($danger, 25) !default;
|
|
15
|
-
$danger-light: lighten($danger, 50) !default;
|
|
16
|
-
|
|
17
|
-
$warning: #fad826 !default;
|
|
18
|
-
$warning-dark: darken($warning, 25) !default;
|
|
19
|
-
$warning-light: lighten($warning, 50) !default;
|
|
20
|
-
|
|
21
|
-
$info: #39bbd8 !default;
|
|
22
|
-
$info-dark: darken($info, 25) !default;
|
|
23
|
-
$info-light: lighten($info, 50) !default;
|
|
24
|
-
|
|
25
|
-
$light: #f8f9fa !default;
|
|
26
|
-
$light-dark: darken($light, 25) !default;
|
|
27
|
-
$light-light: lighten($light, 50) !default;
|
|
28
|
-
|
|
29
|
-
$dark: #343a40 !default;
|
|
30
|
-
$dark-dark: darken($dark, 25) !default;
|
|
31
|
-
$dark-light: lighten($dark, 50) !default;
|
|
32
|
-
|
|
33
|
-
$heading: #152536 !default;
|
|
34
|
-
$body: #68717A !default;
|
|
35
|
-
$white: #FFFFFF !default;
|
|
36
|
-
|
|
37
|
-
$color-themes: () !default;
|
|
38
|
-
$color-themes: map-merge(
|
|
39
|
-
(
|
|
40
|
-
"primary": ("color": $primary, "color-dark": $primary-dark, "color-light": $primary-light, "text-color": $white),
|
|
41
|
-
"secondary": ("color": $secondary, "color-dark": $secondary-dark, "color-light": $secondary-light, "text-color": $white),
|
|
42
|
-
"success": ("color": $success, "color-dark": $success-dark, "color-light": $success-light, "text-color": $white),
|
|
43
|
-
"danger": ("color": $danger, "color-dark": $danger-dark, "color-light": $danger-light, "text-color": $white),
|
|
44
|
-
"warning": ("color": $warning, "color-dark": $warning-dark, "color-light": $warning-light, "text-color": $dark),
|
|
45
|
-
"info": ("color": $info, "color-dark": $info-dark, "color-light": $info-light, "text-color": $white),
|
|
46
|
-
"light": ("color": $light, "color-dark": $light-dark, "color-light": $light-light, "text-color": $dark),
|
|
47
|
-
"dark": ("color": $dark, "color-dark": $dark-dark, "color-light": $dark-light, "text-color": $white)
|
|
48
|
-
),
|
|
49
|
-
$color-themes
|
|
50
|
-
);
|
|
51
|
-
|
|
52
|
-
$grey-light: #D9D9D9;
|
|
53
|
-
$grey-lighter: #F8F8F8;
|
|
54
|
-
$grey: #F8F9FA;
|
|
55
|
-
$grey-dark: #2D2D2D;
|
|
56
|
-
$grey-darker: #78848E;
|
|
57
|
-
$grey-disabled: #F1F1F1;
|
|
58
|
-
|
|
59
|
-
$additional: #0596FF;
|
|
60
|
-
|
|
61
|
-
$border-default: #CCCCCC;
|
|
62
|
-
$border-hover: #B0B0B0;
|
|
63
|
-
$border-action: #39BBD8;
|
|
64
|
-
$border-typing: #A7EFFF;
|
|
65
|
-
$back-disabled: #EBEBEB;
|
|
66
|
-
$back-success: #F1FFEC;
|
|
67
|
-
$border-success: #64D03E;
|
|
68
|
-
$back-error: #FCE7E7;
|
|
69
|
-
$border-error: #FF4557;
|
|
70
|
-
$back-info: #ECFCFF;
|
|
71
|
-
$back-warning: #FFFCEA;
|
|
72
|
-
|
|
73
|
-
$shadow-default: 0px 0px 30px rgba(0, 0, 0, 0.1);
|
|
74
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
$alert-padding-y: 12px !default;
|
|
2
|
-
$alert-padding-x: 16px !default;
|
|
3
|
-
|
|
4
|
-
$alert-border-radius: 4px !default;
|
|
5
|
-
$alert-description-font-size: 18px !default;
|
|
6
|
-
$alert-message-font-size: 16px !default;
|
|
7
|
-
|
|
8
|
-
$alert-icon-size: 24px !default;
|
|
9
|
-
$alert-close-icon-size: 15px !default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
$avatar-x-large-size: 64px !default;
|
|
2
|
-
$avatar-x-large-font-size: 20px !default;
|
|
3
|
-
|
|
4
|
-
$avatar-large-size: 46px !default;
|
|
5
|
-
$avatar-large-font-size: 16px !default;
|
|
6
|
-
|
|
7
|
-
$avatar-middle-size: 36px !default;
|
|
8
|
-
$avatar-middle-font-size: 14px !default;
|
|
9
|
-
|
|
10
|
-
$avatar-small-size: 28px !default;
|
|
11
|
-
$avatar-small-font-size: 14px !default;
|
|
12
|
-
|
|
13
|
-
$avatar-status-color: $success !default;
|
|
14
|
-
$avatar-status-border: 2px solid $white !default;
|
|
15
|
-
|
|
16
|
-
$avatar-background-color: $primary !default;
|
|
17
|
-
$avatar-text-color: $white !default;
|