@steroidsjs/bootstrap 3.0.0-beta.85 → 3.0.0-beta.86

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.
Files changed (80) hide show
  1. package/content/Accordion/AccordionItemView.scss +24 -14
  2. package/content/Alert/AlertView.scss +20 -17
  3. package/content/Avatar/AvatarView.scss +12 -10
  4. package/content/Badge/BadgeView.scss +21 -19
  5. package/content/Calendar/CalendarView.scss +27 -37
  6. package/content/Calendar/CaptionElement.scss +14 -11
  7. package/content/Card/CardView.scss +11 -9
  8. package/content/Detail/DetailView.scss +13 -11
  9. package/content/DropDown/DropDownView.scss +4 -2
  10. package/content/Menu/MenuItemView.scss +7 -3
  11. package/content/Menu/MenuView.scss +16 -13
  12. package/form/AutoCompleteField/AutoCompleteFieldView.scss +36 -33
  13. package/form/Button/ButtonView.scss +28 -26
  14. package/form/CheckboxField/CheckboxFieldView.scss +29 -27
  15. package/form/DateField/DateFieldView.scss +11 -7
  16. package/form/DateRangeField/DateRangeFieldView.scss +21 -7
  17. package/form/DateTimeField/DateTimeFieldView.scss +11 -8
  18. package/form/DateTimeRangeField/DateTimeRangeFieldView.scss +15 -10
  19. package/form/DropDownField/DropDownFieldView.scss +75 -73
  20. package/form/DropDownFieldItem/DropDownFieldItemView.scss +13 -11
  21. package/form/FieldLayout/FieldLayoutView.scss +27 -25
  22. package/form/FieldList/FieldListItemView.scss +3 -1
  23. package/form/FieldList/FieldListView.scss +11 -8
  24. package/form/FieldSet/FieldSetView.scss +4 -1
  25. package/form/FileField/FileFieldItemView.scss +21 -17
  26. package/form/FileField/FileFieldView.scss +3 -1
  27. package/form/ImageField/ImageFieldView.scss +2 -2
  28. package/form/InputField/InputFieldView.scss +33 -31
  29. package/form/NumberField/NumberFieldView.scss +23 -21
  30. package/form/PasswordField/PasswordFieldView.scss +22 -20
  31. package/form/RadioField/RadioFieldView.scss +26 -24
  32. package/form/RateField/RateFieldView.scss +19 -16
  33. package/form/SliderField/SliderFieldView.scss +17 -15
  34. package/form/SwitcherField/SwitcherFieldView.scss +30 -26
  35. package/form/TextField/TextFieldView.scss +24 -21
  36. package/form/TimeField/TimeFieldView.scss +11 -8
  37. package/form/TimeField/TimePanelView.scss +13 -10
  38. package/form/TimeRangeField/TimeRangeFieldView.scss +14 -10
  39. package/index.scss +90 -89
  40. package/layout/Header/HeaderView.scss +15 -13
  41. package/layout/Loader/LoaderView.scss +5 -2
  42. package/layout/ProgressBar/CircleProgressBarView.scss +9 -7
  43. package/layout/ProgressBar/LineProgressBarView.scss +10 -8
  44. package/layout/Sidebar/FooterIcons/FooterIcons.scss +1 -1
  45. package/layout/Sidebar/SidebarLogo/SidebarLogo.scss +7 -7
  46. package/layout/Sidebar/SidebarUser/SidebarUser.scss +5 -5
  47. package/layout/Sidebar/SidebarView.scss +9 -7
  48. package/layout/Skeleton/SkeletonView.scss +7 -5
  49. package/layout/Tooltip/TooltipView.scss +2 -1
  50. package/list/Empty/EmptyView.scss +2 -1
  51. package/list/FlexGrid/FlexGridView.scss +6 -3
  52. package/list/Grid/GridView.scss +15 -13
  53. package/list/Grid/views/ContentColumnView/ContentColumnView.scss +9 -7
  54. package/list/Grid/views/DiagramColumnView/DiagramColumnView.scss +12 -12
  55. package/list/List/ListView.scss +3 -1
  56. package/list/Pagination/PaginationButtonView.scss +15 -13
  57. package/list/Steps/StepItemView.scss +13 -12
  58. package/list/Steps/StepsView.scss +3 -1
  59. package/modal/Modal/ModalView.scss +19 -17
  60. package/nav/Breadcrubms/BreadcrumbsView.scss +5 -5
  61. package/nav/ButtonGroup/ButtonGroupView.scss +8 -5
  62. package/nav/Nav/NavBarView.scss +7 -4
  63. package/nav/Nav/NavIconView.scss +6 -4
  64. package/nav/Nav/NavTabsView.scss +11 -8
  65. package/nav/Tree/TreeView.scss +7 -5
  66. package/package.json +1 -1
  67. package/scss/animations/index.scss +1 -1
  68. package/scss/mixins/button.scss +31 -28
  69. package/scss/mixins/customMixins.scss +2 -1
  70. package/scss/mixins/date.scss +55 -41
  71. package/scss/mixins/index.scss +6 -6
  72. package/scss/mixins/typography.scss +23 -20
  73. package/scss/variables/common/colors.scss +4 -2
  74. package/scss/variables/common/typography.scss +22 -19
  75. package/scss/variables/components/calendar.scss +8 -5
  76. package/scss/variables/components/input.scss +3 -1
  77. package/scss/variables/components/ratefield.scss +3 -1
  78. package/scss/variables/index.scss +10 -11
  79. package/typography/Text/TextView.scss +7 -4
  80. 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-merge(
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-merge(
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-merge(
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": $text-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": $text-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": $text-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": $text-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": $text-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": $text-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": $text-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-merge(
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": $text-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": $text-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": $text-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": $text-color,
101
- "primary": $primary,
102
- "secondary": $secondary,
103
- "success": $success,
104
- "danger": $danger,
105
- "warning": $warning,
106
- "info": $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
- $calendar-primary-color: $primary !default;
2
- $calendar-primary-light-color: $primary-light !default;
3
- $calendar-secondary-color: $border-default !default;
4
- $calendar-text-color: $heading !default;
5
- $calendar-selected-text-color: $white !default;
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 $border-default !default;
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,2 +1,4 @@
1
+ @use "../common/colors";
2
+
1
3
  $icon-size: 20px !default;
2
- $icon-color: $primary !default;
4
+ $icon-color: colors.$primary !default;
@@ -1,12 +1,11 @@
1
- @import 'common/colors';
2
- @import 'common/media';
3
- @import 'common/typography';
4
- @import 'common/radiuses';
5
- @import 'common/old-variables';
6
- @import 'common/variables';
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
- @import 'components/button';
9
- @import 'components/calendar';
10
- @import 'components/icon';
11
- @import 'components/input';
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" as vars;
2
+ @use '../../scss/mixins';
3
+
1
4
  .TextView {
2
5
  margin-bottom: 1em;
3
- font-family: $font-family-nunito;
6
+ font-family: vars.$font-family-nunito;
4
7
 
5
- @each $typeName, $typeMap in $text-types {
8
+ @each $typeName, $typeMap in vars.$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 $typography-colors {
14
+ @each $colorName, $color in vars.$typography-colors {
12
15
  &_color_#{$colorName} {
13
16
  color: $color;
14
17
  }
@@ -1,14 +1,17 @@
1
+ @use "../../scss/variables" as vars;
2
+ @use '../../scss/mixins';
3
+
1
4
  .TitleView {
2
5
  margin-bottom: 1em;
3
- font-family: $font-family-nunito;
6
+ font-family: vars.$font-family-nunito;
4
7
 
5
- @each $typeName, $typeMap in $title-types {
8
+ @each $typeName, $typeMap in vars.$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 $typography-colors {
14
+ @each $colorName, $color in vars.$typography-colors {
12
15
  &_color_#{$colorName} {
13
16
  color: $color;
14
17
  }