@salutejs/plasma-new-hope 0.76.3-canary.1180.8720362393.0 → 0.77.0-canary.1185.8719560164.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. package/cjs/components/Avatar/Avatar.js +1 -35
  2. package/cjs/components/Avatar/Avatar.js.map +1 -1
  3. package/cjs/components/Combobox/Combobox.css +2 -2
  4. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +2 -2
  5. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -1
  6. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +2 -2
  7. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -1
  8. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +2 -2
  9. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -1
  10. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +2 -2
  11. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -1
  12. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +2 -2
  13. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +1 -1
  14. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +1 -1
  15. package/cjs/components/Dropdown/Dropdown.css +2 -2
  16. package/cjs/components/Dropdown/Dropdown.js +27 -4
  17. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  18. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  19. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  20. package/cjs/components/Dropdown/{Dropdown.styles_1daxhqh.css → Dropdown.styles_13400l5.css} +1 -1
  21. package/cjs/components/Dropdown/Dropdown.tokens.js +1 -0
  22. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  23. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +81 -0
  24. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -0
  25. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
  26. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  27. package/cjs/components/Dropdown/utils/index.js +43 -0
  28. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  29. package/cjs/components/Pagination/Pagination.css +2 -2
  30. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  31. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  32. package/cjs/components/Select/Select.css +2 -2
  33. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +2 -2
  34. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +1 -1
  35. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +2 -2
  36. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +1 -1
  37. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +2 -2
  38. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +1 -1
  39. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +2 -2
  40. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +1 -1
  41. package/cjs/components/Select/ui/SelectItem/SelectItem.css +2 -2
  42. package/cjs/components/Select/ui/SelectItem/SelectItem.js +1 -1
  43. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  44. package/cjs/index.css +2 -2
  45. package/cjs/index.js +2 -0
  46. package/cjs/index.js.map +1 -1
  47. package/es/components/Avatar/Avatar.js +2 -36
  48. package/es/components/Avatar/Avatar.js.map +1 -1
  49. package/es/components/Combobox/Combobox.css +2 -2
  50. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +2 -2
  51. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +1 -1
  52. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +2 -2
  53. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +1 -1
  54. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +2 -2
  55. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +1 -1
  56. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +2 -2
  57. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +1 -1
  58. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +2 -2
  59. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +1 -1
  60. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +1 -1
  61. package/es/components/Dropdown/Dropdown.css +2 -2
  62. package/es/components/Dropdown/Dropdown.js +29 -6
  63. package/es/components/Dropdown/Dropdown.js.map +1 -1
  64. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  65. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  66. package/es/components/Dropdown/{Dropdown.styles_1daxhqh.css → Dropdown.styles_13400l5.css} +1 -1
  67. package/es/components/Dropdown/Dropdown.tokens.js +1 -0
  68. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  69. package/es/components/Dropdown/hooks/useKeyboardNavigation.js +76 -0
  70. package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -0
  71. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
  72. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  73. package/es/components/Dropdown/utils/index.js +45 -3
  74. package/es/components/Dropdown/utils/index.js.map +1 -1
  75. package/es/components/Pagination/Pagination.css +2 -2
  76. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
  77. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  78. package/es/components/Select/Select.css +2 -2
  79. package/es/components/Select/ui/SelectDivider/SelectDivider.css +2 -2
  80. package/es/components/Select/ui/SelectDivider/SelectDivider.js +1 -1
  81. package/es/components/Select/ui/SelectFooter/SelectFooter.css +2 -2
  82. package/es/components/Select/ui/SelectFooter/SelectFooter.js +1 -1
  83. package/es/components/Select/ui/SelectGroup/SelectGroup.css +2 -2
  84. package/es/components/Select/ui/SelectGroup/SelectGroup.js +1 -1
  85. package/es/components/Select/ui/SelectHeader/SelectHeader.css +2 -2
  86. package/es/components/Select/ui/SelectHeader/SelectHeader.js +1 -1
  87. package/es/components/Select/ui/SelectItem/SelectItem.css +2 -2
  88. package/es/components/Select/ui/SelectItem/SelectItem.js +1 -1
  89. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  90. package/es/index.css +2 -2
  91. package/es/index.js +1 -0
  92. package/es/index.js.map +1 -1
  93. package/package.json +2 -2
  94. package/styled-components/cjs/components/Avatar/Avatar.js +1 -40
  95. package/styled-components/cjs/components/Avatar/Avatar.template-doc.mdx +2 -52
  96. package/styled-components/cjs/components/Dropdown/Dropdown.js +28 -6
  97. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  98. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +1 -0
  99. package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +83 -0
  100. package/styled-components/cjs/components/Dropdown/index.js +9 -1
  101. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
  102. package/styled-components/cjs/components/Dropdown/utils/index.js +48 -1
  103. package/styled-components/cjs/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -26
  104. package/styled-components/cjs/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +18 -36
  105. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +1 -1
  106. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +27 -7
  107. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +1 -1
  108. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +30 -11
  109. package/styled-components/cjs/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -26
  110. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +1 -1
  111. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +28 -9
  112. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +1 -1
  113. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +31 -12
  114. package/styled-components/cjs/examples/sds_engineer/components/Avatar/Avatar.stories.tsx +1 -27
  115. package/styled-components/es/components/Avatar/Avatar.js +1 -41
  116. package/styled-components/es/components/Avatar/Avatar.template-doc.mdx +2 -52
  117. package/styled-components/es/components/Dropdown/Dropdown.js +29 -6
  118. package/styled-components/es/components/Dropdown/Dropdown.styles.js +1 -1
  119. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +1 -0
  120. package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +77 -0
  121. package/styled-components/es/components/Dropdown/index.js +1 -0
  122. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
  123. package/styled-components/es/components/Dropdown/utils/index.js +48 -1
  124. package/styled-components/es/examples/plasma_b2c/components/Avatar/Avatar.stories.tsx +1 -26
  125. package/styled-components/es/examples/plasma_b2c/components/AvatarGroup/AvatarGroup.stories.tsx +18 -36
  126. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +1 -1
  127. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +27 -7
  128. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +1 -1
  129. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +30 -11
  130. package/styled-components/es/examples/plasma_web/components/Avatar/Avatar.stories.tsx +1 -26
  131. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +1 -1
  132. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +28 -9
  133. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +1 -1
  134. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +31 -12
  135. package/styled-components/es/examples/sds_engineer/components/Avatar/Avatar.stories.tsx +1 -27
  136. package/types/components/Avatar/Avatar.d.ts +1 -3
  137. package/types/components/Avatar/Avatar.d.ts.map +1 -1
  138. package/types/components/Avatar/Avatar.types.d.ts +0 -7
  139. package/types/components/Avatar/Avatar.types.d.ts.map +1 -1
  140. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  141. package/types/components/Dropdown/Dropdown.tokens.d.ts +1 -0
  142. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  143. package/types/components/Dropdown/Dropdown.types.d.ts +7 -2
  144. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  145. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts +13 -0
  146. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +1 -0
  147. package/types/components/Dropdown/index.d.ts +1 -0
  148. package/types/components/Dropdown/index.d.ts.map +1 -1
  149. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  150. package/types/components/Dropdown/utils/index.d.ts +5 -2
  151. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  152. package/types/examples/plasma_b2c/components/Avatar/Avatar.d.ts +0 -2
  153. package/types/examples/plasma_b2c/components/Avatar/Avatar.d.ts.map +1 -1
  154. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.d.ts.map +1 -1
  155. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts.map +1 -1
  156. package/types/examples/plasma_web/components/Avatar/Avatar.d.ts +0 -2
  157. package/types/examples/plasma_web/components/Avatar/Avatar.d.ts.map +1 -1
  158. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts.map +1 -1
  159. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts.map +1 -1
  160. package/types/examples/sds_engineer/components/Avatar/Avatar.d.ts +0 -1
  161. package/types/examples/sds_engineer/components/Avatar/Avatar.d.ts.map +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA6FlB,CAAC"}
@@ -35,7 +35,6 @@ export declare const mergedConfig: import("../../../../engines").ComponentConfig
35
35
  status?: "active" | "inactive" | undefined;
36
36
  isScalable?: boolean | undefined;
37
37
  focused?: boolean | undefined;
38
- statusDict?: import("../../../../components/Avatar/Avatar.types").StatusDict | undefined;
39
38
  } & import("react").RefAttributes<HTMLDivElement>>;
40
39
  export declare const Avatar: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
41
40
  view: {
@@ -59,6 +58,5 @@ export declare const Avatar: import("react").FunctionComponent<import("../../../
59
58
  status?: "active" | "inactive" | undefined;
60
59
  isScalable?: boolean | undefined;
61
60
  focused?: boolean | undefined;
62
- statusDict?: import("../../../../components/Avatar/Avatar.types").StatusDict | undefined;
63
61
  } & import("react").RefAttributes<HTMLDivElement>>;
64
62
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Avatar/Avatar.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAoC,CAAC;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;kDAA0B,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Avatar/Avatar.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAAoC,CAAC;AAE9D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;kDAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA6FlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA6FlB,CAAC"}
@@ -21,6 +21,5 @@ export declare const Avatar: import("react").FunctionComponent<import("../../../
21
21
  status?: "active" | "inactive" | undefined;
22
22
  isScalable?: boolean | undefined;
23
23
  focused?: boolean | undefined;
24
- statusDict?: import("../../../../components/Avatar/Avatar.types").StatusDict | undefined;
25
24
  } & import("react").RefAttributes<HTMLDivElement>>;
26
25
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Avatar/Avatar.tsx"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;kDAA0B,CAAC"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/Avatar/Avatar.tsx"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;kDAA0B,CAAC"}