Skip to content

Commit

Permalink
feat(plasma-*, sdds-*): upgrade TS from 4.2.4 to 4.5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
shuga2704 committed Dec 18, 2024
1 parent 3084852 commit 4d54a8e
Show file tree
Hide file tree
Showing 54 changed files with 2,481 additions and 591 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"extract-docgen-info": "lerna run extract-docgen-info",
"lint:scripts": "eslint ./scripts ./auto-plugins/src --ext .js,.ts --quiet",
"lint:packages": "./scripts/lint-packages.js",
"lint:lerna": "npx lerna run lint --parallel --since=$(git merge-base --fork-point origin/dev) --ignore=@salutejs/plasma-website",
"lint:lerna": "npx lerna run lint --parallel --since=$(git merge-base --fork-point origin/dev) --ignore=@salutejs/plasma-{website,colors}",
"lint": "npm run lint:scripts && npm run lint:lerna && npm run lint:packages",
"test": "lerna run test --since=$(git merge-base --fork-point origin/dev)",
"typescript-coverage": "lerna run typescript-coverage --since=$(git merge-base --fork-point origin/dev) --no-bail --stream",
Expand Down Expand Up @@ -128,7 +128,7 @@
"stylelint-processor-styled-components": "1.10.0",
"terminal-link": "3.0.0",
"ts-loader": "9.2.3",
"typescript": "4.2.4",
"typescript": "4.5.5",
"url-loader": "4.1.1",
"webpack": "5.76.0",
"webpack-dev-server": "3.11.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/plasma-asdk/api/plasma-asdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ contentPlacing?: ("default" | "relaxed") | undefined;
isLoading?: boolean | undefined;
loader?: ReactNode;
stretch?: boolean | undefined;
stretching?: ("auto" | "filled" | "fixed") | undefined;
stretching?: ("fixed" | "auto" | "filled") | undefined;
square?: boolean | undefined;
focused?: boolean | undefined;
disabled?: boolean | undefined;
Expand All @@ -176,7 +176,7 @@ contentPlacing?: ("default" | "relaxed") | undefined;
isLoading?: boolean | undefined;
loader?: ReactNode;
stretch?: boolean | undefined;
stretching?: ("auto" | "filled" | "fixed") | undefined;
stretching?: ("fixed" | "auto" | "filled") | undefined;
square?: boolean | undefined;
focused?: boolean | undefined;
disabled?: boolean | undefined;
Expand Down
20 changes: 0 additions & 20 deletions packages/plasma-asdk/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/plasma-asdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"react-dom": "18.2.0",
"storybook": "7.6.17",
"styled-components": "5.3.1",
"typescript": "4.2.4",
"typescript-coverage-report": "0.7.0",
"vite": "4.5.3"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/plasma-b2c/api/plasma-b2c.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1759,8 +1759,6 @@ contentLeft?: ReactNode;
contentRight?: ReactNode;
leftHelper?: string | undefined;
requiredPlacement?: "right" | "left" | undefined;
dividerVariant?: "none" | "icon" | "dash" | undefined;
dividerIcon?: ReactNode;
firstValueError?: boolean | undefined;
secondValueError?: boolean | undefined;
firstValueSuccess?: boolean | undefined;
Expand All @@ -1771,14 +1769,16 @@ firstTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<any
firstTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
secondTextfieldContentLeft?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
secondTextfieldContentRight?: ReactElement<any, string | JSXElementConstructor<any>> | undefined;
firstTextfieldTextBefore?: string | undefined;
secondTextfieldTextBefore?: string | undefined;
firstTextfieldTextAfter?: string | undefined;
secondTextfieldTextAfter?: string | undefined;
onFocusFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
onFocusSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
onBlurFirstTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
onBlurSecondTextfield?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
firstTextfieldTextBefore?: string | undefined;
secondTextfieldTextBefore?: string | undefined;
dividerVariant?: "none" | "icon" | "dash" | undefined;
dividerIcon?: ReactNode;
} & DatePickerCalendarProps & Omit<DatePickerPopoverProps, "placement"> & {
placement?: DatePickerRangePlacement | DatePickerRangePlacement[] | undefined;
isDoubleCalendar?: boolean | undefined;
Expand Down Expand Up @@ -3049,7 +3049,7 @@ onDecrement?: ((value: number) => void) | undefined;
} & {
segmentation?: "clear" | undefined;
inputBackgroundType?: undefined;
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "value" | "size"> & RefAttributes<HTMLInputElement>) | ({
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>) | ({
value?: number | undefined;
min?: number | undefined;
max?: number | undefined;
Expand All @@ -3074,7 +3074,7 @@ onDecrement?: ((value: number) => void) | undefined;
} & {
segmentation?: string | undefined;
inputBackgroundType?: string | undefined;
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "value" | "size"> & RefAttributes<HTMLInputElement>))>;
} & Omit<InputHTMLAttributes_3<HTMLInputElement>, "onChange" | "size" | "value"> & RefAttributes<HTMLInputElement>))>;

export { numberInputClasses }

Expand Down
20 changes: 0 additions & 20 deletions packages/plasma-b2c/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/plasma-b2c/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
"storybook": "7.6.17",
"styled-components": "5.3.1",
"ts-node": "10.3.0",
"typescript": "4.2.4",
"typescript-coverage-report": "0.7.0",
"vite": "4.5.3"
},
Expand Down
26 changes: 1 addition & 25 deletions packages/plasma-colors/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions packages/plasma-colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@
"Vasiliy Loginevskiy",
"Anton Vinogradov",
"Fanil Zubairov"
],
"devDependencies": {
"typescript": "4.2.4"
}
]
}
2 changes: 1 addition & 1 deletion packages/plasma-core/api/plasma-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ export const tertiary = "var(--plasma-colors-tertiary)";
export const text = "var(--plasma-colors-text)";

// @public
const TextArea: StyledComponent<"textarea", any, Pick<TextAreaProps, "height" | "width" | "status" | "rows" | "cols" | "resize">, never>;
const TextArea: StyledComponent<"textarea", any, Pick<TextAreaProps, "cols" | "rows" | "height" | "width" | "status" | "resize">, never>;
export { TextArea }
export { TextArea as TextFieldTextarea }

Expand Down
20 changes: 0 additions & 20 deletions packages/plasma-core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/plasma-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"styled-components": "5.3.1",
"ts-jest": "27.0.5",
"ts-node": "10.2.1",
"typescript": "4.2.4",
"typescript-coverage-report": "0.7.0"
},
"peerDependencies": {
Expand Down
20 changes: 0 additions & 20 deletions packages/plasma-hope/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion packages/plasma-hope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"react-dom": "18.2.0",
"styled-components": "5.3.1",
"ts-jest": "27.0.6",
"typescript": "4.2.4",
"typescript-coverage-report": "0.7.0"
},
"publishConfig": {
Expand Down
Loading

0 comments on commit 4d54a8e

Please sign in to comment.