@newhighsco/chipset 6.26.0 → 6.26.2

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@newhighsco/chipset",
3
3
  "description": "Shareable, theme-able component library by New High Score",
4
- "version": "6.26.0",
4
+ "version": "6.26.2",
5
5
  "author": "New High Score",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -51,11 +51,11 @@
51
51
  "@newhighsco/commitlint-config": "1.1.46",
52
52
  "@newhighsco/editor-config": "1.2.0",
53
53
  "@newhighsco/eslint-config": "6.0.7",
54
- "@newhighsco/postcss-config": "4.0.10",
54
+ "@newhighsco/postcss-config": "4.0.11",
55
55
  "@newhighsco/prettier-config": "2.3.2",
56
56
  "@newhighsco/release-config": "1.4.20",
57
57
  "@newhighsco/storybook-preset": "9.0.8",
58
- "@newhighsco/stylelint-config": "4.0.19",
58
+ "@newhighsco/stylelint-config": "4.0.20",
59
59
  "@newhighsco/svgr-config": "1.0.0",
60
60
  "@omlet/cli": "2.0.0",
61
61
  "@storybook/react-webpack5": "10.1.11",
@@ -103,10 +103,10 @@ Menubar.propTypes = {
103
103
  links: array,
104
104
  inline: bool,
105
105
  renderLink: func,
106
- toggle: oneOf(
106
+ toggle: oneOf([
107
107
  bool,
108
108
  shape({ icons: { true: any, false: any }, children: node })
109
- ),
109
+ ]),
110
110
  onToggle: func,
111
111
  theme: shape({
112
112
  list: string,
@@ -143,10 +143,14 @@ $fraction-names: whole half third quarter fifth sixth seventh eighth ninth tenth
143
143
  @for $i from 1 through $columns-length {
144
144
  $column: list.nth($columns, $i);
145
145
  $grid: list.nth($fraction-names, $column);
146
- $column-count: if($column == 1, 1, $column - 1);
146
+ $column-count: if(
147
+ sass($column == 1): 1; else: $column - 1
148
+ );
147
149
 
148
150
  @for $j from 1 through $column-count {
149
- $plural: if($j == 1, '', 's');
151
+ $plural: if(
152
+ sass($j == 1): '' ; else: 's'
153
+ );
150
154
  $column-width: $j * math.div(100, $column);
151
155
  $column-name: list.nth($count-names, $j);
152
156
 
@@ -1,5 +1,7 @@
1
1
  @mixin mq($min: false, $max: false, $height: false, $and: false, $media: all) {
2
- $-direction: if($height, height, width);
2
+ $-direction: if(
3
+ sass($height): height; else: width
4
+ );
3
5
  $mq: '#{$media} ';
4
6
 
5
7
  @if $min {
@@ -98,7 +98,7 @@
98
98
  $type: list.nth($side, 2);
99
99
 
100
100
  @if $type == filled {
101
- border-#{$direction}: $size solid if($color != '', $color, null);
101
+ border-#{$direction}: $size solid if(sass($color != ''): $color);
102
102
  } @else if $type == transparent {
103
103
  border-#{$direction}: $size solid transparent;
104
104
  }