@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.
- package/lib/commonjs/components/accordion/_Header.js +15 -15
- package/lib/commonjs/components/accordion/_Header.js.map +1 -1
- package/lib/commonjs/components/accordion/_HeaderBorder.js +8 -8
- package/lib/commonjs/components/accordion/_HeaderBorder.js.map +1 -1
- package/lib/commonjs/components/accordion/_Item.js +2 -2
- package/lib/commonjs/components/accordion/_Item.js.map +1 -1
- package/lib/commonjs/components/box/Box.js +26 -0
- package/lib/commonjs/components/box/Box.js.map +1 -0
- package/lib/commonjs/components/box/BoxProps.js +6 -0
- package/lib/commonjs/components/box/BoxProps.js.map +1 -0
- package/lib/commonjs/components/box/BoxRef.js +6 -0
- package/lib/commonjs/components/box/BoxRef.js.map +1 -0
- package/lib/commonjs/components/box/index.js +17 -0
- package/lib/commonjs/components/box/index.js.map +1 -0
- package/lib/commonjs/components/button/base/Base.js +2 -8
- package/lib/commonjs/components/button/base/Base.js.map +1 -1
- package/lib/commonjs/components/button-group/ButtonGroup.js +2 -2
- package/lib/commonjs/components/button-group/ButtonGroup.js.map +1 -1
- package/lib/commonjs/components/button-group/index.js.map +1 -1
- package/lib/commonjs/components/checkbox/Checkbox.js +16 -19
- package/lib/commonjs/components/checkbox/Checkbox.js.map +1 -1
- package/lib/commonjs/components/checkbox-group/CheckboxGroup.js +11 -21
- package/lib/commonjs/components/checkbox-group/CheckboxGroup.js.map +1 -1
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js +23 -23
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/commonjs/components/collapsible/Collapsible.js +3 -3
- package/lib/commonjs/components/collapsible/Collapsible.js.map +1 -1
- package/lib/commonjs/components/form-helper-text/FormHelperText.js +10 -13
- package/lib/commonjs/components/form-helper-text/FormHelperText.js.map +1 -1
- package/lib/commonjs/components/form-label/FormLabel.js +4 -7
- package/lib/commonjs/components/form-label/FormLabel.js.map +1 -1
- package/lib/commonjs/components/form-label/index.js.map +1 -1
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/inline-loading/InlineLoading.js +9 -12
- package/lib/commonjs/components/inline-loading/InlineLoading.js.map +1 -1
- package/lib/commonjs/components/inline-loading/index.js.map +1 -1
- package/lib/commonjs/components/layer/index.js.map +1 -1
- package/lib/commonjs/components/modal/Modal.js +17 -18
- package/lib/commonjs/components/modal/Modal.js.map +1 -1
- package/lib/commonjs/components/modal/index.js.map +1 -1
- package/lib/commonjs/components/modal-content/ModalContent.js +5 -8
- package/lib/commonjs/components/modal-content/ModalContent.js.map +1 -1
- package/lib/commonjs/components/modal-content/index.js.map +1 -1
- package/lib/commonjs/components/notification/base/Base.js +19 -20
- package/lib/commonjs/components/notification/base/Base.js.map +1 -1
- package/lib/commonjs/components/password-input-field/_ghost-icon/GhostIcon.js +3 -3
- package/lib/commonjs/components/password-input-field/_ghost-icon/GhostIcon.js.map +1 -1
- package/lib/commonjs/components/radio-button/RadioButton.js +19 -18
- package/lib/commonjs/components/radio-button/RadioButton.js.map +1 -1
- package/lib/commonjs/components/radio-button/index.js.map +1 -1
- package/lib/commonjs/components/radio-button-group/RadioButtonGroup.js +10 -9
- package/lib/commonjs/components/radio-button-group/RadioButtonGroup.js.map +1 -1
- package/lib/commonjs/components/radio-button-group/index.js.map +1 -1
- package/lib/commonjs/components/radio-button-input/RadioButtonInput.js +25 -25
- package/lib/commonjs/components/radio-button-input/RadioButtonInput.js.map +1 -1
- package/lib/commonjs/components/radio-button-input/index.js.map +1 -1
- package/lib/commonjs/components/switch/Switch.js +10 -10
- package/lib/commonjs/components/switch/Switch.js.map +1 -1
- package/lib/commonjs/components/text/Text.js +31 -44
- package/lib/commonjs/components/text/Text.js.map +1 -1
- package/lib/commonjs/components/text-area/index.js.map +1 -1
- package/lib/commonjs/components/text-area-field/index.js.map +1 -1
- package/lib/commonjs/components/text-area-fluid/TextAreaFluid.js +4 -4
- package/lib/commonjs/components/text-area-fluid/TextAreaFluid.js.map +1 -1
- package/lib/commonjs/components/text-area-fluid/index.js.map +1 -1
- package/lib/commonjs/components/text-input-field/TextInputField.js +33 -20
- package/lib/commonjs/components/text-input-field/TextInputField.js.map +1 -1
- package/lib/commonjs/components/text-input-field/_rn-text-input/RNTextInput.js +4 -4
- package/lib/commonjs/components/text-input-field/_rn-text-input/RNTextInput.js.map +1 -1
- package/lib/commonjs/components/text-input-field/index.js.map +1 -1
- package/lib/commonjs/components/text-input-fluid/TextInputFluid.js +4 -4
- package/lib/commonjs/components/text-input-fluid/TextInputFluid.js.map +1 -1
- package/lib/commonjs/components/text-input-fluid/index.js.map +1 -1
- package/lib/commonjs/components/toggle/base/Base.js +14 -13
- package/lib/commonjs/components/toggle/base/Base.js.map +1 -1
- package/lib/commonjs/components/toggle/base/index.js.map +1 -1
- package/lib/commonjs/components/toggle/default/index.js.map +1 -1
- package/lib/commonjs/components/toggle/index.js.map +1 -1
- package/lib/commonjs/components/toggle/small/index.js.map +1 -1
- package/lib/commonjs/providers/dialog/_controller/_modal/Modal.js +1 -1
- package/lib/commonjs/providers/dialog/_controller/_modal/Modal.js.map +1 -1
- package/lib/commonjs/style-sheets/direction-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/direction-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/display-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/display-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/flex-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/flex-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/font-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/font-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/height-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/height-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/index.js +121 -0
- package/lib/commonjs/style-sheets/index.js.map +1 -0
- package/lib/commonjs/style-sheets/overflow-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/overflow-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/position-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/position-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/direction.js +18 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/direction.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/display.js +15 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/display.js.map +1 -0
- package/lib/{module/_internal/style-sheets/flex-style-sheet.js → commonjs/style-sheets/style-sheet-obj/flex.js} +25 -4
- package/lib/commonjs/style-sheets/style-sheet-obj/flex.js.map +1 -0
- package/lib/commonjs/{_internal/style-sheets/text-style-sheet.js → style-sheets/style-sheet-obj/font.js} +4 -5
- package/lib/commonjs/style-sheets/style-sheet-obj/font.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/height.js +18 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/height.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/index.js +105 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/index.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/overflow.js +18 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/overflow.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/position.js +18 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/position.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/typography.js +31 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/typography.js.map +1 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/width.js +18 -0
- package/lib/commonjs/style-sheets/style-sheet-obj/width.js.map +1 -0
- package/lib/commonjs/style-sheets/typography-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/typography-style-sheet.js.map +1 -0
- package/lib/commonjs/style-sheets/width-style-sheet.js +10 -0
- package/lib/commonjs/style-sheets/width-style-sheet.js.map +1 -0
- package/lib/module/components/accordion/_Header.js +1 -1
- package/lib/module/components/accordion/_Header.js.map +1 -1
- package/lib/module/components/accordion/_HeaderBorder.js +3 -3
- package/lib/module/components/accordion/_HeaderBorder.js.map +1 -1
- package/lib/module/components/accordion/_Item.js +2 -2
- package/lib/module/components/accordion/_Item.js.map +1 -1
- package/lib/module/components/box/Box.js +22 -0
- package/lib/module/components/box/Box.js.map +1 -0
- package/lib/module/components/box/BoxProps.js +4 -0
- package/lib/module/components/box/BoxProps.js.map +1 -0
- package/lib/module/components/box/BoxRef.js +4 -0
- package/lib/module/components/box/BoxRef.js.map +1 -0
- package/lib/module/components/box/index.js +4 -0
- package/lib/module/components/box/index.js.map +1 -0
- package/lib/module/components/button/base/Base.js +2 -8
- package/lib/module/components/button/base/Base.js.map +1 -1
- package/lib/module/components/button-group/ButtonGroup.js +2 -2
- package/lib/module/components/button-group/ButtonGroup.js.map +1 -1
- package/lib/module/components/button-group/index.js.map +1 -1
- package/lib/module/components/checkbox/Checkbox.js +7 -10
- package/lib/module/components/checkbox/Checkbox.js.map +1 -1
- package/lib/module/components/checkbox-group/CheckboxGroup.js +9 -19
- package/lib/module/components/checkbox-group/CheckboxGroup.js.map +1 -1
- package/lib/module/components/checkbox-input/CheckboxInput.js +3 -3
- package/lib/module/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/module/components/collapsible/Collapsible.js +3 -3
- package/lib/module/components/collapsible/Collapsible.js.map +1 -1
- package/lib/module/components/form-helper-text/FormHelperText.js +5 -8
- package/lib/module/components/form-helper-text/FormHelperText.js.map +1 -1
- package/lib/module/components/form-label/FormLabel.js +6 -9
- package/lib/module/components/form-label/FormLabel.js.map +1 -1
- package/lib/module/components/form-label/index.js.map +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/inline-loading/InlineLoading.js +6 -9
- package/lib/module/components/inline-loading/InlineLoading.js.map +1 -1
- package/lib/module/components/inline-loading/index.js.map +1 -1
- package/lib/module/components/layer/index.js.map +1 -1
- package/lib/module/components/modal/Modal.js +5 -6
- package/lib/module/components/modal/Modal.js.map +1 -1
- package/lib/module/components/modal/index.js.map +1 -1
- package/lib/module/components/modal-content/ModalContent.js +5 -8
- package/lib/module/components/modal-content/ModalContent.js.map +1 -1
- package/lib/module/components/modal-content/index.js.map +1 -1
- package/lib/module/components/notification/base/Base.js +4 -5
- package/lib/module/components/notification/base/Base.js.map +1 -1
- package/lib/module/components/password-input-field/_ghost-icon/GhostIcon.js +3 -3
- package/lib/module/components/password-input-field/_ghost-icon/GhostIcon.js.map +1 -1
- package/lib/module/components/radio-button/RadioButton.js +6 -5
- package/lib/module/components/radio-button/RadioButton.js.map +1 -1
- package/lib/module/components/radio-button/index.js.map +1 -1
- package/lib/module/components/radio-button-group/RadioButtonGroup.js +3 -2
- package/lib/module/components/radio-button-group/RadioButtonGroup.js.map +1 -1
- package/lib/module/components/radio-button-group/index.js.map +1 -1
- package/lib/module/components/radio-button-input/RadioButtonInput.js +3 -3
- package/lib/module/components/radio-button-input/RadioButtonInput.js.map +1 -1
- package/lib/module/components/radio-button-input/index.js.map +1 -1
- package/lib/module/components/switch/Switch.js +2 -2
- package/lib/module/components/switch/Switch.js.map +1 -1
- package/lib/module/components/text/Text.js +27 -40
- package/lib/module/components/text/Text.js.map +1 -1
- package/lib/module/components/text-area/index.js.map +1 -1
- package/lib/module/components/text-area-field/index.js.map +1 -1
- package/lib/module/components/text-area-fluid/TextAreaFluid.js +1 -1
- package/lib/module/components/text-area-fluid/TextAreaFluid.js.map +1 -1
- package/lib/module/components/text-area-fluid/index.js.map +1 -1
- package/lib/module/components/text-input-field/TextInputField.js +20 -7
- package/lib/module/components/text-input-field/TextInputField.js.map +1 -1
- package/lib/module/components/text-input-field/_rn-text-input/RNTextInput.js +2 -2
- package/lib/module/components/text-input-field/_rn-text-input/RNTextInput.js.map +1 -1
- package/lib/module/components/text-input-field/index.js.map +1 -1
- package/lib/module/components/text-input-fluid/TextInputFluid.js +1 -1
- package/lib/module/components/text-input-fluid/TextInputFluid.js.map +1 -1
- package/lib/module/components/text-input-fluid/index.js.map +1 -1
- package/lib/module/components/toggle/base/Base.js +7 -6
- package/lib/module/components/toggle/base/Base.js.map +1 -1
- package/lib/module/components/toggle/base/index.js.map +1 -1
- package/lib/module/components/toggle/default/index.js.map +1 -1
- package/lib/module/components/toggle/index.js.map +1 -1
- package/lib/module/components/toggle/small/index.js.map +1 -1
- package/lib/module/providers/dialog/_controller/_modal/Modal.js +1 -1
- package/lib/module/providers/dialog/_controller/_modal/Modal.js.map +1 -1
- package/lib/module/style-sheets/direction-style-sheet.js +6 -0
- package/lib/module/style-sheets/direction-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/display-style-sheet.js +6 -0
- package/lib/module/style-sheets/display-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/flex-style-sheet.js +6 -0
- package/lib/module/style-sheets/flex-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/font-style-sheet.js +6 -0
- package/lib/module/style-sheets/font-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/height-style-sheet.js +6 -0
- package/lib/module/style-sheets/height-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/index.js +14 -0
- package/lib/module/style-sheets/index.js.map +1 -0
- package/lib/module/style-sheets/overflow-style-sheet.js +6 -0
- package/lib/module/style-sheets/overflow-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/position-style-sheet.js +6 -0
- package/lib/module/style-sheets/position-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/direction.js +14 -0
- package/lib/module/style-sheets/style-sheet-obj/direction.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/display.js +11 -0
- package/lib/module/style-sheets/style-sheet-obj/display.js.map +1 -0
- package/lib/{commonjs/_internal/style-sheets/flex-style-sheet.js → module/style-sheets/style-sheet-obj/flex.js} +21 -8
- package/lib/module/style-sheets/style-sheet-obj/flex.js.map +1 -0
- package/lib/module/{_internal/style-sheets/text-style-sheet.js → style-sheets/style-sheet-obj/font.js} +3 -4
- package/lib/module/style-sheets/style-sheet-obj/font.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/height.js +14 -0
- package/lib/module/style-sheets/style-sheet-obj/height.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/index.js +12 -0
- package/lib/module/style-sheets/style-sheet-obj/index.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/overflow.js +14 -0
- package/lib/module/style-sheets/style-sheet-obj/overflow.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/position.js +14 -0
- package/lib/module/style-sheets/style-sheet-obj/position.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/typography.js +27 -0
- package/lib/module/style-sheets/style-sheet-obj/typography.js.map +1 -0
- package/lib/module/style-sheets/style-sheet-obj/width.js +14 -0
- package/lib/module/style-sheets/style-sheet-obj/width.js.map +1 -0
- package/lib/module/style-sheets/typography-style-sheet.js +6 -0
- package/lib/module/style-sheets/typography-style-sheet.js.map +1 -0
- package/lib/module/style-sheets/width-style-sheet.js +6 -0
- package/lib/module/style-sheets/width-style-sheet.js.map +1 -0
- package/lib/typescript/commonjs/components/accordion/_HeaderBorder.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/box/Box.d.ts +4 -0
- package/lib/typescript/commonjs/components/box/Box.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/box/BoxProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/box/BoxProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/box/BoxRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/box/BoxRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/box/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/box/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/button/base/Base.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/button-group/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/CheckboxProps.d.ts +4 -3
- package/lib/typescript/commonjs/components/checkbox/CheckboxProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroup.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/Collapsible.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/form-helper-text/FormHelperText.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/form-label/FormLabel.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/form-label/FormLabelProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/form-label/FormLabelProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/form-label/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/inline-loading/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/layer/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/modal/Modal.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/modal/ModalProps.d.ts +2 -2
- package/lib/typescript/commonjs/components/modal/ModalProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/modal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/modal-content/ModalContent.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/modal-content/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/notification/base/Base.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button/RadioButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroup.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-group/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInput.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text-area/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text-area-field/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text-area-fluid/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text-input-field/TextInputField.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text-input-field/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/text-input-fluid/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/base/Base.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/base/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/default/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/small/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/style-sheets/direction-style-sheet.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/direction-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/display-style-sheet.d.ts +9 -0
- package/lib/typescript/commonjs/style-sheets/display-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/flex-style-sheet.d.ts +99 -0
- package/lib/typescript/commonjs/style-sheets/flex-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/font-style-sheet.d.ts +59 -0
- package/lib/typescript/commonjs/style-sheets/font-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/height-style-sheet.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/height-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/index.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/overflow-style-sheet.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/overflow-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/position-style-sheet.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/position-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/direction.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/direction.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/display.d.ts +9 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/display.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/flex.d.ts +99 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/flex.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/font.d.ts +59 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/font.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/height.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/height.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/index.d.ts +10 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/overflow.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/overflow.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/position.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/position.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/typography.d.ts +24 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/typography.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/width.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/style-sheet-obj/width.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/typography-style-sheet.d.ts +24 -0
- package/lib/typescript/commonjs/style-sheets/typography-style-sheet.d.ts.map +1 -0
- package/lib/typescript/commonjs/style-sheets/width-style-sheet.d.ts +12 -0
- package/lib/typescript/commonjs/style-sheets/width-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/components/accordion/_HeaderBorder.d.ts.map +1 -1
- package/lib/typescript/module/components/box/Box.d.ts +4 -0
- package/lib/typescript/module/components/box/Box.d.ts.map +1 -0
- package/lib/typescript/module/components/box/BoxProps.d.ts +4 -0
- package/lib/typescript/module/components/box/BoxProps.d.ts.map +1 -0
- package/lib/typescript/module/components/box/BoxRef.d.ts +4 -0
- package/lib/typescript/module/components/box/BoxRef.d.ts.map +1 -0
- package/lib/typescript/module/components/box/index.d.ts +4 -0
- package/lib/typescript/module/components/box/index.d.ts.map +1 -0
- package/lib/typescript/module/components/button/base/Base.d.ts.map +1 -1
- package/lib/typescript/module/components/button-group/index.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/CheckboxProps.d.ts +4 -3
- package/lib/typescript/module/components/checkbox/CheckboxProps.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox-group/CheckboxGroup.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox-input/CheckboxInput.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/Collapsible.d.ts.map +1 -1
- package/lib/typescript/module/components/form-helper-text/FormHelperText.d.ts.map +1 -1
- package/lib/typescript/module/components/form-helper-text/FormHelperTextProps.d.ts +2 -2
- package/lib/typescript/module/components/form-helper-text/FormHelperTextProps.d.ts.map +1 -1
- package/lib/typescript/module/components/form-label/FormLabel.d.ts.map +1 -1
- package/lib/typescript/module/components/form-label/FormLabelProps.d.ts +2 -2
- package/lib/typescript/module/components/form-label/FormLabelProps.d.ts.map +1 -1
- package/lib/typescript/module/components/form-label/index.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts.map +1 -1
- package/lib/typescript/module/components/inline-loading/index.d.ts.map +1 -1
- package/lib/typescript/module/components/layer/index.d.ts.map +1 -1
- package/lib/typescript/module/components/modal/Modal.d.ts.map +1 -1
- package/lib/typescript/module/components/modal/ModalProps.d.ts +2 -2
- package/lib/typescript/module/components/modal/ModalProps.d.ts.map +1 -1
- package/lib/typescript/module/components/modal/index.d.ts.map +1 -1
- package/lib/typescript/module/components/modal-content/ModalContent.d.ts.map +1 -1
- package/lib/typescript/module/components/modal-content/index.d.ts.map +1 -1
- package/lib/typescript/module/components/notification/base/Base.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button/RadioButton.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button/index.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-group/RadioButtonGroup.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-group/index.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-input/RadioButtonInput.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-input/index.d.ts.map +1 -1
- package/lib/typescript/module/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/module/components/text-area/index.d.ts.map +1 -1
- package/lib/typescript/module/components/text-area-field/index.d.ts.map +1 -1
- package/lib/typescript/module/components/text-area-fluid/index.d.ts.map +1 -1
- package/lib/typescript/module/components/text-input-field/TextInputField.d.ts.map +1 -1
- package/lib/typescript/module/components/text-input-field/index.d.ts.map +1 -1
- package/lib/typescript/module/components/text-input-fluid/index.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/base/Base.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/base/index.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/default/index.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/index.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/small/index.d.ts.map +1 -1
- package/lib/typescript/module/style-sheets/direction-style-sheet.d.ts +12 -0
- package/lib/typescript/module/style-sheets/direction-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/display-style-sheet.d.ts +9 -0
- package/lib/typescript/module/style-sheets/display-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/flex-style-sheet.d.ts +99 -0
- package/lib/typescript/module/style-sheets/flex-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/font-style-sheet.d.ts +59 -0
- package/lib/typescript/module/style-sheets/font-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/height-style-sheet.d.ts +12 -0
- package/lib/typescript/module/style-sheets/height-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/index.d.ts +12 -0
- package/lib/typescript/module/style-sheets/index.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/overflow-style-sheet.d.ts +12 -0
- package/lib/typescript/module/style-sheets/overflow-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/position-style-sheet.d.ts +12 -0
- package/lib/typescript/module/style-sheets/position-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/direction.d.ts +12 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/direction.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/display.d.ts +9 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/display.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/flex.d.ts +99 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/flex.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/font.d.ts +59 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/font.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/height.d.ts +12 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/height.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/index.d.ts +10 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/index.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/overflow.d.ts +12 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/overflow.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/position.d.ts +12 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/position.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/typography.d.ts +24 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/typography.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/width.d.ts +12 -0
- package/lib/typescript/module/style-sheets/style-sheet-obj/width.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/typography-style-sheet.d.ts +24 -0
- package/lib/typescript/module/style-sheets/typography-style-sheet.d.ts.map +1 -0
- package/lib/typescript/module/style-sheets/width-style-sheet.d.ts +12 -0
- package/lib/typescript/module/style-sheets/width-style-sheet.d.ts.map +1 -0
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/accordion/_Header.tsx +4 -4
- package/src/components/accordion/_HeaderBorder.tsx +7 -6
- package/src/components/accordion/_Item.tsx +3 -3
- package/src/components/box/Box.tsx +57 -0
- package/src/components/box/BoxProps.ts +6 -0
- package/src/components/box/BoxRef.ts +6 -0
- package/src/components/box/index.ts +3 -0
- package/src/components/button/base/Base.tsx +5 -10
- package/src/components/button-group/ButtonGroup.tsx +3 -3
- package/src/components/checkbox/Checkbox.tsx +16 -20
- package/src/components/checkbox/CheckboxProps.ts +6 -3
- package/src/components/checkbox-group/CheckboxGroup.tsx +15 -33
- package/src/components/checkbox-input/CheckboxInput.tsx +9 -8
- package/src/components/collapsible/Collapsible.tsx +5 -4
- package/src/components/form-helper-text/FormHelperText.tsx +10 -19
- package/src/components/form-helper-text/FormHelperTextProps.ts +3 -3
- package/src/components/form-label/FormLabel.tsx +6 -16
- package/src/components/form-label/FormLabelProps.ts +3 -3
- package/src/components/inline-loading/InlineLoading.tsx +11 -19
- package/src/components/modal/Modal.tsx +11 -10
- package/src/components/modal/ModalProps.ts +3 -3
- package/src/components/modal-content/ModalContent.tsx +5 -15
- package/src/components/notification/base/Base.tsx +10 -10
- package/src/components/password-input-field/_ghost-icon/GhostIcon.tsx +4 -4
- package/src/components/radio-button/RadioButton.tsx +16 -11
- package/src/components/radio-button-group/RadioButtonGroup.tsx +9 -5
- package/src/components/radio-button-input/RadioButtonInput.tsx +9 -8
- package/src/components/switch/Switch.tsx +6 -6
- package/src/components/text/Text.tsx +33 -67
- package/src/components/text-area-fluid/TextAreaFluid.tsx +4 -4
- package/src/components/text-input-field/TextInputField.tsx +37 -3
- package/src/components/text-input-field/_rn-text-input/RNTextInput.tsx +5 -5
- package/src/components/text-input-fluid/TextInputFluid.tsx +4 -4
- package/src/components/toggle/base/Base.tsx +16 -11
- package/src/providers/dialog/_controller/_modal/Modal.tsx +1 -1
- package/src/style-sheets/direction-style-sheet.ts +9 -0
- package/src/style-sheets/display-style-sheet.ts +9 -0
- package/src/style-sheets/flex-style-sheet.ts +9 -0
- package/src/style-sheets/font-style-sheet.ts +9 -0
- package/src/style-sheets/height-style-sheet.ts +9 -0
- package/src/style-sheets/index.ts +15 -0
- package/src/style-sheets/overflow-style-sheet.ts +9 -0
- package/src/style-sheets/position-style-sheet.ts +9 -0
- package/src/style-sheets/style-sheet-obj/direction.ts +15 -0
- package/src/style-sheets/style-sheet-obj/display.ts +12 -0
- package/src/{_internal/style-sheets/flex-style-sheet.ts → style-sheets/style-sheet-obj/flex.ts} +22 -4
- package/src/{_internal/style-sheets/text-style-sheet.ts → style-sheets/style-sheet-obj/font.ts} +4 -4
- package/src/style-sheets/style-sheet-obj/height.ts +15 -0
- package/src/style-sheets/style-sheet-obj/index.ts +9 -0
- package/src/style-sheets/style-sheet-obj/overflow.ts +15 -0
- package/src/style-sheets/style-sheet-obj/position.ts +15 -0
- package/src/style-sheets/style-sheet-obj/typography.ts +31 -0
- package/src/style-sheets/style-sheet-obj/width.ts +15 -0
- package/src/style-sheets/typography-style-sheet.ts +9 -0
- package/src/style-sheets/width-style-sheet.ts +9 -0
- package/lib/commonjs/_internal/style-sheets/common-style-sheet.js +0 -28
- package/lib/commonjs/_internal/style-sheets/common-style-sheet.js.map +0 -1
- package/lib/commonjs/_internal/style-sheets/flex-style-sheet.js.map +0 -1
- package/lib/commonjs/_internal/style-sheets/index.js +0 -39
- package/lib/commonjs/_internal/style-sheets/index.js.map +0 -1
- package/lib/commonjs/_internal/style-sheets/text-style-sheet.js.map +0 -1
- package/lib/module/_internal/style-sheets/common-style-sheet.js +0 -24
- package/lib/module/_internal/style-sheets/common-style-sheet.js.map +0 -1
- package/lib/module/_internal/style-sheets/flex-style-sheet.js.map +0 -1
- package/lib/module/_internal/style-sheets/index.js +0 -6
- package/lib/module/_internal/style-sheets/index.js.map +0 -1
- package/lib/module/_internal/style-sheets/text-style-sheet.js.map +0 -1
- package/lib/typescript/commonjs/_internal/style-sheets/common-style-sheet.d.ts +0 -21
- package/lib/typescript/commonjs/_internal/style-sheets/common-style-sheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/_internal/style-sheets/flex-style-sheet.d.ts +0 -81
- package/lib/typescript/commonjs/_internal/style-sheets/flex-style-sheet.d.ts.map +0 -1
- package/lib/typescript/commonjs/_internal/style-sheets/index.d.ts +0 -4
- package/lib/typescript/commonjs/_internal/style-sheets/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/_internal/style-sheets/text-style-sheet.d.ts +0 -59
- package/lib/typescript/commonjs/_internal/style-sheets/text-style-sheet.d.ts.map +0 -1
- package/lib/typescript/module/_internal/style-sheets/common-style-sheet.d.ts +0 -21
- package/lib/typescript/module/_internal/style-sheets/common-style-sheet.d.ts.map +0 -1
- package/lib/typescript/module/_internal/style-sheets/flex-style-sheet.d.ts +0 -81
- package/lib/typescript/module/_internal/style-sheets/flex-style-sheet.d.ts.map +0 -1
- package/lib/typescript/module/_internal/style-sheets/index.d.ts +0 -4
- package/lib/typescript/module/_internal/style-sheets/index.d.ts.map +0 -1
- package/lib/typescript/module/_internal/style-sheets/text-style-sheet.d.ts +0 -59
- package/lib/typescript/module/_internal/style-sheets/text-style-sheet.d.ts.map +0 -1
- package/src/_internal/style-sheets/common-style-sheet.ts +0 -24
- package/src/_internal/style-sheets/index.ts +0 -3
- /package/src/components/button-group/{index.tsx → index.ts} +0 -0
- /package/src/components/form-label/{index.tsx → index.ts} +0 -0
- /package/src/components/{index.tsx → index.ts} +0 -0
- /package/src/components/inline-loading/{index.tsx → index.ts} +0 -0
- /package/src/components/layer/{index.tsx → index.ts} +0 -0
- /package/src/components/modal/{index.tsx → index.ts} +0 -0
- /package/src/components/modal-content/{index.tsx → index.ts} +0 -0
- /package/src/components/radio-button/{index.tsx → index.ts} +0 -0
- /package/src/components/radio-button-group/{index.tsx → index.ts} +0 -0
- /package/src/components/radio-button-input/{index.tsx → index.ts} +0 -0
- /package/src/components/text-area/{index.tsx → index.ts} +0 -0
- /package/src/components/text-area-field/{index.tsx → index.ts} +0 -0
- /package/src/components/text-area-fluid/{index.tsx → index.ts} +0 -0
- /package/src/components/text-input-field/{index.tsx → index.ts} +0 -0
- /package/src/components/text-input-fluid/{index.tsx → index.ts} +0 -0
- /package/src/components/toggle/base/{index.tsx → index.ts} +0 -0
- /package/src/components/toggle/default/{index.tsx → index.ts} +0 -0
- /package/src/components/toggle/{index.tsx → index.ts} +0 -0
- /package/src/components/toggle/small/{index.tsx → index.ts} +0 -0
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
-
:
|
|
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
|
-
|
|
25
|
-
} from "../../
|
|
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 ?
|
|
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
|
+
)
|
|
@@ -20,8 +20,10 @@ import {
|
|
|
20
20
|
} from "../../../_internal/contexts"
|
|
21
21
|
|
|
22
22
|
import {
|
|
23
|
+
DirectionStyleSheet,
|
|
23
24
|
FlexStyleSheet,
|
|
24
|
-
|
|
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
|
-
|
|
90
|
-
globalConfigContext.rtl ?
|
|
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
|
-
|
|
22
|
+
DirectionStyleSheet,
|
|
23
23
|
FlexStyleSheet,
|
|
24
|
-
} from "../../
|
|
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 ?
|
|
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
|
-
<
|
|
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
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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
|
-
</
|
|
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<
|
|
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?:
|
|
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
|
-
|
|
26
|
-
} from "../../
|
|
23
|
+
ThemeContext,
|
|
24
|
+
} from "../../contexts"
|
|
27
25
|
|
|
28
26
|
import {
|
|
29
|
-
CommonStyleSheet,
|
|
30
27
|
FlexStyleSheet,
|
|
31
|
-
} from "../../
|
|
28
|
+
} from "../../style-sheets"
|
|
32
29
|
|
|
33
30
|
import {
|
|
34
|
-
|
|
35
|
-
|
|
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
|
-
<
|
|
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
|
-
<
|
|
80
|
+
<Box
|
|
94
81
|
style={ [
|
|
95
82
|
baseStyle.wrapper,
|
|
96
83
|
wrapperOrientationStyle[orientation],
|
|
97
84
|
] }
|
|
98
85
|
>
|
|
99
86
|
{ children }
|
|
100
|
-
</
|
|
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
|
-
</
|
|
107
|
+
</Box>
|
|
121
108
|
)
|
|
122
109
|
|
|
123
110
|
},
|
|
@@ -142,16 +129,11 @@ const
|
|
|
142
129
|
},
|
|
143
130
|
}),
|
|
144
131
|
|
|
145
|
-
wrapperOrientationStyle =
|
|
146
|
-
|
|
147
|
-
vertical:
|
|
148
|
-
|
|
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
|
-
|
|
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
|
-
|
|
210
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
<
|
|
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
|
-
</
|
|
78
|
+
</Box>
|
|
88
79
|
)
|
|
89
80
|
|
|
90
81
|
},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
} from "
|
|
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<
|
|
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
|
-
|
|
13
|
-
} from "../../
|
|
10
|
+
FlexStyleSheet,
|
|
11
|
+
} from "../../style-sheets"
|
|
14
12
|
|
|
15
13
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
<
|
|
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
|
-
</
|
|
63
|
+
</Box>
|
|
74
64
|
)
|
|
75
65
|
|
|
76
66
|
},
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type {
|
|
2
|
-
|
|
3
|
-
} from "
|
|
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<
|
|
9
|
+
export interface FormLabelProps extends Omit<BoxProps, "children"> {
|
|
10
10
|
label: string,
|
|
11
11
|
labelLeading?: React.ReactNode,
|
|
12
12
|
labelTrailing?: React.ReactNode,
|