@alfalab/core-components 47.0.0-beta.1 → 47.0.0-beta.2

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.
Files changed (276) hide show
  1. package/base-modal/Component.js +2 -1
  2. package/base-modal/cssm/Component.js +2 -1
  3. package/base-modal/esm/Component.js +2 -1
  4. package/base-modal/esm/index.js +1 -0
  5. package/base-modal/modern/Component.js +2 -1
  6. package/base-modal/modern/index.js +1 -0
  7. package/calendar-range/utils.js +3 -1
  8. package/gallery/components/header/Component.js +1 -1
  9. package/gallery/components/header/buttons.js +1 -1
  10. package/gallery/components/image-viewer/component.js +1 -1
  11. package/gallery/components/image-viewer/slide.js +1 -1
  12. package/gallery/esm/Component.js +2 -2
  13. package/gallery/esm/components/header/Component.js +1 -1
  14. package/gallery/esm/components/header/buttons.js +1 -1
  15. package/gallery/esm/components/header/index.js +1 -1
  16. package/gallery/esm/components/image-preview/Component.js +1 -1
  17. package/gallery/esm/components/image-preview/index.js +1 -1
  18. package/gallery/esm/components/image-viewer/component.js +1 -1
  19. package/gallery/esm/components/image-viewer/index.js +1 -1
  20. package/gallery/esm/components/image-viewer/slide.js +1 -1
  21. package/gallery/esm/components/index.js +2 -2
  22. package/gallery/esm/components/navigation-bar/Component.js +1 -1
  23. package/gallery/esm/components/navigation-bar/index.js +1 -1
  24. package/gallery/esm/index.js +2 -2
  25. package/gallery/modern/Component.js +2 -2
  26. package/gallery/modern/components/header/Component.js +1 -1
  27. package/gallery/modern/components/header/buttons.js +1 -1
  28. package/gallery/modern/components/header/index.js +1 -1
  29. package/gallery/modern/components/image-preview/Component.js +1 -1
  30. package/gallery/modern/components/image-preview/index.js +1 -1
  31. package/gallery/modern/components/image-viewer/component.js +1 -1
  32. package/gallery/modern/components/image-viewer/index.js +1 -1
  33. package/gallery/modern/components/image-viewer/slide.js +1 -1
  34. package/gallery/modern/components/index.js +2 -2
  35. package/gallery/modern/components/navigation-bar/Component.js +1 -1
  36. package/gallery/modern/components/navigation-bar/index.js +1 -1
  37. package/gallery/modern/index.js +2 -2
  38. package/icon-button/Component.d.ts +10 -0
  39. package/icon-button/Component.js +4 -3
  40. package/icon-button/cssm/Component.d.ts +10 -0
  41. package/icon-button/cssm/Component.js +2 -1
  42. package/icon-button/cssm/default.module.css +35 -3
  43. package/icon-button/cssm/inverted.module.css +35 -3
  44. package/icon-button/default.css +35 -3
  45. package/icon-button/esm/Component.d.ts +10 -0
  46. package/icon-button/esm/Component.js +4 -3
  47. package/icon-button/esm/default.css +35 -3
  48. package/icon-button/esm/inverted.css +35 -3
  49. package/icon-button/inverted.css +35 -3
  50. package/icon-button/modern/Component.d.ts +10 -0
  51. package/icon-button/modern/Component.js +4 -3
  52. package/icon-button/modern/default.css +35 -3
  53. package/icon-button/modern/inverted.css +35 -3
  54. package/input/components/base-input/Component.d.ts +2 -2
  55. package/input/cssm/components/base-input/Component.d.ts +2 -2
  56. package/input/esm/components/base-input/Component.d.ts +2 -2
  57. package/input/modern/components/base-input/Component.d.ts +2 -2
  58. package/international-phone-input/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
  59. package/international-phone-input/Component.responsive.d.ts +4 -4
  60. package/international-phone-input/components/base-international-phone-input/Component.d.ts +1 -1
  61. package/international-phone-input/cssm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
  62. package/international-phone-input/cssm/Component.responsive.d.ts +4 -4
  63. package/international-phone-input/cssm/components/base-international-phone-input/Component.d.ts +1 -1
  64. package/international-phone-input/cssm/index-7ca84eff.d.ts +15 -0
  65. package/international-phone-input/cssm/types.d.ts +1 -1
  66. package/international-phone-input/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
  67. package/international-phone-input/cssm/utils-89376c31.d.ts +1 -1
  68. package/international-phone-input/esm/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
  69. package/international-phone-input/esm/Component.responsive.d.ts +4 -4
  70. package/international-phone-input/esm/components/base-international-phone-input/Component.d.ts +1 -1
  71. package/international-phone-input/esm/index-7ca84eff.d.ts +15 -0
  72. package/international-phone-input/esm/types.d.ts +1 -1
  73. package/international-phone-input/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
  74. package/international-phone-input/esm/utils-89376c31.d.ts +1 -1
  75. package/international-phone-input/index-7ca84eff.d.ts +15 -0
  76. package/international-phone-input/modern/{Component-1fe708ea.d.ts → Component-0f35b62f.d.ts} +1 -1
  77. package/international-phone-input/modern/Component.responsive.d.ts +4 -4
  78. package/international-phone-input/modern/components/base-international-phone-input/Component.d.ts +1 -1
  79. package/international-phone-input/modern/index-7ca84eff.d.ts +15 -0
  80. package/international-phone-input/modern/types.d.ts +1 -1
  81. package/international-phone-input/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
  82. package/international-phone-input/modern/utils-89376c31.d.ts +1 -1
  83. package/international-phone-input/types.d.ts +1 -1
  84. package/international-phone-input/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +38 -0
  85. package/international-phone-input/utils-89376c31.d.ts +1 -1
  86. package/modal/components/controls/Component.js +1 -1
  87. package/modal/components/footer/Component.js +1 -1
  88. package/modal/esm/Component.responsive.js +1 -1
  89. package/modal/esm/components/controls/Component.js +1 -1
  90. package/modal/esm/components/controls/index.js +1 -1
  91. package/modal/esm/components/footer/Component.js +1 -1
  92. package/modal/esm/desktop/Component.desktop.js +1 -1
  93. package/modal/esm/desktop/index.js +1 -1
  94. package/modal/esm/index.js +1 -1
  95. package/modal/esm/mobile/Component.mobile.js +1 -1
  96. package/modal/esm/mobile/index.js +1 -1
  97. package/modal/modern/Component.responsive.js +1 -1
  98. package/modal/modern/components/controls/Component.js +1 -1
  99. package/modal/modern/components/controls/index.js +1 -1
  100. package/modal/modern/components/footer/Component.js +1 -1
  101. package/modal/modern/desktop/Component.desktop.js +1 -1
  102. package/modal/modern/desktop/index.js +1 -1
  103. package/modal/modern/index.js +1 -1
  104. package/modal/modern/mobile/Component.mobile.js +1 -1
  105. package/modal/modern/mobile/index.js +1 -1
  106. package/notification/Component.js +2 -1
  107. package/notification/cssm/Component.js +2 -1
  108. package/notification/esm/Component.js +2 -1
  109. package/notification/esm/index.js +1 -0
  110. package/notification/modern/Component.js +2 -1
  111. package/notification/modern/index.js +1 -0
  112. package/notification-manager/component.js +2 -1
  113. package/notification-manager/cssm/component.js +2 -1
  114. package/notification-manager/esm/component.js +2 -1
  115. package/notification-manager/esm/index.js +1 -0
  116. package/notification-manager/modern/component.js +2 -1
  117. package/notification-manager/modern/index.js +1 -0
  118. package/package.json +2 -1
  119. package/picker-button/Component-0f35b62f.d.ts +5 -0
  120. package/picker-button/Component-c44170fe.d.ts +2 -2
  121. package/picker-button/cssm/Component-0f35b62f.d.ts +5 -0
  122. package/picker-button/cssm/Component-c44170fe.d.ts +2 -2
  123. package/picker-button/cssm/field/Component.d.ts +1 -1
  124. package/picker-button/cssm/index-bdb4c6b9.d.ts +1 -13
  125. package/picker-button/cssm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
  126. package/picker-button/cssm/utils-89376c31.d.ts +1 -1
  127. package/picker-button/esm/Component-0f35b62f.d.ts +5 -0
  128. package/picker-button/esm/Component-c44170fe.d.ts +2 -2
  129. package/picker-button/esm/field/Component.d.ts +1 -1
  130. package/picker-button/esm/index-bdb4c6b9.d.ts +1 -13
  131. package/picker-button/esm/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
  132. package/picker-button/esm/utils-89376c31.d.ts +1 -1
  133. package/picker-button/field/Component.d.ts +1 -1
  134. package/picker-button/index-bdb4c6b9.d.ts +1 -13
  135. package/picker-button/modern/Component-0f35b62f.d.ts +5 -0
  136. package/picker-button/modern/Component-c44170fe.d.ts +2 -2
  137. package/picker-button/modern/field/Component.d.ts +1 -1
  138. package/picker-button/modern/index-bdb4c6b9.d.ts +1 -13
  139. package/picker-button/modern/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
  140. package/picker-button/modern/utils-89376c31.d.ts +1 -1
  141. package/picker-button/{typings-1fe708ea.d.ts → typings-0f35b62f.d.ts} +32 -0
  142. package/picker-button/utils-89376c31.d.ts +1 -1
  143. package/popover/Component.js +2 -1
  144. package/popover/cssm/Component.js +2 -1
  145. package/popover/esm/Component.js +2 -1
  146. package/popover/esm/index.js +1 -0
  147. package/popover/modern/Component.js +2 -1
  148. package/popover/modern/index.js +1 -0
  149. package/select/components/base-select/Component.js +2 -2
  150. package/select/components/options-list/Component.js +2 -2
  151. package/select/components/virtual-options-list/Component.js +4 -2
  152. package/select/cssm/components/base-select/Component.js +2 -2
  153. package/select/cssm/components/options-list/Component.js +2 -2
  154. package/select/cssm/components/virtual-options-list/Component.js +4 -2
  155. package/select/cssm/typings.d.ts +32 -0
  156. package/select/esm/components/base-select/Component.js +2 -2
  157. package/select/esm/components/options-list/Component.js +2 -2
  158. package/select/esm/components/virtual-options-list/Component.js +4 -2
  159. package/select/esm/typings.d.ts +32 -0
  160. package/select/modern/components/base-select/Component.js +2 -2
  161. package/select/modern/components/options-list/Component.js +2 -2
  162. package/select/modern/components/virtual-options-list/Component.js +2 -2
  163. package/select/modern/typings.d.ts +32 -0
  164. package/select/typings.d.ts +32 -0
  165. package/stack/component.js +4 -4
  166. package/stack/cssm/component.js +4 -4
  167. package/stack/cssm/index.d.ts +0 -1
  168. package/stack/cssm/index.js +0 -3
  169. package/stack/esm/component.js +1 -1
  170. package/stack/esm/index.d.ts +0 -1
  171. package/stack/esm/index.js +1 -1
  172. package/stack/index.d.ts +0 -1
  173. package/stack/index.js +0 -3
  174. package/stack/modern/component.js +1 -1
  175. package/stack/modern/index.d.ts +0 -1
  176. package/stack/modern/index.js +1 -1
  177. package/status/Component.d.ts +2 -1
  178. package/status/Component.js +2 -2
  179. package/status/cssm/Component.d.ts +2 -1
  180. package/status/cssm/Component.js +1 -1
  181. package/status/cssm/index.module.css +74 -29
  182. package/status/esm/Component.d.ts +2 -1
  183. package/status/esm/Component.js +2 -2
  184. package/status/esm/index.css +55 -27
  185. package/status/index.css +55 -27
  186. package/status/modern/Component.d.ts +2 -1
  187. package/status/modern/Component.js +2 -2
  188. package/status/modern/index.css +55 -27
  189. package/themes/click.css +0 -1516
  190. package/themes/compiled/mobile-dark-bluetint.css +210 -50
  191. package/themes/corp.css +0 -1516
  192. package/themes/intranet.css +0 -1516
  193. package/themes/mobile.css +0 -1516
  194. package/themes/site.css +0 -1516
  195. package/toast/components/base-toast/component.js +2 -1
  196. package/toast/cssm/components/base-toast/component.js +2 -1
  197. package/toast/esm/Component.responsive.js +1 -0
  198. package/toast/esm/components/base-toast/component.js +2 -1
  199. package/toast/esm/components/base-toast/index.js +1 -0
  200. package/toast/esm/desktop/Component.desktop.js +1 -0
  201. package/toast/esm/desktop/index.js +1 -0
  202. package/toast/esm/index.js +1 -0
  203. package/toast/esm/mobile/Component.mobile.js +1 -0
  204. package/toast/esm/mobile/index.js +1 -0
  205. package/toast/modern/Component.responsive.js +1 -0
  206. package/toast/modern/components/base-toast/component.js +2 -1
  207. package/toast/modern/components/base-toast/index.js +1 -0
  208. package/toast/modern/desktop/Component.desktop.js +1 -0
  209. package/toast/modern/desktop/index.js +1 -0
  210. package/toast/modern/index.js +1 -0
  211. package/toast/modern/mobile/Component.mobile.js +1 -0
  212. package/toast/modern/mobile/index.js +1 -0
  213. package/toast-plate/components/base-toast-plate/component.js +1 -1
  214. package/toast-plate/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  215. package/toast-plate/esm/Component.responsive.js +1 -1
  216. package/toast-plate/esm/components/base-toast-plate/component.js +1 -1
  217. package/toast-plate/esm/components/base-toast-plate/index.js +1 -1
  218. package/toast-plate/esm/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  219. package/toast-plate/esm/desktop/Component.desktop.js +1 -1
  220. package/toast-plate/esm/desktop/index.js +1 -1
  221. package/toast-plate/esm/index-307da6d7.d.ts +1 -1
  222. package/toast-plate/esm/index.js +1 -1
  223. package/toast-plate/esm/mobile/Component.mobile.js +1 -1
  224. package/toast-plate/esm/mobile/index.js +1 -1
  225. package/toast-plate/index-307da6d7.d.ts +1 -1
  226. package/toast-plate/modern/Component.responsive.js +1 -1
  227. package/toast-plate/modern/components/base-toast-plate/component.js +1 -1
  228. package/toast-plate/modern/components/base-toast-plate/index.js +1 -1
  229. package/toast-plate/modern/components/base-toast-plate/utils/getBaseToastPlateTestIds.js +1 -1
  230. package/toast-plate/modern/desktop/Component.desktop.js +1 -1
  231. package/toast-plate/modern/desktop/index.js +1 -1
  232. package/toast-plate/modern/index-307da6d7.d.ts +1 -1
  233. package/toast-plate/modern/index.js +1 -1
  234. package/toast-plate/modern/mobile/Component.mobile.js +1 -1
  235. package/toast-plate/modern/mobile/index.js +1 -1
  236. package/universal-date-input/cssm/index-5712fce2.d.ts +1 -13
  237. package/universal-date-input/esm/index-5712fce2.d.ts +1 -13
  238. package/universal-date-input/index-5712fce2.d.ts +1 -13
  239. package/universal-date-input/modern/index-5712fce2.d.ts +1 -13
  240. package/international-phone-input/cssm/index-136acbb1.d.ts +0 -28
  241. package/international-phone-input/esm/index-136acbb1.d.ts +0 -28
  242. package/international-phone-input/index-136acbb1.d.ts +0 -28
  243. package/international-phone-input/modern/index-136acbb1.d.ts +0 -28
  244. package/picker-button/Component-1fe708ea.d.ts +0 -5
  245. package/picker-button/cssm/Component-1fe708ea.d.ts +0 -5
  246. package/picker-button/esm/Component-1fe708ea.d.ts +0 -5
  247. package/picker-button/modern/Component-1fe708ea.d.ts +0 -5
  248. package/stack/context.d.ts +0 -29
  249. package/stack/context.js +0 -34
  250. package/stack/cssm/context.d.ts +0 -29
  251. package/stack/cssm/context.js +0 -34
  252. package/stack/esm/context.d.ts +0 -29
  253. package/stack/esm/context.js +0 -31
  254. package/stack/modern/context.d.ts +0 -29
  255. package/stack/modern/context.js +0 -31
  256. /package/gallery/{buttons-36b3ca68.d.ts → buttons-2c587253.d.ts} +0 -0
  257. /package/gallery/{buttons-36b3ca68.js → buttons-2c587253.js} +0 -0
  258. /package/gallery/esm/{buttons-49e609ab.d.ts → buttons-fb317559.d.ts} +0 -0
  259. /package/gallery/esm/{buttons-49e609ab.js → buttons-fb317559.js} +0 -0
  260. /package/gallery/esm/{slide-01af06f1.d.ts → slide-cb44c8ba.d.ts} +0 -0
  261. /package/gallery/esm/{slide-01af06f1.js → slide-cb44c8ba.js} +0 -0
  262. /package/gallery/modern/{buttons-9e01c41d.d.ts → buttons-0d4c9cc6.d.ts} +0 -0
  263. /package/gallery/modern/{buttons-9e01c41d.js → buttons-0d4c9cc6.js} +0 -0
  264. /package/gallery/modern/{slide-0932c021.d.ts → slide-3771e01f.d.ts} +0 -0
  265. /package/gallery/modern/{slide-0932c021.js → slide-3771e01f.js} +0 -0
  266. /package/gallery/{slide-cbb98cfd.d.ts → slide-a4b1c89f.d.ts} +0 -0
  267. /package/gallery/{slide-cbb98cfd.js → slide-a4b1c89f.js} +0 -0
  268. /package/modal/esm/{layout.module-8f4bb5c4.js → layout.module-5977466c.js} +0 -0
  269. /package/modal/{layout.module-dd4e6f62.js → layout.module-74b07012.js} +0 -0
  270. /package/modal/modern/{layout.module-6bc66458.js → layout.module-565c309a.js} +0 -0
  271. /package/toast-plate/esm/{getDataTestId-1e8085ca.d.ts → getDataTestId-32922464.d.ts} +0 -0
  272. /package/toast-plate/esm/{getDataTestId-1e8085ca.js → getDataTestId-32922464.js} +0 -0
  273. /package/toast-plate/{getDataTestId-4ff6c5ff.d.ts → getDataTestId-64de4ccf.d.ts} +0 -0
  274. /package/toast-plate/{getDataTestId-4ff6c5ff.js → getDataTestId-64de4ccf.js} +0 -0
  275. /package/toast-plate/modern/{getDataTestId-11ebf806.d.ts → getDataTestId-4d724a67.d.ts} +0 -0
  276. /package/toast-plate/modern/{getDataTestId-11ebf806.js → getDataTestId-4d724a67.js} +0 -0
@@ -6,7 +6,13 @@
6
6
  --color-light-neutral-translucent-500-inverted: rgba(228, 228, 251, 0.28);
7
7
  --color-light-status-negative-inverted: #ff4837;
8
8
  --color-light-status-negative-inverted-hover: #ff755e;
9
- --color-light-status-negative-inverted-press: #ff8d79; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
9
+ --color-light-status-negative-inverted-press: #ff8d79;
10
+ --color-light-text-negative-inverted: #ff4837;
11
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
12
+ --color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
13
+ --color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
14
+ --color-light-transparent-default-inverted-hover: rgba(214, 214, 229, 0.07);
15
+ --color-light-transparent-default-inverted-press: rgba(225, 225, 248, 0.09); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
10
16
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
11
17
  } :root {
12
18
  } :root {
@@ -103,7 +109,31 @@
103
109
  color: var(--icon-button-inverted-tertiary-hover-color);
104
110
  } :global(.cc-icon-button).tertiary:active {
105
111
  color: var(--icon-button-inverted-tertiary-active-color);
106
- } :global(.cc-icon-button).component:disabled.primary {
112
+ } :global(.cc-icon-button).transparentBg.primary {
113
+ color: var(--color-light-text-primary-inverted)
114
+ } :global(.cc-icon-button).transparentBg.primary:hover {
115
+ background: var(--color-light-transparent-default-inverted-hover);
116
+ } :global(.cc-icon-button).transparentBg.primary:active {
117
+ background: var(--color-light-transparent-default-inverted-press);
118
+ } :global(.cc-icon-button).transparentBg.secondary {
119
+ color: var(--color-light-text-secondary-inverted)
120
+ } :global(.cc-icon-button).transparentBg.secondary:hover {
121
+ background: var(--color-light-transparent-default-inverted-hover);
122
+ } :global(.cc-icon-button).transparentBg.secondary:active {
123
+ background: var(--color-light-transparent-default-inverted-press);
124
+ } :global(.cc-icon-button).transparentBg.negative {
125
+ color: var(--color-light-text-negative-inverted)
126
+ } :global(.cc-icon-button).transparentBg.negative:hover {
127
+ background: var(--color-light-transparent-default-inverted-hover);
128
+ } :global(.cc-icon-button).transparentBg.negative:active {
129
+ background: var(--color-light-transparent-default-inverted-press);
130
+ } :global(.cc-icon-button).transparentBg.tertiary {
131
+ color: var(--color-light-text-tertiary-inverted)
132
+ } :global(.cc-icon-button).transparentBg.tertiary:hover {
133
+ background: var(--color-light-transparent-default-inverted-hover);
134
+ } :global(.cc-icon-button).transparentBg.tertiary:active {
135
+ background: var(--color-light-transparent-default-inverted-press);
136
+ } :global(.cc-icon-button).component:disabled.primary {
107
137
  color: var(--icon-button-inverted-primary-disabled-color)
108
138
  } :global(.cc-icon-button).component:disabled.primary.loader {
109
139
  color: var(--icon-button-inverted-primary-base-color);
@@ -119,4 +149,6 @@
119
149
  color: var(--icon-button-inverted-tertiary-disabled-color)
120
150
  } :global(.cc-icon-button).component:disabled.tertiary.loader {
121
151
  color: var(--icon-button-inverted-tertiary-base-color);
122
- }
152
+ } :global(.cc-icon-button).component:disabled.transparentBg {
153
+ background: transparent;
154
+ }
@@ -13,7 +13,13 @@
13
13
  --color-light-neutral-translucent-700-press: rgba(1, 1, 12, 0.63);
14
14
  --color-light-status-negative: #ff4837;
15
15
  --color-light-status-negative-hover: #ec2d20;
16
- --color-light-status-negative-press: #c7241f; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
+ --color-light-status-negative-press: #c7241f;
17
+ --color-light-text-negative: #ec2d20;
18
+ --color-light-text-primary: rgba(3, 3, 6, 0.88);
19
+ --color-light-text-secondary: rgba(4, 4, 19, 0.55);
20
+ --color-light-text-tertiary: rgba(5, 8, 29, 0.38);
21
+ --color-light-transparent-default-hover: rgba(38, 55, 88, 0.06);
22
+ --color-light-transparent-default-press: rgba(30, 43, 68, 0.08); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
17
23
  --color-light-graphic-primary-alpha-30: rgba(14, 14, 14, 0.3);
18
24
  --color-light-graphic-primary-alpha-40: rgba(14, 14, 14, 0.4);
19
25
  --color-light-graphic-primary-alpha-50: rgba(14, 14, 14, 0.5);
@@ -89,7 +95,31 @@
89
95
  color: var(--icon-button-tertiary-hover-color);
90
96
  } .cc-icon-button.icon-button__tertiary_4tbui:active {
91
97
  color: var(--icon-button-tertiary-active-color);
92
- } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui {
98
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui {
99
+ color: var(--color-light-text-primary)
100
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui:hover {
101
+ background: var(--color-light-transparent-default-hover);
102
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui:active {
103
+ background: var(--color-light-transparent-default-press);
104
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui {
105
+ color: var(--color-light-text-secondary)
106
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui:hover {
107
+ background: var(--color-light-transparent-default-hover);
108
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui:active {
109
+ background: var(--color-light-transparent-default-press);
110
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui {
111
+ color: var(--color-light-text-negative)
112
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui:hover {
113
+ background: var(--color-light-transparent-default-hover);
114
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui:active {
115
+ background: var(--color-light-transparent-default-press);
116
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui {
117
+ color: var(--color-light-text-tertiary)
118
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui:hover {
119
+ background: var(--color-light-transparent-default-hover);
120
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui:active {
121
+ background: var(--color-light-transparent-default-press);
122
+ } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui {
93
123
  color: var(--icon-button-primary-disabled-color)
94
124
  } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui.icon-button__loader_4tbui {
95
125
  color: var(--icon-button-primary-base-color);
@@ -105,4 +135,6 @@
105
135
  color: var(--icon-button-tertiary-disabled-color)
106
136
  } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__tertiary_4tbui.icon-button__loader_4tbui {
107
137
  color: var(--icon-button-tertiary-base-color);
108
- }
138
+ } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__transparentBg_4tbui {
139
+ background: transparent;
140
+ }
@@ -22,6 +22,11 @@ type IconButtonProps = {
22
22
  * Дополнительный класс
23
23
  */
24
24
  className?: string;
25
+ /**
26
+ * Включает прозрачный фон
27
+ * @default false
28
+ */
29
+ transparentBg?: boolean;
25
30
  /**
26
31
  * Выравнивание иконки
27
32
  * @default 'center'
@@ -56,6 +61,11 @@ declare const IconButton: React.ForwardRefExoticComponent<{
56
61
  * Дополнительный класс
57
62
  */
58
63
  className?: string | undefined;
64
+ /**
65
+ * Включает прозрачный фон
66
+ * @default false
67
+ */
68
+ transparentBg?: boolean | undefined;
59
69
  /**
60
70
  * Выравнивание иконки
61
71
  * @default 'center'
@@ -3,13 +3,13 @@ import React, { forwardRef } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Button } from '../../button/esm';
5
5
 
6
- var defaultColors = {"primary":"icon-button__primary_4tbui","secondary":"icon-button__secondary_4tbui","transparent":"icon-button__transparent_4tbui","negative":"icon-button__negative_4tbui","tertiary":"icon-button__tertiary_4tbui","component":"icon-button__component_4tbui","loader":"icon-button__loader_4tbui"};
6
+ var defaultColors = {"primary":"icon-button__primary_4tbui","secondary":"icon-button__secondary_4tbui","transparent":"icon-button__transparent_4tbui","negative":"icon-button__negative_4tbui","tertiary":"icon-button__tertiary_4tbui","transparentBg":"icon-button__transparentBg_4tbui","component":"icon-button__component_4tbui","loader":"icon-button__loader_4tbui"};
7
7
  require('./default.css');
8
8
 
9
9
  var styles = {"size-24":"icon-button__size-24_1s5jk","size-32":"icon-button__size-32_1s5jk","size-40":"icon-button__size-40_1s5jk","size-48":"icon-button__size-48_1s5jk","size-56":"icon-button__size-56_1s5jk","iconWrapper":"icon-button__iconWrapper_1s5jk","center":"icon-button__center_1s5jk","left":"icon-button__left_1s5jk","right":"icon-button__right_1s5jk","icon":"icon-button__icon_1s5jk"};
10
10
  require('./index.css');
11
11
 
12
- var invertedColors = {"primary":"icon-button__primary_gkd4v","secondary":"icon-button__secondary_gkd4v","transparent":"icon-button__transparent_gkd4v","negative":"icon-button__negative_gkd4v","tertiary":"icon-button__tertiary_gkd4v","component":"icon-button__component_gkd4v","loader":"icon-button__loader_gkd4v"};
12
+ var invertedColors = {"primary":"icon-button__primary_gkd4v","secondary":"icon-button__secondary_gkd4v","transparent":"icon-button__transparent_gkd4v","negative":"icon-button__negative_gkd4v","tertiary":"icon-button__tertiary_gkd4v","transparentBg":"icon-button__transparentBg_gkd4v","component":"icon-button__component_gkd4v","loader":"icon-button__loader_gkd4v"};
13
13
  require('./inverted.css');
14
14
 
15
15
  var colorStyles = {
@@ -28,9 +28,10 @@ var SIZE_TO_CLASSNAME_MAP = {
28
28
  };
29
29
  var IconButton = forwardRef(function (_a, ref) {
30
30
  var _b;
31
- var className = _a.className, Icon = _a.icon, _c = _a.view, view = _c === void 0 ? 'primary' : _c, _d = _a.size, size = _d === void 0 ? 48 : _d, _e = _a.colors, colors = _e === void 0 ? 'default' : _e, _f = _a.alignIcon, alignIcon = _f === void 0 ? 'center' : _f, restProps = __rest(_a, ["className", "icon", "view", "size", "colors", "alignIcon"]);
31
+ var className = _a.className, Icon = _a.icon, _c = _a.view, view = _c === void 0 ? 'primary' : _c, _d = _a.size, size = _d === void 0 ? 48 : _d, _e = _a.colors, colors = _e === void 0 ? 'default' : _e, _f = _a.alignIcon, alignIcon = _f === void 0 ? 'center' : _f, _g = _a.transparentBg, transparentBg = _g === void 0 ? false : _g, restProps = __rest(_a, ["className", "icon", "view", "size", "colors", "alignIcon", "transparentBg"]);
32
32
  return (React.createElement(Button, __assign({}, restProps, { ref: ref, view: 'text', className: cn('cc-icon-button', className, colorStyles[colors][view], colorStyles[colors].component, (_b = {},
33
33
  _b[colorStyles[colors].loader] = restProps.loading,
34
+ _b[colorStyles[colors].transparentBg] = transparentBg,
34
35
  _b)), size: 's' }),
35
36
  React.createElement("span", { className: cn(styles.iconWrapper, styles[SIZE_TO_CLASSNAME_MAP[size]], styles[alignIcon]) }, React.isValidElement(Icon) ? (React.cloneElement(Icon, { className: cn(styles.icon, Icon.props.className) })) : (React.createElement(Icon, { className: styles.icon })))));
36
37
  });
@@ -13,7 +13,13 @@
13
13
  --color-light-neutral-translucent-700-press: rgba(1, 1, 12, 0.63);
14
14
  --color-light-status-negative: #ff4837;
15
15
  --color-light-status-negative-hover: #ec2d20;
16
- --color-light-status-negative-press: #c7241f; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
+ --color-light-status-negative-press: #c7241f;
17
+ --color-light-text-negative: #ec2d20;
18
+ --color-light-text-primary: rgba(3, 3, 6, 0.88);
19
+ --color-light-text-secondary: rgba(4, 4, 19, 0.55);
20
+ --color-light-text-tertiary: rgba(5, 8, 29, 0.38);
21
+ --color-light-transparent-default-hover: rgba(38, 55, 88, 0.06);
22
+ --color-light-transparent-default-press: rgba(30, 43, 68, 0.08); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
17
23
  --color-light-graphic-primary-alpha-30: rgba(14, 14, 14, 0.3);
18
24
  --color-light-graphic-primary-alpha-40: rgba(14, 14, 14, 0.4);
19
25
  --color-light-graphic-primary-alpha-50: rgba(14, 14, 14, 0.5);
@@ -89,7 +95,31 @@
89
95
  color: var(--icon-button-tertiary-hover-color);
90
96
  } .cc-icon-button.icon-button__tertiary_4tbui:active {
91
97
  color: var(--icon-button-tertiary-active-color);
92
- } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui {
98
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui {
99
+ color: var(--color-light-text-primary)
100
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui:hover {
101
+ background: var(--color-light-transparent-default-hover);
102
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui:active {
103
+ background: var(--color-light-transparent-default-press);
104
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui {
105
+ color: var(--color-light-text-secondary)
106
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui:hover {
107
+ background: var(--color-light-transparent-default-hover);
108
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui:active {
109
+ background: var(--color-light-transparent-default-press);
110
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui {
111
+ color: var(--color-light-text-negative)
112
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui:hover {
113
+ background: var(--color-light-transparent-default-hover);
114
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui:active {
115
+ background: var(--color-light-transparent-default-press);
116
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui {
117
+ color: var(--color-light-text-tertiary)
118
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui:hover {
119
+ background: var(--color-light-transparent-default-hover);
120
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui:active {
121
+ background: var(--color-light-transparent-default-press);
122
+ } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui {
93
123
  color: var(--icon-button-primary-disabled-color)
94
124
  } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui.icon-button__loader_4tbui {
95
125
  color: var(--icon-button-primary-base-color);
@@ -105,4 +135,6 @@
105
135
  color: var(--icon-button-tertiary-disabled-color)
106
136
  } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__tertiary_4tbui.icon-button__loader_4tbui {
107
137
  color: var(--icon-button-tertiary-base-color);
108
- }
138
+ } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__transparentBg_4tbui {
139
+ background: transparent;
140
+ }
@@ -7,7 +7,13 @@
7
7
  --color-light-neutral-translucent-500-inverted: rgba(228, 228, 251, 0.28);
8
8
  --color-light-status-negative-inverted: #ff4837;
9
9
  --color-light-status-negative-inverted-hover: #ff755e;
10
- --color-light-status-negative-inverted-press: #ff8d79; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
10
+ --color-light-status-negative-inverted-press: #ff8d79;
11
+ --color-light-text-negative-inverted: #ff4837;
12
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
13
+ --color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
14
+ --color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
15
+ --color-light-transparent-default-inverted-hover: rgba(214, 214, 229, 0.07);
16
+ --color-light-transparent-default-inverted-press: rgba(225, 225, 248, 0.09); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
11
17
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
12
18
  } :root {
13
19
  } :root {
@@ -104,7 +110,31 @@
104
110
  color: var(--icon-button-inverted-tertiary-hover-color);
105
111
  } .cc-icon-button.icon-button__tertiary_gkd4v:active {
106
112
  color: var(--icon-button-inverted-tertiary-active-color);
107
- } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v {
113
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v {
114
+ color: var(--color-light-text-primary-inverted)
115
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v:hover {
116
+ background: var(--color-light-transparent-default-inverted-hover);
117
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v:active {
118
+ background: var(--color-light-transparent-default-inverted-press);
119
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v {
120
+ color: var(--color-light-text-secondary-inverted)
121
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v:hover {
122
+ background: var(--color-light-transparent-default-inverted-hover);
123
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v:active {
124
+ background: var(--color-light-transparent-default-inverted-press);
125
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v {
126
+ color: var(--color-light-text-negative-inverted)
127
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v:hover {
128
+ background: var(--color-light-transparent-default-inverted-hover);
129
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v:active {
130
+ background: var(--color-light-transparent-default-inverted-press);
131
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v {
132
+ color: var(--color-light-text-tertiary-inverted)
133
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v:hover {
134
+ background: var(--color-light-transparent-default-inverted-hover);
135
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v:active {
136
+ background: var(--color-light-transparent-default-inverted-press);
137
+ } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v {
108
138
  color: var(--icon-button-inverted-primary-disabled-color)
109
139
  } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v.icon-button__loader_gkd4v {
110
140
  color: var(--icon-button-inverted-primary-base-color);
@@ -120,4 +150,6 @@
120
150
  color: var(--icon-button-inverted-tertiary-disabled-color)
121
151
  } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__tertiary_gkd4v.icon-button__loader_gkd4v {
122
152
  color: var(--icon-button-inverted-tertiary-base-color);
123
- }
153
+ } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__transparentBg_gkd4v {
154
+ background: transparent;
155
+ }
@@ -7,7 +7,13 @@
7
7
  --color-light-neutral-translucent-500-inverted: rgba(228, 228, 251, 0.28);
8
8
  --color-light-status-negative-inverted: #ff4837;
9
9
  --color-light-status-negative-inverted-hover: #ff755e;
10
- --color-light-status-negative-inverted-press: #ff8d79; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
10
+ --color-light-status-negative-inverted-press: #ff8d79;
11
+ --color-light-text-negative-inverted: #ff4837;
12
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
13
+ --color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
14
+ --color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
15
+ --color-light-transparent-default-inverted-hover: rgba(214, 214, 229, 0.07);
16
+ --color-light-transparent-default-inverted-press: rgba(225, 225, 248, 0.09); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
11
17
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
12
18
  } :root {
13
19
  } :root {
@@ -104,7 +110,31 @@
104
110
  color: var(--icon-button-inverted-tertiary-hover-color);
105
111
  } .cc-icon-button.icon-button__tertiary_gkd4v:active {
106
112
  color: var(--icon-button-inverted-tertiary-active-color);
107
- } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v {
113
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v {
114
+ color: var(--color-light-text-primary-inverted)
115
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v:hover {
116
+ background: var(--color-light-transparent-default-inverted-hover);
117
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v:active {
118
+ background: var(--color-light-transparent-default-inverted-press);
119
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v {
120
+ color: var(--color-light-text-secondary-inverted)
121
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v:hover {
122
+ background: var(--color-light-transparent-default-inverted-hover);
123
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v:active {
124
+ background: var(--color-light-transparent-default-inverted-press);
125
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v {
126
+ color: var(--color-light-text-negative-inverted)
127
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v:hover {
128
+ background: var(--color-light-transparent-default-inverted-hover);
129
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v:active {
130
+ background: var(--color-light-transparent-default-inverted-press);
131
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v {
132
+ color: var(--color-light-text-tertiary-inverted)
133
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v:hover {
134
+ background: var(--color-light-transparent-default-inverted-hover);
135
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v:active {
136
+ background: var(--color-light-transparent-default-inverted-press);
137
+ } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v {
108
138
  color: var(--icon-button-inverted-primary-disabled-color)
109
139
  } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v.icon-button__loader_gkd4v {
110
140
  color: var(--icon-button-inverted-primary-base-color);
@@ -120,4 +150,6 @@
120
150
  color: var(--icon-button-inverted-tertiary-disabled-color)
121
151
  } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__tertiary_gkd4v.icon-button__loader_gkd4v {
122
152
  color: var(--icon-button-inverted-tertiary-base-color);
123
- }
153
+ } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__transparentBg_gkd4v {
154
+ background: transparent;
155
+ }
@@ -22,6 +22,11 @@ type IconButtonProps = {
22
22
  * Дополнительный класс
23
23
  */
24
24
  className?: string;
25
+ /**
26
+ * Включает прозрачный фон
27
+ * @default false
28
+ */
29
+ transparentBg?: boolean;
25
30
  /**
26
31
  * Выравнивание иконки
27
32
  * @default 'center'
@@ -56,6 +61,11 @@ declare const IconButton: React.ForwardRefExoticComponent<{
56
61
  * Дополнительный класс
57
62
  */
58
63
  className?: string | undefined;
64
+ /**
65
+ * Включает прозрачный фон
66
+ * @default false
67
+ */
68
+ transparentBg?: boolean | undefined;
59
69
  /**
60
70
  * Выравнивание иконки
61
71
  * @default 'center'
@@ -2,13 +2,13 @@ import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Button } from '../../button/modern';
4
4
 
5
- const defaultColors = {"primary":"icon-button__primary_4tbui","secondary":"icon-button__secondary_4tbui","transparent":"icon-button__transparent_4tbui","negative":"icon-button__negative_4tbui","tertiary":"icon-button__tertiary_4tbui","component":"icon-button__component_4tbui","loader":"icon-button__loader_4tbui"};
5
+ const defaultColors = {"primary":"icon-button__primary_4tbui","secondary":"icon-button__secondary_4tbui","transparent":"icon-button__transparent_4tbui","negative":"icon-button__negative_4tbui","tertiary":"icon-button__tertiary_4tbui","transparentBg":"icon-button__transparentBg_4tbui","component":"icon-button__component_4tbui","loader":"icon-button__loader_4tbui"};
6
6
  require('./default.css');
7
7
 
8
8
  const styles = {"size-24":"icon-button__size-24_1s5jk","size-32":"icon-button__size-32_1s5jk","size-40":"icon-button__size-40_1s5jk","size-48":"icon-button__size-48_1s5jk","size-56":"icon-button__size-56_1s5jk","iconWrapper":"icon-button__iconWrapper_1s5jk","center":"icon-button__center_1s5jk","left":"icon-button__left_1s5jk","right":"icon-button__right_1s5jk","icon":"icon-button__icon_1s5jk"};
9
9
  require('./index.css');
10
10
 
11
- const invertedColors = {"primary":"icon-button__primary_gkd4v","secondary":"icon-button__secondary_gkd4v","transparent":"icon-button__transparent_gkd4v","negative":"icon-button__negative_gkd4v","tertiary":"icon-button__tertiary_gkd4v","component":"icon-button__component_gkd4v","loader":"icon-button__loader_gkd4v"};
11
+ const invertedColors = {"primary":"icon-button__primary_gkd4v","secondary":"icon-button__secondary_gkd4v","transparent":"icon-button__transparent_gkd4v","negative":"icon-button__negative_gkd4v","tertiary":"icon-button__tertiary_gkd4v","transparentBg":"icon-button__transparentBg_gkd4v","component":"icon-button__component_gkd4v","loader":"icon-button__loader_gkd4v"};
12
12
  require('./inverted.css');
13
13
 
14
14
  const colorStyles = {
@@ -25,8 +25,9 @@ const SIZE_TO_CLASSNAME_MAP = {
25
25
  48: 'size-48',
26
26
  56: 'size-56',
27
27
  };
28
- const IconButton = forwardRef(({ className, icon: Icon, view = 'primary', size = 48, colors = 'default', alignIcon = 'center', ...restProps }, ref) => (React.createElement(Button, { ...restProps, ref: ref, view: 'text', className: cn('cc-icon-button', className, colorStyles[colors][view], colorStyles[colors].component, {
28
+ const IconButton = forwardRef(({ className, icon: Icon, view = 'primary', size = 48, colors = 'default', alignIcon = 'center', transparentBg = false, ...restProps }, ref) => (React.createElement(Button, { ...restProps, ref: ref, view: 'text', className: cn('cc-icon-button', className, colorStyles[colors][view], colorStyles[colors].component, {
29
29
  [colorStyles[colors].loader]: restProps.loading,
30
+ [colorStyles[colors].transparentBg]: transparentBg,
30
31
  }), size: 's' },
31
32
  React.createElement("span", { className: cn(styles.iconWrapper, styles[SIZE_TO_CLASSNAME_MAP[size]], styles[alignIcon]) }, React.isValidElement(Icon) ? (React.cloneElement(Icon, { className: cn(styles.icon, Icon.props.className) })) : (React.createElement(Icon, { className: styles.icon }))))));
32
33
 
@@ -13,7 +13,13 @@
13
13
  --color-light-neutral-translucent-700-press: rgba(1, 1, 12, 0.63);
14
14
  --color-light-status-negative: #ff4837;
15
15
  --color-light-status-negative-hover: #ec2d20;
16
- --color-light-status-negative-press: #c7241f; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
16
+ --color-light-status-negative-press: #c7241f;
17
+ --color-light-text-negative: #ec2d20;
18
+ --color-light-text-primary: rgba(3, 3, 6, 0.88);
19
+ --color-light-text-secondary: rgba(4, 4, 19, 0.55);
20
+ --color-light-text-tertiary: rgba(5, 8, 29, 0.38);
21
+ --color-light-transparent-default-hover: rgba(38, 55, 88, 0.06);
22
+ --color-light-transparent-default-press: rgba(30, 43, 68, 0.08); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
17
23
  --color-light-graphic-primary-alpha-30: rgba(14, 14, 14, 0.3);
18
24
  --color-light-graphic-primary-alpha-40: rgba(14, 14, 14, 0.4);
19
25
  --color-light-graphic-primary-alpha-50: rgba(14, 14, 14, 0.5);
@@ -89,7 +95,31 @@
89
95
  color: var(--icon-button-tertiary-hover-color);
90
96
  } .cc-icon-button.icon-button__tertiary_4tbui:active {
91
97
  color: var(--icon-button-tertiary-active-color);
92
- } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui {
98
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui {
99
+ color: var(--color-light-text-primary)
100
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui:hover {
101
+ background: var(--color-light-transparent-default-hover);
102
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__primary_4tbui:active {
103
+ background: var(--color-light-transparent-default-press);
104
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui {
105
+ color: var(--color-light-text-secondary)
106
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui:hover {
107
+ background: var(--color-light-transparent-default-hover);
108
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__secondary_4tbui:active {
109
+ background: var(--color-light-transparent-default-press);
110
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui {
111
+ color: var(--color-light-text-negative)
112
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui:hover {
113
+ background: var(--color-light-transparent-default-hover);
114
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__negative_4tbui:active {
115
+ background: var(--color-light-transparent-default-press);
116
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui {
117
+ color: var(--color-light-text-tertiary)
118
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui:hover {
119
+ background: var(--color-light-transparent-default-hover);
120
+ } .cc-icon-button.icon-button__transparentBg_4tbui.icon-button__tertiary_4tbui:active {
121
+ background: var(--color-light-transparent-default-press);
122
+ } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui {
93
123
  color: var(--icon-button-primary-disabled-color)
94
124
  } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__primary_4tbui.icon-button__loader_4tbui {
95
125
  color: var(--icon-button-primary-base-color);
@@ -105,4 +135,6 @@
105
135
  color: var(--icon-button-tertiary-disabled-color)
106
136
  } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__tertiary_4tbui.icon-button__loader_4tbui {
107
137
  color: var(--icon-button-tertiary-base-color);
108
- }
138
+ } .cc-icon-button.icon-button__component_4tbui:disabled.icon-button__transparentBg_4tbui {
139
+ background: transparent;
140
+ }
@@ -7,7 +7,13 @@
7
7
  --color-light-neutral-translucent-500-inverted: rgba(228, 228, 251, 0.28);
8
8
  --color-light-status-negative-inverted: #ff4837;
9
9
  --color-light-status-negative-inverted-hover: #ff755e;
10
- --color-light-status-negative-inverted-press: #ff8d79; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
10
+ --color-light-status-negative-inverted-press: #ff8d79;
11
+ --color-light-text-negative-inverted: #ff4837;
12
+ --color-light-text-primary-inverted: rgba(255, 255, 255, 0.94);
13
+ --color-light-text-secondary-inverted: rgba(238, 238, 251, 0.55);
14
+ --color-light-text-tertiary-inverted: rgba(233, 233, 250, 0.37);
15
+ --color-light-transparent-default-inverted-hover: rgba(214, 214, 229, 0.07);
16
+ --color-light-transparent-default-inverted-press: rgba(225, 225, 248, 0.09); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
11
17
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
12
18
  } :root {
13
19
  } :root {
@@ -104,7 +110,31 @@
104
110
  color: var(--icon-button-inverted-tertiary-hover-color);
105
111
  } .cc-icon-button.icon-button__tertiary_gkd4v:active {
106
112
  color: var(--icon-button-inverted-tertiary-active-color);
107
- } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v {
113
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v {
114
+ color: var(--color-light-text-primary-inverted)
115
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v:hover {
116
+ background: var(--color-light-transparent-default-inverted-hover);
117
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__primary_gkd4v:active {
118
+ background: var(--color-light-transparent-default-inverted-press);
119
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v {
120
+ color: var(--color-light-text-secondary-inverted)
121
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v:hover {
122
+ background: var(--color-light-transparent-default-inverted-hover);
123
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__secondary_gkd4v:active {
124
+ background: var(--color-light-transparent-default-inverted-press);
125
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v {
126
+ color: var(--color-light-text-negative-inverted)
127
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v:hover {
128
+ background: var(--color-light-transparent-default-inverted-hover);
129
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__negative_gkd4v:active {
130
+ background: var(--color-light-transparent-default-inverted-press);
131
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v {
132
+ color: var(--color-light-text-tertiary-inverted)
133
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v:hover {
134
+ background: var(--color-light-transparent-default-inverted-hover);
135
+ } .cc-icon-button.icon-button__transparentBg_gkd4v.icon-button__tertiary_gkd4v:active {
136
+ background: var(--color-light-transparent-default-inverted-press);
137
+ } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v {
108
138
  color: var(--icon-button-inverted-primary-disabled-color)
109
139
  } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__primary_gkd4v.icon-button__loader_gkd4v {
110
140
  color: var(--icon-button-inverted-primary-base-color);
@@ -120,4 +150,6 @@
120
150
  color: var(--icon-button-inverted-tertiary-disabled-color)
121
151
  } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__tertiary_gkd4v.icon-button__loader_gkd4v {
122
152
  color: var(--icon-button-inverted-tertiary-base-color);
123
- }
153
+ } .cc-icon-button.icon-button__component_gkd4v:disabled.icon-button__transparentBg_gkd4v {
154
+ background: transparent;
155
+ }
@@ -51,7 +51,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
51
51
  /**
52
52
  * Атрибут type
53
53
  */
54
- type?: 'number' | 'card' | 'email' | 'money' | 'password' | 'tel' | 'text';
54
+ type?: 'number' | 'email' | 'money' | 'password' | 'tel' | 'text';
55
55
  /**
56
56
  * Ref для обертки input
57
57
  */
@@ -189,7 +189,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
189
189
  /**
190
190
  * Атрибут type
191
191
  */
192
- type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
192
+ type?: "number" | "text" | "tel" | "email" | "money" | "password" | undefined;
193
193
  /**
194
194
  * Ref для обертки input
195
195
  */
@@ -51,7 +51,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
51
51
  /**
52
52
  * Атрибут type
53
53
  */
54
- type?: 'number' | 'card' | 'email' | 'money' | 'password' | 'tel' | 'text';
54
+ type?: 'number' | 'email' | 'money' | 'password' | 'tel' | 'text';
55
55
  /**
56
56
  * Ref для обертки input
57
57
  */
@@ -189,7 +189,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
189
189
  /**
190
190
  * Атрибут type
191
191
  */
192
- type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
192
+ type?: "number" | "text" | "tel" | "email" | "money" | "password" | undefined;
193
193
  /**
194
194
  * Ref для обертки input
195
195
  */
@@ -51,7 +51,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
51
51
  /**
52
52
  * Атрибут type
53
53
  */
54
- type?: 'number' | 'card' | 'email' | 'money' | 'password' | 'tel' | 'text';
54
+ type?: 'number' | 'email' | 'money' | 'password' | 'tel' | 'text';
55
55
  /**
56
56
  * Ref для обертки input
57
57
  */
@@ -189,7 +189,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
189
189
  /**
190
190
  * Атрибут type
191
191
  */
192
- type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
192
+ type?: "number" | "text" | "tel" | "email" | "money" | "password" | undefined;
193
193
  /**
194
194
  * Ref для обертки input
195
195
  */
@@ -51,7 +51,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
51
51
  /**
52
52
  * Атрибут type
53
53
  */
54
- type?: 'number' | 'card' | 'email' | 'money' | 'password' | 'tel' | 'text';
54
+ type?: 'number' | 'email' | 'money' | 'password' | 'tel' | 'text';
55
55
  /**
56
56
  * Ref для обертки input
57
57
  */
@@ -189,7 +189,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
189
189
  /**
190
190
  * Атрибут type
191
191
  */
192
- type?: "number" | "text" | "tel" | "email" | "card" | "money" | "password" | undefined;
192
+ type?: "number" | "text" | "tel" | "email" | "money" | "password" | undefined;
193
193
  /**
194
194
  * Ref для обертки input
195
195
  */
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptgroupProps } from "./typings-1fe708ea";
3
+ import { OptgroupProps } from "./typings-0f35b62f";
4
4
  declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
5
5
  export { Optgroup };