@salutejs/plasma-new-hope 0.86.0-canary.1220.9266427683.0 → 0.86.1-canary.1217.9267820448.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. package/cjs/components/Button/Button.styles.js +1 -0
  2. package/cjs/components/Button/Button.styles.js.map +1 -1
  3. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
  4. package/cjs/components/Combobox/Combobox.js +1 -0
  5. package/cjs/components/Combobox/Combobox.js.map +1 -1
  6. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -0
  7. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  8. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -0
  9. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  10. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -0
  11. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  12. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -0
  13. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  14. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +1 -0
  15. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  16. package/cjs/components/Drawer/Drawer.js +1 -0
  17. package/cjs/components/Drawer/Drawer.js.map +1 -1
  18. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +1 -0
  19. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  20. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +1 -0
  21. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  22. package/cjs/components/Dropdown/Dropdown.js +1 -0
  23. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  24. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -0
  25. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  26. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -0
  27. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  28. package/cjs/components/IconButton/IconButton.styles.js +1 -0
  29. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  30. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -0
  31. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  32. package/cjs/components/Radiobox/Radiobox.js.map +1 -1
  33. package/cjs/components/Select/Select.js +1 -0
  34. package/cjs/components/Select/Select.js.map +1 -1
  35. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +1 -0
  36. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -1
  37. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +1 -0
  38. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -1
  39. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +1 -0
  40. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -1
  41. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +1 -0
  42. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -1
  43. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +1 -0
  44. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  45. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +1 -0
  46. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  47. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +1 -0
  48. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  49. package/cjs/index.js +2 -0
  50. package/cjs/index.js.map +1 -1
  51. package/cjs/mixins/applyDisabled.js +19 -0
  52. package/cjs/mixins/applyDisabled.js.map +1 -0
  53. package/es/components/Button/Button.styles.js +1 -0
  54. package/es/components/Button/Button.styles.js.map +1 -1
  55. package/es/components/Checkbox/Checkbox.styles.js.map +1 -1
  56. package/es/components/Combobox/Combobox.js +1 -0
  57. package/es/components/Combobox/Combobox.js.map +1 -1
  58. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -0
  59. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  60. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -0
  61. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  62. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -0
  63. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  64. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -0
  65. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  66. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +1 -0
  67. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  68. package/es/components/Drawer/Drawer.js +1 -0
  69. package/es/components/Drawer/Drawer.js.map +1 -1
  70. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +1 -0
  71. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  72. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +1 -0
  73. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  74. package/es/components/Dropdown/Dropdown.js +1 -0
  75. package/es/components/Dropdown/Dropdown.js.map +1 -1
  76. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -0
  77. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  78. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -0
  79. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  80. package/es/components/IconButton/IconButton.styles.js +1 -0
  81. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  82. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -0
  83. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  84. package/es/components/Radiobox/Radiobox.js.map +1 -1
  85. package/es/components/Select/Select.js +1 -0
  86. package/es/components/Select/Select.js.map +1 -1
  87. package/es/components/Select/ui/SelectDivider/SelectDivider.js +1 -0
  88. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -1
  89. package/es/components/Select/ui/SelectFooter/SelectFooter.js +1 -0
  90. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -1
  91. package/es/components/Select/ui/SelectGroup/SelectGroup.js +1 -0
  92. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -1
  93. package/es/components/Select/ui/SelectHeader/SelectHeader.js +1 -0
  94. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -1
  95. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +1 -0
  96. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  97. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +1 -0
  98. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  99. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +1 -0
  100. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  101. package/es/index.js +1 -0
  102. package/es/index.js.map +1 -1
  103. package/es/mixins/applyDisabled.js +15 -0
  104. package/es/mixins/applyDisabled.js.map +1 -0
  105. package/package.json +2 -2
  106. package/styled-components/cjs/mixins/applyDisabled.js +17 -0
  107. package/styled-components/cjs/mixins/index.js +11 -0
  108. package/styled-components/cjs/types/InputHTMLAttributes.js +5 -0
  109. package/styled-components/es/mixins/applyDisabled.js +11 -0
  110. package/styled-components/es/mixins/index.js +2 -1
  111. package/styled-components/es/types/InputHTMLAttributes.js +1 -0
  112. package/types/components/Checkbox/Checkbox.types.d.ts +2 -1
  113. package/types/components/Checkbox/Checkbox.types.d.ts.map +1 -1
  114. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts +4 -4
  115. package/types/components/Drawer/Drawer.d.ts +2 -2
  116. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +4 -4
  117. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +4 -4
  118. package/types/components/Radiobox/Radiobox.d.ts +1 -1
  119. package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
  120. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +4 -4
  121. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +2 -2
  122. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +4 -4
  123. package/types/examples/plasma_b2c/components/Drawer/Drawer.d.ts +1 -1
  124. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  125. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
  126. package/types/examples/plasma_b2c/components/Select/Select.d.ts +2 -2
  127. package/types/examples/plasma_web/components/Cell/Cell.d.ts +2 -2
  128. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +4 -4
  129. package/types/examples/plasma_web/components/Drawer/Drawer.d.ts +1 -1
  130. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  131. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
  132. package/types/examples/plasma_web/components/Select/Select.d.ts +2 -2
  133. package/types/examples/sds_engineer/components/Drawer/Drawer.d.ts +1 -1
  134. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts +1 -1
  135. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts.map +1 -1
  136. package/types/mixins/applyDisabled.d.ts +14 -0
  137. package/types/mixins/applyDisabled.d.ts.map +1 -0
  138. package/types/mixins/index.d.ts +1 -0
  139. package/types/mixins/index.d.ts.map +1 -1
  140. package/types/types/InputHTMLAttributes.d.ts +53 -0
  141. package/types/types/InputHTMLAttributes.d.ts.map +1 -0
  142. package/types/types/index.d.ts +1 -0
  143. package/types/types/index.d.ts.map +1 -1
@@ -4,8 +4,8 @@ export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTML
4
4
  disabled?: boolean | undefined;
5
5
  label?: import("react").ReactNode;
6
6
  role?: string | undefined;
7
- contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
8
- contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
7
+ contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
8
+ contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
9
9
  name?: string | undefined;
10
10
  checked?: boolean | undefined;
11
11
  text?: string | undefined;
@@ -24,8 +24,8 @@ export declare const selectItemConfig: {
24
24
  disabled?: boolean | undefined;
25
25
  label?: import("react").ReactNode;
26
26
  role?: string | undefined;
27
- contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
28
- contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
27
+ contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
28
+ contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
29
29
  name?: string | undefined;
30
30
  checked?: boolean | undefined;
31
31
  text?: string | undefined;
@@ -17,7 +17,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
17
17
  contentRight?: import("react").ReactNode;
18
18
  alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
19
  alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
- stretching?: "fixed" | "auto" | "filled" | undefined;
20
+ stretching?: "auto" | "fixed" | "filled" | undefined;
21
21
  content?: import("react").ReactNode;
22
22
  description?: string | undefined;
23
23
  } & {
@@ -32,7 +32,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
32
32
  contentRight?: import("react").ReactNode;
33
33
  alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
34
  alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
- stretching?: "fixed" | "auto" | "filled" | undefined;
35
+ stretching?: "auto" | "fixed" | "filled" | undefined;
36
36
  content?: import("react").ReactNode;
37
37
  description?: string | undefined;
38
38
  } & {
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
12
+ }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
13
13
  valueType?: "single" | undefined;
14
14
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
15
15
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
16
- } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
16
+ } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
17
17
  valueType: "multiple";
18
18
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
19
19
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
@@ -23,8 +23,8 @@ export declare const ComboboxItem: import("react").FunctionComponent<import("../
23
23
  disabled?: boolean | undefined;
24
24
  label?: import("react").ReactNode;
25
25
  role?: string | undefined;
26
- contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
27
- contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
26
+ contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
27
+ contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
28
28
  name?: string | undefined;
29
29
  checked?: boolean | undefined;
30
30
  text?: string | undefined;
@@ -11,7 +11,7 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
11
11
  default: import("@linaria/core").LinariaClassName;
12
12
  };
13
13
  }> & import("../../../..").PopupProps & import("../../../../components/Panel").PanelProps & {
14
- placement?: "left" | "right" | "bottom" | "top" | undefined;
14
+ placement?: "left" | "right" | "top" | "bottom" | undefined;
15
15
  asModal?: boolean | undefined;
16
16
  withBlur?: boolean | undefined;
17
17
  closeOnEsc?: boolean | undefined;
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../engines/types").Filter<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Radiobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6OAA0B,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;yOAA0B,CAAC"}
@@ -27,8 +27,8 @@ export declare const SelectItem: import("react").FunctionComponent<import("../..
27
27
  disabled?: boolean | undefined;
28
28
  label?: import("react").ReactNode;
29
29
  role?: string | undefined;
30
- contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
31
- contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
30
+ contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
31
+ contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
32
32
  name?: string | undefined;
33
33
  checked?: boolean | undefined;
34
34
  text?: string | undefined;
@@ -17,7 +17,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
17
17
  contentRight?: import("react").ReactNode;
18
18
  alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
19
19
  alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
- stretching?: "fixed" | "auto" | "filled" | undefined;
20
+ stretching?: "auto" | "fixed" | "filled" | undefined;
21
21
  content?: import("react").ReactNode;
22
22
  description?: string | undefined;
23
23
  } & {
@@ -32,7 +32,7 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
32
32
  contentRight?: import("react").ReactNode;
33
33
  alignContentLeft?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
34
34
  alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
- stretching?: "fixed" | "auto" | "filled" | undefined;
35
+ stretching?: "auto" | "fixed" | "filled" | undefined;
36
36
  content?: import("react").ReactNode;
37
37
  description?: string | undefined;
38
38
  } & {
@@ -9,11 +9,11 @@ export declare const Combobox: import("react").FunctionComponent<import("../../.
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
12
+ }> & ((Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
13
13
  valueType?: "single" | undefined;
14
14
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined;
15
15
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue | undefined) => void) | undefined;
16
- } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "type" | "target" | "size" | "checked" | "maxLength" | "minLength"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
16
+ } & import("react").RefAttributes<HTMLInputElement>) | (Omit<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "target" | "type" | "onChange" | "value" | "checked" | "maxLength" | "minLength" | "size"> & import("../../../../components/Combobox/Combobox.types").CustomComboboxProps & {
17
17
  valueType: "multiple";
18
18
  value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined;
19
19
  onChangeValue?: ((value?: import("../../../../components/Combobox").ComboboxPrimitiveValue[] | undefined) => void) | undefined;
@@ -23,8 +23,8 @@ export declare const ComboboxItem: import("react").FunctionComponent<import("../
23
23
  disabled?: boolean | undefined;
24
24
  label?: import("react").ReactNode;
25
25
  role?: string | undefined;
26
- contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
27
- contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
26
+ contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
27
+ contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
28
28
  name?: string | undefined;
29
29
  checked?: boolean | undefined;
30
30
  text?: string | undefined;
@@ -11,7 +11,7 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
11
11
  default: import("@linaria/core").LinariaClassName;
12
12
  };
13
13
  }> & import("../../../..").PopupProps & import("../../../../components/Panel").PanelProps & {
14
- placement?: "left" | "right" | "bottom" | "top" | undefined;
14
+ placement?: "left" | "right" | "top" | "bottom" | undefined;
15
15
  asModal?: boolean | undefined;
16
16
  withBlur?: boolean | undefined;
17
17
  closeOnEsc?: boolean | undefined;
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../engines/types").Filter<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Radiobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6OAA0B,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;yOAA0B,CAAC"}
@@ -27,8 +27,8 @@ export declare const SelectItem: import("react").FunctionComponent<import("../..
27
27
  disabled?: boolean | undefined;
28
28
  label?: import("react").ReactNode;
29
29
  role?: string | undefined;
30
- contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
31
- contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
30
+ contentLeft?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
31
+ contentRight?: string | number | boolean | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | null | undefined;
32
32
  name?: string | undefined;
33
33
  checked?: boolean | undefined;
34
34
  text?: string | undefined;
@@ -11,7 +11,7 @@ export declare const Drawer: import("react").FunctionComponent<import("../../../
11
11
  default: import("@linaria/core").LinariaClassName;
12
12
  };
13
13
  }> & import("../../../..").PopupProps & import("../../../../components/Panel").PanelProps & {
14
- placement?: "left" | "right" | "bottom" | "top" | undefined;
14
+ placement?: "left" | "right" | "top" | "bottom" | undefined;
15
15
  asModal?: boolean | undefined;
16
16
  withBlur?: boolean | undefined;
17
17
  closeOnEsc?: boolean | undefined;
@@ -20,5 +20,5 @@ export declare const Radiobox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../engines/types").Filter<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("../../../..").BaseboxProps, "indeterminate"> & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Radiobox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;6OAA0B,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Radiobox/Radiobox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;yOAA0B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { InterpolationFunction } from 'styled-components';
2
+ export interface DisabledProps {
3
+ /**
4
+ * Компонент неактивен
5
+ */
6
+ disabled?: boolean;
7
+ }
8
+ /**
9
+ * Миксин неактивной кнопки
10
+ */
11
+ export declare const applyDisabled: InterpolationFunction<DisabledProps & {
12
+ $disabled?: boolean;
13
+ }>;
14
+ //# sourceMappingURL=applyDisabled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applyDisabled.d.ts","sourceRoot":"","sources":["../../src/mixins/applyDisabled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAE/D,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAaD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,qBAAqB,CAAC,aAAa,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CASxF,CAAC"}
@@ -8,4 +8,5 @@ export * from './addFocus';
8
8
  export * from './typography';
9
9
  export * from './applyRoundness';
10
10
  export * from './applySkeletonGradient';
11
+ export * from './applyDisabled';
11
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mixins/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,53 @@
1
+ import React from 'react';
2
+ import { DisabledProps } from '../mixins';
3
+ export interface InputHTMLAttributes<T> extends DisabledProps, React.InputHTMLAttributes<T> {
4
+ /**
5
+ * Тип элемента формы
6
+ */
7
+ type?: string;
8
+ /**
9
+ * Определяет уникальное имя элемента формы
10
+ */
11
+ name?: string;
12
+ /**
13
+ * Определяет значение элемента формы
14
+ */
15
+ value?: string | ReadonlyArray<string> | number;
16
+ /**
17
+ * Помечен ли заранее такой элемент формы, как флажок или переключатель
18
+ */
19
+ checked?: boolean;
20
+ /**
21
+ * Элемент формы не может изменяться пользователем
22
+ */
23
+ readOnly?: boolean;
24
+ /**
25
+ * Выводит текст внутри поля формы, который исчезает при получении фокуса
26
+ */
27
+ placeholder?: string;
28
+ /**
29
+ * Флаг обязательности поля
30
+ */
31
+ required?: boolean;
32
+ /**
33
+ * Минимальная длина значения поля
34
+ */
35
+ minLength?: number;
36
+ /**
37
+ * Максимальная длина значения поля
38
+ */
39
+ maxLength?: number;
40
+ /**
41
+ * Обработчик изменения элемента формы
42
+ */
43
+ onChange?: React.InputHTMLAttributes<T>['onChange'];
44
+ /**
45
+ * Обработчик фокуса на элементе формы
46
+ */
47
+ onFocus?: React.InputHTMLAttributes<T>['onFocus'];
48
+ /**
49
+ * Обработчик блюра на элементе формы
50
+ */
51
+ onBlur?: React.InputHTMLAttributes<T>['onBlur'];
52
+ }
53
+ //# sourceMappingURL=InputHTMLAttributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputHTMLAttributes.d.ts","sourceRoot":"","sources":["../../src/types/InputHTMLAttributes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,mBAAmB,CAAC,CAAC,CAAE,SAAQ,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;IACvF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;IACpD;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAClD;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;CACnD"}
@@ -1,3 +1,4 @@
1
1
  export type { AsProps } from './AsProps';
2
2
  export type { NumericRange, CreateArrayWithLengthX } from './Range';
3
+ export type { InputHTMLAttributes } from './InputHTMLAttributes';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACpE,YAAY,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC"}