@helsenorge/designsystem-react 2.16.1 → 2.17.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.16.1](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/branchCompare?baseVersion=GTv2.16.0&targetVersion=GTv2.16.1) (2023-02-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * duolist non-formatted linjeskift fiks ([1f3f45f](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/commit/1f3f45f194d18207a3a6f8a8ef73b95c9a7ca1bf)), closes [#296356](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/issues/296356)
7
+
1
8
  ## [2.16.0](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/branchCompare?baseVersion=GTv2.15.0&targetVersion=GTv2.16.0) (2023-02-15)
2
9
 
3
10
 
@@ -341,7 +348,7 @@
341
348
 
342
349
  ## 2.0.0-beta.1 (2022-09-15)
343
350
 
344
- ## 2.0.0-beta.0 (2022-09-15)
351
+ ## 2.0.0-beta.0 (2022-09-12)
345
352
 
346
353
 
347
354
  ### Features
@@ -443,8 +450,8 @@
443
450
 
444
451
  ### Bug Fixes
445
452
 
446
- * panel har avstand fra tittel til badge ([09034c4](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/commit/09034c4844408c7cfe8f65d7a1a0d82a7828c2ef)), closes [#282359](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/issues/282359)
447
453
  * økt kontrast på understreking av lenker ([50b7fa4](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/commit/50b7fa47fb44cb7d75fb877bd53e2309b35e1e21)), closes [#229049](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/issues/229049)
454
+ * panel har avstand fra tittel til badge ([09034c4](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/commit/09034c4844408c7cfe8f65d7a1a0d82a7828c2ef)), closes [#282359](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/issues/282359)
448
455
 
449
456
  ## [1.2.2](https://dev.azure.com/nhnfelles/Helsenorge/_git/HN-Designsystem/branchCompare?baseVersion=GTv1.2.1&targetVersion=GTv1.2.2) (2022-08-31)
450
457
 
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const File: React.FC<SvgPathProps>;
4
+ export default File;
5
+ //# sourceMappingURL=File.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/File.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE/C,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA8BhC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import{getIcon as m}from"./Icon.js";import"classnames";import"../../constants.js";import"../../hooks/useUuid.js";import"../../uuid.js";import"../../utils/environment.js";const c=({size:l,isHovered:a})=>m({size:l,isHovered:a,normal:e.createElement("path",{fillRule:"evenodd",d:"M10.712 40.388h26.576v-19.58a5 5 0 0 0-1.448-3.52l-8.123-8.195a5 5 0 0 0-3.551-1.48H10.712v32.775Zm1.276-1.276h24.024V20.638a2 2 0 0 0-2-2h-7.75l-.01-7.752a2 2 0 0 0-2-1.998H11.988v30.224Zm22.478-21.484h-7.143v-7.225l7.143 7.225Z"}),normalHover:e.createElement("path",{fillRule:"evenodd",d:"M10.712 40.388h26.576V22.31a5 5 0 0 0-1.45-3.522l-9.621-9.697a5 5 0 0 0-3.55-1.479H10.712v32.776Zm1.276-1.276h24.024V22.138a2 2 0 0 0-2-2h-9.25l-.01-9.252a2 2 0 0 0-2-1.998H11.988v30.224Zm22.478-19.984h-8.643v-8.725l8.643 8.725Z"}),xSmall:e.createElement("path",{fillRule:"evenodd",d:"M10.396 40.711h27.208V21.157a3 3 0 0 0-.874-2.117L25.92 8.184a3 3 0 0 0-2.126-.883H10.396v33.41Zm1.592-1.599h24.024V20.96a2 2 0 0 0-2-2h-8.08v-8.071a2 2 0 0 0-2-2H11.989v30.224Zm21.215-21.485h-5.88v-5.961l5.88 5.961Z"}),xSmallHover:e.createElement("path",{fillRule:"evenodd",d:"M10.396 40.711h27.208V23.683a3 3 0 0 0-.875-2.117L23.393 8.183a3 3 0 0 0-2.125-.882H10.396v33.41Zm1.592-1.599h24.024V23.485a2 2 0 0 0-2-2H23.406V10.888a2 2 0 0 0-2-2h-9.418v30.224Zm21.215-18.959h-8.406v-8.488l8.406 8.488Z"})});export{c as default};
2
+ //# sourceMappingURL=File.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"File.js","sources":["../../../src/components/Icons/File.tsx"],"sourcesContent":["import React from 'react';\nimport { getIcon, SvgPathProps } from './Icon';\n\nconst File: React.FC<SvgPathProps> = ({ size, isHovered }: SvgPathProps): JSX.Element => {\n const normal = (\n <path\n fillRule={'evenodd'}\n d=\"M10.712 40.388h26.576v-19.58a5 5 0 0 0-1.448-3.52l-8.123-8.195a5 5 0 0 0-3.551-1.48H10.712v32.775Zm1.276-1.276h24.024V20.638a2 2 0 0 0-2-2h-7.75l-.01-7.752a2 2 0 0 0-2-1.998H11.988v30.224Zm22.478-21.484h-7.143v-7.225l7.143 7.225Z\"\n />\n );\n\n const normalHover = (\n <path\n fillRule={'evenodd'}\n d=\"M10.712 40.388h26.576V22.31a5 5 0 0 0-1.45-3.522l-9.621-9.697a5 5 0 0 0-3.55-1.479H10.712v32.776Zm1.276-1.276h24.024V22.138a2 2 0 0 0-2-2h-9.25l-.01-9.252a2 2 0 0 0-2-1.998H11.988v30.224Zm22.478-19.984h-8.643v-8.725l8.643 8.725Z\"\n />\n );\n\n const xSmall = (\n <path\n fillRule={'evenodd'}\n d=\"M10.396 40.711h27.208V21.157a3 3 0 0 0-.874-2.117L25.92 8.184a3 3 0 0 0-2.126-.883H10.396v33.41Zm1.592-1.599h24.024V20.96a2 2 0 0 0-2-2h-8.08v-8.071a2 2 0 0 0-2-2H11.989v30.224Zm21.215-21.485h-5.88v-5.961l5.88 5.961Z\"\n />\n );\n\n const xSmallHover = (\n <path\n fillRule={'evenodd'}\n d=\"M10.396 40.711h27.208V23.683a3 3 0 0 0-.875-2.117L23.393 8.183a3 3 0 0 0-2.125-.882H10.396v33.41Zm1.592-1.599h24.024V23.485a2 2 0 0 0-2-2H23.406V10.888a2 2 0 0 0-2-2h-9.418v30.224Zm21.215-18.959h-8.406v-8.488l8.406 8.488Z\"\n />\n );\n\n return getIcon({ size, isHovered, normal, normalHover, xSmall, xSmallHover });\n};\n\nexport default File;\n"],"names":["File","size","isHovered","getIcon","React"],"mappings":"+LAGA,MAAMA,EAA+B,CAAC,CAAE,KAAAC,EAAM,UAAAC,KA6BrCC,EAAQ,CAAE,KAAAF,EAAM,UAAAC,EAAW,OA3B/BE,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,uOAAA,CACJ,EAwBwC,YApBvCA,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,sOAAA,CACJ,EAiBqD,OAbpDA,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,0NAAA,CACJ,EAU6D,YAN5DA,EAAA,cAAA,OAAA,CACC,SAAU,UACV,EAAE,+NAAA,CACJ,EAG0E"}
@@ -127,8 +127,10 @@
127
127
 
128
128
  &__btn-container {
129
129
  display: flex;
130
+ flex-direction: column;
130
131
  @media (min-width: map-get($grid-breakpoints, lg)) {
131
132
  align-self: flex-end;
133
+ flex-direction: row;
132
134
  }
133
135
 
134
136
  &--layout3 {
@@ -31,6 +31,7 @@
31
31
  font-size: 0.875rem;
32
32
  line-height: 1.125rem;
33
33
  font-weight: 600;
34
+ border-radius: 100px;
34
35
 
35
36
  @media (min-width: map-get($grid-breakpoints, md)) {
36
37
  font-size: $font-size-xs;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "type": "module",
4
4
  "description": "The official design system for Helsenorge built with React.",
5
5
  "homepage": "https://helsenorge.design",
6
- "version": "2.16.1",
6
+ "version": "2.17.0",
7
7
  "author": "Helsenorge",
8
8
  "license": "MIT",
9
9
  "peerDependencies": {