@audira/carbon-react-native 1.0.2 → 1.0.4

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 (419) hide show
  1. package/lib/commonjs/carbon-style-sheet/color.js +174 -6
  2. package/lib/commonjs/carbon-style-sheet/color.js.map +1 -1
  3. package/lib/commonjs/carbon-style-sheet/create.js +58 -21
  4. package/lib/commonjs/carbon-style-sheet/create.js.map +1 -1
  5. package/lib/commonjs/carbon-style-sheet/g/font.js +1 -1
  6. package/lib/commonjs/carbon-style-sheet/g/spacing.js +1 -1
  7. package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
  8. package/lib/commonjs/carbon-style-sheet/g-object/font.js +1 -1
  9. package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +1 -1
  10. package/lib/commonjs/carbon-style-sheet/g-object/typography.js +1 -1
  11. package/lib/commonjs/carbon-style-sheet/index.js +4 -13
  12. package/lib/commonjs/carbon-style-sheet/index.js.map +1 -1
  13. package/lib/commonjs/components/index.js +91 -7
  14. package/lib/commonjs/components/index.js.map +1 -1
  15. package/lib/commonjs/components/layer/Layer.js +1 -2
  16. package/lib/commonjs/components/layer/Layer.js.map +1 -1
  17. package/lib/commonjs/components/table/Table.js +40 -0
  18. package/lib/commonjs/components/table/Table.js.map +1 -0
  19. package/lib/commonjs/components/table/TableProps.js +6 -0
  20. package/lib/commonjs/components/table/TableProps.js.map +1 -0
  21. package/lib/commonjs/components/table/TableRef.js +6 -0
  22. package/lib/commonjs/components/table/TableRef.js.map +1 -0
  23. package/lib/commonjs/components/table/_TableContext.js +11 -0
  24. package/lib/commonjs/components/table/_TableContext.js.map +1 -0
  25. package/lib/commonjs/components/table/index.js +17 -0
  26. package/lib/commonjs/components/table/index.js.map +1 -0
  27. package/lib/commonjs/components/table-cell/TableCell.js +52 -0
  28. package/lib/commonjs/components/table-cell/TableCell.js.map +1 -0
  29. package/lib/commonjs/components/table-cell/TableCellProps.js +6 -0
  30. package/lib/commonjs/components/table-cell/TableCellProps.js.map +1 -0
  31. package/lib/commonjs/components/table-cell/TableCellRef.js +6 -0
  32. package/lib/commonjs/components/table-cell/TableCellRef.js.map +1 -0
  33. package/lib/commonjs/components/table-cell/index.js +17 -0
  34. package/lib/commonjs/components/table-cell/index.js.map +1 -0
  35. package/lib/commonjs/components/table-cell-header/TableCellHeader.js +154 -0
  36. package/lib/commonjs/components/table-cell-header/TableCellHeader.js.map +1 -0
  37. package/lib/commonjs/components/table-cell-header/TableCellHeaderProps.js +6 -0
  38. package/lib/commonjs/components/table-cell-header/TableCellHeaderProps.js.map +1 -0
  39. package/lib/commonjs/components/table-cell-header/TableCellHeaderRef.js +6 -0
  40. package/lib/commonjs/components/table-cell-header/TableCellHeaderRef.js.map +1 -0
  41. package/lib/commonjs/components/table-cell-header/TableCellHeaderSort.js +2 -0
  42. package/lib/commonjs/components/table-cell-header/TableCellHeaderSort.js.map +1 -0
  43. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js +67 -0
  44. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -0
  45. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconProps.js +6 -0
  46. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconProps.js.map +1 -0
  47. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconRef.js +2 -0
  48. package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconRef.js.map +1 -0
  49. package/lib/commonjs/components/table-cell-header/_sort-icon/index.js +17 -0
  50. package/lib/commonjs/components/table-cell-header/_sort-icon/index.js.map +1 -0
  51. package/lib/commonjs/components/table-cell-header/index.js +17 -0
  52. package/lib/commonjs/components/table-cell-header/index.js.map +1 -0
  53. package/lib/commonjs/components/table-cell-icon/TableCellIcon.js +29 -0
  54. package/lib/commonjs/components/table-cell-icon/TableCellIcon.js.map +1 -0
  55. package/lib/commonjs/components/table-cell-icon/TableCellIconProps.js +6 -0
  56. package/lib/commonjs/components/table-cell-icon/TableCellIconProps.js.map +1 -0
  57. package/lib/commonjs/components/table-cell-icon/TableCellIconRef.js +6 -0
  58. package/lib/commonjs/components/table-cell-icon/TableCellIconRef.js.map +1 -0
  59. package/lib/commonjs/components/table-cell-icon/index.js +17 -0
  60. package/lib/commonjs/components/table-cell-icon/index.js.map +1 -0
  61. package/lib/commonjs/components/table-cell-text/TableCellText.js +60 -0
  62. package/lib/commonjs/components/table-cell-text/TableCellText.js.map +1 -0
  63. package/lib/commonjs/components/table-cell-text/TableCellTextProps.js +6 -0
  64. package/lib/commonjs/components/table-cell-text/TableCellTextProps.js.map +1 -0
  65. package/lib/commonjs/components/table-cell-text/TableCellTextRef.js +6 -0
  66. package/lib/commonjs/components/table-cell-text/TableCellTextRef.js.map +1 -0
  67. package/lib/commonjs/components/table-cell-text/index.js +17 -0
  68. package/lib/commonjs/components/table-cell-text/index.js.map +1 -0
  69. package/lib/commonjs/components/table-row/TableRow.js +168 -0
  70. package/lib/commonjs/components/table-row/TableRow.js.map +1 -0
  71. package/lib/commonjs/components/table-row/TableRowInteractiveState.js +2 -0
  72. package/lib/commonjs/components/table-row/TableRowInteractiveState.js.map +1 -0
  73. package/lib/commonjs/components/table-row/TableRowProps.js +6 -0
  74. package/lib/commonjs/components/table-row/TableRowProps.js.map +1 -0
  75. package/lib/commonjs/components/table-row/TableRowRef.js +6 -0
  76. package/lib/commonjs/components/table-row/TableRowRef.js.map +1 -0
  77. package/lib/commonjs/components/table-row/TableRowSize.js +2 -0
  78. package/lib/commonjs/components/table-row/TableRowSize.js.map +1 -0
  79. package/lib/commonjs/components/table-row/_TableRowContext.js +12 -0
  80. package/lib/commonjs/components/table-row/_TableRowContext.js.map +1 -0
  81. package/lib/commonjs/components/table-row/_style-sheet-height.js +25 -0
  82. package/lib/commonjs/components/table-row/_style-sheet-height.js.map +1 -0
  83. package/lib/commonjs/components/table-row/index.js +17 -0
  84. package/lib/commonjs/components/table-row/index.js.map +1 -0
  85. package/lib/commonjs/components/table-row-header/TableRowHeader.js +54 -0
  86. package/lib/commonjs/components/table-row-header/TableRowHeader.js.map +1 -0
  87. package/lib/commonjs/components/table-row-header/TableRowHeaderProps.js +6 -0
  88. package/lib/commonjs/components/table-row-header/TableRowHeaderProps.js.map +1 -0
  89. package/lib/commonjs/components/table-row-header/TableRowHeaderRef.js +6 -0
  90. package/lib/commonjs/components/table-row-header/TableRowHeaderRef.js.map +1 -0
  91. package/lib/commonjs/components/table-row-header/_TableRowHeaderContext.js +14 -0
  92. package/lib/commonjs/components/table-row-header/_TableRowHeaderContext.js.map +1 -0
  93. package/lib/commonjs/components/table-row-header/index.js +17 -0
  94. package/lib/commonjs/components/table-row-header/index.js.map +1 -0
  95. package/lib/module/carbon-style-sheet/color.js +172 -5
  96. package/lib/module/carbon-style-sheet/color.js.map +1 -1
  97. package/lib/module/carbon-style-sheet/create.js +58 -21
  98. package/lib/module/carbon-style-sheet/create.js.map +1 -1
  99. package/lib/module/carbon-style-sheet/g/font.js +1 -1
  100. package/lib/module/carbon-style-sheet/g/spacing.js +1 -1
  101. package/lib/module/carbon-style-sheet/g/typography.js +1 -1
  102. package/lib/module/carbon-style-sheet/g-object/font.js +1 -1
  103. package/lib/module/carbon-style-sheet/g-object/spacing.js +1 -1
  104. package/lib/module/carbon-style-sheet/g-object/typography.js +1 -1
  105. package/lib/module/carbon-style-sheet/index.js +2 -2
  106. package/lib/module/carbon-style-sheet/index.js.map +1 -1
  107. package/lib/module/components/index.js +7 -0
  108. package/lib/module/components/index.js.map +1 -1
  109. package/lib/module/components/layer/Layer.js +1 -2
  110. package/lib/module/components/layer/Layer.js.map +1 -1
  111. package/lib/module/components/table/Table.js +35 -0
  112. package/lib/module/components/table/Table.js.map +1 -0
  113. package/lib/module/components/table/TableProps.js +4 -0
  114. package/lib/module/components/table/TableProps.js.map +1 -0
  115. package/lib/module/components/table/TableRef.js +4 -0
  116. package/lib/module/components/table/TableRef.js.map +1 -0
  117. package/lib/module/components/table/_TableContext.js +7 -0
  118. package/lib/module/components/table/_TableContext.js.map +1 -0
  119. package/lib/module/components/table/index.js +4 -0
  120. package/lib/module/components/table/index.js.map +1 -0
  121. package/lib/module/components/table-cell/TableCell.js +47 -0
  122. package/lib/module/components/table-cell/TableCell.js.map +1 -0
  123. package/lib/module/components/table-cell/TableCellProps.js +4 -0
  124. package/lib/module/components/table-cell/TableCellProps.js.map +1 -0
  125. package/lib/module/components/table-cell/TableCellRef.js +4 -0
  126. package/lib/module/components/table-cell/TableCellRef.js.map +1 -0
  127. package/lib/module/components/table-cell/index.js +4 -0
  128. package/lib/module/components/table-cell/index.js.map +1 -0
  129. package/lib/module/components/table-cell-header/TableCellHeader.js +150 -0
  130. package/lib/module/components/table-cell-header/TableCellHeader.js.map +1 -0
  131. package/lib/module/components/table-cell-header/TableCellHeaderProps.js +4 -0
  132. package/lib/module/components/table-cell-header/TableCellHeaderProps.js.map +1 -0
  133. package/lib/module/components/table-cell-header/TableCellHeaderRef.js +4 -0
  134. package/lib/module/components/table-cell-header/TableCellHeaderRef.js.map +1 -0
  135. package/lib/module/components/table-cell-header/TableCellHeaderSort.js +2 -0
  136. package/lib/module/components/table-cell-header/TableCellHeaderSort.js.map +1 -0
  137. package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js +62 -0
  138. package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -0
  139. package/lib/module/components/table-cell-header/_sort-icon/SortIconProps.js +4 -0
  140. package/lib/module/components/table-cell-header/_sort-icon/SortIconProps.js.map +1 -0
  141. package/lib/module/components/table-cell-header/_sort-icon/SortIconRef.js +2 -0
  142. package/lib/module/components/table-cell-header/_sort-icon/SortIconRef.js.map +1 -0
  143. package/lib/module/components/table-cell-header/_sort-icon/index.js +4 -0
  144. package/lib/module/components/table-cell-header/_sort-icon/index.js.map +1 -0
  145. package/lib/module/components/table-cell-header/index.js +4 -0
  146. package/lib/module/components/table-cell-header/index.js.map +1 -0
  147. package/lib/module/components/table-cell-icon/TableCellIcon.js +25 -0
  148. package/lib/module/components/table-cell-icon/TableCellIcon.js.map +1 -0
  149. package/lib/module/components/table-cell-icon/TableCellIconProps.js +4 -0
  150. package/lib/module/components/table-cell-icon/TableCellIconProps.js.map +1 -0
  151. package/lib/module/components/table-cell-icon/TableCellIconRef.js +4 -0
  152. package/lib/module/components/table-cell-icon/TableCellIconRef.js.map +1 -0
  153. package/lib/module/components/table-cell-icon/index.js +4 -0
  154. package/lib/module/components/table-cell-icon/index.js.map +1 -0
  155. package/lib/module/components/table-cell-text/TableCellText.js +55 -0
  156. package/lib/module/components/table-cell-text/TableCellText.js.map +1 -0
  157. package/lib/module/components/table-cell-text/TableCellTextProps.js +4 -0
  158. package/lib/module/components/table-cell-text/TableCellTextProps.js.map +1 -0
  159. package/lib/module/components/table-cell-text/TableCellTextRef.js +4 -0
  160. package/lib/module/components/table-cell-text/TableCellTextRef.js.map +1 -0
  161. package/lib/module/components/table-cell-text/index.js +4 -0
  162. package/lib/module/components/table-cell-text/index.js.map +1 -0
  163. package/lib/module/components/table-row/TableRow.js +163 -0
  164. package/lib/module/components/table-row/TableRow.js.map +1 -0
  165. package/lib/module/components/table-row/TableRowInteractiveState.js +2 -0
  166. package/lib/module/components/table-row/TableRowInteractiveState.js.map +1 -0
  167. package/lib/module/components/table-row/TableRowProps.js +4 -0
  168. package/lib/module/components/table-row/TableRowProps.js.map +1 -0
  169. package/lib/module/components/table-row/TableRowRef.js +4 -0
  170. package/lib/module/components/table-row/TableRowRef.js.map +1 -0
  171. package/lib/module/components/table-row/TableRowSize.js +2 -0
  172. package/lib/module/components/table-row/TableRowSize.js.map +1 -0
  173. package/lib/module/components/table-row/_TableRowContext.js +8 -0
  174. package/lib/module/components/table-row/_TableRowContext.js.map +1 -0
  175. package/lib/module/components/table-row/_style-sheet-height.js +21 -0
  176. package/lib/module/components/table-row/_style-sheet-height.js.map +1 -0
  177. package/lib/module/components/table-row/index.js +4 -0
  178. package/lib/module/components/table-row/index.js.map +1 -0
  179. package/lib/module/components/table-row-header/TableRowHeader.js +49 -0
  180. package/lib/module/components/table-row-header/TableRowHeader.js.map +1 -0
  181. package/lib/module/components/table-row-header/TableRowHeaderProps.js +4 -0
  182. package/lib/module/components/table-row-header/TableRowHeaderProps.js.map +1 -0
  183. package/lib/module/components/table-row-header/TableRowHeaderRef.js +4 -0
  184. package/lib/module/components/table-row-header/TableRowHeaderRef.js.map +1 -0
  185. package/lib/module/components/table-row-header/_TableRowHeaderContext.js +10 -0
  186. package/lib/module/components/table-row-header/_TableRowHeaderContext.js.map +1 -0
  187. package/lib/module/components/table-row-header/index.js +4 -0
  188. package/lib/module/components/table-row-header/index.js.map +1 -0
  189. package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts +169 -2
  190. package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts.map +1 -1
  191. package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts +3 -3
  192. package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts.map +1 -1
  193. package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts +2 -2
  194. package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts.map +1 -1
  195. package/lib/typescript/commonjs/components/index.d.ts +7 -0
  196. package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
  197. package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -1
  198. package/lib/typescript/commonjs/components/layer/LayerProps.d.ts +5 -2
  199. package/lib/typescript/commonjs/components/layer/LayerProps.d.ts.map +1 -1
  200. package/lib/typescript/commonjs/components/table/Table.d.ts +4 -0
  201. package/lib/typescript/commonjs/components/table/Table.d.ts.map +1 -0
  202. package/lib/typescript/commonjs/components/table/TableProps.d.ts +10 -0
  203. package/lib/typescript/commonjs/components/table/TableProps.d.ts.map +1 -0
  204. package/lib/typescript/commonjs/components/table/TableRef.d.ts +4 -0
  205. package/lib/typescript/commonjs/components/table/TableRef.d.ts.map +1 -0
  206. package/lib/typescript/commonjs/components/table/_TableContext.d.ts +6 -0
  207. package/lib/typescript/commonjs/components/table/_TableContext.d.ts.map +1 -0
  208. package/lib/typescript/commonjs/components/table/index.d.ts +4 -0
  209. package/lib/typescript/commonjs/components/table/index.d.ts.map +1 -0
  210. package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts +17 -0
  211. package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts.map +1 -0
  212. package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts +28 -0
  213. package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts.map +1 -0
  214. package/lib/typescript/commonjs/components/table-cell/TableCellRef.d.ts +4 -0
  215. package/lib/typescript/commonjs/components/table-cell/TableCellRef.d.ts.map +1 -0
  216. package/lib/typescript/commonjs/components/table-cell/index.d.ts +4 -0
  217. package/lib/typescript/commonjs/components/table-cell/index.d.ts.map +1 -0
  218. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeader.d.ts +22 -0
  219. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeader.d.ts.map +1 -0
  220. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderProps.d.ts +19 -0
  221. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderProps.d.ts.map +1 -0
  222. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderRef.d.ts +4 -0
  223. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderRef.d.ts.map +1 -0
  224. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderSort.d.ts +2 -0
  225. package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderSort.d.ts.map +1 -0
  226. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts +4 -0
  227. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -0
  228. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconProps.d.ts +6 -0
  229. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconProps.d.ts.map +1 -0
  230. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconRef.d.ts +4 -0
  231. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconRef.d.ts.map +1 -0
  232. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/index.d.ts +4 -0
  233. package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/index.d.ts.map +1 -0
  234. package/lib/typescript/commonjs/components/table-cell-header/index.d.ts +5 -0
  235. package/lib/typescript/commonjs/components/table-cell-header/index.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/components/table-cell-icon/TableCellIcon.d.ts +4 -0
  237. package/lib/typescript/commonjs/components/table-cell-icon/TableCellIcon.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconProps.d.ts +5 -0
  239. package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconProps.d.ts.map +1 -0
  240. package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconRef.d.ts +4 -0
  241. package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconRef.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/components/table-cell-icon/index.d.ts +4 -0
  243. package/lib/typescript/commonjs/components/table-cell-icon/index.d.ts.map +1 -0
  244. package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts +7 -0
  245. package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/components/table-cell-text/TableCellTextProps.d.ts +4 -0
  247. package/lib/typescript/commonjs/components/table-cell-text/TableCellTextProps.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/components/table-cell-text/TableCellTextRef.d.ts +4 -0
  249. package/lib/typescript/commonjs/components/table-cell-text/TableCellTextRef.d.ts.map +1 -0
  250. package/lib/typescript/commonjs/components/table-cell-text/index.d.ts +4 -0
  251. package/lib/typescript/commonjs/components/table-cell-text/index.d.ts.map +1 -0
  252. package/lib/typescript/commonjs/components/table-row/TableRow.d.ts +4 -0
  253. package/lib/typescript/commonjs/components/table-row/TableRow.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts +2 -0
  255. package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts.map +1 -0
  256. package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts +36 -0
  257. package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts.map +1 -0
  258. package/lib/typescript/commonjs/components/table-row/TableRowRef.d.ts +4 -0
  259. package/lib/typescript/commonjs/components/table-row/TableRowRef.d.ts.map +1 -0
  260. package/lib/typescript/commonjs/components/table-row/TableRowSize.d.ts +5 -0
  261. package/lib/typescript/commonjs/components/table-row/TableRowSize.d.ts.map +1 -0
  262. package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts +7 -0
  263. package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts +18 -0
  265. package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts.map +1 -0
  266. package/lib/typescript/commonjs/components/table-row/index.d.ts +6 -0
  267. package/lib/typescript/commonjs/components/table-row/index.d.ts.map +1 -0
  268. package/lib/typescript/commonjs/components/table-row-header/TableRowHeader.d.ts +4 -0
  269. package/lib/typescript/commonjs/components/table-row-header/TableRowHeader.d.ts.map +1 -0
  270. package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderProps.d.ts +5 -0
  271. package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderProps.d.ts.map +1 -0
  272. package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderRef.d.ts +4 -0
  273. package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderRef.d.ts.map +1 -0
  274. package/lib/typescript/commonjs/components/table-row-header/_TableRowHeaderContext.d.ts +7 -0
  275. package/lib/typescript/commonjs/components/table-row-header/_TableRowHeaderContext.d.ts.map +1 -0
  276. package/lib/typescript/commonjs/components/table-row-header/index.d.ts +4 -0
  277. package/lib/typescript/commonjs/components/table-row-header/index.d.ts.map +1 -0
  278. package/lib/typescript/module/carbon-style-sheet/color.d.ts +169 -2
  279. package/lib/typescript/module/carbon-style-sheet/color.d.ts.map +1 -1
  280. package/lib/typescript/module/carbon-style-sheet/create.d.ts +3 -3
  281. package/lib/typescript/module/carbon-style-sheet/create.d.ts.map +1 -1
  282. package/lib/typescript/module/carbon-style-sheet/index.d.ts +2 -2
  283. package/lib/typescript/module/carbon-style-sheet/index.d.ts.map +1 -1
  284. package/lib/typescript/module/components/index.d.ts +7 -0
  285. package/lib/typescript/module/components/index.d.ts.map +1 -1
  286. package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -1
  287. package/lib/typescript/module/components/layer/LayerProps.d.ts +5 -2
  288. package/lib/typescript/module/components/layer/LayerProps.d.ts.map +1 -1
  289. package/lib/typescript/module/components/table/Table.d.ts +4 -0
  290. package/lib/typescript/module/components/table/Table.d.ts.map +1 -0
  291. package/lib/typescript/module/components/table/TableProps.d.ts +10 -0
  292. package/lib/typescript/module/components/table/TableProps.d.ts.map +1 -0
  293. package/lib/typescript/module/components/table/TableRef.d.ts +4 -0
  294. package/lib/typescript/module/components/table/TableRef.d.ts.map +1 -0
  295. package/lib/typescript/module/components/table/_TableContext.d.ts +6 -0
  296. package/lib/typescript/module/components/table/_TableContext.d.ts.map +1 -0
  297. package/lib/typescript/module/components/table/index.d.ts +4 -0
  298. package/lib/typescript/module/components/table/index.d.ts.map +1 -0
  299. package/lib/typescript/module/components/table-cell/TableCell.d.ts +17 -0
  300. package/lib/typescript/module/components/table-cell/TableCell.d.ts.map +1 -0
  301. package/lib/typescript/module/components/table-cell/TableCellProps.d.ts +28 -0
  302. package/lib/typescript/module/components/table-cell/TableCellProps.d.ts.map +1 -0
  303. package/lib/typescript/module/components/table-cell/TableCellRef.d.ts +4 -0
  304. package/lib/typescript/module/components/table-cell/TableCellRef.d.ts.map +1 -0
  305. package/lib/typescript/module/components/table-cell/index.d.ts +4 -0
  306. package/lib/typescript/module/components/table-cell/index.d.ts.map +1 -0
  307. package/lib/typescript/module/components/table-cell-header/TableCellHeader.d.ts +22 -0
  308. package/lib/typescript/module/components/table-cell-header/TableCellHeader.d.ts.map +1 -0
  309. package/lib/typescript/module/components/table-cell-header/TableCellHeaderProps.d.ts +19 -0
  310. package/lib/typescript/module/components/table-cell-header/TableCellHeaderProps.d.ts.map +1 -0
  311. package/lib/typescript/module/components/table-cell-header/TableCellHeaderRef.d.ts +4 -0
  312. package/lib/typescript/module/components/table-cell-header/TableCellHeaderRef.d.ts.map +1 -0
  313. package/lib/typescript/module/components/table-cell-header/TableCellHeaderSort.d.ts +2 -0
  314. package/lib/typescript/module/components/table-cell-header/TableCellHeaderSort.d.ts.map +1 -0
  315. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts +4 -0
  316. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -0
  317. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconProps.d.ts +6 -0
  318. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconProps.d.ts.map +1 -0
  319. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconRef.d.ts +4 -0
  320. package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconRef.d.ts.map +1 -0
  321. package/lib/typescript/module/components/table-cell-header/_sort-icon/index.d.ts +4 -0
  322. package/lib/typescript/module/components/table-cell-header/_sort-icon/index.d.ts.map +1 -0
  323. package/lib/typescript/module/components/table-cell-header/index.d.ts +5 -0
  324. package/lib/typescript/module/components/table-cell-header/index.d.ts.map +1 -0
  325. package/lib/typescript/module/components/table-cell-icon/TableCellIcon.d.ts +4 -0
  326. package/lib/typescript/module/components/table-cell-icon/TableCellIcon.d.ts.map +1 -0
  327. package/lib/typescript/module/components/table-cell-icon/TableCellIconProps.d.ts +5 -0
  328. package/lib/typescript/module/components/table-cell-icon/TableCellIconProps.d.ts.map +1 -0
  329. package/lib/typescript/module/components/table-cell-icon/TableCellIconRef.d.ts +4 -0
  330. package/lib/typescript/module/components/table-cell-icon/TableCellIconRef.d.ts.map +1 -0
  331. package/lib/typescript/module/components/table-cell-icon/index.d.ts +4 -0
  332. package/lib/typescript/module/components/table-cell-icon/index.d.ts.map +1 -0
  333. package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts +7 -0
  334. package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts.map +1 -0
  335. package/lib/typescript/module/components/table-cell-text/TableCellTextProps.d.ts +4 -0
  336. package/lib/typescript/module/components/table-cell-text/TableCellTextProps.d.ts.map +1 -0
  337. package/lib/typescript/module/components/table-cell-text/TableCellTextRef.d.ts +4 -0
  338. package/lib/typescript/module/components/table-cell-text/TableCellTextRef.d.ts.map +1 -0
  339. package/lib/typescript/module/components/table-cell-text/index.d.ts +4 -0
  340. package/lib/typescript/module/components/table-cell-text/index.d.ts.map +1 -0
  341. package/lib/typescript/module/components/table-row/TableRow.d.ts +4 -0
  342. package/lib/typescript/module/components/table-row/TableRow.d.ts.map +1 -0
  343. package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts +2 -0
  344. package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts.map +1 -0
  345. package/lib/typescript/module/components/table-row/TableRowProps.d.ts +36 -0
  346. package/lib/typescript/module/components/table-row/TableRowProps.d.ts.map +1 -0
  347. package/lib/typescript/module/components/table-row/TableRowRef.d.ts +4 -0
  348. package/lib/typescript/module/components/table-row/TableRowRef.d.ts.map +1 -0
  349. package/lib/typescript/module/components/table-row/TableRowSize.d.ts +5 -0
  350. package/lib/typescript/module/components/table-row/TableRowSize.d.ts.map +1 -0
  351. package/lib/typescript/module/components/table-row/_TableRowContext.d.ts +7 -0
  352. package/lib/typescript/module/components/table-row/_TableRowContext.d.ts.map +1 -0
  353. package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts +18 -0
  354. package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts.map +1 -0
  355. package/lib/typescript/module/components/table-row/index.d.ts +6 -0
  356. package/lib/typescript/module/components/table-row/index.d.ts.map +1 -0
  357. package/lib/typescript/module/components/table-row-header/TableRowHeader.d.ts +4 -0
  358. package/lib/typescript/module/components/table-row-header/TableRowHeader.d.ts.map +1 -0
  359. package/lib/typescript/module/components/table-row-header/TableRowHeaderProps.d.ts +5 -0
  360. package/lib/typescript/module/components/table-row-header/TableRowHeaderProps.d.ts.map +1 -0
  361. package/lib/typescript/module/components/table-row-header/TableRowHeaderRef.d.ts +4 -0
  362. package/lib/typescript/module/components/table-row-header/TableRowHeaderRef.d.ts.map +1 -0
  363. package/lib/typescript/module/components/table-row-header/_TableRowHeaderContext.d.ts +7 -0
  364. package/lib/typescript/module/components/table-row-header/_TableRowHeaderContext.d.ts.map +1 -0
  365. package/lib/typescript/module/components/table-row-header/index.d.ts +4 -0
  366. package/lib/typescript/module/components/table-row-header/index.d.ts.map +1 -0
  367. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  368. package/package.json +1 -1
  369. package/src/carbon-style-sheet/color.ts +171 -12
  370. package/src/carbon-style-sheet/create.ts +93 -53
  371. package/src/carbon-style-sheet/g/font.ts +1 -1
  372. package/src/carbon-style-sheet/g/spacing.ts +1 -1
  373. package/src/carbon-style-sheet/g/typography.ts +1 -1
  374. package/src/carbon-style-sheet/g-object/font.ts +1 -1
  375. package/src/carbon-style-sheet/g-object/spacing.ts +1 -1
  376. package/src/carbon-style-sheet/g-object/typography.ts +1 -1
  377. package/src/carbon-style-sheet/index.ts +3 -1
  378. package/src/components/index.ts +7 -0
  379. package/src/components/layer/Layer.tsx +3 -4
  380. package/src/components/layer/LayerProps.ts +5 -2
  381. package/src/components/table/Table.tsx +69 -0
  382. package/src/components/table/TableProps.ts +15 -0
  383. package/src/components/table/TableRef.ts +6 -0
  384. package/src/components/table/_TableContext.ts +15 -0
  385. package/src/components/table/index.ts +3 -0
  386. package/src/components/table-cell/TableCell.tsx +93 -0
  387. package/src/components/table-cell/TableCellProps.ts +33 -0
  388. package/src/components/table-cell/TableCellRef.ts +6 -0
  389. package/src/components/table-cell/index.ts +3 -0
  390. package/src/components/table-cell-header/TableCellHeader.tsx +274 -0
  391. package/src/components/table-cell-header/TableCellHeaderProps.ts +34 -0
  392. package/src/components/table-cell-header/TableCellHeaderRef.ts +6 -0
  393. package/src/components/table-cell-header/TableCellHeaderSort.ts +4 -0
  394. package/src/components/table-cell-header/_sort-icon/SortIcon.tsx +136 -0
  395. package/src/components/table-cell-header/_sort-icon/SortIconProps.ts +11 -0
  396. package/src/components/table-cell-header/_sort-icon/SortIconRef.ts +3 -0
  397. package/src/components/table-cell-header/_sort-icon/index.ts +3 -0
  398. package/src/components/table-cell-header/index.ts +4 -0
  399. package/src/components/table-cell-icon/TableCellIcon.tsx +54 -0
  400. package/src/components/table-cell-icon/TableCellIconProps.ts +16 -0
  401. package/src/components/table-cell-icon/TableCellIconRef.ts +4 -0
  402. package/src/components/table-cell-icon/index.ts +3 -0
  403. package/src/components/table-cell-text/TableCellText.tsx +111 -0
  404. package/src/components/table-cell-text/TableCellTextProps.ts +9 -0
  405. package/src/components/table-cell-text/TableCellTextRef.ts +6 -0
  406. package/src/components/table-cell-text/index.ts +3 -0
  407. package/src/components/table-row/TableRow.tsx +271 -0
  408. package/src/components/table-row/TableRowInteractiveState.ts +4 -0
  409. package/src/components/table-row/TableRowProps.ts +45 -0
  410. package/src/components/table-row/TableRowRef.ts +6 -0
  411. package/src/components/table-row/TableRowSize.ts +9 -0
  412. package/src/components/table-row/_TableRowContext.ts +17 -0
  413. package/src/components/table-row/_style-sheet-height.ts +27 -0
  414. package/src/components/table-row/index.ts +5 -0
  415. package/src/components/table-row-header/TableRowHeader.tsx +115 -0
  416. package/src/components/table-row-header/TableRowHeaderProps.ts +13 -0
  417. package/src/components/table-row-header/TableRowHeaderRef.ts +6 -0
  418. package/src/components/table-row-header/_TableRowHeaderContext.ts +19 -0
  419. package/src/components/table-row-header/index.ts +3 -0
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TableRowContext = void 0;
7
+ var _react = require("react");
8
+ const TableRowContext = exports.TableRowContext = /*#__PURE__*/(0, _react.createContext)({
9
+ interactiveState: "normal",
10
+ hovered: false
11
+ });
12
+ //# sourceMappingURL=_TableRowContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","TableRowContext","exports","createContext","interactiveState","hovered"],"sourceRoot":"../../../../src","sources":["components/table-row/_TableRowContext.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAaO,MAAMC,eAAe,GAAAC,OAAA,CAAAD,eAAA,gBAAG,IAAAE,oBAAa,EAAkB;EAC7DC,gBAAgB,EAAE,QAAQ;EAC1BC,OAAO,EAAE;AACV,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.StyleSheetHeight = void 0;
7
+ var _reactNative = require("react-native");
8
+ const StyleSheetHeight = exports.StyleSheetHeight = _reactNative.StyleSheet.create({
9
+ extra_small: {
10
+ height: 24
11
+ },
12
+ small: {
13
+ height: 32
14
+ },
15
+ medium: {
16
+ height: 40
17
+ },
18
+ large: {
19
+ height: 48
20
+ },
21
+ extra_large: {
22
+ height: 64
23
+ }
24
+ });
25
+ //# sourceMappingURL=_style-sheet-height.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","StyleSheetHeight","exports","StyleSheet","create","extra_small","height","small","medium","large","extra_large"],"sourceRoot":"../../../../src","sources":["components/table-row/_style-sheet-height.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AASO,MAAMC,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAC5BE,uBAAU,CAACC,MAAM,CAAC;EACjBC,WAAW,EAAE;IACZC,MAAM,EAAE;EACT,CAAC;EACDC,KAAK,EAAE;IACND,MAAM,EAAE;EACT,CAAC;EACDE,MAAM,EAAE;IACPF,MAAM,EAAE;EACT,CAAC;EACDG,KAAK,EAAE;IACNH,MAAM,EAAE;EACT,CAAC;EACDI,WAAW,EAAE;IACZJ,MAAM,EAAE;EACT;AACD,CAAoE,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _TableRow = require("./TableRow.js");
7
+ Object.keys(_TableRow).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _TableRow[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _TableRow[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_TableRow","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/table-row/index.ts"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TableRowHeader = void 0;
7
+ var _react = require("react");
8
+ var CarbonStyleSheet = _interopRequireWildcard(require("../../carbon-style-sheet/index.js"));
9
+ var _index2 = require("../box/index.js");
10
+ var _index3 = require("../layer/index.js");
11
+ var _TableContext = require("../table/_TableContext.js");
12
+ var _styleSheetHeight = require("../table-row/_style-sheet-height.js");
13
+ var _TableRowHeaderContext = require("./_TableRowHeaderContext.js");
14
+ var _jsxRuntime = require("react/jsx-runtime");
15
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
16
+ const TableRowHeader = exports.TableRowHeader = /*#__PURE__*/(0, _react.forwardRef)(function TableRowHeader({
17
+ size: sizeProp,
18
+ role = "row",
19
+ style,
20
+ children,
21
+ ...props
22
+ }, ref) {
23
+ CarbonStyleSheet.use();
24
+ const layerContext = (0, _react.useContext)(_index3.LayerContext),
25
+ tableContext = (0, _react.useContext)(_TableContext.TableContext),
26
+ size = (0, _react.useMemo)(() => {
27
+ return sizeProp ?? tableContext.rowSize;
28
+ }, [sizeProp, tableContext.rowSize]);
29
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TableRowHeaderContext.TableRowHeaderContext.Provider, {
30
+ value: {
31
+ inRowHeader: true,
32
+ size
33
+ },
34
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Box, {
35
+ ref: ref,
36
+ ...props,
37
+ role: role,
38
+ style: [CarbonStyleSheet.g.flex_auto, CarbonStyleSheet.g.flex_row, _styleSheetHeight.StyleSheetHeight[size], styleSheetBG[`normal_${layerContext}`], style],
39
+ children: children
40
+ })
41
+ });
42
+ });
43
+ const styleSheetBG = CarbonStyleSheet.create({
44
+ normal_1: {
45
+ backgroundColor: CarbonStyleSheet.color.layer_accent_01
46
+ },
47
+ normal_2: {
48
+ backgroundColor: CarbonStyleSheet.color.layer_accent_02
49
+ },
50
+ normal_3: {
51
+ backgroundColor: CarbonStyleSheet.color.layer_accent_02
52
+ }
53
+ });
54
+ //# sourceMappingURL=TableRowHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","CarbonStyleSheet","_interopRequireWildcard","_index2","_index3","_TableContext","_styleSheetHeight","_TableRowHeaderContext","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TableRowHeader","exports","forwardRef","size","sizeProp","role","style","children","props","ref","use","layerContext","useContext","LayerContext","tableContext","TableContext","useMemo","rowSize","jsx","TableRowHeaderContext","Provider","value","inRowHeader","Box","g","flex_auto","flex_row","StyleSheetHeight","styleSheetBG","create","normal_1","backgroundColor","color","layer_accent_01","normal_2","layer_accent_02","normal_3"],"sourceRoot":"../../../../src","sources":["components/table-row-header/TableRowHeader.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAcA,IAAAC,gBAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AAIA,IAAAK,aAAA,GAAAL,OAAA;AAIA,IAAAM,iBAAA,GAAAN,OAAA;AAYA,IAAAO,sBAAA,GAAAP,OAAA;AAEiC,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,wBAAAO,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAT,uBAAA,YAAAA,CAAAO,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA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9BC,KAAK,EAAE;MACNC,WAAW,EAAE,IAAI;MACjBnB;IACD,CAAE;IAAAI,QAAA,eAEF,IAAA3B,WAAA,CAAAsC,GAAA,EAAC3C,OAAA,CAAAgD,GAAG;MACHd,GAAG,EAAGA,GAAK;MAAA,GACND,KAAK;MACVH,IAAI,EAAGA,IAAM;MACbC,KAAK,EAAG,CACPjC,gBAAgB,CAACmD,CAAC,CAACC,SAAS,EAC5BpD,gBAAgB,CAACmD,CAAC,CAACE,QAAQ,EAC3BC,kCAAgB,CAACxB,IAAI,CAAC,EACtByB,YAAY,CAAC,UAAUjB,YAAY,EAAE,CAAC,EACtCL,KAAK,CACH;MAAAC,QAAA,EAEDA;IAAQ,CACN;EAAC,CACyB,CAAC;AAGnC,CACD,CAAC;AAED,MACCqB,YAAY,GACXvD,gBAAgB,CAACwD,MAAM,CAAC;EACvBC,QAAQ,EAAE;IACTC,eAAe,EAAE1D,gBAAgB,CAAC2D,KAAK,CAACC;EACzC,CAAC;EACDC,QAAQ,EAAE;IACTH,eAAe,EAAE1D,gBAAgB,CAAC2D,KAAK,CAACG;EACzC,CAAC;EACDC,QAAQ,EAAE;IACTL,eAAe,EAAE1D,gBAAgB,CAAC2D,KAAK,CAACG;EACzC;AACD,CAEC,CAAC","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=TableRowHeaderProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-row-header/TableRowHeaderProps.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=TableRowHeaderRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-row-header/TableRowHeaderRef.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TableRowHeaderContext = void 0;
7
+ var _react = require("react");
8
+ const TableRowHeaderContext = exports.TableRowHeaderContext = /*#__PURE__*/(0, _react.createContext)({
9
+ // Have to provide false as initial value
10
+ // to tell the `TableCellText` that it is not used inside of `TableRowHeader`
11
+ inRowHeader: false,
12
+ size: "large"
13
+ });
14
+ //# sourceMappingURL=_TableRowHeaderContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","TableRowHeaderContext","exports","createContext","inRowHeader","size"],"sourceRoot":"../../../../src","sources":["components/table-row-header/_TableRowHeaderContext.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAaO,MAAMC,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,gBAAG,IAAAE,oBAAa,EAAwB;EACzE;EACA;EACAC,WAAW,EAAE,KAAK;EAClBC,IAAI,EAAE;AACP,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _TableRowHeader = require("./TableRowHeader.js");
7
+ Object.keys(_TableRowHeader).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _TableRowHeader[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _TableRowHeader[key];
14
+ }
15
+ });
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_TableRowHeader","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/table-row-header/index.ts"],"mappings":";;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,eAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,eAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,eAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,8 +1,175 @@
1
1
  "use strict";
2
2
 
3
- import { Color } from "@audira/carbon-react-native-elements";
4
- export const color = Object.keys(Color.Token.gray_10).reduce((acc, key) => {
5
- acc[key] = key;
6
- return acc;
7
- }, {});
3
+ // Generated
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
+
6
+ export const background = "#f4f4f4|#000000";
7
+ export const background_active = "rgba(141,141,141,0.5)|rgba(141,141,141,0.4)";
8
+ export const background_brand = "#0f62fe|#0f62fe";
9
+ export const background_hover = "rgba(141,141,141,0.12)|rgba(141,141,141,0.16)";
10
+ export const background_inverse = "#393939|#f4f4f4";
11
+ export const background_inverse_hover = "#474747|#e8e8e8";
12
+ export const background_selected = "rgba(141,141,141,0.2)|rgba(141,141,141,0.24)";
13
+ export const background_selected_hover = "rgba(141,141,141,0.32)|rgba(141,141,141,0.32)";
14
+ export const border_disabled = "#c6c6c6|rgba(141,141,141,0.5)";
15
+ export const border_interactive = "#0f62fe|#4589ff";
16
+ export const border_inverse = "#161616|#f4f4f4";
17
+ export const border_strong_01 = "#8d8d8d|#6f6f6f";
18
+ export const border_strong_02 = "#8d8d8d|#8d8d8d";
19
+ export const border_strong_03 = "#8d8d8d|#a8a8a8";
20
+ export const border_subtle_00 = "#c6c6c6|#393939";
21
+ export const border_subtle_01 = "#e0e0e0|#393939";
22
+ export const border_subtle_02 = "#c6c6c6|#525252";
23
+ export const border_subtle_03 = "#e0e0e0|#6f6f6f";
24
+ export const border_subtle_selected_01 = "#c6c6c6|#525252";
25
+ export const border_subtle_selected_02 = "#c6c6c6|#6f6f6f";
26
+ export const border_subtle_selected_03 = "#c6c6c6|#8d8d8d";
27
+ export const border_tile_01 = "#a8a8a8|#525252";
28
+ export const border_tile_02 = "#c6c6c6|#6f6f6f";
29
+ export const border_tile_03 = "#a8a8a8|#8d8d8d";
30
+ export const button_danger_active = "#750e13|#750e13";
31
+ export const button_danger_hover = "#b81922|#b81922";
32
+ export const button_danger_primary = "#da1e28|#da1e28";
33
+ export const button_danger_secondary = "#da1e28|#fa4d56";
34
+ export const button_disabled = "#c6c6c6|#525252";
35
+ export const button_primary = "#0f62fe|#0f62fe";
36
+ export const button_primary_active = "#002d9c|#002d9c";
37
+ export const button_primary_hover = "#0050e6|#0050e6";
38
+ export const button_secondary = "#393939|#6f6f6f";
39
+ export const button_secondary_active = "#6f6f6f|#393939";
40
+ export const button_secondary_hover = "#474747|#5e5e5e";
41
+ export const button_separator = "#e0e0e0|#161616";
42
+ export const button_tertiary = "#0f62fe|#ffffff";
43
+ export const button_tertiary_active = "#002d9c|#c6c6c6";
44
+ export const button_tertiary_hover = "#0050e6|#f4f4f4";
45
+ export const field_01 = "#ffffff|#262626";
46
+ export const field_02 = "#f4f4f4|#393939";
47
+ export const field_03 = "#ffffff|#525252";
48
+ export const field_hover_01 = "#e8e8e8|#333333";
49
+ export const field_hover_02 = "#e8e8e8|#474747";
50
+ export const field_hover_03 = "#e8e8e8|#636363";
51
+ export const focus = "#0f62fe|#ffffff";
52
+ export const focus_inset = "#ffffff|#161616";
53
+ export const focus_inverse = "#ffffff|#0f62fe";
54
+ export const highlight = "#d0e2ff|#001d6c";
55
+ export const icon_disabled = "rgba(22,22,22,0.25)|rgba(244,244,244,0.25)";
56
+ export const icon_interactive = "#0f62fe|#ffffff";
57
+ export const icon_inverse = "#ffffff|#161616";
58
+ export const icon_on_color = "#ffffff|#ffffff";
59
+ export const icon_on_color_disabled = "#8d8d8d|rgba(255,255,255,0.25)";
60
+ export const icon_primary = "#161616|#f4f4f4";
61
+ export const icon_secondary = "#525252|#c6c6c6";
62
+ export const interactive = "#0f62fe|#4589ff";
63
+ export const layer_01 = "#ffffff|#262626";
64
+ export const layer_02 = "#f4f4f4|#393939";
65
+ export const layer_03 = "#ffffff|#525252";
66
+ export const layer_accent_01 = "#e0e0e0|#393939";
67
+ export const layer_accent_02 = "#e0e0e0|#525252";
68
+ export const layer_accent_03 = "#e0e0e0|#6f6f6f";
69
+ export const layer_accent_active_01 = "#a8a8a8|#525252";
70
+ export const layer_accent_active_02 = "#a8a8a8|#8d8d8d";
71
+ export const layer_accent_active_03 = "#a8a8a8|#393939";
72
+ export const layer_accent_hover_01 = "#d1d1d1|#474747";
73
+ export const layer_accent_hover_02 = "#d1d1d1|#636363";
74
+ export const layer_accent_hover_03 = "#d1d1d1|#5e5e5e";
75
+ export const layer_active_01 = "#c6c6c6|#525252";
76
+ export const layer_active_02 = "#c6c6c6|#6f6f6f";
77
+ export const layer_active_03 = "#c6c6c6|#8d8d8d";
78
+ export const layer_hover_01 = "#e8e8e8|#333333";
79
+ export const layer_hover_02 = "#e8e8e8|#474747";
80
+ export const layer_hover_03 = "#e8e8e8|#636363";
81
+ export const layer_selected_01 = "#e0e0e0|#393939";
82
+ export const layer_selected_02 = "#e0e0e0|#525252";
83
+ export const layer_selected_03 = "#e0e0e0|#6f6f6f";
84
+ export const layer_selected_disabled = "#8d8d8d|#6f6f6f";
85
+ export const layer_selected_hover_01 = "#d1d1d1|#474747";
86
+ export const layer_selected_hover_02 = "#d1d1d1|#636363";
87
+ export const layer_selected_hover_03 = "#d1d1d1|#5e5e5e";
88
+ export const layer_selected_inverse = "#161616|#f4f4f4";
89
+ export const link_inverse = "#78a9ff|#0f62fe";
90
+ export const link_inverse_active = "#f4f4f4|#161616";
91
+ export const link_inverse_hover = "#a6c8ff|#0043ce";
92
+ export const link_inverse_visited = "#be95ff|#8a3ffc";
93
+ export const link_primary = "#0f62fe|#78a9ff";
94
+ export const link_primary_hover = "#0043ce|#a6c8ff";
95
+ export const link_secondary = "#0043ce|#a6c8ff";
96
+ export const link_visited = "#8a3ffc|#be95ff";
97
+ export const notification_action_hover = "#ffffff|#333333";
98
+ export const notification_action_tertiary_inverse = "#ffffff|#0f62fe";
99
+ export const notification_action_tertiary_inverse_active = "#ffffff|#161616";
100
+ export const notification_action_tertiary_inverse_hover = "#c6c6c6|#002d9c";
101
+ export const notification_action_tertiary_inverse_text = "#161616|#ffffff";
102
+ export const notification_action_tertiary_inverse_text_on_color_disabled = "#ffffff|#ffffff";
103
+ export const notification_error_background = "#fff1f1|#262626";
104
+ export const notification_error_border = "rgba(218,30,40,0.3)|rgba(255,131,137,0.5)";
105
+ export const notification_info_background = "#edf5ff|#262626";
106
+ export const notification_info_border = "rgba(0,67,206,0.3)|rgba(69,137,255,0.5)";
107
+ export const notification_success_background = "#defbe6|#262626";
108
+ export const notification_success_border = "rgba(36,161,72,0.3)|rgba(66,190,101,0.5)";
109
+ export const notification_warning_background = "#fcf4d6|#262626";
110
+ export const notification_warning_border = "rgba(241,194,27,0.3)|rgba(178,134,0,0.5)";
111
+ export const overlay = "rgba(22,22,22,0.5)|rgba(22,22,22,0.7)";
112
+ export const skeleton_background = "#e8e8e8|#474747";
113
+ export const skeleton_element = "#c6c6c6|#525252";
114
+ export const support_caution_major = "#ff832b|#ff832b";
115
+ export const support_caution_minor = "#f1c21b|#f1c21b";
116
+ export const support_caution_undefined = "#8a3ffc|#a56eff";
117
+ export const support_error = "#da1e28|#fa4d56";
118
+ export const support_error_inverse = "#fa4d56|#da1e28";
119
+ export const support_info = "#0043ce|#4589ff";
120
+ export const support_info_inverse = "#4589ff|#0043ce";
121
+ export const support_success = "#24a148|#42be65";
122
+ export const support_success_inverse = "#42be65|#24a148";
123
+ export const support_warning = "#f1c21b|#f1c21b";
124
+ export const support_warning_inverse = "#f1c21b|#f1c21b";
125
+ export const tag_background_blue = "#d0e2ff|#0043ce";
126
+ export const tag_background_cool_gray = "#dde1e6|#4d5358";
127
+ export const tag_background_cyan = "#bae6ff|#00539a";
128
+ export const tag_background_gray = "#e0e0e0|#525252";
129
+ export const tag_background_green = "#a7f0ba|#0e6027";
130
+ export const tag_background_magenta = "#ffd6e8|#9f1853";
131
+ export const tag_background_purple = "#e8daff|#6929c4";
132
+ export const tag_background_red = "#ffd7d9|#a2191f";
133
+ export const tag_background_teal = "#9ef0f0|#005d5d";
134
+ export const tag_background_warm_gray = "#e5e0df|#565151";
135
+ export const tag_border_blue = "#78a9ff|#4589ff";
136
+ export const tag_border_cool_gray = "#a2a9b0|#878d96";
137
+ export const tag_border_cyan = "#33b1ff|#1192e8";
138
+ export const tag_border_gray = "#a8a8a8|#8d8d8d";
139
+ export const tag_border_green = "#42be65|#24a148";
140
+ export const tag_border_magenta = "#ff7eb6|#ee5396";
141
+ export const tag_border_purple = "#be95ff|#a56eff";
142
+ export const tag_border_red = "#ff8389|#fa4d56";
143
+ export const tag_border_teal = "#08bdba|#009d9a";
144
+ export const tag_border_warm_gray = "#ada8a8|#8f8b8b";
145
+ export const tag_color_blue = "#0043ce|#d0e2ff";
146
+ export const tag_color_cool_gray = "#121619|#dde1e6";
147
+ export const tag_color_cyan = "#00539a|#bae6ff";
148
+ export const tag_color_gray = "#161616|#e0e0e0";
149
+ export const tag_color_green = "#0e6027|#a7f0ba";
150
+ export const tag_color_magenta = "#9f1853|#ffd6e8";
151
+ export const tag_color_purple = "#6929c4|#e8daff";
152
+ export const tag_color_red = "#a2191f|#ffd7d9";
153
+ export const tag_color_teal = "#005d5d|#9ef0f0";
154
+ export const tag_color_warm_gray = "#171414|#e5e0df";
155
+ export const tag_hover_blue = "#b8d3ff|#0053ff";
156
+ export const tag_hover_cool_gray = "#cdd3da|#5d646a";
157
+ export const tag_hover_cyan = "#99daff|#0066bd";
158
+ export const tag_hover_gray = "#d1d1d1|#636363";
159
+ export const tag_hover_green = "#74e792|#11742f";
160
+ export const tag_hover_magenta = "#ffbdda|#bf1d63";
161
+ export const tag_hover_purple = "#dcc7ff|#7c3dd6";
162
+ export const tag_hover_red = "#ffc2c5|#c21e25";
163
+ export const tag_hover_teal = "#57e5e5|#007070";
164
+ export const tag_hover_warm_gray = "#d8d0cf|#696363";
165
+ export const text_disabled = "rgba(22,22,22,0.25)|rgba(244,244,244,0.25)";
166
+ export const text_error = "#da1e28|#ff8389";
167
+ export const text_helper = "#6f6f6f|#8d8d8d";
168
+ export const text_inverse = "#ffffff|#161616";
169
+ export const text_on_color = "#ffffff|#ffffff";
170
+ export const text_on_color_disabled = "#8d8d8d|rgba(255,255,255,0.25)";
171
+ export const text_placeholder = "#a8a8a8|#6f6f6f";
172
+ export const text_primary = "#161616|#f4f4f4";
173
+ export const text_secondary = "#525252|#c6c6c6";
174
+ export const toggle_off = "#8d8d8d|#6f6f6f";
8
175
  //# sourceMappingURL=color.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Color","color","Object","keys","Token","gray_10","reduce","acc","key"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/color.ts"],"mappings":";;AAAA,SACCA,KAAK,QAEC,sCAAsC;AAE7C,OAAO,MAAMC,KAAK,GACjBC,MAAM,CACJC,IAAI,CAACH,KAAK,CAACI,KAAK,CAACC,OAAO,CAAC,CACzBC,MAAM,CAAiC,CAACC,GAAG,EAAEC,GAAG,KAAK;EACrDD,GAAG,CAACC,GAAG,CAAe,GAAGA,GAAiB;EAC1C,OAAOD,GAAG;AACX,CAAC,EAAE,CACH,CAAmC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["background","background_active","background_brand","background_hover","background_inverse","background_inverse_hover","background_selected","background_selected_hover","border_disabled","border_interactive","border_inverse","border_strong_01","border_strong_02","border_strong_03","border_subtle_00","border_subtle_01","border_subtle_02","border_subtle_03","border_subtle_selected_01","border_subtle_selected_02","border_subtle_selected_03","border_tile_01","border_tile_02","border_tile_03","button_danger_active","button_danger_hover","button_danger_primary","button_danger_secondary","button_disabled","button_primary","button_primary_active","button_primary_hover","button_secondary","button_secondary_active","button_secondary_hover","button_separator","button_tertiary","button_tertiary_active","button_tertiary_hover","field_01","field_02","field_03","field_hover_01","field_hover_02","field_hover_03","focus","focus_inset","focus_inverse","highlight","icon_disabled","icon_interactive","icon_inverse","icon_on_color","icon_on_color_disabled","icon_primary","icon_secondary","interactive","layer_01","layer_02","layer_03","layer_accent_01","layer_accent_02","layer_accent_03","layer_accent_active_01","layer_accent_active_02","layer_accent_active_03","layer_accent_hover_01","layer_accent_hover_02","layer_accent_hover_03","layer_active_01","layer_active_02","layer_active_03","layer_hover_01","layer_hover_02","layer_hover_03","layer_selected_01","layer_selected_02","layer_selected_03","layer_selected_disabled","layer_selected_hover_01","layer_selected_hover_02","layer_selected_hover_03","layer_selected_inverse","link_inverse","link_inverse_active","link_inverse_hover","link_inverse_visited","link_primary","link_primary_hover","link_secondary","link_visited","notification_action_hover","notification_action_tertiary_inverse","notification_action_tertiary_inverse_active","notification_action_tertiary_inverse_hover","notification_action_tertiary_inverse_text","notification_action_tertiary_inverse_text_on_color_disabled","notification_error_background","notification_error_border","notification_info_background","notification_info_border","notification_success_background","notification_success_border","notification_warning_background","notification_warning_border","overlay","skeleton_background","skeleton_element","support_caution_major","support_caution_minor","support_caution_undefined","support_error","support_error_inverse","support_info","support_info_inverse","support_success","support_success_inverse","support_warning","support_warning_inverse","tag_background_blue","tag_background_cool_gray","tag_background_cyan","tag_background_gray","tag_background_green","tag_background_magenta","tag_background_purple","tag_background_red","tag_background_teal","tag_background_warm_gray","tag_border_blue","tag_border_cool_gray","tag_border_cyan","tag_border_gray","tag_border_green","tag_border_magenta","tag_border_purple","tag_border_red","tag_border_teal","tag_border_warm_gray","tag_color_blue","tag_color_cool_gray","tag_color_cyan","tag_color_gray","tag_color_green","tag_color_magenta","tag_color_purple","tag_color_red","tag_color_teal","tag_color_warm_gray","tag_hover_blue","tag_hover_cool_gray","tag_hover_cyan","tag_hover_gray","tag_hover_green","tag_hover_magenta","tag_hover_purple","tag_hover_red","tag_hover_teal","tag_hover_warm_gray","text_disabled","text_error","text_helper","text_inverse","text_on_color","text_on_color_disabled","text_placeholder","text_primary","text_secondary","toggle_off"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/color.ts"],"mappings":";;AAAA;AACA;;AAEA,OAAO,MAAMA,UAAU,GAAG,iBAAiB;AAC3C,OAAO,MAAMC,iBAAiB,GAAG,6CAA6C;AAC9E,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,+CAA+C;AAC/E,OAAO,MAAMC,kBAAkB,GAAG,iBAAiB;AACnD,OAAO,MAAMC,wBAAwB,GAAG,iBAAiB;AACzD,OAAO,MAAMC,mBAAmB,GAAG,8CAA8C;AACjF,OAAO,MAAMC,yBAAyB,GAAG,+CAA+C;AACxF,OAAO,MAAMC,eAAe,GAAG,+BAA+B;AAC9D,OAAO,MAAMC,kBAAkB,GAAG,iBAAiB;AACnD,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,yBAAyB,GAAG,iBAAiB;AAC1D,OAAO,MAAMC,yBAAyB,GAAG,iBAAiB;AAC1D,OAAO,MAAMC,yBAAyB,GAAG,iBAAiB;AAC1D,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,oBAAoB,GAAG,iBAAiB;AACrD,OAAO,MAAMC,mBAAmB,GAAG,iBAAiB;AACpD,OAAO,MAAMC,qBAAqB,GAAG,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BAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9C,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,mBAAmB,GAAG,iBAAiB;AACpD,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,mBAAmB,GAAG,iBAAiB;AACpD,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,eAAe,GAAG,iBAAiB;AAChD,OAAO,MAAMC,iBAAiB,GAAG,iBAAiB;AAClD,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9C,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,mBAAmB,GAAG,iBAAiB;AACpD,OAAO,MAAMC,aAAa,GAAG,4CAA4C;AACzE,OAAO,MAAMC,UAAU,GAAG,iBAAiB;AAC3C,OAAO,MAAMC,WAAW,GAAG,iBAAiB;AAC5C,OAAO,MAAMC,YAAY,GAAG,iBAAiB;AAC7C,OAAO,MAAMC,aAAa,GAAG,iBAAiB;AAC9C,OAAO,MAAMC,sBAAsB,GAAG,gCAAgC;AACtE,OAAO,MAAMC,gBAAgB,GAAG,iBAAiB;AACjD,OAAO,MAAMC,YAAY,GAAG,iBAAiB;AAC7C,OAAO,MAAMC,cAAc,GAAG,iBAAiB;AAC/C,OAAO,MAAMC,UAAU,GAAG,iBAAiB","ignoreList":[]}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
 
3
3
  import { StyleSheet } from "react-native";
4
- import { Color } from "@audira/carbon-react-native-elements";
5
4
  import { BreakpointGlobal, ColorSchemeGlobal } from "../_internal/globals/index.js";
6
5
  import { breakpoint as breakpointStyleProps } from "./breakpoint.js";
7
6
  /**
@@ -42,39 +41,58 @@ import { breakpoint as breakpointStyleProps } from "./breakpoint.js";
42
41
  */
43
42
  export function create(styles) {
44
43
  const normalStyle = {},
45
- coloredStyle = {},
44
+ carbonColoredStyle = {},
46
45
  breakpointStyle = {};
47
46
  let containBreakpointStyle = false;
48
47
  for (const name in styles) {
49
48
  const style = styles[name];
50
- for (const styleProp in style) {
51
- if (breakpointStyleProps[styleProp]) {
49
+ for (const styleAttr in style) {
50
+ if (breakpointStyleProps[styleAttr]) {
52
51
  containBreakpointStyle = true;
53
- breakpointStyle[`${styleProp}${name}`] = style[styleProp];
54
- } else if (colorStyleProps.indexOf(styleProp) > -1) {
52
+ breakpointStyle[`${styleAttr}${name}`] = style[styleAttr];
53
+ } else if (colorStyleAttrs[styleAttr]) {
54
+ // Resolve color string to the Carbon color (if any) for style prop or attribute that contain 'color'
55
+ // in the name like 'color', 'backgroundColor', 'borderColor', etc.,
56
+ // and the color value contains "|"
57
+ // If it does, it's a color token references that formatted in `gray_10|gray_100`
58
+
59
+ // For instance,
60
+ // if user want to modify `backgroundColor` with `CarbonStyleSheet.create` and using
61
+ // `CarbonStyleSheet.color.background`
62
+ // The `CarbonStyleSheet.color.background` itself is storing two color for gray_10 and gray_100
63
+ // in single string, which is `#f4f4f4|#000000`
64
+ // So we need to split them and make correct React Native StyleSheet
65
+ // with the same style attribute, for gray_10 and gray_100
66
+
67
+ const colorStr = style[styleAttr];
68
+
55
69
  /**
56
- * Resolve color string to the Carbon color (if any) for style prop or attribute that contain 'color' in the name like 'color', 'backgroundColor', 'borderColor', etc
57
- * @see {@link colorStyleProps}
70
+ * It's color token references
71
+ *
72
+ * For instance,
73
+ * `#f4f4f4|#000000`. It's formatted in `gray_10|gray_100`.
58
74
  */
59
-
60
- const coloredStyleName_G10 = `${prefixColorStyleName.gray_10}${name}`,
61
- coloredStyleName_G100 = `${prefixColorStyleName.gray_100}${name}`;
62
- if (!coloredStyle[coloredStyleName_G10]) {
63
- coloredStyle[coloredStyleName_G10] = {};
64
- }
65
- if (!coloredStyle[coloredStyleName_G100]) {
66
- coloredStyle[coloredStyleName_G100] = {};
75
+ const carbonColorToken = colorStr.split("|");
76
+ if (carbonColorToken.length > 1) {
77
+ const coloredStyleName_G10 = `${prefixColorStyleName.gray_10}${name}`,
78
+ coloredStyleName_G100 = `${prefixColorStyleName.gray_100}${name}`;
79
+ if (!carbonColoredStyle[coloredStyleName_G10]) {
80
+ carbonColoredStyle[coloredStyleName_G10] = {};
81
+ }
82
+ if (!carbonColoredStyle[coloredStyleName_G100]) {
83
+ carbonColoredStyle[coloredStyleName_G100] = {};
84
+ }
85
+ const colorStyleAttr = styleAttr;
86
+ carbonColoredStyle[coloredStyleName_G10][colorStyleAttr] = carbonColorToken[0];
87
+ carbonColoredStyle[coloredStyleName_G100][colorStyleAttr] = carbonColorToken[1];
67
88
  }
68
- const colorStr = style[styleProp];
69
- coloredStyle[coloredStyleName_G10][styleProp] = Color.Token.gray_10.all[colorStr] || colorStr;
70
- coloredStyle[coloredStyleName_G100][styleProp] = Color.Token.gray_100.all[colorStr] || colorStr;
71
89
  } else {
72
90
  normalStyle[name] = style;
73
91
  }
74
92
  }
75
93
  }
76
94
  const normalStyleSheet = StyleSheet.create(normalStyle),
77
- coloredStyleSheet = StyleSheet.create(coloredStyle),
95
+ coloredStyleSheet = StyleSheet.create(carbonColoredStyle),
78
96
  breakpointStyleSheet = StyleSheet.create(breakpointStyle);
79
97
  return Object.keys(styles).reduce((acc, styleName) => {
80
98
  Object.defineProperty(acc, styleName, {
@@ -87,7 +105,26 @@ export function create(styles) {
87
105
  return acc;
88
106
  }, {});
89
107
  }
90
- const colorStyleProps = ["backgroundColor", "borderColor", "borderEndColor", "borderStartColor", "borderTopColor", "borderBottomColor", "borderLeftColor", "borderRightColor", "borderBlockColor", "borderBlockEndColor", "borderBlockStartColor", "color", "outlineColor", "overlayColor", "textDecorationColor", "textShadowColor", "tintColor", "shadowColor"],
108
+ const colorStyleAttrs = {
109
+ backgroundColor: "backgroundColor",
110
+ borderColor: "borderColor",
111
+ borderEndColor: "borderEndColor",
112
+ borderStartColor: "borderStartColor",
113
+ borderTopColor: "borderTopColor",
114
+ borderBottomColor: "borderBottomColor",
115
+ borderLeftColor: "borderLeftColor",
116
+ borderRightColor: "borderRightColor",
117
+ borderBlockColor: "borderBlockColor",
118
+ borderBlockEndColor: "borderBlockEndColor",
119
+ borderBlockStartColor: "borderBlockStartColor",
120
+ color: "color",
121
+ outlineColor: "outlineColor",
122
+ overlayColor: "overlayColor",
123
+ textDecorationColor: "textDecorationColor",
124
+ textShadowColor: "textShadowColor",
125
+ tintColor: "tintColor",
126
+ shadowColor: "shadowColor"
127
+ },
91
128
  prefixColorStyleName = {
92
129
  gray_10: "gray_10__",
93
130
  gray_100: "gray_100__"
@@ -1 +1 @@
1
- {"version":3,"names":["StyleSheet","Color","BreakpointGlobal","ColorSchemeGlobal","breakpoint","breakpointStyleProps","create","styles","normalStyle","coloredStyle","breakpointStyle","containBreakpointStyle","name","style","styleProp","colorStyleProps","indexOf","coloredStyleName_G10","prefixColorStyleName","gray_10","coloredStyleName_G100","gray_100","colorStr","Token","all","normalStyleSheet","coloredStyleSheet","breakpointStyleSheet","Object","keys","reduce","acc","styleName","defineProperty","get","colorScheme","getBreakpointUpStyle","breakpointDown","bpSliced","slice","i","length","bpStyle"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/create.ts"],"mappings":";;AAAA,SACCA,UAAU,QAIJ,cAAc;AAErB,SACCC,KAAK,QAGC,sCAAsC;AAE7C,SACCC,gBAAgB,EAChBC,iBAAiB,QACX,+BAAsB;AAM7B,SACCC,UAAU,IAAIC,oBAAoB,QAC5B,iBAAc;AAcrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CACrBC,MAAc,EACL;EACT,MACCC,WAAkC,GACjC,CAAC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ACd,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,aAAa,CACJ;EAEXG,oBAA2D,GAC1D;IACCC,OAAO,EAAE,WAAW;IACpBE,QAAQ,EAAE;EACX,CAAC;EAEFgB,cAAiC,GAChC,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;AAEhD,SAASD,oBAAoBA,CAC5BhC,UAA2B,EAC3BM,eAAsC,EACtCsB,SAAiB,EACF;EACf,MAAMM,QAAQ,GAAGD,cAAc,CAACE,KAAK,CAACF,cAAc,CAACrB,OAAO,CAACZ,UAAU,CAAC,CAAC;EACzE,IAAIS,KAAmB,GAAG,IAAI;EAE9B,KAAI,IAAI2B,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,QAAQ,CAACG,MAAM,EAAED,CAAC,EAAE,EAAE;IACxC,MAAME,OAAO,GAAGhC,eAAe,CAAC,GAAG4B,QAAQ,CAACE,CAAC,CAAC,GAAGR,SAAS,EAAE,CAAC;IAC7D,IAAGU,OAAO,EAAE;MACX7B,KAAK,GAAG6B,OAAO;MACf;IACD;EACD;EAEA,OAAO7B,KAAK;AACb","ignoreList":[]}
1
+ {"version":3,"names":["StyleSheet","BreakpointGlobal","ColorSchemeGlobal","breakpoint","breakpointStyleProps","create","styles","normalStyle","carbonColoredStyle","breakpointStyle","containBreakpointStyle","name","style","styleAttr","colorStyleAttrs","colorStr","carbonColorToken","split","length","coloredStyleName_G10","prefixColorStyleName","gray_10","coloredStyleName_G100","gray_100","colorStyleAttr","normalStyleSheet","coloredStyleSheet","breakpointStyleSheet","Object","keys","reduce","acc","styleName","defineProperty","get","colorScheme","getBreakpointUpStyle","backgroundColor","borderColor","borderEndColor","borderStartColor","borderTopColor","borderBottomColor","borderLeftColor","borderRightColor","borderBlockColor","borderBlockEndColor","borderBlockStartColor","color","outlineColor","overlayColor","textDecorationColor","textShadowColor","tintColor","shadowColor","breakpointDown","bpSliced","slice","indexOf","i","bpStyle"],"sourceRoot":"../../../src","sources":["carbon-style-sheet/create.ts"],"mappings":";;AAAA,SACCA,UAAU,QAIJ,cAAc;AAMrB,SACCC,gBAAgB,EAChBC,iBAAiB,QACX,+BAAsB;AAM7B,SACCC,UAAU,IAAIC,oBAAoB,QAC5B,iBAAc;AAqCrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CACrBC,MAAc,EACL;EACT,MACCC,WAAkC,GACjC,CAAC,CAAC;IAEHC,kBAA2E,GAC1E,CAAC,CAAC;IAEHC,eAAsC,GACrC,CAAC,CAAC;EAEJ,IAAIC,sBAAsB,GAAG,KAAK;EAElC,KAAI,MAAMC,IAAI,IAAIL,MAAM,EAAE;IACzB,MAAMM,KAAK,GAAGN,MAAM,CAACK,IAAI,CAAC;IAE1B,KAAI,MAAME,SAAS,IAAID,KAAK,EAAE;MAC7B,IAAIR,oBAAoB,CAA4BS,SAAS,CAAC,EAAE;QAE/DH,sBAAsB,GAAG,IAAI;QAC7BD,eAAe,CAAC,GAAGI,SAAS,GAAGF,IAAI,EAAE,CAAC,GAAIC,KAAK,CAAqBC,SAAS,CAAU;MAExF,CAAC,MAAM,IAAGC,eAAe,CAACD,SAAS,CAAmB,EAAE;QAEvD;QACA;QACA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA,MAAME,QAAQ,GAAIH,KAAK,CAAoCC,SAAS,CAAmB;;QAEvF;AACJ;AACA;AACA;AACA;AACA;QACI,MAAMG,gBAAgB,GAAGD,QAAQ,CAACE,KAAK,CAAC,GAAG,CAAC;QAE5C,IAAGD,gBAAgB,CAACE,MAAM,GAAG,CAAC,EAAE;UAC/B,MACCC,oBAAoB,GACnB,GAAGC,oBAAoB,CAACC,OAAO,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AmB,GAAG,IAAI;EAE9B,KAAI,IAAI+C,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,QAAQ,CAACtC,MAAM,EAAEyC,CAAC,EAAE,EAAE;IACxC,MAAMC,OAAO,GAAGnD,eAAe,CAAC,GAAG+C,QAAQ,CAACG,CAAC,CAAC,GAAG3B,SAAS,EAAE,CAAC;IAC7D,IAAG4B,OAAO,EAAE;MACXhD,KAAK,GAAGgD,OAAO;MACf;IACD;EACD;EAEA,OAAOhD,KAAK;AACb","ignoreList":[]}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated
4
- // Fri, 13 Mar 2026 19:09:53 GMT
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
5
 
6
6
  // To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
7
7
  // instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated
4
- // Fri, 13 Mar 2026 19:09:53 GMT
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
5
 
6
6
  import { StyleSheet } from "react-native";
7
7
  export const {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated
4
- // Fri, 13 Mar 2026 19:09:53 GMT
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
5
 
6
6
  import { StyleSheet } from "react-native";
7
7
  export const {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated
4
- // Fri, 13 Mar 2026 19:09:53 GMT
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
5
 
6
6
  // To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
7
7
  // instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated
4
- // Fri, 13 Mar 2026 19:09:53 GMT
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
5
 
6
6
  export const m_01 = {
7
7
  margin: 2
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated
4
- // Fri, 13 Mar 2026 19:09:53 GMT
4
+ // Fri, 03 Apr 2026 19:29:52 GMT
5
5
 
6
6
  export const text_body_01 = {
7
7
  fontSize: 14,