@rypen-dev/shared-components 6.1.9 → 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.9",
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,10 +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
- @use '../mixins';
8
-
9
5
  @use "sass:math";
10
6
 
11
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,10 +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
- @use '../mixins';
7
-
8
4
  @media (min-width: map-get($breakpoints, medium)) {
9
5
  body.flyover-open {
10
6
  overflow: hidden;
@@ -2,9 +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 *;
7
- @use '../mixins';
5
+ @use "sass:color";
8
6
 
9
7
  input[type=date]::-webkit-datetime-edit-text {
10
8
  color: $input-placeholder-color;
@@ -1269,7 +1267,7 @@ select {
1269
1267
  top: 12px;
1270
1268
  right: 12px;
1271
1269
  border-radius: 50%;
1272
- background-color: fade-out($tertiary-alt, 0.4);
1270
+ background-color: color.adjust($tertiary-alt, $alpha: -0.4);
1273
1271
  font-size: 1.425rem;
1274
1272
  line-height: 1.425rem;
1275
1273
  text-align: center;
@@ -1285,7 +1283,7 @@ select {
1285
1283
  &::after {
1286
1284
  content: '';
1287
1285
  position: absolute;
1288
- background-color: fade-out($white, 0.5);
1286
+ background-color: color.adjust($white, $alpha: 0.5);
1289
1287
  top: 4px;
1290
1288
  left: 4px;
1291
1289
  right: 4px;
@@ -1304,7 +1302,7 @@ select {
1304
1302
  z-index: 61;
1305
1303
  bottom: 0;
1306
1304
  top: auto;
1307
- border-left: solid 2px fade-out($dark-gray, 0.5);
1305
+ border-left: solid 2px color.adjust($dark-gray, $alpha: -0.5);
1308
1306
  border-bottom: 0;
1309
1307
  transform: rotate(45deg);
1310
1308
  }
@@ -1318,7 +1316,7 @@ select {
1318
1316
  z-index: 61;
1319
1317
  bottom: 0;
1320
1318
  top: auto;
1321
- border-left: solid 2px fade-out($dark-gray, 0.5);
1319
+ border-left: solid 2px color.adjust($dark-gray, $alpha: -0.5);
1322
1320
  border-bottom: 0;
1323
1321
  transform: rotate(-45deg);
1324
1322
  pointer-events: none;
@@ -1699,14 +1697,14 @@ body.hover-capable {
1699
1697
 
1700
1698
  .credit-card-security {
1701
1699
  position: relative;
1702
- border: solid 1px fade-out($secondary-alt, 0.7);
1700
+ border: solid 1px color.adjust($secondary-alt, $alpha: -0.7);
1703
1701
  border-radius: 3px;
1704
1702
  height: 100px;
1705
1703
  padding: 40px 20px 0;
1706
1704
 
1707
1705
  &::before {
1708
1706
  content: '';
1709
- background-color: fade-out($secondary-alt, 0.8);
1707
+ background-color: color.adjust($secondary-alt, $alpha: -0.8);
1710
1708
  position: absolute;
1711
1709
  top: 10px;
1712
1710
  left: 0;
@@ -1720,7 +1718,7 @@ body.hover-capable {
1720
1718
  height: 20px;
1721
1719
  padding: 0 4px;
1722
1720
  line-height: 20px;
1723
- border: solid 1px fade-out($secondary-alt, 0.7);
1721
+ border: solid 1px color.adjust($secondary-alt, $alpha: -0.7);
1724
1722
  background-color: $gray-overlay;
1725
1723
  text-align: right;
1726
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,9 +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 *;
7
- @use '../mixins';
5
+ @use "sass:color";
8
6
 
9
7
  .modal-mask {
10
8
  position: fixed;
@@ -13,7 +11,7 @@
13
11
  left: 0;
14
12
  width: 100vw;
15
13
  height: 100vh;
16
- background-color: fade-out($white, 0.2);
14
+ background-color: color.adjust($white, $alpha: -0.2);
17
15
 
18
16
  transition: opacity .3s ease, background-color .3s ease;
19
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,7 +1,3 @@
1
- @use '../variables' as *;
2
- @use '../vendor/foundation-settings' as *;
3
- @use '../mixins';
4
-
5
1
  .tooltip-container {
6
2
  position: relative;
7
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,9 +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 *;
7
- @use '../mixins';
5
+ @use "sass:color";
8
6
 
9
7
  // --> Originally from layout.scss
10
8
  .pill.menu {
@@ -84,7 +82,7 @@
84
82
 
85
83
  &::after {
86
84
  content: '';
87
- background-color: fade-out($success-alt, 0.75);
85
+ background-color: color.adjust($success-alt, $alpha: -0.75);
88
86
  position: absolute;
89
87
  top: 0;
90
88
  left: 0;
@@ -101,7 +99,7 @@
101
99
  }
102
100
 
103
101
  &::after {
104
- background-color: fade-out($primary, 0.75);
102
+ background-color: color.adjust($primary, $alpha: -0.75);
105
103
  }
106
104
  }
107
105
 
@@ -114,7 +112,7 @@
114
112
  }
115
113
 
116
114
  &::after {
117
- background-color: fade-out($alert, 0.75);
115
+ background-color: color.adjust($alert, $alpha: -0.75);
118
116
  }
119
117
  }
120
118
  }
@@ -246,7 +244,7 @@
246
244
  left: 0;
247
245
  right: 0;
248
246
  bottom: 0;
249
- background-color: fade-out($white, 0.2);
247
+ background-color: color.adjust($white, $alpha: -0.2);
250
248
  z-index: 100;
251
249
  }
252
250
 
@@ -420,15 +418,15 @@
420
418
  .vertical-split,
421
419
  .table-row {
422
420
  &.modified {
423
- background-color: fade-out($success-alt, 0.75) !important;
421
+ background-color: color.adjust($success-alt, $alpha: -0.75) !important;
424
422
  }
425
423
 
426
424
  &.attention {
427
- background-color: fade-out($attention, 0.5) !important;
425
+ background-color: color.adjust($attention, $alpha: -0.5) !important;
428
426
  }
429
427
 
430
428
  &.needs-response {
431
- background-color: fade-out($quaternary, 0.4) !important;
429
+ background-color: color.adjust($quaternary, $alpha: -0.4) !important;
432
430
  }
433
431
  }
434
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
 
@@ -65,7 +64,7 @@
65
64
  // 55. Top Bar
66
65
  // 56. Xy Grid
67
66
 
68
- @use 'foundation-sites/scss/util/util' as *;
67
+ @import 'foundation-sites/scss/util/util';
69
68
 
70
69
  // 1. Global
71
70
  // ---------
@@ -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;