@audira/carbon-react-native 1.0.0-beta.19 → 1.0.0-beta.20

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 (534) hide show
  1. package/lib/commonjs/components/accordion/_Header.js +15 -15
  2. package/lib/commonjs/components/accordion/_Header.js.map +1 -1
  3. package/lib/commonjs/components/accordion/_HeaderBorder.js +8 -8
  4. package/lib/commonjs/components/accordion/_HeaderBorder.js.map +1 -1
  5. package/lib/commonjs/components/accordion/_Item.js +2 -2
  6. package/lib/commonjs/components/accordion/_Item.js.map +1 -1
  7. package/lib/commonjs/components/box/Box.js +26 -0
  8. package/lib/commonjs/components/box/Box.js.map +1 -0
  9. package/lib/commonjs/components/box/BoxProps.js +6 -0
  10. package/lib/commonjs/components/box/BoxProps.js.map +1 -0
  11. package/lib/commonjs/components/box/BoxRef.js +6 -0
  12. package/lib/commonjs/components/box/BoxRef.js.map +1 -0
  13. package/lib/commonjs/components/box/index.js +17 -0
  14. package/lib/commonjs/components/box/index.js.map +1 -0
  15. package/lib/commonjs/components/button/base/Base.js +2 -8
  16. package/lib/commonjs/components/button/base/Base.js.map +1 -1
  17. package/lib/commonjs/components/button-group/ButtonGroup.js +2 -2
  18. package/lib/commonjs/components/button-group/ButtonGroup.js.map +1 -1
  19. package/lib/commonjs/components/button-group/index.js.map +1 -1
  20. package/lib/commonjs/components/checkbox/Checkbox.js +16 -19
  21. package/lib/commonjs/components/checkbox/Checkbox.js.map +1 -1
  22. package/lib/commonjs/components/checkbox-group/CheckboxGroup.js +11 -21
  23. package/lib/commonjs/components/checkbox-group/CheckboxGroup.js.map +1 -1
  24. package/lib/commonjs/components/checkbox-input/CheckboxInput.js +23 -23
  25. package/lib/commonjs/components/checkbox-input/CheckboxInput.js.map +1 -1
  26. package/lib/commonjs/components/collapsible/Collapsible.js +3 -3
  27. package/lib/commonjs/components/collapsible/Collapsible.js.map +1 -1
  28. package/lib/commonjs/components/form-helper-text/FormHelperText.js +10 -13
  29. package/lib/commonjs/components/form-helper-text/FormHelperText.js.map +1 -1
  30. package/lib/commonjs/components/form-label/FormLabel.js +4 -7
  31. package/lib/commonjs/components/form-label/FormLabel.js.map +1 -1
  32. package/lib/commonjs/components/form-label/index.js.map +1 -1
  33. package/lib/commonjs/components/index.js.map +1 -1
  34. package/lib/commonjs/components/inline-loading/InlineLoading.js +9 -12
  35. package/lib/commonjs/components/inline-loading/InlineLoading.js.map +1 -1
  36. package/lib/commonjs/components/inline-loading/index.js.map +1 -1
  37. package/lib/commonjs/components/layer/index.js.map +1 -1
  38. package/lib/commonjs/components/modal/Modal.js +17 -18
  39. package/lib/commonjs/components/modal/Modal.js.map +1 -1
  40. package/lib/commonjs/components/modal/index.js.map +1 -1
  41. package/lib/commonjs/components/modal-content/ModalContent.js +5 -8
  42. package/lib/commonjs/components/modal-content/ModalContent.js.map +1 -1
  43. package/lib/commonjs/components/modal-content/index.js.map +1 -1
  44. package/lib/commonjs/components/notification/base/Base.js +19 -20
  45. package/lib/commonjs/components/notification/base/Base.js.map +1 -1
  46. package/lib/commonjs/components/password-input-field/_ghost-icon/GhostIcon.js +3 -3
  47. package/lib/commonjs/components/password-input-field/_ghost-icon/GhostIcon.js.map +1 -1
  48. package/lib/commonjs/components/radio-button/RadioButton.js +19 -18
  49. package/lib/commonjs/components/radio-button/RadioButton.js.map +1 -1
  50. package/lib/commonjs/components/radio-button/index.js.map +1 -1
  51. package/lib/commonjs/components/radio-button-group/RadioButtonGroup.js +10 -9
  52. package/lib/commonjs/components/radio-button-group/RadioButtonGroup.js.map +1 -1
  53. package/lib/commonjs/components/radio-button-group/index.js.map +1 -1
  54. package/lib/commonjs/components/radio-button-input/RadioButtonInput.js +25 -25
  55. package/lib/commonjs/components/radio-button-input/RadioButtonInput.js.map +1 -1
  56. package/lib/commonjs/components/radio-button-input/index.js.map +1 -1
  57. package/lib/commonjs/components/switch/Switch.js +10 -10
  58. package/lib/commonjs/components/switch/Switch.js.map +1 -1
  59. package/lib/commonjs/components/text/Text.js +31 -44
  60. package/lib/commonjs/components/text/Text.js.map +1 -1
  61. package/lib/commonjs/components/text-area/index.js.map +1 -1
  62. package/lib/commonjs/components/text-area-field/index.js.map +1 -1
  63. package/lib/commonjs/components/text-area-fluid/TextAreaFluid.js +4 -4
  64. package/lib/commonjs/components/text-area-fluid/TextAreaFluid.js.map +1 -1
  65. package/lib/commonjs/components/text-area-fluid/index.js.map +1 -1
  66. package/lib/commonjs/components/text-input-field/TextInputField.js +33 -20
  67. package/lib/commonjs/components/text-input-field/TextInputField.js.map +1 -1
  68. package/lib/commonjs/components/text-input-field/_rn-text-input/RNTextInput.js +4 -4
  69. package/lib/commonjs/components/text-input-field/_rn-text-input/RNTextInput.js.map +1 -1
  70. package/lib/commonjs/components/text-input-field/index.js.map +1 -1
  71. package/lib/commonjs/components/text-input-fluid/TextInputFluid.js +4 -4
  72. package/lib/commonjs/components/text-input-fluid/TextInputFluid.js.map +1 -1
  73. package/lib/commonjs/components/text-input-fluid/index.js.map +1 -1
  74. package/lib/commonjs/components/toggle/base/Base.js +14 -13
  75. package/lib/commonjs/components/toggle/base/Base.js.map +1 -1
  76. package/lib/commonjs/components/toggle/base/index.js.map +1 -1
  77. package/lib/commonjs/components/toggle/default/index.js.map +1 -1
  78. package/lib/commonjs/components/toggle/index.js.map +1 -1
  79. package/lib/commonjs/components/toggle/small/index.js.map +1 -1
  80. package/lib/commonjs/providers/dialog/_controller/_modal/Modal.js +1 -1
  81. package/lib/commonjs/providers/dialog/_controller/_modal/Modal.js.map +1 -1
  82. package/lib/commonjs/style-sheets/direction-style-sheet.js +10 -0
  83. package/lib/commonjs/style-sheets/direction-style-sheet.js.map +1 -0
  84. package/lib/commonjs/style-sheets/display-style-sheet.js +10 -0
  85. package/lib/commonjs/style-sheets/display-style-sheet.js.map +1 -0
  86. package/lib/commonjs/style-sheets/flex-style-sheet.js +10 -0
  87. package/lib/commonjs/style-sheets/flex-style-sheet.js.map +1 -0
  88. package/lib/commonjs/style-sheets/font-style-sheet.js +10 -0
  89. package/lib/commonjs/style-sheets/font-style-sheet.js.map +1 -0
  90. package/lib/commonjs/style-sheets/height-style-sheet.js +10 -0
  91. package/lib/commonjs/style-sheets/height-style-sheet.js.map +1 -0
  92. package/lib/commonjs/style-sheets/index.js +121 -0
  93. package/lib/commonjs/style-sheets/index.js.map +1 -0
  94. package/lib/commonjs/style-sheets/overflow-style-sheet.js +10 -0
  95. package/lib/commonjs/style-sheets/overflow-style-sheet.js.map +1 -0
  96. package/lib/commonjs/style-sheets/position-style-sheet.js +10 -0
  97. package/lib/commonjs/style-sheets/position-style-sheet.js.map +1 -0
  98. package/lib/commonjs/style-sheets/style-sheet-obj/direction.js +18 -0
  99. package/lib/commonjs/style-sheets/style-sheet-obj/direction.js.map +1 -0
  100. package/lib/commonjs/style-sheets/style-sheet-obj/display.js +15 -0
  101. package/lib/commonjs/style-sheets/style-sheet-obj/display.js.map +1 -0
  102. package/lib/{module/_internal/style-sheets/flex-style-sheet.js → commonjs/style-sheets/style-sheet-obj/flex.js} +25 -4
  103. package/lib/commonjs/style-sheets/style-sheet-obj/flex.js.map +1 -0
  104. package/lib/commonjs/{_internal/style-sheets/text-style-sheet.js → style-sheets/style-sheet-obj/font.js} +4 -5
  105. package/lib/commonjs/style-sheets/style-sheet-obj/font.js.map +1 -0
  106. package/lib/commonjs/style-sheets/style-sheet-obj/height.js +18 -0
  107. package/lib/commonjs/style-sheets/style-sheet-obj/height.js.map +1 -0
  108. package/lib/commonjs/style-sheets/style-sheet-obj/index.js +105 -0
  109. package/lib/commonjs/style-sheets/style-sheet-obj/index.js.map +1 -0
  110. package/lib/commonjs/style-sheets/style-sheet-obj/overflow.js +18 -0
  111. package/lib/commonjs/style-sheets/style-sheet-obj/overflow.js.map +1 -0
  112. package/lib/commonjs/style-sheets/style-sheet-obj/position.js +18 -0
  113. package/lib/commonjs/style-sheets/style-sheet-obj/position.js.map +1 -0
  114. package/lib/commonjs/style-sheets/style-sheet-obj/typography.js +31 -0
  115. package/lib/commonjs/style-sheets/style-sheet-obj/typography.js.map +1 -0
  116. package/lib/commonjs/style-sheets/style-sheet-obj/width.js +18 -0
  117. package/lib/commonjs/style-sheets/style-sheet-obj/width.js.map +1 -0
  118. package/lib/commonjs/style-sheets/typography-style-sheet.js +10 -0
  119. package/lib/commonjs/style-sheets/typography-style-sheet.js.map +1 -0
  120. package/lib/commonjs/style-sheets/width-style-sheet.js +10 -0
  121. package/lib/commonjs/style-sheets/width-style-sheet.js.map +1 -0
  122. package/lib/module/components/accordion/_Header.js +1 -1
  123. package/lib/module/components/accordion/_Header.js.map +1 -1
  124. package/lib/module/components/accordion/_HeaderBorder.js +3 -3
  125. package/lib/module/components/accordion/_HeaderBorder.js.map +1 -1
  126. package/lib/module/components/accordion/_Item.js +2 -2
  127. package/lib/module/components/accordion/_Item.js.map +1 -1
  128. package/lib/module/components/box/Box.js +22 -0
  129. package/lib/module/components/box/Box.js.map +1 -0
  130. package/lib/module/components/box/BoxProps.js +4 -0
  131. package/lib/module/components/box/BoxProps.js.map +1 -0
  132. package/lib/module/components/box/BoxRef.js +4 -0
  133. package/lib/module/components/box/BoxRef.js.map +1 -0
  134. package/lib/module/components/box/index.js +4 -0
  135. package/lib/module/components/box/index.js.map +1 -0
  136. package/lib/module/components/button/base/Base.js +2 -8
  137. package/lib/module/components/button/base/Base.js.map +1 -1
  138. package/lib/module/components/button-group/ButtonGroup.js +2 -2
  139. package/lib/module/components/button-group/ButtonGroup.js.map +1 -1
  140. package/lib/module/components/button-group/index.js.map +1 -1
  141. package/lib/module/components/checkbox/Checkbox.js +7 -10
  142. package/lib/module/components/checkbox/Checkbox.js.map +1 -1
  143. package/lib/module/components/checkbox-group/CheckboxGroup.js +9 -19
  144. package/lib/module/components/checkbox-group/CheckboxGroup.js.map +1 -1
  145. package/lib/module/components/checkbox-input/CheckboxInput.js +3 -3
  146. package/lib/module/components/checkbox-input/CheckboxInput.js.map +1 -1
  147. package/lib/module/components/collapsible/Collapsible.js +3 -3
  148. package/lib/module/components/collapsible/Collapsible.js.map +1 -1
  149. package/lib/module/components/form-helper-text/FormHelperText.js +5 -8
  150. package/lib/module/components/form-helper-text/FormHelperText.js.map +1 -1
  151. package/lib/module/components/form-label/FormLabel.js +6 -9
  152. package/lib/module/components/form-label/FormLabel.js.map +1 -1
  153. package/lib/module/components/form-label/index.js.map +1 -1
  154. package/lib/module/components/index.js.map +1 -1
  155. package/lib/module/components/inline-loading/InlineLoading.js +6 -9
  156. package/lib/module/components/inline-loading/InlineLoading.js.map +1 -1
  157. package/lib/module/components/inline-loading/index.js.map +1 -1
  158. package/lib/module/components/layer/index.js.map +1 -1
  159. package/lib/module/components/modal/Modal.js +5 -6
  160. package/lib/module/components/modal/Modal.js.map +1 -1
  161. package/lib/module/components/modal/index.js.map +1 -1
  162. package/lib/module/components/modal-content/ModalContent.js +5 -8
  163. package/lib/module/components/modal-content/ModalContent.js.map +1 -1
  164. package/lib/module/components/modal-content/index.js.map +1 -1
  165. package/lib/module/components/notification/base/Base.js +4 -5
  166. package/lib/module/components/notification/base/Base.js.map +1 -1
  167. package/lib/module/components/password-input-field/_ghost-icon/GhostIcon.js +3 -3
  168. package/lib/module/components/password-input-field/_ghost-icon/GhostIcon.js.map +1 -1
  169. package/lib/module/components/radio-button/RadioButton.js +6 -5
  170. package/lib/module/components/radio-button/RadioButton.js.map +1 -1
  171. package/lib/module/components/radio-button/index.js.map +1 -1
  172. package/lib/module/components/radio-button-group/RadioButtonGroup.js +3 -2
  173. package/lib/module/components/radio-button-group/RadioButtonGroup.js.map +1 -1
  174. package/lib/module/components/radio-button-group/index.js.map +1 -1
  175. package/lib/module/components/radio-button-input/RadioButtonInput.js +3 -3
  176. package/lib/module/components/radio-button-input/RadioButtonInput.js.map +1 -1
  177. package/lib/module/components/radio-button-input/index.js.map +1 -1
  178. package/lib/module/components/switch/Switch.js +2 -2
  179. package/lib/module/components/switch/Switch.js.map +1 -1
  180. package/lib/module/components/text/Text.js +27 -40
  181. package/lib/module/components/text/Text.js.map +1 -1
  182. package/lib/module/components/text-area/index.js.map +1 -1
  183. package/lib/module/components/text-area-field/index.js.map +1 -1
  184. package/lib/module/components/text-area-fluid/TextAreaFluid.js +1 -1
  185. package/lib/module/components/text-area-fluid/TextAreaFluid.js.map +1 -1
  186. package/lib/module/components/text-area-fluid/index.js.map +1 -1
  187. package/lib/module/components/text-input-field/TextInputField.js +20 -7
  188. package/lib/module/components/text-input-field/TextInputField.js.map +1 -1
  189. package/lib/module/components/text-input-field/_rn-text-input/RNTextInput.js +2 -2
  190. package/lib/module/components/text-input-field/_rn-text-input/RNTextInput.js.map +1 -1
  191. package/lib/module/components/text-input-field/index.js.map +1 -1
  192. package/lib/module/components/text-input-fluid/TextInputFluid.js +1 -1
  193. package/lib/module/components/text-input-fluid/TextInputFluid.js.map +1 -1
  194. package/lib/module/components/text-input-fluid/index.js.map +1 -1
  195. package/lib/module/components/toggle/base/Base.js +7 -6
  196. package/lib/module/components/toggle/base/Base.js.map +1 -1
  197. package/lib/module/components/toggle/base/index.js.map +1 -1
  198. package/lib/module/components/toggle/default/index.js.map +1 -1
  199. package/lib/module/components/toggle/index.js.map +1 -1
  200. package/lib/module/components/toggle/small/index.js.map +1 -1
  201. package/lib/module/providers/dialog/_controller/_modal/Modal.js +1 -1
  202. package/lib/module/providers/dialog/_controller/_modal/Modal.js.map +1 -1
  203. package/lib/module/style-sheets/direction-style-sheet.js +6 -0
  204. package/lib/module/style-sheets/direction-style-sheet.js.map +1 -0
  205. package/lib/module/style-sheets/display-style-sheet.js +6 -0
  206. package/lib/module/style-sheets/display-style-sheet.js.map +1 -0
  207. package/lib/module/style-sheets/flex-style-sheet.js +6 -0
  208. package/lib/module/style-sheets/flex-style-sheet.js.map +1 -0
  209. package/lib/module/style-sheets/font-style-sheet.js +6 -0
  210. package/lib/module/style-sheets/font-style-sheet.js.map +1 -0
  211. package/lib/module/style-sheets/height-style-sheet.js +6 -0
  212. package/lib/module/style-sheets/height-style-sheet.js.map +1 -0
  213. package/lib/module/style-sheets/index.js +14 -0
  214. package/lib/module/style-sheets/index.js.map +1 -0
  215. package/lib/module/style-sheets/overflow-style-sheet.js +6 -0
  216. package/lib/module/style-sheets/overflow-style-sheet.js.map +1 -0
  217. package/lib/module/style-sheets/position-style-sheet.js +6 -0
  218. package/lib/module/style-sheets/position-style-sheet.js.map +1 -0
  219. package/lib/module/style-sheets/style-sheet-obj/direction.js +14 -0
  220. package/lib/module/style-sheets/style-sheet-obj/direction.js.map +1 -0
  221. package/lib/module/style-sheets/style-sheet-obj/display.js +11 -0
  222. package/lib/module/style-sheets/style-sheet-obj/display.js.map +1 -0
  223. package/lib/{commonjs/_internal/style-sheets/flex-style-sheet.js → module/style-sheets/style-sheet-obj/flex.js} +21 -8
  224. package/lib/module/style-sheets/style-sheet-obj/flex.js.map +1 -0
  225. package/lib/module/{_internal/style-sheets/text-style-sheet.js → style-sheets/style-sheet-obj/font.js} +3 -4
  226. package/lib/module/style-sheets/style-sheet-obj/font.js.map +1 -0
  227. package/lib/module/style-sheets/style-sheet-obj/height.js +14 -0
  228. package/lib/module/style-sheets/style-sheet-obj/height.js.map +1 -0
  229. package/lib/module/style-sheets/style-sheet-obj/index.js +12 -0
  230. package/lib/module/style-sheets/style-sheet-obj/index.js.map +1 -0
  231. package/lib/module/style-sheets/style-sheet-obj/overflow.js +14 -0
  232. package/lib/module/style-sheets/style-sheet-obj/overflow.js.map +1 -0
  233. package/lib/module/style-sheets/style-sheet-obj/position.js +14 -0
  234. package/lib/module/style-sheets/style-sheet-obj/position.js.map +1 -0
  235. package/lib/module/style-sheets/style-sheet-obj/typography.js +27 -0
  236. package/lib/module/style-sheets/style-sheet-obj/typography.js.map +1 -0
  237. package/lib/module/style-sheets/style-sheet-obj/width.js +14 -0
  238. package/lib/module/style-sheets/style-sheet-obj/width.js.map +1 -0
  239. package/lib/module/style-sheets/typography-style-sheet.js +6 -0
  240. package/lib/module/style-sheets/typography-style-sheet.js.map +1 -0
  241. package/lib/module/style-sheets/width-style-sheet.js +6 -0
  242. package/lib/module/style-sheets/width-style-sheet.js.map +1 -0
  243. package/lib/typescript/commonjs/components/accordion/_HeaderBorder.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/components/box/Box.d.ts +4 -0
  245. package/lib/typescript/commonjs/components/box/Box.d.ts.map +1 -0
  246. package/lib/typescript/commonjs/components/box/BoxProps.d.ts +4 -0
  247. package/lib/typescript/commonjs/components/box/BoxProps.d.ts.map +1 -0
  248. package/lib/typescript/commonjs/components/box/BoxRef.d.ts +4 -0
  249. package/lib/typescript/commonjs/components/box/BoxRef.d.ts.map +1 -0
  250. package/lib/typescript/commonjs/components/box/index.d.ts +4 -0
  251. package/lib/typescript/commonjs/components/box/index.d.ts.map +1 -0
  252. package/lib/typescript/commonjs/components/button/base/Base.d.ts.map +1 -1
  253. package/lib/typescript/commonjs/components/button-group/index.d.ts.map +1 -1
  254. package/lib/typescript/commonjs/components/checkbox/Checkbox.d.ts.map +1 -1
  255. package/lib/typescript/commonjs/components/checkbox/CheckboxProps.d.ts +4 -3
  256. package/lib/typescript/commonjs/components/checkbox/CheckboxProps.d.ts.map +1 -1
  257. package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroup.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/components/checkbox-input/CheckboxInput.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/components/collapsible/Collapsible.d.ts.map +1 -1
  260. package/lib/typescript/commonjs/components/form-helper-text/FormHelperText.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextProps.d.ts +2 -2
  262. package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextProps.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/components/form-label/FormLabel.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/components/form-label/FormLabelProps.d.ts +2 -2
  265. package/lib/typescript/commonjs/components/form-label/FormLabelProps.d.ts.map +1 -1
  266. package/lib/typescript/commonjs/components/form-label/index.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
  268. package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/components/inline-loading/index.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/components/layer/index.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/components/modal/Modal.d.ts.map +1 -1
  272. package/lib/typescript/commonjs/components/modal/ModalProps.d.ts +2 -2
  273. package/lib/typescript/commonjs/components/modal/ModalProps.d.ts.map +1 -1
  274. package/lib/typescript/commonjs/components/modal/index.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/components/modal-content/ModalContent.d.ts.map +1 -1
  276. package/lib/typescript/commonjs/components/modal-content/index.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/components/notification/base/Base.d.ts.map +1 -1
  278. package/lib/typescript/commonjs/components/radio-button/RadioButton.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/components/radio-button/index.d.ts.map +1 -1
  280. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroup.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/components/radio-button-group/index.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInput.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/components/radio-button-input/index.d.ts.map +1 -1
  284. package/lib/typescript/commonjs/components/text/Text.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/components/text-area/index.d.ts.map +1 -1
  286. package/lib/typescript/commonjs/components/text-area-field/index.d.ts.map +1 -1
  287. package/lib/typescript/commonjs/components/text-area-fluid/index.d.ts.map +1 -1
  288. package/lib/typescript/commonjs/components/text-input-field/TextInputField.d.ts.map +1 -1
  289. package/lib/typescript/commonjs/components/text-input-field/index.d.ts.map +1 -1
  290. package/lib/typescript/commonjs/components/text-input-fluid/index.d.ts.map +1 -1
  291. package/lib/typescript/commonjs/components/toggle/base/Base.d.ts.map +1 -1
  292. package/lib/typescript/commonjs/components/toggle/base/index.d.ts.map +1 -1
  293. package/lib/typescript/commonjs/components/toggle/default/index.d.ts.map +1 -1
  294. package/lib/typescript/commonjs/components/toggle/index.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/components/toggle/small/index.d.ts.map +1 -1
  296. package/lib/typescript/commonjs/style-sheets/direction-style-sheet.d.ts +12 -0
  297. package/lib/typescript/commonjs/style-sheets/direction-style-sheet.d.ts.map +1 -0
  298. package/lib/typescript/commonjs/style-sheets/display-style-sheet.d.ts +9 -0
  299. package/lib/typescript/commonjs/style-sheets/display-style-sheet.d.ts.map +1 -0
  300. package/lib/typescript/commonjs/style-sheets/flex-style-sheet.d.ts +99 -0
  301. package/lib/typescript/commonjs/style-sheets/flex-style-sheet.d.ts.map +1 -0
  302. package/lib/typescript/commonjs/style-sheets/font-style-sheet.d.ts +59 -0
  303. package/lib/typescript/commonjs/style-sheets/font-style-sheet.d.ts.map +1 -0
  304. package/lib/typescript/commonjs/style-sheets/height-style-sheet.d.ts +12 -0
  305. package/lib/typescript/commonjs/style-sheets/height-style-sheet.d.ts.map +1 -0
  306. package/lib/typescript/commonjs/style-sheets/index.d.ts +12 -0
  307. package/lib/typescript/commonjs/style-sheets/index.d.ts.map +1 -0
  308. package/lib/typescript/commonjs/style-sheets/overflow-style-sheet.d.ts +12 -0
  309. package/lib/typescript/commonjs/style-sheets/overflow-style-sheet.d.ts.map +1 -0
  310. package/lib/typescript/commonjs/style-sheets/position-style-sheet.d.ts +12 -0
  311. package/lib/typescript/commonjs/style-sheets/position-style-sheet.d.ts.map +1 -0
  312. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/direction.d.ts +12 -0
  313. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/direction.d.ts.map +1 -0
  314. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/display.d.ts +9 -0
  315. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/display.d.ts.map +1 -0
  316. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/flex.d.ts +99 -0
  317. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/flex.d.ts.map +1 -0
  318. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/font.d.ts +59 -0
  319. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/font.d.ts.map +1 -0
  320. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/height.d.ts +12 -0
  321. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/height.d.ts.map +1 -0
  322. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/index.d.ts +10 -0
  323. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/index.d.ts.map +1 -0
  324. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/overflow.d.ts +12 -0
  325. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/overflow.d.ts.map +1 -0
  326. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/position.d.ts +12 -0
  327. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/position.d.ts.map +1 -0
  328. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/typography.d.ts +24 -0
  329. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/typography.d.ts.map +1 -0
  330. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/width.d.ts +12 -0
  331. package/lib/typescript/commonjs/style-sheets/style-sheet-obj/width.d.ts.map +1 -0
  332. package/lib/typescript/commonjs/style-sheets/typography-style-sheet.d.ts +24 -0
  333. package/lib/typescript/commonjs/style-sheets/typography-style-sheet.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/style-sheets/width-style-sheet.d.ts +12 -0
  335. package/lib/typescript/commonjs/style-sheets/width-style-sheet.d.ts.map +1 -0
  336. package/lib/typescript/module/components/accordion/_HeaderBorder.d.ts.map +1 -1
  337. package/lib/typescript/module/components/box/Box.d.ts +4 -0
  338. package/lib/typescript/module/components/box/Box.d.ts.map +1 -0
  339. package/lib/typescript/module/components/box/BoxProps.d.ts +4 -0
  340. package/lib/typescript/module/components/box/BoxProps.d.ts.map +1 -0
  341. package/lib/typescript/module/components/box/BoxRef.d.ts +4 -0
  342. package/lib/typescript/module/components/box/BoxRef.d.ts.map +1 -0
  343. package/lib/typescript/module/components/box/index.d.ts +4 -0
  344. package/lib/typescript/module/components/box/index.d.ts.map +1 -0
  345. package/lib/typescript/module/components/button/base/Base.d.ts.map +1 -1
  346. package/lib/typescript/module/components/button-group/index.d.ts.map +1 -1
  347. package/lib/typescript/module/components/checkbox/Checkbox.d.ts.map +1 -1
  348. package/lib/typescript/module/components/checkbox/CheckboxProps.d.ts +4 -3
  349. package/lib/typescript/module/components/checkbox/CheckboxProps.d.ts.map +1 -1
  350. package/lib/typescript/module/components/checkbox-group/CheckboxGroup.d.ts.map +1 -1
  351. package/lib/typescript/module/components/checkbox-input/CheckboxInput.d.ts.map +1 -1
  352. package/lib/typescript/module/components/collapsible/Collapsible.d.ts.map +1 -1
  353. package/lib/typescript/module/components/form-helper-text/FormHelperText.d.ts.map +1 -1
  354. package/lib/typescript/module/components/form-helper-text/FormHelperTextProps.d.ts +2 -2
  355. package/lib/typescript/module/components/form-helper-text/FormHelperTextProps.d.ts.map +1 -1
  356. package/lib/typescript/module/components/form-label/FormLabel.d.ts.map +1 -1
  357. package/lib/typescript/module/components/form-label/FormLabelProps.d.ts +2 -2
  358. package/lib/typescript/module/components/form-label/FormLabelProps.d.ts.map +1 -1
  359. package/lib/typescript/module/components/form-label/index.d.ts.map +1 -1
  360. package/lib/typescript/module/components/index.d.ts.map +1 -1
  361. package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts.map +1 -1
  362. package/lib/typescript/module/components/inline-loading/index.d.ts.map +1 -1
  363. package/lib/typescript/module/components/layer/index.d.ts.map +1 -1
  364. package/lib/typescript/module/components/modal/Modal.d.ts.map +1 -1
  365. package/lib/typescript/module/components/modal/ModalProps.d.ts +2 -2
  366. package/lib/typescript/module/components/modal/ModalProps.d.ts.map +1 -1
  367. package/lib/typescript/module/components/modal/index.d.ts.map +1 -1
  368. package/lib/typescript/module/components/modal-content/ModalContent.d.ts.map +1 -1
  369. package/lib/typescript/module/components/modal-content/index.d.ts.map +1 -1
  370. package/lib/typescript/module/components/notification/base/Base.d.ts.map +1 -1
  371. package/lib/typescript/module/components/radio-button/RadioButton.d.ts.map +1 -1
  372. package/lib/typescript/module/components/radio-button/index.d.ts.map +1 -1
  373. package/lib/typescript/module/components/radio-button-group/RadioButtonGroup.d.ts.map +1 -1
  374. package/lib/typescript/module/components/radio-button-group/index.d.ts.map +1 -1
  375. package/lib/typescript/module/components/radio-button-input/RadioButtonInput.d.ts.map +1 -1
  376. package/lib/typescript/module/components/radio-button-input/index.d.ts.map +1 -1
  377. package/lib/typescript/module/components/text/Text.d.ts.map +1 -1
  378. package/lib/typescript/module/components/text-area/index.d.ts.map +1 -1
  379. package/lib/typescript/module/components/text-area-field/index.d.ts.map +1 -1
  380. package/lib/typescript/module/components/text-area-fluid/index.d.ts.map +1 -1
  381. package/lib/typescript/module/components/text-input-field/TextInputField.d.ts.map +1 -1
  382. package/lib/typescript/module/components/text-input-field/index.d.ts.map +1 -1
  383. package/lib/typescript/module/components/text-input-fluid/index.d.ts.map +1 -1
  384. package/lib/typescript/module/components/toggle/base/Base.d.ts.map +1 -1
  385. package/lib/typescript/module/components/toggle/base/index.d.ts.map +1 -1
  386. package/lib/typescript/module/components/toggle/default/index.d.ts.map +1 -1
  387. package/lib/typescript/module/components/toggle/index.d.ts.map +1 -1
  388. package/lib/typescript/module/components/toggle/small/index.d.ts.map +1 -1
  389. package/lib/typescript/module/style-sheets/direction-style-sheet.d.ts +12 -0
  390. package/lib/typescript/module/style-sheets/direction-style-sheet.d.ts.map +1 -0
  391. package/lib/typescript/module/style-sheets/display-style-sheet.d.ts +9 -0
  392. package/lib/typescript/module/style-sheets/display-style-sheet.d.ts.map +1 -0
  393. package/lib/typescript/module/style-sheets/flex-style-sheet.d.ts +99 -0
  394. package/lib/typescript/module/style-sheets/flex-style-sheet.d.ts.map +1 -0
  395. package/lib/typescript/module/style-sheets/font-style-sheet.d.ts +59 -0
  396. package/lib/typescript/module/style-sheets/font-style-sheet.d.ts.map +1 -0
  397. package/lib/typescript/module/style-sheets/height-style-sheet.d.ts +12 -0
  398. package/lib/typescript/module/style-sheets/height-style-sheet.d.ts.map +1 -0
  399. package/lib/typescript/module/style-sheets/index.d.ts +12 -0
  400. package/lib/typescript/module/style-sheets/index.d.ts.map +1 -0
  401. package/lib/typescript/module/style-sheets/overflow-style-sheet.d.ts +12 -0
  402. package/lib/typescript/module/style-sheets/overflow-style-sheet.d.ts.map +1 -0
  403. package/lib/typescript/module/style-sheets/position-style-sheet.d.ts +12 -0
  404. package/lib/typescript/module/style-sheets/position-style-sheet.d.ts.map +1 -0
  405. package/lib/typescript/module/style-sheets/style-sheet-obj/direction.d.ts +12 -0
  406. package/lib/typescript/module/style-sheets/style-sheet-obj/direction.d.ts.map +1 -0
  407. package/lib/typescript/module/style-sheets/style-sheet-obj/display.d.ts +9 -0
  408. package/lib/typescript/module/style-sheets/style-sheet-obj/display.d.ts.map +1 -0
  409. package/lib/typescript/module/style-sheets/style-sheet-obj/flex.d.ts +99 -0
  410. package/lib/typescript/module/style-sheets/style-sheet-obj/flex.d.ts.map +1 -0
  411. package/lib/typescript/module/style-sheets/style-sheet-obj/font.d.ts +59 -0
  412. package/lib/typescript/module/style-sheets/style-sheet-obj/font.d.ts.map +1 -0
  413. package/lib/typescript/module/style-sheets/style-sheet-obj/height.d.ts +12 -0
  414. package/lib/typescript/module/style-sheets/style-sheet-obj/height.d.ts.map +1 -0
  415. package/lib/typescript/module/style-sheets/style-sheet-obj/index.d.ts +10 -0
  416. package/lib/typescript/module/style-sheets/style-sheet-obj/index.d.ts.map +1 -0
  417. package/lib/typescript/module/style-sheets/style-sheet-obj/overflow.d.ts +12 -0
  418. package/lib/typescript/module/style-sheets/style-sheet-obj/overflow.d.ts.map +1 -0
  419. package/lib/typescript/module/style-sheets/style-sheet-obj/position.d.ts +12 -0
  420. package/lib/typescript/module/style-sheets/style-sheet-obj/position.d.ts.map +1 -0
  421. package/lib/typescript/module/style-sheets/style-sheet-obj/typography.d.ts +24 -0
  422. package/lib/typescript/module/style-sheets/style-sheet-obj/typography.d.ts.map +1 -0
  423. package/lib/typescript/module/style-sheets/style-sheet-obj/width.d.ts +12 -0
  424. package/lib/typescript/module/style-sheets/style-sheet-obj/width.d.ts.map +1 -0
  425. package/lib/typescript/module/style-sheets/typography-style-sheet.d.ts +24 -0
  426. package/lib/typescript/module/style-sheets/typography-style-sheet.d.ts.map +1 -0
  427. package/lib/typescript/module/style-sheets/width-style-sheet.d.ts +12 -0
  428. package/lib/typescript/module/style-sheets/width-style-sheet.d.ts.map +1 -0
  429. package/lib/typescript/tsconfig.tsbuildinfo +1 -1
  430. package/package.json +1 -1
  431. package/src/components/accordion/_Header.tsx +4 -4
  432. package/src/components/accordion/_HeaderBorder.tsx +7 -6
  433. package/src/components/accordion/_Item.tsx +3 -3
  434. package/src/components/box/Box.tsx +57 -0
  435. package/src/components/box/BoxProps.ts +6 -0
  436. package/src/components/box/BoxRef.ts +6 -0
  437. package/src/components/box/index.ts +3 -0
  438. package/src/components/button/base/Base.tsx +5 -10
  439. package/src/components/button-group/ButtonGroup.tsx +3 -3
  440. package/src/components/checkbox/Checkbox.tsx +16 -20
  441. package/src/components/checkbox/CheckboxProps.ts +6 -3
  442. package/src/components/checkbox-group/CheckboxGroup.tsx +15 -33
  443. package/src/components/checkbox-input/CheckboxInput.tsx +9 -8
  444. package/src/components/collapsible/Collapsible.tsx +5 -4
  445. package/src/components/form-helper-text/FormHelperText.tsx +10 -19
  446. package/src/components/form-helper-text/FormHelperTextProps.ts +3 -3
  447. package/src/components/form-label/FormLabel.tsx +6 -16
  448. package/src/components/form-label/FormLabelProps.ts +3 -3
  449. package/src/components/inline-loading/InlineLoading.tsx +11 -19
  450. package/src/components/modal/Modal.tsx +11 -10
  451. package/src/components/modal/ModalProps.ts +3 -3
  452. package/src/components/modal-content/ModalContent.tsx +5 -15
  453. package/src/components/notification/base/Base.tsx +10 -10
  454. package/src/components/password-input-field/_ghost-icon/GhostIcon.tsx +4 -4
  455. package/src/components/radio-button/RadioButton.tsx +16 -11
  456. package/src/components/radio-button-group/RadioButtonGroup.tsx +9 -5
  457. package/src/components/radio-button-input/RadioButtonInput.tsx +9 -8
  458. package/src/components/switch/Switch.tsx +6 -6
  459. package/src/components/text/Text.tsx +33 -67
  460. package/src/components/text-area-fluid/TextAreaFluid.tsx +4 -4
  461. package/src/components/text-input-field/TextInputField.tsx +37 -3
  462. package/src/components/text-input-field/_rn-text-input/RNTextInput.tsx +5 -5
  463. package/src/components/text-input-fluid/TextInputFluid.tsx +4 -4
  464. package/src/components/toggle/base/Base.tsx +16 -11
  465. package/src/providers/dialog/_controller/_modal/Modal.tsx +1 -1
  466. package/src/style-sheets/direction-style-sheet.ts +9 -0
  467. package/src/style-sheets/display-style-sheet.ts +9 -0
  468. package/src/style-sheets/flex-style-sheet.ts +9 -0
  469. package/src/style-sheets/font-style-sheet.ts +9 -0
  470. package/src/style-sheets/height-style-sheet.ts +9 -0
  471. package/src/style-sheets/index.ts +15 -0
  472. package/src/style-sheets/overflow-style-sheet.ts +9 -0
  473. package/src/style-sheets/position-style-sheet.ts +9 -0
  474. package/src/style-sheets/style-sheet-obj/direction.ts +15 -0
  475. package/src/style-sheets/style-sheet-obj/display.ts +12 -0
  476. package/src/{_internal/style-sheets/flex-style-sheet.ts → style-sheets/style-sheet-obj/flex.ts} +22 -4
  477. package/src/{_internal/style-sheets/text-style-sheet.ts → style-sheets/style-sheet-obj/font.ts} +4 -4
  478. package/src/style-sheets/style-sheet-obj/height.ts +15 -0
  479. package/src/style-sheets/style-sheet-obj/index.ts +9 -0
  480. package/src/style-sheets/style-sheet-obj/overflow.ts +15 -0
  481. package/src/style-sheets/style-sheet-obj/position.ts +15 -0
  482. package/src/style-sheets/style-sheet-obj/typography.ts +31 -0
  483. package/src/style-sheets/style-sheet-obj/width.ts +15 -0
  484. package/src/style-sheets/typography-style-sheet.ts +9 -0
  485. package/src/style-sheets/width-style-sheet.ts +9 -0
  486. package/lib/commonjs/_internal/style-sheets/common-style-sheet.js +0 -28
  487. package/lib/commonjs/_internal/style-sheets/common-style-sheet.js.map +0 -1
  488. package/lib/commonjs/_internal/style-sheets/flex-style-sheet.js.map +0 -1
  489. package/lib/commonjs/_internal/style-sheets/index.js +0 -39
  490. package/lib/commonjs/_internal/style-sheets/index.js.map +0 -1
  491. package/lib/commonjs/_internal/style-sheets/text-style-sheet.js.map +0 -1
  492. package/lib/module/_internal/style-sheets/common-style-sheet.js +0 -24
  493. package/lib/module/_internal/style-sheets/common-style-sheet.js.map +0 -1
  494. package/lib/module/_internal/style-sheets/flex-style-sheet.js.map +0 -1
  495. package/lib/module/_internal/style-sheets/index.js +0 -6
  496. package/lib/module/_internal/style-sheets/index.js.map +0 -1
  497. package/lib/module/_internal/style-sheets/text-style-sheet.js.map +0 -1
  498. package/lib/typescript/commonjs/_internal/style-sheets/common-style-sheet.d.ts +0 -21
  499. package/lib/typescript/commonjs/_internal/style-sheets/common-style-sheet.d.ts.map +0 -1
  500. package/lib/typescript/commonjs/_internal/style-sheets/flex-style-sheet.d.ts +0 -81
  501. package/lib/typescript/commonjs/_internal/style-sheets/flex-style-sheet.d.ts.map +0 -1
  502. package/lib/typescript/commonjs/_internal/style-sheets/index.d.ts +0 -4
  503. package/lib/typescript/commonjs/_internal/style-sheets/index.d.ts.map +0 -1
  504. package/lib/typescript/commonjs/_internal/style-sheets/text-style-sheet.d.ts +0 -59
  505. package/lib/typescript/commonjs/_internal/style-sheets/text-style-sheet.d.ts.map +0 -1
  506. package/lib/typescript/module/_internal/style-sheets/common-style-sheet.d.ts +0 -21
  507. package/lib/typescript/module/_internal/style-sheets/common-style-sheet.d.ts.map +0 -1
  508. package/lib/typescript/module/_internal/style-sheets/flex-style-sheet.d.ts +0 -81
  509. package/lib/typescript/module/_internal/style-sheets/flex-style-sheet.d.ts.map +0 -1
  510. package/lib/typescript/module/_internal/style-sheets/index.d.ts +0 -4
  511. package/lib/typescript/module/_internal/style-sheets/index.d.ts.map +0 -1
  512. package/lib/typescript/module/_internal/style-sheets/text-style-sheet.d.ts +0 -59
  513. package/lib/typescript/module/_internal/style-sheets/text-style-sheet.d.ts.map +0 -1
  514. package/src/_internal/style-sheets/common-style-sheet.ts +0 -24
  515. package/src/_internal/style-sheets/index.ts +0 -3
  516. /package/src/components/button-group/{index.tsx → index.ts} +0 -0
  517. /package/src/components/form-label/{index.tsx → index.ts} +0 -0
  518. /package/src/components/{index.tsx → index.ts} +0 -0
  519. /package/src/components/inline-loading/{index.tsx → index.ts} +0 -0
  520. /package/src/components/layer/{index.tsx → index.ts} +0 -0
  521. /package/src/components/modal/{index.tsx → index.ts} +0 -0
  522. /package/src/components/modal-content/{index.tsx → index.ts} +0 -0
  523. /package/src/components/radio-button/{index.tsx → index.ts} +0 -0
  524. /package/src/components/radio-button-group/{index.tsx → index.ts} +0 -0
  525. /package/src/components/radio-button-input/{index.tsx → index.ts} +0 -0
  526. /package/src/components/text-area/{index.tsx → index.ts} +0 -0
  527. /package/src/components/text-area-field/{index.tsx → index.ts} +0 -0
  528. /package/src/components/text-area-fluid/{index.tsx → index.ts} +0 -0
  529. /package/src/components/text-input-field/{index.tsx → index.ts} +0 -0
  530. /package/src/components/text-input-fluid/{index.tsx → index.ts} +0 -0
  531. /package/src/components/toggle/base/{index.tsx → index.ts} +0 -0
  532. /package/src/components/toggle/default/{index.tsx → index.ts} +0 -0
  533. /package/src/components/toggle/{index.tsx → index.ts} +0 -0
  534. /package/src/components/toggle/small/{index.tsx → index.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@audira/carbon-react-native",
3
- "version": "1.0.0-beta.19",
3
+ "version": "1.0.0-beta.20",
4
4
  "license": "MIT",
5
5
  "homepage": "https://rakadoank.github.io/carbon-react-native",
6
6
  "repository": "https://github.com/RakaDoank/carbon-react-native",
@@ -12,10 +12,6 @@ import {
12
12
  Color,
13
13
  } from "@audira/carbon-react-native-elements"
14
14
 
15
- import {
16
- FlexStyleSheet,
17
- } from "../../_internal/style-sheets"
18
-
19
15
  import {
20
16
  CarbonStyleSheet,
21
17
  } from "../../carbon-style-sheet"
@@ -24,6 +20,10 @@ import {
24
20
  ThemeContext,
25
21
  } from "../../contexts"
26
22
 
23
+ import {
24
+ FlexStyleSheet,
25
+ } from "../../style-sheets"
26
+
27
27
  import type {
28
28
  Size as ButtonSize,
29
29
  } from "../button/Size"
@@ -12,10 +12,6 @@ import {
12
12
  Spacing,
13
13
  } from "@audira/carbon-react-native-elements"
14
14
 
15
- import {
16
- CommonStyleSheet,
17
- } from "../../_internal/style-sheets"
18
-
19
15
  import {
20
16
  CarbonStyleSheet,
21
17
  } from "../../carbon-style-sheet"
@@ -24,6 +20,11 @@ import {
24
20
  ThemeContext,
25
21
  } from "../../contexts"
26
22
 
23
+ import {
24
+ PositionStyleSheet,
25
+ WidthStyleSheet,
26
+ } from "../../style-sheets"
27
+
27
28
  export interface HeaderBorderProps {
28
29
  /**
29
30
  * https://carbondesignsystem.com/components/accordion/style/#flush-alignment
@@ -42,7 +43,7 @@ export function HeaderBorder({
42
43
  return (
43
44
  <View
44
45
  style={ [
45
- CommonStyleSheet.absolute,
46
+ PositionStyleSheet.absolute,
46
47
  style.borderBox,
47
48
  carbonStyle.borderBox,
48
49
  flushAlignment
@@ -50,7 +51,7 @@ export function HeaderBorder({
50
51
  left: Spacing.spacing_05,
51
52
  right: Spacing.spacing_05,
52
53
  }
53
- : CommonStyleSheet.w_full,
54
+ : WidthStyleSheet.w_full,
54
55
  styleProp,
55
56
  ] }
56
57
  />
@@ -21,8 +21,8 @@ import {
21
21
  } from "../../_internal/contexts"
22
22
 
23
23
  import {
24
- CommonStyleSheet,
25
- } from "../../_internal/style-sheets"
24
+ DirectionStyleSheet,
25
+ } from "../../style-sheets"
26
26
 
27
27
  import {
28
28
  Collapsible,
@@ -151,7 +151,7 @@ export const Item = forwardRef<AccordionItemRef, AccordionItemProps>(
151
151
  open={ open }
152
152
  dir={ globalConfigContext.rtl ? "rtl" : undefined }
153
153
  contentContainerStyle={ [
154
- globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined,
154
+ globalConfigContext.rtl ? DirectionStyleSheet.rtl : undefined,
155
155
  accordionContext.collapsibleContentContainerStyle,
156
156
  style.panel,
157
157
  ] }
@@ -0,0 +1,57 @@
1
+ import {
2
+ forwardRef,
3
+ useContext,
4
+ } from "react"
5
+
6
+ import {
7
+ View,
8
+ } from "react-native"
9
+
10
+ import {
11
+ GlobalConfigContext,
12
+ } from "../../_internal/contexts"
13
+
14
+ import {
15
+ DirectionStyleSheet,
16
+ } from "../../style-sheets"
17
+
18
+ import type {
19
+ BoxProps,
20
+ } from "./BoxProps"
21
+
22
+ import type {
23
+ BoxRef,
24
+ } from "./BoxRef"
25
+
26
+ export const Box = forwardRef<BoxRef, BoxProps>(
27
+ function Box(
28
+ {
29
+ dir: dirProp,
30
+ style,
31
+ ...props
32
+ },
33
+ ref,
34
+ ) {
35
+
36
+ const
37
+ globalConfigContext =
38
+ useContext(GlobalConfigContext),
39
+
40
+ dir =
41
+ dirProp ??
42
+ globalConfigContext.rtl ? "rtl" : "ltr"
43
+
44
+ return (
45
+ <View
46
+ ref={ ref }
47
+ { ...props }
48
+ dir={ dir }
49
+ style={ [
50
+ dir == "rtl" ? DirectionStyleSheet.rtl : undefined,
51
+ style,
52
+ ] }
53
+ />
54
+ )
55
+
56
+ },
57
+ )
@@ -0,0 +1,6 @@
1
+ import type {
2
+ ViewProps,
3
+ } from "react-native"
4
+
5
+ export interface BoxProps extends ViewProps {
6
+ }
@@ -0,0 +1,6 @@
1
+ import type {
2
+ View,
3
+ } from "react-native"
4
+
5
+ export interface BoxRef extends View {
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./Box"
2
+ export type * from "./BoxProps"
3
+ export type * from "./BoxRef"
@@ -20,8 +20,10 @@ import {
20
20
  } from "../../../_internal/contexts"
21
21
 
22
22
  import {
23
+ DirectionStyleSheet,
23
24
  FlexStyleSheet,
24
- } from "../../../_internal/style-sheets"
25
+ OverflowStyleSheet,
26
+ } from "../../../style-sheets"
25
27
 
26
28
  import {
27
29
  Text,
@@ -86,8 +88,8 @@ export const Base = forwardRef<BaseRef, BaseProps>(
86
88
  style={ [
87
89
  FlexStyleSheet.flex_row,
88
90
  FlexStyleSheet.justify_between,
89
- baseStyle.container,
90
- globalConfigContext.rtl ? baseStyle.containerRtl : undefined,
91
+ OverflowStyleSheet.overflow_hidden,
92
+ globalConfigContext.rtl ? DirectionStyleSheet.rtl : undefined,
91
93
  mapContainerStyle[`${!!text}`][`${!!Icon || !!iconNode}`],
92
94
  sizeStyle[size],
93
95
  mapStyleInButtonGroup[`${!!buttonGroupContext.vertical}`][`${!!buttonGroupContext.fluid}`],
@@ -149,13 +151,6 @@ export const Base = forwardRef<BaseRef, BaseProps>(
149
151
  const
150
152
  baseStyle =
151
153
  StyleSheet.create({
152
- container: {
153
- overflow: "hidden",
154
- },
155
- containerRtl: {
156
- direction: "rtl",
157
- },
158
-
159
154
  /**
160
155
  * Start Padding
161
156
  */
@@ -19,9 +19,9 @@ import {
19
19
  } from "../../_internal/contexts"
20
20
 
21
21
  import {
22
- CommonStyleSheet,
22
+ DirectionStyleSheet,
23
23
  FlexStyleSheet,
24
- } from "../../_internal/style-sheets"
24
+ } from "../../style-sheets"
25
25
 
26
26
  import type {
27
27
  ButtonGroupProps,
@@ -59,7 +59,7 @@ export const ButtonGroup = forwardRef<ButtonGroupRef, ButtonGroupProps>(
59
59
  mapStyleFluid[`${!!fluid}`],
60
60
 
61
61
  rtlStyle =
62
- globalConfigContext.rtl && !vertical ? CommonStyleSheet.rtl : undefined
62
+ globalConfigContext.rtl && !vertical ? DirectionStyleSheet.rtl : undefined
63
63
 
64
64
  return (
65
65
  <ButtonGroupContext.Provider
@@ -18,15 +18,6 @@ import {
18
18
  Spacing,
19
19
  } from "@audira/carbon-react-native-elements"
20
20
 
21
- import {
22
- GlobalConfigContext,
23
- } from "../../_internal/contexts"
24
-
25
- import {
26
- CommonStyleSheet,
27
- FlexStyleSheet,
28
- } from "../../_internal/style-sheets"
29
-
30
21
  import {
31
22
  CarbonStyleSheet,
32
23
  } from "../../carbon-style-sheet"
@@ -35,6 +26,17 @@ import {
35
26
  ThemeContext,
36
27
  } from "../../contexts"
37
28
 
29
+ import {
30
+ FlexStyleSheet,
31
+ HeightStyleSheet,
32
+ PositionStyleSheet,
33
+ WidthStyleSheet,
34
+ } from "../../style-sheets"
35
+
36
+ import {
37
+ Box,
38
+ } from "../box"
39
+
38
40
  import {
39
41
  CheckboxInput,
40
42
  type CheckboxInputInteractiveState,
@@ -73,7 +75,6 @@ export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
73
75
  formLabelProps,
74
76
  pressableProps,
75
77
  style,
76
- dir,
77
78
  ...props
78
79
  },
79
80
  forwardedRef,
@@ -82,9 +83,6 @@ export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
82
83
  useContext(ThemeContext)
83
84
 
84
85
  const
85
- globalConfigContext =
86
- useContext(GlobalConfigContext),
87
-
88
86
  checkboxInputRef =
89
87
  useRef<CheckboxInputRef>(null),
90
88
 
@@ -121,13 +119,11 @@ export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
121
119
  }, [])
122
120
 
123
121
  return (
124
- <View
122
+ <Box
125
123
  { ...props }
126
124
  aria-label={ ariaLabel || label }
127
- dir={ dir ?? globalConfigContext.rtl ? "rtl" : undefined }
128
125
  style={ [
129
126
  FlexStyleSheet.flex_row,
130
- globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined,
131
127
  style,
132
128
  ] }
133
129
  ref={ viewRef }
@@ -139,9 +135,9 @@ export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
139
135
  aria-label={ pressableProps?.["aria-label"] ?? label }
140
136
  onPress={ pressHandler }
141
137
  style={ [
142
- CommonStyleSheet.absolute,
143
- CommonStyleSheet.w_full,
144
- CommonStyleSheet.h_full,
138
+ PositionStyleSheet.absolute,
139
+ WidthStyleSheet.w_full,
140
+ HeightStyleSheet.h_full,
145
141
  baseStyle.pressable,
146
142
  pressableProps?.style,
147
143
  ] }
@@ -179,7 +175,7 @@ export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
179
175
  formLabelProps?.style,
180
176
  ] }
181
177
  />
182
- </View>
178
+ </Box>
183
179
  )
184
180
 
185
181
  },
@@ -1,8 +1,11 @@
1
1
  import type {
2
2
  PressableProps,
3
- ViewProps,
4
3
  } from "react-native"
5
4
 
5
+ import type {
6
+ BoxProps,
7
+ } from "../box"
8
+
6
9
  import type {
7
10
  CheckboxInputProps,
8
11
  } from "../checkbox-input"
@@ -11,7 +14,7 @@ import type {
11
14
  FormLabelProps,
12
15
  } from "../form-label"
13
16
 
14
- export interface CheckboxProps extends Omit<ViewProps, "children"> {
17
+ export interface CheckboxProps extends Omit<BoxProps, "children"> {
15
18
  defaultChecked?: CheckboxInputProps["defaultChecked"],
16
19
  checked?: CheckboxInputProps["checked"],
17
20
  interactiveState?: CheckboxInputProps["interactiveState"],
@@ -33,6 +36,6 @@ export interface CheckboxProps extends Omit<ViewProps, "children"> {
33
36
  | "style"
34
37
  | "onPress"
35
38
  > & {
36
- style?: ViewProps["style"],
39
+ style?: BoxProps["style"],
37
40
  },
38
41
  }
@@ -5,8 +5,6 @@ import {
5
5
 
6
6
  import {
7
7
  StyleSheet,
8
- View,
9
- type ViewStyle,
10
8
  } from "react-native"
11
9
 
12
10
  import {
@@ -22,17 +20,17 @@ import type {
22
20
  } from "react-native-svg"
23
21
 
24
22
  import {
25
- GlobalConfigContext,
26
- } from "../../_internal/contexts"
23
+ ThemeContext,
24
+ } from "../../contexts"
27
25
 
28
26
  import {
29
- CommonStyleSheet,
30
27
  FlexStyleSheet,
31
- } from "../../_internal/style-sheets"
28
+ } from "../../style-sheets"
32
29
 
33
30
  import {
34
- ThemeContext,
35
- } from "../../contexts"
31
+ Box,
32
+ type BoxProps,
33
+ } from "../box"
36
34
 
37
35
  import {
38
36
  Checkbox,
@@ -64,25 +62,14 @@ const Component = forwardRef<CheckboxGroupRef, CheckboxGroupProps>(
64
62
  helperTextModeIcon = true,
65
63
  formHelperTextProps,
66
64
  children,
67
- style,
68
- dir,
69
65
  ...props
70
66
  },
71
67
  ref,
72
68
  ) {
73
69
 
74
- const
75
- globalConfigContext =
76
- useContext(GlobalConfigContext)
77
-
78
70
  return (
79
- <View
71
+ <Box
80
72
  { ...props }
81
- dir={ dir ?? globalConfigContext.rtl ? "rtl" : undefined }
82
- style={ [
83
- globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined,
84
- style,
85
- ] }
86
73
  ref={ ref }
87
74
  >
88
75
  <FormLabel
@@ -90,14 +77,14 @@ const Component = forwardRef<CheckboxGroupRef, CheckboxGroupProps>(
90
77
  style={ baseStyle.legend }
91
78
  />
92
79
 
93
- <View
80
+ <Box
94
81
  style={ [
95
82
  baseStyle.wrapper,
96
83
  wrapperOrientationStyle[orientation],
97
84
  ] }
98
85
  >
99
86
  { children }
100
- </View>
87
+ </Box>
101
88
 
102
89
  { !!helperText && (
103
90
  <FormHelperText
@@ -117,7 +104,7 @@ const Component = forwardRef<CheckboxGroupRef, CheckboxGroupProps>(
117
104
  ] }
118
105
  />
119
106
  ) }
120
- </View>
107
+ </Box>
121
108
  )
122
109
 
123
110
  },
@@ -142,16 +129,11 @@ const
142
129
  },
143
130
  }),
144
131
 
145
- wrapperOrientationStyle =
146
- StyleSheet.create<Record<NonNullable<CheckboxGroupProps["orientation"]>, ViewStyle>>({
147
- vertical: {
148
- flexDirection: "column",
149
- },
150
- horizontal: {
151
- ...FlexStyleSheet.flex_wrap,
152
- flexDirection: "row",
153
- },
154
- }),
132
+ wrapperOrientationStyle: Record<NonNullable<CheckboxGroupProps["orientation"]>, BoxProps["style"]> =
133
+ {
134
+ vertical: FlexStyleSheet.flex_col,
135
+ horizontal: [FlexStyleSheet.flex_row, FlexStyleSheet.flex_wrap],
136
+ },
155
137
 
156
138
  mapIconErrorFillColor: Record<ThemeContext["colorScheme"], string> =
157
139
  {
@@ -23,11 +23,6 @@ import {
23
23
  import IconCheckmark from "@carbon/icons/svg/32/checkmark.svg"
24
24
  import IconSubtract from "@carbon/icons/svg/32/subtract.svg"
25
25
 
26
- import {
27
- CommonStyleSheet,
28
- FlexStyleSheet,
29
- } from "../../_internal/style-sheets"
30
-
31
26
  import {
32
27
  CarbonStyleSheet,
33
28
  } from "../../carbon-style-sheet"
@@ -36,6 +31,12 @@ import {
36
31
  ThemeContext,
37
32
  } from "../../contexts"
38
33
 
34
+ import {
35
+ FlexStyleSheet,
36
+ OverflowStyleSheet,
37
+ PositionStyleSheet,
38
+ } from "../../style-sheets"
39
+
39
40
  import type {
40
41
  CheckboxInputInteractiveState,
41
42
  } from "./CheckboxInputInteractiveState"
@@ -197,7 +198,7 @@ export const CheckboxInput = forwardRef<CheckboxInputRef, CheckboxInputProps>(
197
198
  style={ [
198
199
  FlexStyleSheet.items_center,
199
200
  FlexStyleSheet.justify_center,
200
- CommonStyleSheet.relative,
201
+ PositionStyleSheet.relative,
201
202
  baseStyle.checkbox,
202
203
  getInteractiveStateStyle(interactiveState, checked),
203
204
  style,
@@ -206,8 +207,8 @@ export const CheckboxInput = forwardRef<CheckboxInputRef, CheckboxInputProps>(
206
207
  >
207
208
  <View
208
209
  style={ [
209
- CommonStyleSheet.absolute,
210
- CommonStyleSheet.overflow_hidden,
210
+ PositionStyleSheet.absolute,
211
+ OverflowStyleSheet.overflow_hidden,
211
212
  baseStyle.focusBox,
212
213
  isFocused
213
214
  ? carbonStyle.focusBox
@@ -20,9 +20,10 @@ import {
20
20
  } from "@audira/carbon-react-native-elements"
21
21
 
22
22
  import {
23
- CommonStyleSheet,
24
23
  FlexStyleSheet,
25
- } from "../../_internal/style-sheets"
24
+ OverflowStyleSheet,
25
+ WidthStyleSheet,
26
+ } from "../../style-sheets"
26
27
 
27
28
  import type {
28
29
  CollapsibleProps,
@@ -225,7 +226,7 @@ export const Collapsible = forwardRef<CollapsibleRef, CollapsibleProps>(
225
226
  <Animated.View
226
227
  { ...props }
227
228
  style={ [
228
- CommonStyleSheet.overflow_hidden,
229
+ OverflowStyleSheet.overflow_hidden,
229
230
  positionView === "absolute"
230
231
  ? {
231
232
  height: heightAnimated.current,
@@ -237,7 +238,7 @@ export const Collapsible = forwardRef<CollapsibleRef, CollapsibleProps>(
237
238
  >
238
239
  <View
239
240
  style={ [
240
- CommonStyleSheet.w_full,
241
+ WidthStyleSheet.w_full,
241
242
  {
242
243
  position: positionView,
243
244
  },
@@ -5,18 +5,8 @@ import {
5
5
 
6
6
  import {
7
7
  StyleSheet,
8
- View,
9
8
  } from "react-native"
10
9
 
11
- import {
12
- GlobalConfigContext,
13
- } from "../../_internal/contexts"
14
-
15
- import {
16
- CommonStyleSheet,
17
- FlexStyleSheet,
18
- } from "../../_internal/style-sheets"
19
-
20
10
  import {
21
11
  CarbonStyleSheet,
22
12
  } from "../../carbon-style-sheet"
@@ -25,6 +15,14 @@ import {
25
15
  ThemeContext,
26
16
  } from "../../contexts"
27
17
 
18
+ import {
19
+ FlexStyleSheet,
20
+ } from "../../style-sheets"
21
+
22
+ import {
23
+ Box,
24
+ } from "../box"
25
+
28
26
  import {
29
27
  Text,
30
28
  } from "../text"
@@ -46,7 +44,6 @@ export const FormHelperText = forwardRef<FormHelperTextRef, FormHelperTextProps>
46
44
  textTrailing,
47
45
  textProps,
48
46
  style,
49
- dir,
50
47
  ...props
51
48
  },
52
49
  ref,
@@ -54,19 +51,13 @@ export const FormHelperText = forwardRef<FormHelperTextRef, FormHelperTextProps>
54
51
 
55
52
  useContext(ThemeContext)
56
53
 
57
- const
58
- globalConfigContext =
59
- useContext(GlobalConfigContext)
60
-
61
54
  return (
62
- <View
55
+ <Box
63
56
  { ...props }
64
57
  ref={ ref }
65
- dir={ dir ?? globalConfigContext.rtl ? "rtl" : undefined }
66
58
  style={ [
67
59
  FlexStyleSheet.flex_row,
68
60
  baseStyle.container,
69
- globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined,
70
61
  style,
71
62
  ] }
72
63
  >
@@ -84,7 +75,7 @@ export const FormHelperText = forwardRef<FormHelperTextRef, FormHelperTextProps>
84
75
  </Text>
85
76
 
86
77
  { textTrailing }
87
- </View>
78
+ </Box>
88
79
  )
89
80
 
90
81
  },
@@ -1,12 +1,12 @@
1
1
  import type {
2
- ViewProps,
3
- } from "react-native"
2
+ BoxProps,
3
+ } from "../box"
4
4
 
5
5
  import type {
6
6
  TextProps,
7
7
  } from "../text"
8
8
 
9
- export interface FormHelperTextProps extends Omit<ViewProps, "children"> {
9
+ export interface FormHelperTextProps extends Omit<BoxProps, "children"> {
10
10
  error?: boolean,
11
11
  text: string,
12
12
  textLeading?: React.ReactNode,
@@ -1,21 +1,18 @@
1
1
  import {
2
2
  forwardRef,
3
- useContext,
4
3
  } from "react"
5
4
 
6
5
  import {
7
6
  StyleSheet,
8
- View,
9
7
  } from "react-native"
10
8
 
11
9
  import {
12
- GlobalConfigContext,
13
- } from "../../_internal/contexts"
10
+ FlexStyleSheet,
11
+ } from "../../style-sheets"
14
12
 
15
13
  import {
16
- CommonStyleSheet,
17
- FlexStyleSheet,
18
- } from "../../_internal/style-sheets"
14
+ Box,
15
+ } from "../box"
19
16
 
20
17
  import {
21
18
  Text,
@@ -37,25 +34,18 @@ export const FormLabel = forwardRef<FormLabelRef, FormLabelProps>(
37
34
  labelTrailing,
38
35
  textProps,
39
36
  style,
40
- dir,
41
37
  ...props
42
38
  },
43
39
  ref,
44
40
  ) {
45
41
 
46
- const
47
- globalConfigContext =
48
- useContext(GlobalConfigContext)
49
-
50
42
  return (
51
- <View
43
+ <Box
52
44
  { ...props }
53
45
  ref={ ref }
54
- dir={ dir ?? globalConfigContext.rtl ? "rtl" : undefined }
55
46
  style={ [
56
47
  FlexStyleSheet.flex_row,
57
48
  baseStyle.gap,
58
- globalConfigContext.rtl ? CommonStyleSheet.rtl : undefined,
59
49
  style,
60
50
  ] }
61
51
  >
@@ -70,7 +60,7 @@ export const FormLabel = forwardRef<FormLabelRef, FormLabelProps>(
70
60
  </Text>
71
61
 
72
62
  { labelTrailing }
73
- </View>
63
+ </Box>
74
64
  )
75
65
 
76
66
  },
@@ -1,12 +1,12 @@
1
1
  import type {
2
- ViewProps,
3
- } from "react-native"
2
+ BoxProps,
3
+ } from "../box"
4
4
 
5
5
  import type {
6
6
  TextProps,
7
7
  } from "../text"
8
8
 
9
- export interface FormLabelProps extends Omit<ViewProps, "children"> {
9
+ export interface FormLabelProps extends Omit<BoxProps, "children"> {
10
10
  label: string,
11
11
  labelLeading?: React.ReactNode,
12
12
  labelTrailing?: React.ReactNode,