@steroidsjs/bootstrap 3.0.0-beta.85 → 3.0.0-beta.87
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/Accordion/AccordionItemView.scss +24 -14
- package/content/Alert/AlertView.scss +20 -17
- package/content/Avatar/AvatarView.scss +12 -10
- package/content/Badge/BadgeView.scss +21 -19
- package/content/Calendar/CalendarView.scss +27 -37
- package/content/Calendar/CaptionElement.scss +14 -11
- package/content/Card/CardView.scss +11 -9
- package/content/Detail/DetailView.scss +13 -11
- package/content/DropDown/DropDownView.scss +4 -2
- package/content/Menu/MenuItemView.scss +7 -3
- package/content/Menu/MenuView.scss +16 -13
- package/form/AutoCompleteField/AutoCompleteFieldView.scss +36 -33
- package/form/Button/ButtonView.scss +28 -26
- package/form/CheckboxField/CheckboxFieldView.scss +29 -27
- package/form/DateField/DateFieldView.scss +11 -7
- package/form/DateRangeField/DateRangeFieldView.scss +21 -7
- package/form/DateTimeField/DateTimeFieldView.scss +11 -8
- package/form/DateTimeRangeField/DateTimeRangeFieldView.scss +15 -10
- package/form/DropDownField/DropDownFieldView.scss +75 -73
- package/form/DropDownFieldItem/DropDownFieldItemView.scss +13 -11
- package/form/FieldLayout/FieldLayoutView.scss +27 -25
- package/form/FieldList/FieldListItemView.scss +3 -1
- package/form/FieldList/FieldListView.scss +11 -8
- package/form/FieldSet/FieldSetView.scss +4 -1
- package/form/FileField/FileFieldItemView.scss +21 -17
- package/form/FileField/FileFieldView.scss +3 -1
- package/form/ImageField/ImageFieldView.scss +2 -2
- package/form/InputField/InputFieldView.scss +33 -31
- package/form/NumberField/NumberFieldView.scss +23 -21
- package/form/PasswordField/PasswordFieldView.scss +22 -20
- package/form/RadioField/RadioFieldView.scss +26 -24
- package/form/RateField/RateFieldView.scss +19 -16
- package/form/SliderField/SliderFieldView.scss +17 -15
- package/form/SwitcherField/SwitcherFieldView.scss +30 -26
- package/form/TextField/TextFieldView.scss +24 -21
- package/form/TimeField/TimeFieldView.scss +11 -8
- package/form/TimeField/TimePanelView.scss +13 -10
- package/form/TimeRangeField/TimeRangeFieldView.scss +14 -10
- package/index.scss +90 -89
- package/layout/Header/HeaderView.scss +15 -13
- package/layout/Loader/LoaderView.scss +5 -2
- package/layout/ProgressBar/CircleProgressBarView.scss +9 -7
- package/layout/ProgressBar/LineProgressBarView.scss +10 -8
- package/layout/Sidebar/FooterIcons/FooterIcons.scss +1 -1
- package/layout/Sidebar/SidebarLogo/SidebarLogo.scss +7 -7
- package/layout/Sidebar/SidebarUser/SidebarUser.scss +5 -5
- package/layout/Sidebar/SidebarView.scss +9 -7
- package/layout/Skeleton/SkeletonView.scss +7 -5
- package/layout/Tooltip/TooltipView.scss +2 -1
- package/list/Empty/EmptyView.scss +2 -1
- package/list/FlexGrid/FlexGridView.scss +6 -3
- package/list/Grid/GridView.scss +15 -13
- package/list/Grid/views/ContentColumnView/ContentColumnView.scss +9 -7
- package/list/Grid/views/DiagramColumnView/DiagramColumnView.scss +12 -12
- package/list/List/ListView.scss +3 -1
- package/list/Pagination/PaginationButtonView.scss +15 -13
- package/list/Steps/StepItemView.scss +13 -12
- package/list/Steps/StepsView.scss +3 -1
- package/modal/Modal/ModalView.scss +19 -17
- package/nav/Breadcrubms/BreadcrumbsView.scss +5 -5
- package/nav/ButtonGroup/ButtonGroupView.scss +8 -5
- package/nav/Nav/NavBarView.scss +7 -4
- package/nav/Nav/NavIconView.scss +6 -4
- package/nav/Nav/NavTabsView.scss +11 -8
- package/nav/Tree/TreeView.scss +7 -5
- package/package.json +1 -1
- package/scss/animations/index.scss +1 -1
- package/scss/mixins/button.scss +31 -28
- package/scss/mixins/customMixins.scss +2 -1
- package/scss/mixins/date.scss +55 -41
- package/scss/mixins/index.scss +6 -6
- package/scss/mixins/typography.scss +23 -20
- package/scss/variables/common/colors.scss +4 -2
- package/scss/variables/common/typography.scss +22 -19
- package/scss/variables/components/calendar.scss +8 -5
- package/scss/variables/components/input.scss +3 -1
- package/scss/variables/components/ratefield.scss +3 -1
- package/scss/variables/index.scss +10 -11
- package/typography/Text/TextView.scss +7 -4
- package/typography/Title/TitleView.scss +7 -4
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
|
|
1
3
|
//** Themed colors **//
|
|
2
4
|
:root {
|
|
3
5
|
--primary: #651fff;
|
|
@@ -184,7 +186,7 @@ $static-text-color: #312C3A !default;
|
|
|
184
186
|
//! Base colors !//
|
|
185
187
|
|
|
186
188
|
$color-themes: () !default;
|
|
187
|
-
$color-themes: map
|
|
189
|
+
$color-themes: map.merge(
|
|
188
190
|
(
|
|
189
191
|
"basic": (
|
|
190
192
|
"color": $gray,
|
|
@@ -244,7 +246,7 @@ $color-themes: map-merge(
|
|
|
244
246
|
|
|
245
247
|
|
|
246
248
|
$diagram-colors: () !default;
|
|
247
|
-
$diagram-colors: map
|
|
249
|
+
$diagram-colors: map.merge(
|
|
248
250
|
(
|
|
249
251
|
"success": (
|
|
250
252
|
"color": $success,
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "colors";
|
|
3
|
+
|
|
1
4
|
/*
|
|
2
5
|
* Common font variables
|
|
3
6
|
*/
|
|
@@ -23,85 +26,85 @@ $font-weight-md: 500 !default;
|
|
|
23
26
|
$font-weight-lg: 700 !default;
|
|
24
27
|
|
|
25
28
|
$title-types: () !default;
|
|
26
|
-
$title-types: map
|
|
29
|
+
$title-types: map.merge(
|
|
27
30
|
(
|
|
28
31
|
"h1": (
|
|
29
32
|
"font-size": $font-size-2xl,
|
|
30
33
|
"font-weight": $font-weight-lg,
|
|
31
34
|
"line-height": $line-height-2xl,
|
|
32
|
-
"color":
|
|
35
|
+
"color": colors.$text-color,
|
|
33
36
|
),
|
|
34
37
|
"h2": (
|
|
35
38
|
"font-size": $font-size-xl,
|
|
36
39
|
"font-weight": $font-weight-lg,
|
|
37
40
|
"line-height": $line-height-xl,
|
|
38
|
-
"color":
|
|
41
|
+
"color": colors.$text-color,
|
|
39
42
|
),
|
|
40
43
|
"h3": (
|
|
41
44
|
"font-size": $font-size-lg,
|
|
42
45
|
"font-weight": $font-weight-lg,
|
|
43
46
|
"line-height": $line-height-lg,
|
|
44
|
-
"color":
|
|
47
|
+
"color": colors.$text-color,
|
|
45
48
|
),
|
|
46
49
|
"h4": (
|
|
47
50
|
"font-size": $font-size-base,
|
|
48
51
|
"font-weight": $font-weight-lg,
|
|
49
52
|
"line-height": $line-height-base,
|
|
50
|
-
"color":
|
|
53
|
+
"color": colors.$text-color,
|
|
51
54
|
),
|
|
52
55
|
"h5": (
|
|
53
56
|
"font-size": $font-size-sm,
|
|
54
57
|
"font-weight": $font-weight-md,
|
|
55
58
|
"line-height": $line-height-sm,
|
|
56
|
-
"color":
|
|
59
|
+
"color": colors.$text-color,
|
|
57
60
|
),
|
|
58
61
|
"h6": (
|
|
59
62
|
"font-size": $font-size-xs,
|
|
60
63
|
"font-weight": $font-weight-md,
|
|
61
64
|
"line-height": $line-height-xs,
|
|
62
|
-
"color":
|
|
65
|
+
"color": colors.$text-color,
|
|
63
66
|
),
|
|
64
67
|
"subtitle": (
|
|
65
68
|
"font-size": $font-size-2xl,
|
|
66
69
|
"font-weight": $font-weight-md,
|
|
67
70
|
"line-height": $line-height-2xl,
|
|
68
|
-
"color":
|
|
71
|
+
"color": colors.$text-color,
|
|
69
72
|
),
|
|
70
73
|
),
|
|
71
74
|
$title-types
|
|
72
75
|
);
|
|
73
76
|
|
|
74
77
|
$text-types: () !default;
|
|
75
|
-
$text-types: map
|
|
78
|
+
$text-types: map.merge(
|
|
76
79
|
(
|
|
77
80
|
"body": (
|
|
78
81
|
"font-size": $font-size-base,
|
|
79
82
|
"font-weight": $font-weight-sm,
|
|
80
83
|
"line-height": $line-height-base,
|
|
81
|
-
"color":
|
|
84
|
+
"color": colors.$text-color,
|
|
82
85
|
),
|
|
83
86
|
"span": (
|
|
84
87
|
"font-size": $font-size-base,
|
|
85
88
|
"font-weight": $font-weight-sm,
|
|
86
89
|
"line-height": $line-height-base,
|
|
87
|
-
"color":
|
|
90
|
+
"color": colors.$text-color,
|
|
88
91
|
),
|
|
89
92
|
"boldSpan": (
|
|
90
93
|
"font-size": $font-size-base,
|
|
91
94
|
"font-weight": $font-weight-lg,
|
|
92
95
|
"line-height": $line-height-base,
|
|
93
|
-
"color":
|
|
96
|
+
"color": colors.$text-color,
|
|
94
97
|
),
|
|
95
98
|
),
|
|
96
99
|
$text-types
|
|
97
100
|
);
|
|
98
101
|
|
|
99
102
|
$typography-colors: (
|
|
100
|
-
"text-color":
|
|
101
|
-
"primary":
|
|
102
|
-
"secondary":
|
|
103
|
-
"success":
|
|
104
|
-
"danger":
|
|
105
|
-
"warning":
|
|
106
|
-
"info":
|
|
103
|
+
"text-color": colors.$text-color,
|
|
104
|
+
"primary": colors.$primary,
|
|
105
|
+
"secondary": colors.$secondary,
|
|
106
|
+
"success": colors.$success,
|
|
107
|
+
"danger": colors.$danger,
|
|
108
|
+
"warning": colors.$warning,
|
|
109
|
+
"info": colors.$info,
|
|
107
110
|
) !default;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$calendar-
|
|
5
|
-
$calendar-
|
|
1
|
+
@use "../common/colors";
|
|
2
|
+
@use "../common/old-variables";
|
|
3
|
+
|
|
4
|
+
$calendar-primary-color: colors.$primary !default;
|
|
5
|
+
$calendar-primary-light-color: colors.$primary-light !default;
|
|
6
|
+
$calendar-secondary-color: old-variables.$border-default !default;
|
|
7
|
+
$calendar-text-color: old-variables.$heading !default;
|
|
8
|
+
$calendar-selected-text-color: colors.$white !default;
|
|
6
9
|
|
|
7
10
|
$calendar-font-weight: 500 !default;
|
|
8
11
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "../common/old-variables";
|
|
2
|
+
|
|
1
3
|
$input-height-sm: 34px;
|
|
2
4
|
$input-height-md: 46px;
|
|
3
5
|
$input-height-lg: 56px;
|
|
@@ -58,7 +60,7 @@ $input-message-margin-top-lg: $input-message-margin-top-sm;
|
|
|
58
60
|
$input-message-icon-size-lg: $input-message-icon-size-sm;
|
|
59
61
|
$input-message-icon-margin-right-lg: $input-message-icon-margin-right-sm;
|
|
60
62
|
|
|
61
|
-
$input-border: 1px solid
|
|
63
|
+
$input-border: 1px solid old-variables.$border-default !default;
|
|
62
64
|
$input-border-radius: 4px !default;
|
|
63
65
|
|
|
64
66
|
$input-padding-y: 0 !default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
@
|
|
1
|
+
@forward 'common/colors';
|
|
2
|
+
@forward 'common/media';
|
|
3
|
+
@forward 'common/typography';
|
|
4
|
+
@forward 'common/radiuses';
|
|
5
|
+
@forward 'common/old-variables';
|
|
6
|
+
@forward 'common/variables';
|
|
7
7
|
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
-
@import 'components/ratefield';
|
|
8
|
+
@forward 'components/button';
|
|
9
|
+
@forward 'components/calendar';
|
|
10
|
+
@forward 'components/icon';
|
|
11
|
+
@forward 'components/input';
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
@use "../../scss/variables";
|
|
2
|
+
@use '../../scss/mixins';
|
|
3
|
+
|
|
1
4
|
.TextView {
|
|
2
5
|
margin-bottom: 1em;
|
|
3
|
-
font-family:
|
|
6
|
+
font-family: variables.$font-family-nunito;
|
|
4
7
|
|
|
5
|
-
@each $typeName, $typeMap in
|
|
8
|
+
@each $typeName, $typeMap in variables.$text-types {
|
|
6
9
|
&_type_#{$typeName} {
|
|
7
|
-
@include typography-type($typeMap);
|
|
10
|
+
@include mixins.typography-type($typeMap);
|
|
8
11
|
}
|
|
9
12
|
}
|
|
10
13
|
|
|
11
|
-
@each $colorName, $color in
|
|
14
|
+
@each $colorName, $color in variables.$typography-colors {
|
|
12
15
|
&_color_#{$colorName} {
|
|
13
16
|
color: $color;
|
|
14
17
|
}
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
+
@use "../../scss/variables";
|
|
2
|
+
@use '../../scss/mixins';
|
|
3
|
+
|
|
1
4
|
.TitleView {
|
|
2
5
|
margin-bottom: 1em;
|
|
3
|
-
font-family:
|
|
6
|
+
font-family: variables.$font-family-nunito;
|
|
4
7
|
|
|
5
|
-
@each $typeName, $typeMap in
|
|
8
|
+
@each $typeName, $typeMap in variables.$title-types {
|
|
6
9
|
&_type_#{$typeName} {
|
|
7
|
-
@include typography-type($typeMap);
|
|
10
|
+
@include mixins.typography-type($typeMap);
|
|
8
11
|
}
|
|
9
12
|
}
|
|
10
13
|
|
|
11
|
-
@each $colorName, $color in
|
|
14
|
+
@each $colorName, $color in variables.$typography-colors {
|
|
12
15
|
&_color_#{$colorName} {
|
|
13
16
|
color: $color;
|
|
14
17
|
}
|