@egov3/system-design 1.2.47 → 1.2.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,7 +27,7 @@ function App() {
27
27
  return (
28
28
  <SystemDesign.Components.Typography
29
29
  tag="span"
30
- fontClass="Caption1Medium"
30
+ fontClass="caption1Medium"
31
31
  data-testid="DocCard_TITLE"
32
32
  className={styles.title}
33
33
  >
@@ -60,7 +60,7 @@ yarn sb
60
60
 
61
61
  ### 🚀 Улучшения:
62
62
  - Добавлены `global.scss` и `normalize.scss`
63
- - Добавлен `colors.module.scss`
63
+ - Добавлен `colors.module.css`
64
64
  - Добавлены утилиты `getDaysRange`, `getMonthRange`, `getYearRange`
65
65
  - Переименован `CombineClassNames` → `combineClassNames`
66
66
 
@@ -1,5 +1,4 @@
1
1
  import React, { HTMLInputTypeAttribute } from "react";
2
- export type TOtpType = "OTP" | "TEXT";
3
2
  export interface IInputFieldProps extends React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement> {
4
3
  onFocus?: () => void;
5
4
  onBlur?: () => void;
@@ -1,5 +1,5 @@
1
1
  import React, { FC } from "react";
2
- type TFontClass = "Heading1" | "Heading3" | "Subtitles3" | "Body1Medium" | "Body1Regular" | "Body2Medium" | "Body2Regular" | "Body3Regular" | "Caption1Medium" | "Caption1Regular" | "Caption1Semibold" | "Caption2Medium" | "Caption2Regular";
2
+ type TFontClass = "heading1" | "heading3" | "subtitles3" | "body1Medium" | "body1Regular" | "body2Medium" | "body2Regular" | "body3Regular" | "caption1Medium" | "caption1Regular" | "caption1Semibold" | "caption2Medium" | "caption2Regular";
3
3
  export interface ITypographyProps extends React.HTMLAttributes<HTMLElement> {
4
4
  tag: keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>;
5
5
  fontClass: TFontClass;