@rypen-dev/shared-components 6.0.6 → 6.1.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 +1 -1
- package/scss/_mixins.scss +2 -0
- package/scss/_variables.scss +6 -4
- package/scss/checkout.scss +3 -0
- package/scss/partials/_badges.scss +2 -0
- package/scss/partials/_buttons.scss +3 -0
- package/scss/partials/_content.scss +3 -0
- package/scss/partials/_flyovers.scss +3 -0
- package/scss/partials/_forms.scss +3 -0
- package/scss/partials/_layout.scss +3 -0
- package/scss/partials/_loader.scss +3 -0
- package/scss/partials/_modals.scss +3 -0
- package/scss/partials/_navigation.scss +3 -0
- package/scss/partials/_notifications.scss +3 -0
- package/scss/partials/_pills.scss +16 -11
- package/scss/partials/_print.scss +3 -0
- package/scss/partials/_progressbar.scss +3 -0
- package/scss/partials/_proposalsgallery.scss +4 -1
- package/scss/partials/_proposalsmodals.scss +3 -0
- package/scss/partials/_specsheet.scss +3 -0
- package/scss/partials/_tables.scss +3 -0
- package/scss/partials/_tooltips.scss +3 -0
- package/scss/partials/_typography.scss +3 -0
- package/scss/proposals.scss +3 -0
- package/scss/proposalsshared.scss +3 -0
- package/scss/styles.scss +21 -21
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.0
|
|
4
|
+
"version": "6.1.0",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "webpack --config ./webpack.config.js",
|
package/scss/_mixins.scss
CHANGED
package/scss/_variables.scss
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
|
|
1
3
|
// Breakpoints
|
|
2
4
|
$breakpoint-small: 0 !default;
|
|
3
5
|
$breakpoint-medium: 768px !default;
|
|
@@ -22,14 +24,14 @@ $accent-dark-blue: #3D68AD; // new for studio
|
|
|
22
24
|
|
|
23
25
|
$secondary-purple: #8d7bcd; // highlight purple
|
|
24
26
|
$tertiary-purple: #b1a0e0; // highlight purple 2
|
|
25
|
-
$shadow-purple:
|
|
27
|
+
$shadow-purple: color.adjust(#4e2c6b, $alpha: -84%); // grape 16
|
|
26
28
|
|
|
27
29
|
$light-gray: #f7f7f7 !default; // light gray
|
|
28
30
|
$medium-gray: #dcd6e8 !default; // pale grey
|
|
29
31
|
$middle-gray: #eaeaea !default;
|
|
30
32
|
$dark-gray: #767676 !default;
|
|
31
|
-
$gray-overlay:
|
|
32
|
-
$gray-underlay:
|
|
33
|
+
$gray-overlay: color.adjust($black, $alpha: -97%) !default;
|
|
34
|
+
$gray-underlay: color.adjust($medium-gray, $alpha: -50%) !default;
|
|
33
35
|
$text-gray: #c2c1c8 !default;
|
|
34
36
|
$border-gray: #e4e4e4 !default;
|
|
35
37
|
$shadow-color: $shadow-purple !default;
|
|
@@ -75,7 +77,7 @@ $navigation-link-highlight: $warning !default;
|
|
|
75
77
|
$navigation-divider-color: $medium-gray !default;
|
|
76
78
|
|
|
77
79
|
$call-to-action-color: $alert !default;
|
|
78
|
-
$call-to-action-color-active:
|
|
80
|
+
$call-to-action-color-active: color.scale($alert, $lightness: -20%) !default;
|
|
79
81
|
$default-button-bg-color: $white !default;
|
|
80
82
|
$default-button-hover-bg-color: $primary !default;
|
|
81
83
|
$button-hover-bg-color: $white !default;
|
package/scss/checkout.scss
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
|
|
4
7
|
@media (min-width: map-get($breakpoints, medium)) {
|
|
5
8
|
body.flyover-open {
|
|
6
9
|
overflow: hidden;
|
|
@@ -2,6 +2,11 @@
|
|
|
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
|
+
@use "sass:color";
|
|
9
|
+
|
|
5
10
|
.pill {
|
|
6
11
|
width: auto !important;
|
|
7
12
|
display: inline-block;
|
|
@@ -29,7 +34,7 @@
|
|
|
29
34
|
&:hover,
|
|
30
35
|
&:focus,
|
|
31
36
|
&.active {
|
|
32
|
-
background-color:
|
|
37
|
+
background-color: color.adjust($primary, $alpha: -0.75) !important;
|
|
33
38
|
color: $primary !important;
|
|
34
39
|
}
|
|
35
40
|
|
|
@@ -41,7 +46,7 @@
|
|
|
41
46
|
&:hover,
|
|
42
47
|
&:focus,
|
|
43
48
|
&.active {
|
|
44
|
-
background-color:
|
|
49
|
+
background-color: color.adjust($warning, $alpha: -0.75) !important;
|
|
45
50
|
color: $warning !important;
|
|
46
51
|
}
|
|
47
52
|
}
|
|
@@ -54,7 +59,7 @@
|
|
|
54
59
|
&:hover,
|
|
55
60
|
&:focus,
|
|
56
61
|
&.active {
|
|
57
|
-
background-color:
|
|
62
|
+
background-color: color.adjust($secondary-pill-color, $alpha: -0.75) !important;
|
|
58
63
|
color: $secondary-pill-color !important;
|
|
59
64
|
}
|
|
60
65
|
}
|
|
@@ -67,7 +72,7 @@
|
|
|
67
72
|
&:hover,
|
|
68
73
|
&:focus,
|
|
69
74
|
&.active {
|
|
70
|
-
background-color:
|
|
75
|
+
background-color: color.adjust($secondary-alt, $alpha: -0.75) !important;
|
|
71
76
|
color: $secondary-alt !important;
|
|
72
77
|
}
|
|
73
78
|
}
|
|
@@ -80,7 +85,7 @@
|
|
|
80
85
|
&:hover,
|
|
81
86
|
&:focus,
|
|
82
87
|
&.active {
|
|
83
|
-
background-color:
|
|
88
|
+
background-color: color.adjust($success-alt, $alpha: -0.75) !important;
|
|
84
89
|
color: $success-alt !important;
|
|
85
90
|
}
|
|
86
91
|
}
|
|
@@ -93,7 +98,7 @@
|
|
|
93
98
|
&:hover,
|
|
94
99
|
&:focus,
|
|
95
100
|
&:active {
|
|
96
|
-
background-color:
|
|
101
|
+
background-color: color.adjust($quaternary, $alpha: -0.75) !important;
|
|
97
102
|
color: $quaternary !important;
|
|
98
103
|
}
|
|
99
104
|
}
|
|
@@ -132,28 +137,28 @@
|
|
|
132
137
|
&.orange,
|
|
133
138
|
&.warning {
|
|
134
139
|
&::before {
|
|
135
|
-
background-color:
|
|
140
|
+
background-color: color.adjust($warning, $alpha: -0.75);
|
|
136
141
|
}
|
|
137
142
|
}
|
|
138
143
|
|
|
139
144
|
&.teal,
|
|
140
145
|
&.secondary {
|
|
141
146
|
&::before {
|
|
142
|
-
background-color:
|
|
147
|
+
background-color: color.adjust($secondary-pill-color, $alpha: -0.75);
|
|
143
148
|
}
|
|
144
149
|
}
|
|
145
150
|
|
|
146
151
|
&.turquoise,
|
|
147
152
|
&.success-alt {
|
|
148
153
|
&::before {
|
|
149
|
-
background-color:
|
|
154
|
+
background-color: color.adjust($success-alt, $alpha: -0.75);
|
|
150
155
|
}
|
|
151
156
|
}
|
|
152
157
|
|
|
153
158
|
&.blue,
|
|
154
159
|
&.quaternary {
|
|
155
160
|
&::before {
|
|
156
|
-
background-color:
|
|
161
|
+
background-color: color.adjust($quaternary, $alpha: -0.75);
|
|
157
162
|
}
|
|
158
163
|
}
|
|
159
164
|
}
|
|
@@ -190,7 +195,7 @@
|
|
|
190
195
|
}
|
|
191
196
|
|
|
192
197
|
&.floating {
|
|
193
|
-
box-shadow: 0 6px 17px 1px
|
|
198
|
+
box-shadow: 0 6px 17px 1px color.adjust($secondary-alt, $alpha: -0.35) !important;
|
|
194
199
|
}
|
|
195
200
|
|
|
196
201
|
&.large {
|
|
@@ -2,6 +2,9 @@
|
|
|
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
8
|
.image-selector {
|
|
6
9
|
position: relative;
|
|
7
10
|
margin-bottom: 20px;
|
|
@@ -64,7 +67,7 @@
|
|
|
64
67
|
left: 0;
|
|
65
68
|
width: 100%;
|
|
66
69
|
padding: 0.5rem;
|
|
67
|
-
background-color:
|
|
70
|
+
background-color: color.adjust($white, $alpha: -0.15);
|
|
68
71
|
font-size: 0.875rem;
|
|
69
72
|
text-align: center;
|
|
70
73
|
text-transform: uppercase;
|
|
@@ -1,6 +1,9 @@
|
|
|
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
|
+
|
|
4
7
|
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Ubuntu:300,400,500');
|
|
5
8
|
|
|
6
9
|
// OpenSans: Light = 300, Regular = 400, Semi-Bold = 600, Bold = 700 (Extra-Bold = 800)
|
package/scss/proposals.scss
CHANGED
package/scss/styles.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use './variables' as *;
|
|
2
|
+
@use './mixins';
|
|
2
3
|
|
|
3
4
|
// Vendor
|
|
4
|
-
@
|
|
5
|
-
@
|
|
6
|
-
//@import '../node_modules/@fortawesome/fontawesome-free/scss/fontawesome';
|
|
5
|
+
@use './vendor/foundation-settings' as *;
|
|
6
|
+
@use 'foundation-sites/scss/foundation';
|
|
7
7
|
|
|
8
8
|
// Individual Foundation Pieces
|
|
9
9
|
@include foundation-global-styles;
|
|
@@ -47,20 +47,20 @@
|
|
|
47
47
|
@include foundation-visibility-classes;
|
|
48
48
|
//@include foundation-float-classes;
|
|
49
49
|
|
|
50
|
-
@
|
|
51
|
-
@
|
|
52
|
-
@
|
|
53
|
-
@
|
|
54
|
-
@
|
|
55
|
-
@
|
|
56
|
-
@
|
|
57
|
-
@
|
|
58
|
-
@
|
|
59
|
-
@
|
|
60
|
-
@
|
|
61
|
-
@
|
|
62
|
-
@
|
|
63
|
-
@
|
|
64
|
-
@
|
|
65
|
-
@
|
|
66
|
-
@
|
|
50
|
+
@use './partials/layout';
|
|
51
|
+
@use './partials/navigation';
|
|
52
|
+
@use './partials/badges';
|
|
53
|
+
@use './partials/buttons';
|
|
54
|
+
@use './partials/forms';
|
|
55
|
+
@use './partials/loader';
|
|
56
|
+
@use './partials/modals';
|
|
57
|
+
@use './partials/flyovers';
|
|
58
|
+
@use './partials/pills';
|
|
59
|
+
@use './partials/tables';
|
|
60
|
+
@use './partials/tooltips';
|
|
61
|
+
@use './partials/typography';
|
|
62
|
+
@use './partials/content';
|
|
63
|
+
@use './partials/specsheet';
|
|
64
|
+
@use './partials/notifications';
|
|
65
|
+
@use './partials/progressbar';
|
|
66
|
+
@use './partials/print';
|