@agilekit/ui 0.0.395-alpha.0 → 0.0.396-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agilekit/ui",
3
- "version": "0.0.395-alpha.0",
3
+ "version": "0.0.396-alpha.0",
4
4
  "description": "Agile's product component library",
5
5
  "author": "Michael de Lima Alves <michaelalves@outlook.com>",
6
6
  "license": "MIT",
@@ -143,5 +143,5 @@
143
143
  "react-spring": "*"
144
144
  },
145
145
  "bugs": {},
146
- "gitHead": "0e5c0ad012980424c2d0ae177a07fe1d1063b547"
146
+ "gitHead": "68cbc7534ff02fd2bf2790b354dfb9de387b35c2"
147
147
  }
@@ -268,8 +268,8 @@ $font-family-base: $font-family-sans-serif !default;
268
268
  // stylelint-enable value-keyword-case
269
269
 
270
270
  $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
271
- $font-size-lg: calc($font-size-base * 1.25) !default;
272
- $font-size-sm: calc($font-size-base * .875) !default;
271
+ $font-size-lg: calc(#{$font-size-base} * 1.25) !default;
272
+ $font-size-sm: calc(#{$font-size-base} * .875) !default;
273
273
 
274
274
  $font-weight-lighter: lighter !default;
275
275
  $font-weight-light: 300 !default;
@@ -287,7 +287,7 @@ $h4-font-size: $font-size-base * 1.5 !default;
287
287
  $h5-font-size: $font-size-base * 1.25 !default;
288
288
  $h6-font-size: $font-size-base !default;
289
289
 
290
- $headings-margin-bottom: calc($spacer / 2) !default;
290
+ $headings-margin-bottom: calc(#{$spacer} / 2) !default;
291
291
  $headings-font-family: inherit !default;
292
292
  $headings-font-weight: 500 !default;
293
293
  $headings-line-height: 1.2 !default;
@@ -304,7 +304,7 @@ $display3-weight: 300 !default;
304
304
  $display4-weight: 300 !default;
305
305
  $display-line-height: $headings-line-height !default;
306
306
 
307
- $lead-font-size: calc($font-size-base * 1.25) !default;
307
+ $lead-font-size: calc(#{$font-size-base} * 1.25) !default;
308
308
  $lead-font-weight: 300 !default;
309
309
 
310
310
  $small-font-size: 80% !default;
@@ -313,7 +313,7 @@ $text-muted: $gray-600 !default;
313
313
 
314
314
  $blockquote-small-color: $gray-600 !default;
315
315
  $blockquote-small-font-size: $small-font-size !default;
316
- $blockquote-font-size: calc($font-size-base * 1.25) !default;
316
+ $blockquote-font-size: calc(#{$font-size-base} * 1.25) !default;
317
317
 
318
318
  $hr-border-color: rgba($black, .1) !default;
319
319
  $hr-border-width: $border-width !default;
@@ -475,15 +475,15 @@ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
475
475
  $input-placeholder-color: $gray-600 !default;
476
476
  $input-plaintext-color: $body-color !default;
477
477
 
478
- $input-height-border: calc($input-border-width * 2) !default;
478
+ $input-height-border: calc(#{$input-border-width} * 2) !default;
479
479
 
480
- $input-height-inner: calc(($input-btn-font-size * $input-btn-line-height) + ($input-btn-padding-y * 2)) !default;
480
+ $input-height-inner: calc((#{$input-btn-font-size} * #{$input-btn-line-height}) + (#{$input-btn-padding-y} * 2)) !default;
481
481
  $input-height: calc(#{$input-height-inner} + #{$input-height-border}) !default;
482
482
 
483
- $input-height-inner-sm: calc(($input-btn-font-size-sm * $input-btn-line-height-sm) + ($input-btn-padding-y-sm * 2)) !default;
483
+ $input-height-inner-sm: calc((#{$input-btn-font-size-sm} * #{$input-btn-line-height-sm}) + (#{$input-btn-padding-y-sm} * 2)) !default;
484
484
  $input-height-sm: calc(#{$input-height-inner-sm} + #{$input-height-border}) !default;
485
485
 
486
- $input-height-inner-lg: calc(($input-btn-font-size-lg * $input-btn-line-height-lg) + ($input-btn-padding-y-lg * 2)) !default;
486
+ $input-height-inner-lg: calc((#{$input-btn-font-size-lg} * #{$input-btn-line-height-lg}) + (#{$input-btn-padding-y-lg} * 2)) !default;
487
487
  $input-height-lg: calc(#{$input-height-inner-lg} + #{$input-height-border}) !default;
488
488
 
489
489
  $input-transition: border-color .15s ease-in-out,
@@ -549,9 +549,9 @@ $custom-checkbox-indicator-indeterminate-border-color: $custom-checkbox-indicato
549
549
  $custom-radio-indicator-border-radius: 50% !default;
550
550
  $custom-radio-indicator-icon-checked: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='#{$custom-control-indicator-checked-color}'/%3e%3c/svg%3e"), "#", "%23") !default;
551
551
 
552
- $custom-switch-width: calc($custom-control-indicator-size * 1.75) !default;
553
- $custom-switch-indicator-border-radius: calc($custom-control-indicator-size / 2) !default;
554
- $custom-switch-indicator-size: calc(#{$custom-control-indicator-size} - #{$custom-control-indicator-border-width * 4}) !default;
552
+ $custom-switch-width: calc(#{$custom-control-indicator-size} * 1.75) !default;
553
+ $custom-switch-indicator-border-radius: calc(#{$custom-control-indicator-size} / 2) !default;
554
+ $custom-switch-indicator-size: calc(#{$custom-control-indicator-size} - #{$custom-control-indicator-border-width} * 4) !default;
555
555
 
556
556
  $custom-select-padding-y: $input-btn-padding-y !default;
557
557
  $custom-select-padding-x: $input-btn-padding-x !default;
@@ -568,9 +568,9 @@ $custom-select-indicator-color: $gray-800 !default;
568
568
  $custom-select-indicator: str-replace(url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e"), "#", "%23") !default;
569
569
  $custom-select-background: $custom-select-indicator no-repeat right $custom-select-padding-x center / $custom-select-bg-size !default; // Used so we can have multiple background elements (e.g., arrow and feedback icon)
570
570
 
571
- $custom-select-feedback-icon-padding-right: calc($input-height-inner * 3 / 4 + $custom-select-padding-x + $custom-select-indicator-padding) !default;
572
- $custom-select-feedback-icon-position: center right calc($custom-select-padding-x + $custom-select-indicator-padding) !default;
573
- $custom-select-feedback-icon-size: calc($input-height-inner / 2) calc($input-height-inner / 2) !default;
571
+ $custom-select-feedback-icon-padding-right: calc(#{$input-height-inner} * 3 / 4 + #{$custom-select-padding-x} + #{$custom-select-indicator-padding}) !default;
572
+ $custom-select-feedback-icon-position: center right calc(#{$custom-select-padding-x} + #{$custom-select-indicator-padding}) !default;
573
+ $custom-select-feedback-icon-size: calc(#{$input-height-inner} / 2) calc(#{$input-height-inner} / 2) !default;
574
574
 
575
575
  $custom-select-border-width: $input-border-width !default;
576
576
  $custom-select-border-color: $input-border-color !default;
@@ -708,21 +708,21 @@ $nav-pills-link-active-color: $component-active-color !default;
708
708
  $nav-pills-link-active-bg: $component-active-bg !default;
709
709
 
710
710
  $nav-divider-color: $gray-200 !default;
711
- $nav-divider-margin-y: calc($spacer / 2) !default;
711
+ $nav-divider-margin-y: calc(#{$spacer} / 2) !default;
712
712
 
713
713
 
714
714
  // Navbar
715
715
 
716
- $navbar-padding-y: calc($spacer / 2) !default;
716
+ $navbar-padding-y: calc(#{$spacer} / 2) !default;
717
717
  $navbar-padding-x: $spacer !default;
718
718
 
719
719
  $navbar-nav-link-padding-x: .5rem !default;
720
720
 
721
721
  $navbar-brand-font-size: $font-size-lg !default;
722
722
  // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
723
- $nav-link-height: calc($font-size-base * $line-height-base + $nav-link-padding-y * 2) !default;
724
- $navbar-brand-height: calc($navbar-brand-font-size * $line-height-base) !default;
725
- $navbar-brand-padding-y: calc(($nav-link-height - $navbar-brand-height) / 2) !default;
723
+ $nav-link-height: calc(#{$font-size-base} * #{$line-height-base} + #{$nav-link-padding-y} * 2) !default;
724
+ $navbar-brand-height: calc(#{$navbar-brand-font-size} * #{$line-height-base}) !default;
725
+ $navbar-brand-padding-y: calc((#{$nav-link-height} - #{$navbar-brand-height}) / 2) !default;
726
726
 
727
727
  $navbar-toggler-padding-y: .25rem !default;
728
728
  $navbar-toggler-padding-x: .75rem !default;
@@ -800,7 +800,7 @@ $card-bg: $white !default;
800
800
 
801
801
  $card-img-overlay-padding: 1.25rem !default;
802
802
 
803
- $card-group-margin: calc($grid-gutter-width / 2) !default;
803
+ $card-group-margin: calc(#{$grid-gutter-width} / 2) !default;
804
804
  $card-deck-margin: $card-group-margin !default;
805
805
 
806
806
  $card-columns-count: 3 !default;
@@ -4,8 +4,8 @@
4
4
 
5
5
  @mixin make-container($gutter: $grid-gutter-width) {
6
6
  width: 100%;
7
- padding-right: calc($gutter / 2);
8
- padding-left: calc($gutter / 2);
7
+ padding-right: calc(#{$gutter} / 2);
8
+ padding-left: calc(#{$gutter} / 2);
9
9
  margin-right: auto;
10
10
  margin-left: auto;
11
11
  }
@@ -23,8 +23,8 @@
23
23
  @mixin make-row($gutter: $grid-gutter-width) {
24
24
  display: flex;
25
25
  flex-wrap: wrap;
26
- margin-right: calc(-$gutter / 2);
27
- margin-left: calc(-$gutter / 2);
26
+ margin-right: calc(-#{$gutter} / 2);
27
+ margin-left: calc(-#{$gutter} / 2);
28
28
  }
29
29
 
30
30
  @mixin make-col-ready($gutter: $grid-gutter-width) {
@@ -33,8 +33,8 @@
33
33
  // always setting `width: 100%;`. This works because we use `flex` values
34
34
  // later on to override this initial width.
35
35
  width: 100%;
36
- padding-right: calc($gutter / 2);
37
- padding-left: calc($gutter / 2);
36
+ padding-right: calc(#{$gutter} / 2);
37
+ padding-left: calc(#{$gutter} / 2);
38
38
  }
39
39
 
40
40
  @mixin make-col($size, $columns: $grid-columns) {
@@ -46,6 +46,6 @@
46
46
  }
47
47
 
48
48
  @mixin make-col-offset($size, $columns: $grid-columns) {
49
- $num: calc($size / $columns);
49
+ $num: calc(#{$size} / #{$columns});
50
50
  margin-left: if($num == 0, 0, percentage($num));
51
51
  }