Compare commits

..
Author SHA1 Message Date
github-actions[bot] d48cd874b2 Lerna versionbump [ci skip]
- @navikt/ds-icons@0.3.1
 - @navikt/ds-react@0.3.5
2021-05-10 12:11:17 +00:00
Ken 522ee6cd61 Oppdatert ikoner (#1090) 2021-05-10 13:58:14 +02:00
Ken c0aca464ea oppdatert storybook (#1088) 2021-05-10 13:19:30 +02:00
github-actions[bot] 746943014d Lerna versionbump [ci skip]
- @navikt/ds-react@0.3.3
 - nav-frontend-ekspanderbartpanel@3.1.3
 - nav-frontend-hjelpetekst@2.1.3
 - nav-frontend-ikonknapper@1.1.3
 - nav-frontend-js-utils@1.0.18
 - nav-frontend-knapper@2.1.3
 - nav-frontend-lesmerpanel@1.1.2
 - nav-frontend-lukknapp@1.2.1
 - nav-frontend-modal@1.2.1
 - nav-frontend-popover@1.1.3
 - nav-frontend-skjema@3.2.3
 - nav-frontend-stegindikator@1.1.2
 - nav-frontend-tabs@1.1.2
 - nav-frontend-tekstomrade@2.1.2
 - nav-frontend-toggle@1.1.3
 - nav-frontend-veileder@2.1.3
 - nav-frontend-veilederpanel@1.1.3
2021-05-10 08:32:44 +00:00
Terje KarlsenandKen 9fc9ca6666 Legger til typeguard for children i Tekstomrade-komponenten (#1089)
* legger til typeguard dersom children er falsy

* Tsconfig strict + fixes (#1087)

* fikset ts errors i nav-frontend

* oppdatert versjoner for modal og lukknapp

* sjekket endringer i storybook

Co-authored-by: Ken <26967723+KenAJoh@users.noreply.github.com>
2021-05-10 10:18:54 +02:00
github-actions[bot] f9766fd7ca Lerna versionbump [ci skip]
- @navikt/ds-css@0.3.2
2021-05-04 07:32:04 +00:00
Ken 15bb29a346 fikset sticky scroll (#1084) 2021-05-04 09:18:06 +02:00
github-actions[bot] 3d80ac7c11 Lerna versionbump [ci skip]
- @navikt/ds-react@0.3.2
2021-04-30 07:59:47 +00:00
Anders Bråthen Nomerstad aba747c7de Beholder state-objektet ved scrolling med anchor-menu. Bruker replaceState for å gi en mer forventet back funksjonalitet. (#1085) 2021-04-30 09:46:21 +02:00
67 changed files with 1291 additions and 1102 deletions

No files matched your search

+32 -35
View File
@@ -27,27 +27,6 @@
padding: var(--navds-layout-padding-small);
}
/* prettier-ignore */
.navds-layout__section--sticky {
/* TEMP Solution until dekratøren has updated */
--navds-sidebar-sticky-offset: var(--decorator-sticky-offset);
top: calc(var(--navds-grid-gutter-small) + var(--navds-sidebar-sticky-offset));
position: sticky;
max-height: calc(100vh - var(--navds-grid-gutter-small) * 2 - var(--navds-sidebar-sticky-offset));
overflow-y: auto;
}
.navds-layout__container--3-columns
> .navds-layout__section--left.navds-layout__section--sticky {
position: sticky;
}
.navds-layout__container--2-columns
> .navds-layout__section--left.navds-layout__section--sticky {
position: sticky;
}
.navds-layout__section > *:not(:last-child) {
margin-bottom: var(--navds-layout-padding-small);
}
@@ -74,21 +53,23 @@
}
}
@media (max-width: 959px) {
.navds-layout__container--3-columns
> .navds-layout__section--left.navds-layout__section--sticky {
position: inherit;
}
}
@media (max-width: 647px) {
.navds-layout__container--2-columns
> .navds-layout__section--left.navds-layout__section--sticky {
position: inherit;
}
}
@media (min-width: 648px) {
/* prettier-ignore */
.navds-layout__container--2-columns > .navds-layout__section--left.navds-layout__section--sticky {
/* TEMP Solution until dekratøren has updated */
--navds-sidebar-sticky-offset: var(--decorator-sticky-offset);
top: calc(
var(--navds-grid-gutter-small) + var(--navds-sidebar-sticky-offset)
);
position: sticky;
max-height: calc(
100vh - var(--navds-grid-gutter-small) * 2 -
var(--navds-sidebar-sticky-offset)
);
overflow-y: auto;
}
.navds-layout__container {
grid-gap: var(--navds-grid-gutter-medium-and-larger);
}
@@ -134,6 +115,22 @@
}
@media (min-width: 960px) {
/* prettier-ignore */
.navds-layout__container--3-columns > .navds-layout__section--left.navds-layout__section--sticky {
/* TEMP Solution until dekratøren has updated */
--navds-sidebar-sticky-offset: var(--decorator-sticky-offset);
top: calc(
var(--navds-grid-gutter-small) + var(--navds-sidebar-sticky-offset)
);
position: sticky;
max-height: calc(
100vh - var(--navds-grid-gutter-small) * 2 -
var(--navds-sidebar-sticky-offset)
);
overflow-y: auto;
}
.navds-layout__section--padding.navds-layout__section--left > * {
padding: var(--navds-layout-padding-small);
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css",
"version": "0.3.1",
"version": "0.3.2",
"private": false,
"description": "Css for NAV Designsystem components",
"author": "NAV Designsystem team",
+155 -43
View File
@@ -34,16 +34,8 @@
{
"name": "Applicant",
"description": "",
"created_at": "2021-04-26T09:24:38.029Z",
"updated_at": "2021-04-26T09:24:38.029Z",
"pageName": "People",
"visible": true
},
{
"name": "ApplicantFilled",
"description": "",
"created_at": "2021-04-26T09:24:37.963Z",
"updated_at": "2021-04-26T09:24:37.963Z",
"created_at": "2021-04-30T08:02:00.034Z",
"updated_at": "2021-04-30T08:02:00.034Z",
"pageName": "People",
"visible": true
},
@@ -67,16 +59,16 @@
"name": "AutomaticSystem",
"description": "",
"created_at": "2021-04-26T09:24:37.967Z",
"updated_at": "2021-04-26T09:24:37.967Z",
"pageName": "People",
"updated_at": "2021-04-30T10:55:32.848Z",
"pageName": "Settings",
"visible": true
},
{
"name": "AutomaticSystemFilled",
"description": "",
"created_at": "2021-04-26T09:24:38.021Z",
"updated_at": "2021-04-26T09:24:38.021Z",
"pageName": "People",
"updated_at": "2021-04-30T10:55:32.843Z",
"pageName": "Settings",
"visible": true
},
{
@@ -219,7 +211,7 @@
"name": "BowlFilled",
"description": "",
"created_at": "2021-01-28T14:00:38.658Z",
"updated_at": "2021-04-27T15:19:17.267Z",
"updated_at": "2021-04-28T06:44:52.410Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
@@ -352,18 +344,18 @@
"visible": true
},
{
"name": "CaseWorker",
"name": "Caseworker",
"description": "",
"created_at": "2021-04-26T09:24:37.955Z",
"updated_at": "2021-04-26T09:24:37.955Z",
"created_at": "2021-04-28T14:10:50.983Z",
"updated_at": "2021-04-30T07:23:11.918Z",
"pageName": "People",
"visible": true
},
{
"name": "CaseWorkerFilled",
"name": "CaseworkerFilled",
"description": "",
"created_at": "2021-04-26T09:24:37.951Z",
"updated_at": "2021-04-26T09:24:37.951Z",
"created_at": "2021-04-28T14:11:08.212Z",
"updated_at": "2021-04-29T18:47:14.999Z",
"pageName": "People",
"visible": true
},
@@ -415,6 +407,22 @@
"pageName": "Interface",
"visible": true
},
{
"name": "CoApplicant",
"description": "",
"created_at": "2021-04-30T10:55:32.823Z",
"updated_at": "2021-04-30T10:55:32.823Z",
"pageName": "People",
"visible": true
},
{
"name": "CoApplicantFilled",
"description": "",
"created_at": "2021-04-30T10:55:32.819Z",
"updated_at": "2021-04-30T10:55:32.819Z",
"pageName": "People",
"visible": true
},
{
"name": "Cognition",
"description": "",
@@ -479,6 +487,22 @@
"pageName": "Fyrstikkalleen",
"visible": true
},
{
"name": "Copy",
"description": "",
"created_at": "2020-07-01T10:37:42.619Z",
"updated_at": "2021-05-05T12:44:31.388Z",
"pageName": "File",
"visible": true
},
{
"name": "CopyFilled",
"description": "",
"created_at": "2021-01-11T13:37:55.595Z",
"updated_at": "2021-05-05T12:44:31.392Z",
"pageName": "File",
"visible": true
},
{
"name": "Coronavirus",
"description": "",
@@ -528,18 +552,26 @@
"visible": true
},
{
"name": "DecitionPeople",
"name": "DecisionCheck",
"description": "",
"created_at": "2021-04-26T09:24:38.003Z",
"updated_at": "2021-04-26T11:35:36.406Z",
"created_at": "2021-04-28T14:44:00.530Z",
"updated_at": "2021-04-30T09:54:17.432Z",
"pageName": "People",
"visible": true
},
{
"name": "DecitionPeopleFilled",
"name": "DecisionCheckFilled",
"description": "",
"created_at": "2021-04-26T09:24:37.959Z",
"updated_at": "2021-04-26T11:35:36.411Z",
"created_at": "2021-04-28T14:44:00.534Z",
"updated_at": "2021-04-30T09:54:17.436Z",
"pageName": "People",
"visible": true
},
{
"name": "DecisionCross",
"description": "",
"created_at": "2021-04-30T09:54:17.420Z",
"updated_at": "2021-04-30T09:54:17.420Z",
"pageName": "People",
"visible": true
},
@@ -895,6 +927,22 @@
"pageName": "Privacy",
"visible": true
},
{
"name": "Facilitet",
"description": "",
"created_at": "2021-04-28T08:56:11.930Z",
"updated_at": "2021-04-28T08:56:11.930Z",
"pageName": "Jobs",
"visible": true
},
{
"name": "FacilitetFilled",
"description": "",
"created_at": "2021-04-28T08:56:11.927Z",
"updated_at": "2021-04-28T08:56:11.927Z",
"pageName": "Jobs",
"visible": true
},
{
"name": "Family",
"description": "",
@@ -976,18 +1024,18 @@
"visible": true
},
{
"name": "Files",
"name": "FileFolder",
"description": "",
"created_at": "2020-07-01T10:37:42.619Z",
"updated_at": "2021-04-09T13:32:23.449Z",
"created_at": "2021-04-26T09:24:37.955Z",
"updated_at": "2021-04-30T10:55:32.840Z",
"pageName": "File",
"visible": true
},
{
"name": "FilesFilled",
"name": "FileFolderFilled",
"description": "",
"created_at": "2021-01-11T13:37:55.595Z",
"updated_at": "2021-04-09T13:32:23.586Z",
"created_at": "2021-04-26T09:24:37.951Z",
"updated_at": "2021-04-30T10:55:32.854Z",
"pageName": "File",
"visible": true
},
@@ -1023,6 +1071,22 @@
"pageName": "Interface",
"visible": true
},
{
"name": "Findout",
"description": "",
"created_at": "2021-05-05T13:04:25.502Z",
"updated_at": "2021-05-05T13:04:25.502Z",
"pageName": "File",
"visible": true
},
{
"name": "FindoutFilled",
"description": "",
"created_at": "2021-05-05T13:04:25.498Z",
"updated_at": "2021-05-05T13:04:25.498Z",
"pageName": "File",
"visible": true
},
{
"name": "FlowerBladeFall",
"description": "",
@@ -1131,7 +1195,7 @@
"name": "GlobeFilled",
"description": "",
"created_at": "2021-01-11T13:37:55.388Z",
"updated_at": "2021-04-27T15:19:17.262Z",
"updated_at": "2021-04-28T06:44:52.407Z",
"pageName": "International",
"visible": true
},
@@ -1183,11 +1247,27 @@
"pageName": "Health",
"visible": true
},
{
"name": "HandsHeart",
"description": "",
"created_at": "2021-04-28T08:56:11.933Z",
"updated_at": "2021-04-28T10:18:45.912Z",
"pageName": "Jobs",
"visible": true
},
{
"name": "HandsHeartFilled",
"description": "",
"created_at": "2021-04-28T08:56:11.937Z",
"updated_at": "2021-04-28T10:18:45.907Z",
"pageName": "Jobs",
"visible": true
},
{
"name": "Hanger",
"description": "",
"created_at": "2020-07-01T10:37:43.096Z",
"updated_at": "2021-04-27T15:19:17.276Z",
"updated_at": "2021-04-28T06:44:52.416Z",
"pageName": "Family",
"visible": true
},
@@ -1195,7 +1275,7 @@
"name": "HangerFilled",
"description": "",
"created_at": "2021-01-11T13:37:55.218Z",
"updated_at": "2021-04-27T15:19:17.280Z",
"updated_at": "2021-04-28T06:44:52.419Z",
"pageName": "Family",
"visible": true
},
@@ -1443,7 +1523,7 @@
"name": "LightBulb",
"description": "",
"created_at": "2020-07-01T10:37:43.067Z",
"updated_at": "2021-04-27T15:19:17.285Z",
"updated_at": "2021-04-28T06:44:52.422Z",
"pageName": "Reminder",
"visible": true
},
@@ -1683,7 +1763,7 @@
"name": "Mute",
"description": "",
"created_at": "2020-11-23T16:49:12.549Z",
"updated_at": "2021-04-27T15:19:17.252Z",
"updated_at": "2021-04-28T06:44:52.400Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
@@ -1691,7 +1771,7 @@
"name": "MuteFilled",
"description": "",
"created_at": "2021-01-28T14:00:38.578Z",
"updated_at": "2021-04-27T15:19:17.271Z",
"updated_at": "2021-04-28T06:44:52.413Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
@@ -1999,6 +2079,22 @@
"pageName": "Attachment",
"visible": true
},
{
"name": "Profile",
"description": "",
"created_at": "2021-04-26T09:24:38.029Z",
"updated_at": "2021-04-30T10:55:32.846Z",
"pageName": "File",
"visible": true
},
{
"name": "ProfileFilled",
"description": "",
"created_at": "2021-04-26T09:24:37.963Z",
"updated_at": "2021-04-30T10:55:32.851Z",
"pageName": "File",
"visible": true
},
{
"name": "Quiet",
"description": "",
@@ -2479,6 +2575,22 @@
"pageName": "Social media",
"visible": true
},
{
"name": "StopWatch",
"description": "",
"created_at": "2021-04-28T10:15:22.558Z",
"updated_at": "2021-04-28T10:15:22.558Z",
"pageName": "Jobs",
"visible": true
},
{
"name": "StopWatchFilled",
"description": "",
"created_at": "2021-04-28T10:15:22.563Z",
"updated_at": "2021-04-28T10:15:22.563Z",
"pageName": "Jobs",
"visible": true
},
{
"name": "Stroller",
"description": "",
@@ -2731,7 +2843,7 @@
"name": "VolumeDown",
"description": "",
"created_at": "2020-11-23T16:49:12.544Z",
"updated_at": "2021-04-27T15:19:17.237Z",
"updated_at": "2021-04-28T06:44:52.390Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
@@ -2739,7 +2851,7 @@
"name": "VolumeDownFilled",
"description": "",
"created_at": "2021-01-28T14:00:38.534Z",
"updated_at": "2021-04-27T15:19:17.242Z",
"updated_at": "2021-04-28T06:44:52.394Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
@@ -2747,7 +2859,7 @@
"name": "VolumeUp",
"description": "",
"created_at": "2020-11-23T16:49:12.553Z",
"updated_at": "2021-04-27T15:19:17.257Z",
"updated_at": "2021-04-28T06:44:52.404Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
@@ -2755,7 +2867,7 @@
"name": "VolumeUpFilled",
"description": "",
"created_at": "2021-01-28T14:00:38.541Z",
"updated_at": "2021-04-27T15:19:17.247Z",
"updated_at": "2021-04-28T06:44:52.397Z",
"pageName": "Fyrstikkalleen",
"visible": true
},
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-icons",
"version": "0.2.2",
"version": "0.3.1",
"private": false,
"description": "NAVs egne ikoner i SVG og React format",
"repository": {
+1 -1
View File
@@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 2H19V22H5V2ZM3 24V0H21V24H3ZM12 7C12.5523 7 13 6.55228 13 6C13 5.44772 12.5523 5 12 5C11.4477 5 11 5.44772 11 6C11 6.55228 11.4477 7 12 7ZM15 6C15 6.98512 14.5252 7.85933 13.7919 8.40627C14.1761 8.59438 14.5286 8.84629 14.8352 9.15885C15.5388 9.87616 15.9518 10.8623 15.996 12H16V12.2051H14C14 11.4468 13.7476 10.9062 13.4074 10.5594C13.0647 10.21 12.5777 10 12 10C11.4223 10 10.9353 10.21 10.5926 10.5594C10.2524 10.9062 10 11.4468 10 12.2051H8V12H8.00397C8.04822 10.8623 8.46117 9.87616 9.16479 9.15885C9.47138 8.84629 9.82392 8.59438 10.2081 8.40627C9.47482 7.85933 9 6.98512 9 6C9 4.34315 10.3431 3 12 3C13.6569 3 15 4.34315 15 6ZM14 16H7V14H14V16ZM7 18V20H17V18H7Z" fill="#262626"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 5C15 6.65685 13.6569 8 12 8C10.3431 8 9 6.65685 9 5C9 3.34315 10.3431 2 12 2C13.6569 2 15 3.34315 15 5ZM17 5C17 7.76142 14.7614 10 12 10C9.23858 10 7 7.76142 7 5C7 2.23858 9.23858 0 12 0C14.7614 0 17 2.23858 17 5ZM18 15.6034L20.517 17.7009L18 18.456L15.483 17.7009L18 15.6034ZM18 20.544L22 19.344V22H14V19.344L18 20.544ZM12 18.4684C12 18.1716 12.1318 17.8901 12.3598 17.7002L17.3598 13.5335C17.7307 13.2244 18.2693 13.2244 18.6402 13.5335L23.6402 17.7002C23.8682 17.8901 24 18.1716 24 18.4684V23C24 23.5523 23.5523 24 23 24H13C12.4477 24 12 23.5523 12 23V18.4684ZM12 13C9.23858 13 7 15.2386 7 18H5C5 14.134 8.13401 11 12 11C13.4274 11 14.7549 11.4272 15.8619 12.1608L14.2297 13.5235C13.5584 13.1885 12.8012 13 12 13Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 891 B

-3
View File
@@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 0V24H21V0H3ZM13.7919 8.40627C14.5252 7.85933 15 6.98512 15 6C15 4.34315 13.6569 3 12 3C10.3431 3 9 4.34315 9 6C9 6.98512 9.47482 7.85933 10.2081 8.40627C9.82391 8.59437 9.47138 8.84629 9.16479 9.15885C8.46117 9.87616 8.04822 10.8623 8.00397 12H15.996C15.9518 10.8623 15.5388 9.87616 14.8352 9.15885C14.5286 8.84629 14.1761 8.59437 13.7919 8.40627ZM14 16H7V14H14V16ZM7 18V20H17V18H7Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 556 B

-3
View File
@@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 6C7 7.10457 6.10457 8 5 8C3.89543 8 3 7.10457 3 6C3 4.89543 3.89543 4 5 4C6.10457 4 7 4.89543 7 6ZM9 6C9 8.20914 7.20914 10 5 10C2.79086 10 1 8.20914 1 6C1 3.79086 2.79086 2 5 2C7.20914 2 9 3.79086 9 6ZM2 16.3651C2 15.2417 2.36855 14.4086 2.89284 13.8627C3.4182 13.3156 4.15299 13 5 13C5.84701 13 6.5818 13.3156 7.10716 13.8627C7.63145 14.4086 8 15.2417 8 16.3651V23H10V16.3651C10 14.7884 9.47312 13.4389 8.5497 12.4774C7.62734 11.5169 6.36213 11 5 11C3.63787 11 2.37266 11.5169 1.4503 12.4774C0.526881 13.4389 0 14.7884 0 16.3651V23H2V16.3651ZM17 16V14H14V20H22V16H17ZM12 13V21C12 21.5523 12.4477 22 13 22H23C23.5523 22 24 21.5523 24 21V15C24 14.4477 23.5523 14 23 14H19V13C19 12.4477 18.5523 12 18 12H13C12.4477 12 12 12.4477 12 13ZM23 3H13V10H15V5H21V12H23V3Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 936 B

@@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 6C9 8.20914 7.20914 10 5 10C2.79086 10 1 8.20914 1 6C1 3.79086 2.79086 2 5 2C7.20914 2 9 3.79086 9 6ZM0 16.3651V23H10V16.3651C10 14.7884 9.47312 13.4389 8.5497 12.4774C7.62734 11.5169 6.36213 11 5 11C3.63787 11 2.37266 11.5169 1.4503 12.4774C0.526881 13.4389 0 14.7884 0 16.3651ZM12 13V21C12 21.5523 12.4477 22 13 22H23C23.5523 22 24 21.5523 24 21V15C24 14.4477 23.5523 14 23 14H19V13C19 12.4477 18.5523 12 18 12H13C12.4477 12 12 12.4477 12 13ZM23 3H13V10H15H18H19C20.1046 10 21 10.8954 21 12H23V3Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 672 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 8C13.6569 8 15 6.65685 15 5C15 3.34315 13.6569 2 12 2C10.3431 2 9 3.34315 9 5C9 6.65685 10.3431 8 12 8ZM12 10C14.7614 10 17 7.76142 17 5C17 2.23858 14.7614 0 12 0C9.23858 0 7 2.23858 7 5C7 7.76142 9.23858 10 12 10ZM17.0997 13.2048C15.823 11.8476 14.0105 11 12 11C8.13401 11 5 14.134 5 18H7C7 15.2386 9.23858 13 12 13C13.4582 13 14.7706 13.6242 15.6845 14.62L17.0997 13.2048ZM21.689 16.8125L17.2773 21.2243L15.4587 21.5413L15.7757 19.7227L20.1875 15.311C20.6021 14.8963 21.2744 14.8963 21.689 15.311C22.1037 15.7256 22.1037 16.3979 21.689 16.8125ZM23.1032 18.2267L18.2441 23.0859L13 24L13.9141 18.7559L18.7733 13.8968C19.969 12.7011 21.9076 12.7011 23.1032 13.8968C24.2989 15.0924 24.2989 17.031 23.1032 18.2267Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 886 B

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M17 4.99999C17 7.7614 14.7614 9.99998 12 9.99998C9.23855 9.99998 6.99998 7.7614 6.99998 4.99999C6.99998 2.23857 9.23855 0 12 0C14.7614 0 17 2.23857 17 4.99999ZM12 11C8.13399 11 4.99999 14.134 4.99999 18H14.6289L18.0873 14.5415C16.883 12.4263 14.6081 11 12 11ZM23.2663 15.7337C22.288 14.7554 20.7019 14.7554 19.7236 15.7337L15.4573 20L15 23.9999L19 23.5426L23.2663 19.2764C24.2446 18.2981 24.2446 16.712 23.2663 15.7337Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 590 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13 6C13 8.20914 11.2091 10 9 10C6.79086 10 5 8.20914 5 6C5 3.79086 6.79086 2 9 2C11.2091 2 13 3.79086 13 6ZM15 6C15 9.31371 12.3137 12 9 12C5.68629 12 3 9.31371 3 6C3 2.68629 5.68629 0 9 0C12.3137 0 15 2.68629 15 6ZM2 22C2 18.134 5.13401 15 9 15C12.866 15 16 18.134 16 22V24H18V22C18 17.0294 13.9706 13 9 13C4.02944 13 0 17.0294 0 22V24H2V22ZM19 7C19 5.34315 17.6569 4 16 4V2C18.7614 2 21 4.23858 21 7C21 8.90071 19.9394 10.5537 18.3778 11.3995C21.6942 12.5511 24 16.0483 24 20H22C22 16.0044 19.1925 13 16 13V12V11V10C17.6569 10 19 8.65685 19 7Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 717 B

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 6C15 9.31371 12.3137 12 9 12C5.68629 12 3 9.31371 3 6C3 2.68629 5.68629 0 9 0C12.3137 0 15 2.68629 15 6ZM0 22V24H18V22C18 17.0294 13.9706 13 9 13C4.02944 13 0 17.0294 0 22ZM19 7C19 5.34315 17.6569 4 16 4V2C18.7614 2 21 4.23858 21 7C21 8.90071 19.9394 10.5537 18.3778 11.3995C21.6942 12.5511 24 16.0483 24 20H22C22 16.0044 19.1925 13 16 13V12V11V10C17.6569 10 19 8.65685 19 7Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 550 B

File renamed without changes.
File renamed without changes.
+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 8C13.6569 8 15 6.65685 15 5C15 3.34315 13.6569 2 12 2C10.3431 2 9 3.34315 9 5C9 6.65685 10.3431 8 12 8ZM12 10C14.7614 10 17 7.76142 17 5C17 2.23858 14.7614 0 12 0C9.23858 0 7 2.23858 7 5C7 7.76142 9.23858 10 12 10ZM14.0829 21.0029L21.2929 13.7929L22.7071 15.2071L13.9171 23.9971L11.2191 20.6247L12.7809 19.3753L14.0829 21.0029ZM12 13C9.23858 13 7 15.2386 7 18H5C5 14.134 8.13401 11 12 11C14.5234 11 16.735 12.3353 17.9667 14.3378L16.4956 15.8089C15.6835 14.1457 13.9755 13 12 13Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 654 B

@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M17 5C17 7.76142 14.7614 10 12 10C9.23858 10 7 7.76142 7 5C7 2.23858 9.23858 0 12 0C14.7614 0 17 2.23858 17 5ZM12 11C8.13401 11 5 14.134 5 18H14.3045L17.9667 14.3378C16.735 12.3353 14.5234 11 12 11ZM21.2929 13.7929L14.0829 21.0029L12.7809 19.3753L11.2191 20.6247L13.9171 23.9971L22.7071 15.2071L21.2929 13.7929Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 482 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.9997 7.99978C13.6565 7.99978 14.9996 6.65667 14.9996 4.99986C14.9996 3.34305 13.6565 1.99995 11.9997 1.99995C10.3429 1.99995 8.99975 3.34305 8.99975 4.99986C8.99975 6.65667 10.3429 7.99978 11.9997 7.99978ZM11.9997 9.99973C14.761 9.99973 16.9995 7.76121 16.9995 4.99986C16.9995 2.23851 14.761 0 11.9997 0C9.23832 0 6.99981 2.23851 6.99981 4.99986C6.99981 7.76121 9.23832 9.99973 11.9997 9.99973ZM18.4436 18.8862L15.4212 15.0002L16.9998 13.7724L19.7104 17.2574L22.421 13.7724L23.9996 15.0002L20.9772 18.8862L23.9996 22.7721L22.421 24L19.7104 20.515L16.9998 24L15.4211 22.7722L18.4436 18.8862ZM14.1342 13.4769L15.8355 12.1433C14.7339 11.4203 13.4159 10.9997 11.9997 10.9997C8.13378 10.9997 4.99986 14.1336 4.99986 17.9995H6.99981C6.99981 15.2382 9.23832 12.9996 11.9997 12.9996C12.7632 12.9996 13.4868 13.1708 14.1342 13.4769Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 998 B

-3
View File
@@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.35447 4.79411L7.95487 0L9.39794 1.38476L3.44279 7.59065L0 4.42891L1.35281 2.95585L3.35447 4.79411ZM14 10C14 11.1046 13.1046 12 12 12C10.8954 12 10 11.1046 10 10C10 8.89543 10.8954 8 12 8C13.1046 8 14 8.89543 14 10ZM16 10C16 12.2091 14.2091 14 12 14C9.79086 14 8 12.2091 8 10C8 7.79086 9.79086 6 12 6C14.2091 6 16 7.79086 16 10ZM9 20.4444C9 19.2913 9.37201 18.4362 9.89905 17.8774C10.426 17.3188 11.1589 17 12 17C12.8411 17 13.574 17.3188 14.101 17.8774C14.628 18.4362 15 19.2913 15 20.4444V24H17V20.4444C17 18.8484 16.4766 17.4813 15.5559 16.5052C14.6351 15.5289 13.3681 15 12 15C10.6319 15 9.36488 15.5289 8.4441 16.5052C7.52342 17.4813 7 18.8484 7 20.4444V24H9V20.4444ZM18.0446 7.64282L20.2852 5.29046L22.5258 7.64282L24 6.25L21.6826 3.82336L23.9922 1.39844L22.5391 0L20.2852 2.36014L18.0312 0L16.5781 1.39844L18.8878 3.82336L16.5704 6.25L18.0446 7.64282Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.0 KiB

@@ -1,3 +0,0 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.35447 4.79411L7.95487 0L9.39794 1.38476L3.44279 7.59065L0 4.42891L1.35281 2.95585L3.35447 4.79411ZM15.9844 10C15.9844 12.2091 14.1935 14 11.9844 14C9.77524 14 7.98438 12.2091 7.98438 10C7.98438 7.79086 9.77524 6 11.9844 6C14.1935 6 15.9844 7.79086 15.9844 10ZM6.98438 20.4444V24H16.9844V20.4444C16.9844 18.8484 16.461 17.4813 15.5403 16.5052C14.6195 15.5289 13.3524 15 11.9844 15C10.6163 15 9.34926 15.5289 8.42847 16.5052C7.50779 17.4813 6.98438 18.8484 6.98438 20.4444ZM18.0446 7.64282L20.2852 5.29046L22.5258 7.64282L24 6.25L21.6826 3.82336L23.9922 1.39844L22.5391 0L20.2852 2.36014L18.0312 0L16.5781 1.39844L18.8878 3.82336L16.5704 6.25L18.0446 7.64282Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 831 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0007 7.2676C16.3815 6.91044 16 6.24996 16 5.53513V2H13.6291C13.4207 4.37363 11.4277 6.23529 9 6.23529C6.57226 6.23529 4.57934 4.37363 4.37093 2H2V16H5.53513C6.24996 16 6.91044 16.3815 7.2676 17.0007C7.62475 17.6199 7.62428 18.3827 7.26634 19.0015C7.09735 19.2936 7 19.6324 7 20C7 21.1046 7.89543 22 9 22C10.1046 22 11 21.1046 11 20C11 19.6324 10.9027 19.2936 10.7337 19.0015C10.3757 18.3827 10.3752 17.6199 10.7324 17.0007C11.0896 16.3815 11.75 16 12.4649 16H16V12.4649C16 11.75 16.3815 11.0896 17.0007 10.7324C17.6199 10.3752 18.3827 10.3757 19.0015 10.7337C19.2936 10.9027 19.6324 11 20 11C21.1046 11 22 10.1046 22 9C22 7.89543 21.1046 7 20 7C19.6324 7 19.2936 7.09735 19.0015 7.26634C18.3827 7.62428 17.6199 7.62475 17.0007 7.2676ZM13.6479 1.619C13.6479 1.61901 13.6478 1.61946 13.6473 1.62036L13.6479 1.619ZM18 1.05882C18 0.474051 17.5259 0 16.9412 0H12.8214C12.1198 0 11.6471 0.886695 11.6471 1.58824C11.6471 3.05017 10.4619 4.23529 9 4.23529C7.53807 4.23529 6.35294 3.05017 6.35294 1.58824C6.35294 0.886695 5.88017 0 5.17863 0H1.05882C0.474051 0 0 0.474051 0 1.05882V16.9412C0 17.5259 0.474051 18 1.05882 18H5.53513C5.19479 18.5883 5 19.2714 5 20C5 22.2091 6.79086 24 9 24C11.2091 24 13 22.2091 13 20C13 19.2714 12.8052 18.5883 12.4649 18H16.9412C17.5259 18 18 17.5259 18 16.9412V12.4649C18.5883 12.8052 19.2714 13 20 13C22.2091 13 24 11.2091 24 9C24 6.79086 22.2091 5 20 5C19.2714 5 18.5883 5.19479 18 5.53513V1.05882Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M9 4.23529C10.4619 4.23529 11.6471 3.05017 11.6471 1.58824C11.6471 0.886695 12.1198 0 12.8214 0H16.9412C17.5259 0 18 0.474052 18 1.05882V5.53513C18.5883 5.19479 19.2714 5 20 5C22.2091 5 24 6.79086 24 9C24 11.2091 22.2091 13 20 13C19.2714 13 18.5883 12.8052 18 12.4649V16.9412C18 17.5259 17.5259 18 16.9412 18H12.4649C12.8052 18.5883 13 19.2714 13 20C13 22.2091 11.2091 24 9 24C6.79086 24 5 22.2091 5 20C5 19.2714 5.19479 18.5883 5.53513 18H1.05882C0.474051 18 0 17.5259 0 16.9412V1.05882C0 0.474051 0.474052 0 1.05882 0H5.17863C5.88017 0 6.35294 0.886695 6.35294 1.58824C6.35294 3.05017 7.53807 4.23529 9 4.23529Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 784 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0H20V10H18V2H6V7H4V0ZM10.5556 14V11H4V22H20V14H10.5556ZM2 10V23C2 23.5523 2.44772 24 3 24H21C21.5523 24 22 23.5523 22 23V13C22 12.4477 21.5523 12 21 12H12.5556V10C12.5556 9.44772 12.1078 9 11.5556 9H3C2.44772 9 2 9.44772 2 10ZM8 6H16V4H8V6Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 414 B

@@ -0,0 +1,4 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2 23V10C2 9.44772 2.44772 9 3 9H11.5556C12.1078 9 12.5556 9.44772 12.5556 10V12H21C21.5523 12 22 12.4477 22 13V23C22 23.5523 21.5523 24 21 24H3C2.44772 24 2 23.5523 2 23Z" fill="#262626"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M4 0H20V10H14V9C14 7.89543 13.1046 7 12 7H4V0ZM8 5H16V3H8V5Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 430 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.13102 0H14.8325L21.6878 5.71281V16.0077C21.6878 17.2031 21.3186 18.3123 20.6879 19.2273L25 23.5395L23.5395 25L19.2273 20.6879C18.3123 21.3186 17.2031 21.6878 16.0077 21.6878H4.13102V0ZM19.6223 8.26204V11.6259C18.6402 10.8148 17.3809 10.3275 16.0077 10.3275C12.8706 10.3275 10.3275 12.8706 10.3275 16.0077C10.3275 17.3809 10.8148 18.6402 11.6259 19.6223H6.19653V2.06551H12.3931V8.26204H19.6223ZM19.6223 16.0077C19.6223 18.004 18.004 19.6223 16.0077 19.6223C14.0114 19.6223 12.3931 18.004 12.3931 16.0077C12.3931 14.0114 14.0114 12.3931 16.0077 12.3931C18.004 12.3931 19.6223 14.0114 19.6223 16.0077ZM14.4586 2.3771V6.19653H19.0419L14.4586 2.3771Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 819 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.13102 0H14.8325L21.6878 5.71281V16.0077C21.6878 17.2031 21.3186 18.3123 20.6879 19.2273L25 23.5395L23.5395 25L19.2273 20.6879C18.3123 21.3186 17.2031 21.6878 16.0077 21.6878H4.13102V0ZM19.6223 16.0077C19.6223 14.0114 18.004 12.3931 16.0077 12.3931C14.0114 12.3931 12.3931 14.0114 12.3931 16.0077C12.3931 18.004 14.0114 19.6223 16.0077 19.6223C18.004 19.6223 19.6223 18.004 19.6223 16.0077ZM14.4586 2.3771V6.19653H19.0419L14.4586 2.3771Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 610 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.8782 2.55164C14.5221 0.525043 18.2832 0.44271 21.04 2.54645C24.7767 5.39801 25.0135 10.9328 21.5339 14.092L21.4473 14.1707C21.3995 14.7825 21.138 15.3811 20.6615 15.8449C20.2053 16.289 19.6274 16.5344 19.0367 16.5805C18.9509 17.0274 18.7398 17.4559 18.401 17.8101L18.3569 17.8562C17.9703 18.2603 17.4774 18.502 16.9637 18.5789C16.8949 19.0522 16.6898 19.5108 16.3457 19.892C15.9127 20.3716 15.3375 20.6435 14.7435 20.7036C14.663 21.2227 14.431 21.7241 14.0421 22.1374C13.0077 23.2366 11.2735 23.286 10.178 22.2474L2.63895 15.1011C-0.334695 12.2823 -0.84583 7.72291 1.36331 4.29332C3.68982 0.681511 8.63769 -0.0622641 11.8782 2.55164ZM20.6808 12.1031C22.7043 9.73581 22.376 6.08317 19.8237 4.13548C17.4612 2.33267 14.0942 2.71641 12.1994 5.00442L8.82301 9.0816L9.98237 10.1215C10.3854 10.483 11.0033 10.4589 11.3769 10.0672L14.7099 6.57259L15.4284 7.25576L15.4465 7.23622L20.6177 12.0425C20.6392 12.0625 20.6602 12.0827 20.6808 12.1031ZM14.8063 9.37162L19.2561 13.5075C19.5176 13.7505 19.5223 14.1628 19.2666 14.4117C19.0262 14.6456 18.644 14.6478 18.4011 14.4165L16.2833 12.4006L14.9044 13.8492L16.9302 15.7776L16.9294 15.7786C17.1204 15.9484 17.1324 16.2429 16.9557 16.4277L16.9116 16.4737C16.7494 16.6433 16.4808 16.6505 16.3098 16.4898L16.3031 16.497C16.2672 16.4592 16.2299 16.4224 16.1912 16.3864L14.2118 14.5484L12.8509 16.014L14.8303 17.852C15.0302 18.0376 15.0439 18.3494 14.8611 18.5518C14.696 18.7347 14.4274 18.7663 14.2268 18.641C14.13 18.5125 14.0205 18.391 13.8985 18.2782L13.8693 18.3097L12.165 16.657L10.7727 18.0928L12.705 19.9666C12.8302 20.2315 12.7885 20.5551 12.5835 20.7729C12.3085 21.0652 11.8473 21.0784 11.556 20.8022L4.01698 13.6558C1.74961 11.5065 1.34735 8.00822 3.04612 5.37095C4.6914 2.81673 8.13134 2.26339 10.4532 3.97454L7.2793 7.80714C6.5947 8.63383 6.68519 9.85258 7.48442 10.5694L8.64378 11.6093C9.85292 12.6938 11.7066 12.6216 12.8275 11.4464L14.8063 9.37162Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@@ -0,0 +1,3 @@
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.00966 7.69902L10.4929 3.17357C10.7697 2.81386 11.0777 2.49229 11.41 2.20971C8.17802 0.018759 3.5804 0.85612 1.36332 4.29804C-0.845834 7.72765 -0.334697 12.287 2.63896 15.1058L10.178 22.2522C11.2736 23.2908 13.0078 23.2414 14.0421 22.1422C14.431 21.7289 14.6631 21.2275 14.7436 20.7084C15.3376 20.6483 15.9128 20.3764 16.3457 19.8968C16.6899 19.5156 16.895 19.057 16.9637 18.5837C17.4775 18.5068 17.9704 18.2651 18.357 17.861L18.401 17.8149C18.7399 17.4607 18.951 17.0321 19.0368 16.5853C19.6275 16.5392 20.2054 16.2938 20.6616 15.8497C21.1381 15.3859 21.4259 14.8774 21.4474 14.1754C21.4689 13.4734 21.0626 13.0359 21.0626 13.0359L17.5861 9.06919L16.375 7.71875L13.5162 10.7833C12.4104 11.9687 10.5628 12.0612 9.34409 10.992L7.14262 9.06068C6.74616 8.71287 6.68797 8.11695 7.00966 7.69902ZM11.8334 3.67844L9.00765 7.43908C8.70103 7.84714 8.75094 8.42061 9.12342 8.76958L9.97504 9.56741C10.7823 10.3237 12.05 10.2811 12.8047 9.47234L16.4531 5.5625L22.0625 12.1875C24.8854 9.47881 24.5841 4.87943 21.4319 2.5622L21.0946 2.31429C18.1555 0.153665 14.0247 0.762115 11.8334 3.67844Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M19 2H5V22H19V2ZM3 0V24H21V0H3ZM13 7C13 7.55228 12.5523 8 12 8C11.4477 8 11 7.55228 11 7C11 6.44772 11.4477 6 12 6C12.5523 6 13 6.44772 13 7ZM15 7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7C9 5.34315 10.3431 4 12 4C13.6569 4 15 5.34315 15 7ZM12 10C13.0792 10 14.0921 10.4013 14.8352 11.1588C15.5388 11.8762 15.9518 12.8623 15.996 14H16V14.2051H14C14 13.4468 13.7476 12.9062 13.4074 12.5594C13.0647 12.21 12.5777 12 12 12C11.4223 12 10.9353 12.21 10.5926 12.5594C10.2524 12.9062 10 13.4468 10 14.2051H8V14H8.00397C8.04822 12.8623 8.46117 11.8762 9.16479 11.1588C9.90787 10.4013 10.9208 10 12 10ZM7 17V19H17V17H7Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 792 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M3 0V24H21V0H3ZM12 10C13.6569 10 15 8.65685 15 7C15 5.34315 13.6569 4 12 4C10.3431 4 9 5.34315 9 7C9 8.65685 10.3431 10 12 10ZM12 10C10.9208 10 9.90787 10.4013 9.16479 11.1588C8.46117 11.8762 8.04822 12.8623 8.00397 14H15.996C15.9518 12.8623 15.5388 11.8762 14.8352 11.1588C14.0921 10.4013 13.0792 10 12 10ZM7 17V19H17V17H7Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 495 B

+1 -1
View File
@@ -1,3 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 2H14V3H13H11H10V2ZM8 3.58152V2C8 0.89543 8.89543 0 10 0H14C15.1046 0 16 0.895431 16 2V3.58152C18.9318 4.76829 21 7.64262 21 11V20C21 22.2091 19.2091 24 17 24H7C4.79086 24 3 22.2091 3 20V11C3 7.64262 5.06817 4.76829 8 3.58152ZM2 22V20V15V13C0.895431 13 0 13.8954 0 15V20C0 21.1046 0.895431 22 2 22ZM22 20V22C23.1046 22 24 21.1046 24 20V15C24 13.8954 23.1046 13 22 13V15V20ZM9 8C8.44772 8 8 8.44772 8 9C8 9.55228 8.44772 10 9 10H15C15.5523 10 16 9.55228 16 9C16 8.44772 15.5523 8 15 8H9ZM9 15H15V18H9V15ZM7 15C7 13.8954 7.89543 13 9 13H15C16.1046 13 17 13.8954 17 15V18C17 19.1046 16.1046 20 15 20H9C7.89543 20 7 19.1046 7 18V15Z" fill="#262626"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 2H14V3H13H11H10V2ZM8 3.58152V2C8 0.89543 8.89543 0 10 0H14C15.1046 0 16 0.895431 16 2V3.58152C18.9318 4.76829 21 7.64262 21 11V13H22C23.1046 13 24 13.8954 24 15V20C24 21.1046 23.1046 22 22 22H20.4649C19.7733 23.1956 18.4806 24 17 24H7C5.51944 24 4.22675 23.1956 3.53513 22H2C0.89543 22 0 21.1046 0 20V15C0 13.8954 0.895431 13 2 13H3V11C3 7.64262 5.06817 4.76829 8 3.58152ZM19 20V13V11C19 7.68629 16.3137 5 13 5H11C7.68629 5 5 7.68629 5 11V13V20C5 21.1046 5.89543 22 7 22H17C18.1046 22 19 21.1046 19 20ZM21 15V20H22V15H21ZM2 15H3V20H2L2 15ZM15 15H9V18H15V15ZM9 13C7.89543 13 7 13.8954 7 15V18C7 19.1046 7.89543 20 9 20H15C16.1046 20 17 19.1046 17 18V15C17 13.8954 16.1046 13 15 13H9ZM9 8C8.44772 8 8 8.44772 8 9C8 9.55228 8.44772 10 9 10H15C15.5523 10 16 9.55228 16 9C16 8.44772 15.5523 8 15 8H9Z" fill="#262626"/>
</svg>

Before

Width:  |  Height:  |  Size: 802 B

After

Width:  |  Height:  |  Size: 970 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 2H13V4.04938C18.0533 4.5511 22 8.81465 22 14C22 19.5228 17.5228 24 12 24C6.47715 24 2 19.5228 2 14C2 8.81465 5.94668 4.5511 11 4.04938V2H9V0H15V2ZM20 14C20 18.4183 16.4183 22 12 22C7.58172 22 4 18.4183 4 14C4 9.58172 7.58172 6 12 6C16.4183 6 20 9.58172 20 14ZM19 4L22 7L23.4142 5.58579L20.4142 2.58579L19 4ZM9 10H11V18H9L9 10ZM15 10H13V18H15V10Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 520 B

+3
View File
@@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M13 2H15V0H9V2H11V4.04938C5.94668 4.5511 2 8.81465 2 14C2 19.5228 6.47715 24 12 24C17.5228 24 22 19.5228 22 14C22 8.81465 18.0533 4.5511 13 4.04938V2ZM22 7L19 4L20.4142 2.58578L23.4142 5.58578L22 7ZM9 18H11V10H9V18ZM13 18H15V10H13V18Z" fill="#262626"/>
</svg>

After

Width:  |  Height:  |  Size: 405 B

+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react",
"version": "0.3.1",
"version": "0.3.5",
"private": false,
"description": "NAV designsystem react components",
"author": "NAV Designsystem team",
@@ -34,7 +34,7 @@
"watch": "tsc --watch -p tsconfig-esm.json"
},
"dependencies": {
"@navikt/ds-icons": "^0.2.2",
"@navikt/ds-icons": "^0.3.1",
"@popperjs/core": "^2.5.4",
"classnames": "^2.2.6",
"copy-to-clipboard": "^3.3.1",
@@ -13,7 +13,11 @@ export interface ActiveAnchorStore {
}
export const ActiveAnchorContext = createContext({} as ActiveAnchorStore);
export const ActiveAnchorProvider = ({ children }) => {
export const ActiveAnchorProvider = ({
children,
}: {
children: React.ReactNode;
}) => {
const [anchors, setAnchors] = useState<string[]>([]);
const [activeAnchor, setActiveAnchor] = useState<string>();
@@ -21,7 +25,7 @@ export const ActiveAnchorProvider = ({ children }) => {
const scrollListener = () => {
const offset = 100;
const lastPassedAnchor = anchors
.map((anchor) => document.getElementById(anchor))
.map((anchor) => document.getElementById(anchor) as HTMLElement)
.map((element: HTMLElement) => ({
id: element.id,
top: element.getBoundingClientRect().top - offset,
@@ -40,7 +44,7 @@ export const ActiveAnchorProvider = ({ children }) => {
const urlWithoutHash = href.replace(hash, "");
const urlWithAnchor = `${urlWithoutHash}#${lastPassedAnchor}`;
const title = document.title;
window.history.pushState(lastPassedAnchor, title, urlWithAnchor);
window.history.replaceState(window.history.state, title, urlWithAnchor);
setActiveAnchor(lastPassedAnchor);
}
};
@@ -3,7 +3,7 @@ import React from "react";
/**
* @ignore
*/
const MenuItems = ({ children }) => (
const MenuItems = ({ children }: { children: React.ReactNode }) => (
<ul className="navds-accordion-menu__list">
{React.Children.toArray(children).map((child, i) => (
<li key={i} className="navds-accordion-menu__list-item">
@@ -1,4 +1,4 @@
import { Files } from "@navikt/ds-icons";
import { Copy } from "@navikt/ds-icons";
import copy from "copy-to-clipboard";
import cl from "classnames";
import React, {
@@ -32,14 +32,16 @@ const CopyToClipboard = forwardRef<HTMLButtonElement, CopyToClipboardProps>(
({ children, text, label, icon, className, ...rest }, ref) => {
const buttonRef = useRef<HTMLButtonElement>(null);
const mergedRef = mergeRefs([buttonRef, ref]);
const timeoutRef = useRef<NodeJS.Timeout>();
const timeoutRef = useRef<number | null>();
const [openPopover, setOpenPopover] = useState(false);
useEffect(() => {
if (openPopover) {
timeoutRef.current = setTimeout(() => setOpenPopover(false), 2000);
return () => timeoutRef.current && clearTimeout(timeoutRef.current);
}
timeoutRef.current = openPopover
? window.setTimeout(() => setOpenPopover(false), 2000)
: null;
return () => {
timeoutRef.current && clearTimeout(timeoutRef.current);
};
}, [openPopover]);
const title = `Kopier ${label} (${text})`;
@@ -59,7 +61,7 @@ const CopyToClipboard = forwardRef<HTMLButtonElement, CopyToClipboardProps>(
onClick={handleClick}
{...rest}
>
{icon ? <>{icon}</> : <Files aria-label="Fil ikon for kopiering" />}
{icon ? <>{icon}</> : <Copy aria-label="Fil ikon for kopiering" />}
{children ? children : <span className="sr-only">{title}</span>}
</Button>
<Popover
@@ -1,65 +0,0 @@
import * as React from "react";
import { forwardRef, HTMLAttributes, useEffect, useRef, useState } from "react";
import { Files } from "@navikt/ds-icons";
import "@navikt/ds-css/baseline/utility.css";
import "./style.css";
export interface CopyToClipboardProps
extends HTMLAttributes<HTMLButtonElement> {
/** Verdi som skal kopieres */
value: string;
/** Beskrivelse av verdien, feks "personnummer", "navn", "epost" etc. */
label: string;
}
const CopyToClipboard = forwardRef<HTMLButtonElement, CopyToClipboardProps>(
(props, ref) => {
const { value, label, className, ...rest } = props;
const textAreaRef = useRef<HTMLTextAreaElement>(null);
const [showSuccess, setShowSuccess] = useState(false);
useEffect(() => {
const timeout = setTimeout(() => setShowSuccess(false), 3000);
return () => clearTimeout(timeout);
}, [showSuccess]);
const copyToClipboard = (event: React.MouseEvent) => {
event.stopPropagation();
textAreaRef.current?.select();
document.execCommand("copy");
setShowSuccess(true);
};
const title = `Kopier ${label} (${value})`;
return (
<span className={`${className} navds-copyToClipboard-wrapper`}>
<button
ref={ref}
title={title}
{...rest}
className="navds-copyToClipboard-button"
onClick={copyToClipboard}
>
<Files />
<span className="sr-only">{title}</span>
</button>
{showSuccess && (
<span role="alert" className="navds-copyToClipboard-success">
{label}
</span>
)}
<textarea
className="sr-only"
tabIndex={-1}
aria-hidden={true}
ref={textAreaRef}
value={value}
readOnly
/>
</span>
);
}
);
export default CopyToClipboard;
-1
View File
@@ -5,7 +5,6 @@ import Bash from "../code/Bash";
import Prettier from "prettier/standalone";
import ParserBabel from "prettier/parser-babel";
import "./preview.css";
import OverflowDetector from "../overflow-detector/OverflowDetector";
import cl from "classnames";
const prettierOptions = {
+2 -2
View File
@@ -1,7 +1,7 @@
import copy from "copy-to-clipboard";
import Prism from "prismjs";
import cl from "classnames";
import { ErrorFilled, Files, SuccessFilled } from "@navikt/ds-icons";
import { ErrorFilled, Copy, SuccessFilled } from "@navikt/ds-icons";
import { Popover } from "@navikt/ds-react";
import { useEffect, useRef, useState } from "react";
import "prismjs/components/prism-jsx.min";
@@ -92,7 +92,7 @@ const Bash = ({
className={"bash__copyButton"}
onClick={() => handleCopy()}
>
<Files />
<Copy />
</button>
</>
)}
+9 -9
View File
@@ -77,10 +77,10 @@
},
"dependencies": {
"@popperjs/core": "^2.5.4",
"@storybook/addon-storysource": "^6.1.21",
"@storybook/addons": "^6.1.21",
"@storybook/theming": "^6.1.21",
"@whitespace/storybook-addon-html": "^4.2.0",
"@storybook/addon-storysource": "^6.2.9",
"@storybook/addons": "^6.2.9",
"@storybook/theming": "^6.2.9",
"@whitespace/storybook-addon-html": "^5.0.0",
"axios": "^0.21.0",
"chalk": "^1.1.3",
"color": "^3.1.3",
@@ -114,11 +114,11 @@
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@storybook/addon-actions": "^6.1.15",
"@storybook/addon-docs": "^6.1.21",
"@storybook/addon-essentials": "^6.1.15",
"@storybook/addon-links": "^6.1.15",
"@storybook/react": "^6.1.15",
"@storybook/addon-actions": "^6.2.9",
"@storybook/addon-docs": "^6.2.9",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/addon-links": "^6.2.9",
"@storybook/react": "^6.2.9",
"@typescript-eslint/eslint-plugin": "^4.3.0",
"@typescript-eslint/parser": "^4.3.0",
"babel-eslint": "^10.1.0",
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-ekspanderbartpanel",
"version": "3.1.2",
"version": "3.1.3",
"main": "lib/index.js",
"license": "MIT",
"types": "lib/index.d.ts",
@@ -30,7 +30,7 @@
"@types/react-collapse": "^5.0.0",
"classnames": "^2.2.5",
"nav-frontend-ekspanderbartpanel-style": "^1.1.2",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"react": "^16.8.0 || ^17.0.0",
"react-collapse": "^5.0.0"
},
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-hjelpetekst",
"version": "2.1.2",
"version": "2.1.3",
"main": "lib/hjelpetekst.js",
"types": "lib/hjelpetekst.d.ts",
"license": "MIT",
@@ -31,8 +31,8 @@
"classnames": "^2.2.5",
"nav-frontend-hjelpetekst-style": "^2.1.1",
"nav-frontend-ikoner-assets": "^2.0.10",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-popover": "^1.1.2",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-popover": "^1.1.3",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0"
},
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-ikonknapper",
"version": "1.1.2",
"version": "1.1.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
@@ -25,7 +25,7 @@
"devDependencies": {
"nav-frontend-chevron": "^1.0.28",
"nav-frontend-ikoner-assets": "^2.0.10",
"nav-frontend-knapper": "^2.1.2",
"nav-frontend-knapper": "^2.1.3",
"react": "^16.8.0 || ^17.0.0"
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-js-utils",
"version": "1.0.17",
"version": "1.0.18",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
@@ -10,7 +10,7 @@ export interface EventThrottlerProps {
}
export class EventThrottler extends React.Component<EventThrottlerProps> {
private throttled: () => void;
private throttled!: () => void;
componentDidMount() {
this.throttled = _throttle(this.props.callback, this.props.delay, {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-knapper",
"version": "2.1.2",
"version": "2.1.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
@@ -27,7 +27,7 @@
"@types/classnames": "^2.2.3",
"@types/react": "15.0.23 || ^16.0.0",
"classnames": "^2.2.5",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-knapper-style": "^1.1.2",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0"
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-lesmerpanel",
"version": "1.1.1",
"version": "1.1.2",
"main": "lib/lesmerpanel.js",
"types": "lib/lesmerpanel.d.ts",
"license": "MIT",
@@ -29,7 +29,7 @@
"@types/react-collapse": "^5.0.0",
"classnames": "^2.2.5",
"nav-frontend-chevron": "^1.0.28",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-lesmerpanel-style": "^1.1.1",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-lukknapp",
"version": "1.1.1",
"version": "1.2.1",
"main": "lib/lukknapp.js",
"types": "lib/lukknapp.d.ts",
"license": "MIT",
@@ -17,6 +17,10 @@ const cls = (bla, hvit, hjorne, className) =>
export interface LukknappProps
extends React.ButtonHTMLAttributes<HTMLButtonElement> {
/**
* Tekst som beskriver knappen for skjermleser
*/
children: string;
/**
* Blå variant
*/
@@ -51,7 +55,7 @@ class Lukknapp extends React.Component<LukknappProps, {}> {
overstHjorne: false,
};
buttonRef: HTMLButtonElement;
buttonRef!: HTMLButtonElement;
constructor(props) {
super(props);
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-modal",
"version": "1.1.2",
"version": "1.2.1",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
@@ -19,7 +19,7 @@
"peerDependencies": {
"@types/react-modal": "^3.1.2",
"classnames": "^2.2.5",
"nav-frontend-lukknapp": "^1.0.48",
"nav-frontend-lukknapp": "^1.2.0",
"nav-frontend-modal-style": "^1.0.0",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0",
@@ -28,7 +28,7 @@
"devDependencies": {
"@types/react-modal": "^3.1.2",
"classnames": "^2.2.5",
"nav-frontend-lukknapp": "^1.1.1",
"nav-frontend-lukknapp": "^1.2.1",
"nav-frontend-modal-style": "^1.1.1",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0",
+2 -2
View File
@@ -58,9 +58,9 @@ export interface ModalProps extends Props {
}
class ModalWrapper extends React.Component<ModalProps, {}> {
closeButtonRef: Lukknapp | null;
closeButtonRef: Lukknapp | null | undefined;
modalRef: Modal | null;
modalRef!: Modal | null;
static setAppElement(element) {
Modal.setAppElement(element);
@@ -1,4 +1,4 @@
import React from "react";
import React, { useState } from "react";
import Modal from "../src/index";
import { Meta } from "@storybook/react/types-6-0";
@@ -7,34 +7,30 @@ export default {
component: Modal,
} as Meta;
const Template = ({
closeButton,
isOpen,
shouldCloseOnOverlayClick,
...args
}) => (
<Modal
isOpen={isOpen}
onRequestClose={() => null}
closeButton={closeButton}
contentLabel="Min modalrute"
>
<div>
Innhold som vises i modal
<p>
Eu veniam nulla dolore culpa sint esse consectetur commodo non esse id.
Aliquip nostrud incididunt quis minim aute eiusmod non fugiat nisi.
Proident irure officia laboris ex in cupidatat minim cillum
reprehenderit velit velit aliquip duis. Velit amet consequat aliquip
reprehenderit consequat sunt occaecat ea aliqua incididunt fugiat enim
dolore.
</p>
</div>
</Modal>
);
export const All = () => {
const [open, setOpen] = useState(true);
export const All = Template.bind({});
All.args = {
closeButton: true,
isOpen: true,
return (
<>
<button onClick={() => setOpen(!open)}>modalstate</button>
<Modal
isOpen={open}
onRequestClose={() => setOpen(false)}
closeButton={true}
contentLabel="Min modalrute"
>
<div>
Innhold som vises i modal
<p>
Eu veniam nulla dolore culpa sint esse consectetur commodo non esse
id. Aliquip nostrud incididunt quis minim aute eiusmod non fugiat
nisi. Proident irure officia laboris ex in cupidatat minim cillum
reprehenderit velit velit aliquip duis. Velit amet consequat aliquip
reprehenderit consequat sunt occaecat ea aliqua incididunt fugiat
enim dolore.
</p>
</div>
</Modal>
</>
);
};
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-popover",
"version": "1.1.2",
"version": "1.1.3",
"main": "lib/popover.js",
"types": "lib/popover.d.ts",
"license": "MIT",
@@ -28,7 +28,7 @@
"@types/classnames": "^2.2.3",
"@types/react": "15.0.23 || ^16.0.0",
"classnames": "^2.2.5",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-popover-style": "^1.1.1",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-skjema",
"version": "3.2.2",
"version": "3.2.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
@@ -29,7 +29,7 @@
"devDependencies": {
"@navikt/fnrvalidator": "^1.1.0",
"classnames": "^2.2.5",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-lenker": "^1.1.1",
"nav-frontend-skjema-style": "^2.2.2",
"nav-frontend-typografi": "^3.1.1",
@@ -159,6 +159,7 @@ class Textarea extends React.Component<TextareaProps> {
}
componentDidMount() {
// @ts-ignore
requestAnimationFrame.call(window, this.updateHeight, 0);
}
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-stegindikator",
"version": "1.1.1",
"version": "1.1.2",
"main": "lib/stegindikator.js",
"types": "lib/stegindikator.d.js",
"license": "MIT",
@@ -19,7 +19,7 @@
"react": "^16.8.0 || ^17.0.0"
},
"devDependencies": {
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-stegindikator-style": "^1.1.1",
"react": "^16.8.0 || ^17.0.0"
},
@@ -65,7 +65,7 @@ class Stegindikator extends React.Component<
autoResponsiv: false,
};
private list: HTMLOListElement;
private list!: HTMLOListElement;
constructor(props: StegindikatorProps) {
super(props);
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-tabs",
"version": "1.1.1",
"version": "1.1.2",
"main": "lib/tabs.js",
"types": "lib/tabs.d.ts",
"license": "MIT",
@@ -20,7 +20,7 @@
},
"devDependencies": {
"classnames": "^2.2.5",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-tabs-style": "^1.1.1",
"react": "^16.8.0 || ^17.0.0"
},
+1 -1
View File
@@ -24,7 +24,7 @@ export interface TabsState {
class Tabs extends React.Component<TabsProps, TabsState> {
static Tab = Tab;
private pure: TabsPure;
private pure!: TabsPure;
static defaultProps: Partial<TabsProps> = {
kompakt: false,
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-tekstomrade",
"version": "2.1.1",
"version": "2.1.2",
"main": "lib/tekstomrade.js",
"types": "lib/tekstomrade.d.ts",
"license": "MIT",
@@ -42,6 +42,11 @@ class Tekstomrade extends React.Component<TekstomradeProps> {
render() {
const { as, children, ingenFormattering, rules, ...rest } = this.props;
if (typeof children !== "string") {
return null;
}
if (ingenFormattering) {
return <div {...rest}>{children}</div>;
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-toggle",
"version": "1.1.2",
"version": "1.1.3",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"license": "MIT",
@@ -21,7 +21,7 @@
},
"devDependencies": {
"classnames": "^2.2.5",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-toggle-style": "^1.1.2",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0"
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-veileder",
"version": "2.1.2",
"version": "2.1.3",
"main": "lib/veileder.js",
"types": "lib/veileder.d.ts",
"license": "MIT",
@@ -21,7 +21,7 @@
},
"devDependencies": {
"classnames": "^2.2.5",
"nav-frontend-js-utils": "^1.0.17",
"nav-frontend-js-utils": "^1.0.18",
"nav-frontend-veileder-style": "^2.1.1",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0"
@@ -1,6 +1,6 @@
{
"name": "nav-frontend-veilederpanel",
"version": "1.1.2",
"version": "1.1.3",
"main": "lib/veilederpanel.js",
"types": "lib/veilederpanel.d.ts",
"license": "MIT",
@@ -21,7 +21,7 @@
},
"devDependencies": {
"classnames": "^2.2.5",
"nav-frontend-veileder": "^2.1.2",
"nav-frontend-veileder": "^2.1.3",
"nav-frontend-veilederpanel-style": "^1.1.1",
"prop-types": "^15.5.10",
"react": "^16.8.0 || ^17.0.0"
+2
View File
@@ -12,6 +12,8 @@
"noImplicitAny": false,
"declaration": true,
"skipLibCheck": true,
"strict": true,
"strictFunctionTypes": false,
"moduleResolution": "node",
"lib": ["DOM", "es2015", "es2016", "es2017"]
},
+3 -1
View File
@@ -37,8 +37,9 @@ Promise.all([
getGlobFiles("./@navikt/**/lib", { dot: true }),
getGlobFiles("./@navikt/**/esm", { dot: true }),
getGlobFiles("./@navikt/**/cjs", { dot: true }),
getGlobFiles("./@navikt/ds-icons/src", { dot: true }),
getGlobFiles("./packages/**/src/*.d.ts", { dit: true }),
]).then(([lib, dist, libvnext, esmvnext, cjsvnext, files]) => {
]).then(([lib, dist, libvnext, esmvnext, cjsvnext, iconsrc, files]) => {
files.forEach((file) => {
console.log(`Deleting file ${file}`);
fs.unlinkSync(file);
@@ -50,6 +51,7 @@ Promise.all([
...libvnext,
...esmvnext,
...cjsvnext,
...iconsrc,
].filter((path) => !path.includes("node_modules"));
folders.forEach((folder) => {
+934 -847
View File
File diff suppressed because it is too large. Load diff