@audira/carbon-react-native 0.0.1-alpha.1

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 (1128) hide show
  1. package/LICENSE +21 -0
  2. package/lib/commonjs/_carbon-react-native/index.js +25 -0
  3. package/lib/commonjs/_carbon-react-native/index.js.map +1 -0
  4. package/lib/commonjs/_style-sheet/create.js +59 -0
  5. package/lib/commonjs/_style-sheet/create.js.map +1 -0
  6. package/lib/commonjs/_style-sheet/index.js +12 -0
  7. package/lib/commonjs/_style-sheet/index.js.map +1 -0
  8. package/lib/commonjs/components/accordion/_context.js +9 -0
  9. package/lib/commonjs/components/accordion/_context.js.map +1 -0
  10. package/lib/commonjs/components/accordion/_header-border.js +33 -0
  11. package/lib/commonjs/components/accordion/_header-border.js.map +1 -0
  12. package/lib/commonjs/components/accordion/_header.js +156 -0
  13. package/lib/commonjs/components/accordion/_header.js.map +1 -0
  14. package/lib/commonjs/components/accordion/_item.js +91 -0
  15. package/lib/commonjs/components/accordion/_item.js.map +1 -0
  16. package/lib/commonjs/components/accordion/_motion.js +18 -0
  17. package/lib/commonjs/components/accordion/_motion.js.map +1 -0
  18. package/lib/commonjs/components/accordion/_styles.js +24 -0
  19. package/lib/commonjs/components/accordion/_styles.js.map +1 -0
  20. package/lib/commonjs/components/accordion/index.js +74 -0
  21. package/lib/commonjs/components/accordion/index.js.map +1 -0
  22. package/lib/commonjs/components/accordion/types.js +2 -0
  23. package/lib/commonjs/components/accordion/types.js.map +1 -0
  24. package/lib/commonjs/components/button/base/index.js +153 -0
  25. package/lib/commonjs/components/button/base/index.js.map +1 -0
  26. package/lib/commonjs/components/button/base-color/index.js +155 -0
  27. package/lib/commonjs/components/button/base-color/index.js.map +1 -0
  28. package/lib/commonjs/components/button/ghost/index.js +92 -0
  29. package/lib/commonjs/components/button/ghost/index.js.map +1 -0
  30. package/lib/commonjs/components/button/ghost-danger/index.js +92 -0
  31. package/lib/commonjs/components/button/ghost-danger/index.js.map +1 -0
  32. package/lib/commonjs/components/button/ghost-icon/index.js +81 -0
  33. package/lib/commonjs/components/button/ghost-icon/index.js.map +1 -0
  34. package/lib/commonjs/components/button/index.js +127 -0
  35. package/lib/commonjs/components/button/index.js.map +1 -0
  36. package/lib/commonjs/components/button/primary/index.js +74 -0
  37. package/lib/commonjs/components/button/primary/index.js.map +1 -0
  38. package/lib/commonjs/components/button/primary-danger/index.js +74 -0
  39. package/lib/commonjs/components/button/primary-danger/index.js.map +1 -0
  40. package/lib/commonjs/components/button/secondary/index.js +74 -0
  41. package/lib/commonjs/components/button/secondary/index.js.map +1 -0
  42. package/lib/commonjs/components/button/size.js +2 -0
  43. package/lib/commonjs/components/button/size.js.map +1 -0
  44. package/lib/commonjs/components/button/tertiary/index.js +89 -0
  45. package/lib/commonjs/components/button/tertiary/index.js.map +1 -0
  46. package/lib/commonjs/components/button/tertiary-danger/index.js +89 -0
  47. package/lib/commonjs/components/button/tertiary-danger/index.js.map +1 -0
  48. package/lib/commonjs/components/checkbox/index.js +117 -0
  49. package/lib/commonjs/components/checkbox/index.js.map +1 -0
  50. package/lib/commonjs/components/checkbox-group/index.js +98 -0
  51. package/lib/commonjs/components/checkbox-group/index.js.map +1 -0
  52. package/lib/commonjs/components/checkbox-input/index.js +208 -0
  53. package/lib/commonjs/components/checkbox-input/index.js.map +1 -0
  54. package/lib/commonjs/components/collapsible/index.js +134 -0
  55. package/lib/commonjs/components/collapsible/index.js.map +1 -0
  56. package/lib/commonjs/components/form-helper-text/index.js +41 -0
  57. package/lib/commonjs/components/form-helper-text/index.js.map +1 -0
  58. package/lib/commonjs/components/form-label/index.js +35 -0
  59. package/lib/commonjs/components/form-label/index.js.map +1 -0
  60. package/lib/commonjs/components/icon/index.js +42 -0
  61. package/lib/commonjs/components/icon/index.js.map +1 -0
  62. package/lib/commonjs/components/index.js +176 -0
  63. package/lib/commonjs/components/index.js.map +1 -0
  64. package/lib/commonjs/components/notification/_status-hooks/_base.js +52 -0
  65. package/lib/commonjs/components/notification/_status-hooks/_base.js.map +1 -0
  66. package/lib/commonjs/components/notification/_status-hooks/error/index.js +47 -0
  67. package/lib/commonjs/components/notification/_status-hooks/error/index.js.map +1 -0
  68. package/lib/commonjs/components/notification/_status-hooks/index.js +50 -0
  69. package/lib/commonjs/components/notification/_status-hooks/index.js.map +1 -0
  70. package/lib/commonjs/components/notification/_status-hooks/informational/index.js +47 -0
  71. package/lib/commonjs/components/notification/_status-hooks/informational/index.js.map +1 -0
  72. package/lib/commonjs/components/notification/_status-hooks/success/index.js +47 -0
  73. package/lib/commonjs/components/notification/_status-hooks/success/index.js.map +1 -0
  74. package/lib/commonjs/components/notification/_status-hooks/warning/index.js +47 -0
  75. package/lib/commonjs/components/notification/_status-hooks/warning/index.js.map +1 -0
  76. package/lib/commonjs/components/notification/_variant-context.js +24 -0
  77. package/lib/commonjs/components/notification/_variant-context.js.map +1 -0
  78. package/lib/commonjs/components/notification/_variants/_button-ghost.js +43 -0
  79. package/lib/commonjs/components/notification/_variants/_button-ghost.js.map +1 -0
  80. package/lib/commonjs/components/notification/_variants/_button-tertiary.js +43 -0
  81. package/lib/commonjs/components/notification/_variants/_button-tertiary.js.map +1 -0
  82. package/lib/commonjs/components/notification/_variants/actionable/index.js +42 -0
  83. package/lib/commonjs/components/notification/_variants/actionable/index.js.map +1 -0
  84. package/lib/commonjs/components/notification/_variants/actionable-inline/index.js +42 -0
  85. package/lib/commonjs/components/notification/_variants/actionable-inline/index.js.map +1 -0
  86. package/lib/commonjs/components/notification/_variants/callout/index.js +35 -0
  87. package/lib/commonjs/components/notification/_variants/callout/index.js.map +1 -0
  88. package/lib/commonjs/components/notification/_variants/callout-inline/index.js +35 -0
  89. package/lib/commonjs/components/notification/_variants/callout-inline/index.js.map +1 -0
  90. package/lib/commonjs/components/notification/_variants/index.js +61 -0
  91. package/lib/commonjs/components/notification/_variants/index.js.map +1 -0
  92. package/lib/commonjs/components/notification/_variants/toast/index.js +63 -0
  93. package/lib/commonjs/components/notification/_variants/toast/index.js.map +1 -0
  94. package/lib/commonjs/components/notification/actionable/error/index.js +49 -0
  95. package/lib/commonjs/components/notification/actionable/error/index.js.map +1 -0
  96. package/lib/commonjs/components/notification/actionable/index.js +50 -0
  97. package/lib/commonjs/components/notification/actionable/index.js.map +1 -0
  98. package/lib/commonjs/components/notification/actionable/informational/index.js +49 -0
  99. package/lib/commonjs/components/notification/actionable/informational/index.js.map +1 -0
  100. package/lib/commonjs/components/notification/actionable/success/index.js +49 -0
  101. package/lib/commonjs/components/notification/actionable/success/index.js.map +1 -0
  102. package/lib/commonjs/components/notification/actionable/warning/index.js +49 -0
  103. package/lib/commonjs/components/notification/actionable/warning/index.js.map +1 -0
  104. package/lib/commonjs/components/notification/actionable-inline/error/index.js +48 -0
  105. package/lib/commonjs/components/notification/actionable-inline/error/index.js.map +1 -0
  106. package/lib/commonjs/components/notification/actionable-inline/index.js +50 -0
  107. package/lib/commonjs/components/notification/actionable-inline/index.js.map +1 -0
  108. package/lib/commonjs/components/notification/actionable-inline/informational/index.js +48 -0
  109. package/lib/commonjs/components/notification/actionable-inline/informational/index.js.map +1 -0
  110. package/lib/commonjs/components/notification/actionable-inline/success/index.js +48 -0
  111. package/lib/commonjs/components/notification/actionable-inline/success/index.js.map +1 -0
  112. package/lib/commonjs/components/notification/actionable-inline/warning/index.js +48 -0
  113. package/lib/commonjs/components/notification/actionable-inline/warning/index.js.map +1 -0
  114. package/lib/commonjs/components/notification/base/index.js +170 -0
  115. package/lib/commonjs/components/notification/base/index.js.map +1 -0
  116. package/lib/commonjs/components/notification/callout/error/index.js +49 -0
  117. package/lib/commonjs/components/notification/callout/error/index.js.map +1 -0
  118. package/lib/commonjs/components/notification/callout/index.js +50 -0
  119. package/lib/commonjs/components/notification/callout/index.js.map +1 -0
  120. package/lib/commonjs/components/notification/callout/informational/index.js +49 -0
  121. package/lib/commonjs/components/notification/callout/informational/index.js.map +1 -0
  122. package/lib/commonjs/components/notification/callout/success/index.js +49 -0
  123. package/lib/commonjs/components/notification/callout/success/index.js.map +1 -0
  124. package/lib/commonjs/components/notification/callout/warning/index.js +49 -0
  125. package/lib/commonjs/components/notification/callout/warning/index.js.map +1 -0
  126. package/lib/commonjs/components/notification/callout-inline/error/index.js +48 -0
  127. package/lib/commonjs/components/notification/callout-inline/error/index.js.map +1 -0
  128. package/lib/commonjs/components/notification/callout-inline/index.js +50 -0
  129. package/lib/commonjs/components/notification/callout-inline/index.js.map +1 -0
  130. package/lib/commonjs/components/notification/callout-inline/informational/index.js +48 -0
  131. package/lib/commonjs/components/notification/callout-inline/informational/index.js.map +1 -0
  132. package/lib/commonjs/components/notification/callout-inline/success/index.js +48 -0
  133. package/lib/commonjs/components/notification/callout-inline/success/index.js.map +1 -0
  134. package/lib/commonjs/components/notification/callout-inline/warning/index.js +48 -0
  135. package/lib/commonjs/components/notification/callout-inline/warning/index.js.map +1 -0
  136. package/lib/commonjs/components/notification/index.js +62 -0
  137. package/lib/commonjs/components/notification/index.js.map +1 -0
  138. package/lib/commonjs/components/notification/subtitle/index.js +30 -0
  139. package/lib/commonjs/components/notification/subtitle/index.js.map +1 -0
  140. package/lib/commonjs/components/notification/subtitle-link/index.js +29 -0
  141. package/lib/commonjs/components/notification/subtitle-link/index.js.map +1 -0
  142. package/lib/commonjs/components/notification/toast/error/index.js +49 -0
  143. package/lib/commonjs/components/notification/toast/error/index.js.map +1 -0
  144. package/lib/commonjs/components/notification/toast/index.js +50 -0
  145. package/lib/commonjs/components/notification/toast/index.js.map +1 -0
  146. package/lib/commonjs/components/notification/toast/informational/index.js +49 -0
  147. package/lib/commonjs/components/notification/toast/informational/index.js.map +1 -0
  148. package/lib/commonjs/components/notification/toast/success/index.js +49 -0
  149. package/lib/commonjs/components/notification/toast/success/index.js.map +1 -0
  150. package/lib/commonjs/components/notification/toast/warning/index.js +49 -0
  151. package/lib/commonjs/components/notification/toast/warning/index.js.map +1 -0
  152. package/lib/commonjs/components/notification/types.js +2 -0
  153. package/lib/commonjs/components/notification/types.js.map +1 -0
  154. package/lib/commonjs/components/radio-button/index.js +106 -0
  155. package/lib/commonjs/components/radio-button/index.js.map +1 -0
  156. package/lib/commonjs/components/radio-button-group/_item-context.js +9 -0
  157. package/lib/commonjs/components/radio-button-group/_item-context.js.map +1 -0
  158. package/lib/commonjs/components/radio-button-group/_item.js +52 -0
  159. package/lib/commonjs/components/radio-button-group/_item.js.map +1 -0
  160. package/lib/commonjs/components/radio-button-group/_types/index.js +6 -0
  161. package/lib/commonjs/components/radio-button-group/_types/index.js.map +1 -0
  162. package/lib/commonjs/components/radio-button-group/_types/ref-base.js +6 -0
  163. package/lib/commonjs/components/radio-button-group/_types/ref-base.js.map +1 -0
  164. package/lib/commonjs/components/radio-button-group/index.js +141 -0
  165. package/lib/commonjs/components/radio-button-group/index.js.map +1 -0
  166. package/lib/commonjs/components/radio-button-input/index.js +200 -0
  167. package/lib/commonjs/components/radio-button-input/index.js.map +1 -0
  168. package/lib/commonjs/components/switch/index.js +245 -0
  169. package/lib/commonjs/components/switch/index.js.map +1 -0
  170. package/lib/commonjs/components/text/index.js +70 -0
  171. package/lib/commonjs/components/text/index.js.map +1 -0
  172. package/lib/commonjs/components/toggle/base/index.js +115 -0
  173. package/lib/commonjs/components/toggle/base/index.js.map +1 -0
  174. package/lib/commonjs/components/toggle/default/index.js +23 -0
  175. package/lib/commonjs/components/toggle/default/index.js.map +1 -0
  176. package/lib/commonjs/components/toggle/index.js +50 -0
  177. package/lib/commonjs/components/toggle/index.js.map +1 -0
  178. package/lib/commonjs/components/toggle/small/index.js +23 -0
  179. package/lib/commonjs/components/toggle/small/index.js.map +1 -0
  180. package/lib/commonjs/components/toggle/state.js +2 -0
  181. package/lib/commonjs/components/toggle/state.js.map +1 -0
  182. package/lib/commonjs/constants/color/code.json +273 -0
  183. package/lib/commonjs/constants/color/index.js +19 -0
  184. package/lib/commonjs/constants/color/index.js.map +1 -0
  185. package/lib/commonjs/constants/color/tokens/gray-10.js +181 -0
  186. package/lib/commonjs/constants/color/tokens/gray-10.js.map +1 -0
  187. package/lib/commonjs/constants/color/tokens/gray-100.js +181 -0
  188. package/lib/commonjs/constants/color/tokens/gray-100.js.map +1 -0
  189. package/lib/commonjs/constants/color/tokens/index.js +28 -0
  190. package/lib/commonjs/constants/color/tokens/index.js.map +1 -0
  191. package/lib/commonjs/constants/index.js +24 -0
  192. package/lib/commonjs/constants/index.js.map +1 -0
  193. package/lib/commonjs/constants/motion/index.js +71 -0
  194. package/lib/commonjs/constants/motion/index.js.map +1 -0
  195. package/lib/commonjs/constants/spacing.js +22 -0
  196. package/lib/commonjs/constants/spacing.js.map +1 -0
  197. package/lib/commonjs/constants/typography/font-family.js +23 -0
  198. package/lib/commonjs/constants/typography/font-family.js.map +1 -0
  199. package/lib/commonjs/constants/typography/index.js +28 -0
  200. package/lib/commonjs/constants/typography/index.js.map +1 -0
  201. package/lib/commonjs/constants/typography/type-sets.js +141 -0
  202. package/lib/commonjs/constants/typography/type-sets.js.map +1 -0
  203. package/lib/commonjs/contexts/global-config/context.js +12 -0
  204. package/lib/commonjs/contexts/global-config/context.js.map +1 -0
  205. package/lib/commonjs/contexts/global-config/provider.js +22 -0
  206. package/lib/commonjs/contexts/global-config/provider.js.map +1 -0
  207. package/lib/commonjs/contexts/index.js +28 -0
  208. package/lib/commonjs/contexts/index.js.map +1 -0
  209. package/lib/commonjs/contexts/theme/context.js +14 -0
  210. package/lib/commonjs/contexts/theme/context.js.map +1 -0
  211. package/lib/commonjs/contexts/theme/index.js +17 -0
  212. package/lib/commonjs/contexts/theme/index.js.map +1 -0
  213. package/lib/commonjs/contexts/theme/provider.js +31 -0
  214. package/lib/commonjs/contexts/theme/provider.js.map +1 -0
  215. package/lib/commonjs/globals/color-scheme/index.js +16 -0
  216. package/lib/commonjs/globals/color-scheme/index.js.map +1 -0
  217. package/lib/commonjs/globals/index.js +11 -0
  218. package/lib/commonjs/globals/index.js.map +1 -0
  219. package/lib/commonjs/helpers/color/get-color-scheme.js +15 -0
  220. package/lib/commonjs/helpers/color/get-color-scheme.js.map +1 -0
  221. package/lib/commonjs/helpers/color/get-color-token.js +14 -0
  222. package/lib/commonjs/helpers/color/get-color-token.js.map +1 -0
  223. package/lib/commonjs/helpers/color/hex-to-rgba.js +11 -0
  224. package/lib/commonjs/helpers/color/hex-to-rgba.js.map +1 -0
  225. package/lib/commonjs/helpers/color/index.js +39 -0
  226. package/lib/commonjs/helpers/color/index.js.map +1 -0
  227. package/lib/commonjs/helpers/index.js +11 -0
  228. package/lib/commonjs/helpers/index.js.map +1 -0
  229. package/lib/commonjs/index.js +94 -0
  230. package/lib/commonjs/index.js.map +1 -0
  231. package/lib/commonjs/styles/common.js +25 -0
  232. package/lib/commonjs/styles/common.js.map +1 -0
  233. package/lib/commonjs/styles/flex.js +82 -0
  234. package/lib/commonjs/styles/flex.js.map +1 -0
  235. package/lib/commonjs/styles/index.js +39 -0
  236. package/lib/commonjs/styles/index.js.map +1 -0
  237. package/lib/commonjs/styles/text.js +67 -0
  238. package/lib/commonjs/styles/text.js.map +1 -0
  239. package/lib/commonjs/types/@carbon/icons/index.d.js +2 -0
  240. package/lib/commonjs/types/@carbon/icons/index.d.js.map +1 -0
  241. package/lib/commonjs/types/index.js +6 -0
  242. package/lib/commonjs/types/index.js.map +1 -0
  243. package/lib/commonjs/types/shared.js +2 -0
  244. package/lib/commonjs/types/shared.js.map +1 -0
  245. package/lib/commonjs/types/theme/color-scheme.js +2 -0
  246. package/lib/commonjs/types/theme/color-scheme.js.map +1 -0
  247. package/lib/commonjs/types/theme/color-token.js +2 -0
  248. package/lib/commonjs/types/theme/color-token.js.map +1 -0
  249. package/lib/commonjs/types/theme/index.js +2 -0
  250. package/lib/commonjs/types/theme/index.js.map +1 -0
  251. package/lib/commonjs/types/typography.js +6 -0
  252. package/lib/commonjs/types/typography.js.map +1 -0
  253. package/lib/module/_carbon-react-native/index.js +21 -0
  254. package/lib/module/_carbon-react-native/index.js.map +1 -0
  255. package/lib/module/_style-sheet/create.js +55 -0
  256. package/lib/module/_style-sheet/create.js.map +1 -0
  257. package/lib/module/_style-sheet/index.js +8 -0
  258. package/lib/module/_style-sheet/index.js.map +1 -0
  259. package/lib/module/components/accordion/_context.js +5 -0
  260. package/lib/module/components/accordion/_context.js.map +1 -0
  261. package/lib/module/components/accordion/_header-border.js +29 -0
  262. package/lib/module/components/accordion/_header-border.js.map +1 -0
  263. package/lib/module/components/accordion/_header.js +149 -0
  264. package/lib/module/components/accordion/_header.js.map +1 -0
  265. package/lib/module/components/accordion/_item.js +87 -0
  266. package/lib/module/components/accordion/_item.js.map +1 -0
  267. package/lib/module/components/accordion/_motion.js +14 -0
  268. package/lib/module/components/accordion/_motion.js.map +1 -0
  269. package/lib/module/components/accordion/_styles.js +21 -0
  270. package/lib/module/components/accordion/_styles.js.map +1 -0
  271. package/lib/module/components/accordion/index.js +70 -0
  272. package/lib/module/components/accordion/index.js.map +1 -0
  273. package/lib/module/components/accordion/types.js +2 -0
  274. package/lib/module/components/accordion/types.js.map +1 -0
  275. package/lib/module/components/button/base/index.js +149 -0
  276. package/lib/module/components/button/base/index.js.map +1 -0
  277. package/lib/module/components/button/base-color/index.js +151 -0
  278. package/lib/module/components/button/base-color/index.js.map +1 -0
  279. package/lib/module/components/button/ghost/index.js +88 -0
  280. package/lib/module/components/button/ghost/index.js.map +1 -0
  281. package/lib/module/components/button/ghost-danger/index.js +88 -0
  282. package/lib/module/components/button/ghost-danger/index.js.map +1 -0
  283. package/lib/module/components/button/ghost-icon/index.js +77 -0
  284. package/lib/module/components/button/ghost-icon/index.js.map +1 -0
  285. package/lib/module/components/button/index.js +14 -0
  286. package/lib/module/components/button/index.js.map +1 -0
  287. package/lib/module/components/button/primary/index.js +70 -0
  288. package/lib/module/components/button/primary/index.js.map +1 -0
  289. package/lib/module/components/button/primary-danger/index.js +70 -0
  290. package/lib/module/components/button/primary-danger/index.js.map +1 -0
  291. package/lib/module/components/button/secondary/index.js +70 -0
  292. package/lib/module/components/button/secondary/index.js.map +1 -0
  293. package/lib/module/components/button/size.js +2 -0
  294. package/lib/module/components/button/size.js.map +1 -0
  295. package/lib/module/components/button/tertiary/index.js +85 -0
  296. package/lib/module/components/button/tertiary/index.js.map +1 -0
  297. package/lib/module/components/button/tertiary-danger/index.js +85 -0
  298. package/lib/module/components/button/tertiary-danger/index.js.map +1 -0
  299. package/lib/module/components/checkbox/index.js +113 -0
  300. package/lib/module/components/checkbox/index.js.map +1 -0
  301. package/lib/module/components/checkbox-group/index.js +93 -0
  302. package/lib/module/components/checkbox-group/index.js.map +1 -0
  303. package/lib/module/components/checkbox-input/index.js +203 -0
  304. package/lib/module/components/checkbox-input/index.js.map +1 -0
  305. package/lib/module/components/collapsible/index.js +128 -0
  306. package/lib/module/components/collapsible/index.js.map +1 -0
  307. package/lib/module/components/form-helper-text/index.js +37 -0
  308. package/lib/module/components/form-helper-text/index.js.map +1 -0
  309. package/lib/module/components/form-label/index.js +31 -0
  310. package/lib/module/components/form-label/index.js.map +1 -0
  311. package/lib/module/components/icon/index.js +35 -0
  312. package/lib/module/components/icon/index.js.map +1 -0
  313. package/lib/module/components/index.js +20 -0
  314. package/lib/module/components/index.js.map +1 -0
  315. package/lib/module/components/notification/_status-hooks/_base.js +48 -0
  316. package/lib/module/components/notification/_status-hooks/_base.js.map +1 -0
  317. package/lib/module/components/notification/_status-hooks/error/index.js +42 -0
  318. package/lib/module/components/notification/_status-hooks/error/index.js.map +1 -0
  319. package/lib/module/components/notification/_status-hooks/index.js +7 -0
  320. package/lib/module/components/notification/_status-hooks/index.js.map +1 -0
  321. package/lib/module/components/notification/_status-hooks/informational/index.js +42 -0
  322. package/lib/module/components/notification/_status-hooks/informational/index.js.map +1 -0
  323. package/lib/module/components/notification/_status-hooks/success/index.js +42 -0
  324. package/lib/module/components/notification/_status-hooks/success/index.js.map +1 -0
  325. package/lib/module/components/notification/_status-hooks/warning/index.js +42 -0
  326. package/lib/module/components/notification/_status-hooks/warning/index.js.map +1 -0
  327. package/lib/module/components/notification/_variant-context.js +19 -0
  328. package/lib/module/components/notification/_variant-context.js.map +1 -0
  329. package/lib/module/components/notification/_variants/_button-ghost.js +39 -0
  330. package/lib/module/components/notification/_variants/_button-ghost.js.map +1 -0
  331. package/lib/module/components/notification/_variants/_button-tertiary.js +39 -0
  332. package/lib/module/components/notification/_variants/_button-tertiary.js.map +1 -0
  333. package/lib/module/components/notification/_variants/actionable/index.js +38 -0
  334. package/lib/module/components/notification/_variants/actionable/index.js.map +1 -0
  335. package/lib/module/components/notification/_variants/actionable-inline/index.js +38 -0
  336. package/lib/module/components/notification/_variants/actionable-inline/index.js.map +1 -0
  337. package/lib/module/components/notification/_variants/callout/index.js +31 -0
  338. package/lib/module/components/notification/_variants/callout/index.js.map +1 -0
  339. package/lib/module/components/notification/_variants/callout-inline/index.js +31 -0
  340. package/lib/module/components/notification/_variants/callout-inline/index.js.map +1 -0
  341. package/lib/module/components/notification/_variants/index.js +8 -0
  342. package/lib/module/components/notification/_variants/index.js.map +1 -0
  343. package/lib/module/components/notification/_variants/toast/index.js +59 -0
  344. package/lib/module/components/notification/_variants/toast/index.js.map +1 -0
  345. package/lib/module/components/notification/actionable/error/index.js +45 -0
  346. package/lib/module/components/notification/actionable/error/index.js.map +1 -0
  347. package/lib/module/components/notification/actionable/index.js +7 -0
  348. package/lib/module/components/notification/actionable/index.js.map +1 -0
  349. package/lib/module/components/notification/actionable/informational/index.js +45 -0
  350. package/lib/module/components/notification/actionable/informational/index.js.map +1 -0
  351. package/lib/module/components/notification/actionable/success/index.js +45 -0
  352. package/lib/module/components/notification/actionable/success/index.js.map +1 -0
  353. package/lib/module/components/notification/actionable/warning/index.js +45 -0
  354. package/lib/module/components/notification/actionable/warning/index.js.map +1 -0
  355. package/lib/module/components/notification/actionable-inline/error/index.js +44 -0
  356. package/lib/module/components/notification/actionable-inline/error/index.js.map +1 -0
  357. package/lib/module/components/notification/actionable-inline/index.js +7 -0
  358. package/lib/module/components/notification/actionable-inline/index.js.map +1 -0
  359. package/lib/module/components/notification/actionable-inline/informational/index.js +44 -0
  360. package/lib/module/components/notification/actionable-inline/informational/index.js.map +1 -0
  361. package/lib/module/components/notification/actionable-inline/success/index.js +44 -0
  362. package/lib/module/components/notification/actionable-inline/success/index.js.map +1 -0
  363. package/lib/module/components/notification/actionable-inline/warning/index.js +44 -0
  364. package/lib/module/components/notification/actionable-inline/warning/index.js.map +1 -0
  365. package/lib/module/components/notification/base/index.js +165 -0
  366. package/lib/module/components/notification/base/index.js.map +1 -0
  367. package/lib/module/components/notification/callout/error/index.js +45 -0
  368. package/lib/module/components/notification/callout/error/index.js.map +1 -0
  369. package/lib/module/components/notification/callout/index.js +7 -0
  370. package/lib/module/components/notification/callout/index.js.map +1 -0
  371. package/lib/module/components/notification/callout/informational/index.js +45 -0
  372. package/lib/module/components/notification/callout/informational/index.js.map +1 -0
  373. package/lib/module/components/notification/callout/success/index.js +45 -0
  374. package/lib/module/components/notification/callout/success/index.js.map +1 -0
  375. package/lib/module/components/notification/callout/warning/index.js +45 -0
  376. package/lib/module/components/notification/callout/warning/index.js.map +1 -0
  377. package/lib/module/components/notification/callout-inline/error/index.js +44 -0
  378. package/lib/module/components/notification/callout-inline/error/index.js.map +1 -0
  379. package/lib/module/components/notification/callout-inline/index.js +7 -0
  380. package/lib/module/components/notification/callout-inline/index.js.map +1 -0
  381. package/lib/module/components/notification/callout-inline/informational/index.js +44 -0
  382. package/lib/module/components/notification/callout-inline/informational/index.js.map +1 -0
  383. package/lib/module/components/notification/callout-inline/success/index.js +44 -0
  384. package/lib/module/components/notification/callout-inline/success/index.js.map +1 -0
  385. package/lib/module/components/notification/callout-inline/warning/index.js +44 -0
  386. package/lib/module/components/notification/callout-inline/warning/index.js.map +1 -0
  387. package/lib/module/components/notification/index.js +12 -0
  388. package/lib/module/components/notification/index.js.map +1 -0
  389. package/lib/module/components/notification/subtitle/index.js +26 -0
  390. package/lib/module/components/notification/subtitle/index.js.map +1 -0
  391. package/lib/module/components/notification/subtitle-link/index.js +25 -0
  392. package/lib/module/components/notification/subtitle-link/index.js.map +1 -0
  393. package/lib/module/components/notification/toast/error/index.js +45 -0
  394. package/lib/module/components/notification/toast/error/index.js.map +1 -0
  395. package/lib/module/components/notification/toast/index.js +7 -0
  396. package/lib/module/components/notification/toast/index.js.map +1 -0
  397. package/lib/module/components/notification/toast/informational/index.js +45 -0
  398. package/lib/module/components/notification/toast/informational/index.js.map +1 -0
  399. package/lib/module/components/notification/toast/success/index.js +45 -0
  400. package/lib/module/components/notification/toast/success/index.js.map +1 -0
  401. package/lib/module/components/notification/toast/warning/index.js +45 -0
  402. package/lib/module/components/notification/toast/warning/index.js.map +1 -0
  403. package/lib/module/components/notification/types.js +2 -0
  404. package/lib/module/components/notification/types.js.map +1 -0
  405. package/lib/module/components/radio-button/index.js +102 -0
  406. package/lib/module/components/radio-button/index.js.map +1 -0
  407. package/lib/module/components/radio-button-group/_item-context.js +5 -0
  408. package/lib/module/components/radio-button-group/_item-context.js.map +1 -0
  409. package/lib/module/components/radio-button-group/_item.js +48 -0
  410. package/lib/module/components/radio-button-group/_item.js.map +1 -0
  411. package/lib/module/components/radio-button-group/_types/index.js +4 -0
  412. package/lib/module/components/radio-button-group/_types/index.js.map +1 -0
  413. package/lib/module/components/radio-button-group/_types/ref-base.js +4 -0
  414. package/lib/module/components/radio-button-group/_types/ref-base.js.map +1 -0
  415. package/lib/module/components/radio-button-group/index.js +136 -0
  416. package/lib/module/components/radio-button-group/index.js.map +1 -0
  417. package/lib/module/components/radio-button-input/index.js +196 -0
  418. package/lib/module/components/radio-button-input/index.js.map +1 -0
  419. package/lib/module/components/switch/index.js +238 -0
  420. package/lib/module/components/switch/index.js.map +1 -0
  421. package/lib/module/components/text/index.js +66 -0
  422. package/lib/module/components/text/index.js.map +1 -0
  423. package/lib/module/components/toggle/base/index.js +111 -0
  424. package/lib/module/components/toggle/base/index.js.map +1 -0
  425. package/lib/module/components/toggle/default/index.js +19 -0
  426. package/lib/module/components/toggle/default/index.js.map +1 -0
  427. package/lib/module/components/toggle/index.js +7 -0
  428. package/lib/module/components/toggle/index.js.map +1 -0
  429. package/lib/module/components/toggle/small/index.js +19 -0
  430. package/lib/module/components/toggle/small/index.js.map +1 -0
  431. package/lib/module/components/toggle/state.js +2 -0
  432. package/lib/module/components/toggle/state.js.map +1 -0
  433. package/lib/module/constants/color/code.json +273 -0
  434. package/lib/module/constants/color/index.js +6 -0
  435. package/lib/module/constants/color/index.js.map +1 -0
  436. package/lib/module/constants/color/tokens/gray-10.js +176 -0
  437. package/lib/module/constants/color/tokens/gray-10.js.map +1 -0
  438. package/lib/module/constants/color/tokens/gray-100.js +176 -0
  439. package/lib/module/constants/color/tokens/gray-100.js.map +1 -0
  440. package/lib/module/constants/color/tokens/index.js +5 -0
  441. package/lib/module/constants/color/tokens/index.js.map +1 -0
  442. package/lib/module/constants/index.js +8 -0
  443. package/lib/module/constants/index.js.map +1 -0
  444. package/lib/module/constants/motion/index.js +67 -0
  445. package/lib/module/constants/motion/index.js.map +1 -0
  446. package/lib/module/constants/spacing.js +18 -0
  447. package/lib/module/constants/spacing.js.map +1 -0
  448. package/lib/module/constants/typography/font-family.js +19 -0
  449. package/lib/module/constants/typography/font-family.js.map +1 -0
  450. package/lib/module/constants/typography/index.js +5 -0
  451. package/lib/module/constants/typography/index.js.map +1 -0
  452. package/lib/module/constants/typography/type-sets.js +137 -0
  453. package/lib/module/constants/typography/type-sets.js.map +1 -0
  454. package/lib/module/contexts/global-config/context.js +8 -0
  455. package/lib/module/contexts/global-config/context.js.map +1 -0
  456. package/lib/module/contexts/global-config/provider.js +18 -0
  457. package/lib/module/contexts/global-config/provider.js.map +1 -0
  458. package/lib/module/contexts/index.js +5 -0
  459. package/lib/module/contexts/index.js.map +1 -0
  460. package/lib/module/contexts/theme/context.js +10 -0
  461. package/lib/module/contexts/theme/context.js.map +1 -0
  462. package/lib/module/contexts/theme/index.js +4 -0
  463. package/lib/module/contexts/theme/index.js.map +1 -0
  464. package/lib/module/contexts/theme/provider.js +27 -0
  465. package/lib/module/contexts/theme/provider.js.map +1 -0
  466. package/lib/module/globals/color-scheme/index.js +11 -0
  467. package/lib/module/globals/color-scheme/index.js.map +1 -0
  468. package/lib/module/globals/index.js +5 -0
  469. package/lib/module/globals/index.js.map +1 -0
  470. package/lib/module/helpers/color/get-color-scheme.js +11 -0
  471. package/lib/module/helpers/color/get-color-scheme.js.map +1 -0
  472. package/lib/module/helpers/color/get-color-token.js +10 -0
  473. package/lib/module/helpers/color/get-color-token.js.map +1 -0
  474. package/lib/module/helpers/color/hex-to-rgba.js +7 -0
  475. package/lib/module/helpers/color/hex-to-rgba.js.map +1 -0
  476. package/lib/module/helpers/color/index.js +6 -0
  477. package/lib/module/helpers/color/index.js.map +1 -0
  478. package/lib/module/helpers/index.js +5 -0
  479. package/lib/module/helpers/index.js.map +1 -0
  480. package/lib/module/index.js +11 -0
  481. package/lib/module/index.js.map +1 -0
  482. package/lib/module/styles/common.js +21 -0
  483. package/lib/module/styles/common.js.map +1 -0
  484. package/lib/module/styles/flex.js +78 -0
  485. package/lib/module/styles/flex.js.map +1 -0
  486. package/lib/module/styles/index.js +6 -0
  487. package/lib/module/styles/index.js.map +1 -0
  488. package/lib/module/styles/text.js +63 -0
  489. package/lib/module/styles/text.js.map +1 -0
  490. package/lib/module/types/@carbon/icons/index.d.js +2 -0
  491. package/lib/module/types/@carbon/icons/index.d.js.map +1 -0
  492. package/lib/module/types/index.js +4 -0
  493. package/lib/module/types/index.js.map +1 -0
  494. package/lib/module/types/shared.js +2 -0
  495. package/lib/module/types/shared.js.map +1 -0
  496. package/lib/module/types/theme/color-scheme.js +2 -0
  497. package/lib/module/types/theme/color-scheme.js.map +1 -0
  498. package/lib/module/types/theme/color-token.js +2 -0
  499. package/lib/module/types/theme/color-token.js.map +1 -0
  500. package/lib/module/types/theme/index.js +2 -0
  501. package/lib/module/types/theme/index.js.map +1 -0
  502. package/lib/module/types/typography.js +4 -0
  503. package/lib/module/types/typography.js.map +1 -0
  504. package/lib/typescript/commonjs/package.json +1 -0
  505. package/lib/typescript/commonjs/src/_carbon-react-native/index.d.ts +7 -0
  506. package/lib/typescript/commonjs/src/_carbon-react-native/index.d.ts.map +1 -0
  507. package/lib/typescript/commonjs/src/_style-sheet/create.d.ts +6 -0
  508. package/lib/typescript/commonjs/src/_style-sheet/create.d.ts.map +1 -0
  509. package/lib/typescript/commonjs/src/_style-sheet/index.d.ts +5 -0
  510. package/lib/typescript/commonjs/src/_style-sheet/index.d.ts.map +1 -0
  511. package/lib/typescript/commonjs/src/components/accordion/_context.d.ts +9 -0
  512. package/lib/typescript/commonjs/src/components/accordion/_context.d.ts.map +1 -0
  513. package/lib/typescript/commonjs/src/components/accordion/_header-border.d.ts +10 -0
  514. package/lib/typescript/commonjs/src/components/accordion/_header-border.d.ts.map +1 -0
  515. package/lib/typescript/commonjs/src/components/accordion/_header.d.ts +13 -0
  516. package/lib/typescript/commonjs/src/components/accordion/_header.d.ts.map +1 -0
  517. package/lib/typescript/commonjs/src/components/accordion/_item.d.ts +23 -0
  518. package/lib/typescript/commonjs/src/components/accordion/_item.d.ts.map +1 -0
  519. package/lib/typescript/commonjs/src/components/accordion/_motion.d.ts +3 -0
  520. package/lib/typescript/commonjs/src/components/accordion/_motion.d.ts.map +1 -0
  521. package/lib/typescript/commonjs/src/components/accordion/_styles.d.ts +16 -0
  522. package/lib/typescript/commonjs/src/components/accordion/_styles.d.ts.map +1 -0
  523. package/lib/typescript/commonjs/src/components/accordion/index.d.ts +16 -0
  524. package/lib/typescript/commonjs/src/components/accordion/index.d.ts.map +1 -0
  525. package/lib/typescript/commonjs/src/components/accordion/types.d.ts +2 -0
  526. package/lib/typescript/commonjs/src/components/accordion/types.d.ts.map +1 -0
  527. package/lib/typescript/commonjs/src/components/button/base/index.d.ts +37 -0
  528. package/lib/typescript/commonjs/src/components/button/base/index.d.ts.map +1 -0
  529. package/lib/typescript/commonjs/src/components/button/base-color/index.d.ts +21 -0
  530. package/lib/typescript/commonjs/src/components/button/base-color/index.d.ts.map +1 -0
  531. package/lib/typescript/commonjs/src/components/button/ghost/index.d.ts +5 -0
  532. package/lib/typescript/commonjs/src/components/button/ghost/index.d.ts.map +1 -0
  533. package/lib/typescript/commonjs/src/components/button/ghost-danger/index.d.ts +5 -0
  534. package/lib/typescript/commonjs/src/components/button/ghost-danger/index.d.ts.map +1 -0
  535. package/lib/typescript/commonjs/src/components/button/ghost-icon/index.d.ts +8 -0
  536. package/lib/typescript/commonjs/src/components/button/ghost-icon/index.d.ts.map +1 -0
  537. package/lib/typescript/commonjs/src/components/button/index.d.ts +12 -0
  538. package/lib/typescript/commonjs/src/components/button/index.d.ts.map +1 -0
  539. package/lib/typescript/commonjs/src/components/button/primary/index.d.ts +5 -0
  540. package/lib/typescript/commonjs/src/components/button/primary/index.d.ts.map +1 -0
  541. package/lib/typescript/commonjs/src/components/button/primary-danger/index.d.ts +5 -0
  542. package/lib/typescript/commonjs/src/components/button/primary-danger/index.d.ts.map +1 -0
  543. package/lib/typescript/commonjs/src/components/button/secondary/index.d.ts +5 -0
  544. package/lib/typescript/commonjs/src/components/button/secondary/index.d.ts.map +1 -0
  545. package/lib/typescript/commonjs/src/components/button/size.d.ts +2 -0
  546. package/lib/typescript/commonjs/src/components/button/size.d.ts.map +1 -0
  547. package/lib/typescript/commonjs/src/components/button/tertiary/index.d.ts +5 -0
  548. package/lib/typescript/commonjs/src/components/button/tertiary/index.d.ts.map +1 -0
  549. package/lib/typescript/commonjs/src/components/button/tertiary-danger/index.d.ts +5 -0
  550. package/lib/typescript/commonjs/src/components/button/tertiary-danger/index.d.ts.map +1 -0
  551. package/lib/typescript/commonjs/src/components/checkbox/index.d.ts +32 -0
  552. package/lib/typescript/commonjs/src/components/checkbox/index.d.ts.map +1 -0
  553. package/lib/typescript/commonjs/src/components/checkbox-group/index.d.ts +21 -0
  554. package/lib/typescript/commonjs/src/components/checkbox-group/index.d.ts.map +1 -0
  555. package/lib/typescript/commonjs/src/components/checkbox-input/index.d.ts +25 -0
  556. package/lib/typescript/commonjs/src/components/checkbox-input/index.d.ts.map +1 -0
  557. package/lib/typescript/commonjs/src/components/collapsible/index.d.ts +26 -0
  558. package/lib/typescript/commonjs/src/components/collapsible/index.d.ts.map +1 -0
  559. package/lib/typescript/commonjs/src/components/form-helper-text/index.d.ts +11 -0
  560. package/lib/typescript/commonjs/src/components/form-helper-text/index.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/src/components/form-label/index.d.ts +10 -0
  562. package/lib/typescript/commonjs/src/components/form-label/index.d.ts.map +1 -0
  563. package/lib/typescript/commonjs/src/components/icon/index.d.ts +13 -0
  564. package/lib/typescript/commonjs/src/components/icon/index.d.ts.map +1 -0
  565. package/lib/typescript/commonjs/src/components/index.d.ts +18 -0
  566. package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -0
  567. package/lib/typescript/commonjs/src/components/notification/_status-hooks/_base.d.ts +28 -0
  568. package/lib/typescript/commonjs/src/components/notification/_status-hooks/_base.d.ts.map +1 -0
  569. package/lib/typescript/commonjs/src/components/notification/_status-hooks/error/index.d.ts +11 -0
  570. package/lib/typescript/commonjs/src/components/notification/_status-hooks/error/index.d.ts.map +1 -0
  571. package/lib/typescript/commonjs/src/components/notification/_status-hooks/index.d.ts +5 -0
  572. package/lib/typescript/commonjs/src/components/notification/_status-hooks/index.d.ts.map +1 -0
  573. package/lib/typescript/commonjs/src/components/notification/_status-hooks/informational/index.d.ts +11 -0
  574. package/lib/typescript/commonjs/src/components/notification/_status-hooks/informational/index.d.ts.map +1 -0
  575. package/lib/typescript/commonjs/src/components/notification/_status-hooks/success/index.d.ts +11 -0
  576. package/lib/typescript/commonjs/src/components/notification/_status-hooks/success/index.d.ts.map +1 -0
  577. package/lib/typescript/commonjs/src/components/notification/_status-hooks/warning/index.d.ts +11 -0
  578. package/lib/typescript/commonjs/src/components/notification/_status-hooks/warning/index.d.ts.map +1 -0
  579. package/lib/typescript/commonjs/src/components/notification/_variant-context.d.ts +10 -0
  580. package/lib/typescript/commonjs/src/components/notification/_variant-context.d.ts.map +1 -0
  581. package/lib/typescript/commonjs/src/components/notification/_variants/_button-ghost.d.ts +7 -0
  582. package/lib/typescript/commonjs/src/components/notification/_variants/_button-ghost.d.ts.map +1 -0
  583. package/lib/typescript/commonjs/src/components/notification/_variants/_button-tertiary.d.ts +7 -0
  584. package/lib/typescript/commonjs/src/components/notification/_variants/_button-tertiary.d.ts.map +1 -0
  585. package/lib/typescript/commonjs/src/components/notification/_variants/actionable/index.d.ts +30 -0
  586. package/lib/typescript/commonjs/src/components/notification/_variants/actionable/index.d.ts.map +1 -0
  587. package/lib/typescript/commonjs/src/components/notification/_variants/actionable-inline/index.d.ts +30 -0
  588. package/lib/typescript/commonjs/src/components/notification/_variants/actionable-inline/index.d.ts.map +1 -0
  589. package/lib/typescript/commonjs/src/components/notification/_variants/callout/index.d.ts +13 -0
  590. package/lib/typescript/commonjs/src/components/notification/_variants/callout/index.d.ts.map +1 -0
  591. package/lib/typescript/commonjs/src/components/notification/_variants/callout-inline/index.d.ts +13 -0
  592. package/lib/typescript/commonjs/src/components/notification/_variants/callout-inline/index.d.ts.map +1 -0
  593. package/lib/typescript/commonjs/src/components/notification/_variants/index.d.ts +6 -0
  594. package/lib/typescript/commonjs/src/components/notification/_variants/index.d.ts.map +1 -0
  595. package/lib/typescript/commonjs/src/components/notification/_variants/toast/index.d.ts +17 -0
  596. package/lib/typescript/commonjs/src/components/notification/_variants/toast/index.d.ts.map +1 -0
  597. package/lib/typescript/commonjs/src/components/notification/actionable/error/index.d.ts +9 -0
  598. package/lib/typescript/commonjs/src/components/notification/actionable/error/index.d.ts.map +1 -0
  599. package/lib/typescript/commonjs/src/components/notification/actionable/index.d.ts +5 -0
  600. package/lib/typescript/commonjs/src/components/notification/actionable/index.d.ts.map +1 -0
  601. package/lib/typescript/commonjs/src/components/notification/actionable/informational/index.d.ts +9 -0
  602. package/lib/typescript/commonjs/src/components/notification/actionable/informational/index.d.ts.map +1 -0
  603. package/lib/typescript/commonjs/src/components/notification/actionable/success/index.d.ts +9 -0
  604. package/lib/typescript/commonjs/src/components/notification/actionable/success/index.d.ts.map +1 -0
  605. package/lib/typescript/commonjs/src/components/notification/actionable/warning/index.d.ts +9 -0
  606. package/lib/typescript/commonjs/src/components/notification/actionable/warning/index.d.ts.map +1 -0
  607. package/lib/typescript/commonjs/src/components/notification/actionable-inline/error/index.d.ts +9 -0
  608. package/lib/typescript/commonjs/src/components/notification/actionable-inline/error/index.d.ts.map +1 -0
  609. package/lib/typescript/commonjs/src/components/notification/actionable-inline/index.d.ts +5 -0
  610. package/lib/typescript/commonjs/src/components/notification/actionable-inline/index.d.ts.map +1 -0
  611. package/lib/typescript/commonjs/src/components/notification/actionable-inline/informational/index.d.ts +9 -0
  612. package/lib/typescript/commonjs/src/components/notification/actionable-inline/informational/index.d.ts.map +1 -0
  613. package/lib/typescript/commonjs/src/components/notification/actionable-inline/success/index.d.ts +9 -0
  614. package/lib/typescript/commonjs/src/components/notification/actionable-inline/success/index.d.ts.map +1 -0
  615. package/lib/typescript/commonjs/src/components/notification/actionable-inline/warning/index.d.ts +9 -0
  616. package/lib/typescript/commonjs/src/components/notification/actionable-inline/warning/index.d.ts.map +1 -0
  617. package/lib/typescript/commonjs/src/components/notification/base/index.d.ts +29 -0
  618. package/lib/typescript/commonjs/src/components/notification/base/index.d.ts.map +1 -0
  619. package/lib/typescript/commonjs/src/components/notification/callout/error/index.d.ts +9 -0
  620. package/lib/typescript/commonjs/src/components/notification/callout/error/index.d.ts.map +1 -0
  621. package/lib/typescript/commonjs/src/components/notification/callout/index.d.ts +5 -0
  622. package/lib/typescript/commonjs/src/components/notification/callout/index.d.ts.map +1 -0
  623. package/lib/typescript/commonjs/src/components/notification/callout/informational/index.d.ts +9 -0
  624. package/lib/typescript/commonjs/src/components/notification/callout/informational/index.d.ts.map +1 -0
  625. package/lib/typescript/commonjs/src/components/notification/callout/success/index.d.ts +9 -0
  626. package/lib/typescript/commonjs/src/components/notification/callout/success/index.d.ts.map +1 -0
  627. package/lib/typescript/commonjs/src/components/notification/callout/warning/index.d.ts +9 -0
  628. package/lib/typescript/commonjs/src/components/notification/callout/warning/index.d.ts.map +1 -0
  629. package/lib/typescript/commonjs/src/components/notification/callout-inline/error/index.d.ts +9 -0
  630. package/lib/typescript/commonjs/src/components/notification/callout-inline/error/index.d.ts.map +1 -0
  631. package/lib/typescript/commonjs/src/components/notification/callout-inline/index.d.ts +5 -0
  632. package/lib/typescript/commonjs/src/components/notification/callout-inline/index.d.ts.map +1 -0
  633. package/lib/typescript/commonjs/src/components/notification/callout-inline/informational/index.d.ts +9 -0
  634. package/lib/typescript/commonjs/src/components/notification/callout-inline/informational/index.d.ts.map +1 -0
  635. package/lib/typescript/commonjs/src/components/notification/callout-inline/success/index.d.ts +9 -0
  636. package/lib/typescript/commonjs/src/components/notification/callout-inline/success/index.d.ts.map +1 -0
  637. package/lib/typescript/commonjs/src/components/notification/callout-inline/warning/index.d.ts +9 -0
  638. package/lib/typescript/commonjs/src/components/notification/callout-inline/warning/index.d.ts.map +1 -0
  639. package/lib/typescript/commonjs/src/components/notification/index.d.ts +10 -0
  640. package/lib/typescript/commonjs/src/components/notification/index.d.ts.map +1 -0
  641. package/lib/typescript/commonjs/src/components/notification/subtitle/index.d.ts +5 -0
  642. package/lib/typescript/commonjs/src/components/notification/subtitle/index.d.ts.map +1 -0
  643. package/lib/typescript/commonjs/src/components/notification/subtitle-link/index.d.ts +5 -0
  644. package/lib/typescript/commonjs/src/components/notification/subtitle-link/index.d.ts.map +1 -0
  645. package/lib/typescript/commonjs/src/components/notification/toast/error/index.d.ts +9 -0
  646. package/lib/typescript/commonjs/src/components/notification/toast/error/index.d.ts.map +1 -0
  647. package/lib/typescript/commonjs/src/components/notification/toast/index.d.ts +5 -0
  648. package/lib/typescript/commonjs/src/components/notification/toast/index.d.ts.map +1 -0
  649. package/lib/typescript/commonjs/src/components/notification/toast/informational/index.d.ts +9 -0
  650. package/lib/typescript/commonjs/src/components/notification/toast/informational/index.d.ts.map +1 -0
  651. package/lib/typescript/commonjs/src/components/notification/toast/success/index.d.ts +9 -0
  652. package/lib/typescript/commonjs/src/components/notification/toast/success/index.d.ts.map +1 -0
  653. package/lib/typescript/commonjs/src/components/notification/toast/warning/index.d.ts +9 -0
  654. package/lib/typescript/commonjs/src/components/notification/toast/warning/index.d.ts.map +1 -0
  655. package/lib/typescript/commonjs/src/components/notification/types.d.ts +2 -0
  656. package/lib/typescript/commonjs/src/components/notification/types.d.ts.map +1 -0
  657. package/lib/typescript/commonjs/src/components/radio-button/index.d.ts +32 -0
  658. package/lib/typescript/commonjs/src/components/radio-button/index.d.ts.map +1 -0
  659. package/lib/typescript/commonjs/src/components/radio-button-group/_item-context.d.ts +8 -0
  660. package/lib/typescript/commonjs/src/components/radio-button-group/_item-context.d.ts.map +1 -0
  661. package/lib/typescript/commonjs/src/components/radio-button-group/_item.d.ts +3 -0
  662. package/lib/typescript/commonjs/src/components/radio-button-group/_item.d.ts.map +1 -0
  663. package/lib/typescript/commonjs/src/components/radio-button-group/_types/index.d.ts +27 -0
  664. package/lib/typescript/commonjs/src/components/radio-button-group/_types/index.d.ts.map +1 -0
  665. package/lib/typescript/commonjs/src/components/radio-button-group/_types/ref-base.d.ts +9 -0
  666. package/lib/typescript/commonjs/src/components/radio-button-group/_types/ref-base.d.ts.map +1 -0
  667. package/lib/typescript/commonjs/src/components/radio-button-group/index.d.ts +6 -0
  668. package/lib/typescript/commonjs/src/components/radio-button-group/index.d.ts.map +1 -0
  669. package/lib/typescript/commonjs/src/components/radio-button-input/index.d.ts +22 -0
  670. package/lib/typescript/commonjs/src/components/radio-button-input/index.d.ts.map +1 -0
  671. package/lib/typescript/commonjs/src/components/switch/index.d.ts +33 -0
  672. package/lib/typescript/commonjs/src/components/switch/index.d.ts.map +1 -0
  673. package/lib/typescript/commonjs/src/components/text/index.d.ts +8 -0
  674. package/lib/typescript/commonjs/src/components/text/index.d.ts.map +1 -0
  675. package/lib/typescript/commonjs/src/components/toggle/base/index.d.ts +33 -0
  676. package/lib/typescript/commonjs/src/components/toggle/base/index.d.ts.map +1 -0
  677. package/lib/typescript/commonjs/src/components/toggle/default/index.d.ts +10 -0
  678. package/lib/typescript/commonjs/src/components/toggle/default/index.d.ts.map +1 -0
  679. package/lib/typescript/commonjs/src/components/toggle/index.d.ts +5 -0
  680. package/lib/typescript/commonjs/src/components/toggle/index.d.ts.map +1 -0
  681. package/lib/typescript/commonjs/src/components/toggle/small/index.d.ts +8 -0
  682. package/lib/typescript/commonjs/src/components/toggle/small/index.d.ts.map +1 -0
  683. package/lib/typescript/commonjs/src/components/toggle/state.d.ts +2 -0
  684. package/lib/typescript/commonjs/src/components/toggle/state.d.ts.map +1 -0
  685. package/lib/typescript/commonjs/src/constants/color/index.d.ts +4 -0
  686. package/lib/typescript/commonjs/src/constants/color/index.d.ts.map +1 -0
  687. package/lib/typescript/commonjs/src/constants/color/tokens/gray-10.d.ts +172 -0
  688. package/lib/typescript/commonjs/src/constants/color/tokens/gray-10.d.ts.map +1 -0
  689. package/lib/typescript/commonjs/src/constants/color/tokens/gray-100.d.ts +172 -0
  690. package/lib/typescript/commonjs/src/constants/color/tokens/gray-100.d.ts.map +1 -0
  691. package/lib/typescript/commonjs/src/constants/color/tokens/index.d.ts +3 -0
  692. package/lib/typescript/commonjs/src/constants/color/tokens/index.d.ts.map +1 -0
  693. package/lib/typescript/commonjs/src/constants/index.d.ts +6 -0
  694. package/lib/typescript/commonjs/src/constants/index.d.ts.map +1 -0
  695. package/lib/typescript/commonjs/src/constants/motion/index.d.ts +63 -0
  696. package/lib/typescript/commonjs/src/constants/motion/index.d.ts.map +1 -0
  697. package/lib/typescript/commonjs/src/constants/spacing.d.ts +17 -0
  698. package/lib/typescript/commonjs/src/constants/spacing.d.ts.map +1 -0
  699. package/lib/typescript/commonjs/src/constants/typography/font-family.d.ts +17 -0
  700. package/lib/typescript/commonjs/src/constants/typography/font-family.d.ts.map +1 -0
  701. package/lib/typescript/commonjs/src/constants/typography/index.d.ts +3 -0
  702. package/lib/typescript/commonjs/src/constants/typography/index.d.ts.map +1 -0
  703. package/lib/typescript/commonjs/src/constants/typography/type-sets.d.ts +3 -0
  704. package/lib/typescript/commonjs/src/constants/typography/type-sets.d.ts.map +1 -0
  705. package/lib/typescript/commonjs/src/contexts/global-config/context.d.ts +10 -0
  706. package/lib/typescript/commonjs/src/contexts/global-config/context.d.ts.map +1 -0
  707. package/lib/typescript/commonjs/src/contexts/global-config/provider.d.ts +6 -0
  708. package/lib/typescript/commonjs/src/contexts/global-config/provider.d.ts.map +1 -0
  709. package/lib/typescript/commonjs/src/contexts/index.d.ts +3 -0
  710. package/lib/typescript/commonjs/src/contexts/index.d.ts.map +1 -0
  711. package/lib/typescript/commonjs/src/contexts/theme/context.d.ts +7 -0
  712. package/lib/typescript/commonjs/src/contexts/theme/context.d.ts.map +1 -0
  713. package/lib/typescript/commonjs/src/contexts/theme/index.d.ts +3 -0
  714. package/lib/typescript/commonjs/src/contexts/theme/index.d.ts.map +1 -0
  715. package/lib/typescript/commonjs/src/contexts/theme/provider.d.ts +11 -0
  716. package/lib/typescript/commonjs/src/contexts/theme/provider.d.ts.map +1 -0
  717. package/lib/typescript/commonjs/src/globals/color-scheme/index.d.ts +5 -0
  718. package/lib/typescript/commonjs/src/globals/color-scheme/index.d.ts.map +1 -0
  719. package/lib/typescript/commonjs/src/globals/index.d.ts +3 -0
  720. package/lib/typescript/commonjs/src/globals/index.d.ts.map +1 -0
  721. package/lib/typescript/commonjs/src/helpers/color/get-color-scheme.d.ts +4 -0
  722. package/lib/typescript/commonjs/src/helpers/color/get-color-scheme.d.ts.map +1 -0
  723. package/lib/typescript/commonjs/src/helpers/color/get-color-token.d.ts +3 -0
  724. package/lib/typescript/commonjs/src/helpers/color/get-color-token.d.ts.map +1 -0
  725. package/lib/typescript/commonjs/src/helpers/color/hex-to-rgba.d.ts +2 -0
  726. package/lib/typescript/commonjs/src/helpers/color/hex-to-rgba.d.ts.map +1 -0
  727. package/lib/typescript/commonjs/src/helpers/color/index.d.ts +4 -0
  728. package/lib/typescript/commonjs/src/helpers/color/index.d.ts.map +1 -0
  729. package/lib/typescript/commonjs/src/helpers/index.d.ts +3 -0
  730. package/lib/typescript/commonjs/src/helpers/index.d.ts.map +1 -0
  731. package/lib/typescript/commonjs/src/index.d.ts +9 -0
  732. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  733. package/lib/typescript/commonjs/src/styles/common.d.ts +18 -0
  734. package/lib/typescript/commonjs/src/styles/common.d.ts.map +1 -0
  735. package/lib/typescript/commonjs/src/styles/flex.d.ts +75 -0
  736. package/lib/typescript/commonjs/src/styles/flex.d.ts.map +1 -0
  737. package/lib/typescript/commonjs/src/styles/index.d.ts +4 -0
  738. package/lib/typescript/commonjs/src/styles/index.d.ts.map +1 -0
  739. package/lib/typescript/commonjs/src/styles/text.d.ts +59 -0
  740. package/lib/typescript/commonjs/src/styles/text.d.ts.map +1 -0
  741. package/lib/typescript/commonjs/src/types/index.d.ts +5 -0
  742. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -0
  743. package/lib/typescript/commonjs/src/types/shared.d.ts +2 -0
  744. package/lib/typescript/commonjs/src/types/shared.d.ts.map +1 -0
  745. package/lib/typescript/commonjs/src/types/theme/color-scheme.d.ts +2 -0
  746. package/lib/typescript/commonjs/src/types/theme/color-scheme.d.ts.map +1 -0
  747. package/lib/typescript/commonjs/src/types/theme/color-token.d.ts +2 -0
  748. package/lib/typescript/commonjs/src/types/theme/color-token.d.ts.map +1 -0
  749. package/lib/typescript/commonjs/src/types/theme/index.d.ts +3 -0
  750. package/lib/typescript/commonjs/src/types/theme/index.d.ts.map +1 -0
  751. package/lib/typescript/commonjs/src/types/typography.d.ts +11 -0
  752. package/lib/typescript/commonjs/src/types/typography.d.ts.map +1 -0
  753. package/lib/typescript/module/package.json +1 -0
  754. package/lib/typescript/module/src/_carbon-react-native/index.d.ts +7 -0
  755. package/lib/typescript/module/src/_carbon-react-native/index.d.ts.map +1 -0
  756. package/lib/typescript/module/src/_style-sheet/create.d.ts +6 -0
  757. package/lib/typescript/module/src/_style-sheet/create.d.ts.map +1 -0
  758. package/lib/typescript/module/src/_style-sheet/index.d.ts +5 -0
  759. package/lib/typescript/module/src/_style-sheet/index.d.ts.map +1 -0
  760. package/lib/typescript/module/src/components/accordion/_context.d.ts +9 -0
  761. package/lib/typescript/module/src/components/accordion/_context.d.ts.map +1 -0
  762. package/lib/typescript/module/src/components/accordion/_header-border.d.ts +10 -0
  763. package/lib/typescript/module/src/components/accordion/_header-border.d.ts.map +1 -0
  764. package/lib/typescript/module/src/components/accordion/_header.d.ts +13 -0
  765. package/lib/typescript/module/src/components/accordion/_header.d.ts.map +1 -0
  766. package/lib/typescript/module/src/components/accordion/_item.d.ts +23 -0
  767. package/lib/typescript/module/src/components/accordion/_item.d.ts.map +1 -0
  768. package/lib/typescript/module/src/components/accordion/_motion.d.ts +3 -0
  769. package/lib/typescript/module/src/components/accordion/_motion.d.ts.map +1 -0
  770. package/lib/typescript/module/src/components/accordion/_styles.d.ts +16 -0
  771. package/lib/typescript/module/src/components/accordion/_styles.d.ts.map +1 -0
  772. package/lib/typescript/module/src/components/accordion/index.d.ts +16 -0
  773. package/lib/typescript/module/src/components/accordion/index.d.ts.map +1 -0
  774. package/lib/typescript/module/src/components/accordion/types.d.ts +2 -0
  775. package/lib/typescript/module/src/components/accordion/types.d.ts.map +1 -0
  776. package/lib/typescript/module/src/components/button/base/index.d.ts +37 -0
  777. package/lib/typescript/module/src/components/button/base/index.d.ts.map +1 -0
  778. package/lib/typescript/module/src/components/button/base-color/index.d.ts +21 -0
  779. package/lib/typescript/module/src/components/button/base-color/index.d.ts.map +1 -0
  780. package/lib/typescript/module/src/components/button/ghost/index.d.ts +5 -0
  781. package/lib/typescript/module/src/components/button/ghost/index.d.ts.map +1 -0
  782. package/lib/typescript/module/src/components/button/ghost-danger/index.d.ts +5 -0
  783. package/lib/typescript/module/src/components/button/ghost-danger/index.d.ts.map +1 -0
  784. package/lib/typescript/module/src/components/button/ghost-icon/index.d.ts +8 -0
  785. package/lib/typescript/module/src/components/button/ghost-icon/index.d.ts.map +1 -0
  786. package/lib/typescript/module/src/components/button/index.d.ts +12 -0
  787. package/lib/typescript/module/src/components/button/index.d.ts.map +1 -0
  788. package/lib/typescript/module/src/components/button/primary/index.d.ts +5 -0
  789. package/lib/typescript/module/src/components/button/primary/index.d.ts.map +1 -0
  790. package/lib/typescript/module/src/components/button/primary-danger/index.d.ts +5 -0
  791. package/lib/typescript/module/src/components/button/primary-danger/index.d.ts.map +1 -0
  792. package/lib/typescript/module/src/components/button/secondary/index.d.ts +5 -0
  793. package/lib/typescript/module/src/components/button/secondary/index.d.ts.map +1 -0
  794. package/lib/typescript/module/src/components/button/size.d.ts +2 -0
  795. package/lib/typescript/module/src/components/button/size.d.ts.map +1 -0
  796. package/lib/typescript/module/src/components/button/tertiary/index.d.ts +5 -0
  797. package/lib/typescript/module/src/components/button/tertiary/index.d.ts.map +1 -0
  798. package/lib/typescript/module/src/components/button/tertiary-danger/index.d.ts +5 -0
  799. package/lib/typescript/module/src/components/button/tertiary-danger/index.d.ts.map +1 -0
  800. package/lib/typescript/module/src/components/checkbox/index.d.ts +32 -0
  801. package/lib/typescript/module/src/components/checkbox/index.d.ts.map +1 -0
  802. package/lib/typescript/module/src/components/checkbox-group/index.d.ts +21 -0
  803. package/lib/typescript/module/src/components/checkbox-group/index.d.ts.map +1 -0
  804. package/lib/typescript/module/src/components/checkbox-input/index.d.ts +25 -0
  805. package/lib/typescript/module/src/components/checkbox-input/index.d.ts.map +1 -0
  806. package/lib/typescript/module/src/components/collapsible/index.d.ts +26 -0
  807. package/lib/typescript/module/src/components/collapsible/index.d.ts.map +1 -0
  808. package/lib/typescript/module/src/components/form-helper-text/index.d.ts +11 -0
  809. package/lib/typescript/module/src/components/form-helper-text/index.d.ts.map +1 -0
  810. package/lib/typescript/module/src/components/form-label/index.d.ts +10 -0
  811. package/lib/typescript/module/src/components/form-label/index.d.ts.map +1 -0
  812. package/lib/typescript/module/src/components/icon/index.d.ts +13 -0
  813. package/lib/typescript/module/src/components/icon/index.d.ts.map +1 -0
  814. package/lib/typescript/module/src/components/index.d.ts +18 -0
  815. package/lib/typescript/module/src/components/index.d.ts.map +1 -0
  816. package/lib/typescript/module/src/components/notification/_status-hooks/_base.d.ts +28 -0
  817. package/lib/typescript/module/src/components/notification/_status-hooks/_base.d.ts.map +1 -0
  818. package/lib/typescript/module/src/components/notification/_status-hooks/error/index.d.ts +11 -0
  819. package/lib/typescript/module/src/components/notification/_status-hooks/error/index.d.ts.map +1 -0
  820. package/lib/typescript/module/src/components/notification/_status-hooks/index.d.ts +5 -0
  821. package/lib/typescript/module/src/components/notification/_status-hooks/index.d.ts.map +1 -0
  822. package/lib/typescript/module/src/components/notification/_status-hooks/informational/index.d.ts +11 -0
  823. package/lib/typescript/module/src/components/notification/_status-hooks/informational/index.d.ts.map +1 -0
  824. package/lib/typescript/module/src/components/notification/_status-hooks/success/index.d.ts +11 -0
  825. package/lib/typescript/module/src/components/notification/_status-hooks/success/index.d.ts.map +1 -0
  826. package/lib/typescript/module/src/components/notification/_status-hooks/warning/index.d.ts +11 -0
  827. package/lib/typescript/module/src/components/notification/_status-hooks/warning/index.d.ts.map +1 -0
  828. package/lib/typescript/module/src/components/notification/_variant-context.d.ts +10 -0
  829. package/lib/typescript/module/src/components/notification/_variant-context.d.ts.map +1 -0
  830. package/lib/typescript/module/src/components/notification/_variants/_button-ghost.d.ts +7 -0
  831. package/lib/typescript/module/src/components/notification/_variants/_button-ghost.d.ts.map +1 -0
  832. package/lib/typescript/module/src/components/notification/_variants/_button-tertiary.d.ts +7 -0
  833. package/lib/typescript/module/src/components/notification/_variants/_button-tertiary.d.ts.map +1 -0
  834. package/lib/typescript/module/src/components/notification/_variants/actionable/index.d.ts +30 -0
  835. package/lib/typescript/module/src/components/notification/_variants/actionable/index.d.ts.map +1 -0
  836. package/lib/typescript/module/src/components/notification/_variants/actionable-inline/index.d.ts +30 -0
  837. package/lib/typescript/module/src/components/notification/_variants/actionable-inline/index.d.ts.map +1 -0
  838. package/lib/typescript/module/src/components/notification/_variants/callout/index.d.ts +13 -0
  839. package/lib/typescript/module/src/components/notification/_variants/callout/index.d.ts.map +1 -0
  840. package/lib/typescript/module/src/components/notification/_variants/callout-inline/index.d.ts +13 -0
  841. package/lib/typescript/module/src/components/notification/_variants/callout-inline/index.d.ts.map +1 -0
  842. package/lib/typescript/module/src/components/notification/_variants/index.d.ts +6 -0
  843. package/lib/typescript/module/src/components/notification/_variants/index.d.ts.map +1 -0
  844. package/lib/typescript/module/src/components/notification/_variants/toast/index.d.ts +17 -0
  845. package/lib/typescript/module/src/components/notification/_variants/toast/index.d.ts.map +1 -0
  846. package/lib/typescript/module/src/components/notification/actionable/error/index.d.ts +9 -0
  847. package/lib/typescript/module/src/components/notification/actionable/error/index.d.ts.map +1 -0
  848. package/lib/typescript/module/src/components/notification/actionable/index.d.ts +5 -0
  849. package/lib/typescript/module/src/components/notification/actionable/index.d.ts.map +1 -0
  850. package/lib/typescript/module/src/components/notification/actionable/informational/index.d.ts +9 -0
  851. package/lib/typescript/module/src/components/notification/actionable/informational/index.d.ts.map +1 -0
  852. package/lib/typescript/module/src/components/notification/actionable/success/index.d.ts +9 -0
  853. package/lib/typescript/module/src/components/notification/actionable/success/index.d.ts.map +1 -0
  854. package/lib/typescript/module/src/components/notification/actionable/warning/index.d.ts +9 -0
  855. package/lib/typescript/module/src/components/notification/actionable/warning/index.d.ts.map +1 -0
  856. package/lib/typescript/module/src/components/notification/actionable-inline/error/index.d.ts +9 -0
  857. package/lib/typescript/module/src/components/notification/actionable-inline/error/index.d.ts.map +1 -0
  858. package/lib/typescript/module/src/components/notification/actionable-inline/index.d.ts +5 -0
  859. package/lib/typescript/module/src/components/notification/actionable-inline/index.d.ts.map +1 -0
  860. package/lib/typescript/module/src/components/notification/actionable-inline/informational/index.d.ts +9 -0
  861. package/lib/typescript/module/src/components/notification/actionable-inline/informational/index.d.ts.map +1 -0
  862. package/lib/typescript/module/src/components/notification/actionable-inline/success/index.d.ts +9 -0
  863. package/lib/typescript/module/src/components/notification/actionable-inline/success/index.d.ts.map +1 -0
  864. package/lib/typescript/module/src/components/notification/actionable-inline/warning/index.d.ts +9 -0
  865. package/lib/typescript/module/src/components/notification/actionable-inline/warning/index.d.ts.map +1 -0
  866. package/lib/typescript/module/src/components/notification/base/index.d.ts +29 -0
  867. package/lib/typescript/module/src/components/notification/base/index.d.ts.map +1 -0
  868. package/lib/typescript/module/src/components/notification/callout/error/index.d.ts +9 -0
  869. package/lib/typescript/module/src/components/notification/callout/error/index.d.ts.map +1 -0
  870. package/lib/typescript/module/src/components/notification/callout/index.d.ts +5 -0
  871. package/lib/typescript/module/src/components/notification/callout/index.d.ts.map +1 -0
  872. package/lib/typescript/module/src/components/notification/callout/informational/index.d.ts +9 -0
  873. package/lib/typescript/module/src/components/notification/callout/informational/index.d.ts.map +1 -0
  874. package/lib/typescript/module/src/components/notification/callout/success/index.d.ts +9 -0
  875. package/lib/typescript/module/src/components/notification/callout/success/index.d.ts.map +1 -0
  876. package/lib/typescript/module/src/components/notification/callout/warning/index.d.ts +9 -0
  877. package/lib/typescript/module/src/components/notification/callout/warning/index.d.ts.map +1 -0
  878. package/lib/typescript/module/src/components/notification/callout-inline/error/index.d.ts +9 -0
  879. package/lib/typescript/module/src/components/notification/callout-inline/error/index.d.ts.map +1 -0
  880. package/lib/typescript/module/src/components/notification/callout-inline/index.d.ts +5 -0
  881. package/lib/typescript/module/src/components/notification/callout-inline/index.d.ts.map +1 -0
  882. package/lib/typescript/module/src/components/notification/callout-inline/informational/index.d.ts +9 -0
  883. package/lib/typescript/module/src/components/notification/callout-inline/informational/index.d.ts.map +1 -0
  884. package/lib/typescript/module/src/components/notification/callout-inline/success/index.d.ts +9 -0
  885. package/lib/typescript/module/src/components/notification/callout-inline/success/index.d.ts.map +1 -0
  886. package/lib/typescript/module/src/components/notification/callout-inline/warning/index.d.ts +9 -0
  887. package/lib/typescript/module/src/components/notification/callout-inline/warning/index.d.ts.map +1 -0
  888. package/lib/typescript/module/src/components/notification/index.d.ts +10 -0
  889. package/lib/typescript/module/src/components/notification/index.d.ts.map +1 -0
  890. package/lib/typescript/module/src/components/notification/subtitle/index.d.ts +5 -0
  891. package/lib/typescript/module/src/components/notification/subtitle/index.d.ts.map +1 -0
  892. package/lib/typescript/module/src/components/notification/subtitle-link/index.d.ts +5 -0
  893. package/lib/typescript/module/src/components/notification/subtitle-link/index.d.ts.map +1 -0
  894. package/lib/typescript/module/src/components/notification/toast/error/index.d.ts +9 -0
  895. package/lib/typescript/module/src/components/notification/toast/error/index.d.ts.map +1 -0
  896. package/lib/typescript/module/src/components/notification/toast/index.d.ts +5 -0
  897. package/lib/typescript/module/src/components/notification/toast/index.d.ts.map +1 -0
  898. package/lib/typescript/module/src/components/notification/toast/informational/index.d.ts +9 -0
  899. package/lib/typescript/module/src/components/notification/toast/informational/index.d.ts.map +1 -0
  900. package/lib/typescript/module/src/components/notification/toast/success/index.d.ts +9 -0
  901. package/lib/typescript/module/src/components/notification/toast/success/index.d.ts.map +1 -0
  902. package/lib/typescript/module/src/components/notification/toast/warning/index.d.ts +9 -0
  903. package/lib/typescript/module/src/components/notification/toast/warning/index.d.ts.map +1 -0
  904. package/lib/typescript/module/src/components/notification/types.d.ts +2 -0
  905. package/lib/typescript/module/src/components/notification/types.d.ts.map +1 -0
  906. package/lib/typescript/module/src/components/radio-button/index.d.ts +32 -0
  907. package/lib/typescript/module/src/components/radio-button/index.d.ts.map +1 -0
  908. package/lib/typescript/module/src/components/radio-button-group/_item-context.d.ts +8 -0
  909. package/lib/typescript/module/src/components/radio-button-group/_item-context.d.ts.map +1 -0
  910. package/lib/typescript/module/src/components/radio-button-group/_item.d.ts +3 -0
  911. package/lib/typescript/module/src/components/radio-button-group/_item.d.ts.map +1 -0
  912. package/lib/typescript/module/src/components/radio-button-group/_types/index.d.ts +27 -0
  913. package/lib/typescript/module/src/components/radio-button-group/_types/index.d.ts.map +1 -0
  914. package/lib/typescript/module/src/components/radio-button-group/_types/ref-base.d.ts +9 -0
  915. package/lib/typescript/module/src/components/radio-button-group/_types/ref-base.d.ts.map +1 -0
  916. package/lib/typescript/module/src/components/radio-button-group/index.d.ts +6 -0
  917. package/lib/typescript/module/src/components/radio-button-group/index.d.ts.map +1 -0
  918. package/lib/typescript/module/src/components/radio-button-input/index.d.ts +22 -0
  919. package/lib/typescript/module/src/components/radio-button-input/index.d.ts.map +1 -0
  920. package/lib/typescript/module/src/components/switch/index.d.ts +33 -0
  921. package/lib/typescript/module/src/components/switch/index.d.ts.map +1 -0
  922. package/lib/typescript/module/src/components/text/index.d.ts +8 -0
  923. package/lib/typescript/module/src/components/text/index.d.ts.map +1 -0
  924. package/lib/typescript/module/src/components/toggle/base/index.d.ts +33 -0
  925. package/lib/typescript/module/src/components/toggle/base/index.d.ts.map +1 -0
  926. package/lib/typescript/module/src/components/toggle/default/index.d.ts +10 -0
  927. package/lib/typescript/module/src/components/toggle/default/index.d.ts.map +1 -0
  928. package/lib/typescript/module/src/components/toggle/index.d.ts +5 -0
  929. package/lib/typescript/module/src/components/toggle/index.d.ts.map +1 -0
  930. package/lib/typescript/module/src/components/toggle/small/index.d.ts +8 -0
  931. package/lib/typescript/module/src/components/toggle/small/index.d.ts.map +1 -0
  932. package/lib/typescript/module/src/components/toggle/state.d.ts +2 -0
  933. package/lib/typescript/module/src/components/toggle/state.d.ts.map +1 -0
  934. package/lib/typescript/module/src/constants/color/index.d.ts +4 -0
  935. package/lib/typescript/module/src/constants/color/index.d.ts.map +1 -0
  936. package/lib/typescript/module/src/constants/color/tokens/gray-10.d.ts +172 -0
  937. package/lib/typescript/module/src/constants/color/tokens/gray-10.d.ts.map +1 -0
  938. package/lib/typescript/module/src/constants/color/tokens/gray-100.d.ts +172 -0
  939. package/lib/typescript/module/src/constants/color/tokens/gray-100.d.ts.map +1 -0
  940. package/lib/typescript/module/src/constants/color/tokens/index.d.ts +3 -0
  941. package/lib/typescript/module/src/constants/color/tokens/index.d.ts.map +1 -0
  942. package/lib/typescript/module/src/constants/index.d.ts +6 -0
  943. package/lib/typescript/module/src/constants/index.d.ts.map +1 -0
  944. package/lib/typescript/module/src/constants/motion/index.d.ts +63 -0
  945. package/lib/typescript/module/src/constants/motion/index.d.ts.map +1 -0
  946. package/lib/typescript/module/src/constants/spacing.d.ts +17 -0
  947. package/lib/typescript/module/src/constants/spacing.d.ts.map +1 -0
  948. package/lib/typescript/module/src/constants/typography/font-family.d.ts +17 -0
  949. package/lib/typescript/module/src/constants/typography/font-family.d.ts.map +1 -0
  950. package/lib/typescript/module/src/constants/typography/index.d.ts +3 -0
  951. package/lib/typescript/module/src/constants/typography/index.d.ts.map +1 -0
  952. package/lib/typescript/module/src/constants/typography/type-sets.d.ts +3 -0
  953. package/lib/typescript/module/src/constants/typography/type-sets.d.ts.map +1 -0
  954. package/lib/typescript/module/src/contexts/global-config/context.d.ts +10 -0
  955. package/lib/typescript/module/src/contexts/global-config/context.d.ts.map +1 -0
  956. package/lib/typescript/module/src/contexts/global-config/provider.d.ts +6 -0
  957. package/lib/typescript/module/src/contexts/global-config/provider.d.ts.map +1 -0
  958. package/lib/typescript/module/src/contexts/index.d.ts +3 -0
  959. package/lib/typescript/module/src/contexts/index.d.ts.map +1 -0
  960. package/lib/typescript/module/src/contexts/theme/context.d.ts +7 -0
  961. package/lib/typescript/module/src/contexts/theme/context.d.ts.map +1 -0
  962. package/lib/typescript/module/src/contexts/theme/index.d.ts +3 -0
  963. package/lib/typescript/module/src/contexts/theme/index.d.ts.map +1 -0
  964. package/lib/typescript/module/src/contexts/theme/provider.d.ts +11 -0
  965. package/lib/typescript/module/src/contexts/theme/provider.d.ts.map +1 -0
  966. package/lib/typescript/module/src/globals/color-scheme/index.d.ts +5 -0
  967. package/lib/typescript/module/src/globals/color-scheme/index.d.ts.map +1 -0
  968. package/lib/typescript/module/src/globals/index.d.ts +3 -0
  969. package/lib/typescript/module/src/globals/index.d.ts.map +1 -0
  970. package/lib/typescript/module/src/helpers/color/get-color-scheme.d.ts +4 -0
  971. package/lib/typescript/module/src/helpers/color/get-color-scheme.d.ts.map +1 -0
  972. package/lib/typescript/module/src/helpers/color/get-color-token.d.ts +3 -0
  973. package/lib/typescript/module/src/helpers/color/get-color-token.d.ts.map +1 -0
  974. package/lib/typescript/module/src/helpers/color/hex-to-rgba.d.ts +2 -0
  975. package/lib/typescript/module/src/helpers/color/hex-to-rgba.d.ts.map +1 -0
  976. package/lib/typescript/module/src/helpers/color/index.d.ts +4 -0
  977. package/lib/typescript/module/src/helpers/color/index.d.ts.map +1 -0
  978. package/lib/typescript/module/src/helpers/index.d.ts +3 -0
  979. package/lib/typescript/module/src/helpers/index.d.ts.map +1 -0
  980. package/lib/typescript/module/src/index.d.ts +9 -0
  981. package/lib/typescript/module/src/index.d.ts.map +1 -0
  982. package/lib/typescript/module/src/styles/common.d.ts +18 -0
  983. package/lib/typescript/module/src/styles/common.d.ts.map +1 -0
  984. package/lib/typescript/module/src/styles/flex.d.ts +75 -0
  985. package/lib/typescript/module/src/styles/flex.d.ts.map +1 -0
  986. package/lib/typescript/module/src/styles/index.d.ts +4 -0
  987. package/lib/typescript/module/src/styles/index.d.ts.map +1 -0
  988. package/lib/typescript/module/src/styles/text.d.ts +59 -0
  989. package/lib/typescript/module/src/styles/text.d.ts.map +1 -0
  990. package/lib/typescript/module/src/types/index.d.ts +5 -0
  991. package/lib/typescript/module/src/types/index.d.ts.map +1 -0
  992. package/lib/typescript/module/src/types/shared.d.ts +2 -0
  993. package/lib/typescript/module/src/types/shared.d.ts.map +1 -0
  994. package/lib/typescript/module/src/types/theme/color-scheme.d.ts +2 -0
  995. package/lib/typescript/module/src/types/theme/color-scheme.d.ts.map +1 -0
  996. package/lib/typescript/module/src/types/theme/color-token.d.ts +2 -0
  997. package/lib/typescript/module/src/types/theme/color-token.d.ts.map +1 -0
  998. package/lib/typescript/module/src/types/theme/index.d.ts +3 -0
  999. package/lib/typescript/module/src/types/theme/index.d.ts.map +1 -0
  1000. package/lib/typescript/module/src/types/typography.d.ts +11 -0
  1001. package/lib/typescript/module/src/types/typography.d.ts.map +1 -0
  1002. package/package.json +73 -0
  1003. package/src/_carbon-react-native/index.tsx +37 -0
  1004. package/src/_style-sheet/create.ts +145 -0
  1005. package/src/_style-sheet/index.ts +9 -0
  1006. package/src/components/accordion/_context.tsx +19 -0
  1007. package/src/components/accordion/_header-border.tsx +68 -0
  1008. package/src/components/accordion/_header.tsx +269 -0
  1009. package/src/components/accordion/_item.tsx +186 -0
  1010. package/src/components/accordion/_motion.ts +27 -0
  1011. package/src/components/accordion/_styles.ts +24 -0
  1012. package/src/components/accordion/index.tsx +152 -0
  1013. package/src/components/accordion/types.ts +4 -0
  1014. package/src/components/button/base/index.tsx +270 -0
  1015. package/src/components/button/base-color/index.tsx +277 -0
  1016. package/src/components/button/ghost/index.tsx +132 -0
  1017. package/src/components/button/ghost-danger/index.tsx +132 -0
  1018. package/src/components/button/ghost-icon/index.tsx +125 -0
  1019. package/src/components/button/index.tsx +11 -0
  1020. package/src/components/button/primary/index.tsx +108 -0
  1021. package/src/components/button/primary-danger/index.tsx +108 -0
  1022. package/src/components/button/secondary/index.tsx +108 -0
  1023. package/src/components/button/size.ts +7 -0
  1024. package/src/components/button/tertiary/index.tsx +125 -0
  1025. package/src/components/button/tertiary-danger/index.tsx +125 -0
  1026. package/src/components/checkbox/index.tsx +239 -0
  1027. package/src/components/checkbox-group/index.tsx +197 -0
  1028. package/src/components/checkbox-input/index.tsx +368 -0
  1029. package/src/components/collapsible/index.tsx +289 -0
  1030. package/src/components/form-helper-text/index.tsx +84 -0
  1031. package/src/components/form-label/index.tsx +66 -0
  1032. package/src/components/icon/index.tsx +53 -0
  1033. package/src/components/index.tsx +23 -0
  1034. package/src/components/notification/_status-hooks/_base.tsx +97 -0
  1035. package/src/components/notification/_status-hooks/error/index.tsx +61 -0
  1036. package/src/components/notification/_status-hooks/index.tsx +4 -0
  1037. package/src/components/notification/_status-hooks/informational/index.tsx +61 -0
  1038. package/src/components/notification/_status-hooks/success/index.tsx +61 -0
  1039. package/src/components/notification/_status-hooks/warning/index.tsx +61 -0
  1040. package/src/components/notification/_variant-context.tsx +35 -0
  1041. package/src/components/notification/_variants/_button-ghost.tsx +65 -0
  1042. package/src/components/notification/_variants/_button-tertiary.tsx +65 -0
  1043. package/src/components/notification/_variants/actionable/index.tsx +105 -0
  1044. package/src/components/notification/_variants/actionable-inline/index.tsx +105 -0
  1045. package/src/components/notification/_variants/callout/index.tsx +76 -0
  1046. package/src/components/notification/_variants/callout-inline/index.tsx +76 -0
  1047. package/src/components/notification/_variants/index.tsx +5 -0
  1048. package/src/components/notification/_variants/toast/index.tsx +135 -0
  1049. package/src/components/notification/actionable/error/index.tsx +86 -0
  1050. package/src/components/notification/actionable/index.tsx +4 -0
  1051. package/src/components/notification/actionable/informational/index.tsx +86 -0
  1052. package/src/components/notification/actionable/success/index.tsx +86 -0
  1053. package/src/components/notification/actionable/warning/index.tsx +86 -0
  1054. package/src/components/notification/actionable-inline/error/index.tsx +85 -0
  1055. package/src/components/notification/actionable-inline/index.tsx +4 -0
  1056. package/src/components/notification/actionable-inline/informational/index.tsx +85 -0
  1057. package/src/components/notification/actionable-inline/success/index.tsx +85 -0
  1058. package/src/components/notification/actionable-inline/warning/index.tsx +85 -0
  1059. package/src/components/notification/base/index.tsx +319 -0
  1060. package/src/components/notification/callout/error/index.tsx +86 -0
  1061. package/src/components/notification/callout/index.tsx +4 -0
  1062. package/src/components/notification/callout/informational/index.tsx +86 -0
  1063. package/src/components/notification/callout/success/index.tsx +86 -0
  1064. package/src/components/notification/callout/warning/index.tsx +86 -0
  1065. package/src/components/notification/callout-inline/error/index.tsx +85 -0
  1066. package/src/components/notification/callout-inline/index.tsx +4 -0
  1067. package/src/components/notification/callout-inline/informational/index.tsx +85 -0
  1068. package/src/components/notification/callout-inline/success/index.tsx +85 -0
  1069. package/src/components/notification/callout-inline/warning/index.tsx +85 -0
  1070. package/src/components/notification/index.tsx +17 -0
  1071. package/src/components/notification/subtitle/index.tsx +58 -0
  1072. package/src/components/notification/subtitle-link/index.tsx +57 -0
  1073. package/src/components/notification/toast/error/index.tsx +86 -0
  1074. package/src/components/notification/toast/index.tsx +4 -0
  1075. package/src/components/notification/toast/informational/index.tsx +86 -0
  1076. package/src/components/notification/toast/success/index.tsx +86 -0
  1077. package/src/components/notification/toast/warning/index.tsx +86 -0
  1078. package/src/components/notification/types.ts +3 -0
  1079. package/src/components/radio-button/index.tsx +238 -0
  1080. package/src/components/radio-button-group/_item-context.tsx +15 -0
  1081. package/src/components/radio-button-group/_item.tsx +91 -0
  1082. package/src/components/radio-button-group/_types/index.ts +55 -0
  1083. package/src/components/radio-button-group/_types/ref-base.ts +11 -0
  1084. package/src/components/radio-button-group/index.tsx +251 -0
  1085. package/src/components/radio-button-input/index.tsx +366 -0
  1086. package/src/components/switch/index.tsx +448 -0
  1087. package/src/components/text/index.tsx +135 -0
  1088. package/src/components/toggle/base/index.tsx +254 -0
  1089. package/src/components/toggle/default/index.tsx +41 -0
  1090. package/src/components/toggle/index.tsx +4 -0
  1091. package/src/components/toggle/small/index.tsx +39 -0
  1092. package/src/components/toggle/state.ts +4 -0
  1093. package/src/constants/color/code.json +273 -0
  1094. package/src/constants/color/index.ts +7 -0
  1095. package/src/constants/color/tokens/gray-10.ts +197 -0
  1096. package/src/constants/color/tokens/gray-100.ts +197 -0
  1097. package/src/constants/color/tokens/index.ts +2 -0
  1098. package/src/constants/index.ts +11 -0
  1099. package/src/constants/motion/index.ts +34 -0
  1100. package/src/constants/spacing.ts +17 -0
  1101. package/src/constants/typography/font-family.ts +16 -0
  1102. package/src/constants/typography/index.ts +2 -0
  1103. package/src/constants/typography/type-sets.ts +151 -0
  1104. package/src/contexts/global-config/context.ts +20 -0
  1105. package/src/contexts/global-config/provider.tsx +26 -0
  1106. package/src/contexts/index.tsx +2 -0
  1107. package/src/contexts/theme/context.ts +26 -0
  1108. package/src/contexts/theme/index.tsx +5 -0
  1109. package/src/contexts/theme/provider.tsx +55 -0
  1110. package/src/globals/color-scheme/index.ts +13 -0
  1111. package/src/globals/index.ts +5 -0
  1112. package/src/helpers/color/get-color-scheme.ts +19 -0
  1113. package/src/helpers/color/get-color-token.ts +14 -0
  1114. package/src/helpers/color/hex-to-rgba.ts +11 -0
  1115. package/src/helpers/color/index.ts +3 -0
  1116. package/src/helpers/index.ts +5 -0
  1117. package/src/index.tsx +9 -0
  1118. package/src/styles/common.ts +21 -0
  1119. package/src/styles/flex.ts +78 -0
  1120. package/src/styles/index.ts +3 -0
  1121. package/src/styles/text.ts +66 -0
  1122. package/src/types/@carbon/icons/index.d.ts +1 -0
  1123. package/src/types/index.ts +9 -0
  1124. package/src/types/shared.ts +1 -0
  1125. package/src/types/theme/color-scheme.ts +1 -0
  1126. package/src/types/theme/color-token.ts +170 -0
  1127. package/src/types/theme/index.ts +2 -0
  1128. package/src/types/typography.ts +36 -0
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FormLabel = FormLabel;
7
+ var _reactNative = require("react-native");
8
+ var _index = require("../../styles/index.js");
9
+ var _index2 = require("../text/index.js");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function FormLabel({
12
+ label,
13
+ labelLeading,
14
+ labelTrailing,
15
+ textProps,
16
+ style,
17
+ ...props
18
+ }) {
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
20
+ ...props,
21
+ style: [_index.FlexStyle.flex_row, baseStyle.gap, style],
22
+ children: [labelLeading, /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
23
+ ...textProps,
24
+ type: textProps?.type || 'label_01',
25
+ "aria-label": label,
26
+ children: label
27
+ }), labelTrailing]
28
+ });
29
+ }
30
+ const baseStyle = _reactNative.StyleSheet.create({
31
+ gap: {
32
+ columnGap: 8
33
+ }
34
+ });
35
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_index","_index2","_jsxRuntime","FormLabel","label","labelLeading","labelTrailing","textProps","style","props","jsxs","View","FlexStyle","flex_row","baseStyle","gap","children","jsx","Text","type","StyleSheet","create","columnGap"],"sourceRoot":"../../../../src","sources":["components/form-label/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAMA,IAAAC,MAAA,GAAAD,OAAA;AAIA,IAAAE,OAAA,GAAAF,OAAA;AAGgB,IAAAG,WAAA,GAAAH,OAAA;AAYT,SAASI,SAASA,CAAC;EACzBC,KAAK;EACLC,YAAY;EACZC,aAAa;EACbC,SAAS;EACTC,KAAK;EACL,GAAGC;AACY,CAAC,EAAE;EAElB,oBACC,IAAAP,WAAA,CAAAQ,IAAA,EAACZ,YAAA,CAAAa,IAAI;IAAA,GACCF,KAAK;IACVD,KAAK,EAAG,CACPI,gBAAS,CAACC,QAAQ,EAClBC,SAAS,CAACC,GAAG,EACbP,KAAK,CACH;IAAAQ,QAAA,GAEDX,YAAY,eAEd,IAAAH,WAAA,CAAAe,GAAA,EAAChB,OAAA,CAAAiB,IAAI;MAAA,GACCX,SAAS;MACdY,IAAI,EAAGZ,SAAS,EAAEY,IAAI,IAAI,UAAY;MACtC,cAAaf,KAAO;MAAAY,QAAA,EAElBZ;IAAK,CACF,CAAC,EAELE,aAAa;EAAA,CACV,CAAC;AAGT;AAEA,MACCQ,SAAS,GACRM,uBAAU,CAACC,MAAM,CAAC;EACjBN,GAAG,EAAE;IACJO,SAAS,EAAE;EACZ;AACD,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Icon = void 0;
7
+ var _react = require("react");
8
+ var IconHelper = _interopRequireWildcard(require("@carbon/icon-helpers"));
9
+ var _reactNativeSvg = require("react-native-svg");
10
+ var _jsxRuntime = require("react/jsx-runtime");
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+ /**
14
+ * Icon component is intentionally written in the form of React Class Component to support `Animated.createAnimatedComponent` API from React Native Reanimated
15
+ */
16
+ class Icon extends _react.Component {
17
+ render() {
18
+ try {
19
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.SvgXml, {
20
+ ...this.props,
21
+ xml: IconHelper.toString(this.props.src),
22
+ width: this.props.width || '100%',
23
+ height: this.props.height || '100%'
24
+ });
25
+ } catch {
26
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeSvg.SvgXml, {
27
+ ...this.props,
28
+ xml: backupIcon,
29
+ width: this.props.width || '100%',
30
+ height: this.props.height || '100%'
31
+ });
32
+ }
33
+ }
34
+ }
35
+
36
+ /**
37
+ * Copied from
38
+ * https://github.com/carbon-design-system/carbon-react-native/blob/main/src/helpers/index.tsx
39
+ */
40
+ exports.Icon = Icon;
41
+ const backupIcon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13.17 13.69"><line x1="0.71" y1="0.97" x2="12.46" y2="12.72" fill="currentColor" stroke="currentColor" stroke-miterlimit="10" stroke-width="2"/><line x1="1.02" y1="13.02" x2="12.15" y2="0.67" fill="currentColor" stroke="currentColor" stroke-miterlimit="10" stroke-width="2"/></svg>';
42
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","IconHelper","_interopRequireWildcard","_reactNativeSvg","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Icon","Component","render","jsx","SvgXml","props","xml","toString","src","width","height","backupIcon","exports"],"sourceRoot":"../../../../src","sources":["components/icon/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,UAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,eAAA,GAAAH,OAAA;AAGyB,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAK,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAG,CAAA,KAAAA,CAAA,CAAAV,GAAA,IAAAU,CAAA,CAAAC,GAAA,IAAAP,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAG,CAAA,IAAAT,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAe,GAAA,CAAAlB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAUzB;AACA;AACA;AACO,MAAMW,IAAI,SAASC,gBAAS,CAAY;EAE9CC,MAAMA,CAAA,EAAG;IACR,IAAI;MACH,oBACC,IAAAvB,WAAA,CAAAwB,GAAA,EAACzB,eAAA,CAAA0B,MAAM;QAAA,GACD,IAAI,CAACC,KAAK;QACfC,GAAG,EAAG9B,UAAU,CAAC+B,QAAQ,CAAC,IAAI,CAACF,KAAK,CAACG,GAAY,CAAG;QACpDC,KAAK,EAAG,IAAI,CAACJ,KAAK,CAACI,KAAK,IAAI,MAAQ;QACpCC,MAAM,EAAG,IAAI,CAACL,KAAK,CAACK,MAAM,IAAI;MAAQ,CACtC,CAAC;IAEJ,CAAC,CAAC,MAAK;MACN,oBACC,IAAA/B,WAAA,CAAAwB,GAAA,EAACzB,eAAA,CAAA0B,MAAM;QAAA,GACD,IAAI,CAACC,KAAK;QACfC,GAAG,EAAGK,UAAY;QAClBF,KAAK,EAAG,IAAI,CAACJ,KAAK,CAACI,KAAK,IAAI,MAAQ;QACpCC,MAAM,EAAG,IAAI,CAACL,KAAK,CAACK,MAAM,IAAI;MAAQ,CACtC,CAAC;IAEJ;EACD;AAED;;AAEA;AACA;AACA;AACA;AAHAE,OAAA,CAAAZ,IAAA,GAAAA,IAAA;AAIA,MAAMW,UAAU,GAAG,gVAAgV","ignoreList":[]}
@@ -0,0 +1,176 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ Button: true,
8
+ Notification: true,
9
+ Toggle: true
10
+ };
11
+ exports.Toggle = exports.Notification = exports.Button = void 0;
12
+ var Button = _interopRequireWildcard(require("./button/index.js"));
13
+ exports.Button = Button;
14
+ var Notification = _interopRequireWildcard(require("./notification/index.js"));
15
+ exports.Notification = Notification;
16
+ var Toggle = _interopRequireWildcard(require("./toggle/index.js"));
17
+ exports.Toggle = Toggle;
18
+ var _index4 = require("./accordion/index.js");
19
+ Object.keys(_index4).forEach(function (key) {
20
+ if (key === "default" || key === "__esModule") return;
21
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
22
+ if (key in exports && exports[key] === _index4[key]) return;
23
+ Object.defineProperty(exports, key, {
24
+ enumerable: true,
25
+ get: function () {
26
+ return _index4[key];
27
+ }
28
+ });
29
+ });
30
+ var _index5 = require("./checkbox/index.js");
31
+ Object.keys(_index5).forEach(function (key) {
32
+ if (key === "default" || key === "__esModule") return;
33
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
34
+ if (key in exports && exports[key] === _index5[key]) return;
35
+ Object.defineProperty(exports, key, {
36
+ enumerable: true,
37
+ get: function () {
38
+ return _index5[key];
39
+ }
40
+ });
41
+ });
42
+ var _index6 = require("./checkbox-group/index.js");
43
+ Object.keys(_index6).forEach(function (key) {
44
+ if (key === "default" || key === "__esModule") return;
45
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
46
+ if (key in exports && exports[key] === _index6[key]) return;
47
+ Object.defineProperty(exports, key, {
48
+ enumerable: true,
49
+ get: function () {
50
+ return _index6[key];
51
+ }
52
+ });
53
+ });
54
+ var _index7 = require("./checkbox-input/index.js");
55
+ Object.keys(_index7).forEach(function (key) {
56
+ if (key === "default" || key === "__esModule") return;
57
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
58
+ if (key in exports && exports[key] === _index7[key]) return;
59
+ Object.defineProperty(exports, key, {
60
+ enumerable: true,
61
+ get: function () {
62
+ return _index7[key];
63
+ }
64
+ });
65
+ });
66
+ var _index8 = require("./collapsible/index.js");
67
+ Object.keys(_index8).forEach(function (key) {
68
+ if (key === "default" || key === "__esModule") return;
69
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
70
+ if (key in exports && exports[key] === _index8[key]) return;
71
+ Object.defineProperty(exports, key, {
72
+ enumerable: true,
73
+ get: function () {
74
+ return _index8[key];
75
+ }
76
+ });
77
+ });
78
+ var _index9 = require("./form-helper-text/index.js");
79
+ Object.keys(_index9).forEach(function (key) {
80
+ if (key === "default" || key === "__esModule") return;
81
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
82
+ if (key in exports && exports[key] === _index9[key]) return;
83
+ Object.defineProperty(exports, key, {
84
+ enumerable: true,
85
+ get: function () {
86
+ return _index9[key];
87
+ }
88
+ });
89
+ });
90
+ var _index10 = require("./form-label/index.js");
91
+ Object.keys(_index10).forEach(function (key) {
92
+ if (key === "default" || key === "__esModule") return;
93
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
94
+ if (key in exports && exports[key] === _index10[key]) return;
95
+ Object.defineProperty(exports, key, {
96
+ enumerable: true,
97
+ get: function () {
98
+ return _index10[key];
99
+ }
100
+ });
101
+ });
102
+ var _index11 = require("./icon/index.js");
103
+ Object.keys(_index11).forEach(function (key) {
104
+ if (key === "default" || key === "__esModule") return;
105
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
106
+ if (key in exports && exports[key] === _index11[key]) return;
107
+ Object.defineProperty(exports, key, {
108
+ enumerable: true,
109
+ get: function () {
110
+ return _index11[key];
111
+ }
112
+ });
113
+ });
114
+ var _index12 = require("./radio-button/index.js");
115
+ Object.keys(_index12).forEach(function (key) {
116
+ if (key === "default" || key === "__esModule") return;
117
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
118
+ if (key in exports && exports[key] === _index12[key]) return;
119
+ Object.defineProperty(exports, key, {
120
+ enumerable: true,
121
+ get: function () {
122
+ return _index12[key];
123
+ }
124
+ });
125
+ });
126
+ var _index13 = require("./radio-button-group/index.js");
127
+ Object.keys(_index13).forEach(function (key) {
128
+ if (key === "default" || key === "__esModule") return;
129
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
130
+ if (key in exports && exports[key] === _index13[key]) return;
131
+ Object.defineProperty(exports, key, {
132
+ enumerable: true,
133
+ get: function () {
134
+ return _index13[key];
135
+ }
136
+ });
137
+ });
138
+ var _index14 = require("./radio-button-input/index.js");
139
+ Object.keys(_index14).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
142
+ if (key in exports && exports[key] === _index14[key]) return;
143
+ Object.defineProperty(exports, key, {
144
+ enumerable: true,
145
+ get: function () {
146
+ return _index14[key];
147
+ }
148
+ });
149
+ });
150
+ var _index15 = require("./switch/index.js");
151
+ Object.keys(_index15).forEach(function (key) {
152
+ if (key === "default" || key === "__esModule") return;
153
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
154
+ if (key in exports && exports[key] === _index15[key]) return;
155
+ Object.defineProperty(exports, key, {
156
+ enumerable: true,
157
+ get: function () {
158
+ return _index15[key];
159
+ }
160
+ });
161
+ });
162
+ var _index16 = require("./text/index.js");
163
+ Object.keys(_index16).forEach(function (key) {
164
+ if (key === "default" || key === "__esModule") return;
165
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
166
+ if (key in exports && exports[key] === _index16[key]) return;
167
+ Object.defineProperty(exports, key, {
168
+ enumerable: true,
169
+ get: function () {
170
+ return _index16[key];
171
+ }
172
+ });
173
+ });
174
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
175
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
176
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Button","_interopRequireWildcard","require","exports","Notification","Toggle","_index4","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","defineProperty","enumerable","get","_index5","_index6","_index7","_index8","_index9","_index10","_index11","_index12","_index13","_index14","_index15","_index16","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","i","set"],"sourceRoot":"../../../src","sources":["components/index.tsx"],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useBase = useBase;
7
+ var _react = require("react");
8
+ var _index = require("../../../contexts/index.js");
9
+ function useBase({
10
+ color = 'high_contrast',
11
+ backgroundColor,
12
+ borderColor,
13
+ leftBarColor,
14
+ iconColor,
15
+ iconCloseColor,
16
+ titleColor,
17
+ transparentBorderColor
18
+ }) {
19
+ const themeContext = (0, _react.useContext)(_index.ThemeContext),
20
+ borderColorStr = themeContext.color[borderColor[color]],
21
+ backgroundColorStr = themeContext.color[backgroundColor[color]];
22
+ return {
23
+ titleStyle: {
24
+ color: themeContext.color[titleColor[color]]
25
+ },
26
+ iconProps: {
27
+ color: themeContext.color[iconColor[color]]
28
+ },
29
+ iconCloseProps: {
30
+ color: themeContext.color[iconCloseColor[color]]
31
+ },
32
+ leftBarStyle: {
33
+ backgroundColor: themeContext.color[leftBarColor[color]]
34
+ },
35
+ style: {
36
+ backgroundColor: backgroundColorStr,
37
+ borderTopWidth: 1,
38
+ borderRightWidth: 1,
39
+ borderBottomWidth: 1,
40
+ ...(!transparentBorderColor ? {
41
+ borderTopColor: borderColorStr,
42
+ borderRightColor: borderColorStr,
43
+ borderBottomColor: borderColorStr
44
+ } : {
45
+ borderTopColor: backgroundColorStr,
46
+ borderRightColor: backgroundColorStr,
47
+ borderBottomColor: backgroundColorStr
48
+ })
49
+ }
50
+ };
51
+ }
52
+ //# sourceMappingURL=_base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_index","useBase","color","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","titleColor","transparentBorderColor","themeContext","useContext","ThemeContext","borderColorStr","backgroundColorStr","titleStyle","iconProps","iconCloseProps","leftBarStyle","style","borderTopWidth","borderRightWidth","borderBottomWidth","borderTopColor","borderRightColor","borderBottomColor"],"sourceRoot":"../../../../../src","sources":["components/notification/_status-hooks/_base.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,MAAA,GAAAD,OAAA;AAyCO,SAASE,OAAOA,CAAC;EACvBC,KAAK,GAAG,eAAe;EACvBC,eAAe;EACfC,WAAW;EACXC,YAAY;EACZC,SAAS;EACTC,cAAc;EACdC,UAAU;EACVC;AACa,CAAC,EAAe;EAE7B,MACCC,YAAY,GACX,IAAAC,iBAAU,EAACC,mBAAY,CAAC;IAEzBC,cAAc,GACbH,YAAY,CAACR,KAAK,CAACE,WAAW,CAACF,KAAK,CAAC,CAAC;IAEvCY,kBAAkB,GACjBJ,YAAY,CAACR,KAAK,CAACC,eAAe,CAACD,KAAK,CAAC,CAAC;EAE5C,OAAO;IACNa,UAAU,EAAE;MACXb,KAAK,EAAEQ,YAAY,CAACR,KAAK,CAACM,UAAU,CAACN,KAAK,CAAC;IAC5C,CAAC;IACDc,SAAS,EAAE;MACVd,KAAK,EAAEQ,YAAY,CAACR,KAAK,CAACI,SAAS,CAACJ,KAAK,CAAC;IAC3C,CAAC;IACDe,cAAc,EAAE;MACff,KAAK,EAAEQ,YAAY,CAACR,KAAK,CAACK,cAAc,CAACL,KAAK,CAAC;IAChD,CAAC;IACDgB,YAAY,EAAE;MACbf,eAAe,EAAEO,YAAY,CAACR,KAAK,CAACG,YAAY,CAACH,KAAK,CAAC;IACxD,CAAC;IACDiB,KAAK,EAAE;MACNhB,eAAe,EAAEW,kBAAkB;MACnCM,cAAc,EAAE,CAAC;MACjBC,gBAAgB,EAAE,CAAC;MACnBC,iBAAiB,EAAE,CAAC;MACpB,IAAI,CAACb,sBAAsB,GAAG;QAC7Bc,cAAc,EAAEV,cAAc;QAC9BW,gBAAgB,EAAEX,cAAc;QAChCY,iBAAiB,EAAEZ;MACpB,CAAC,GAAG;QACHU,cAAc,EAAET,kBAAkB;QAClCU,gBAAgB,EAAEV,kBAAkB;QACpCW,iBAAiB,EAAEX;MACpB,CAAC;IACF;EACD,CAAC;AAEF","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useError = useError;
7
+ var _base = require("../_base.js");
8
+ var _ = _interopRequireDefault(require("@carbon/icons/es/error--filled/20"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function useError({
11
+ color,
12
+ transparentBorderColor
13
+ }) {
14
+ const data = (0, _base.useBase)({
15
+ color,
16
+ transparentBorderColor,
17
+ titleColor: {
18
+ low_contrast: 'text_primary',
19
+ high_contrast: 'text_inverse'
20
+ },
21
+ backgroundColor: {
22
+ low_contrast: 'notification_error_background',
23
+ high_contrast: 'background_inverse'
24
+ },
25
+ borderColor: {
26
+ low_contrast: 'notification_error_border',
27
+ high_contrast: 'background_inverse'
28
+ },
29
+ leftBarColor: {
30
+ low_contrast: 'support_error',
31
+ high_contrast: 'support_error_inverse'
32
+ },
33
+ iconColor: {
34
+ low_contrast: 'support_error',
35
+ high_contrast: 'support_error_inverse'
36
+ },
37
+ iconCloseColor: {
38
+ low_contrast: 'icon_primary',
39
+ high_contrast: 'icon_inverse'
40
+ }
41
+ });
42
+ return {
43
+ ...data,
44
+ icon: _.default
45
+ };
46
+ }
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_base","require","_","_interopRequireDefault","e","__esModule","default","useError","color","transparentBorderColor","data","useBase","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon","Icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/error/index.tsx"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAMA,IAAAC,CAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAoD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAW7C,SAASG,QAAQA,CAAC;EACxBC,KAAK;EACLC;AACc,CAAC,EAAgB;EAE/B,MAAMC,IAAI,GAAG,IAAAC,aAAO,EAAC;IACpBH,KAAK;IACLC,sBAAsB;IACtBG,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,+BAA+B;MAC7CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,2BAA2B;MACzCC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,eAAe;MAC7BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,eAAe;MAC7BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGJ,IAAI;IACPU,IAAI,EAAEC;EACP,CAAC;AAEF","ignoreList":[]}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _index = require("./error/index.js");
7
+ Object.keys(_index).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _index[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _index[key];
14
+ }
15
+ });
16
+ });
17
+ var _index2 = require("./informational/index.js");
18
+ Object.keys(_index2).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _index2[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _index2[key];
25
+ }
26
+ });
27
+ });
28
+ var _index3 = require("./success/index.js");
29
+ Object.keys(_index3).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _index3[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _index3[key];
36
+ }
37
+ });
38
+ });
39
+ var _index4 = require("./warning/index.js");
40
+ Object.keys(_index4).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _index4[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _index4[key];
47
+ }
48
+ });
49
+ });
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_index2","_index3","_index4"],"sourceRoot":"../../../../../src","sources":["components/notification/_status-hooks/index.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,OAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,OAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,OAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,OAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,OAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,OAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,OAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,OAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,OAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,OAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,OAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,OAAA,CAAAP,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useInformational = useInformational;
7
+ var _base = require("../_base.js");
8
+ var _ = _interopRequireDefault(require("@carbon/icons/es/information--filled/20"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function useInformational({
11
+ color,
12
+ transparentBorderColor
13
+ }) {
14
+ const data = (0, _base.useBase)({
15
+ color,
16
+ transparentBorderColor,
17
+ titleColor: {
18
+ low_contrast: 'text_primary',
19
+ high_contrast: 'text_inverse'
20
+ },
21
+ backgroundColor: {
22
+ low_contrast: 'notification_info_background',
23
+ high_contrast: 'background_inverse'
24
+ },
25
+ borderColor: {
26
+ low_contrast: 'notification_info_border',
27
+ high_contrast: 'background_inverse'
28
+ },
29
+ leftBarColor: {
30
+ low_contrast: 'support_info',
31
+ high_contrast: 'support_info_inverse'
32
+ },
33
+ iconColor: {
34
+ low_contrast: 'support_info',
35
+ high_contrast: 'support_info_inverse'
36
+ },
37
+ iconCloseColor: {
38
+ low_contrast: 'icon_primary',
39
+ high_contrast: 'icon_inverse'
40
+ }
41
+ });
42
+ return {
43
+ ...data,
44
+ icon: _.default
45
+ };
46
+ }
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_base","require","_","_interopRequireDefault","e","__esModule","default","useInformational","color","transparentBorderColor","data","useBase","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon","Icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/informational/index.tsx"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAMA,IAAAC,CAAA,GAAAC,sBAAA,CAAAF,OAAA;AAA0D,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAWnD,SAASG,gBAAgBA,CAAC;EAChCC,KAAK;EACLC;AACsB,CAAC,EAAwB;EAE/C,MAAMC,IAAI,GAAG,IAAAC,aAAO,EAAC;IACpBH,KAAK;IACLC,sBAAsB;IACtBG,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,8BAA8B;MAC5CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,0BAA0B;MACxCC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGJ,IAAI;IACPU,IAAI,EAAEC;EACP,CAAC;AAEF","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useSuccess = useSuccess;
7
+ var _base = require("../_base.js");
8
+ var _ = _interopRequireDefault(require("@carbon/icons/es/checkmark--filled/20"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function useSuccess({
11
+ color,
12
+ transparentBorderColor
13
+ }) {
14
+ const data = (0, _base.useBase)({
15
+ color,
16
+ transparentBorderColor,
17
+ titleColor: {
18
+ low_contrast: 'text_primary',
19
+ high_contrast: 'text_inverse'
20
+ },
21
+ backgroundColor: {
22
+ low_contrast: 'notification_success_background',
23
+ high_contrast: 'background_inverse'
24
+ },
25
+ borderColor: {
26
+ low_contrast: 'notification_success_border',
27
+ high_contrast: 'background_inverse'
28
+ },
29
+ leftBarColor: {
30
+ low_contrast: 'support_success',
31
+ high_contrast: 'support_success_inverse'
32
+ },
33
+ iconColor: {
34
+ low_contrast: 'support_success',
35
+ high_contrast: 'support_success_inverse'
36
+ },
37
+ iconCloseColor: {
38
+ low_contrast: 'icon_primary',
39
+ high_contrast: 'icon_inverse'
40
+ }
41
+ });
42
+ return {
43
+ ...data,
44
+ icon: _.default
45
+ };
46
+ }
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_base","require","_","_interopRequireDefault","e","__esModule","default","useSuccess","color","transparentBorderColor","data","useBase","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon","Icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/success/index.tsx"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAMA,IAAAC,CAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAwD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAWjD,SAASG,UAAUA,CAAC;EAC1BC,KAAK;EACLC;AACgB,CAAC,EAAkB;EAEnC,MAAMC,IAAI,GAAG,IAAAC,aAAO,EAAC;IACpBH,KAAK;IACLC,sBAAsB;IACtBG,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,iCAAiC;MAC/CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,6BAA6B;MAC3CC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGJ,IAAI;IACPU,IAAI,EAAEC;EACP,CAAC;AAEF","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useWarning = useWarning;
7
+ var _base = require("../_base.js");
8
+ var _ = _interopRequireDefault(require("@carbon/icons/es/warning--filled/20"));
9
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
10
+ function useWarning({
11
+ color,
12
+ transparentBorderColor
13
+ }) {
14
+ const data = (0, _base.useBase)({
15
+ color,
16
+ transparentBorderColor,
17
+ titleColor: {
18
+ low_contrast: 'text_primary',
19
+ high_contrast: 'text_inverse'
20
+ },
21
+ backgroundColor: {
22
+ low_contrast: 'notification_warning_background',
23
+ high_contrast: 'background_inverse'
24
+ },
25
+ borderColor: {
26
+ low_contrast: 'notification_warning_border',
27
+ high_contrast: 'background_inverse'
28
+ },
29
+ leftBarColor: {
30
+ low_contrast: 'support_warning',
31
+ high_contrast: 'support_warning_inverse'
32
+ },
33
+ iconColor: {
34
+ low_contrast: 'support_warning',
35
+ high_contrast: 'support_warning_inverse'
36
+ },
37
+ iconCloseColor: {
38
+ low_contrast: 'icon_primary',
39
+ high_contrast: 'icon_inverse'
40
+ }
41
+ });
42
+ return {
43
+ ...data,
44
+ icon: _.default
45
+ };
46
+ }
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_base","require","_","_interopRequireDefault","e","__esModule","default","useWarning","color","transparentBorderColor","data","useBase","titleColor","low_contrast","high_contrast","backgroundColor","borderColor","leftBarColor","iconColor","iconCloseColor","icon","Icon"],"sourceRoot":"../../../../../../src","sources":["components/notification/_status-hooks/warning/index.tsx"],"mappings":";;;;;;AAIA,IAAAA,KAAA,GAAAC,OAAA;AAMA,IAAAC,CAAA,GAAAC,sBAAA,CAAAF,OAAA;AAAsD,SAAAE,uBAAAC,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAW/C,SAASG,UAAUA,CAAC;EAC1BC,KAAK;EACLC;AACgB,CAAC,EAAkB;EAEnC,MAAMC,IAAI,GAAG,IAAAC,aAAO,EAAC;IACpBH,KAAK;IACLC,sBAAsB;IACtBG,UAAU,EAAE;MACXC,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB,CAAC;IACDC,eAAe,EAAE;MAChBF,YAAY,EAAE,iCAAiC;MAC/CC,aAAa,EAAE;IAChB,CAAC;IACDE,WAAW,EAAE;MACZH,YAAY,EAAE,6BAA6B;MAC3CC,aAAa,EAAE;IAChB,CAAC;IACDG,YAAY,EAAE;MACbJ,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDI,SAAS,EAAE;MACVL,YAAY,EAAE,iBAAiB;MAC/BC,aAAa,EAAE;IAChB,CAAC;IACDK,cAAc,EAAE;MACfN,YAAY,EAAE,cAAc;MAC5BC,aAAa,EAAE;IAChB;EACD,CAAC,CAAC;EAEF,OAAO;IACN,GAAGJ,IAAI;IACPU,IAAI,EAAEC;EACP,CAAC;AAEF","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.VariantContext = void 0;
7
+ exports.VariantContextProvider = VariantContextProvider;
8
+ var _react = require("react");
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+ const VariantContext = exports.VariantContext = /*#__PURE__*/(0, _react.createContext)({
11
+ color: 'high_contrast'
12
+ });
13
+ function VariantContextProvider({
14
+ color,
15
+ children
16
+ }) {
17
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(VariantContext.Provider, {
18
+ value: {
19
+ color
20
+ },
21
+ children: children
22
+ });
23
+ }
24
+ //# sourceMappingURL=_variant-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_jsxRuntime","VariantContext","exports","createContext","color","VariantContextProvider","children","jsx","Provider","value"],"sourceRoot":"../../../../src","sources":["components/notification/_variant-context.tsx"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEc,IAAAC,WAAA,GAAAD,OAAA;AAUP,MAAME,cAAc,GAAAC,OAAA,CAAAD,cAAA,gBAAG,IAAAE,oBAAa,EAAiB;EAC3DC,KAAK,EAAE;AACR,CAAC,CAAC;AAEK,SAASC,sBAAsBA,CAAC;EACtCD,KAAK;EACLE;AAID,CAAC,EAAE;EAEF,oBACC,IAAAN,WAAA,CAAAO,GAAA,EAACN,cAAc,CAACO,QAAQ;IACvBC,KAAK,EAAE;MACNL;IACD,CAAE;IAAAE,QAAA,EAEAA;EAAQ,CACc,CAAC;AAG5B","ignoreList":[]}