diff --git a/.changeset/four-bikes-boil.md b/.changeset/four-bikes-boil.md new file mode 100644 index 0000000..54a72a8 --- /dev/null +++ b/.changeset/four-bikes-boil.md @@ -0,0 +1,5 @@ +--- +"namesake": patch +--- + +Fix tsc build errors diff --git a/package.json b/package.json index eb1d1e8..66b2590 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "lint:fix": "biome lint --write", "format": "biome format", "format:fix": "biome format --write", - "check": "biome check", - "check:fix": "biome check --write", + "check": "tsc && biome check", + "check:fix": "tsc && biome check --write", "preview": "vite preview", "test": "vitest", "test:once": "vitest run", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c531b5c..7cc35bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,16 +20,16 @@ importers: version: 0.0.61(convex@1.15.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1) '@pdfme/common': specifier: ^4.3.2 - version: 4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + version: 4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@pdfme/generator': specifier: ^4.3.2 - version: 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))) + version: 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))) '@pdfme/schemas': specifier: ^4.3.2 - version: 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))) + version: 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))) '@pdfme/ui': specifier: ^4.3.2 - version: 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))))(@types/react@18.3.5) + version: 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))))(@types/react@18.3.5)(date-fns@3.6.0) '@remixicon/react': specifier: ^4.2.0 version: 4.2.0(react@18.3.1) @@ -2466,6 +2466,9 @@ packages: resolution: {integrity: sha512-t/Ygsytq+R995EJ5PZlD4Cu56sWa8InXySaViRzw9apusqsOO2bQP+SbYzAhR0pFKoB+43lYy8rWban9JSuXnA==} engines: {node: '>= 0.4'} + date-fns@3.6.0: + resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==} + dayjs@1.11.13: resolution: {integrity: sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg==} @@ -5752,19 +5755,19 @@ snapshots: dependencies: pako: 1.0.11 - '@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': + '@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))': dependencies: '@pdfme/pdf-lib': 1.18.3 - antd: 5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + antd: 5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) buffer: 6.0.3 - form-render: 2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + form-render: 2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) zod: 3.23.8 - '@pdfme/generator@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))))': + '@pdfme/generator@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))))': dependencies: - '@pdfme/common': 4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@pdfme/common': 4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@pdfme/pdf-lib': 1.18.3 - '@pdfme/schemas': 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))) + '@pdfme/schemas': 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))) atob: 2.1.2 fontkit: 2.0.4 @@ -5776,24 +5779,24 @@ snapshots: node-html-better-parser: 1.4.4 pako: 1.0.11 - '@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))': + '@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))': dependencies: - '@pdfme/common': 4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@pdfme/common': 4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) '@pdfme/pdf-lib': 1.18.3 bwip-js: 4.5.1 fast-xml-parser: 4.4.1 fontkit: 2.0.4 - '@pdfme/ui@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))))(@types/react@18.3.5)': + '@pdfme/ui@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)))(@pdfme/schemas@4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))))(@types/react@18.3.5)(date-fns@3.6.0)': dependencies: '@ant-design/icons': 5.4.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) '@dnd-kit/core': 6.1.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) '@dnd-kit/sortable': 7.0.2(@dnd-kit/core@6.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@16.14.0) - '@pdfme/common': 4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) - '@pdfme/schemas': 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))) + '@pdfme/common': 4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)) + '@pdfme/schemas': 4.3.2(@pdfme/common@4.3.2(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1))) '@scena/react-guides': 0.16.0 - antd: 5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0) - form-render: 2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + antd: 5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + form-render: 2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@16.14.0(react@16.14.0))(react@16.14.0) hotkeys-js: 3.13.7 pdfjs-dist: 3.11.174 react: 16.14.0 @@ -7226,7 +7229,7 @@ snapshots: ansi-styles@6.2.1: {} - antd@5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0): + antd@5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@ant-design/colors': 7.1.0 '@ant-design/cssinjs': 1.21.1(react-dom@16.14.0(react@16.14.0))(react@16.14.0) @@ -7258,7 +7261,7 @@ snapshots: rc-motion: 2.9.2(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-notification: 5.6.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-pagination: 4.2.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) - rc-picker: 4.6.14(dayjs@1.11.13)(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + rc-picker: 4.6.14(date-fns@3.6.0)(dayjs@1.11.13)(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-progress: 4.0.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-rate: 2.13.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-resize-observer: 1.4.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) @@ -7275,8 +7278,8 @@ snapshots: rc-tree-select: 5.22.2(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-upload: 4.7.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) rc-util: 5.43.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0) - react: 16.14.0 - react-dom: 16.14.0(react@16.14.0) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) scroll-into-view-if-needed: 3.1.0 throttle-debounce: 5.0.2 transitivePeerDependencies: @@ -7721,6 +7724,9 @@ snapshots: es-errors: 1.3.0 is-data-view: 1.0.1 + date-fns@3.6.0: + optional: true + dayjs@1.11.13: {} debug@4.3.6: @@ -8023,11 +8029,11 @@ snapshots: cross-spawn: 7.0.3 signal-exit: 4.1.0 - form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@16.14.0(react@16.14.0))(react@16.14.0): + form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@16.14.0(react@16.14.0))(react@16.14.0): dependencies: '@ant-design/icons': 4.8.3(react-dom@16.14.0(react@16.14.0))(react@16.14.0) ahooks: 3.8.1(react@16.14.0) - antd: 5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + antd: 5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) async-validator: 3.5.2 classnames: 2.5.1 color: 3.2.1 @@ -8036,17 +8042,17 @@ snapshots: rc-color-picker: 1.2.6(react-dom@16.14.0(react@16.14.0))(react@16.14.0) react: 16.14.0 react-dom: 16.14.0(react@16.14.0) - virtualizedtableforantd4: 1.3.1(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + virtualizedtableforantd4: 1.3.1(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@16.14.0(react@16.14.0))(react@16.14.0) zustand: 4.5.5(@types/react@18.3.5)(react@16.14.0) transitivePeerDependencies: - '@types/react' - immer - form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@ant-design/icons': 4.8.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) ahooks: 3.8.1(react@18.3.1) - antd: 5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + antd: 5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) async-validator: 3.5.2 classnames: 2.5.1 color: 3.2.1 @@ -8055,7 +8061,7 @@ snapshots: rc-color-picker: 1.2.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - virtualizedtableforantd4: 1.3.1(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + virtualizedtableforantd4: 1.3.1(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) zustand: 4.5.5(@types/react@18.3.5)(react@18.3.1) transitivePeerDependencies: - '@types/react' @@ -9521,7 +9527,7 @@ snapshots: react: 16.14.0 react-dom: 16.14.0(react@16.14.0) - rc-picker@4.6.14(dayjs@1.11.13)(react-dom@16.14.0(react@16.14.0))(react@16.14.0): + rc-picker@4.6.14(date-fns@3.6.0)(dayjs@1.11.13)(react-dom@16.14.0(react@16.14.0))(react@16.14.0): dependencies: '@babel/runtime': 7.25.6 '@rc-component/trigger': 2.2.1(react-dom@16.14.0(react@16.14.0))(react@16.14.0) @@ -9532,6 +9538,7 @@ snapshots: react: 16.14.0 react-dom: 16.14.0(react@16.14.0) optionalDependencies: + date-fns: 3.6.0 dayjs: 1.11.13 rc-progress@4.0.0(react-dom@16.14.0(react@16.14.0))(react@16.14.0): @@ -10536,15 +10543,15 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.2 - virtualizedtableforantd4@1.3.1(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@16.14.0(react@16.14.0))(react@16.14.0): + virtualizedtableforantd4@1.3.1(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@16.14.0(react@16.14.0))(react@16.14.0): dependencies: - antd: 5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + antd: 5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 16.14.0 react-dom: 16.14.0(react@16.14.0) - virtualizedtableforantd4@1.3.1(antd@5.20.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + virtualizedtableforantd4@1.3.1(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - antd: 5.20.4(react-dom@16.14.0(react@16.14.0))(react@16.14.0) + antd: 5.20.4(date-fns@3.6.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) diff --git a/src/components/shared/Checkbox.tsx b/src/components/shared/Checkbox.tsx index 558c65b..845b27e 100644 --- a/src/components/shared/Checkbox.tsx +++ b/src/components/shared/Checkbox.tsx @@ -57,10 +57,10 @@ const boxStyles = tv({ true: "bg-[--color] border-[--color] [--color:theme(colors.gray.700)] group-pressed:[--color:theme(colors.gray.800)] dark:[--color:theme(colors.gray.300)] dark:group-pressed:[--color:theme(colors.gray.200)] forced-colors:![--color:Highlight]", }, isInvalid: { - true: "[--color:theme(colors.red.700)] dark:[--color:theme(colors.red.600)] forced-colors:![--color:Mark] group-pressed:[--color:theme(colors.red.800)] dark:group-pressed:[--color:theme(colors.red.700)]", + true: "text-red-9 dark:text-reddark-9 forced-colors:![--color:Mark] group-pressed:[--color:theme(colors.red.800)] dark:group-pressed:[--color:theme(colors.red.700)]", }, isDisabled: { - true: "[--color:theme(colors.gray.200)] dark:[--color:theme(colors.gray.700)] forced-colors:![--color:GrayText]", + true: "text-gray-7 dark:text-graydark-7 forced-colors:![--color:GrayText]", }, }, }); diff --git a/src/components/shared/RadioGroup.tsx b/src/components/shared/RadioGroup.tsx index b3ace7b..dec20c4 100644 --- a/src/components/shared/RadioGroup.tsx +++ b/src/components/shared/RadioGroup.tsx @@ -1,4 +1,4 @@ -import React, { type ReactNode } from "react"; +import type { ReactNode } from "react"; import { Radio as AriaRadio, RadioGroup as AriaRadioGroup, diff --git a/src/components/shared/TagGroup.tsx b/src/components/shared/TagGroup.tsx index 5601b14..d25998a 100644 --- a/src/components/shared/TagGroup.tsx +++ b/src/components/shared/TagGroup.tsx @@ -1,5 +1,5 @@ import { XIcon } from "lucide-react"; -import React, { createContext, useContext } from "react"; +import { createContext, useContext } from "react"; import { Tag as AriaTag, TagGroup as AriaTagGroup,