@sb1/ffe-core 27.1.1 → 27.2.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.
@@ -1,4 +1,5 @@
1
- :root {
1
+ :root,
2
+ :host {
2
3
  --breakpoint-sm: 480px;
3
4
  --breakpoint-md: 768px;
4
5
  --breakpoint-lg: 1024px;
package/css/colors.css CHANGED
@@ -1,4 +1,5 @@
1
- :root {
1
+ :root,
2
+ :host {
2
3
  --ffe-blue-royal: #002776;
3
4
  --ffe-blue-cobalt: #005aa4;
4
5
  --ffe-blue-azure: #0071cd;
@@ -1,4 +1,5 @@
1
- :root {
1
+ :root,
2
+ :host {
2
3
  --app-width: 1280px;
3
4
  --app-width-min: 320px;
4
5
  --app-margin: 20px;
package/css/motion.css CHANGED
@@ -1,4 +1,5 @@
1
- :root {
1
+ :root,
2
+ :host {
2
3
  --ffe-ease-in-out-back: cubic-bezier(0.46, -0.265, 0.48, 1.38);
3
4
  --ffe-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
4
5
  --ffe-transition-duration: 0.2s;
package/css/spacing.css CHANGED
@@ -1,4 +1,5 @@
1
- :root {
1
+ :root,
2
+ :host {
2
3
  --ffe-spacing: 8px;
3
4
  --ffe-spacing-2xs: 4px;
4
5
  --ffe-spacing-xs: 8px;
package/less/theme.less CHANGED
@@ -111,22 +111,19 @@
111
111
  /** Fonts */
112
112
 
113
113
  /* Default font */
114
- --ffe-g-font: 'SpareBank1-regular', 'MuseoSans-500', arial, sans-serif;
114
+ --ffe-g-font: 'SpareBank1-regular', arial, sans-serif;
115
115
 
116
116
  /* h1 - h2 */
117
- --ffe-g-font-heading: 'SpareBank1-title-medium', 'MuseoSansRounded-700',
118
- arial, sans-serif;
117
+ --ffe-g-font-heading: 'SpareBank1-title-medium', arial, sans-serif;
119
118
 
120
119
  /* h3 - h6 */
121
- --ffe-g-font-heading-small: 'SpareBank1-medium', 'MuseoSansRounded-700',
122
- arial, sans-serif;
120
+ --ffe-g-font-heading-small: 'SpareBank1-medium', arial, sans-serif;
123
121
 
124
122
  /* Bold text */
125
- --ffe-g-font-strong: 'SpareBank1-medium', 'MuseoSansRounded-700', arial,
126
- sans-serif;
123
+ --ffe-g-font-strong: 'SpareBank1-medium', arial, sans-serif;
127
124
 
128
125
  /* Emphasized text */
129
- --ffe-g-font-italic: 'SpareBank1-italic', 'MuseoSans-500', arial, sans-serif;
126
+ --ffe-g-font-italic: 'SpareBank1-italic', arial, sans-serif;
130
127
 
131
128
  /** Typography */
132
129
 
@@ -196,6 +196,7 @@
196
196
  font-weight: normal;
197
197
  margin-bottom: @ffe-spacing-xs;
198
198
  margin-top: 0;
199
+ text-wrap: balance;
199
200
 
200
201
  &--error {
201
202
  color: var(--ffe-g-error-color);
@@ -256,6 +257,7 @@
256
257
  margin-top: 0;
257
258
  line-height: 1.5rem;
258
259
  color: var(--ffe-g-text-color);
260
+ text-wrap: balance;
259
261
 
260
262
  &--text-center {
261
263
  text-align: center;
@@ -272,6 +274,7 @@
272
274
  font-variant-numeric: tabular-nums;
273
275
  margin-top: 0;
274
276
  margin-bottom: 1em;
277
+ text-wrap: balance;
275
278
  }
276
279
 
277
280
  .ffe-lead-paragraph {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sb1/ffe-core",
3
- "version": "27.1.1",
3
+ "version": "27.2.0",
4
4
  "description": "Rammeverk for Felles Front End",
5
5
  "license": "MIT",
6
6
  "author": "SpareBank 1",
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "22b8ad48a07c5afca3100dfef456bb667a0dfb0e"
34
+ "gitHead": "ae86a1b0efce7a96908d46b2cc8eb523c660d8bf"
35
35
  }