@skbkontur/icons 1.13.1 → 1.14.0-fix-SOP-n-async-attachment.0

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 (298) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/FlashlightIcon.d.ts +1 -0
  3. package/FlashlightIcon.js +4 -0
  4. package/FlashlightIcon16Light.d.ts +1 -0
  5. package/FlashlightIcon16Light.js +4 -0
  6. package/FlashlightIcon16Regular.d.ts +1 -0
  7. package/FlashlightIcon16Regular.js +4 -0
  8. package/FlashlightIcon16Solid.d.ts +1 -0
  9. package/FlashlightIcon16Solid.js +4 -0
  10. package/FlashlightIcon20Light.d.ts +1 -0
  11. package/FlashlightIcon20Light.js +4 -0
  12. package/FlashlightIcon20Regular.d.ts +1 -0
  13. package/FlashlightIcon20Regular.js +4 -0
  14. package/FlashlightIcon20Solid.d.ts +1 -0
  15. package/FlashlightIcon20Solid.js +4 -0
  16. package/FlashlightIcon24Regular.d.ts +1 -0
  17. package/FlashlightIcon24Regular.js +4 -0
  18. package/FlashlightIcon24Solid.d.ts +1 -0
  19. package/FlashlightIcon24Solid.js +4 -0
  20. package/FlashlightIcon32Regular.d.ts +1 -0
  21. package/FlashlightIcon32Regular.js +4 -0
  22. package/FlashlightIcon64Regular.d.ts +1 -0
  23. package/FlashlightIcon64Regular.js +4 -0
  24. package/FlashlightOffIcon.d.ts +1 -0
  25. package/FlashlightOffIcon.js +4 -0
  26. package/FlashlightOffIcon16Light.d.ts +1 -0
  27. package/FlashlightOffIcon16Light.js +4 -0
  28. package/FlashlightOffIcon16Regular.d.ts +1 -0
  29. package/FlashlightOffIcon16Regular.js +4 -0
  30. package/FlashlightOffIcon16Solid.d.ts +1 -0
  31. package/FlashlightOffIcon16Solid.js +4 -0
  32. package/FlashlightOffIcon20Light.d.ts +1 -0
  33. package/FlashlightOffIcon20Light.js +4 -0
  34. package/FlashlightOffIcon20Regular.d.ts +1 -0
  35. package/FlashlightOffIcon20Regular.js +4 -0
  36. package/FlashlightOffIcon20Solid.d.ts +1 -0
  37. package/FlashlightOffIcon20Solid.js +4 -0
  38. package/FlashlightOffIcon24Regular.d.ts +1 -0
  39. package/FlashlightOffIcon24Regular.js +4 -0
  40. package/FlashlightOffIcon24Solid.d.ts +1 -0
  41. package/FlashlightOffIcon24Solid.js +4 -0
  42. package/FlashlightOffIcon32Regular.d.ts +1 -0
  43. package/FlashlightOffIcon32Regular.js +4 -0
  44. package/FlashlightOffIcon64Regular.d.ts +1 -0
  45. package/FlashlightOffIcon64Regular.js +4 -0
  46. package/UiCompareIcon.d.ts +1 -0
  47. package/UiCompareIcon.js +4 -0
  48. package/UiCompareIcon16Light.d.ts +1 -0
  49. package/UiCompareIcon16Light.js +4 -0
  50. package/UiCompareIcon16Regular.d.ts +1 -0
  51. package/UiCompareIcon16Regular.js +4 -0
  52. package/UiCompareIcon16Solid.d.ts +1 -0
  53. package/UiCompareIcon16Solid.js +4 -0
  54. package/UiCompareIcon20Light.d.ts +1 -0
  55. package/UiCompareIcon20Light.js +4 -0
  56. package/UiCompareIcon20Regular.d.ts +1 -0
  57. package/UiCompareIcon20Regular.js +4 -0
  58. package/UiCompareIcon20Solid.d.ts +1 -0
  59. package/UiCompareIcon20Solid.js +4 -0
  60. package/UiCompareIcon24Regular.d.ts +1 -0
  61. package/UiCompareIcon24Regular.js +4 -0
  62. package/UiCompareIcon24Solid.d.ts +1 -0
  63. package/UiCompareIcon24Solid.js +4 -0
  64. package/UiCompareIcon32Regular.d.ts +1 -0
  65. package/UiCompareIcon32Regular.js +4 -0
  66. package/UiCompareIcon64Regular.d.ts +1 -0
  67. package/UiCompareIcon64Regular.js +4 -0
  68. package/esm/FlashlightIcon.d.ts +1 -0
  69. package/esm/FlashlightIcon.js +1 -0
  70. package/esm/FlashlightIcon16Light.d.ts +1 -0
  71. package/esm/FlashlightIcon16Light.js +1 -0
  72. package/esm/FlashlightIcon16Regular.d.ts +1 -0
  73. package/esm/FlashlightIcon16Regular.js +1 -0
  74. package/esm/FlashlightIcon16Solid.d.ts +1 -0
  75. package/esm/FlashlightIcon16Solid.js +1 -0
  76. package/esm/FlashlightIcon20Light.d.ts +1 -0
  77. package/esm/FlashlightIcon20Light.js +1 -0
  78. package/esm/FlashlightIcon20Regular.d.ts +1 -0
  79. package/esm/FlashlightIcon20Regular.js +1 -0
  80. package/esm/FlashlightIcon20Solid.d.ts +1 -0
  81. package/esm/FlashlightIcon20Solid.js +1 -0
  82. package/esm/FlashlightIcon24Regular.d.ts +1 -0
  83. package/esm/FlashlightIcon24Regular.js +1 -0
  84. package/esm/FlashlightIcon24Solid.d.ts +1 -0
  85. package/esm/FlashlightIcon24Solid.js +1 -0
  86. package/esm/FlashlightIcon32Regular.d.ts +1 -0
  87. package/esm/FlashlightIcon32Regular.js +1 -0
  88. package/esm/FlashlightIcon64Regular.d.ts +1 -0
  89. package/esm/FlashlightIcon64Regular.js +1 -0
  90. package/esm/FlashlightOffIcon.d.ts +1 -0
  91. package/esm/FlashlightOffIcon.js +1 -0
  92. package/esm/FlashlightOffIcon16Light.d.ts +1 -0
  93. package/esm/FlashlightOffIcon16Light.js +1 -0
  94. package/esm/FlashlightOffIcon16Regular.d.ts +1 -0
  95. package/esm/FlashlightOffIcon16Regular.js +1 -0
  96. package/esm/FlashlightOffIcon16Solid.d.ts +1 -0
  97. package/esm/FlashlightOffIcon16Solid.js +1 -0
  98. package/esm/FlashlightOffIcon20Light.d.ts +1 -0
  99. package/esm/FlashlightOffIcon20Light.js +1 -0
  100. package/esm/FlashlightOffIcon20Regular.d.ts +1 -0
  101. package/esm/FlashlightOffIcon20Regular.js +1 -0
  102. package/esm/FlashlightOffIcon20Solid.d.ts +1 -0
  103. package/esm/FlashlightOffIcon20Solid.js +1 -0
  104. package/esm/FlashlightOffIcon24Regular.d.ts +1 -0
  105. package/esm/FlashlightOffIcon24Regular.js +1 -0
  106. package/esm/FlashlightOffIcon24Solid.d.ts +1 -0
  107. package/esm/FlashlightOffIcon24Solid.js +1 -0
  108. package/esm/FlashlightOffIcon32Regular.d.ts +1 -0
  109. package/esm/FlashlightOffIcon32Regular.js +1 -0
  110. package/esm/FlashlightOffIcon64Regular.d.ts +1 -0
  111. package/esm/FlashlightOffIcon64Regular.js +1 -0
  112. package/esm/UiCompareIcon.d.ts +1 -0
  113. package/esm/UiCompareIcon.js +1 -0
  114. package/esm/UiCompareIcon16Light.d.ts +1 -0
  115. package/esm/UiCompareIcon16Light.js +1 -0
  116. package/esm/UiCompareIcon16Regular.d.ts +1 -0
  117. package/esm/UiCompareIcon16Regular.js +1 -0
  118. package/esm/UiCompareIcon16Solid.d.ts +1 -0
  119. package/esm/UiCompareIcon16Solid.js +1 -0
  120. package/esm/UiCompareIcon20Light.d.ts +1 -0
  121. package/esm/UiCompareIcon20Light.js +1 -0
  122. package/esm/UiCompareIcon20Regular.d.ts +1 -0
  123. package/esm/UiCompareIcon20Regular.js +1 -0
  124. package/esm/UiCompareIcon20Solid.d.ts +1 -0
  125. package/esm/UiCompareIcon20Solid.js +1 -0
  126. package/esm/UiCompareIcon24Regular.d.ts +1 -0
  127. package/esm/UiCompareIcon24Regular.js +1 -0
  128. package/esm/UiCompareIcon24Solid.d.ts +1 -0
  129. package/esm/UiCompareIcon24Solid.js +1 -0
  130. package/esm/UiCompareIcon32Regular.d.ts +1 -0
  131. package/esm/UiCompareIcon32Regular.js +1 -0
  132. package/esm/UiCompareIcon64Regular.d.ts +1 -0
  133. package/esm/UiCompareIcon64Regular.js +1 -0
  134. package/esm/icons/BuildingOfficeIcon/BuildingOfficeIcon20Light.js +10 -8
  135. package/esm/icons/FlashlightIcon/FlashlightIcon.d.ts +2 -0
  136. package/esm/icons/FlashlightIcon/FlashlightIcon.js +41 -0
  137. package/esm/icons/FlashlightIcon/FlashlightIcon16Light.d.ts +2 -0
  138. package/esm/icons/FlashlightIcon/FlashlightIcon16Light.js +11 -0
  139. package/esm/icons/FlashlightIcon/FlashlightIcon16Regular.d.ts +2 -0
  140. package/esm/icons/FlashlightIcon/FlashlightIcon16Regular.js +11 -0
  141. package/esm/icons/FlashlightIcon/FlashlightIcon16Solid.d.ts +2 -0
  142. package/esm/icons/FlashlightIcon/FlashlightIcon16Solid.js +11 -0
  143. package/esm/icons/FlashlightIcon/FlashlightIcon20Light.d.ts +2 -0
  144. package/esm/icons/FlashlightIcon/FlashlightIcon20Light.js +11 -0
  145. package/esm/icons/FlashlightIcon/FlashlightIcon20Regular.d.ts +2 -0
  146. package/esm/icons/FlashlightIcon/FlashlightIcon20Regular.js +11 -0
  147. package/esm/icons/FlashlightIcon/FlashlightIcon20Solid.d.ts +2 -0
  148. package/esm/icons/FlashlightIcon/FlashlightIcon20Solid.js +11 -0
  149. package/esm/icons/FlashlightIcon/FlashlightIcon24Regular.d.ts +2 -0
  150. package/esm/icons/FlashlightIcon/FlashlightIcon24Regular.js +11 -0
  151. package/esm/icons/FlashlightIcon/FlashlightIcon24Solid.d.ts +2 -0
  152. package/esm/icons/FlashlightIcon/FlashlightIcon24Solid.js +11 -0
  153. package/esm/icons/FlashlightIcon/FlashlightIcon32Regular.d.ts +2 -0
  154. package/esm/icons/FlashlightIcon/FlashlightIcon32Regular.js +11 -0
  155. package/esm/icons/FlashlightIcon/FlashlightIcon64Regular.d.ts +2 -0
  156. package/esm/icons/FlashlightIcon/FlashlightIcon64Regular.js +11 -0
  157. package/esm/icons/FlashlightIcon/index.d.ts +11 -0
  158. package/esm/icons/FlashlightIcon/index.js +11 -0
  159. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon.d.ts +2 -0
  160. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon.js +41 -0
  161. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Light.d.ts +2 -0
  162. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Light.js +11 -0
  163. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.d.ts +2 -0
  164. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.js +11 -0
  165. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.d.ts +2 -0
  166. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.js +12 -0
  167. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Light.d.ts +2 -0
  168. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Light.js +11 -0
  169. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.d.ts +2 -0
  170. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.js +11 -0
  171. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.d.ts +2 -0
  172. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.js +12 -0
  173. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.d.ts +2 -0
  174. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.js +11 -0
  175. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.d.ts +2 -0
  176. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.js +12 -0
  177. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.d.ts +2 -0
  178. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.js +11 -0
  179. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.d.ts +2 -0
  180. package/esm/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.js +11 -0
  181. package/esm/icons/FlashlightOffIcon/index.d.ts +11 -0
  182. package/esm/icons/FlashlightOffIcon/index.js +11 -0
  183. package/esm/icons/UiCompareIcon/UiCompareIcon.d.ts +2 -0
  184. package/esm/icons/UiCompareIcon/UiCompareIcon.js +41 -0
  185. package/esm/icons/UiCompareIcon/UiCompareIcon16Light.d.ts +2 -0
  186. package/esm/icons/UiCompareIcon/UiCompareIcon16Light.js +13 -0
  187. package/esm/icons/UiCompareIcon/UiCompareIcon16Regular.d.ts +2 -0
  188. package/esm/icons/UiCompareIcon/UiCompareIcon16Regular.js +13 -0
  189. package/esm/icons/UiCompareIcon/UiCompareIcon16Solid.d.ts +2 -0
  190. package/esm/icons/UiCompareIcon/UiCompareIcon16Solid.js +13 -0
  191. package/esm/icons/UiCompareIcon/UiCompareIcon20Light.d.ts +2 -0
  192. package/esm/icons/UiCompareIcon/UiCompareIcon20Light.js +13 -0
  193. package/esm/icons/UiCompareIcon/UiCompareIcon20Regular.d.ts +2 -0
  194. package/esm/icons/UiCompareIcon/UiCompareIcon20Regular.js +13 -0
  195. package/esm/icons/UiCompareIcon/UiCompareIcon20Solid.d.ts +2 -0
  196. package/esm/icons/UiCompareIcon/UiCompareIcon20Solid.js +13 -0
  197. package/esm/icons/UiCompareIcon/UiCompareIcon24Regular.d.ts +2 -0
  198. package/esm/icons/UiCompareIcon/UiCompareIcon24Regular.js +13 -0
  199. package/esm/icons/UiCompareIcon/UiCompareIcon24Solid.d.ts +2 -0
  200. package/esm/icons/UiCompareIcon/UiCompareIcon24Solid.js +13 -0
  201. package/esm/icons/UiCompareIcon/UiCompareIcon32Regular.d.ts +2 -0
  202. package/esm/icons/UiCompareIcon/UiCompareIcon32Regular.js +13 -0
  203. package/esm/icons/UiCompareIcon/UiCompareIcon64Regular.d.ts +2 -0
  204. package/esm/icons/UiCompareIcon/UiCompareIcon64Regular.js +13 -0
  205. package/esm/icons/UiCompareIcon/index.d.ts +11 -0
  206. package/esm/icons/UiCompareIcon/index.js +11 -0
  207. package/esm/icons/index.d.ts +3 -0
  208. package/esm/icons/index.js +3 -0
  209. package/esm/internal/BaseIcon.js +37 -16
  210. package/esm/internal/utils.d.ts +24 -0
  211. package/esm/internal/utils.js +28 -0
  212. package/icons/BuildingOfficeIcon/BuildingOfficeIcon20Light.js +10 -8
  213. package/icons/FlashlightIcon/FlashlightIcon.d.ts +2 -0
  214. package/icons/FlashlightIcon/FlashlightIcon.js +44 -0
  215. package/icons/FlashlightIcon/FlashlightIcon16Light.d.ts +2 -0
  216. package/icons/FlashlightIcon/FlashlightIcon16Light.js +14 -0
  217. package/icons/FlashlightIcon/FlashlightIcon16Regular.d.ts +2 -0
  218. package/icons/FlashlightIcon/FlashlightIcon16Regular.js +14 -0
  219. package/icons/FlashlightIcon/FlashlightIcon16Solid.d.ts +2 -0
  220. package/icons/FlashlightIcon/FlashlightIcon16Solid.js +14 -0
  221. package/icons/FlashlightIcon/FlashlightIcon20Light.d.ts +2 -0
  222. package/icons/FlashlightIcon/FlashlightIcon20Light.js +14 -0
  223. package/icons/FlashlightIcon/FlashlightIcon20Regular.d.ts +2 -0
  224. package/icons/FlashlightIcon/FlashlightIcon20Regular.js +14 -0
  225. package/icons/FlashlightIcon/FlashlightIcon20Solid.d.ts +2 -0
  226. package/icons/FlashlightIcon/FlashlightIcon20Solid.js +14 -0
  227. package/icons/FlashlightIcon/FlashlightIcon24Regular.d.ts +2 -0
  228. package/icons/FlashlightIcon/FlashlightIcon24Regular.js +14 -0
  229. package/icons/FlashlightIcon/FlashlightIcon24Solid.d.ts +2 -0
  230. package/icons/FlashlightIcon/FlashlightIcon24Solid.js +14 -0
  231. package/icons/FlashlightIcon/FlashlightIcon32Regular.d.ts +2 -0
  232. package/icons/FlashlightIcon/FlashlightIcon32Regular.js +14 -0
  233. package/icons/FlashlightIcon/FlashlightIcon64Regular.d.ts +2 -0
  234. package/icons/FlashlightIcon/FlashlightIcon64Regular.js +14 -0
  235. package/icons/FlashlightIcon/index.d.ts +11 -0
  236. package/icons/FlashlightIcon/index.js +14 -0
  237. package/icons/FlashlightOffIcon/FlashlightOffIcon.d.ts +2 -0
  238. package/icons/FlashlightOffIcon/FlashlightOffIcon.js +44 -0
  239. package/icons/FlashlightOffIcon/FlashlightOffIcon16Light.d.ts +2 -0
  240. package/icons/FlashlightOffIcon/FlashlightOffIcon16Light.js +14 -0
  241. package/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.d.ts +2 -0
  242. package/icons/FlashlightOffIcon/FlashlightOffIcon16Regular.js +14 -0
  243. package/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.d.ts +2 -0
  244. package/icons/FlashlightOffIcon/FlashlightOffIcon16Solid.js +15 -0
  245. package/icons/FlashlightOffIcon/FlashlightOffIcon20Light.d.ts +2 -0
  246. package/icons/FlashlightOffIcon/FlashlightOffIcon20Light.js +14 -0
  247. package/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.d.ts +2 -0
  248. package/icons/FlashlightOffIcon/FlashlightOffIcon20Regular.js +14 -0
  249. package/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.d.ts +2 -0
  250. package/icons/FlashlightOffIcon/FlashlightOffIcon20Solid.js +15 -0
  251. package/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.d.ts +2 -0
  252. package/icons/FlashlightOffIcon/FlashlightOffIcon24Regular.js +14 -0
  253. package/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.d.ts +2 -0
  254. package/icons/FlashlightOffIcon/FlashlightOffIcon24Solid.js +15 -0
  255. package/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.d.ts +2 -0
  256. package/icons/FlashlightOffIcon/FlashlightOffIcon32Regular.js +14 -0
  257. package/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.d.ts +2 -0
  258. package/icons/FlashlightOffIcon/FlashlightOffIcon64Regular.js +14 -0
  259. package/icons/FlashlightOffIcon/index.d.ts +11 -0
  260. package/icons/FlashlightOffIcon/index.js +14 -0
  261. package/icons/UiCompareIcon/UiCompareIcon.d.ts +2 -0
  262. package/icons/UiCompareIcon/UiCompareIcon.js +44 -0
  263. package/icons/UiCompareIcon/UiCompareIcon16Light.d.ts +2 -0
  264. package/icons/UiCompareIcon/UiCompareIcon16Light.js +16 -0
  265. package/icons/UiCompareIcon/UiCompareIcon16Regular.d.ts +2 -0
  266. package/icons/UiCompareIcon/UiCompareIcon16Regular.js +16 -0
  267. package/icons/UiCompareIcon/UiCompareIcon16Solid.d.ts +2 -0
  268. package/icons/UiCompareIcon/UiCompareIcon16Solid.js +16 -0
  269. package/icons/UiCompareIcon/UiCompareIcon20Light.d.ts +2 -0
  270. package/icons/UiCompareIcon/UiCompareIcon20Light.js +16 -0
  271. package/icons/UiCompareIcon/UiCompareIcon20Regular.d.ts +2 -0
  272. package/icons/UiCompareIcon/UiCompareIcon20Regular.js +16 -0
  273. package/icons/UiCompareIcon/UiCompareIcon20Solid.d.ts +2 -0
  274. package/icons/UiCompareIcon/UiCompareIcon20Solid.js +16 -0
  275. package/icons/UiCompareIcon/UiCompareIcon24Regular.d.ts +2 -0
  276. package/icons/UiCompareIcon/UiCompareIcon24Regular.js +16 -0
  277. package/icons/UiCompareIcon/UiCompareIcon24Solid.d.ts +2 -0
  278. package/icons/UiCompareIcon/UiCompareIcon24Solid.js +16 -0
  279. package/icons/UiCompareIcon/UiCompareIcon32Regular.d.ts +2 -0
  280. package/icons/UiCompareIcon/UiCompareIcon32Regular.js +16 -0
  281. package/icons/UiCompareIcon/UiCompareIcon64Regular.d.ts +2 -0
  282. package/icons/UiCompareIcon/UiCompareIcon64Regular.js +16 -0
  283. package/icons/UiCompareIcon/index.d.ts +11 -0
  284. package/icons/UiCompareIcon/index.js +14 -0
  285. package/icons/index.d.ts +3 -0
  286. package/icons/index.js +3 -0
  287. package/internal/BaseIcon.js +35 -14
  288. package/internal/utils.d.ts +24 -0
  289. package/internal/utils.js +31 -1
  290. package/package.json +1 -1
  291. package/esm/internal/cssRules.d.ts +0 -1
  292. package/esm/internal/cssRules.js +0 -6
  293. package/esm/internal/injectCss.d.ts +0 -6
  294. package/esm/internal/injectCss.js +0 -63
  295. package/internal/cssRules.d.ts +0 -1
  296. package/internal/cssRules.js +0 -9
  297. package/internal/injectCss.d.ts +0 -6
  298. package/internal/injectCss.js +0 -67
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* eslint-disable react/display-name */
3
+ // * You should NOT edit this file directly. Read CONTRIBUTING.md for more information on creating icons
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.UiCompareIcon32Regular = void 0;
6
+ var tslib_1 = require("tslib");
7
+ var react_1 = tslib_1.__importDefault(require("react"));
8
+ var forwardRef_1 = require("../../helpers/forwardRef");
9
+ var BaseIcon_1 = require("../../internal/BaseIcon");
10
+ exports.UiCompareIcon32Regular = forwardRef_1.forwardRef('UiCompareIcon32Regular', function (props, ref) {
11
+ return (react_1.default.createElement(BaseIcon_1.BaseIcon, tslib_1.__assign({ ref: ref, viewBoxSize: 32 }, props),
12
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17 1a1 1 0 1 0-2 0v4H7.5A5.5 5.5 0 0 0 2 10.5v11A5.5 5.5 0 0 0 7.5 27H15v4a1 1 0 1 0 2 0v-4h3a1 1 0 1 0 0-2h-3V7h3a1 1 0 1 0 0-2h-3V1Zm-2 6H7.5A3.5 3.5 0 0 0 4 10.5v11A3.5 3.5 0 0 0 7.5 25H15V7Z" }),
13
+ react_1.default.createElement("path", { d: "M29.966 22.11a1 1 0 1 0-1.987-.22A3.5 3.5 0 0 1 24.5 25H24a1 1 0 1 0 0 2h.5a5.5 5.5 0 0 0 5.466-4.89Z" }),
14
+ react_1.default.createElement("path", { d: "M29 13a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Z" }),
15
+ react_1.default.createElement("path", { d: "M24 5a1 1 0 1 0 0 2h.5a3.5 3.5 0 0 1 3.479 3.11 1 1 0 0 0 1.988-.22A5.5 5.5 0 0 0 24.5 5H24Z" })));
16
+ });
@@ -0,0 +1,2 @@
1
+ import { BaseIconProps } from '../../internal/BaseIcon';
2
+ export declare const UiCompareIcon64Regular: import("../../helpers/forwardRef").ReactUIComponentWithRef<SVGSVGElement, BaseIconProps>;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ /* eslint-disable react/display-name */
3
+ // * You should NOT edit this file directly. Read CONTRIBUTING.md for more information on creating icons
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.UiCompareIcon64Regular = void 0;
6
+ var tslib_1 = require("tslib");
7
+ var react_1 = tslib_1.__importDefault(require("react"));
8
+ var forwardRef_1 = require("../../helpers/forwardRef");
9
+ var BaseIcon_1 = require("../../internal/BaseIcon");
10
+ exports.UiCompareIcon64Regular = forwardRef_1.forwardRef('UiCompareIcon64Regular', function (props, ref) {
11
+ return (react_1.default.createElement(BaseIcon_1.BaseIcon, tslib_1.__assign({ ref: ref, viewBoxSize: 64 }, props),
12
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M34 2.5a1.5 1.5 0 0 0-3 0V11H16.5C10.701 11 6 15.701 6 21.5v21C6 48.299 10.701 53 16.5 53H31v8.5a1.5 1.5 0 0 0 3 0V53h5.5a1.5 1.5 0 0 0 0-3H34V14h5.5a1.5 1.5 0 0 0 0-3H34V2.5ZM31 14H16.5A7.5 7.5 0 0 0 9 21.5v21a7.5 7.5 0 0 0 7.5 7.5H31V14Z" }),
13
+ react_1.default.createElement("path", { d: "M57.936 43.665a1.5 1.5 0 0 0-2.982-.33A7.501 7.501 0 0 1 47.5 50h-1a1.5 1.5 0 0 0 0 3h1c5.406 0 9.855-4.084 10.436-9.335Z" }),
14
+ react_1.default.createElement("path", { d: "M45 12.5a1.5 1.5 0 0 1 1.5-1.5h1c5.406 0 9.855 4.084 10.436 9.335a1.5 1.5 0 0 1-2.982.33A7.501 7.501 0 0 0 47.5 14h-1a1.5 1.5 0 0 1-1.5-1.5Z" }),
15
+ react_1.default.createElement("path", { d: "M56.5 26a1.5 1.5 0 0 1 1.5 1.5v9a1.5 1.5 0 1 1-3 0v-9a1.5 1.5 0 0 1 1.5-1.5Z" })));
16
+ });
@@ -0,0 +1,11 @@
1
+ export * from './UiCompareIcon';
2
+ export * from './UiCompareIcon16Light';
3
+ export * from './UiCompareIcon16Regular';
4
+ export * from './UiCompareIcon16Solid';
5
+ export * from './UiCompareIcon20Light';
6
+ export * from './UiCompareIcon20Regular';
7
+ export * from './UiCompareIcon20Solid';
8
+ export * from './UiCompareIcon24Regular';
9
+ export * from './UiCompareIcon24Solid';
10
+ export * from './UiCompareIcon32Regular';
11
+ export * from './UiCompareIcon64Regular';
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./UiCompareIcon"), exports);
5
+ tslib_1.__exportStar(require("./UiCompareIcon16Light"), exports);
6
+ tslib_1.__exportStar(require("./UiCompareIcon16Regular"), exports);
7
+ tslib_1.__exportStar(require("./UiCompareIcon16Solid"), exports);
8
+ tslib_1.__exportStar(require("./UiCompareIcon20Light"), exports);
9
+ tslib_1.__exportStar(require("./UiCompareIcon20Regular"), exports);
10
+ tslib_1.__exportStar(require("./UiCompareIcon20Solid"), exports);
11
+ tslib_1.__exportStar(require("./UiCompareIcon24Regular"), exports);
12
+ tslib_1.__exportStar(require("./UiCompareIcon24Solid"), exports);
13
+ tslib_1.__exportStar(require("./UiCompareIcon32Regular"), exports);
14
+ tslib_1.__exportStar(require("./UiCompareIcon64Regular"), exports);
package/icons/index.d.ts CHANGED
@@ -566,3 +566,6 @@ export * from './MoneyPiggyCoinIcon';
566
566
  export * from './PercentCircleIcon';
567
567
  export * from './PercentIcon';
568
568
  export * from './PercentSealIcon';
569
+ export * from './FlashlightIcon';
570
+ export * from './FlashlightOffIcon';
571
+ export * from './UiCompareIcon';
package/icons/index.js CHANGED
@@ -573,3 +573,6 @@ tslib_1.__exportStar(require("./MoneyPiggyCoinIcon"), exports);
573
573
  tslib_1.__exportStar(require("./PercentCircleIcon"), exports);
574
574
  tslib_1.__exportStar(require("./PercentIcon"), exports);
575
575
  tslib_1.__exportStar(require("./PercentSealIcon"), exports);
576
+ tslib_1.__exportStar(require("./FlashlightIcon"), exports);
577
+ tslib_1.__exportStar(require("./FlashlightOffIcon"), exports);
578
+ tslib_1.__exportStar(require("./UiCompareIcon"), exports);
@@ -7,24 +7,45 @@ var react_1 = tslib_1.__importStar(require("react"));
7
7
  var Icon_1 = require("./Icon");
8
8
  var forwardRef_1 = require("../helpers/forwardRef");
9
9
  var utils_1 = require("./utils");
10
- var injectCss_1 = require("./injectCss");
11
10
  exports.BaseIcon = forwardRef_1.forwardRef('BaseIcon', function (_a, ref) {
12
- var color = _a.color, size = _a.size, style = _a.style, _b = _a["aria-hidden"], ariaHidden = _b === void 0 ? true : _b, _c = _a.viewBoxSize, viewBoxSize = _c === void 0 ? 16 : _c, _d = _a.align, align = _d === void 0 ? 'center' : _d, children = _a.children, rest = tslib_1.__rest(_a, ["color", "size", "style", 'aria-hidden', "viewBoxSize", "align", "children"]);
13
- var innerRef = react_1.useRef(null);
14
- react_1.useEffect(function () {
15
- var element = innerRef.current;
16
- if (!element) {
11
+ var color = _a.color, size = _a.size, style = _a.style, _b = _a["aria-hidden"], ariaHidden = _b === void 0 ? true : _b, _c = _a.viewBoxSize, viewBoxSize = _c === void 0 ? 16 : _c, _d = _a.align, align = _d === void 0 ? 'center' : _d, children = _a.children, tabIndex = _a.tabIndex, onKeyUp = _a.onKeyUp, onBlur = _a.onBlur, rest = tslib_1.__rest(_a, ["color", "size", "style", 'aria-hidden', "viewBoxSize", "align", "children", "tabIndex", "onKeyUp", "onBlur"]);
12
+ var zeroWidthSpaceRef = react_1.useRef(null);
13
+ var _e = react_1.useState(false), focusVisible = _e[0], setFocusVisible = _e[1];
14
+ react_1.useLayoutEffect(function () {
15
+ var element = zeroWidthSpaceRef.current;
16
+ if (!element || !element.attachShadow) {
17
17
  return;
18
18
  }
19
- injectCss_1.injectCss(element);
20
- }, [innerRef.current]);
21
- var icon = (react_1.default.createElement("svg", tslib_1.__assign({ "data-tid": Icon_1.IconDataTids.root, ref: utils_1.mergeRefs([innerRef, ref]), width: size || viewBoxSize, height: size || viewBoxSize, className: "ui-parking-icon-base", style: Object.assign({
22
- fill: color !== null && color !== void 0 ? color : 'currentColor',
23
- marginBottom: align === 'none' || align === 'center' ? 0 : '-0.1875em',
24
- flexShrink: 0,
25
- }, align !== 'center' ? style : undefined), xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 " + viewBoxSize + " " + viewBoxSize, "aria-hidden": ariaHidden }, rest), children));
19
+ var zeroWidthSpace = element.ownerDocument.createElement('span');
20
+ element.append(zeroWidthSpace);
21
+ try {
22
+ var shadow = zeroWidthSpace.attachShadow({ mode: 'closed' });
23
+ shadow.textContent = utils_1.ZERO_WIDTH_SPACE;
24
+ }
25
+ catch (e) {
26
+ console.error(e);
27
+ }
28
+ return function () { return zeroWidthSpace.remove(); };
29
+ }, [zeroWidthSpaceRef.current]);
30
+ var enableFocusVisibleOnTab = react_1.useCallback(function (e) {
31
+ var root = e.currentTarget.getRootNode();
32
+ if (!focusVisible &&
33
+ e.key === 'Tab' &&
34
+ (utils_1.isDocument(root) || utils_1.isShadowRoot(root)) &&
35
+ root.activeElement === e.currentTarget) {
36
+ setFocusVisible(true);
37
+ }
38
+ onKeyUp === null || onKeyUp === void 0 ? void 0 : onKeyUp(e);
39
+ }, [focusVisible, onKeyUp]);
40
+ var disableFocusVisible = react_1.useCallback(function (e) {
41
+ focusVisible && setFocusVisible(false);
42
+ onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
43
+ }, [focusVisible, onBlur]);
44
+ var icon = (react_1.default.createElement("svg", tslib_1.__assign({ "data-tid": Icon_1.IconDataTids.root, ref: ref, width: size || viewBoxSize, height: size || viewBoxSize, style: tslib_1.__assign({ fill: color !== null && color !== void 0 ? color : 'currentColor', marginBottom: align === 'none' || align === 'center' ? 0 : '-0.1875em', flexShrink: 0, outline: focusVisible ? undefined : 'none' }, (align !== 'center' ? style : {})), xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 " + viewBoxSize + " " + viewBoxSize, "aria-hidden": ariaHidden, tabIndex: tabIndex, onKeyUp: enableFocusVisibleOnTab, onBlur: disableFocusVisible }, rest), children));
26
45
  if (align === 'center') {
27
- return (react_1.default.createElement("span", { className: "ui-parking-icon-centered", "aria-hidden": ariaHidden, style: style }, icon));
46
+ return (react_1.default.createElement("span", { "aria-hidden": ariaHidden, style: tslib_1.__assign({ display: 'inline-flex', WebkitBoxAlign: 'center', alignItems: 'center' }, style) },
47
+ react_1.default.createElement("span", { ref: zeroWidthSpaceRef }),
48
+ icon));
28
49
  }
29
50
  return icon;
30
51
  });
@@ -19,3 +19,27 @@ export declare const isNonNullable: <T>(value: T) => value is NonNullable<T>;
19
19
  * });
20
20
  */
21
21
  export declare function mergeRefs<T = any>(refs: Array<React.MutableRefObject<T> | React.LegacyRef<T>>): (value: any) => void;
22
+ /**
23
+ * Character for center alignment.
24
+ *
25
+ * @see https://www.fileformat.info/info/unicode/char/200b/index.htm
26
+ */
27
+ export declare const ZERO_WIDTH_SPACE: string;
28
+ /**
29
+ * Checks if the node is a Document.
30
+ *
31
+ * Suitable for use in same-origin iframes.
32
+ *
33
+ * @param {Node} node - The node to check.
34
+ * @returns {boolean} - True if the node is a Document, otherwise false.
35
+ */
36
+ export declare function isDocument(node: Node): node is Document;
37
+ /**
38
+ * Checks if the node is a ShadowRoot.
39
+ *
40
+ * Suitable for use in same-origin iframes.
41
+ *
42
+ * @param {Node} node - The node to check.
43
+ * @returns {boolean} - True if the node is a ShadowRoot, otherwise false.
44
+ */
45
+ export declare function isShadowRoot(node: Node): node is ShadowRoot;
package/internal/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mergeRefs = exports.isNonNullable = void 0;
3
+ exports.isShadowRoot = exports.isDocument = exports.ZERO_WIDTH_SPACE = exports.mergeRefs = exports.isNonNullable = void 0;
4
4
  /**
5
5
  * Проверяет, не является ли переданный аргумент null или undefined и исключает типы null и undefined из типа аргумента
6
6
  *
@@ -36,3 +36,33 @@ function mergeRefs(refs) {
36
36
  };
37
37
  }
38
38
  exports.mergeRefs = mergeRefs;
39
+ /**
40
+ * Character for center alignment.
41
+ *
42
+ * @see https://www.fileformat.info/info/unicode/char/200b/index.htm
43
+ */
44
+ exports.ZERO_WIDTH_SPACE = String.fromCharCode(0x200b);
45
+ /**
46
+ * Checks if the node is a Document.
47
+ *
48
+ * Suitable for use in same-origin iframes.
49
+ *
50
+ * @param {Node} node - The node to check.
51
+ * @returns {boolean} - True if the node is a Document, otherwise false.
52
+ */
53
+ function isDocument(node) {
54
+ return node.nodeType === Node.DOCUMENT_NODE;
55
+ }
56
+ exports.isDocument = isDocument;
57
+ /**
58
+ * Checks if the node is a ShadowRoot.
59
+ *
60
+ * Suitable for use in same-origin iframes.
61
+ *
62
+ * @param {Node} node - The node to check.
63
+ * @returns {boolean} - True if the node is a ShadowRoot, otherwise false.
64
+ */
65
+ function isShadowRoot(node) {
66
+ return node.nodeType === Node.DOCUMENT_FRAGMENT_NODE && 'adoptedStyleSheets' in node;
67
+ }
68
+ exports.isShadowRoot = isShadowRoot;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skbkontur/icons",
3
3
  "description": "react-ui-icons",
4
- "version": "1.13.1",
4
+ "version": "1.14.0-fix-SOP-n-async-attachment.0",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
7
7
  },
@@ -1 +0,0 @@
1
- export declare const CSSRules: readonly string[];
@@ -1,6 +0,0 @@
1
- export var CSSRules = [
2
- ".ui-parking-icon-centered { \n display: -webkit-inline-box;\n display: inline-flex;\n -webkit-box-align: center;\n align-items: center; \n }",
3
- ".ui-parking-icon-centered::before {\n /*\n * ZERO WIDTH SPACE\n *\n * Symbol to align to baseline\n *\n * @see https://www.fileformat.info/info/unicode/char/200b/index.htm\n */\n content: '\\200B';\n }",
4
- ".ui-parking-icon-base { \n outline: none; \n }",
5
- ".ui-parking-icon-base:focus-visible { \n outline: blue auto 5px; \n }",
6
- ];
@@ -1,6 +0,0 @@
1
- declare global {
2
- interface Window {
3
- ShadyCSS: any;
4
- }
5
- }
6
- export declare function injectCss(element: Element): void;
@@ -1,63 +0,0 @@
1
- import { __spreadArrays } from "tslib";
2
- import { CSSRules } from './cssRules';
3
- function checkRuleExists(rootNodeStyles, cssText) {
4
- return rootNodeStyles.some(function (cssRules) { return Array.from(cssRules).some(function (r) { return r.cssText === cssText; }); });
5
- }
6
- /**
7
- * Not attached element can return the root of the DOM tree it belongs to, or itself - HTMLElement, Text, etc
8
- */
9
- function getSafeRootNode(element) {
10
- var _a;
11
- var rootNode = (_a = element.getRootNode) === null || _a === void 0 ? void 0 : _a.call(element);
12
- return (rootNode instanceof Document || rootNode instanceof ShadowRoot ? rootNode : element.ownerDocument);
13
- }
14
- /**
15
- * Whether the current browser supports `adoptedStyleSheets`.
16
- * https://github.com/lit/lit-element/blob/master/src/lib/css-tag.ts#L14
17
- */
18
- var supportsAdoptingStyleSheets = Boolean(typeof window !== 'undefined' &&
19
- window.ShadowRoot &&
20
- (window.ShadyCSS === undefined || window.ShadyCSS.nativeShadow) &&
21
- 'adoptedStyleSheets' in Document.prototype &&
22
- 'replace' in CSSStyleSheet.prototype);
23
- export function injectCss(element) {
24
- var _a;
25
- var rootNode = getSafeRootNode(element);
26
- if (supportsAdoptingStyleSheets) {
27
- var currentWindow = element.ownerDocument.defaultView;
28
- if (!currentWindow) {
29
- return;
30
- }
31
- var rootNodeStyles_1 = rootNode.adoptedStyleSheets.map(function (item) { return item.cssRules; });
32
- var cssRulesStyleSheet_1 = new currentWindow.CSSStyleSheet();
33
- CSSRules.forEach(function (rule) { return cssRulesStyleSheet_1.insertRule(rule); });
34
- var filteredStyleSheet_1 = new currentWindow.CSSStyleSheet();
35
- Array.from(cssRulesStyleSheet_1.cssRules).forEach(function (cssRule) {
36
- if (!checkRuleExists(rootNodeStyles_1, cssRule.cssText)) {
37
- filteredStyleSheet_1.insertRule(cssRule.cssText);
38
- }
39
- });
40
- if (filteredStyleSheet_1.cssRules.length > 0) {
41
- try {
42
- rootNode.adoptedStyleSheets.push(filteredStyleSheet_1);
43
- }
44
- catch (e) {
45
- // fix for old chrome https://chromestatus.com/feature/5638996492288000 , but slow performance
46
- rootNode.adoptedStyleSheets = __spreadArrays(rootNode.adoptedStyleSheets, [filteredStyleSheet_1]);
47
- }
48
- }
49
- }
50
- else {
51
- var styleId = 'ui-parking-icons-style';
52
- var isShadowRoot = !!rootNode.host;
53
- var rootElement = isShadowRoot ? rootNode.firstElementChild : rootNode;
54
- var hasInsertStyles = (_a = rootElement) === null || _a === void 0 ? void 0 : _a.querySelector("#" + styleId);
55
- var elementForStyle = isShadowRoot ? rootElement : rootElement.getElementsByTagName('head')[0];
56
- if (!hasInsertStyles) {
57
- var style = element.ownerDocument.createElement('style');
58
- style.id = styleId;
59
- style.innerHTML = CSSRules.join('');
60
- elementForStyle === null || elementForStyle === void 0 ? void 0 : elementForStyle.appendChild(style);
61
- }
62
- }
63
- }
@@ -1 +0,0 @@
1
- export declare const CSSRules: readonly string[];
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CSSRules = void 0;
4
- exports.CSSRules = [
5
- ".ui-parking-icon-centered { \n display: -webkit-inline-box;\n display: inline-flex;\n -webkit-box-align: center;\n align-items: center; \n }",
6
- ".ui-parking-icon-centered::before {\n /*\n * ZERO WIDTH SPACE\n *\n * Symbol to align to baseline\n *\n * @see https://www.fileformat.info/info/unicode/char/200b/index.htm\n */\n content: '\\200B';\n }",
7
- ".ui-parking-icon-base { \n outline: none; \n }",
8
- ".ui-parking-icon-base:focus-visible { \n outline: blue auto 5px; \n }",
9
- ];
@@ -1,6 +0,0 @@
1
- declare global {
2
- interface Window {
3
- ShadyCSS: any;
4
- }
5
- }
6
- export declare function injectCss(element: Element): void;
@@ -1,67 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.injectCss = void 0;
4
- var tslib_1 = require("tslib");
5
- var cssRules_1 = require("./cssRules");
6
- function checkRuleExists(rootNodeStyles, cssText) {
7
- return rootNodeStyles.some(function (cssRules) { return Array.from(cssRules).some(function (r) { return r.cssText === cssText; }); });
8
- }
9
- /**
10
- * Not attached element can return the root of the DOM tree it belongs to, or itself - HTMLElement, Text, etc
11
- */
12
- function getSafeRootNode(element) {
13
- var _a;
14
- var rootNode = (_a = element.getRootNode) === null || _a === void 0 ? void 0 : _a.call(element);
15
- return (rootNode instanceof Document || rootNode instanceof ShadowRoot ? rootNode : element.ownerDocument);
16
- }
17
- /**
18
- * Whether the current browser supports `adoptedStyleSheets`.
19
- * https://github.com/lit/lit-element/blob/master/src/lib/css-tag.ts#L14
20
- */
21
- var supportsAdoptingStyleSheets = Boolean(typeof window !== 'undefined' &&
22
- window.ShadowRoot &&
23
- (window.ShadyCSS === undefined || window.ShadyCSS.nativeShadow) &&
24
- 'adoptedStyleSheets' in Document.prototype &&
25
- 'replace' in CSSStyleSheet.prototype);
26
- function injectCss(element) {
27
- var _a;
28
- var rootNode = getSafeRootNode(element);
29
- if (supportsAdoptingStyleSheets) {
30
- var currentWindow = element.ownerDocument.defaultView;
31
- if (!currentWindow) {
32
- return;
33
- }
34
- var rootNodeStyles_1 = rootNode.adoptedStyleSheets.map(function (item) { return item.cssRules; });
35
- var cssRulesStyleSheet_1 = new currentWindow.CSSStyleSheet();
36
- cssRules_1.CSSRules.forEach(function (rule) { return cssRulesStyleSheet_1.insertRule(rule); });
37
- var filteredStyleSheet_1 = new currentWindow.CSSStyleSheet();
38
- Array.from(cssRulesStyleSheet_1.cssRules).forEach(function (cssRule) {
39
- if (!checkRuleExists(rootNodeStyles_1, cssRule.cssText)) {
40
- filteredStyleSheet_1.insertRule(cssRule.cssText);
41
- }
42
- });
43
- if (filteredStyleSheet_1.cssRules.length > 0) {
44
- try {
45
- rootNode.adoptedStyleSheets.push(filteredStyleSheet_1);
46
- }
47
- catch (e) {
48
- // fix for old chrome https://chromestatus.com/feature/5638996492288000 , but slow performance
49
- rootNode.adoptedStyleSheets = tslib_1.__spreadArrays(rootNode.adoptedStyleSheets, [filteredStyleSheet_1]);
50
- }
51
- }
52
- }
53
- else {
54
- var styleId = 'ui-parking-icons-style';
55
- var isShadowRoot = !!rootNode.host;
56
- var rootElement = isShadowRoot ? rootNode.firstElementChild : rootNode;
57
- var hasInsertStyles = (_a = rootElement) === null || _a === void 0 ? void 0 : _a.querySelector("#" + styleId);
58
- var elementForStyle = isShadowRoot ? rootElement : rootElement.getElementsByTagName('head')[0];
59
- if (!hasInsertStyles) {
60
- var style = element.ownerDocument.createElement('style');
61
- style.id = styleId;
62
- style.innerHTML = cssRules_1.CSSRules.join('');
63
- elementForStyle === null || elementForStyle === void 0 ? void 0 : elementForStyle.appendChild(style);
64
- }
65
- }
66
- }
67
- exports.injectCss = injectCss;