@rypen-dev/shared-components 6.1.7 → 6.1.9

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": "@rypen-dev/shared-components",
3
3
  "description": "Shared styles and Vuejs ui components for Rypen projects. Starting with version 6, this package is built with Webpack 5 and Vue 3.",
4
- "version": "6.1.7",
4
+ "version": "6.1.9",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
7
7
  "build": "webpack --config ./webpack.config.js",
@@ -4,6 +4,7 @@
4
4
 
5
5
  @use '../variables' as *;
6
6
  @use '../vendor/foundation-settings' as *;
7
+ @use '../mixins';
7
8
 
8
9
  @use "sass:math";
9
10
 
@@ -3,6 +3,7 @@
3
3
 
4
4
  @use '../variables' as *;
5
5
  @use '../vendor/foundation-settings' as *;
6
+ @use '../mixins';
6
7
 
7
8
  @media (min-width: map-get($breakpoints, medium)) {
8
9
  body.flyover-open {
@@ -4,6 +4,7 @@
4
4
 
5
5
  @use '../variables' as *;
6
6
  @use '../vendor/foundation-settings' as *;
7
+ @use '../mixins';
7
8
 
8
9
  input[type=date]::-webkit-datetime-edit-text {
9
10
  color: $input-placeholder-color;
@@ -4,6 +4,7 @@
4
4
 
5
5
  @use '../variables' as *;
6
6
  @use '../vendor/foundation-settings' as *;
7
+ @use '../mixins';
7
8
 
8
9
  .modal-mask {
9
10
  position: fixed;
@@ -1,5 +1,6 @@
1
1
  @use '../variables' as *;
2
2
  @use '../vendor/foundation-settings' as *;
3
+ @use '../mixins';
3
4
 
4
5
  .tooltip-container {
5
6
  position: relative;
@@ -4,6 +4,7 @@
4
4
 
5
5
  @use './variables' as *;
6
6
  @use './vendor/foundation-settings' as *;
7
+ @use '../mixins';
7
8
 
8
9
  // --> Originally from layout.scss
9
10
  .pill.menu {
@@ -65,7 +65,7 @@
65
65
  // 55. Top Bar
66
66
  // 56. Xy Grid
67
67
 
68
- @import 'foundation-sites/scss/util/util';
68
+ @use 'foundation-sites/scss/util/util' as *;
69
69
 
70
70
  // 1. Global
71
71
  // ---------
@@ -808,15 +808,15 @@ $table-color-scale: 5%;
808
808
  $table-border: 1px solid smart-scale($table-background, $table-color-scale);
809
809
  $table-padding: rem-calc(8 10 10);
810
810
  $table-hover-scale: 2%;
811
- $table-row-hover: darken($table-background, $table-hover-scale);
812
- $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
811
+ $table-row-hover: color.adjust($table-background, $lightness: $table-hover-scale);
812
+ $table-row-stripe-hover: color.adjust($table-background, $lightness: $table-color-scale + $table-hover-scale);
813
813
  $table-is-striped: true;
814
814
  $table-striped-background: smart-scale($table-background, $table-color-scale);
815
815
  $table-stripe: even;
816
816
  $table-head-background: smart-scale($table-background, $table-color-scale * 0.5);
817
- $table-head-row-hover: darken($table-head-background, $table-hover-scale);
817
+ $table-head-row-hover: color.adjust($table-head-background, $lightness: $table-hover-scale);
818
818
  $table-foot-background: smart-scale($table-background, $table-color-scale);
819
- $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
819
+ $table-foot-row-hover: color.adjust($table-foot-background, $lightness: $table-hover-scale);
820
820
  $table-head-font-color: $body-font-color;
821
821
  $table-foot-font-color: $body-font-color;
822
822
  $show-header-for-stacked: false;
@@ -1,6 +1,6 @@
1
1
  // Vendor
2
2
  @use './foundation-settings' as *;
3
- @use 'foundation-sites/scss/foundation';
3
+ @use 'foundation-sites/scss/foundation' as *;
4
4
 
5
5
  // Individual Foundation Pieces
6
6
  @include foundation-global-styles;