Compare commits

...
Author SHA1 Message Date
github-actions[bot]andgithub-actions[bot] 30330473b1 Version Packages (#1949)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-04-27 16:20:52 +02:00
Ken b1e18fd724 🐛 Timeline bruker nå norsk locale (#1948) 2023-04-27 16:18:41 +02:00
Ken 5b458c2d52 💄 Ascii-art for CLI 2023-04-27 15:22:19 +02:00
26 changed files with 114 additions and 63 deletions

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# @navikt/aksel-icons
## 2.9.2
## 2.9.1
## 2.9.0
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/aksel-icons",
"version": "2.9.1",
"version": "2.9.2",
"author": "Aksel | NAV",
"homepage": "https://aksel.nav.no/ikoner",
"repository": {
+7
View File
@@ -1,5 +1,12 @@
# @navikt/aksel
## 2.9.2
### Patch Changes
- Updated dependencies []:
- @navikt/ds-css@2.9.2
## 2.9.1
### Patch Changes
+2 -2
View File
@@ -1,9 +1,9 @@
import chalk from "chalk";
import figlet from "figlet";
export function helpCommand() {
console.log(figlet.textSync("Aksel CLI"));
console.log(`
✨ Aksel client-tool
📝 Documentation
- ${chalk.blueBright(
"https://aksel.nav.no/grunnleggende/kode/kommandolinje"
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/aksel",
"version": "2.9.1",
"version": "2.9.2",
"description": "Aksel command line interface. Handles css-imports, codemods (planned) and more",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -28,12 +28,13 @@
"type": "module",
"homepage": "https://aksel.nav.no/grunnleggende/kode/kommandolinje",
"dependencies": {
"@navikt/ds-css": "2.9.1",
"@navikt/ds-css": "2.9.2",
"axios": "1.3.6",
"chalk": "4.1.0",
"clipboardy": "^3.0.0",
"enquirer": "^2.3.6",
"fast-glob": "3.2.11",
"figlet": "1.6.0",
"lodash": "4.17.21",
"react-scanner": "^1.1.0"
},
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-codemod
## 2.9.2
## 2.9.1
## 2.9.0
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-codemod",
"version": "2.9.1",
"version": "2.9.2",
"description": "Aksel codemods for NAVs designsystem",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
+2 -2
View File
@@ -40,8 +40,8 @@
"build-pict": "svgr --silent --index-template index-template.js --out-dir src/pictograms pictograms"
},
"dependencies": {
"@navikt/ds-icons": "^2.9.1",
"@navikt/ds-react": "^2.9.1",
"@navikt/ds-icons": "^2.9.2",
"@navikt/ds-react": "^2.9.2",
"clsx": "^1.1.1"
},
"devDependencies": {
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-css
## 2.9.2
## 2.9.1
## 2.9.0
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css",
"version": "2.9.1",
"version": "2.9.2",
"description": "CSS for NAV Designsystem",
"author": "Aksel | NAV designsystem team",
"keywords": [
@@ -27,7 +27,7 @@
"css:get-version": "node config/get-version.js"
},
"devDependencies": {
"@navikt/ds-tokens": "^2.9.1",
"@navikt/ds-tokens": "^2.9.2",
"cssnano": "6.0.0",
"fast-glob": "3.2.11",
"lodash": "4.17.21",
+8
View File
@@ -1,5 +1,13 @@
# @navikt/ds-react
## 2.9.2
### Patch Changes
- Updated dependencies []:
- @navikt/aksel-icons@2.9.2
- @navikt/ds-icons@2.9.2
## 2.9.1
### Patch Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react",
"version": "2.9.1",
"version": "2.9.2",
"description": "Aksel react-components for NAV designsystem",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -38,8 +38,8 @@
},
"dependencies": {
"@floating-ui/react": "0.17.0",
"@navikt/aksel-icons": "^2.9.1",
"@navikt/ds-icons": "^2.9.1",
"@navikt/aksel-icons": "^2.9.2",
"@navikt/ds-icons": "^2.9.2",
"@radix-ui/react-tabs": "1.0.0",
"@radix-ui/react-toggle-group": "1.0.0",
"clsx": "^1.2.1",
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-tailwind
## 2.9.2
## 2.9.1
## 2.9.0
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-tailwind",
"version": "2.9.1",
"version": "2.9.2",
"description": "Tailwind config based on @navikt/ds-tokens",
"author": "Aksel | NAV designsystem team",
"keywords": [
@@ -22,7 +22,7 @@
"directory": "@navikt/core/tailwind"
},
"devDependencies": {
"@navikt/ds-tokens": "^2.9.1",
"@navikt/ds-tokens": "^2.9.2",
"@types/jest": "^29.0.0",
"color": "4.2.3",
"jest": "^29.0.0",
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-tokens
## 2.9.2
## 2.9.1
## 2.9.0
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-tokens",
"version": "2.9.1",
"version": "2.9.2",
"description": "Design-tokens for NAV designsystem",
"author": "Aksel | NAV designsystem team",
"keywords": [
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-icons
## 2.9.2
## 2.9.1
## 2.9.0
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-icons",
"version": "2.9.1",
"version": "2.9.2",
"description": "Aksel icons for NAV",
"author": "Aksel | NAV designsystem team",
"repository": {
+2
View File
@@ -1,5 +1,7 @@
# @navikt/ds-css-internal
## 2.9.2
## 2.9.1
## 2.9.0
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-css-internal",
"version": "2.9.1",
"version": "2.9.2",
"description": "CSS for NAV internal Designsystem-components",
"author": "Aksel | NAV designsystem team",
"keywords": [
+10
View File
@@ -1,5 +1,15 @@
# @navikt/ds-react-internal
## 2.9.2
### Patch Changes
- [#1948](https://github.com/navikt/aksel/pull/1948) [`b1e18fd72`](https://github.com/navikt/aksel/commit/b1e18fd7249105f18354952b8f64d37108b4d730) Thanks [@KenAJoh](https://github.com/KenAJoh)! - :bug: Timeline bruker nå norsk locale for Labels
- Updated dependencies []:
- @navikt/ds-react@2.9.2
- @navikt/ds-icons@2.9.2
## 2.9.1
### Patch Changes
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@navikt/ds-react-internal",
"version": "2.9.1",
"version": "2.9.2",
"description": "Aksel react components for internal UIs in NAV",
"author": "Aksel | NAV designsystem team",
"license": "MIT",
@@ -36,8 +36,8 @@
"watch": "tsc --watch -p tsconfig.esm.json"
},
"dependencies": {
"@navikt/ds-icons": "^2.9.1",
"@navikt/ds-react": "^2.9.1",
"@navikt/ds-icons": "^2.9.2",
"@navikt/ds-react": "^2.9.2",
"clsx": "^1.1.1",
"copy-to-clipboard": "^3.3.1"
},
@@ -14,6 +14,7 @@ import {
startOfYear,
subDays,
} from "date-fns";
import nbLocale from "date-fns/locale/nb";
import React from "react";
import { useTimelineContext } from "./hooks/useTimelineContext";
import { isVisible } from "./utils";
@@ -42,7 +43,7 @@ export const dayLabels = (
return {
direction: direction,
horizontalPosition: horizontalPosition,
label: format(day, "MM.dd"),
label: format(day, "dd.MM", { locale: nbLocale }),
date: day,
width: width,
};
@@ -69,7 +70,7 @@ export const monthLabels = (
return {
direction: direction,
horizontalPosition: horizontalPosition,
label: format(month, "MMM yy"),
label: format(month, "MMM yy", { locale: nbLocale }),
date: month,
width: width,
};
+9 -9
View File
@@ -15,15 +15,15 @@
"website"
],
"dependencies": {
"@navikt/aksel-icons": "^2.9.1",
"@navikt/ds-codemod": "^2.9.1",
"@navikt/ds-css": "^2.9.1",
"@navikt/ds-css-internal": "^2.9.1",
"@navikt/ds-icons": "^2.9.1",
"@navikt/ds-react": "^2.9.1",
"@navikt/ds-react-internal": "^2.9.1",
"@navikt/ds-tailwind": "^2.9.1",
"@navikt/ds-tokens": "^2.9.1"
"@navikt/aksel-icons": "^2.9.2",
"@navikt/ds-codemod": "^2.9.2",
"@navikt/ds-css": "^2.9.2",
"@navikt/ds-css-internal": "^2.9.2",
"@navikt/ds-icons": "^2.9.2",
"@navikt/ds-react": "^2.9.2",
"@navikt/ds-react-internal": "^2.9.2",
"@navikt/ds-tailwind": "^2.9.2",
"@navikt/ds-tokens": "^2.9.2"
},
"devDependencies": {
"prettier-plugin-tailwindcss": "^0.2.3"
+2 -2
View File
@@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@navikt/ds-css": "2.9.1",
"@navikt/ds-react": "2.9.1",
"@navikt/ds-css": "2.9.2",
"@navikt/ds-react": "2.9.2",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
+39 -29
View File
@@ -3885,7 +3885,7 @@ __metadata:
languageName: node
linkType: hard
"@navikt/aksel-icons@^2.9.0, @navikt/aksel-icons@workspace:@navikt/aksel-icons":
"@navikt/aksel-icons@^2.9.1, @navikt/aksel-icons@workspace:@navikt/aksel-icons":
version: 0.0.0-use.local
resolution: "@navikt/aksel-icons@workspace:@navikt/aksel-icons"
dependencies:
@@ -3912,13 +3912,14 @@ __metadata:
version: 0.0.0-use.local
resolution: "@navikt/aksel@workspace:@navikt/aksel"
dependencies:
"@navikt/ds-css": 2.9.0
"@navikt/ds-css": 2.9.1
"@types/inquirer": ^9.0.3
axios: 1.3.6
chalk: 4.1.0
clipboardy: ^3.0.0
enquirer: ^2.3.6
fast-glob: 3.2.11
figlet: 1.6.0
lodash: 4.17.21
react-scanner: ^1.1.0
rimraf: 3.0.2
@@ -3928,7 +3929,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-codemod@^2.9.0, @navikt/ds-codemod@workspace:@navikt/codemod":
"@navikt/ds-codemod@^2.9.1, @navikt/ds-codemod@workspace:@navikt/codemod":
version: 0.0.0-use.local
resolution: "@navikt/ds-codemod@workspace:@navikt/codemod"
dependencies:
@@ -3955,7 +3956,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-css-internal@^2.9.0, @navikt/ds-css-internal@workspace:@navikt/internal/css":
"@navikt/ds-css-internal@^2.9.1, @navikt/ds-css-internal@workspace:@navikt/internal/css":
version: 0.0.0-use.local
resolution: "@navikt/ds-css-internal@workspace:@navikt/internal/css"
dependencies:
@@ -3966,11 +3967,11 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-css@2.9.0, @navikt/ds-css@^2.9.0, @navikt/ds-css@workspace:@navikt/core/css":
"@navikt/ds-css@2.9.1, @navikt/ds-css@^2.9.1, @navikt/ds-css@workspace:@navikt/core/css":
version: 0.0.0-use.local
resolution: "@navikt/ds-css@workspace:@navikt/core/css"
dependencies:
"@navikt/ds-tokens": ^2.9.0
"@navikt/ds-tokens": ^2.9.1
cssnano: 6.0.0
fast-glob: 3.2.11
lodash: 4.17.21
@@ -3983,7 +3984,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-icons@^2.9.0, @navikt/ds-icons@workspace:@navikt/icons":
"@navikt/ds-icons@^2.9.1, @navikt/ds-icons@workspace:@navikt/icons":
version: 0.0.0-use.local
resolution: "@navikt/ds-icons@workspace:@navikt/icons"
dependencies:
@@ -4019,8 +4020,8 @@ __metadata:
"@babel/preset-env": 7.19.4
"@babel/preset-react": 7.18.6
"@babel/preset-typescript": 7.18.6
"@navikt/ds-icons": ^2.9.0
"@navikt/ds-react": ^2.9.0
"@navikt/ds-icons": ^2.9.1
"@navikt/ds-react": ^2.9.1
"@rollup/plugin-babel": 6.0.2
"@rollup/plugin-commonjs": 23.0.2
"@rollup/plugin-node-resolve": ^15.0.1
@@ -4045,12 +4046,12 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-react-internal@^2.9.0, @navikt/ds-react-internal@workspace:@navikt/internal/react":
"@navikt/ds-react-internal@^2.9.1, @navikt/ds-react-internal@workspace:@navikt/internal/react":
version: 0.0.0-use.local
resolution: "@navikt/ds-react-internal@workspace:@navikt/internal/react"
dependencies:
"@navikt/ds-icons": ^2.9.0
"@navikt/ds-react": ^2.9.0
"@navikt/ds-icons": ^2.9.1
"@navikt/ds-react": ^2.9.1
clsx: ^1.1.1
concurrently: 7.2.1
copy-to-clipboard: ^3.3.1
@@ -4066,13 +4067,13 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-react@2.9.0, @navikt/ds-react@^2.9.0, @navikt/ds-react@workspace:@navikt/core/react":
"@navikt/ds-react@2.9.1, @navikt/ds-react@^2.9.1, @navikt/ds-react@workspace:@navikt/core/react":
version: 0.0.0-use.local
resolution: "@navikt/ds-react@workspace:@navikt/core/react"
dependencies:
"@floating-ui/react": 0.17.0
"@navikt/aksel-icons": ^2.9.0
"@navikt/ds-icons": ^2.9.0
"@navikt/aksel-icons": ^2.9.1
"@navikt/ds-icons": ^2.9.1
"@radix-ui/react-tabs": 1.0.0
"@radix-ui/react-toggle-group": 1.0.0
"@testing-library/dom": 8.13.0
@@ -4108,11 +4109,11 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-tailwind@^2.9.0, @navikt/ds-tailwind@workspace:@navikt/core/tailwind":
"@navikt/ds-tailwind@^2.9.1, @navikt/ds-tailwind@workspace:@navikt/core/tailwind":
version: 0.0.0-use.local
resolution: "@navikt/ds-tailwind@workspace:@navikt/core/tailwind"
dependencies:
"@navikt/ds-tokens": ^2.9.0
"@navikt/ds-tokens": ^2.9.1
"@types/jest": ^29.0.0
color: 4.2.3
jest: ^29.0.0
@@ -4123,7 +4124,7 @@ __metadata:
languageName: unknown
linkType: soft
"@navikt/ds-tokens@^2.9.0, @navikt/ds-tokens@workspace:@navikt/core/tokens":
"@navikt/ds-tokens@^2.9.1, @navikt/ds-tokens@workspace:@navikt/core/tokens":
version: 0.0.0-use.local
resolution: "@navikt/ds-tokens@workspace:@navikt/core/tokens"
dependencies:
@@ -8086,15 +8087,15 @@ __metadata:
version: 0.0.0-use.local
resolution: "aksel.nav.no@workspace:aksel.nav.no"
dependencies:
"@navikt/aksel-icons": ^2.9.0
"@navikt/ds-codemod": ^2.9.0
"@navikt/ds-css": ^2.9.0
"@navikt/ds-css-internal": ^2.9.0
"@navikt/ds-icons": ^2.9.0
"@navikt/ds-react": ^2.9.0
"@navikt/ds-react-internal": ^2.9.0
"@navikt/ds-tailwind": ^2.9.0
"@navikt/ds-tokens": ^2.9.0
"@navikt/aksel-icons": ^2.9.1
"@navikt/ds-codemod": ^2.9.1
"@navikt/ds-css": ^2.9.1
"@navikt/ds-css-internal": ^2.9.1
"@navikt/ds-icons": ^2.9.1
"@navikt/ds-react": ^2.9.1
"@navikt/ds-react-internal": ^2.9.1
"@navikt/ds-tailwind": ^2.9.1
"@navikt/ds-tokens": ^2.9.1
prettier-plugin-tailwindcss: ^0.2.3
languageName: unknown
linkType: soft
@@ -13463,6 +13464,15 @@ __metadata:
languageName: node
linkType: hard
"figlet@npm:1.6.0":
version: 1.6.0
resolution: "figlet@npm:1.6.0"
bin:
figlet: bin/index.js
checksum: 7455df4198ab4e260310a2f0bbd8970b8a6c757de16b40f451944eac2a3299f6935b1f40d1cf54d3235c147c9f65ae465533c054ecb7656c076b5cc6037d9274
languageName: node
linkType: hard
"figures@npm:^2.0.0":
version: 2.0.0
resolution: "figures@npm:2.0.0"
@@ -23056,8 +23066,8 @@ __metadata:
version: 0.0.0-use.local
resolution: "shadow-dom@workspace:examples/shadow-dom"
dependencies:
"@navikt/ds-css": 2.9.0
"@navikt/ds-react": 2.9.0
"@navikt/ds-css": 2.9.1
"@navikt/ds-react": 2.9.1
"@types/react": ^18.0.0
"@types/react-dom": ^18.0.0
"@vitejs/plugin-react": ^2.1.0