Skip to content

Commit

Permalink
Merge branch 'main' into renovate/nivo-monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
philibea authored Dec 12, 2024
2 parents 8ccb235 + de622a2 commit 767b310
Show file tree
Hide file tree
Showing 81 changed files with 17,200 additions and 15,449 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
'@ultraviolet/ui': patch
---

Updated dependency `@types/react-dom` to `18.3.3`.
Updated dependency `@types/react` to `18.3.15`.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ turbo.json @scaleway/front-kernel
biome.json @scaleway/front-kernel
eslint.config.mjs @scaleway/front-kernel
pnpm-workspace.yaml @scaleway/front-kernel
svgo.config.cjs @scaleway/front-kernel
svgo.config.mjs @scaleway/front-kernel
.github @scaleway/front-kernel
.changeset/config.json @scaleway/front-kernel
.aws @scaleway/front-kernel
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ tools/*/.turbo
# typescript
*.tsbuildinfo
.tsbuildinfo

# next
next-env.d.ts*
11 changes: 5 additions & 6 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@
}
],
"rules": {
"@typescript/no-explicit-any": "warn",
"@typescript-eslint/no-unused-expressions": "warn",
"@typescript-eslint/ban-tslint-comment": "warn",
"@typescript-eslint/no-unused-expressions": "error",
"@typescript-eslint/ban-tslint-comment": "error",
"@typescript-eslint/consistent-indexed-object-style": "error",
"@typescript-eslint/consistent-type-definitions": ["error", "type"],
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/prefer-enum-initializers": "off",
"@typescript-eslint/prefer-function-type": "off",
"@typescript-eslint/prefer-literal-enum-member": "off",
Expand Down Expand Up @@ -75,13 +74,13 @@
"import/namespace": "off",
"import/no-default-export": "off",
"import/no-duplicates": "off",
"import/unambiguous": "warn",
"import/unambiguous": "off",
"react-perf/jsx-no-jsx-as-prop": "off",
"react-perf/jsx-no-new-array-as-prop": "off",
"react-perf/jsx-no-new-function-as-prop": "off",
"react-perf/jsx-no-new-object-as-prop": "off",
"react/jsx-no-useless-fragment": "off",
"react/iframe-missing-sandbox": "warn",
"react/iframe-missing-sandbox": "error",
"react/jsx-no-target-blank": "off",
"react/react-in-jsx-scope": "off",
"unicorn/error-message": "off",
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const disableRules = {
// ---- biome rules ----
'import/order': 'off',
'import/no-unresolved': 'off',
'@stylistic/no-extra-semi': 'off',
'@stylistic/brace-style': 'off',

// to check
'react/no-unused-prop-types': 'off',
Expand All @@ -36,6 +38,7 @@ export default [
'**/coverage/',
'.storybook',
'eslint.config.mjs',
'next-env.d.ts',
],
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/next-advanced/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
8 changes: 4 additions & 4 deletions examples/next-advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"start": "next start"
},
"dependencies": {
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@ultraviolet/ui": "workspace:*",
"next": "15.0.4",
"next": "15.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-schemaorg": "2.0.0",
Expand All @@ -29,7 +29,7 @@
"devDependencies": {
"@babel/core": "7.26.0",
"@types/node": "22.10.1",
"@types/react": "18.3.14",
"@types/react": "18.3.15",
"@types/react-syntax-highlighter": "15.5.13",
"next-transpile-modules": "10.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/next-login/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module '*.svg' {
export declare module '*.svg' {
const content: string
export default content
}
2 changes: 1 addition & 1 deletion examples/next-login/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
8 changes: 4 additions & 4 deletions examples/next-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"start": "next start"
},
"dependencies": {
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@ultraviolet/form": "workspace:*",
"@ultraviolet/icons": "workspace:*",
"@ultraviolet/ui": "workspace:*",
"next": "15.0.4",
"next": "15.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-schemaorg": "2.0.0",
Expand All @@ -31,7 +31,7 @@
"devDependencies": {
"@babel/core": "7.26.0",
"@types/node": "22.10.1",
"@types/react": "18.3.14",
"@types/react": "18.3.15",
"@types/react-syntax-highlighter": "15.5.13",
"next-transpile-modules": "10.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions examples/next-login/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "@scaleway/tsconfig",
"compilerOptions": {
"types": ["next", "next/image-types/global"],
"target": "es5",
"module": "esnext",
"jsx": "preserve",
Expand Down
2 changes: 1 addition & 1 deletion examples/next-simple/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module '*.svg' {
export declare module '*.svg' {
const content: string
export default content
}
2 changes: 1 addition & 1 deletion examples/next-simple/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
8 changes: 4 additions & 4 deletions examples/next-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"start": "next start"
},
"dependencies": {
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@ultraviolet/ui": "workspace:*",
"next": "15.0.4",
"next": "15.1.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-schemaorg": "2.0.0",
Expand All @@ -30,7 +30,7 @@
"devDependencies": {
"@babel/core": "7.26.0",
"@types/node": "22.10.1",
"@types/react": "18.3.14",
"@types/react": "18.3.15",
"@types/react-syntax-highlighter": "15.5.13",
"next-transpile-modules": "10.0.1"
}
Expand Down
1 change: 1 addition & 0 deletions examples/next-simple/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"**/*.ts",
"**/*.tsx"
],

"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion jest-axe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// because `jest-axe` depends on `@types/jest`, which we don't want
// because we use `@jest/globals`

declare module 'jest-axe' {
export declare module 'jest-axe' {
import type {
AxeResults,
ImpactValue,
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@
"format": "biome check --linter-enabled=false --write .",
"format:check": "biome check --linter-enabled=false --verbose .",
"format:ci": "biome ci --linter-enabled=false .",
"lint:fix": "pnpm run lint --fix",
"lint": "eslint --report-unused-disable-directives --cache .",
"lint:fix": "pnpm run lint --fix",
"oxc": "oxlint -c .oxlintrc.json",
"oxc:fix": "pnpm run oxlint --fix",
"prepare": "husky",
"tokens:update": "node ./scripts/figma-synchronise-tokens.mjs && pnpm run format packages/themes/src/themes/console",
"icons:update": "tsx ./scripts/generate-icons-file.ts && biome format --write packages/icons",
Expand Down Expand Up @@ -100,11 +102,11 @@
"@commitlint/cli": "19.6.0",
"@commitlint/config-conventional": "19.6.0",
"@emotion/babel-plugin": "11.13.5",
"@emotion/cache": "11.13.5",
"@emotion/cache": "11.14.0",
"@emotion/eslint-plugin": "11.12.0",
"@emotion/jest": "11.13.0",
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@eslint/compat": "1.2.4",
"@eslint/eslintrc": "3.2.0",
"@manypkg/cli": "0.23.0",
Expand Down Expand Up @@ -134,7 +136,7 @@
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/node": "22.10.1",
"@types/react": "18.3.14",
"@types/react": "18.3.15",
"@types/react-datepicker": "6.2.0",
"@types/react-dom": "18.3.3",
"@types/zxcvbn": "4.4.5",
Expand Down
27 changes: 27 additions & 0 deletions packages/form/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# Change Log

## 3.12.9

### Patch Changes

- [#4578](https://github.com/scaleway/ultraviolet/pull/4578) [`f7c21ee`](https://github.com/scaleway/ultraviolet/commit/f7c21ee8784fea208191d202aa1284482b91078d) Thanks [@matthprost](https://github.com/matthprost)! - Revert react hook form creating infinite loop

## 3.12.8

### Patch Changes

- Updated dependencies [[`456d104`](https://github.com/scaleway/ultraviolet/commit/456d104c77e5a261f191ee797b2e38e0a4bcad7a)]:
- @ultraviolet/ui@1.81.1

## 3.12.7

### Patch Changes

- [#4562](https://github.com/scaleway/ultraviolet/pull/4562) [`e08da2d`](https://github.com/scaleway/ultraviolet/commit/e08da2d06812061f8fff3e6b51cc95fa86383668) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@types/react-dom` to `18.3.3`.

- [#4567](https://github.com/scaleway/ultraviolet/pull/4567) [`5a9bc84`](https://github.com/scaleway/ultraviolet/commit/5a9bc84498d06b6bfd28fd8589872f3b7e7b77b8) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `react-hook-form` to `7.54.0`.

- [#4568](https://github.com/scaleway/ultraviolet/pull/4568) [`3e42097`](https://github.com/scaleway/ultraviolet/commit/3e4209795e1915cc2069401115009128365a320b) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@emotion/react` to `11.14.0`.
Updated dependency `@emotion/styled` to `11.14.0`.
Updated dependency `@emotion/cache` to `11.14.0`.
- Updated dependencies [[`e08da2d`](https://github.com/scaleway/ultraviolet/commit/e08da2d06812061f8fff3e6b51cc95fa86383668), [`3e42097`](https://github.com/scaleway/ultraviolet/commit/3e4209795e1915cc2069401115009128365a320b), [`ffb2c06`](https://github.com/scaleway/ultraviolet/commit/ffb2c06779d938abc7dde959adcd610ed5af65d7), [`7633f1f`](https://github.com/scaleway/ultraviolet/commit/7633f1f9c8302b01b7be66116bdea62afe09fa07)]:
- @ultraviolet/ui@1.81.0

## 3.12.6

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ultraviolet/form",
"version": "3.12.6",
"version": "3.12.9",
"description": "Ultraviolet Form",
"homepage": "https://github.com/scaleway/ultraviolet#readme",
"repository": {
Expand Down Expand Up @@ -64,17 +64,17 @@
}
],
"peerDependencies": {
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"react": "18.x",
"react-dom": "18.x"
},
"devDependencies": {
"@babel/core": "7.26.0",
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@emotion/react": "11.14.0",
"@emotion/styled": "11.14.0",
"@types/final-form-focus": "1.1.7",
"@types/react": "18.3.14",
"@types/react": "18.3.15",
"@types/react-dom": "18.3.3",
"@utils/test": "workspace:*",
"react": "18.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ exports[`NumberInputField > should render correctly 1`] = `
<svg
class="emotion-9 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
Expand Down Expand Up @@ -362,7 +361,6 @@ exports[`NumberInputField > should render correctly 1`] = `
<svg
class="emotion-20 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5z"
Expand Down Expand Up @@ -632,7 +630,6 @@ exports[`NumberInputField > should render correctly disabled 1`] = `
<svg
class="emotion-9 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
Expand Down Expand Up @@ -671,7 +668,6 @@ exports[`NumberInputField > should render correctly disabled 1`] = `
<svg
class="emotion-9 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5z"
Expand Down Expand Up @@ -1011,7 +1007,6 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`]
<svg
class="emotion-9 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
Expand Down Expand Up @@ -1049,7 +1044,6 @@ exports[`NumberInputField > should trigger event onMinCrossed & onMaxCrossed 1`]
<svg
class="emotion-20 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5z"
Expand Down Expand Up @@ -1327,7 +1321,6 @@ exports[`NumberInputField > should trigger events correctly 1`] = `
<svg
class="emotion-9 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
clip-rule="evenodd"
Expand Down Expand Up @@ -1364,7 +1357,6 @@ exports[`NumberInputField > should trigger events correctly 1`] = `
<svg
class="emotion-9 emotion-10"
viewBox="0 0 20 20"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -682,12 +682,11 @@ exports[`TextInputField > should render correctly notice 1`] = `
>
<svg
class="emotion-12 emotion-13"
viewBox="0 0 16 16"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
>
<path
clip-rule="evenodd"
d="M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0M9 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0M6.75 8a.75.75 0 0 0 0 1.5h.75v1.75a.75.75 0 0 0 1.5 0v-2.5A.75.75 0 0 0 8.25 8z"
d="M10 3.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13M2 10a8 8 0 1 1 16 0 8 8 0 0 1-16 0m7.25-3.02a.75.75 0 0 1 .75-.75h.006a.75.75 0 0 1 .75.75v.005a.75.75 0 0 1-.75.75H10a.75.75 0 0 1-.75-.75zm.244 3.16a.75.75 0 0 1-.434-1.415l.034-.017c1.035-.517 2.2.418 1.92 1.54l-.508 2.03a.75.75 0 0 1 .434 1.414l-.034.016c-1.035.518-2.2-.417-1.92-1.54z"
fill-rule="evenodd"
/>
</svg>
Expand Down
10 changes: 10 additions & 0 deletions packages/icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Change Log

## 3.6.2

### Patch Changes

- [#4562](https://github.com/scaleway/ultraviolet/pull/4562) [`e08da2d`](https://github.com/scaleway/ultraviolet/commit/e08da2d06812061f8fff3e6b51cc95fa86383668) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@types/react-dom` to `18.3.3`.

- [#4568](https://github.com/scaleway/ultraviolet/pull/4568) [`3e42097`](https://github.com/scaleway/ultraviolet/commit/3e4209795e1915cc2069401115009128365a320b) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@emotion/react` to `11.14.0`.
Updated dependency `@emotion/styled` to `11.14.0`.
Updated dependency `@emotion/cache` to `11.14.0`.

## 3.6.1

### Patch Changes
Expand Down
Loading

0 comments on commit 767b310

Please sign in to comment.