@rypen-dev/shared-components 6.1.8 → 6.1.10

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.8",
4
+ "version": "6.1.10",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {
7
7
  "build": "webpack --config ./webpack.config.js",
package/scss/_mixins.scss CHANGED
@@ -1,8 +1,6 @@
1
1
  /// <reference path="./variables" />
2
2
  /// <reference path="./vendor/foundation-settings" />
3
3
 
4
- @use './variables' as *;
5
-
6
4
  @mixin button-shadow {
7
5
  box-shadow: 0 6px 20px 1px $shadow-color;
8
6
  }
@@ -1,6 +1,3 @@
1
- @use './variables' as *;
2
- @use './vendor/foundation-settings' as *;
3
-
4
1
  .order-summary {
5
2
  .value {
6
3
  font-size: 1.25rem;
@@ -2,8 +2,6 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
7
5
  // called "labels" in foundation
8
6
 
9
7
  .label {
@@ -2,9 +2,6 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
7
-
8
5
  @use "sass:math";
9
6
 
10
7
  .cta-link {
@@ -2,9 +2,6 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
7
-
8
5
  .photo-collage {
9
6
  position: relative;
10
7
  width: 250px;
@@ -1,9 +1,6 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @use '../variables' as *;
5
- @use '../vendor/foundation-settings' as *;
6
-
7
4
  @media (min-width: map-get($breakpoints, medium)) {
8
5
  body.flyover-open {
9
6
  overflow: hidden;
@@ -2,8 +2,7 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
5
+ @use "sass:color";
7
6
 
8
7
  input[type=date]::-webkit-datetime-edit-text {
9
8
  color: $input-placeholder-color;
@@ -1268,7 +1267,7 @@ select {
1268
1267
  top: 12px;
1269
1268
  right: 12px;
1270
1269
  border-radius: 50%;
1271
- background-color: fade-out($tertiary-alt, 0.4);
1270
+ background-color: color.adjust($tertiary-alt, $alpha: -0.4);
1272
1271
  font-size: 1.425rem;
1273
1272
  line-height: 1.425rem;
1274
1273
  text-align: center;
@@ -1284,7 +1283,7 @@ select {
1284
1283
  &::after {
1285
1284
  content: '';
1286
1285
  position: absolute;
1287
- background-color: fade-out($white, 0.5);
1286
+ background-color: color.adjust($white, $alpha: 0.5);
1288
1287
  top: 4px;
1289
1288
  left: 4px;
1290
1289
  right: 4px;
@@ -1303,7 +1302,7 @@ select {
1303
1302
  z-index: 61;
1304
1303
  bottom: 0;
1305
1304
  top: auto;
1306
- border-left: solid 2px fade-out($dark-gray, 0.5);
1305
+ border-left: solid 2px color.adjust($dark-gray, $alpha: -0.5);
1307
1306
  border-bottom: 0;
1308
1307
  transform: rotate(45deg);
1309
1308
  }
@@ -1317,7 +1316,7 @@ select {
1317
1316
  z-index: 61;
1318
1317
  bottom: 0;
1319
1318
  top: auto;
1320
- border-left: solid 2px fade-out($dark-gray, 0.5);
1319
+ border-left: solid 2px color.adjust($dark-gray, $alpha: -0.5);
1321
1320
  border-bottom: 0;
1322
1321
  transform: rotate(-45deg);
1323
1322
  pointer-events: none;
@@ -1698,14 +1697,14 @@ body.hover-capable {
1698
1697
 
1699
1698
  .credit-card-security {
1700
1699
  position: relative;
1701
- border: solid 1px fade-out($secondary-alt, 0.7);
1700
+ border: solid 1px color.adjust($secondary-alt, $alpha: -0.7);
1702
1701
  border-radius: 3px;
1703
1702
  height: 100px;
1704
1703
  padding: 40px 20px 0;
1705
1704
 
1706
1705
  &::before {
1707
1706
  content: '';
1708
- background-color: fade-out($secondary-alt, 0.8);
1707
+ background-color: color.adjust($secondary-alt, $alpha: -0.8);
1709
1708
  position: absolute;
1710
1709
  top: 10px;
1711
1710
  left: 0;
@@ -1719,7 +1718,7 @@ body.hover-capable {
1719
1718
  height: 20px;
1720
1719
  padding: 0 4px;
1721
1720
  line-height: 20px;
1722
- border: solid 1px fade-out($secondary-alt, 0.7);
1721
+ border: solid 1px color.adjust($secondary-alt, $alpha: -0.7);
1723
1722
  background-color: $gray-overlay;
1724
1723
  text-align: right;
1725
1724
  font-size: 0.75rem;
@@ -1,6 +1,3 @@
1
- @use '../variables' as *;
2
- @use '../vendor/foundation-settings' as *;
3
-
4
1
  @media all and (max-width: map-get($breakpoints, medium) - 1px) {
5
2
  body:after {
6
3
  content: 'size-small';
@@ -1,9 +1,6 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @use '../variables' as *;
5
- @use '../vendor/foundation-settings' as *;
6
-
7
4
  .loader {
8
5
  text-align: center;
9
6
  padding: 30px 0;
@@ -25,7 +22,7 @@
25
22
  }
26
23
 
27
24
  .working-screen {
28
- background-color: fade-out($white, 0.5);
25
+ background-color: color.adjust($white, $alpha: -0.5);
29
26
  position: absolute;
30
27
  top: 0;
31
28
  left: 0;
@@ -2,8 +2,7 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
5
+ @use "sass:color";
7
6
 
8
7
  .modal-mask {
9
8
  position: fixed;
@@ -12,7 +11,7 @@
12
11
  left: 0;
13
12
  width: 100vw;
14
13
  height: 100vh;
15
- background-color: fade-out($white, 0.2);
14
+ background-color: color.adjust($white, $alpha: -0.2);
16
15
 
17
16
  transition: opacity .3s ease, background-color .3s ease;
18
17
 
@@ -2,9 +2,6 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
7
-
8
5
  nav > ul {
9
6
  list-style-type: none;
10
7
  margin: 0;
@@ -1,6 +1,3 @@
1
- @use '../variables' as *;
2
- @use '../vendor/foundation-settings' as *;
3
-
4
1
  .notification-row {
5
2
  .notification-summary {
6
3
  display: flex;
@@ -2,9 +2,6 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
7
-
8
5
  @use "sass:color";
9
6
 
10
7
  .pill {
@@ -1,6 +1,3 @@
1
- @use '../variables' as *;
2
- @use '../vendor/foundation-settings' as *;
3
-
4
1
  @media print {
5
2
  @page {
6
3
  size: 8.5in 11in;
@@ -1,6 +1,3 @@
1
- @use '../variables' as *;
2
- @use '../vendor/foundation-settings' as *;
3
-
4
1
  .progress-bar {
5
2
  ol {
6
3
  list-style-type: none;
@@ -2,8 +2,7 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
5
+ @use "sass:color";
7
6
 
8
7
  .image-selector {
9
8
  position: relative;
@@ -1,9 +1,6 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @use '../variables' as *;
5
- @use '../vendor/foundation-settings' as *;
6
-
7
4
  .modal-container {
8
5
  .modal-body {
9
6
  .form.side-by-side {
@@ -2,9 +2,6 @@
2
2
  /// <reference path="../mixins" />
3
3
  /// <reference path="../vendor/foundation-settings" />
4
4
 
5
- @use '../variables' as *;
6
- @use '../vendor/foundation-settings' as *;
7
-
8
5
  .specsheet {
9
6
  padding: 1rem 0;
10
7
  font-weight: $headline-weight-normal;
@@ -1,9 +1,6 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @use '../variables' as *;
5
- @use '../vendor/foundation-settings' as *;
6
-
7
4
  div.table {
8
5
  font-size: 0.9375rem;
9
6
  color: $table-text-color;
@@ -1,6 +1,3 @@
1
- @use '../variables' as *;
2
- @use '../vendor/foundation-settings' as *;
3
-
4
1
  .tooltip-container {
5
2
  position: relative;
6
3
 
@@ -1,9 +1,6 @@
1
1
  /// <reference path="../variables" />
2
2
  /// <reference path="../vendor/foundation-settings" />
3
3
 
4
- @use '../variables' as *;
5
- @use '../vendor/foundation-settings' as *;
6
-
7
4
  @import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Ubuntu:300,400,500');
8
5
 
9
6
  // OpenSans: Light = 300, Regular = 400, Semi-Bold = 600, Bold = 700 (Extra-Bold = 800)
@@ -2,8 +2,7 @@
2
2
  /// <reference path="./mixins" />
3
3
  /// <reference path="./vendor/foundation-settings" />
4
4
 
5
- @use './variables' as *;
6
- @use './vendor/foundation-settings' as *;
5
+ @use "sass:color";
7
6
 
8
7
  // --> Originally from layout.scss
9
8
  .pill.menu {
@@ -83,7 +82,7 @@
83
82
 
84
83
  &::after {
85
84
  content: '';
86
- background-color: fade-out($success-alt, 0.75);
85
+ background-color: color.adjust($success-alt, $alpha: -0.75);
87
86
  position: absolute;
88
87
  top: 0;
89
88
  left: 0;
@@ -100,7 +99,7 @@
100
99
  }
101
100
 
102
101
  &::after {
103
- background-color: fade-out($primary, 0.75);
102
+ background-color: color.adjust($primary, $alpha: -0.75);
104
103
  }
105
104
  }
106
105
 
@@ -113,7 +112,7 @@
113
112
  }
114
113
 
115
114
  &::after {
116
- background-color: fade-out($alert, 0.75);
115
+ background-color: color.adjust($alert, $alpha: -0.75);
117
116
  }
118
117
  }
119
118
  }
@@ -245,7 +244,7 @@
245
244
  left: 0;
246
245
  right: 0;
247
246
  bottom: 0;
248
- background-color: fade-out($white, 0.2);
247
+ background-color: color.adjust($white, $alpha: -0.2);
249
248
  z-index: 100;
250
249
  }
251
250
 
@@ -419,15 +418,15 @@
419
418
  .vertical-split,
420
419
  .table-row {
421
420
  &.modified {
422
- background-color: fade-out($success-alt, 0.75) !important;
421
+ background-color: color.adjust($success-alt, $alpha: -0.75) !important;
423
422
  }
424
423
 
425
424
  &.attention {
426
- background-color: fade-out($attention, 0.5) !important;
425
+ background-color: color.adjust($attention, $alpha: -0.5) !important;
427
426
  }
428
427
 
429
428
  &.needs-response {
430
- background-color: fade-out($quaternary, 0.4) !important;
429
+ background-color: color.adjust($quaternary, $alpha: -0.4) !important;
431
430
  }
432
431
  }
433
432
 
@@ -2,9 +2,6 @@
2
2
  /// <reference path="./mixins" />
3
3
  /// <reference path="./vendor/foundation-settings" />
4
4
 
5
- @use './variables' as *;
6
- @use './vendor/foundation-settings' as *;
7
-
8
5
  .project-footer {
9
6
  margin-top: 30px;
10
7
 
package/scss/styles.scss CHANGED
@@ -1,23 +1,67 @@
1
- @use './variables' as *;
2
- @use './mixins';
1
+ @import './variables';
2
+ @import './mixins';
3
3
 
4
- // foundation 6 sites
5
- @use './vendor/foundation';
4
+ // Vendor
5
+ @import './vendor/foundation-settings';
6
+ @import '~foundation-sites/scss/foundation';
7
+ //@import '~@fortawesome/fontawesome-free/scss/fontawesome';
6
8
 
7
- @use './partials/layout';
8
- @use './partials/navigation';
9
- @use './partials/badges';
10
- @use './partials/buttons';
11
- @use './partials/forms';
12
- @use './partials/loader';
13
- @use './partials/modals';
14
- @use './partials/flyovers';
15
- @use './partials/pills';
16
- @use './partials/tables';
17
- @use './partials/tooltips';
18
- @use './partials/typography';
19
- @use './partials/content';
20
- @use './partials/specsheet';
21
- @use './partials/notifications';
22
- @use './partials/progressbar';
23
- @use './partials/print';
9
+ // Individual Foundation Pieces
10
+ @include foundation-global-styles;
11
+ @include foundation-xy-grid-classes;
12
+ //@include foundation-grid;
13
+ //@include foundation-flex-grid;
14
+ @include foundation-flex-classes;
15
+ @include foundation-typography;
16
+ @include foundation-forms;
17
+ //@include foundation-button;
18
+ //@include foundation-accordion;
19
+ //@include foundation-accordion-menu;
20
+ //@include foundation-badge;
21
+ //@include foundation-breadcrumbs;
22
+ //@include foundation-button-group;
23
+ //@include foundation-callout;
24
+ //@include foundation-card;
25
+ //@include foundation-close-button;
26
+ //@include foundation-menu;
27
+ //@include foundation-menu-icon;
28
+ //@include foundation-drilldown-menu;
29
+ //@include foundation-dropdown;
30
+ //@include foundation-dropdown-menu;
31
+ //@include foundation-responsive-embed;
32
+ @include foundation-label;
33
+ //@include foundation-media-object;
34
+ //@include foundation-off-canvas;
35
+ //@include foundation-orbit;
36
+ //@include foundation-pagination;
37
+ //@include foundation-progress-bar;
38
+ //@include foundation-slider;
39
+ //@include foundation-sticky;
40
+ @include foundation-reveal;
41
+ @include foundation-switch;
42
+ //@include foundation-table;
43
+ //@include foundation-tabs;
44
+ //@include foundation-thumbnail;
45
+ //@include foundation-title-bar;
46
+ //@include foundation-tooltip;
47
+ //@include foundation-top-bar;
48
+ @include foundation-visibility-classes;
49
+ //@include foundation-float-classes;
50
+
51
+ @import './partials/layout';
52
+ @import './partials/navigation';
53
+ @import './partials/badges';
54
+ @import './partials/buttons';
55
+ @import './partials/forms';
56
+ @import './partials/loader';
57
+ @import './partials/modals';
58
+ @import './partials/flyovers';
59
+ @import './partials/pills';
60
+ @import './partials/tables';
61
+ @import './partials/tooltips';
62
+ @import './partials/typography';
63
+ @import './partials/content';
64
+ @import './partials/specsheet';
65
+ @import './partials/notifications';
66
+ @import './partials/progressbar';
67
+ @import './partials/print';
@@ -1,5 +1,4 @@
1
1
   /// <reference path="../variables" />
2
- @use '../variables' as *;
3
2
 
4
3
  @use "sass:color";
5
4
 
@@ -1,45 +0,0 @@
1
- // Vendor
2
- @use './foundation-settings' as *;
3
- @use 'foundation-sites/scss/foundation' as *;
4
-
5
- // Individual Foundation Pieces
6
- @include foundation-global-styles;
7
- @include foundation-xy-grid-classes;
8
- //@include foundation-grid;
9
- //@include foundation-flex-grid;
10
- @include foundation-flex-classes;
11
- @include foundation-typography;
12
- @include foundation-forms;
13
- //@include foundation-button;
14
- //@include foundation-accordion;
15
- //@include foundation-accordion-menu;
16
- //@include foundation-badge;
17
- //@include foundation-breadcrumbs;
18
- //@include foundation-button-group;
19
- //@include foundation-callout;
20
- //@include foundation-card;
21
- //@include foundation-close-button;
22
- //@include foundation-menu;
23
- //@include foundation-menu-icon;
24
- //@include foundation-drilldown-menu;
25
- //@include foundation-dropdown;
26
- //@include foundation-dropdown-menu;
27
- //@include foundation-responsive-embed;
28
- @include foundation-label;
29
- //@include foundation-media-object;
30
- //@include foundation-off-canvas;
31
- //@include foundation-orbit;
32
- //@include foundation-pagination;
33
- //@include foundation-progress-bar;
34
- //@include foundation-slider;
35
- //@include foundation-sticky;
36
- @include foundation-reveal;
37
- @include foundation-switch;
38
- //@include foundation-table;
39
- //@include foundation-tabs;
40
- //@include foundation-thumbnail;
41
- //@include foundation-title-bar;
42
- //@include foundation-tooltip;
43
- //@include foundation-top-bar;
44
- @include foundation-visibility-classes;
45
- //@include foundation-float-classes;