Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98dbc155fe | ||
|
|
87f194c1dc | ||
|
|
7f73315264 | ||
|
|
c027c2e464 | ||
|
|
92dd582d68 | ||
|
|
bb302bbbd6 | ||
|
|
55005c80f3 | ||
|
|
27e6423b54 | ||
|
|
21a842d419 | ||
|
|
e7a62a9082 | ||
|
|
494566e604 | ||
|
|
1c492fda56 | ||
|
|
9691ac4713 | ||
|
|
7174bbe7bf | ||
|
|
62f36da5e7 | ||
|
|
9ec5133ba2 | ||
|
|
0a7906187f | ||
|
|
28f2a3f532 | ||
|
|
f5d404b925 | ||
|
|
05955acaf7 | ||
|
|
55362f3ea7 | ||
|
|
28f8f7a408 | ||
|
|
6778e902f3 | ||
|
|
92566d5750 | ||
|
|
6911913748 | ||
|
|
7f3e96ae01 | ||
|
|
19791c0339 | ||
|
|
6a00fca823 | ||
|
|
f5d3ed8eee | ||
|
|
5c00b91dfb | ||
|
|
5b82182fda | ||
|
|
6246c1d311 | ||
|
|
04ad4d09b2 | ||
|
|
65ddd4bd18 | ||
|
|
8bb5b8f7b9 | ||
|
|
dcf5cfc06b | ||
|
|
ff97e7f3f8 | ||
|
|
9e1165de0a | ||
|
|
812573ac43 | ||
|
|
5f340eba49 | ||
|
|
703e7e3ab5 | ||
|
|
b42101f6f1 | ||
|
|
8b0c4d8f59 | ||
|
|
6ab84e581f | ||
|
|
42f3a298a2 | ||
|
|
e49922d3fe | ||
|
|
fc06e8f7b4 | ||
|
|
0273b42fb4 | ||
|
|
0873fe6520 | ||
|
|
fdcf502a64 | ||
|
|
aebb22bf1b | ||
|
|
4529e64c6e | ||
|
|
01395e65ba | ||
|
|
21dd0450e7 | ||
|
|
ffac16cb05 | ||
|
|
98177d0cd3 | ||
|
|
2c5be718e6 | ||
|
|
019d92dd7b | ||
|
|
5b72afbb93 | ||
|
|
56348cdddf | ||
|
|
973d79ee99 | ||
|
|
5bfb912531 | ||
|
|
27e3dfee07 | ||
|
|
20b2bf6f89 | ||
|
|
4b870986c8 | ||
|
|
8fcf079359 | ||
|
|
54f8b07956 | ||
|
|
9bc251e694 | ||
|
|
e2a9d027dc | ||
|
|
22dfd8e603 | ||
|
|
53d1947311 | ||
|
|
d4e7c47772 | ||
|
|
e191dffdf8 | ||
|
|
7e0ee60d47 | ||
|
|
4ecaeb9d04 | ||
|
|
8e5c554431 | ||
|
|
727be0a98b | ||
|
|
4c2e44ced1 | ||
|
|
2fd1dd443f | ||
|
|
a6c3391237 | ||
|
|
5ede88a188 | ||
|
|
2785593d20 | ||
|
|
a37c743547 | ||
|
|
6f0e18c3cf | ||
|
|
bdfaa54e81 | ||
|
|
595796af6c | ||
|
|
f51d43c06a | ||
|
|
8c81ae46e0 | ||
|
|
c85b34e86f | ||
|
|
fc46b5a97b | ||
|
|
c7fcf57fdf | ||
|
|
560d8bd1e8 | ||
|
|
7a53de186e | ||
|
|
4feb798b25 | ||
|
|
c713b469f0 | ||
|
|
676392a5c4 | ||
|
|
c049e08555 | ||
|
|
d8c898db8c | ||
|
|
8a1ef5e7e2 | ||
|
|
d64da78d8b | ||
|
|
293594235a | ||
|
|
a54d97591e | ||
|
|
dc2e7fb766 | ||
|
|
53df42df22 | ||
|
|
21da657eb0 | ||
|
|
52d2d5f41d | ||
|
|
ff2515fabb | ||
|
|
5b9840524c | ||
|
|
0d6ddfd95e | ||
|
|
0394e819ba | ||
|
|
23066e9503 | ||
|
|
67fc9ad560 | ||
|
|
8fe5c88eba | ||
|
|
1fbcf78745 | ||
|
|
83dc3236e8 | ||
|
|
7503c7fa7f | ||
|
|
e668181690 | ||
|
|
353dff3da5 | ||
|
|
a11993a155 | ||
|
|
7b53b7670f | ||
|
|
0aaa0c4e10 | ||
|
|
ea5e1f768c | ||
|
|
e6b16e9b31 | ||
|
|
1029d42163 | ||
|
|
fba5140d8b | ||
|
|
fe72f32dbb | ||
|
|
6a0890b42b | ||
|
|
320f45a775 | ||
|
|
3feb2283a4 | ||
|
|
c3b416a3cb | ||
|
|
36fba1a33b | ||
|
|
a9e080f892 | ||
|
|
0dc8eb7a1e | ||
|
|
70fd78c926 | ||
|
|
dbc5e7dc07 | ||
|
|
4b0b8e4ae4 | ||
|
|
57e7e1ecc4 | ||
|
|
9534fe2540 | ||
|
|
44683d38f1 | ||
|
|
23c976e5d2 | ||
|
|
9ea823d630 | ||
|
|
65c65a6637 | ||
|
|
ef2a2a9c49 | ||
|
|
3f63fd7fb6 | ||
|
|
6fe9788444 | ||
|
|
10c6545885 | ||
|
|
2e76272a35 | ||
|
|
803a7a4d0f | ||
|
|
d8b7e69788 | ||
|
|
097ef18910 | ||
|
|
bb081354fc | ||
|
|
edc08c6f8a | ||
|
|
fc3577baf4 | ||
|
|
f02250ab75 | ||
|
|
1af80dcc1b | ||
|
|
373f40d968 | ||
|
|
75609e1b09 | ||
|
|
ea9bb63d0a | ||
|
|
a148b08eb5 | ||
|
|
1ca7e746e1 | ||
|
|
535ed17d36 | ||
|
|
8df1bc26a0 | ||
|
|
1b15ab146a | ||
|
|
0868b7d716 | ||
|
|
618d8d3de1 | ||
|
|
e9831b4e2a | ||
|
|
b0aa3ce0e7 | ||
|
|
4fa62f5d64 | ||
|
|
350e929bd2 | ||
|
|
64d178ea36 | ||
|
|
cb3decf3bd | ||
|
|
d66d009fe8 | ||
|
|
5974a77140 | ||
|
|
68b4444bb1 | ||
|
|
fc7d16b64b | ||
|
|
08a893c29a | ||
|
|
8d181e7a92 | ||
|
|
ab1c0849f4 | ||
|
|
96098e532f | ||
|
|
0b14ef50e9 | ||
|
|
262f8bf5d2 | ||
|
|
f18a2dde8f | ||
|
|
2e48c97b50 | ||
|
|
8bf2b8f322 | ||
|
|
ceb7b231b5 | ||
|
|
f7f304b33d | ||
|
|
151484afd3 | ||
|
|
7ae6969b35 | ||
|
|
65cfd8b459 | ||
|
|
3c9405b718 | ||
|
|
48b347e814 | ||
|
|
59de2d7992 | ||
|
|
0166c17985 | ||
|
|
57b1de13a9 | ||
|
|
52104b0f23 | ||
|
|
564a6b4b90 | ||
|
|
d43a4bfbdb | ||
|
|
1e647bffc6 | ||
|
|
986c43ead3 | ||
|
|
ea4fffdeba | ||
|
|
c14e9c346b | ||
|
|
d3dd96d2d4 | ||
|
|
b5fd3dd734 | ||
|
|
6979811e67 | ||
|
|
82ab82889d | ||
|
|
0b978693d6 | ||
|
|
feabc168d7 | ||
|
|
759c12eeef | ||
|
|
e3bc4f99a0 | ||
|
|
8c31007854 | ||
|
|
cf80626256 | ||
|
|
cbcfecbe72 | ||
|
|
a1ae58d041 | ||
|
|
a6cf7c1f25 | ||
|
|
a31a969863 | ||
|
|
19504b0d32 | ||
|
|
920a037b47 | ||
|
|
568f55e4be | ||
|
|
53cbedf041 | ||
|
|
cb356c23dc | ||
|
|
8f76acc776 | ||
|
|
d0269a84c0 | ||
|
|
e36206197d | ||
|
|
5e6bb7e016 | ||
|
|
15ed6b0f2f | ||
|
|
16142657ec | ||
|
|
a5b50f4cef | ||
|
|
796b7ac49f | ||
|
|
9bafc3e218 | ||
|
|
72c04454e5 | ||
|
|
dc4ad88427 | ||
|
|
00ecf7c67c | ||
|
|
83f8127570 | ||
|
|
b6017ea5cf | ||
|
|
b96036d14a | ||
|
|
d0fafb41b3 | ||
|
|
ddf8f65499 | ||
|
|
31aa6243ef | ||
|
|
afca0f481a | ||
|
|
2ffc2c22dc | ||
|
|
d8100c1589 | ||
|
|
a4cce95171 | ||
|
|
01ab8e5741 | ||
|
|
dd1a961dd2 | ||
|
|
11520ce468 | ||
|
|
20c8f9204b | ||
|
|
0074bfd5fb | ||
|
|
a0504f4e57 | ||
|
|
7bcac33423 | ||
|
|
a6feaea201 | ||
|
|
9c6cf8c811 | ||
|
|
592e0ccae9 | ||
|
|
f2f44ad2d7 | ||
|
|
322077fff8 | ||
|
|
5eaf729cc4 | ||
|
|
f285477a6c | ||
|
|
16f693cee9 | ||
|
|
2a7198e02b | ||
|
|
98b4f4e76a | ||
|
|
cf397f2522 | ||
|
|
7f1305c639 | ||
|
|
5964775a8e | ||
|
|
f1ea4ee1e0 | ||
|
|
cc24357a9e | ||
|
|
53406e54a9 | ||
|
|
39faa2b945 | ||
|
|
02e5978664 | ||
|
|
fa20f601df | ||
|
|
132ee94235 | ||
|
|
fa5aa175ab | ||
|
|
cf8833c885 | ||
|
|
a37f42b28a | ||
|
|
b8e797bc92 | ||
|
|
c248cb2a57 | ||
|
|
2a748c7903 | ||
|
|
2f2cbc16ca | ||
|
|
c0b8928ece | ||
|
|
50fe0e785b | ||
|
|
b2d31aed46 | ||
|
|
9fdf2cd4df | ||
|
|
02aa151153 | ||
|
|
a472fc4793 | ||
|
|
fdab54742f | ||
|
|
53230c1d67 | ||
|
|
d6dfdff964 | ||
|
|
2feb10005c | ||
|
|
1994f3ec97 | ||
|
|
e4b6237e1b | ||
|
|
a326f5ab57 | ||
|
|
a1d18dbb6c | ||
|
|
409ce29179 | ||
|
|
08c8a07e94 | ||
|
|
701ca3f285 | ||
|
|
e874406491 | ||
|
|
b1516dad35 | ||
|
|
9bd629ca87 | ||
|
|
960246f2f3 |
No files matched your search
@@ -0,0 +1,24 @@
|
||||
name: Ny komponent
|
||||
description: Send et ønske om en eller flere nye komponenter
|
||||
title: "[Ny komponent]: "
|
||||
labels: ["nytt ✨", "forespørsel 🥰", "komponenter 🧩"]
|
||||
assignees:
|
||||
- olejorgenbakken
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Takk for at du bidrar inn i Aksel!
|
||||
- type: input
|
||||
id: title
|
||||
attributes:
|
||||
label: Navn på komponent
|
||||
description: Hva er navnet på komponenten du ønsker deg?
|
||||
placeholder: eks. datepicker
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: examples
|
||||
attributes:
|
||||
label: Eksempel på komponenten
|
||||
description: Send en lenke til eksempler på komponenten
|
||||
@@ -0,0 +1,24 @@
|
||||
name: Nytt ikon
|
||||
description: Send et ønske om et eller flere nye ikoner
|
||||
title: "[Nytt ikon]: "
|
||||
labels: ["nytt ✨", "ikoner 🖼", "forespørsel 🥰"]
|
||||
assignees:
|
||||
- olejorgenbakken
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Takk for at du bidrar inn i Aksel!
|
||||
- type: input
|
||||
id: title
|
||||
attributes:
|
||||
label: Navn på ikonet
|
||||
description: Hva er navnet på ikonet du ønsker deg?
|
||||
placeholder: eks. send
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: examples
|
||||
attributes:
|
||||
label: Eksempel på ikonet
|
||||
description: Send en lenke til eksempler på ikonet
|
||||
@@ -0,0 +1,16 @@
|
||||
name: Innspill til komponent
|
||||
description: Send inn innspill til komponent
|
||||
title: "[Innspill til komponent]: "
|
||||
labels: ["forespørsel 🥰", "komponenter 🧩", "nytt ✨", "beta 🧪"]
|
||||
assignees:
|
||||
- olejorgenbakken
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Takk for at du bidrar inn i Aksel!
|
||||
- type: textarea
|
||||
id: feeback
|
||||
attributes:
|
||||
label: Tilbakemelding
|
||||
description: Beskriv hvilke tilbakemeldinger du har til komponenten
|
||||
@@ -0,0 +1,16 @@
|
||||
name: Innspill til ikon
|
||||
description: Send inn innspill til ikon
|
||||
title: "[Innspill til ikon]: "
|
||||
labels: ["forespørsel 🥰", "nytt ✨"]
|
||||
assignees:
|
||||
- olejorgenbakken
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Takk for at du bidrar inn i Aksel!
|
||||
- type: textarea
|
||||
id: feeback
|
||||
attributes:
|
||||
label: Tilbakemelding
|
||||
description: Beskriv hvilke tilbakemeldinger du har til ikonet
|
||||
@@ -22,9 +22,6 @@ jobs:
|
||||
- name: add tokens to .env
|
||||
run: |
|
||||
echo "SANITY_WRITE_KEY=${{ secrets.SANITY_FEEDBACK_WRITE_KEY }}" >> aksel.nav.no/website/.env
|
||||
echo "ALGOLIA_ADMIN=${{ secrets.ALGOLIA_ADMIN }}" >> aksel.nav.no/website/.env
|
||||
echo "ALGOLIA_ID=${{ secrets.ALGOLIA_ID}}" >> aksel.nav.no/website/.env
|
||||
echo "TRELLO_TOKEN=${{ secrets.TRELLO_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SANITY_PREVIEW_TOKEN=${{ secrets.SANITY_PREVIEW_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SANITY_PRIVATE_NO_DRAFTS=${{ secrets.SANITY_PRIVATE_NO_DRAFTS }}" >> aksel.nav.no/website/.env
|
||||
|
||||
@@ -21,9 +21,6 @@ jobs:
|
||||
- name: add tokens to .env
|
||||
run: |
|
||||
echo "SANITY_WRITE_KEY=${{ secrets.SANITY_FEEDBACK_WRITE_KEY }}" >> aksel.nav.no/website/.env
|
||||
echo "ALGOLIA_ADMIN=${{ secrets.ALGOLIA_ADMIN }}" >> aksel.nav.no/website/.env
|
||||
echo "ALGOLIA_ID=${{ secrets.ALGOLIA_ID}}" >> aksel.nav.no/website/.env
|
||||
echo "TRELLO_TOKEN=${{ secrets.TRELLO_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SANITY_PREVIEW_TOKEN=${{ secrets.SANITY_PREVIEW_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SANITY_PRIVATE_NO_DRAFTS=${{ secrets.SANITY_PRIVATE_NO_DRAFTS }}" >> aksel.nav.no/website/.env
|
||||
|
||||
@@ -22,18 +22,17 @@ jobs:
|
||||
key: ${{ runner.os }}-build-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-build-
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn
|
||||
run: cd aksel.nav.no/website && yarn
|
||||
|
||||
- name: Export dataset
|
||||
run: SANITY_TOKEN=${{secrets.SANITY_DATASET_EDITOR_TOKEN}} yarn workspace aksel.nav.no sanity:backup
|
||||
run: cd aksel.nav.no/website && SANITY_PREVIEW_TOKEN=${{secrets.SANITY_DATASET_EDITOR_TOKEN}} yarn backup
|
||||
- name: Upload GCP bucket
|
||||
uses: "google-github-actions/auth@v0"
|
||||
with:
|
||||
credentials_json: "${{ secrets.gcp_credentials_prod }}"
|
||||
- uses: "google-github-actions/upload-cloud-storage@v0"
|
||||
with:
|
||||
path: ./aksel.nav.no/sanity
|
||||
path: ./aksel.nav.no/website
|
||||
destination: "aksel-website-prod/backups"
|
||||
glob: "**/backup-*.tar.gz"
|
||||
glob: "backup-*.tar.gz"
|
||||
@@ -21,9 +21,6 @@ jobs:
|
||||
- name: add tokens to .env
|
||||
run: |
|
||||
echo "SANITY_WRITE_KEY=${{ secrets.SANITY_FEEDBACK_WRITE_KEY }}" >> aksel.nav.no/website/.env
|
||||
echo "ALGOLIA_ADMIN=${{ secrets.ALGOLIA_ADMIN }}" >> aksel.nav.no/website/.env
|
||||
echo "ALGOLIA_ID=${{ secrets.ALGOLIA_ID}}" >> aksel.nav.no/website/.env
|
||||
echo "TRELLO_TOKEN=${{ secrets.TRELLO_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SENTRY_AUTH_TOKEN=${{ secrets.SENTRY_AUTH_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SANITY_PREVIEW_TOKEN=${{ secrets.SANITY_PREVIEW_TOKEN }}" >> aksel.nav.no/website/.env
|
||||
echo "SANITY_PRIVATE_NO_DRAFTS=${{ secrets.SANITY_PRIVATE_NO_DRAFTS }}" >> aksel.nav.no/website/.env
|
||||
@@ -47,7 +44,7 @@ jobs:
|
||||
- name: Install Playwright Browsers
|
||||
run: npx playwright install --with-deps
|
||||
- name: Run Playwright tests
|
||||
run: yarn workspace website e2e
|
||||
run: yarn workspace website e2e:full
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: always()
|
||||
with:
|
||||
|
||||
@@ -20,9 +20,8 @@ jobs:
|
||||
- uses: "actions/checkout@v3"
|
||||
|
||||
- id: upload
|
||||
uses: nais/frontend-plattform-cdn-upload-action@main
|
||||
uses: navikt/frontend/actions/cdn-upload/v1@main
|
||||
with:
|
||||
cdn-environment: cdn.nav.no
|
||||
cdn-team-name: aksel
|
||||
source: ./fonts
|
||||
destination: "" # uploads folder to team root
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
name: Indexing search
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
# 01.00 & 12.00 every day
|
||||
- cron: "00 01,12 * * *"
|
||||
|
||||
jobs:
|
||||
searchcrawl:
|
||||
name: Search-indexing aksel.nav.no
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
APPLICATION_ID: ${{ secrets.ALGOLIA_ID}}
|
||||
API_KEY: ${{ secrets.ALGOLIA_ADMIN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Read crawler.json
|
||||
id: algolia_config
|
||||
run: echo "::set-output name=config::$(cat ./aksel.nav.no/crawler.json | jq -r tostring)"
|
||||
- name: Push indices to Algolia
|
||||
uses: signcl/docsearch-scraper-action@master
|
||||
env:
|
||||
APPLICATION_ID: ${{ secrets.ALGOLIA_ID}}
|
||||
API_KEY: ${{ secrets.ALGOLIA_ADMIN }}
|
||||
CONFIG: ${{ steps.algolia_config.outputs.config }}
|
||||
@@ -148,3 +148,6 @@ tmp.json
|
||||
/playwright/.cache/
|
||||
playwright-report/
|
||||
/test-results/
|
||||
backup-*.tar.gz
|
||||
sitemap-urls.json
|
||||
*.tar.gz
|
||||
@@ -1,5 +1,47 @@
|
||||
# @navikt/ds-codemod
|
||||
|
||||
## 2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
## 2.1.1
|
||||
|
||||
## 2.1.0
|
||||
|
||||
## 2.0.18
|
||||
|
||||
## 2.0.17
|
||||
|
||||
## 2.0.16
|
||||
|
||||
## 2.0.15
|
||||
|
||||
## 2.0.14
|
||||
|
||||
## 2.0.13
|
||||
|
||||
## 2.0.12
|
||||
|
||||
## 2.0.11
|
||||
|
||||
## 2.0.10
|
||||
|
||||
## 2.0.9
|
||||
|
||||
## 2.0.8
|
||||
|
||||
## 2.0.7
|
||||
|
||||
## 2.0.6
|
||||
|
||||
## 2.0.5
|
||||
|
||||
## 2.0.4
|
||||
|
||||
## 2.0.3
|
||||
|
||||
## 2.0.2
|
||||
|
||||
## 2.0.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navikt/ds-codemod",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.4",
|
||||
"description": "Aksel codemods for NAVs designsystem",
|
||||
"author": "Aksel | NAV designsystem team",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
"build-pict": "svgr --silent --index-template index-template.js --out-dir src/pictograms pictograms"
|
||||
},
|
||||
"dependencies": {
|
||||
"@navikt/ds-icons": "^2.0.2",
|
||||
"@navikt/ds-react": "^2.0.2",
|
||||
"@navikt/ds-icons": "^2.1.4",
|
||||
"@navikt/ds-react": "^2.1.4",
|
||||
"clsx": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -51,7 +51,6 @@
|
||||
"@rollup/plugin-commonjs": "23.0.2",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@svgr/cli": "6.2.1",
|
||||
"@types/node": "^17.0.35",
|
||||
"concurrently": "7.2.1",
|
||||
"copyfiles": "2.4.1",
|
||||
"postcss-combine-duplicated-selectors": "10.0.3",
|
||||
|
||||
@@ -1,5 +1,63 @@
|
||||
# @navikt/ds-css
|
||||
|
||||
## 2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`62f36da5e`](https://github.com/navikt/Designsystemet/commit/62f36da5e74fc7f53414d42b310c3b57597795bc) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Small textfield har nå 8px horisontal padding (4px før)
|
||||
|
||||
## 2.1.1
|
||||
|
||||
## 2.1.0
|
||||
|
||||
## 2.0.18
|
||||
|
||||
## 2.0.17
|
||||
|
||||
## 2.0.16
|
||||
|
||||
## 2.0.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1748](https://github.com/navikt/Designsystemet/pull/1748) [`22dfd8e60`](https://github.com/navikt/Designsystemet/commit/22dfd8e60315c421749394d35e41f412a00a7593) Thanks [@KenAJoh](https://github.com/KenAJoh)! - toptextPosition prop i Chat for horisontal plassering av navn og dato.
|
||||
|
||||
## 2.0.14
|
||||
|
||||
## 2.0.13
|
||||
|
||||
## 2.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1737](https://github.com/navikt/Designsystemet/pull/1737) [`8a1ef5e7e`](https://github.com/navikt/Designsystemet/commit/8a1ef5e7e2c066cb80c13e14329e1585e2c427f8) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Fikset default visuell error-state for radio
|
||||
|
||||
## 2.0.11
|
||||
|
||||
## 2.0.10
|
||||
|
||||
## 2.0.9
|
||||
|
||||
## 2.0.8
|
||||
|
||||
## 2.0.7
|
||||
|
||||
## 2.0.6
|
||||
|
||||
## 2.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Reverserte border-width endrind i button
|
||||
|
||||
## 2.0.4
|
||||
|
||||
## 2.0.3
|
||||
|
||||
## 2.0.2
|
||||
|
||||
## 2.0.1
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
border: none;
|
||||
border-bottom: 2px solid var(--a-border-strong);
|
||||
border-bottom: 2px solid var(--ac-accordion-header-border, var(--a-border-strong));
|
||||
}
|
||||
|
||||
.navds-accordion__header:focus {
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
.navds-button--secondary {
|
||||
color: var(--ac-button-secondary-text, var(--a-text-action));
|
||||
background-color: var(--ac-button-secondary-bg, var(--a-surface-default));
|
||||
box-shadow: inset 0 0 0 1.5px var(--ac-button-secondary-border, var(--a-border-action));
|
||||
box-shadow: inset 0 0 0 2px var(--ac-button-secondary-border, var(--a-border-action));
|
||||
}
|
||||
|
||||
.navds-button--secondary:hover {
|
||||
@@ -128,7 +128,7 @@
|
||||
}
|
||||
|
||||
.navds-button--secondary:focus {
|
||||
box-shadow: inset 0 0 0 1.5px var(--ac-button-secondary-focus-border, var(--a-border-action)), var(--a-shadow-focus);
|
||||
box-shadow: inset 0 0 0 2px var(--ac-button-secondary-focus-border, var(--a-border-action)), var(--a-shadow-focus);
|
||||
}
|
||||
|
||||
.navds-button--secondary:active {
|
||||
@@ -145,7 +145,7 @@
|
||||
.navds-button--secondary:hover:where(:disabled, .navds-button--disabled) {
|
||||
color: var(--ac-button-secondary-text, var(--a-text-action));
|
||||
background-color: var(--ac-button-secondary-bg, var(--a-surface-default));
|
||||
box-shadow: inset 0 0 0 1.5px var(--ac-button-secondary-border, var(--a-border-action));
|
||||
box-shadow: inset 0 0 0 2px var(--ac-button-secondary-border, var(--a-border-action));
|
||||
}
|
||||
|
||||
/****************************
|
||||
@@ -162,7 +162,7 @@
|
||||
}
|
||||
|
||||
.navds-button--tertiary:focus {
|
||||
box-shadow: inset 0 0 0 1.5px var(--ac-button-tertiary-focus-border, var(--a-border-action)), var(--a-shadow-focus);
|
||||
box-shadow: inset 0 0 0 2px var(--ac-button-tertiary-focus-border, var(--a-border-action)), var(--a-shadow-focus);
|
||||
}
|
||||
|
||||
.navds-button--tertiary:active {
|
||||
|
||||
@@ -77,6 +77,22 @@
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
.navds-chat--top-text-left .navds-chat__top-text {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.navds-chat--top-text-right .navds-chat__top-text {
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
.navds-chat--left .navds-chat__top-text--right {
|
||||
align-self: flex-end;
|
||||
}
|
||||
|
||||
.navds-chat--right .navds-chat__top-text--left {
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
.navds-chat__name {
|
||||
font-weight: var(--a-font-weight-bold);
|
||||
}
|
||||
@@ -143,27 +143,21 @@
|
||||
.navds-checkbox--error
|
||||
> .navds-checkbox__input:not(:hover):not(:disabled):not(:checked):not(:indeterminate)
|
||||
+ .navds-checkbox__label::before,
|
||||
.navds-radio--error
|
||||
> .navds-radio__input:not(:hover):not(:disabled):not(:checked):not(:indeterminate)
|
||||
+ .navds-radio__label::before {
|
||||
.navds-radio--error > .navds-radio__input:not(:hover):not(:disabled):not(:checked) + .navds-radio__label::before {
|
||||
box-shadow: inset 0 0 0 2px var(--ac-radio-checkbox-error-border, var(--a-border-danger));
|
||||
}
|
||||
|
||||
.navds-checkbox--error
|
||||
> .navds-checkbox__input:focus:not(:hover):not(:disabled):not(:checked):not(:indeterminate)
|
||||
+ .navds-checkbox__label::before,
|
||||
.navds-radio--error
|
||||
> .navds-radio__input:focus:not(:hover):not(:disabled):not(:checked):not(:indeterminate)
|
||||
+ .navds-radio__label::before {
|
||||
.navds-radio--error > .navds-radio__input:focus:not(:hover):not(:disabled):not(:checked) + .navds-radio__label::before {
|
||||
box-shadow: inset 0 0 0 2px var(--ac-radio-checkbox-error-border, var(--a-border-danger)), var(--a-shadow-focus);
|
||||
}
|
||||
|
||||
.navds-checkbox--error
|
||||
> .navds-checkbox__input:hover:not(:disabled):not(:checked):not(:indeterminate):not(:focus)
|
||||
+ .navds-checkbox__label::before,
|
||||
.navds-radio--error
|
||||
> .navds-radio__input:hover:not(:disabled):not(:checked):not(:indeterminate):not(:focus)
|
||||
+ .navds-radio__label::before {
|
||||
.navds-radio--error > .navds-radio__input:hover:not(:disabled):not(:checked):not(:focus) + .navds-radio__label::before {
|
||||
background-color: var(--ac-radio-checkbox-error-hover-bg, var(--a-surface-danger-subtle));
|
||||
box-shadow: inset 0 0 0 2px var(--ac-radio-checkbox-error-border, var(--a-border-danger));
|
||||
}
|
||||
@@ -171,9 +165,7 @@
|
||||
.navds-checkbox--error
|
||||
> .navds-checkbox__input:focus:hover:not(:disabled):not(:checked):not(:indeterminate)
|
||||
+ .navds-checkbox__label::before,
|
||||
.navds-radio--error
|
||||
> .navds-radio__input:focus:hover:not(:disabled):not(:checked):not(:indeterminate)
|
||||
+ .navds-radio__label::before {
|
||||
.navds-radio--error > .navds-radio__input:focus:hover:not(:disabled):not(:checked) + .navds-radio__label::before {
|
||||
background-color: var(--ac-radio-checkbox-error-hover-bg, var(--a-surface-danger-subtle));
|
||||
box-shadow: inset 0 0 0 2px var(--ac-radio-checkbox-error-border, var(--a-border-danger)), var(--a-shadow-focus);
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
}
|
||||
|
||||
.navds-form-field--small .navds-text-field__input {
|
||||
padding: 0 0.25rem;
|
||||
padding: 0 0.5rem;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navikt/ds-css",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.4",
|
||||
"description": "CSS for NAV Designsystem",
|
||||
"author": "Aksel | NAV designsystem team",
|
||||
"keywords": [
|
||||
@@ -20,7 +20,7 @@
|
||||
"watch": "postcss --watch --use postcss-import -o dist/index.css index.css"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@navikt/ds-tokens": "^2.0.2",
|
||||
"@navikt/ds-tokens": "^2.1.4",
|
||||
"normalize.css": "^8.0.1",
|
||||
"postcss": "^8.4.0",
|
||||
"postcss-cli": "^9.0.0",
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
"--ac-alert-success-bg": "--a-surface-success-subtle"
|
||||
},
|
||||
"accordion": {
|
||||
"--ac-accordion-header-border": "--a-border-strong",
|
||||
"--ac-accordion-header-text-hover": "--a-text-action-on-action-subtle",
|
||||
"--ac-accordion-header-border-hover": "--a-border-strong",
|
||||
"--ac-accordion-item-bg-open": "--a-surface-action-subtle",
|
||||
|
||||
@@ -1,5 +1,180 @@
|
||||
# @navikt/ds-react
|
||||
|
||||
## 2.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`87f194c1d`](https://github.com/navikt/Designsystemet/commit/87f194c1dc29b10a604de676b358d117e2dbf52f) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset edgecase i useRangepicker der valg av startdato etter sluttdato ga feil output
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1771](https://github.com/navikt/Designsystemet/pull/1771) [`494566e60`](https://github.com/navikt/Designsystemet/commit/494566e604e958363f75ebfa2adbc1669397636a) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Monthpicker håndterer nå visning av År riktig
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.1.2
|
||||
|
||||
## 2.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1759](https://github.com/navikt/Designsystemet/pull/1759) [`dcf5cfc06`](https://github.com/navikt/Designsystemet/commit/dcf5cfc06b751341559ef30085bd974820531e57) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset @types/react v18 feil introdusert i v2.0.6
|
||||
|
||||
- Updated dependencies [[`dcf5cfc06`](https://github.com/navikt/Designsystemet/commit/dcf5cfc06b751341559ef30085bd974820531e57)]:
|
||||
- @navikt/ds-icons@2.1.1
|
||||
|
||||
## 2.1.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [`0873fe652`](https://github.com/navikt/Designsystemet/commit/0873fe6520e817e462197c162b49c05826da4838) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Datepicker/Monthpicker støtter nå år med 2 siffer i input
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.1.0
|
||||
|
||||
## 2.0.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`98177d0cd`](https://github.com/navikt/Designsystemet/commit/98177d0cd3802029dcf398ce93c1767d3b0860c5) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Bedre typer for ref i datepicker
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.18
|
||||
|
||||
## 2.0.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`27e3dfee0`](https://github.com/navikt/Designsystemet/commit/27e3dfee07e135893e9f62cd32f80ed83a3510de)]:
|
||||
- @navikt/ds-icons@2.0.17
|
||||
|
||||
## 2.0.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`54f8b0795`](https://github.com/navikt/Designsystemet/commit/54f8b07956bbfb7de51f6682a5fc64903bfd1bdf)]:
|
||||
- @navikt/ds-icons@2.0.16
|
||||
|
||||
## 2.0.15
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1748](https://github.com/navikt/Designsystemet/pull/1748) [`22dfd8e60`](https://github.com/navikt/Designsystemet/commit/22dfd8e60315c421749394d35e41f412a00a7593) Thanks [@KenAJoh](https://github.com/KenAJoh)! - toptextPosition prop i Chat for horisontal plassering av navn og dato.
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.15
|
||||
|
||||
## 2.0.14
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`8e5c55443`](https://github.com/navikt/Designsystemet/commit/8e5c554431c98b1b658c5054c0b3cf08b8a65e52) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Bumpet @floating-ui/react
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.14
|
||||
|
||||
## 2.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`a6c339123`](https://github.com/navikt/Designsystemet/commit/a6c3391237f13394063e4c004ac9efb1875fc944)]:
|
||||
- @navikt/ds-icons@2.0.13
|
||||
|
||||
## 2.0.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.12
|
||||
|
||||
## 2.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.11
|
||||
|
||||
## 2.0.10
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Button submittet form i table
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.10
|
||||
|
||||
## 2.0.9
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- ShouldCloseOnEsc i Modal
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.9
|
||||
|
||||
## 2.0.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Confirmationpanel wrappet med div
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.8
|
||||
|
||||
## 2.0.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- :bug: Fikset keyboard-click i monthpicker
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.7
|
||||
|
||||
## 2.0.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- DateInput hadde duplikat className satt
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.6
|
||||
|
||||
## 2.0.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.5
|
||||
|
||||
## 2.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`e4b6237e1`](https://github.com/navikt/Designsystemet/commit/e4b6237e1bbf13b1ce5415845d558831b47caf7c)]:
|
||||
- @navikt/ds-icons@2.0.4
|
||||
|
||||
## 2.0.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- :sparkles: La til muligheten til å velge layout-strategi for datepicker-popover
|
||||
|
||||
- Updated dependencies []:
|
||||
- @navikt/ds-icons@2.0.3
|
||||
|
||||
## 2.0.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navikt/ds-react",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.4",
|
||||
"description": "Aksel react-components for NAV designsystem",
|
||||
"author": "Aksel | NAV designsystem team",
|
||||
"license": "MIT",
|
||||
@@ -36,8 +36,8 @@
|
||||
"test": "TZ=UTC jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@floating-ui/react-dom-interactions": "0.9.2",
|
||||
"@navikt/ds-icons": "^2.0.2",
|
||||
"@floating-ui/react": "0.17.0",
|
||||
"@navikt/ds-icons": "^2.1.4",
|
||||
"@radix-ui/react-tabs": "1.0.0",
|
||||
"@radix-ui/react-toggle-group": "1.0.0",
|
||||
"clsx": "^1.2.1",
|
||||
@@ -52,7 +52,6 @@
|
||||
"@testing-library/user-event": "^14.2.0",
|
||||
"@types/faker": "5.5.8",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react-modal": "^3.13.1",
|
||||
"concurrently": "7.2.1",
|
||||
"copyfiles": "^2.4.1",
|
||||
|
||||
@@ -19,6 +19,10 @@ export interface BubbleProps extends HTMLAttributes<HTMLDivElement> {
|
||||
* Background color on bubble
|
||||
*/
|
||||
backgroundColor?: string;
|
||||
/**
|
||||
* Overrides hoizontal position of toptext
|
||||
*/
|
||||
toptextPosition?: "left" | "right";
|
||||
}
|
||||
|
||||
export type BubbleType = React.ForwardRefExoticComponent<
|
||||
@@ -26,7 +30,18 @@ export type BubbleType = React.ForwardRefExoticComponent<
|
||||
>;
|
||||
|
||||
const Bubble: BubbleType = forwardRef(
|
||||
({ children, className, name, timestamp, backgroundColor, ...rest }, ref) => {
|
||||
(
|
||||
{
|
||||
children,
|
||||
className,
|
||||
name,
|
||||
timestamp,
|
||||
backgroundColor,
|
||||
toptextPosition,
|
||||
...rest
|
||||
},
|
||||
ref
|
||||
) => {
|
||||
return (
|
||||
<div
|
||||
ref={ref}
|
||||
@@ -35,7 +50,12 @@ const Bubble: BubbleType = forwardRef(
|
||||
{...rest}
|
||||
>
|
||||
{(timestamp || name) && (
|
||||
<div className="navds-chat__top-text">
|
||||
<div
|
||||
className={cl(
|
||||
`navds-chat__top-text`,
|
||||
toptextPosition && `navds-chat__top-text--${toptextPosition}`
|
||||
)}
|
||||
>
|
||||
{name && <Detail className="navds-chat__name">{name}</Detail>}
|
||||
{timestamp && (
|
||||
<Detail className="navds-chat__timestamp">{timestamp}</Detail>
|
||||
|
||||
@@ -33,6 +33,11 @@ export interface ChatProps extends HTMLAttributes<HTMLDivElement> {
|
||||
* @default "left"
|
||||
*/
|
||||
position?: "left" | "right";
|
||||
/**
|
||||
* Hoizontal position of toptext
|
||||
* @default Same as chat
|
||||
*/
|
||||
toptextPosition?: "left" | "right";
|
||||
}
|
||||
|
||||
interface ChatComponent
|
||||
@@ -53,6 +58,7 @@ export const Chat = forwardRef<HTMLDivElement, ChatProps>(
|
||||
position = "left",
|
||||
avatarBgColor,
|
||||
backgroundColor,
|
||||
toptextPosition,
|
||||
...rest
|
||||
},
|
||||
ref
|
||||
@@ -60,7 +66,13 @@ export const Chat = forwardRef<HTMLDivElement, ChatProps>(
|
||||
return (
|
||||
<div
|
||||
ref={ref}
|
||||
className={cl("navds-chat", className, `navds-chat--${position}`)}
|
||||
className={cl(
|
||||
"navds-chat",
|
||||
className,
|
||||
`navds-chat--${position} navds-chat--top-text-${
|
||||
toptextPosition ?? position
|
||||
}`
|
||||
)}
|
||||
{...rest}
|
||||
>
|
||||
<BodyShort
|
||||
|
||||
@@ -116,6 +116,57 @@ export const Position = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export const ToptextPosition = () => {
|
||||
return (
|
||||
<div className="colgap">
|
||||
<Chat
|
||||
avatar="ON"
|
||||
name="Ola Normann"
|
||||
timestamp="01.01.21 14:00"
|
||||
backgroundColor="rgba(255, 249, 240, 1)"
|
||||
avatarBgColor="rgba(255, 236, 204, 1)"
|
||||
toptextPosition="right"
|
||||
>
|
||||
<Chat.Bubble>
|
||||
Adipisicing laborum est eu laborum est sit in commodo enim sint
|
||||
laboris labore nisi ut.
|
||||
</Chat.Bubble>
|
||||
</Chat>
|
||||
<Chat
|
||||
avatar="KH"
|
||||
name="Kari Høyli"
|
||||
timestamp="01.01.21 14:32"
|
||||
position="right"
|
||||
backgroundColor="rgba(230, 240, 255, 1)"
|
||||
avatarBgColor="rgba(204, 225, 255, 1)"
|
||||
toptextPosition="left"
|
||||
>
|
||||
<Chat.Bubble>
|
||||
Reprehenderit pariatur officia exercitation laboris.
|
||||
</Chat.Bubble>
|
||||
<Chat.Bubble>
|
||||
Enim velit deserunt do quis. Eu fugiat magna esse dolore ad sunt sit
|
||||
est dolore incididunt. Occaecat cupidatat magna.
|
||||
</Chat.Bubble>
|
||||
</Chat>
|
||||
<Chat
|
||||
avatar="ON"
|
||||
name="Ola Normann"
|
||||
timestamp="01.01.21 15:00"
|
||||
backgroundColor="rgba(255, 249, 240, 1)"
|
||||
avatarBgColor="rgba(255, 236, 204, 1)"
|
||||
>
|
||||
<Chat.Bubble toptextPosition="right">
|
||||
Exercitation irure Lorem cupidatat culpa anim cillum esse ullamco qui
|
||||
dolore laborum et Lorem. Labore sunt duis id Lorem voluptate commodo
|
||||
ea esse. Dolore esse aliqua proident ea ad commodo ut dolore voluptate
|
||||
labore sunt aute.
|
||||
</Chat.Bubble>
|
||||
</Chat>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export const Avatar = () => {
|
||||
return (
|
||||
<Chat avatar={<Illustration />} timestamp="01.01.21 14:00">
|
||||
|
||||
@@ -108,7 +108,6 @@ const DateInput: DateInputType = forwardRef<HTMLInputElement, DateInputProps>(
|
||||
autoComplete="off"
|
||||
aria-controls={ariaId}
|
||||
className={cl(
|
||||
className,
|
||||
"navds-date__field-input",
|
||||
"navds-text-field__input",
|
||||
"navds-body-short",
|
||||
|
||||
@@ -107,6 +107,13 @@ export interface DatePickerDefaultProps
|
||||
* onOpenToggle callback for user-controlled state. Only called if `<DatePicker.Input />` is used
|
||||
*/
|
||||
onOpenToggle?: () => void;
|
||||
/**
|
||||
* Avoid using if possible!
|
||||
* Changes what CSS position property to use
|
||||
* You want to use "fixed" if parent wrapper has position relative, but you want popover to escape
|
||||
* @default "absolute"
|
||||
*/
|
||||
strategy?: "absolute" | "fixed";
|
||||
}
|
||||
|
||||
export type DatePickerProps = DatePickerDefaultProps & ConditionalModeProps;
|
||||
@@ -134,6 +141,7 @@ export const DatePicker = forwardRef<HTMLDivElement, DatePickerProps>(
|
||||
open: _open,
|
||||
onClose,
|
||||
onOpenToggle,
|
||||
strategy = "absolute",
|
||||
...rest
|
||||
},
|
||||
ref
|
||||
@@ -204,6 +212,7 @@ export const DatePicker = forwardRef<HTMLDivElement, DatePickerProps>(
|
||||
id={ariaId}
|
||||
role="dialog"
|
||||
ref={ref}
|
||||
strategy={strategy}
|
||||
>
|
||||
<DayPicker
|
||||
locale={getLocaleFromString(locale)}
|
||||
|
||||
@@ -18,7 +18,7 @@ import { Head } from "./Head";
|
||||
interface DatePickerStandaloneDefaultProps
|
||||
extends Omit<
|
||||
DatePickerDefaultProps,
|
||||
"open" | "onClose" | "onOpenToggle" | "wrapperClassName"
|
||||
"open" | "onClose" | "onOpenToggle" | "wrapperClassName" | "strategy"
|
||||
> {
|
||||
/**
|
||||
* Datepicker classname
|
||||
|
||||
@@ -164,6 +164,7 @@ export const UseRangedDatepicker = () => {
|
||||
UNSAFE_useRangeDatepicker({
|
||||
fromDate: new Date("Aug 23 2019"),
|
||||
onRangeChange: console.log,
|
||||
onValidate: console.log,
|
||||
});
|
||||
|
||||
return (
|
||||
|
||||
@@ -49,6 +49,13 @@ export interface UseDatepickerOptions
|
||||
* validation-callback
|
||||
*/
|
||||
onValidate?: (val: DateValidationT) => void;
|
||||
/**
|
||||
* Allows input of with 'yy' year format.
|
||||
* @default true
|
||||
* @Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.
|
||||
* In 2023 this equals to 1943 - 2042
|
||||
*/
|
||||
allowTwoDigitYear?: boolean;
|
||||
}
|
||||
|
||||
interface UseDatepickerValue {
|
||||
@@ -59,7 +66,10 @@ interface UseDatepickerValue {
|
||||
/**
|
||||
* Use: <DatePicker.Input {...inputProps}/>
|
||||
*/
|
||||
inputProps: Pick<DateInputProps, "onChange" | "onFocus" | "onBlur" | "value">;
|
||||
inputProps: Pick<
|
||||
DateInputProps,
|
||||
"onChange" | "onFocus" | "onBlur" | "value"
|
||||
> & { ref: React.RefObject<HTMLInputElement> };
|
||||
/**
|
||||
* Resets all states (callback)
|
||||
*/
|
||||
@@ -112,6 +122,7 @@ export const useDatepicker = (
|
||||
inputFormat,
|
||||
onValidate,
|
||||
defaultMonth,
|
||||
allowTwoDigitYear = true,
|
||||
} = opt;
|
||||
|
||||
const locale = getLocaleFromString(_locale);
|
||||
@@ -188,7 +199,13 @@ export const useDatepicker = (
|
||||
|
||||
const handleFocus: React.FocusEventHandler<HTMLInputElement> = (e) => {
|
||||
!open && setOpen(true);
|
||||
let day = parseDate(e.target.value, today, locale, "date");
|
||||
let day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
if (isValidDate(day)) {
|
||||
setMonth(day);
|
||||
setInputValue(formatDateForInput(day, locale, "date", inputFormat));
|
||||
@@ -196,7 +213,13 @@ export const useDatepicker = (
|
||||
};
|
||||
|
||||
const handleBlur: React.FocusEventHandler<HTMLInputElement> = (e) => {
|
||||
let day = parseDate(e.target.value, today, locale, "date");
|
||||
let day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
isValidDate(day) &&
|
||||
setInputValue(formatDateForInput(day, locale, "date", inputFormat));
|
||||
};
|
||||
@@ -227,7 +250,13 @@ export const useDatepicker = (
|
||||
// the calendar’s month.
|
||||
const handleChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {
|
||||
setInputValue(e.target.value);
|
||||
const day = parseDate(e.target.value, today, locale, "date");
|
||||
const day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
|
||||
const isBefore =
|
||||
fromDate && day && differenceInCalendarDays(fromDate, day) > 0;
|
||||
|
||||
@@ -35,6 +35,13 @@ export interface UseMonthPickerOptions
|
||||
* Default shown year
|
||||
*/
|
||||
defaultYear?: Date;
|
||||
/**
|
||||
* Allows input of with 'yy' year format.
|
||||
* @default true
|
||||
* @Note Decision between 20th and 21st century is based on before(todays year - 80) ? 21st : 20th.
|
||||
* In 2023 this equals to 1943 - 2042
|
||||
*/
|
||||
allowTwoDigitYear?: boolean;
|
||||
}
|
||||
|
||||
interface UseMonthPickerValue {
|
||||
@@ -45,7 +52,9 @@ interface UseMonthPickerValue {
|
||||
/**
|
||||
* Use: <MonthPicker.Input {...inputProps} />
|
||||
*/
|
||||
inputProps: Pick<DateInputProps, "onChange" | "onFocus" | "value">;
|
||||
inputProps: Pick<DateInputProps, "onChange" | "onFocus" | "value"> & {
|
||||
ref: React.RefObject<HTMLInputElement>;
|
||||
};
|
||||
/**
|
||||
* Currently selected Date
|
||||
* Up to user to validate value and extract month
|
||||
@@ -94,6 +103,7 @@ export const useMonthpicker = (
|
||||
inputFormat,
|
||||
onValidate,
|
||||
defaultYear,
|
||||
allowTwoDigitYear = true,
|
||||
} = opt;
|
||||
|
||||
const [defaultSelected, setDefaultSelected] = useState(_defaultSelected);
|
||||
@@ -101,7 +111,7 @@ export const useMonthpicker = (
|
||||
const today = new Date();
|
||||
const locale = getLocaleFromString(_locale);
|
||||
|
||||
const inputRef = useRef<HTMLDivElement>(null);
|
||||
const inputRef = useRef<HTMLInputElement>(null);
|
||||
const monthpickerRef = useRef<HTMLDivElement>(null);
|
||||
|
||||
// Initialize states
|
||||
@@ -171,15 +181,29 @@ export const useMonthpicker = (
|
||||
|
||||
const handleFocus: React.FocusEventHandler<HTMLInputElement> = (e) => {
|
||||
!open && setOpen(true);
|
||||
let day = parseDate(e.target.value, today, locale, "month");
|
||||
let day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"month",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
if (isValidDate(day)) {
|
||||
setYear(day);
|
||||
setInputValue(formatDateForInput(day, locale, "month", inputFormat));
|
||||
} else {
|
||||
setYear(defaultSelected ?? defaultYear ?? today);
|
||||
}
|
||||
};
|
||||
|
||||
const handleBlur: React.FocusEventHandler<HTMLInputElement> = (e) => {
|
||||
let day = parseDate(e.target.value, today, locale, "month");
|
||||
let day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"month",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
isValidDate(day) &&
|
||||
setInputValue(formatDateForInput(day, locale, "month", inputFormat));
|
||||
};
|
||||
@@ -189,12 +213,14 @@ export const useMonthpicker = (
|
||||
if (month) {
|
||||
setOpen(false);
|
||||
inputRef.current && inputRef.current.focus();
|
||||
setYear(month);
|
||||
}
|
||||
|
||||
if (!required && !month) {
|
||||
updateMonth(undefined);
|
||||
updateValidation({ isValidMonth: false, isEmpty: true });
|
||||
setInputValue("");
|
||||
setYear(defaultYear ?? today);
|
||||
return;
|
||||
}
|
||||
updateMonth(month);
|
||||
@@ -209,7 +235,13 @@ export const useMonthpicker = (
|
||||
// the calendar’s month.
|
||||
const handleChange: React.ChangeEventHandler<HTMLInputElement> = (e) => {
|
||||
setInputValue(e.target.value);
|
||||
const month = parseDate(e.target.value, today, locale, "month");
|
||||
const month = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"month",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
|
||||
const isBefore =
|
||||
fromDate &&
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import differenceInCalendarDays from "date-fns/differenceInCalendarDays";
|
||||
import { isBefore } from "date-fns/esm";
|
||||
import isWeekend from "date-fns/isWeekend";
|
||||
import { useCallback, useEffect, useRef, useState } from "react";
|
||||
import React, { useCallback, useEffect, useRef, useState } from "react";
|
||||
import { DateRange, isMatch } from "react-day-picker";
|
||||
import { DateInputProps } from "../DateInput";
|
||||
import { DatePickerProps } from "../datepicker/DatePicker";
|
||||
@@ -71,14 +72,14 @@ interface UseRangeDatepickerValue {
|
||||
fromInputProps: Pick<
|
||||
DateInputProps,
|
||||
"onChange" | "onFocus" | "onBlur" | "value"
|
||||
>;
|
||||
> & { ref: React.RefObject<HTMLInputElement> };
|
||||
/**
|
||||
* Use: <DatePicker.Input label="to" {...toInputProps}/>
|
||||
*/
|
||||
toInputProps: Pick<
|
||||
DateInputProps,
|
||||
"onChange" | "onFocus" | "onBlur" | "value"
|
||||
>;
|
||||
> & { ref: React.RefObject<HTMLInputElement> };
|
||||
/**
|
||||
* Resets all states (callback)
|
||||
*/
|
||||
@@ -202,12 +203,13 @@ export const useRangeDatepicker = (
|
||||
inputFormat,
|
||||
onValidate,
|
||||
defaultMonth,
|
||||
allowTwoDigitYear = true,
|
||||
} = opt;
|
||||
|
||||
const locale = getLocaleFromString(_locale);
|
||||
|
||||
const inputRefTo = useRef<HTMLDivElement>(null);
|
||||
const inputRefFrom = useRef<HTMLDivElement>(null);
|
||||
const inputRefTo = useRef<HTMLInputElement>(null);
|
||||
const inputRefFrom = useRef<HTMLInputElement>(null);
|
||||
const datePickerRef = useRef<HTMLDivElement | null>(null);
|
||||
|
||||
const [defaultSelected, setDefaultSelected] = useState(_defaultSelected);
|
||||
@@ -322,7 +324,13 @@ export const useRangeDatepicker = (
|
||||
|
||||
const handleFocus = (e, src: RangeT) => {
|
||||
!open && setOpen(true);
|
||||
let day = parseDate(e.target.value, today, locale, "date");
|
||||
let day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
if (isValidDate(day)) {
|
||||
setMonth(day);
|
||||
src === RANGE.FROM
|
||||
@@ -334,7 +342,13 @@ export const useRangeDatepicker = (
|
||||
};
|
||||
|
||||
const handleBlur = (e, src: RangeT) => {
|
||||
let day = parseDate(e.target.value, today, locale, "date");
|
||||
let day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
if (!isValidDate(day)) {
|
||||
return;
|
||||
}
|
||||
@@ -358,24 +372,26 @@ export const useRangeDatepicker = (
|
||||
if (range?.from && range?.to) {
|
||||
setOpen(false);
|
||||
}
|
||||
const prevToRange =
|
||||
let prevToRange =
|
||||
!selectedRange?.from && selectedRange?.to ? selectedRange?.to : range?.to;
|
||||
|
||||
const resetTo = isBefore(prevToRange, range?.from);
|
||||
|
||||
range?.from
|
||||
? setFromInputValue(
|
||||
formatDateForInput(range?.from, locale, "date", inputFormat)
|
||||
)
|
||||
: setFromInputValue("");
|
||||
prevToRange
|
||||
prevToRange && !resetTo
|
||||
? setToInputValue(
|
||||
formatDateForInput(prevToRange, locale, "date", inputFormat)
|
||||
)
|
||||
: setToInputValue("");
|
||||
updateValidation(
|
||||
{ isValidDate: !!range?.from, isEmpty: !range?.from },
|
||||
{ isValidDate: !!range?.to, isEmpty: !prevToRange }
|
||||
{ isValidDate: !!range?.to, isEmpty: !prevToRange || resetTo }
|
||||
);
|
||||
updateRange({ from: range?.from, to: prevToRange });
|
||||
updateRange({ from: range?.from, to: resetTo ? undefined : prevToRange });
|
||||
};
|
||||
|
||||
const fromChange = (
|
||||
@@ -426,7 +442,13 @@ export const useRangeDatepicker = (
|
||||
}
|
||||
|
||||
if (toInputValue && !selectedRange?.to) {
|
||||
const toDay = parseDate(toInputValue, today, locale, "date");
|
||||
const toDay = parseDate(
|
||||
toInputValue,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
if (validateDay(toDay)) {
|
||||
updateRange({ from: day, to: toDay });
|
||||
setMonth(day);
|
||||
@@ -489,7 +511,13 @@ export const useRangeDatepicker = (
|
||||
|
||||
/* live-update datepicker based on changes in inputfields */
|
||||
const handleChange = (e, src: RangeT) => {
|
||||
const day = parseDate(e.target.value, today, locale, "date");
|
||||
const day = parseDate(
|
||||
e.target.value,
|
||||
today,
|
||||
locale,
|
||||
"date",
|
||||
allowTwoDigitYear
|
||||
);
|
||||
const isBefore = fromDate && differenceInCalendarDays(fromDate, day) > 0;
|
||||
const isAfter = toDate && differenceInCalendarDays(day, toDate) > 0;
|
||||
|
||||
|
||||
@@ -74,7 +74,6 @@ export const MonthButton = ({
|
||||
: -1
|
||||
}
|
||||
onKeyDown={(e) => {
|
||||
e.preventDefault();
|
||||
const next = nextEnabled(
|
||||
months,
|
||||
e.key,
|
||||
|
||||
@@ -79,6 +79,13 @@ export interface MonthPickerProps extends React.HTMLAttributes<HTMLDivElement> {
|
||||
* Event fired when the user navigates between years.
|
||||
*/
|
||||
onYearChange?: (y?: Date) => void;
|
||||
/**
|
||||
* Avoid using if possible!
|
||||
* Changes what CSS position property to use
|
||||
* You want to use "fixed" if parent wrapper has position relative, but you want popover to escape
|
||||
* @default "absolute"
|
||||
*/
|
||||
strategy?: "absolute" | "fixed";
|
||||
}
|
||||
|
||||
interface MonthPickerComponent
|
||||
@@ -113,6 +120,7 @@ export const MonthPicker = forwardRef<HTMLDivElement, MonthPickerProps>(
|
||||
defaultSelected,
|
||||
year,
|
||||
onYearChange,
|
||||
strategy = "absolute",
|
||||
},
|
||||
ref
|
||||
) => {
|
||||
@@ -126,7 +134,7 @@ export const MonthPicker = forwardRef<HTMLDivElement, MonthPickerProps>(
|
||||
);
|
||||
|
||||
const handleSelect = (month?: Date) => {
|
||||
setSelectedMonth(month);
|
||||
!onMonthSelect && setSelectedMonth(month);
|
||||
onMonthSelect?.(month);
|
||||
month && (onClose?.() ?? setOpen(false));
|
||||
};
|
||||
@@ -163,10 +171,11 @@ export const MonthPicker = forwardRef<HTMLDivElement, MonthPickerProps>(
|
||||
ref={ref}
|
||||
id={ariaId}
|
||||
className="navds-date"
|
||||
strategy={strategy}
|
||||
>
|
||||
<RootProvider
|
||||
locale={getLocaleFromString(locale)}
|
||||
selected={selected}
|
||||
selected={selected ?? selectedMonth}
|
||||
toDate={toDate}
|
||||
fromDate={fromDate}
|
||||
month={selected ?? selectedMonth}
|
||||
|
||||
@@ -10,7 +10,7 @@ import MonthSelector from "./MonthSelector";
|
||||
export interface MonthPickerStandaloneProps
|
||||
extends Omit<
|
||||
MonthPickerProps,
|
||||
"open" | "onClose" | "onOpenToggle" | "wrapperClassName"
|
||||
"open" | "onClose" | "onOpenToggle" | "wrapperClassName" | "strategy"
|
||||
> {
|
||||
/**
|
||||
* Monthpicker classname
|
||||
|
||||
@@ -36,7 +36,7 @@ describe("Returns if year is at start or end of range", () => {
|
||||
expect(hasNextYear(new Date(), years, 1)).toBeTruthy();
|
||||
});
|
||||
test("Should have previous year (true)", () => {
|
||||
expect(hasNextYear(new Date("Aug 3 2023"), years, -1)).toBeTruthy();
|
||||
expect(hasNextYear(new Date("Aug 3 2024"), years, -1)).toBeTruthy();
|
||||
});
|
||||
test("Should not have next year (false)", () => {
|
||||
expect(hasNextYear(new Date("Aug 3 2029"), years, 1)).toBeFalsy();
|
||||
|
||||
@@ -2,7 +2,9 @@ import { parseDate } from "../parse-date";
|
||||
import nb from "date-fns/locale/nb";
|
||||
import { formatDateForInput } from "../format-date";
|
||||
|
||||
const parse = (inp: string) => parseDate(inp, new Date(), nb, "date");
|
||||
const parse = (inp: string) => parseDate(inp, new Date(), nb, "date", false);
|
||||
const parseTwoDigit = (inp: string) =>
|
||||
parseDate(inp, new Date(), nb, "date", true);
|
||||
|
||||
describe("Format date to correct output", () => {
|
||||
test("formatDateForInput", () => {
|
||||
@@ -19,4 +21,12 @@ describe("Format date to correct output", () => {
|
||||
"15.05.2022"
|
||||
);
|
||||
});
|
||||
test("formatDateForInput with twoDigitYears", () => {
|
||||
expect(formatDateForInput(parseTwoDigit("15/05/22"), nb, "date")).toEqual(
|
||||
"15.05.2022"
|
||||
);
|
||||
expect(formatDateForInput(parseTwoDigit("1/5/95"), nb, "date")).toEqual(
|
||||
"01.05.1995"
|
||||
);
|
||||
});
|
||||
});
|
||||
@@ -4,11 +4,14 @@ import nb from "date-fns/locale/nb";
|
||||
import getMonth from "date-fns/getMonth";
|
||||
|
||||
const check = (inp: string) =>
|
||||
expect(isValidDate(parseDate(inp, new Date(), nb, "date")));
|
||||
expect(isValidDate(parseDate(inp, new Date(), nb, "date", false)));
|
||||
|
||||
const parse = (inp: string) => parseDate(inp, new Date(), nb, "date");
|
||||
const checkTwoDigit = (inp: string) =>
|
||||
expect(isValidDate(parseDate(inp, new Date(), nb, "date", true)));
|
||||
|
||||
describe("Parse date-inputs", () => {
|
||||
const parse = (inp: string) => parseDate(inp, new Date(), nb, "date", false);
|
||||
|
||||
describe("Parse date-inputs with 4-digit years", () => {
|
||||
test("No spaces", () => {
|
||||
check("11052022").toBeTruthy();
|
||||
check("15052022").toBeTruthy();
|
||||
@@ -34,6 +37,44 @@ describe("Parse date-inputs", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe("Parse date-inputs with 2-digit years", () => {
|
||||
test("No spaces", () => {
|
||||
checkTwoDigit("110522").toBeTruthy();
|
||||
checkTwoDigit("150522").toBeTruthy();
|
||||
});
|
||||
|
||||
test(". divider", () => {
|
||||
checkTwoDigit("1.5.22").toBeTruthy();
|
||||
checkTwoDigit("11.05.22").toBeTruthy();
|
||||
});
|
||||
|
||||
test("/ divider", () => {
|
||||
checkTwoDigit("1/5/22").toBeTruthy();
|
||||
checkTwoDigit("10/5/22").toBeTruthy();
|
||||
checkTwoDigit("1/05/22").toBeTruthy();
|
||||
checkTwoDigit("10/05/22").toBeTruthy();
|
||||
});
|
||||
|
||||
test("- divider", () => {
|
||||
checkTwoDigit("1-5-22").toBeTruthy();
|
||||
checkTwoDigit("10-5-22").toBeTruthy();
|
||||
checkTwoDigit("1-05-22").toBeTruthy();
|
||||
checkTwoDigit("10-05-22").toBeTruthy();
|
||||
});
|
||||
|
||||
test("Dissallow 1 and 3 digit years", () => {
|
||||
checkTwoDigit("11052").toBeFalsy();
|
||||
checkTwoDigit("1105222").toBeFalsy();
|
||||
checkTwoDigit("1105999").toBeFalsy();
|
||||
});
|
||||
|
||||
test("Dissallow date before year 1000", () => {
|
||||
checkTwoDigit("11050999").toBeFalsy();
|
||||
checkTwoDigit("11050010").toBeFalsy();
|
||||
checkTwoDigit("11051000").toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
describe("Parse date-inputs to correct month", () => {
|
||||
test("No spaces", () => {
|
||||
expect(getMonth(parse("11052022"))).toEqual(4);
|
||||
|
||||
@@ -10,7 +10,7 @@ export const dateIsInCurrentMonth = (
|
||||
|
||||
/** @private */
|
||||
export function isValidDate(day: Date): boolean {
|
||||
return !isNaN(day.getTime());
|
||||
return day && !isNaN(day?.getTime()) && day.getFullYear() > 999;
|
||||
}
|
||||
|
||||
export const hasNextYear = (year: Date, years: Date[], val: any): boolean => {
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
import parse from "date-fns/parse";
|
||||
import isBefore from "date-fns/isBefore";
|
||||
import sub from "date-fns/sub";
|
||||
import { isValidDate } from ".";
|
||||
|
||||
export const INPUT_DATE_STRING_FORMAT_DATE = "dd.MM.yyyy";
|
||||
@@ -22,7 +24,60 @@ const ALLOWED_INPUT_FORMATS_MONTH = [
|
||||
...ALLOWED_INPUT_FORMATS_DATE,
|
||||
];
|
||||
|
||||
const isTwoDigitYear = (dateString, today, locale, formats) => {
|
||||
export const parseDate = (
|
||||
date: string,
|
||||
today: Date,
|
||||
locale: Locale,
|
||||
type: "date" | "month",
|
||||
allowTwoDigitYear: boolean
|
||||
): Date => {
|
||||
let parsed;
|
||||
const ALLOWED_FORMATS =
|
||||
type === "date" ? ALLOWED_INPUT_FORMATS_DATE : ALLOWED_INPUT_FORMATS_MONTH;
|
||||
|
||||
if (allowTwoDigitYear) {
|
||||
for (const format of ALLOWED_FORMATS) {
|
||||
parsed = parse(date, format, today, { locale });
|
||||
if (
|
||||
isValidDate(parsed) &&
|
||||
!isTwoDigitYear(date, today, locale, ALLOWED_FORMATS)
|
||||
) {
|
||||
return parsed;
|
||||
}
|
||||
}
|
||||
for (const format of [
|
||||
...ALLOWED_FORMATS.map((x) => x.replace("yyyy", "yy")),
|
||||
]) {
|
||||
parsed = parse(date, format, today, { locale });
|
||||
if (
|
||||
isValidDate(parsed) &&
|
||||
isTwoDigitYear(date, today, locale, ALLOWED_FORMATS)
|
||||
) {
|
||||
const convertedDate = assignCenturyToDate(date, format, today, locale);
|
||||
|
||||
if (isValidDate(new Date(convertedDate))) {
|
||||
return new Date(convertedDate);
|
||||
} else {
|
||||
return new Date("Invalid date");
|
||||
}
|
||||
}
|
||||
}
|
||||
return new Date("Invalid date");
|
||||
} else {
|
||||
for (const format of ALLOWED_FORMATS) {
|
||||
parsed = parse(date, format, today, { locale });
|
||||
if (
|
||||
isValidDate(parsed) &&
|
||||
!isTwoDigitYear(date, today, locale, ALLOWED_FORMATS)
|
||||
) {
|
||||
return parsed;
|
||||
}
|
||||
}
|
||||
return new Date("Invalid date");
|
||||
}
|
||||
};
|
||||
|
||||
function isTwoDigitYear(dateString, today, locale, formats) {
|
||||
let parsed;
|
||||
const newFormat = formats.map((x) => x.replace("yyyy", "yy"));
|
||||
for (const format of newFormat) {
|
||||
@@ -32,25 +87,49 @@ const isTwoDigitYear = (dateString, today, locale, formats) => {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
export const parseDate = (
|
||||
date: string,
|
||||
function assignCenturyToDate(
|
||||
dateStr: string,
|
||||
format: string,
|
||||
today: Date,
|
||||
locale: Locale,
|
||||
type: "date" | "month"
|
||||
): Date => {
|
||||
let parsed;
|
||||
const ALLOWED_FORMATS =
|
||||
type === "date" ? ALLOWED_INPUT_FORMATS_DATE : ALLOWED_INPUT_FORMATS_MONTH;
|
||||
for (const format of ALLOWED_FORMATS) {
|
||||
parsed = parse(date, format, today, { locale });
|
||||
if (
|
||||
isValidDate(parsed) &&
|
||||
!isTwoDigitYear(date, today, locale, ALLOWED_FORMATS)
|
||||
) {
|
||||
return parsed;
|
||||
}
|
||||
locale: Locale
|
||||
) {
|
||||
const date20Century = parse(
|
||||
appendCenturyToTwoYearDigitDateString(dateStr, "19"),
|
||||
format.replace("yy", "yyyy"),
|
||||
today,
|
||||
{ locale }
|
||||
);
|
||||
|
||||
const date21Century = parse(
|
||||
appendCenturyToTwoYearDigitDateString(dateStr, "20"),
|
||||
format.replace("yy", "yyyy"),
|
||||
today,
|
||||
{ locale }
|
||||
);
|
||||
|
||||
if (isValidDate(date20Century) && isValidDate(date21Century)) {
|
||||
return isBefore(
|
||||
date20Century,
|
||||
sub(new Date(), {
|
||||
years: 80,
|
||||
})
|
||||
)
|
||||
? date21Century
|
||||
: date20Century;
|
||||
}
|
||||
|
||||
return new Date("Invalid date");
|
||||
};
|
||||
}
|
||||
|
||||
function appendCenturyToTwoYearDigitDateString(
|
||||
dateString: string,
|
||||
century: "19" | "20"
|
||||
) {
|
||||
const twoDigitYear = dateString.slice(-2);
|
||||
return `${dateString.slice(
|
||||
0,
|
||||
dateString.length - 2
|
||||
)}${century}${twoDigitYear}`;
|
||||
}
|
||||
@@ -51,6 +51,7 @@ export const ConfirmationPanel = forwardRef<
|
||||
size={props.size}
|
||||
className="navds-confirmation-panel__content"
|
||||
id={`confirmation-panel-${id}`}
|
||||
as="div"
|
||||
>
|
||||
{children}
|
||||
</BodyLong>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { forwardRef, InputHTMLAttributes } from "react";
|
||||
import cl from "clsx";
|
||||
import React, { forwardRef, InputHTMLAttributes } from "react";
|
||||
import { BodyShort, Detail, omit } from "../..";
|
||||
import { FormFieldProps } from "../useFormField";
|
||||
import { useRadio } from "./useRadio";
|
||||
|
||||
@@ -23,7 +23,7 @@ export const Default = (props) => {
|
||||
value={props.controlled ? state : undefined}
|
||||
onChange={props.controlled ? setState : undefined}
|
||||
hideLegend={props.hideLegend}
|
||||
error={props.errorGroup ? "Errormelding" : undefined}
|
||||
error={props.error ? "Errormelding" : undefined}
|
||||
size={props?.size}
|
||||
>
|
||||
<Radio value="radio1">{props.children || "Apple"}</Radio>
|
||||
@@ -41,6 +41,7 @@ export const Default = (props) => {
|
||||
|
||||
Default.args = {
|
||||
controlled: false,
|
||||
error: false,
|
||||
size: "medium",
|
||||
legend: "Legend-tekst",
|
||||
radioDescription: false,
|
||||
|
||||
@@ -6,11 +6,15 @@ interface SVGRProps {
|
||||
titleId?: string;
|
||||
}
|
||||
|
||||
export const DefaultIllustration = ({
|
||||
export type DefaultIllustrationType = React.FunctionComponent<
|
||||
SVGProps<SVGSVGElement> & SVGRProps
|
||||
>;
|
||||
|
||||
export const DefaultIllustration: DefaultIllustrationType = ({
|
||||
title,
|
||||
titleId: _titleId,
|
||||
...props
|
||||
}: SVGProps<SVGSVGElement> & SVGRProps) => {
|
||||
}) => {
|
||||
let titleId: string | undefined = useId();
|
||||
titleId = title ? (_titleId ? _titleId : "title-" + titleId) : undefined;
|
||||
|
||||
|
||||
@@ -33,7 +33,12 @@ export interface LoaderProps extends SVGProps<SVGSVGElement> {
|
||||
variant?: "neutral" | "interaction" | "inverted";
|
||||
}
|
||||
|
||||
export const Loader = forwardRef<SVGSVGElement, LoaderProps>(
|
||||
/* Workaround for @types/react v17/v18 feil */
|
||||
export type LoaderType = React.ForwardRefExoticComponent<
|
||||
LoaderProps & React.RefAttributes<SVGSVGElement>
|
||||
>;
|
||||
|
||||
export const Loader: LoaderType = forwardRef<SVGSVGElement, LoaderProps>(
|
||||
(
|
||||
{
|
||||
children,
|
||||
|
||||
@@ -36,6 +36,10 @@ export interface ModalProps {
|
||||
* @default true
|
||||
*/
|
||||
closeButton?: boolean;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
shouldCloseOnEsc?: boolean;
|
||||
/**
|
||||
* Allows custom styling of ReactModal, in accordance with their typing
|
||||
*/
|
||||
@@ -75,6 +79,7 @@ export const Modal = forwardRef<ReactModal, ModalProps>(
|
||||
className,
|
||||
overlayClassName,
|
||||
shouldCloseOnOverlayClick = true,
|
||||
shouldCloseOnEsc = true,
|
||||
closeButton = true,
|
||||
"aria-describedby": ariaDescribedBy,
|
||||
"aria-labelledby": ariaLabelledBy,
|
||||
@@ -123,6 +128,7 @@ export const Modal = forwardRef<ReactModal, ModalProps>(
|
||||
className={cl("navds-modal", className)}
|
||||
overlayClassName={cl("navds-modal__overlay", overlayClassName)}
|
||||
shouldCloseOnOverlayClick={shouldCloseOnOverlayClick}
|
||||
shouldCloseOnEsc={shouldCloseOnEsc}
|
||||
onRequestClose={(e) => onModalCloseRequest(e)}
|
||||
aria={{
|
||||
describedby: ariaDescribedBy,
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
useDismiss,
|
||||
useFloating,
|
||||
useInteractions,
|
||||
} from "@floating-ui/react-dom-interactions";
|
||||
} from "@floating-ui/react";
|
||||
import cl from "clsx";
|
||||
import React, {
|
||||
forwardRef,
|
||||
|
||||
@@ -44,6 +44,7 @@ export const ColumnHeader: ColumnHeaderType = forwardRef(
|
||||
>
|
||||
{sortable ? (
|
||||
<button
|
||||
type="button"
|
||||
className="navds-table__sort-button"
|
||||
onClick={
|
||||
sortable && sortKey
|
||||
|
||||
@@ -85,6 +85,7 @@ export const ExpandableRow: ExpandableRowType = forwardRef(
|
||||
>
|
||||
{!expansionDisabled && (
|
||||
<button
|
||||
type="button"
|
||||
className="navds-table__toggle-expand-button"
|
||||
aria-controls={id}
|
||||
aria-expanded={isOpen}
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
useFocus,
|
||||
useHover,
|
||||
useInteractions,
|
||||
} from "@floating-ui/react-dom-interactions";
|
||||
} from "@floating-ui/react";
|
||||
import cl from "clsx";
|
||||
import React, {
|
||||
cloneElement,
|
||||
|
||||
@@ -5,8 +5,7 @@ import { OverridableComponent } from "..";
|
||||
export interface DetailProps
|
||||
extends React.HTMLAttributes<HTMLParagraphElement> {
|
||||
/**
|
||||
* medium: 14px, small: 14px
|
||||
* @default "medium"
|
||||
* @deprecated Medium === small
|
||||
*/
|
||||
size?: "medium" | "small";
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,47 @@
|
||||
# @navikt/ds-tailwind
|
||||
|
||||
## 2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
## 2.1.1
|
||||
|
||||
## 2.1.0
|
||||
|
||||
## 2.0.18
|
||||
|
||||
## 2.0.17
|
||||
|
||||
## 2.0.16
|
||||
|
||||
## 2.0.15
|
||||
|
||||
## 2.0.14
|
||||
|
||||
## 2.0.13
|
||||
|
||||
## 2.0.12
|
||||
|
||||
## 2.0.11
|
||||
|
||||
## 2.0.10
|
||||
|
||||
## 2.0.9
|
||||
|
||||
## 2.0.8
|
||||
|
||||
## 2.0.7
|
||||
|
||||
## 2.0.6
|
||||
|
||||
## 2.0.5
|
||||
|
||||
## 2.0.4
|
||||
|
||||
## 2.0.3
|
||||
|
||||
## 2.0.2
|
||||
|
||||
## 2.0.1
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navikt/ds-tailwind",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.4",
|
||||
"description": "Tailwind config based on @navikt/ds-tokens",
|
||||
"author": "Aksel | NAV designsystem team",
|
||||
"keywords": [
|
||||
@@ -22,9 +22,8 @@
|
||||
"directory": "@navikt/core/tailwind"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@navikt/ds-tokens": "^2.0.2",
|
||||
"@navikt/ds-tokens": "^2.1.4",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/node": "^17.0.35",
|
||||
"color": "4.2.3",
|
||||
"jest": "^29.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@@ -1,5 +1,52 @@
|
||||
# @navikt/ds-tokens
|
||||
|
||||
## 2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
## 2.1.1
|
||||
|
||||
## 2.1.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1665](https://github.com/navikt/Designsystemet/pull/1665) [`6ab84e581`](https://github.com/navikt/Designsystemet/commit/6ab84e581f8d3e850bcec340608354335506a051) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :sparkles: Ny Timeline-komponent for interne-flater
|
||||
:bug: Fikset feil danger-hover token
|
||||
|
||||
## 2.0.18
|
||||
|
||||
## 2.0.17
|
||||
|
||||
## 2.0.16
|
||||
|
||||
## 2.0.15
|
||||
|
||||
## 2.0.14
|
||||
|
||||
## 2.0.13
|
||||
|
||||
## 2.0.12
|
||||
|
||||
## 2.0.11
|
||||
|
||||
## 2.0.10
|
||||
|
||||
## 2.0.9
|
||||
|
||||
## 2.0.8
|
||||
|
||||
## 2.0.7
|
||||
|
||||
## 2.0.6
|
||||
|
||||
## 2.0.5
|
||||
|
||||
## 2.0.4
|
||||
|
||||
## 2.0.3
|
||||
|
||||
## 2.0.2
|
||||
|
||||
## 2.0.1
|
||||
|
||||
@@ -240,7 +240,7 @@
|
||||
{ "name": "--a-surface-danger-subtle", "value": "rgba(255, 230, 230, 1)" },
|
||||
{
|
||||
"name": "--a-surface-danger-subtle-hover",
|
||||
"value": "rgba(255, 230, 230, 1)"
|
||||
"value": "rgba(255, 184, 184, 1)"
|
||||
},
|
||||
{ "name": "--a-surface-danger", "value": "rgba(195, 0, 0, 1)" },
|
||||
{ "name": "--a-surface-danger-hover", "value": "rgba(173, 0, 0, 1)" },
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navikt/ds-tokens",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.4",
|
||||
"description": "Design-tokens for NAV designsystem",
|
||||
"author": "Aksel | NAV designsystem team",
|
||||
"keywords": [
|
||||
@@ -31,7 +31,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/node": "^17.0.35",
|
||||
"color": "4.2.3",
|
||||
"jest": "^29.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
|
||||
"danger": {
|
||||
"subtle": {
|
||||
"hover": { "value": "{a.red.50.value}" },
|
||||
"hover": { "value": "{a.red.100.value}" },
|
||||
"@": { "value": "{a.red.50.value}" }
|
||||
},
|
||||
"hover": {
|
||||
|
||||
@@ -1,5 +1,71 @@
|
||||
# @navikt/ds-icons
|
||||
|
||||
## 2.1.4
|
||||
|
||||
## 2.1.3
|
||||
|
||||
## 2.1.2
|
||||
|
||||
## 2.1.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1759](https://github.com/navikt/Designsystemet/pull/1759) [`dcf5cfc06`](https://github.com/navikt/Designsystemet/commit/dcf5cfc06b751341559ef30085bd974820531e57) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Fikset @types/react v18 feil introdusert i v2.0.6
|
||||
|
||||
## 2.1.0
|
||||
|
||||
## 2.0.18
|
||||
|
||||
## 2.0.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`27e3dfee0`](https://github.com/navikt/Designsystemet/commit/27e3dfee07e135893e9f62cd32f80ed83a3510de) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Translate og Paragraph ikon
|
||||
|
||||
## 2.0.16
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`54f8b0795`](https://github.com/navikt/Designsystemet/commit/54f8b07956bbfb7de51f6682a5fc64903bfd1bdf) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Oppdatert ikoner med feile farger
|
||||
|
||||
## 2.0.15
|
||||
|
||||
## 2.0.14
|
||||
|
||||
## 2.0.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [`a6c339123`](https://github.com/navikt/Designsystemet/commit/a6c3391237f13394063e4c004ac9efb1875fc944) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Ikonjusteringer sirkleikoner
|
||||
|
||||
## 2.0.12
|
||||
|
||||
## 2.0.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Oppdatert svg-path i ikoner
|
||||
|
||||
## 2.0.10
|
||||
|
||||
## 2.0.9
|
||||
|
||||
## 2.0.8
|
||||
|
||||
## 2.0.7
|
||||
|
||||
## 2.0.6
|
||||
|
||||
## 2.0.5
|
||||
|
||||
## 2.0.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#1719](https://github.com/navikt/Designsystemet/pull/1719) [`e4b6237e1`](https://github.com/navikt/Designsystemet/commit/e4b6237e1bbf13b1ce5415845d558831b47caf7c) Thanks [@KenAJoh](https://github.com/KenAJoh)! - Oppdatert ikoner
|
||||
|
||||
## 2.0.3
|
||||
|
||||
## 2.0.2
|
||||
|
||||
## 2.0.1
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Fikser https://github.com/navikt/Designsystemet/issues/1758
|
||||
*/
|
||||
|
||||
const fs = require("fs");
|
||||
|
||||
const files = fs.readdirSync(`./esm`).filter((x) => x.endsWith(".d.ts"));
|
||||
|
||||
files.forEach((file) => {
|
||||
let data = fs.readFileSync(`./esm/${file}`).toString().split("\n");
|
||||
|
||||
data = data.map((x) => {
|
||||
return x.includes("React.ForwardRefExoticComponent")
|
||||
? x.split(":")[0] +
|
||||
`: React.ForwardRefExoticComponent<React.SVGProps<SVGSVGElement> & SVGRProps & React.RefAttributes<SVGSVGElement>>;`
|
||||
: x;
|
||||
});
|
||||
|
||||
fs.writeFileSync(`./esm/${file}`, data.join("\n"));
|
||||
});
|
||||
@@ -867,13 +867,13 @@
|
||||
"name": "Eu",
|
||||
"description": "",
|
||||
"created_at": "2022-02-08T11:45:47.104Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "EuFilled",
|
||||
"description": "",
|
||||
"created_at": "2022-02-08T11:45:47.109Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Expand",
|
||||
@@ -1479,13 +1479,13 @@
|
||||
"name": "Law",
|
||||
"description": "",
|
||||
"created_at": "2020-07-01T10:37:42.819Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "LawFilled",
|
||||
"description": "",
|
||||
"created_at": "2021-01-11T13:37:55.330Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Left",
|
||||
@@ -1551,37 +1551,37 @@
|
||||
"name": "Locked",
|
||||
"description": "",
|
||||
"created_at": "2020-07-01T10:37:43.027Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "LockedFilled",
|
||||
"description": "",
|
||||
"created_at": "2021-01-11T13:37:55.325Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Login",
|
||||
"description": "",
|
||||
"created_at": "2020-07-01T10:37:43.087Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "LoginFilled",
|
||||
"description": "",
|
||||
"created_at": "2021-01-11T13:37:55.531Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Logout",
|
||||
"description": "",
|
||||
"created_at": "2020-07-01T10:37:42.931Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "LogoutFilled",
|
||||
"description": "",
|
||||
"created_at": "2021-01-11T13:37:55.609Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Male",
|
||||
@@ -1811,6 +1811,12 @@
|
||||
"created_at": "2021-12-15T15:16:55.869Z",
|
||||
"pageName": "People"
|
||||
},
|
||||
{
|
||||
"name": "Paragraph",
|
||||
"description": "",
|
||||
"created_at": "2023-01-17T13:24:22.989Z",
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Parking",
|
||||
"description": "",
|
||||
@@ -1827,13 +1833,13 @@
|
||||
"name": "Passport",
|
||||
"description": "",
|
||||
"created_at": "2020-07-01T10:37:43.078Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "PassportFilled",
|
||||
"description": "",
|
||||
"created_at": "2021-01-11T13:37:55.757Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "PensionBag",
|
||||
@@ -2063,6 +2069,12 @@
|
||||
"created_at": "2021-01-28T14:00:38.664Z",
|
||||
"pageName": "Objects"
|
||||
},
|
||||
{
|
||||
"name": "Reset",
|
||||
"description": "",
|
||||
"created_at": "2022-11-25T07:14:00.943Z",
|
||||
"pageName": "Arrows"
|
||||
},
|
||||
{
|
||||
"name": "Right",
|
||||
"description": "",
|
||||
@@ -2609,6 +2621,12 @@
|
||||
"created_at": "2021-01-28T14:00:38.585Z",
|
||||
"pageName": "Buildings"
|
||||
},
|
||||
{
|
||||
"name": "Translate",
|
||||
"description": "",
|
||||
"created_at": "2023-01-18T10:52:22.311Z",
|
||||
"pageName": "Interface"
|
||||
},
|
||||
{
|
||||
"name": "Truck",
|
||||
"description": "",
|
||||
@@ -2637,13 +2655,13 @@
|
||||
"name": "Unlocked",
|
||||
"description": "",
|
||||
"created_at": "2020-07-01T10:37:42.823Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "UnlockedFilled",
|
||||
"description": "",
|
||||
"created_at": "2021-01-11T13:37:55.317Z",
|
||||
"pageName": "Privacy and secutity"
|
||||
"pageName": "Privacy and security"
|
||||
},
|
||||
{
|
||||
"name": "Up",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@navikt/ds-icons",
|
||||
"version": "2.0.2",
|
||||
"version": "2.1.4",
|
||||
"description": "Aksel icons for NAV",
|
||||
"author": "Aksel | NAV designsystem team",
|
||||
"repository": {
|
||||
@@ -32,7 +32,7 @@
|
||||
"create-package-json-pointers-to-esm": "node ../../scripts/createPackageJsonsWithESMPointers.js",
|
||||
"create-icons": "svgr --silent --out-dir src svg",
|
||||
"clean": "rimraf src cjs esm",
|
||||
"build": "copyfiles util/* src && yarn create-icons && concurrently \"tsc\" \"tsc -p tsconfig.esm.json\" && yarn create-package-json-pointers-to-esm",
|
||||
"build": "copyfiles util/* src && yarn create-icons && concurrently \"tsc\" \"tsc -p tsconfig.esm.json\" && node cleanTypes.js && yarn create-package-json-pointers-to-esm",
|
||||
"update": "ts-node figma/index.ts dotenv/config",
|
||||
"test": "jest"
|
||||
},
|
||||
@@ -49,7 +49,6 @@
|
||||
"@svgr/cli": "6.2.1",
|
||||
"@types/jest": "^29.0.0",
|
||||
"@types/lodash.startcase": "^4.4.6",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/rimraf": "3.0.2",
|
||||
"axios": "^0.21.3",
|
||||
"concurrently": "7.2.1",
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<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 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM13 6V11H18V13H13V18H11V13H6V11H11V6H13Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.75 2.5C6.64137 2.5 2.5 6.64137 2.5 11.75C2.5 16.8586 6.64137 21 11.75 21C16.8586 21 21 16.8586 21 11.75C21 6.64137 16.8586 2.5 11.75 2.5ZM1 11.75C1 5.81294 5.81294 1 11.75 1C17.6871 1 22.5 5.81294 22.5 11.75C22.5 17.6871 17.6871 22.5 11.75 22.5C5.81294 22.5 1 17.6871 1 11.75Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17 12.75H7V11.25H17V12.75Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.25 17L11.25 7L12.75 7L12.75 17H11.25Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 435 B After Width: | Height: | Size: 655 B |
@@ -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="M12 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM13 6V11H18V13H13V18H11V13H6V11H11V6H13Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.75 1C5.81294 1 1 5.81294 1 11.75C1 17.6871 5.81294 22.5 11.75 22.5C17.6871 22.5 22.5 17.6871 22.5 11.75C22.5 5.81294 17.6871 1 11.75 1ZM11.25 12.75V17H12.75V12.75H17V11.25H12.75V7H11.25V11.25H7V12.75H11.25Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 381 B |
@@ -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="M2 0C0.895431 0 0 0.89543 0 2V22C0 23.1046 0.89543 24 2 24H22C23.1046 24 24 23.1046 24 22V2C24 0.895431 23.1046 0 22 0H2ZM13.377 3.30693C15.0823 1.56435 17.8563 1.56435 19.5616 3.30693C21.2551 5.03744 21.2551 7.83437 19.5616 9.56488L12.6369 16.641C11.424 17.8804 9.4484 17.8804 8.23551 16.641C7.03444 15.4136 7.03444 13.4325 8.23551 12.2052L12.5033 7.84413C12.8895 7.4494 13.5227 7.44256 13.9174 7.82884C14.3121 8.21511 14.319 8.84824 13.9327 9.24297L9.66493 13.604C9.22463 14.0539 9.22463 14.7922 9.66493 15.2421C10.0934 15.68 10.779 15.68 11.2075 15.2421L18.1322 8.16604C19.0649 7.21294 19.0649 5.65887 18.1322 4.70577C17.2113 3.76473 15.7273 3.76473 14.8064 4.70577L6.06885 13.6344C4.64372 15.0907 4.64372 17.4606 6.06885 18.9168C7.48216 20.361 9.76445 20.361 11.1778 18.9168L11.1845 18.91L11.1845 18.91L13.2429 16.8466C13.2588 16.8283 13.2754 16.8103 13.2929 16.7929L14.792 15.2937L20.2929 9.79289C20.6834 9.40236 21.3166 9.40236 21.7071 9.79289C22.0976 10.1834 22.0976 10.8166 21.7071 11.2071L16.208 16.7062L16.2072 16.707L12.6037 20.3192C10.4057 22.5614 6.83597 22.5602 4.63943 20.3157C2.45353 18.082 2.45353 14.4692 4.63943 12.2356L13.377 3.30693Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 0C0.895431 0 0 0.89543 0 2V22C0 23.1046 0.89543 24 2 24H22C23.1046 24 24 23.1046 24 22V2C24 0.895431 23.1046 0 22 0H2ZM13.377 3.30693C15.0823 1.56435 17.8563 1.56436 19.5616 3.30694C21.2551 5.03744 21.2551 7.83438 19.5616 9.56489L12.6369 16.641C11.424 17.8804 9.44839 17.8804 8.23551 16.641C7.03443 15.4136 7.03443 13.4325 8.23551 12.2052L12.5033 7.84413C12.8895 7.44941 13.5227 7.44256 13.9174 7.82884C14.3121 8.21512 14.319 8.84825 13.9327 9.24297L9.66493 13.604C9.22463 14.054 9.22463 14.7922 9.66493 15.2421C10.0934 15.68 10.779 15.68 11.2075 15.2421L18.1322 8.16605C19.0649 7.21294 19.0649 5.65888 18.1322 4.70578C17.2113 3.76474 15.7273 3.76474 14.8064 4.70577L6.06884 13.6344C4.64372 15.0907 4.64372 17.4606 6.06884 18.9168C7.48216 20.3611 9.76444 20.3611 11.1778 18.9168L11.1845 18.91L11.1845 18.91L13.2429 16.8466C13.2588 16.8283 13.2754 16.8103 13.2929 16.7929L14.792 15.2937L20.2929 9.79289C20.6834 9.40237 21.3166 9.40237 21.7071 9.79289C22.0976 10.1834 22.0976 10.8166 21.7071 11.2071L16.208 16.7063L16.2072 16.707L12.6037 20.3192C10.4057 22.5614 6.83597 22.5603 4.63942 20.3157C2.45353 18.082 2.45353 14.4692 4.63942 12.2356L13.377 3.30693Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -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="M7.70711 4.70711C8.09763 4.31658 8.09763 3.68342 7.70711 3.29289C7.31659 2.90237 6.68342 2.90237 6.2929 3.29289L2.29289 7.2929C2.10536 7.48043 2 7.73479 2 8C2 8.26522 2.10536 8.51957 2.29289 8.70711L6.2929 12.7071C6.68342 13.0976 7.31659 13.0976 7.70711 12.7071C8.09763 12.3166 8.09763 11.6834 7.70711 11.2929L5.41421 9H15C17.7614 9 20 11.2386 20 14C20 16.7614 17.7614 19 15 19H13.7879C13.2356 19 12.7879 19.4477 12.7879 20C12.7879 20.5523 13.2356 21 13.7879 21H15C18.866 21 22 17.866 22 14C22 10.134 18.866 7 15 7H5.41422L7.70711 4.70711Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.70708 4.7071L8.41418 3.99999L6.99997 2.58578L6.29286 3.29288L2.29286 7.29289L1.58575 7.99999L2.29286 8.7071L6.29286 12.7071L6.99997 13.4142L8.41418 12L7.70708 11.2929L5.41418 8.99999H15C17.7614 8.99999 20 11.2386 20 14C20 16.7614 17.7614 19 15 19H13.7878H12.7878V21H13.7878H15C18.866 21 22 17.866 22 14C22 10.134 18.866 6.99999 15 6.99999H5.41418L7.70708 4.7071Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 536 B |
@@ -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="M2 0C0.895431 0 0 0.89543 0 2V22C0 23.1046 0.89543 24 2 24H22C23.1046 24 24 23.1046 24 22V2C24 0.895431 23.1046 0 22 0H2ZM7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711L5.41422 7H15C18.866 7 22 10.134 22 14C22 17.866 18.866 21 15 21H13.7879C13.2356 21 12.7879 20.5523 12.7879 20C12.7879 19.4477 13.2356 19 13.7879 19H15C17.7614 19 20 16.7614 20 14C20 11.2386 17.7614 9 15 9H5.41421L7.70711 11.2929C8.09763 11.6834 8.09763 12.3166 7.70711 12.7071C7.31659 13.0976 6.68342 13.0976 6.2929 12.7071L2.29289 8.70711C2.10536 8.51957 2 8.26522 2 8C2 7.73479 2.10536 7.48043 2.29289 7.2929L6.2929 3.29289C6.68342 2.90237 7.31659 2.90237 7.70711 3.29289Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.41418 3.99999L6.99997 2.58578L1.58575 7.99999L6.99997 13.4142L8.41418 12L5.41418 8.99999H15C17.7614 8.99999 20 11.2386 20 14C20 16.7614 17.7614 19 15 19H12.7878V21H15C18.866 21 22 17.866 22 14C22 10.134 18.866 6.99999 15 6.99999H5.41418L8.41418 3.99999Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 831 B After Width: | Height: | Size: 427 B |
@@ -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="M17 5.25C17 8.1495 14.6495 10.5 11.75 10.5C8.85047 10.5 6.49996 8.1495 6.49996 5.25C6.49996 2.35051 8.85047 0 11.75 0C14.6495 0 17 2.35051 17 5.25ZM11.6618 11.6111C7.58101 11.6111 4.27289 14.9192 4.27289 19H14.4367L18.0873 15.3494C16.8161 13.1167 14.4148 11.6111 11.6618 11.6111ZM22.3478 16.6522C21.4782 15.7826 20.0683 15.7826 19.1987 16.6522L15.4065 20.4444L15 24L18.5555 23.5935L22.3478 19.8013C23.2174 18.9317 23.2174 17.5218 22.3478 16.6522Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17 5.25C17 8.1495 14.6495 10.5 11.75 10.5C8.8505 10.5 6.5 8.1495 6.5 5.25C6.5 2.35051 8.8505 0 11.75 0C14.6495 0 17 2.35051 17 5.25ZM11.6618 11.6111C7.58104 11.6111 4.27292 14.9192 4.27292 19H14.4368L18.0874 15.3494C16.8162 13.1167 14.4148 11.6111 11.6618 11.6111ZM22.3478 16.6522C21.4782 15.7826 20.0684 15.7826 19.1988 16.6522L15.4065 20.4444L15.0001 24L18.5555 23.5935L22.3478 19.8013C23.2174 18.9317 23.2174 17.5218 22.3478 16.6522Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 608 B |
@@ -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="M18 8C18 11.3137 15.3137 14 12 14C8.68629 14 6 11.3137 6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8ZM20 8C20 12.4183 16.4183 16 12 16C7.58172 16 4 12.4183 4 8C4 3.58172 7.58172 0 12 0C16.4183 0 20 3.58172 20 8ZM12 17C8.13401 17 5 20.134 5 24H7C7 21.2386 9.23858 19 12 19C14.7614 19 17 21.2386 17 24H19C19 20.134 15.866 17 12 17ZM11 8C11 8.55229 10.5523 9 10 9C9.44772 9 9 8.55229 9 8C9 7.44772 9.44772 7 10 7C10.5523 7 11 7.44772 11 8ZM14 9C14.5523 9 15 8.55229 15 8C15 7.44772 14.5523 7 14 7C13.4477 7 13 7.44772 13 8C13 8.55229 13.4477 9 14 9Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M18 8C18 11.3137 15.3137 14 12 14C8.68629 14 6 11.3137 6 8C6 4.68629 8.68629 2 12 2C15.3137 2 18 4.68629 18 8ZM20 8C20 12.4183 16.4183 16 12 16C7.58172 16 4 12.4183 4 8C4 3.58172 7.58172 0 12 0C16.4183 0 20 3.58172 20 8ZM12 17C8.13401 17 5 20.134 5 24H7C7 21.2386 9.23858 19 12 19C14.7614 19 17 21.2386 17 24H19C19 20.134 15.866 17 12 17ZM11 8C11 8.55228 10.5523 9 10 9C9.44772 9 9 8.55228 9 8C9 7.44772 9.44772 7 10 7C10.5523 7 11 7.44772 11 8ZM14 9C14.5523 9 15 8.55228 15 8C15 7.44772 14.5523 7 14 7C13.4477 7 13 7.44772 13 8C13 8.55228 13.4477 9 14 9Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 726 B |
@@ -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="M6 2H18V11H8V9H6V2ZM4 13V11V2C4 0.89543 4.89543 0 6 0H18C19.1046 0 20 0.895431 20 2V11V13V22C20 23.1046 19.1046 24 18 24H6C4.89543 24 4 23.1046 4 22V13ZM18 13V22H6V15H8V13H18ZM13.4981 14L15.2847 17.8695C15.9487 19.3078 14.983 21 13.4981 21C12.0133 21 11.0475 19.3078 11.7116 17.8695L13.4981 14ZM12.4981 3H14.4981V4.69594L15.9363 3.79723L16.9962 5.49333L15.3852 6.50001L16.9962 7.50667L15.9363 9.20276L14.4981 8.30407V10H12.4981V8.30403L11.0598 9.20276L10 7.50667L11.611 6.50001L9.99998 5.49333L11.0598 3.79723L12.4981 4.69598V3Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 2H18V11H8V9H6V2ZM4 13V11V2C4 0.89543 4.89543 0 6 0H18C19.1046 0 20 0.895431 20 2V11V13V22C20 23.1046 19.1046 24 18 24H6C4.89543 24 4 23.1046 4 22V13ZM18 13V22H6V15H8V13H18ZM13.4981 14L15.2847 17.8695C15.9487 19.3078 14.983 21 13.4981 21C12.0133 21 11.0475 19.3078 11.7116 17.8695L13.4981 14ZM12.4981 3H14.4981V4.69594L15.9364 3.79723L16.9962 5.49333L15.3852 6.50001L16.9962 7.50667L15.9363 9.20276L14.4981 8.30407V10H12.4981V8.30403L11.0599 9.20276L10 7.50667L11.611 6.50001L10 5.49333L11.0598 3.79723L12.4981 4.69598V3Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 694 B |
@@ -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="M6 2H18V11H8V9H6V2ZM4 13V11V2C4 0.89543 4.89543 0 6 0H18C19.1046 0 20 0.895431 20 2V11V13V22C20 23.1046 19.1046 24 18 24H6C4.89543 24 4 23.1046 4 22V13ZM18 13V22H6V15H8V13H18ZM14.4981 14H12.4981V15.696L11.0598 14.7972L9.99998 16.4933L11.611 17.5L10 18.5067L11.0598 20.2028L12.4981 19.304V21H14.4981V19.3041L15.9363 20.2028L16.9962 18.5067L15.3852 17.5L16.9962 16.4933L15.9363 14.7972L14.4981 15.6959V14ZM15.2847 6.86951L13.4981 3L11.7116 6.86951C11.0475 8.30777 12.0133 10 13.4981 10C14.983 10 15.9487 8.30777 15.2847 6.86951Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 2H18V11H8V9H6V2ZM4 13V11V2C4 0.89543 4.89543 0 6 0H18C19.1046 0 20 0.895431 20 2V11V13V22C20 23.1046 19.1046 24 18 24H6C4.89543 24 4 23.1046 4 22V13ZM18 13V22H6V15H8V13H18ZM14.4981 14H12.4981V15.696L11.0598 14.7972L10 16.4933L11.611 17.5L10 18.5067L11.0599 20.2028L12.4981 19.304V21H14.4981V19.3041L15.9363 20.2028L16.9962 18.5067L15.3852 17.5L16.9962 16.4933L15.9364 14.7972L14.4981 15.6959V14ZM15.2847 6.86951L13.4981 3L11.7116 6.86951C11.0475 8.30777 12.0133 10 13.4981 10C14.983 10 15.9487 8.30777 15.2847 6.86951Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 697 B After Width: | Height: | Size: 692 B |
@@ -1,3 +1,4 @@
|
||||
<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="M2 12C2 6.81465 5.94668 2.5511 11 2.04938V12.4142L18.3288 19.743C16.6044 21.1544 14.4017 22 12 22C6.47715 22 2 17.5228 2 12ZM19.7488 21.163C17.6587 22.9321 14.9533 24 12 24C5.37258 24 0 18.6274 0 12C0 5.70934 4.84047 0.549225 11 0.0410738V0H12H13V0.0410738C19.1595 0.549225 24 5.70934 24 12C24 14.9533 22.9321 17.6587 21.163 19.7488L21.1924 19.7782L20.4853 20.4853L19.7782 21.1924L19.7488 21.163ZM19.743 18.3288C21.1543 16.6044 22 14.4017 22 12C22 6.81465 18.0533 2.5511 13 2.04938V11.5858L19.743 18.3288Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 2.75C6.89137 2.75 2.75 6.89137 2.75 12C2.75 17.1086 6.89137 21.25 12 21.25C17.1086 21.25 21.25 17.1086 21.25 12C21.25 6.89137 17.1086 2.75 12 2.75ZM1.25 12C1.25 6.06294 6.06294 1.25 12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.25 2.5H12.75V12.1729L19.5103 18.4504L18.4897 19.5496L11.25 12.8271V2.5Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 616 B |
@@ -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="M11 12V0.0410767C4.84047 0.549228 0 5.70934 0 12C0 18.6274 5.37258 24 12 24C14.9922 24 17.7286 22.9048 19.8303 21.0935L11 12ZM24 12C24 12.9017 23.9005 13.7803 23.712 14.6252C23.297 16.4847 22.4505 18.1814 21.2831 19.6048L13 11V0.0410767C18.2766 0.476386 22.5852 4.32557 23.712 9.37485C23.9005 10.2198 24 11.0983 24 12Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.25 1.27576C5.66285 1.6608 1.25 6.31506 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C14.5711 22.75 16.9313 21.8474 18.7812 20.3418L11.25 12.8107V1.27576ZM19.8766 19.3159C21.6596 17.3972 22.75 14.8259 22.75 12C22.75 6.31506 18.3372 1.6608 12.75 1.27576V12.1893L19.8766 19.3159Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 449 B |
@@ -1,4 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M11.999 0C5.39479 0 0.0125453 5.37181 2.35603e-05 11.976C-0.00623729 15.1815 1.2355 18.1972 3.49775 20.4688C5.76001 22.7394 8.77148 23.9937 11.977 23.9999H12C18.6031 23.9999 23.9864 18.6271 24 12.0219C24.0125 5.40625 18.6396 0.0125217 11.999 0Z" fill="#BA3A26"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5714 6.99998L17 8.42855L13.428 12L17 15.5714L15.5714 17L12 13.428L8.42855 17L6.99998 15.5714L10.572 12L6.99998 8.42855L8.42855 6.99998L12 10.572L15.5714 6.99998Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.35603e-05 11.976C0.0125453 5.37181 5.39479 0 11.999 0C18.6396 0.0125217 24.0125 5.40625 24 12.0219C23.9864 18.6271 18.6031 23.9999 12 23.9999H11.977C8.77148 23.9937 5.76001 22.7394 3.49775 20.4688C1.2355 18.1972 -0.00623729 15.1815 2.35603e-05 11.976ZM17 8.42855L15.5714 6.99998L12 10.572L8.42855 6.99998L6.99998 8.42855L10.572 12L6.99998 15.5714L8.42855 17L12 13.428L15.5714 17L17 15.5714L13.428 12L17 8.42855Z" fill="#C30000"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 606 B After Width: | Height: | Size: 585 B |
@@ -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.3794 5.6217C10.4583 5.57135 10.5398 5.52457 10.6235 5.48159C10.6008 4.34336 10.3624 3.32874 10.116 2.90531C9.7674 2.30628 9.40452 2.09244 9.18629 2.0229C8.97687 1.95617 8.74966 1.96959 8.49999 2.1126C8.2427 2.25997 7.79936 2.89285 8.38396 3.89738C8.6304 4.32085 9.39703 5.03305 10.3794 5.6217ZM9.00324 7.98708C7.9981 7.43728 6.99293 7.13467 6.49999 7.13467C5.80278 7.13467 5.43466 7.33952 5.26485 7.49224C5.10188 7.63881 4.99999 7.84073 4.99999 8.12675C4.99999 8.42148 5.3308 9.11882 6.49999 9.11882C6.99293 9.11882 7.9981 8.81621 9.00324 8.26641C9.00109 8.22012 8.99999 8.17356 8.99999 8.12675C8.99999 8.07993 9.00108 8.03337 9.00324 7.98708ZM10.3794 10.6318C9.39703 11.2204 8.6304 11.9327 8.38396 12.3561C8.03535 12.9551 8.03012 13.3738 8.07853 13.5961C8.12499 13.8094 8.25031 13.9979 8.49999 14.1409C8.75728 14.2883 9.53141 14.3527 10.116 13.3482C10.3624 12.9248 10.6008 11.9101 10.6235 10.7719C10.5398 10.7289 10.4583 10.6821 10.3794 10.6318ZM12.6161 11.0402C12.5664 12.2454 12.3137 13.5401 11.8481 14.3403C10.8481 16.0586 8.93486 16.6811 7.49999 15.8592C6.55063 15.3155 6.00274 14.3543 6.06057 13.2164C4.76818 14.4256 4 16.1291 4 17.9538V24H2L2 17.9538C2 15.1609 3.37935 12.5856 5.62415 11.0138C4.07772 10.6897 2.99999 9.52002 2.99999 8.12675C2.99999 6.48302 4.29085 5.15051 6.49999 5.15051C6.60687 5.15051 6.71803 5.15618 6.83271 5.16705C6.76588 5.07396 6.70535 4.98129 6.65191 4.88946C5.65191 3.17113 6.06511 1.21613 7.49999 0.394267C8.93486 -0.427598 10.7435 0.0152118 11.8481 1.91323C11.9015 2.00506 11.9521 2.1034 12 2.20738C12.0478 2.1034 12.0985 2.00506 12.1519 1.91323C13.1519 0.194895 15.0651 -0.427599 16.5 0.394265C17.9349 1.21613 18.4526 2.99145 17.3481 4.88946C17.2946 4.98129 17.2341 5.07396 17.1673 5.16706C17.2819 5.15618 17.3931 5.15051 17.5 5.15051C19.5 5.15051 21 6.48302 21 8.12675C21 9.77047 19.7091 11.103 17.5 11.103C16.5685 11.103 15.3117 10.6726 14.2346 10.1125C13.816 10.5758 13.2532 10.9082 12.6161 11.0402ZM14.9967 8.26641C16.0019 8.81621 17.0071 9.11882 17.5 9.11882C18.1972 9.11882 18.5653 8.91397 18.7351 8.76124C18.8981 8.61468 19 8.41276 19 8.12675C19 7.83201 18.6692 7.13467 17.5 7.13467C17.0071 7.13467 16.0019 7.43728 14.9967 7.98708C14.9989 8.03337 15 8.07993 15 8.12675C15 8.17356 14.9989 8.22012 14.9967 8.26641ZM13.6206 5.6217C14.603 5.03305 15.3696 4.32085 15.616 3.89738C15.9646 3.29836 15.9699 2.87966 15.9214 2.6574C15.875 2.4441 15.7497 2.2556 15.5 2.1126C15.2427 1.96523 14.4686 1.90077 13.884 2.9053C13.6375 3.32874 13.3992 4.34335 13.3765 5.48158C13.4602 5.52456 13.5417 5.57135 13.6206 5.6217ZM13 8.12675C13 8.67465 12.5523 9.11882 12 9.11882C11.4477 9.11882 11 8.67465 11 8.12675C11 7.57884 11.4477 7.13467 12 7.13467C12.5523 7.13467 13 7.57884 13 8.12675ZM13 20.5277C13 20.0346 13.3102 19.0246 13.8733 18.019C13.9158 17.9432 13.9581 17.8703 14 17.8005C14.0419 17.8703 14.0842 17.9432 14.1267 18.019C14.6898 19.0246 15 20.0346 15 20.5277C15 21.6877 14.2971 22.0158 14 22.0158C13.7117 22.0158 13.5082 21.9148 13.3604 21.7531C13.2065 21.5846 13 21.2194 13 20.5277ZM11 20.5277C11 18.5436 13 15.0713 14 15.0713C15 15.0713 17 18.5436 17 20.5277C17 22.5119 15.6568 24 14 24C12.3431 24 11 22.7194 11 20.5277Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.3794 5.6217C10.4583 5.57135 10.5398 5.52457 10.6235 5.48159C10.6008 4.34336 10.3624 3.32874 10.116 2.90531C9.7674 2.30628 9.40452 2.09244 9.18629 2.0229C8.97687 1.95617 8.74966 1.96959 8.49999 2.1126C8.2427 2.25997 7.79936 2.89285 8.38396 3.89738C8.6304 4.32085 9.39703 5.03305 10.3794 5.6217ZM9.00324 7.98708C7.9981 7.43728 6.99293 7.13467 6.49999 7.13467C5.80278 7.13467 5.43466 7.33952 5.26485 7.49224C5.10188 7.63881 4.99999 7.84073 4.99999 8.12675C4.99999 8.42148 5.3308 9.11882 6.49999 9.11882C6.99293 9.11882 7.9981 8.81621 9.00324 8.26641C9.00109 8.22012 8.99999 8.17356 8.99999 8.12675C8.99999 8.07993 9.00108 8.03337 9.00324 7.98708ZM10.3794 10.6318C9.39703 11.2204 8.6304 11.9327 8.38396 12.3561C8.03535 12.9551 8.03012 13.3738 8.07853 13.5961C8.12499 13.8094 8.25031 13.9979 8.49999 14.1409C8.75728 14.2883 9.53141 14.3527 10.116 13.3482C10.3624 12.9248 10.6008 11.9101 10.6235 10.7719C10.5398 10.7289 10.4583 10.6821 10.3794 10.6318ZM12.6161 11.0402C12.5664 12.2454 12.3137 13.5401 11.8481 14.3403C10.8481 16.0586 8.93486 16.6811 7.49999 15.8592C6.55063 15.3155 6.00274 14.3543 6.06057 13.2164C4.76818 14.4256 4 16.1291 4 17.9538V24H2V17.9538C2 15.1609 3.37935 12.5856 5.62415 11.0138C4.07772 10.6897 2.99999 9.52002 2.99999 8.12675C2.99999 6.48302 4.29085 5.15051 6.49999 5.15051C6.60687 5.15051 6.71803 5.15618 6.83271 5.16705C6.76588 5.07396 6.70535 4.98129 6.65191 4.88946C5.65191 3.17113 6.06511 1.21613 7.49999 0.394267C8.93486 -0.427598 10.7435 0.0152119 11.8481 1.91323C11.9015 2.00506 11.9521 2.1034 12 2.20738C12.0478 2.1034 12.0985 2.00506 12.1519 1.91323C13.1519 0.194895 15.0651 -0.427599 16.5 0.394265C17.9349 1.21613 18.4526 2.99145 17.3481 4.88946C17.2946 4.98129 17.2341 5.07396 17.1673 5.16706C17.2819 5.15618 17.3931 5.15051 17.5 5.15051C19.5 5.15051 21 6.48302 21 8.12675C21 9.77047 19.7091 11.103 17.5 11.103C16.5685 11.103 15.3117 10.6726 14.2346 10.1125C13.816 10.5758 13.2532 10.9082 12.6161 11.0402ZM14.9967 8.26641C16.0019 8.81621 17.0071 9.11882 17.5 9.11882C18.1972 9.11882 18.5653 8.91397 18.7351 8.76124C18.8981 8.61468 19 8.41276 19 8.12675C19 7.83201 18.6692 7.13467 17.5 7.13467C17.0071 7.13467 16.0019 7.43728 14.9967 7.98708C14.9989 8.03337 15 8.07993 15 8.12675C15 8.17356 14.9989 8.22012 14.9967 8.26641ZM13.6206 5.6217C14.603 5.03305 15.3696 4.32085 15.616 3.89738C15.9646 3.29836 15.9699 2.87966 15.9214 2.6574C15.875 2.4441 15.7497 2.2556 15.5 2.1126C15.2427 1.96523 14.4686 1.90077 13.884 2.9053C13.6375 3.32874 13.3992 4.34335 13.3765 5.48158C13.4602 5.52456 13.5417 5.57135 13.6206 5.6217ZM13 8.12675C13 8.67465 12.5523 9.11882 12 9.11882C11.4477 9.11882 11 8.67465 11 8.12675C11 7.57884 11.4477 7.13467 12 7.13467C12.5523 7.13467 13 7.57884 13 8.12675ZM13 20.5277C13 20.0346 13.3102 19.0246 13.8733 18.019C13.9158 17.9432 13.9581 17.8703 14 17.8005C14.0419 17.8703 14.0842 17.9432 14.1267 18.019C14.6898 19.0246 15 20.0346 15 20.5277C15 21.6877 14.2971 22.0158 14 22.0158C13.7117 22.0158 13.5082 21.9148 13.3604 21.7531C13.2065 21.5846 13 21.2194 13 20.5277ZM11 20.5277C11 18.5436 13 15.0713 14 15.0713C15 15.0713 17 18.5436 17 20.5277C17 22.5119 15.6569 24 14 24C12.3431 24 11 22.7194 11 20.5277Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
@@ -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="M17.5 5.15051C17.3931 5.15051 17.2819 5.15618 17.1673 5.16706C17.2341 5.07396 17.2946 4.98129 17.3481 4.88946C18.4526 2.99145 17.9349 1.21613 16.5 0.394265C15.0651 -0.427599 13.1519 0.194895 12.1519 1.91323C12.0985 2.00506 12.0478 2.1034 12 2.20738C11.9521 2.1034 11.9015 2.00506 11.8481 1.91323C10.7435 0.0152118 8.93486 -0.427598 7.49999 0.394267C6.06511 1.21613 5.65191 3.17113 6.65191 4.88946C6.70535 4.98129 6.76588 5.07396 6.83271 5.16705C6.71803 5.15618 6.60687 5.15051 6.49999 5.15051C4.29085 5.15051 2.99999 6.48302 2.99999 8.12675C2.99999 9.52003 4.07772 10.6897 5.62415 11.0138C3.37935 12.5856 2 15.1609 2 17.9538L2 24H4V17.9538C4 16.1291 4.76818 14.4256 6.06057 13.2164C6.00274 14.3543 6.55063 15.3155 7.49999 15.8592C8.93486 16.6811 10.8481 16.0586 11.8481 14.3403C12.3137 13.5401 12.5664 12.2454 12.6161 11.0402C13.2532 10.9082 13.816 10.5758 14.2346 10.1125C15.3117 10.6726 16.5685 11.103 17.5 11.103C19.7091 11.103 21 9.77048 21 8.12675C21 6.48302 19.5 5.15051 17.5 5.15051ZM13 8.12675C13 8.67466 12.5523 9.11882 12 9.11882C11.4477 9.11882 11 8.67466 11 8.12675C11 7.57884 11.4477 7.13467 12 7.13467C12.5523 7.13467 13 7.57884 13 8.12675ZM11 20.5277C11 18.5436 13 15.0713 14 15.0713C15 15.0713 17 18.5436 17 20.5277C17 22.5119 15.6568 24 14 24C12.3431 24 11 22.7194 11 20.5277Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5 5.15051C17.3931 5.15051 17.2819 5.15618 17.1673 5.16706C17.2341 5.07396 17.2946 4.98129 17.3481 4.88946C18.4526 2.99145 17.9349 1.21613 16.5 0.394265C15.0651 -0.427599 13.1519 0.194895 12.1519 1.91323C12.0985 2.00506 12.0478 2.1034 12 2.20738C11.9521 2.1034 11.9015 2.00506 11.8481 1.91323C10.7435 0.0152119 8.93486 -0.427598 7.49999 0.394267C6.06511 1.21613 5.65191 3.17113 6.65191 4.88946C6.70535 4.98129 6.76588 5.07396 6.83271 5.16705C6.71803 5.15618 6.60687 5.15051 6.49999 5.15051C4.29085 5.15051 2.99999 6.48302 2.99999 8.12675C2.99999 9.52003 4.07772 10.6897 5.62415 11.0138C3.37935 12.5856 2 15.1609 2 17.9538V24H4V17.9538C4 16.1291 4.76818 14.4256 6.06057 13.2164C6.00274 14.3543 6.55063 15.3155 7.49999 15.8592C8.93486 16.6811 10.8481 16.0586 11.8481 14.3403C12.3137 13.5401 12.5664 12.2454 12.6161 11.0402C13.2532 10.9082 13.816 10.5758 14.2346 10.1125C15.3117 10.6726 16.5685 11.103 17.5 11.103C19.7091 11.103 21 9.77048 21 8.12675C21 6.48302 19.5 5.15051 17.5 5.15051ZM13 8.12675C13 8.67466 12.5523 9.11882 12 9.11882C11.4477 9.11882 11 8.67466 11 8.12675C11 7.57884 11.4477 7.13467 12 7.13467C12.5523 7.13467 13 7.57884 13 8.12675ZM11 20.5277C11 18.5436 13 15.0713 14 15.0713C15 15.0713 17 18.5436 17 20.5277C17 22.5119 15.6569 24 14 24C12.3431 24 11 22.7194 11 20.5277Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1,3 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 17V18H5V17H3ZM20 10L20.7071 10.7071L21.4142 10L20.7071 9.29289L20 10ZM16.7071 5.29289L16 4.58579L14.5858 6L15.2929 6.70711L16.7071 5.29289ZM15.2929 13.2929L14.5858 14L16 15.4142L16.7071 14.7071L15.2929 13.2929ZM5 17V14H3V17H5ZM8 11H20V9H8V11ZM20.7071 9.29289L16.7071 5.29289L15.2929 6.70711L19.2929 10.7071L20.7071 9.29289ZM19.2929 9.29289L15.2929 13.2929L16.7071 14.7071L20.7071 10.7071L19.2929 9.29289ZM5 14C5 12.3431 6.34315 11 8 11V9C5.23858 9 3 11.2386 3 14H5Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16 4.58579L21.4142 10L16 15.4142L14.5858 14L17.5858 11H8C6.34315 11 5 12.3431 5 14V18H3V14C3 11.2386 5.23858 9 8 9H17.5858L14.5858 6.00001L16 4.58579Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 322 B |
@@ -1,3 +1,3 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M3 17V18H5V17H3ZM20 10L20.7071 10.7071L21.4142 10L20.7071 9.29289L20 10ZM16.7071 5.29289L16 4.58579L14.5858 6L15.2929 6.70711L16.7071 5.29289ZM15.2929 13.2929L14.5858 14L16 15.4142L16.7071 14.7071L15.2929 13.2929ZM5 17V14H3V17H5ZM8 11H20V9H8V11ZM20.7071 9.29289L16.7071 5.29289L15.2929 6.70711L19.2929 10.7071L20.7071 9.29289ZM19.2929 9.29289L15.2929 13.2929L16.7071 14.7071L20.7071 10.7071L19.2929 9.29289ZM5 14C5 12.3431 6.34315 11 8 11V9C5.23858 9 3 11.2386 3 14H5Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16 4.58578L21.4142 10L16 15.4142L14.5858 14L17.5858 11H8C6.34315 11 5 12.3431 5 14V18H3V14C3 11.2386 5.23858 9 8 9H17.5858L14.5858 6L16 4.58578Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 599 B After Width: | Height: | Size: 316 B |
@@ -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="M18 2H6V9H8V13H6V22H18V2ZM6 0C4.89543 0 4 0.89543 4 2V22C4 23.1046 4.89543 24 6 24H18C19.1046 24 20 23.1046 20 22V2C20 0.895431 19.1046 0 18 0H6ZM14.4981 3H12.4981V4.69598L11.0598 3.79723L9.99998 5.49333L11.611 6.50001L10 7.50667L11.0598 9.20276L12.4981 8.30403V10H14.4981V8.30407L15.9363 9.20276L16.9962 7.50667L15.3852 6.50001L16.9962 5.49333L15.9363 3.79723L14.4981 4.69594V3Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M18 2H6V9H8V13H6V22H18V2ZM6 0C4.89543 0 4 0.89543 4 2V22C4 23.1046 4.89543 24 6 24H18C19.1046 24 20 23.1046 20 22V2C20 0.895431 19.1046 0 18 0H6ZM14.4981 3H12.4981V4.69598L11.0598 3.79723L10 5.49333L11.611 6.50001L10 7.50667L11.0599 9.20276L12.4981 8.30403V10H14.4981V8.30407L15.9363 9.20276L16.9962 7.50667L15.3852 6.50001L16.9962 5.49333L15.9364 3.79723L14.4981 4.69594V3Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 550 B After Width: | Height: | Size: 545 B |
@@ -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="M6 0C4.89543 0 4 0.89543 4 2V22C4 23.1046 4.89543 24 6 24H18C19.1046 24 20 23.1046 20 22V2C20 0.895431 19.1046 0 18 0H6ZM14.4981 3H12.4981V4.69598L11.0598 3.79723L9.99998 5.49333L11.611 6.50001L10 7.50667L11.0598 9.20276L12.4981 8.30403V10H14.4981V8.30407L15.9363 9.20276L16.9962 7.50667L15.3852 6.50001L16.9962 5.49333L15.9363 3.79723L14.4981 4.69594V3ZM8 9H6V13H8V9Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 0C4.89543 0 4 0.89543 4 2V22C4 23.1046 4.89543 24 6 24H18C19.1046 24 20 23.1046 20 22V2C20 0.895431 19.1046 0 18 0H6ZM14.4981 3H12.4981V4.69598L11.0598 3.79723L10 5.49333L11.611 6.50001L10 7.50667L11.0599 9.20276L12.4981 8.30403V10H14.4981V8.30407L15.9363 9.20276L16.9962 7.50667L15.3852 6.50001L16.9962 5.49333L15.9364 3.79723L14.4981 4.69594V3ZM8 9H6V13H8V9Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 539 B After Width: | Height: | Size: 534 B |
@@ -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="M1 0C0.447715 0 0 0.447716 0 1V23C0 23.5523 0.447716 24 1 24H23C23.5523 24 24 23.5523 24 23V1C24 0.447715 23.5523 0 23 0H1ZM12.2928 10.2929L17.5857 5L13 5V3H21V11H19V6.41412L13.707 11.7071L12.2928 10.2929ZM5 17.5859V13H3V21H11V19H6.4143L11.7072 13.7071L10.293 12.2929L5 17.5859Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.5857 5L12.2928 10.2929L13.707 11.7071L19 6.41412V11H21V3H13V5L17.5857 5ZM5 13V17.5859L10.293 12.2929L11.7072 13.7071L6.4143 19H11V21H3V13H5Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 315 B |
@@ -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="M1 0C0.447715 0 0 0.447716 0 1V23C0 23.5523 0.447716 24 1 24H23C23.5523 24 24 23.5523 24 23V1C24 0.447715 23.5523 0 23 0H1ZM21.7068 3.70709L16.414 8.99998H20.9999V11H12.9999V2.99998H14.9999V7.5856L20.2926 2.29288L21.7068 3.70709ZM2.29272 20.2929L7.58562 15L2.99991 15L2.99991 13L10.9999 13L10.9999 21H8.99991V16.4141L3.70694 21.7071L2.29272 20.2929Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.414 8.99998L21.7068 3.70709L20.2926 2.29288L14.9999 7.5856V2.99998H12.9999V11H20.9999V8.99998H16.414ZM7.58562 15L2.29272 20.2929L3.70694 21.7071L8.99991 16.4141L8.99991 21H10.9999L10.9999 13L2.99991 13L2.99991 15L7.58562 15Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 520 B After Width: | Height: | Size: 399 B |
@@ -1,3 +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="M12 8.16944C12.0182 5.51155 14.5876 3.6066 17.1415 4.37186C19.2929 5.01655 20.489 7.30574 19.7878 9.43686L18.95 11.9832C18.7776 12.5072 18.2125 12.7924 17.6878 12.6203C17.1632 12.4481 16.8776 11.8838 17.05 11.3598L17.8878 8.8134C18.2378 7.74952 17.6407 6.60672 16.5667 6.28488C15.2962 5.90417 14.0111 6.85121 14 8.18001V9.58446C14.1443 9.68482 14.3009 9.81069 14.4571 9.96673C15.007 10.5159 15.5 11.3893 15.5 12.6702C15.5 14.3412 14.1281 16.1654 12 16.1654C11.4477 16.1654 11 15.7183 11 15.1668C11 14.6152 11.4477 14.1681 12 14.1681C12.8719 14.1681 13.5 13.3959 13.5 12.6702C13.5 11.9537 13.243 11.5788 13.0429 11.379C12.9333 11.2696 12.8248 11.1979 12.7487 11.1558C12.7112 11.1349 12.6836 11.1224 12.6705 11.1168L12.6676 11.1156L12 10.8933L12 8.16944ZM8.03174 7.32677C8.42394 2.91975 12.3773 -0.449686 16.8802 0.0490061C21.9503 0.610507 25.2055 5.70436 23.58 10.533L20.5191 19.6258C19.4639 22.7605 16.1962 24.5814 12.9708 23.832L12.5781 23.7408C10.2118 23.191 8.45601 21.2676 8.07656 18.9336C9.98373 15.5581 10.0878 11.452 8.38873 7.99682H9L8.38663 7.99254C8.27597 7.76773 8.15767 7.54568 8.03174 7.32677ZM3.29289 6.47147C3.68342 6.08147 4.31658 6.08147 4.70711 6.47147C8.41134 10.1707 8.41134 16.1683 4.70711 19.8675C4.31658 20.2575 3.68342 20.2575 3.29289 19.8675C2.90237 19.4775 2.90237 18.8452 3.29289 18.4552C6.21608 15.536 6.21608 10.803 3.29289 7.88376C2.90237 7.49377 2.90237 6.86146 3.29289 6.47147ZM1.70711 9.4674C1.31658 9.0774 0.683418 9.0774 0.292893 9.4674C-0.0976311 9.85739 -0.0976311 10.4897 0.292893 10.8797C1.55922 12.1443 1.55922 14.1947 0.292893 15.4593C-0.0976311 15.8493 -0.0976311 16.4816 0.292893 16.8716C0.683417 17.2616 1.31658 17.2616 1.70711 16.8716C3.75448 14.827 3.75448 11.512 1.70711 9.4674Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 8.16944C12.0182 5.51155 14.5876 3.6066 17.1415 4.37186C19.293 5.01655 20.489 7.30574 19.7878 9.43686L18.95 11.9832C18.7776 12.5072 18.2125 12.7924 17.6878 12.6203C17.1632 12.4481 16.8776 11.8838 17.05 11.3598L17.8878 8.8134C18.2378 7.74952 17.6407 6.60672 16.5667 6.28488C15.2962 5.90417 14.0111 6.85121 14 8.18001V9.58446C14.1443 9.68482 14.3009 9.81069 14.4571 9.96673C15.007 10.5159 15.5 11.3893 15.5 12.6702C15.5 14.3412 14.1281 16.1654 12 16.1654C11.4477 16.1654 11 15.7183 11 15.1668C11 14.6152 11.4477 14.1681 12 14.1681C12.8719 14.1681 13.5 13.3959 13.5 12.6702C13.5 11.9537 13.243 11.5788 13.0429 11.379C12.9333 11.2696 12.8248 11.1979 12.7487 11.1558C12.7112 11.1349 12.6836 11.1224 12.6705 11.1168L12.6676 11.1156L12 10.8933L12 8.16944ZM8.03174 7.32677C8.42394 2.91975 12.3773 -0.449686 16.8802 0.0490061C21.9503 0.610507 25.2055 5.70436 23.58 10.533L20.5191 19.6258C19.4639 22.7605 16.1962 24.5814 12.9708 23.832L12.5781 23.7408C10.2118 23.191 8.45601 21.2676 8.07657 18.9336C9.98373 15.5581 10.0878 11.452 8.38873 7.99682H9L8.38663 7.99254C8.27597 7.76773 8.15767 7.54568 8.03174 7.32677ZM3.29289 6.47147C3.68342 6.08147 4.31658 6.08147 4.70711 6.47147C8.41134 10.1707 8.41134 16.1683 4.70711 19.8675C4.31658 20.2575 3.68342 20.2575 3.29289 19.8675C2.90237 19.4775 2.90237 18.8452 3.29289 18.4552C6.21608 15.536 6.21608 10.803 3.29289 7.88376C2.90237 7.49377 2.90237 6.86146 3.29289 6.47147ZM1.70711 9.4674C1.31658 9.0774 0.683418 9.0774 0.292893 9.4674C-0.0976311 9.85739 -0.0976311 10.4897 0.292893 10.8797C1.55922 12.1443 1.55922 14.1947 0.292893 15.4593C-0.0976311 15.8493 -0.0976311 16.4816 0.292893 16.8716C0.683417 17.2616 1.31658 17.2616 1.70711 16.8716C3.75448 14.827 3.75448 11.512 1.70711 9.4674Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@@ -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="M8 0C9.10457 0 10 0.895431 10 2V2.00153C10.6368 2.51826 11.1374 3.22464 11.4038 4.08332L11.643 4.8544L11.648 4.87059L12.7656 8H17.3086C18.7892 8 20.0819 8.8044 20.7735 10H22C23.1046 10 24 10.8954 24 12V17C22.8954 17 22 16.1046 22 15V12L21.3086 12V13C21.3086 14.8893 19.9988 16.4727 18.2376 16.8916L19.4426 20.5811C20.1767 20.2115 20.8069 19.7789 21.2929 19.2929C21.6834 18.9024 22.3166 18.9024 22.7071 19.2929C23.0976 19.6834 23.0976 20.3166 22.7071 20.7071C21.5535 21.8607 19.9406 22.6761 18.2508 23.2044C16.5507 23.736 14.6998 24 13 24C11.3002 24 9.44928 23.736 7.74916 23.2044C6.05942 22.6761 4.44647 21.8607 3.29289 20.7071C2.90237 20.3166 2.90237 19.6834 3.29289 19.2929C3.68342 18.9024 4.31658 18.9024 4.70711 19.2929C5.17301 19.7588 5.77143 20.1756 6.46692 20.535L7.72743 16.6753C6.30467 16.0624 5.30863 14.6475 5.30863 13V12L5.30868 11.9803V8.27271L3.05058 8.68328C2.00044 8.87422 0.940827 8.4007 0.38254 7.49099C-0.368742 6.26681 0.0208965 4.66498 1.25053 3.92265L5.01145 1.65216C5.95684 1.08143 7.0137 0.917313 8 1.09058V0ZM9.72535 17H16.1691L17.5795 21.3186C16.1012 21.7718 14.4817 22 13 22C11.4933 22 9.84425 21.764 8.34599 21.2956L8.32466 21.2889L9.72535 17Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8 0C9.10457 0 10 0.895431 10 2V2.00153C10.6368 2.51826 11.1374 3.22464 11.4038 4.08332L11.643 4.8544L11.648 4.87059L12.7656 8H17.3086C18.7892 8 20.0819 8.8044 20.7735 10H22C23.1046 10 24 10.8954 24 12V17C22.8954 17 22 16.1046 22 15V12L21.3086 12V13C21.3086 14.8893 19.9988 16.4727 18.2376 16.8916L19.4426 20.5811C20.1767 20.2115 20.8069 19.7789 21.2929 19.2929C21.6834 18.9024 22.3166 18.9024 22.7071 19.2929C23.0976 19.6834 23.0976 20.3166 22.7071 20.7071C21.5535 21.8607 19.9406 22.6761 18.2508 23.2044C16.5507 23.736 14.6998 24 13 24C11.3002 24 9.44928 23.736 7.74916 23.2044C6.05942 22.6761 4.44647 21.8607 3.29289 20.7071C2.90237 20.3166 2.90237 19.6834 3.29289 19.2929C3.68342 18.9024 4.31658 18.9024 4.70711 19.2929C5.17301 19.7588 5.77143 20.1756 6.46692 20.535L7.72743 16.6753C6.30467 16.0624 5.30863 14.6475 5.30863 13V12L5.30868 11.9803V8.27272L3.05058 8.68328C2.00044 8.87422 0.940827 8.4007 0.38254 7.49099C-0.368742 6.26681 0.0208965 4.66498 1.25053 3.92265L5.01145 1.65217C5.95684 1.08143 7.0137 0.917314 8 1.09058V0ZM9.72535 17H16.1691L17.5795 21.3186C16.1012 21.7718 14.4817 22 13 22C11.4933 22 9.84425 21.764 8.34599 21.2956L8.32466 21.2889L9.72535 17Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -1,4 +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 0C5.38226 0 0 5.38226 0 12C0 18.6177 5.38226 24 12 24C18.6167 24 24 18.6177 24 12C24 5.38226 18.6167 0 12 0Z" fill="#368DA8"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.5 6.5C13.5 5.67157 12.8284 5 12 5C11.1716 5 10.5 5.67157 10.5 6.5C10.5 7.32843 11.1716 8 12 8C12.8284 8 13.5 7.32843 13.5 6.5ZM9 17V19H15V17H13V10H9V12H11V17H9Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 12C0 5.38226 5.38226 0 12 0C18.6167 0 24 5.38226 24 12C24 18.6177 18.6167 24 12 24C5.38226 24 0 18.6177 0 12ZM12 5C12.8284 5 13.5 5.67157 13.5 6.5C13.5 7.32843 12.8284 8 12 8C11.1716 8 10.5 7.32843 10.5 6.5C10.5 5.67157 11.1716 5 12 5ZM9 19V17H11V12H9V10H13V17H15V19H9Z" fill="#368DA8"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 443 B |
@@ -1,3 +1,4 @@
|
||||
<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 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM18 11H6V13H18V11Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.75 2.5C6.64137 2.5 2.5 6.64137 2.5 11.75C2.5 16.8586 6.64137 21 11.75 21C16.8586 21 21 16.8586 21 11.75C21 6.64137 16.8586 2.5 11.75 2.5ZM1 11.75C1 5.81294 5.81294 1 11.75 1C17.6871 1 22.5 5.81294 22.5 11.75C22.5 17.6871 17.6871 22.5 11.75 22.5C5.81294 22.5 1 17.6871 1 11.75Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17 12.75H7V11.25H17V12.75Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 413 B After Width: | Height: | Size: 546 B |
@@ -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="M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12ZM18 11H6V13H18V11Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.75 1C5.81294 1 1 5.81294 1 11.75C1 17.6871 5.81294 22.5 11.75 22.5C17.6871 22.5 22.5 17.6871 22.5 11.75C22.5 5.81294 17.6871 1 11.75 1ZM7 12.75H17V11.25H7V12.75Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 302 B After Width: | Height: | Size: 336 B |
@@ -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="M23.7071 1.70711C24.0976 1.31658 24.0976 0.683417 23.7071 0.292893C23.3166 -0.0976311 22.6834 -0.0976311 22.2929 0.292893L0.292893 22.2929C-0.0976311 22.6834 -0.0976311 23.3166 0.292893 23.7071C0.683417 24.0976 1.31658 24.0976 1.70711 23.7071L23.7071 1.70711ZM13.1818 6.57556V2.9091C13.1818 2.55636 12.9777 2.23546 12.6583 2.08584C12.3389 1.93622 11.9617 1.9849 11.6907 2.21072L5.1254 7.68182H0.90909C0.407013 7.68182 1.86265e-08 8.08884 1.86265e-08 8.59091V15.4091C1.86265e-08 15.9112 0.407013 16.3182 0.90909 16.3182H3.43918L5.25736 14.5H1.81818V9.5H5.45454C5.66721 9.5 5.87315 9.42544 6.03652 9.2893L11.3636 4.85005V8.39374L13.1818 6.57556ZM13.1818 15.0608L11.3636 16.879V19.15L10.1249 18.1177L8.83398 19.4087L11.6907 21.7893C11.9617 22.0151 12.3389 22.0638 12.6583 21.9142C12.9777 21.7645 13.1818 21.4436 13.1818 21.0909V15.0608ZM18.0399 10.2027C18.3162 10.7539 18.4639 11.3669 18.4639 11.995C18.4639 13.0557 18.0427 14.0729 17.2928 14.823C16.9023 15.2136 16.9024 15.8467 17.293 16.2372C17.6836 16.6277 18.3167 16.6276 18.7072 16.237C19.832 15.1118 20.4639 13.586 20.4639 11.995C20.4639 10.831 20.1257 9.70186 19.5036 8.739L18.0399 10.2027Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.7071 1.70711C24.0976 1.31658 24.0976 0.683417 23.7071 0.292893C23.3166 -0.0976311 22.6834 -0.0976311 22.2929 0.292893L0.292893 22.2929C-0.0976311 22.6834 -0.0976311 23.3166 0.292893 23.7071C0.683417 24.0976 1.31658 24.0976 1.70711 23.7071L23.7071 1.70711ZM13.1818 6.57556V2.9091C13.1818 2.55636 12.9777 2.23546 12.6583 2.08584C12.3389 1.93622 11.9617 1.9849 11.6907 2.21072L5.1254 7.68182H0.90909C0.407013 7.68182 0 8.08884 0 8.59091V15.4091C0 15.9112 0.407013 16.3182 0.90909 16.3182H3.43918L5.25736 14.5H1.81818V9.5H5.45454C5.66721 9.5 5.87315 9.42544 6.03652 9.2893L11.3636 4.85005V8.39374L13.1818 6.57556ZM13.1818 15.0608L11.3636 16.879V19.15L10.1249 18.1177L8.83398 19.4087L11.6907 21.7893C11.9617 22.0151 12.3389 22.0638 12.6583 21.9142C12.9777 21.7645 13.1818 21.4436 13.1818 21.0909V15.0608ZM18.0399 10.2027C18.3162 10.7539 18.4639 11.3669 18.4639 11.995C18.4639 13.0557 18.0427 14.0729 17.2928 14.823C16.9023 15.2136 16.9024 15.8467 17.293 16.2372C17.6836 16.6277 18.3167 16.6276 18.7072 16.237C19.832 15.1118 20.4639 13.586 20.4639 11.995C20.4639 10.831 20.1257 9.70186 19.5036 8.739L18.0399 10.2027Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -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="M23.7071 1.70711C24.0976 1.31658 24.0976 0.683417 23.7071 0.292893C23.3166 -0.0976311 22.6834 -0.0976311 22.2929 0.292893L0.292893 22.2929C-0.0976311 22.6834 -0.0976311 23.3166 0.292893 23.7071C0.683417 24.0976 1.31658 24.0976 1.70711 23.7071L23.7071 1.70711ZM13.1818 6.57556V2.9091C13.1818 2.55636 12.9777 2.23546 12.6583 2.08584C12.3389 1.93622 11.9617 1.9849 11.6907 2.21072L5.1254 7.68182H0.90909C0.407013 7.68182 1.86265e-08 8.08884 1.86265e-08 8.59091V15.4091C1.86265e-08 15.9112 0.407013 16.3182 0.90909 16.3182H3.43918L13.1818 6.57556ZM13.1818 15.0608L8.83398 19.4087L11.6907 21.7893C11.9617 22.0151 12.3389 22.0638 12.6583 21.9142C12.9777 21.7645 13.1818 21.4436 13.1818 21.0909V15.0608ZM18.0399 10.2027C18.3162 10.7539 18.4639 11.3669 18.4639 11.995C18.4639 13.0557 18.0427 14.0729 17.2928 14.823C16.9023 15.2136 16.9024 15.8467 17.293 16.2372C17.6836 16.6277 18.3167 16.6276 18.7072 16.237C19.832 15.1118 20.4639 13.586 20.4639 11.995C20.4639 10.831 20.1257 9.70186 19.5036 8.739L18.0399 10.2027Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M23.7071 1.70711C24.0976 1.31658 24.0976 0.683417 23.7071 0.292893C23.3166 -0.0976311 22.6834 -0.0976311 22.2929 0.292893L0.292893 22.2929C-0.0976311 22.6834 -0.0976311 23.3166 0.292893 23.7071C0.683417 24.0976 1.31658 24.0976 1.70711 23.7071L23.7071 1.70711ZM13.1818 6.57556V2.9091C13.1818 2.55636 12.9777 2.23546 12.6583 2.08584C12.3389 1.93622 11.9617 1.9849 11.6907 2.21072L5.1254 7.68182H0.90909C0.407013 7.68182 0 8.08884 0 8.59091V15.4091C0 15.9112 0.407013 16.3182 0.90909 16.3182H3.43918L13.1818 6.57556ZM13.1818 15.0608L8.83398 19.4087L11.6907 21.7893C11.9617 22.0151 12.3389 22.0638 12.6583 21.9142C12.9777 21.7645 13.1818 21.4436 13.1818 21.0909V15.0608ZM18.0399 10.2027C18.3162 10.7539 18.4639 11.3669 18.4639 11.995C18.4639 13.0557 18.0427 14.0729 17.2928 14.823C16.9023 15.2136 16.9024 15.8467 17.293 16.2372C17.6836 16.6277 18.3167 16.6276 18.7072 16.237C19.832 15.1118 20.4639 13.586 20.4639 11.995C20.4639 10.831 20.1257 9.70186 19.5036 8.739L18.0399 10.2027Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -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 2C9.79085 2 7.99999 3.79086 7.99999 6C7.99999 6.66187 8.16311 7.29714 8.45828 7.85918C6.00646 9.12956 5.6173 13.1739 8.76271 14.4845L12.7692 16.1538C13.5145 16.4644 14 17.1926 14 18C14 19.1046 13.1046 20 12 20C10.8954 20 9.99999 19.1046 9.99999 18H7.99999C7.99999 20.2091 9.79085 22 12 22C14.2091 22 16 20.2091 16 18C16 17.3381 15.8369 16.7029 15.5417 16.1408C17.9935 14.8704 18.3827 10.8261 15.2373 9.51554L11.2308 7.84615C10.4855 7.53561 9.99999 6.8074 9.99999 6C9.99999 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6H16C16 3.79086 14.2091 2 12 2ZM13.9738 14.5208C15.6075 14.4232 16.1245 12.0519 14.4681 11.3617L10.4615 9.69231C10.311 9.62957 10.1657 9.55832 10.0262 9.47924C8.39252 9.57681 7.87544 11.9481 9.53194 12.6383L13.5385 14.3077C13.689 14.3704 13.8343 14.4417 13.9738 14.5208Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 965 B |
@@ -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.49348 0.301235L13.208 5.13345L18.018 3.73648C19.8869 3.19347 21.9303 3.79492 23.3962 5.31952C24.1385 6.09153 24.2056 7.34928 23.5462 8.12879C23.3312 8.38292 23.0549 8.56438 22.7464 8.65402L8.51231 12.7898C6.67449 13.3238 4.74872 12.813 3.27685 11.5686L1.16121 12.1823L0.612838 10.2445L1.84763 9.88648C1.76929 9.75703 1.69455 9.62419 1.62362 9.48809L0 5.82603L2.51275 5.09594C3.09005 4.9282 3.72078 5.09537 4.19356 5.54142L6.56177 7.06516L6.84472 6.98202L1.79678 1.41307L3.32232 0.353247C3.97205 -0.0981305 4.82343 -0.118526 5.49348 0.301235ZM21.9291 24C21.9758 23.6734 22 23.3395 22 23C22 19.134 18.866 16 15 16C13.1192 16 11.4116 16.7418 10.1539 17.9487C12.3116 19.1547 13.8122 21.3958 13.9836 24H21.9291ZM1.0001 24H12.0001C11.7464 21.1968 9.38085 19 6.50009 19C3.61933 19 1.25375 21.1968 1.0001 24Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.49348 0.301235L13.208 5.13345L18.018 3.73648C19.8869 3.19347 21.9303 3.79492 23.3962 5.31952C24.1385 6.09153 24.2056 7.34928 23.5462 8.12879C23.3312 8.38292 23.0549 8.56438 22.7464 8.65402L8.51231 12.7898C6.67449 13.3238 4.74872 12.813 3.27685 11.5686L1.16121 12.1823L0.612838 10.2445L1.84763 9.88648C1.76929 9.75703 1.69455 9.62419 1.62362 9.48809L0 5.82603L2.51275 5.09594C3.09005 4.9282 3.72078 5.09537 4.19356 5.54142L6.56177 7.06516L6.84472 6.98202L1.79678 1.41307L3.32232 0.353247C3.97205 -0.0981305 4.82343 -0.118526 5.49348 0.301235ZM21.9291 24C21.9758 23.6734 22 23.3395 22 23C22 19.134 18.866 16 15 16C13.1192 16 11.4116 16.7418 10.1539 17.9487C12.3116 19.1547 13.8122 21.3958 13.9836 24H21.9291ZM1 24H12C11.7463 21.1968 9.38076 19 6.49999 19C3.61923 19 1.25365 21.1968 1 24Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 974 B After Width: | Height: | Size: 959 B |
@@ -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="M9.45029 10.1268C9.44092 10.1331 9.44241 10.1311 9.4542 10.1242L9.45029 10.1268ZM6 4.66667C6 6.7546 7.63481 10.0686 8.9844 11.4088C7.12016 13.0097 6.00001 15.3685 6.00001 17.9055L6.00001 19.9115C3.92385 20.3507 2.01815 21.7135 1 24H14C12.82 21.3501 10.448 19.9408 8.00001 19.7721V17.9055C8.00001 15.9055 8.90834 14.0499 10.4113 12.8224C11.6085 14.2035 15.1446 16 17.3333 16C20 16 22 14.2091 22 12C22 9.79086 20.2789 8 17.3333 8C15.8807 8 13.8347 8.79128 12.2727 9.72728C13.2087 8.16533 14 6.11927 14 4.66667C14 1.72115 12.2091 0 10 0C7.79086 0 6 2 6 4.66667Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.45029 10.1268C9.44092 10.1331 9.44241 10.1311 9.4542 10.1242L9.45029 10.1268ZM6 4.66667C6 6.7546 7.63481 10.0686 8.9844 11.4088C7.12016 13.0097 6.00001 15.3685 6.00001 17.9055L6.00001 19.9115C3.92384 20.3507 2.01815 21.7135 1 24H14C12.82 21.3501 10.448 19.9408 8.00001 19.7721V17.9055C8.00001 15.9055 8.90834 14.0499 10.4113 12.8224C11.6085 14.2035 15.1446 16 17.3333 16C20 16 22 14.2091 22 12C22 9.79086 20.2789 8 17.3333 8C15.8807 8 13.8347 8.79128 12.2727 9.72728C13.2087 8.16533 14 6.11927 14 4.66667C14 1.72115 12.2091 0 10 0C7.79086 0 6 2 6 4.66667Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 729 B |
@@ -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="M9.70711 3.70711C10.0976 3.31658 10.0976 2.68342 9.70711 2.29289C9.31658 1.90237 8.68342 1.90237 8.29289 2.29289L5.29289 5.2929C5.10535 5.48043 5 5.73479 5 6C5 6.26522 5.10535 6.51957 5.29289 6.70711L8.29289 9.70711C8.68342 10.0976 9.31658 10.0976 9.70711 9.70711C10.0976 9.31658 10.0976 8.68342 9.70711 8.29289L8.41421 7H17C18.6569 7 20 8.34315 20 10V12C20 12.5523 20.4477 13 21 13C21.5523 13 22 12.5523 22 12V10C22 7.23858 19.7614 5 17 5H8.41421L9.70711 3.70711ZM14.2929 20.2929C13.9024 20.6834 13.9024 21.3166 14.2929 21.7071C14.6834 22.0976 15.3166 22.0976 15.7071 21.7071L18.7071 18.7071C18.8946 18.5196 19 18.2652 19 18C19 17.7348 18.8946 17.4804 18.7071 17.2929L15.7071 14.2929C15.3166 13.9024 14.6834 13.9024 14.2929 14.2929C13.9024 14.6834 13.9024 15.3166 14.2929 15.7071L15.5858 17L7 17C5.34314 17 4 15.6569 4 14L4 12C4 11.4477 3.55228 11 3 11C2.44771 11 2 11.4477 2 12V14C2 16.7614 4.23858 19 7 19H15.5858L14.2929 20.2929Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.70711 3.7071L10.4142 2.99999L9 1.58578L8.29289 2.29289L5.29289 5.29289L4.58578 6L5.29289 6.7071L8.29289 9.7071L9 10.4142L10.4142 8.99999L9.70711 8.29289L8.41421 6.99999H17C18.6569 6.99999 20 8.34314 20 9.99999V12V13H22V12V9.99999C22 7.23857 19.7614 4.99999 17 4.99999H8.41421L9.70711 3.7071ZM14.2929 20.2929L13.5858 21L15 22.4142L15.7071 21.7071L18.7071 18.7071L19.4142 18L18.7071 17.2929L15.7071 14.2929L15 13.5858L13.5858 15L14.2929 15.7071L15.5858 17L7 17C5.34314 17 4 15.6568 4 14L4 12L4 11H2V12V14C2 16.7614 4.23858 19 7 19H15.5858L14.2929 20.2929Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 727 B |
@@ -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="M2 0C0.895431 0 0 0.89543 0 2V22C0 23.1046 0.89543 24 2 24H22C23.1046 24 24 23.1046 24 22V2C24 0.895431 23.1046 0 22 0H2ZM9.70711 2.29289C10.0976 2.68342 10.0976 3.31658 9.70711 3.70711L8.41421 5H17C19.7614 5 22 7.23858 22 10V12C22 12.5523 21.5523 13 21 13C20.4477 13 20 12.5523 20 12V10C20 8.34315 18.6569 7 17 7H8.41421L9.70711 8.29289C10.0976 8.68342 10.0976 9.31658 9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L5.29289 6.70711C5.10535 6.51957 5 6.26522 5 6C5 5.73479 5.10535 5.48043 5.29289 5.2929L8.29289 2.29289C8.68342 1.90237 9.31658 1.90237 9.70711 2.29289ZM14.2929 21.7071C13.9024 21.3166 13.9024 20.6834 14.2929 20.2929L15.5858 19H7C4.23858 19 2 16.7614 2 14V12C2 11.4477 2.44771 11 3 11C3.55228 11 4 11.4477 4 12V14C4 15.6569 5.34314 17 7 17H15.5858L14.2929 15.7071C13.9024 15.3166 13.9024 14.6834 14.2929 14.2929C14.6834 13.9024 15.3166 13.9024 15.7071 14.2929L18.7071 17.2929C18.8946 17.4804 19 17.7348 19 18C19 18.2652 18.8946 18.5196 18.7071 18.7071L15.7071 21.7071C15.3166 22.0976 14.6834 22.0976 14.2929 21.7071Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.70711 3.7071L10.4142 2.99999L9 1.58578L8.29289 2.29289L5.29289 5.29289L4.58578 6L5.29289 6.7071L8.29289 9.7071L9 10.4142L10.4142 8.99999L9.70711 8.29289L8.41421 6.99999H17C18.6569 6.99999 20 8.34314 20 9.99999V12V13H22V12V9.99999C22 7.23857 19.7614 4.99999 17 4.99999H8.41421L9.70711 3.7071ZM14.2929 20.2929L13.5858 21L15 22.4142L15.7071 21.7071L18.7071 18.7071L19.4142 18L18.7071 17.2929L15.7071 14.2929L15 13.5858L13.5858 15L14.2929 15.7071L15.5858 17L7 17C5.34314 17 4 15.6568 4 14L4 12L4 11H2V12V14C2 16.7614 4.23858 19 7 19H15.5858L14.2929 20.2929Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 727 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 d="M6.70817 6C8.11909 4.75448 9.9715 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12H2C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C9.27396 2 6.80296 3.09136 5 4.85869L5 2H3L3 8H9V6H6.70817Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 394 B |
@@ -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.99999 0L24 18V0H5.99999ZM10.8284 2L22 13.1716V2H10.8284ZM5.65685 5.61522L2.82843 8.44365L15.5563 21.1716L18.3848 18.3431L5.65685 5.61522ZM6.36396 3.4939C5.97344 3.10338 5.34027 3.10338 4.94975 3.4939L0 8.44365L15.5563 24L20.5061 19.0503C20.8966 18.6597 20.8966 18.0266 20.5061 17.636L6.36396 3.4939ZM5.6568 8.44365L7.07101 7.02944L8.48522 8.44365L7.07101 9.85786L5.6568 8.44365ZM9.89938 9.85786L8.48516 11.2721L9.89938 12.6863L11.3136 11.2721L9.89938 9.85786ZM14.142 16.9289L15.5562 15.5147L16.9705 16.9289L15.5562 18.3431L14.142 16.9289ZM12.7279 12.6863L11.3137 14.1005L12.7279 15.5147L14.1421 14.1005L12.7279 12.6863ZM20 8L16 4H20V8Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 0L24 18V0H6ZM10.8284 2L22 13.1716V2H10.8284ZM5.65686 5.61522L2.82843 8.44365L15.5564 21.1716L18.3848 18.3431L5.65686 5.61522ZM6.36397 3.4939C5.97344 3.10338 5.34028 3.10338 4.94975 3.4939L6.19888e-06 8.44365L15.5564 24L20.5061 19.0503C20.8966 18.6597 20.8966 18.0266 20.5061 17.636L6.36397 3.4939ZM5.6568 8.44365L7.07102 7.02944L8.48523 8.44365L7.07102 9.85786L5.6568 8.44365ZM9.89939 9.85786L8.48517 11.2721L9.89939 12.6863L11.3136 11.2721L9.89939 9.85786ZM14.142 16.9289L15.5562 15.5147L16.9705 16.9289L15.5562 18.3431L14.142 16.9289ZM12.7279 12.6863L11.3137 14.1005L12.7279 15.5147L14.1421 14.1005L12.7279 12.6863ZM20 8L16 4H20V8Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 809 B After Width: | Height: | Size: 807 B |
@@ -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="M0 2C0 0.895431 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V9C24 10.1046 23.1046 11 22 11H15.873V7.97321C15.873 5.71449 13.9976 4 11.8306 4C9.66355 4 7.78822 5.71449 7.78822 7.97321V11H2C0.89543 11 0 10.1046 0 9V2ZM13.8729 7.97321C13.8729 6.88344 12.9585 6 11.8305 6C10.7025 6 9.78814 6.88344 9.78814 7.97321V15.7649L8.33449 14.8968C7.59156 14.4545 6.42256 14.3456 5.63601 15.1071C4.81668 15.9004 4.81492 17.0483 5.48153 17.8753L10 24H18.5L19.9914 16.9368C20.1172 15.1979 18.8538 13.6637 17.1118 13.4398L13.8729 13.1339V7.97321Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 2C0 0.895431 0.895431 0 2 0H22C23.1046 0 24 0.895431 24 2V9C24 10.1046 23.1046 11 22 11H15.873V7.97321C15.873 5.71449 13.9976 4 11.8306 4C9.66355 4 7.78822 5.71449 7.78822 7.97321V11H2C0.89543 11 0 10.1046 0 9V2ZM13.8729 7.97321C13.8729 6.88344 12.9585 6 11.8305 6C10.7025 6 9.78815 6.88344 9.78815 7.97321V15.7649L8.33449 14.8968C7.59156 14.4545 6.42256 14.3456 5.63601 15.1071C4.81668 15.9004 4.81492 17.0483 5.48153 17.8753L10 24H18.5L19.9914 16.9368C20.1172 15.1979 18.8538 13.6637 17.1118 13.4398L13.8729 13.1339V7.97321Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 700 B After Width: | Height: | Size: 700 B |
@@ -1,4 +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 0C18.6274 0 24 5.37258 24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0Z" fill="#007C2E"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.0465 7.67114L18.4456 9.10034L9.71768 17.4992L6 14.0182L7.39516 12.5852L9.71359 14.7034L17.0465 7.67114Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12ZM18.4456 9.10034L17.0465 7.67114L9.71359 14.7034L7.39515 12.5852L6 14.0182L9.71768 17.4992L18.4456 9.10034Z" fill="#007C2E"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 391 B |
@@ -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="M13.8081 0.399316L5.08803 15.9235C4.81982 16.4147 5.19684 17 5.78139 17H23.2186C23.8109 17 24.1873 16.4005 23.9036 15.9088L15.1865 0.38453C14.8869 -0.134823 14.0952 -0.12633 13.8081 0.399316ZM14.5013 3.2491L7.90072 15H21.0996L14.5013 3.2491ZM13.5 5.99999H15.5V9.99999H13.5V5.99999ZM14.5 14C15.3284 14 16 13.3284 16 12.5C16 11.6716 15.3284 11 14.5 11C13.6716 11 13 11.6716 13 12.5C13 13.3284 13.6716 14 14.5 14ZM23 22C23 23.1046 22.1419 24 21.0833 24H1.91667C0.858121 24 0 23.1046 0 22H23ZM3 5.99999H8.97997L7.87908 7.99999H3V17.0879V19H20V18H22V19C22 20.1046 21.1046 21 20 21H3C1.89543 21 1 20.1046 1 19V7.99999C1 6.89542 1.89543 5.99999 3 5.99999Z" fill="#262626"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.8081 0.399328L5.08803 15.9236C4.81982 16.4147 5.19684 17 5.78139 17H23.2186C23.8109 17 24.1873 16.4005 23.9036 15.9088L15.1865 0.384542C14.8869 -0.13481 14.0952 -0.126317 13.8081 0.399328ZM14.5013 3.24911L7.90072 15H21.0996L14.5013 3.24911ZM13.5 6H15.5V10H13.5V6ZM14.5 14C15.3284 14 16 13.3284 16 12.5C16 11.6716 15.3284 11 14.5 11C13.6716 11 13 11.6716 13 12.5C13 13.3284 13.6716 14 14.5 14ZM23 22C23 23.1046 22.1419 24 21.0833 24H1.91667C0.858121 24 0 23.1046 0 22H23ZM3 6H8.97997L7.87908 8H3V17.0879V19H20V18H22V19C22 20.1046 21.1046 21 20 21H3C1.89543 21 1 20.1046 1 19V8C1 6.89543 1.89543 6 3 6Z" fill="#262626"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 819 B After Width: | Height: | Size: 775 B |