@audira/carbon-react-native 1.0.5 → 1.0.6
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/_chevron/Chevron.js → _internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js} +22 -10
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js.map +1 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js +6 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js.map +1 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/index.js +17 -0
- package/lib/commonjs/_internal/components/animated-collapsible-chevron/index.js.map +1 -0
- package/lib/commonjs/{components/accordion/_chevron → _internal/components}/index.js +4 -4
- package/lib/commonjs/_internal/components/index.js.map +1 -0
- package/lib/commonjs/carbon-style-sheet/color.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/flex.js +9 -1
- package/lib/commonjs/carbon-style-sheet/g/flex.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/index.js +11 -0
- package/lib/commonjs/carbon-style-sheet/g/index.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/spacing.js +172 -4
- package/lib/commonjs/carbon-style-sheet/g/spacing.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/visibility.js +40 -0
- package/lib/commonjs/carbon-style-sheet/g/visibility.js.map +1 -0
- package/lib/commonjs/carbon-style-sheet/g-object/flex.js +4 -1
- package/lib/commonjs/carbon-style-sheet/g-object/flex.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/index.js +11 -0
- package/lib/commonjs/carbon-style-sheet/g-object/index.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +67 -4
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/visibility.js +26 -0
- package/lib/commonjs/carbon-style-sheet/g-object/visibility.js.map +1 -0
- package/lib/commonjs/components/accordion/AccordionItemRefBase.js +2 -0
- package/lib/commonjs/components/accordion/AccordionItemRefBase.js.map +1 -0
- package/lib/commonjs/components/accordion/_Header.js +8 -6
- package/lib/commonjs/components/accordion/_Header.js.map +1 -1
- package/lib/commonjs/components/accordion/_Item.js +11 -9
- package/lib/commonjs/components/accordion/_Item.js.map +1 -1
- package/lib/commonjs/components/accordion/_motion.js.map +1 -1
- package/lib/commonjs/components/accordion/index.js +0 -66
- package/lib/commonjs/components/accordion/index.js.map +1 -1
- package/lib/commonjs/components/checkbox/Checkbox.js +1 -1
- package/lib/commonjs/components/checkbox/Checkbox.js.map +1 -1
- package/lib/commonjs/components/{accordion/_chevron/ChevronProps.js → checkbox/CheckboxRefBase.js} +1 -1
- package/lib/commonjs/components/checkbox/CheckboxRefBase.js.map +1 -0
- package/lib/commonjs/components/checkbox/index.js +0 -22
- package/lib/commonjs/components/checkbox/index.js.map +1 -1
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js +2 -2
- package/lib/commonjs/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/commonjs/components/{checkbox/_RefBase.js → checkbox-input/CheckboxInputRefBase.js} +1 -1
- package/lib/commonjs/components/checkbox-input/CheckboxInputRefBase.js.map +1 -0
- package/lib/commonjs/components/checkbox-input/index.js +0 -44
- package/lib/commonjs/components/checkbox-input/index.js.map +1 -1
- package/lib/commonjs/components/collapsible/Collapsible.js +26 -33
- package/lib/commonjs/components/collapsible/Collapsible.js.map +1 -1
- package/lib/commonjs/components/collapsible/CollapsibleRefBase.js +2 -0
- package/lib/commonjs/components/collapsible/CollapsibleRefBase.js.map +1 -0
- package/lib/commonjs/components/collapsible/index.js +0 -22
- package/lib/commonjs/components/collapsible/index.js.map +1 -1
- package/lib/commonjs/components/index.js +39 -15
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/radio-button/RadioButton.js +1 -1
- package/lib/commonjs/components/radio-button/RadioButton.js.map +1 -1
- package/lib/commonjs/components/{checkbox-input/_RefBase.js → radio-button/RadioButtonRefBase.js} +1 -1
- package/lib/commonjs/components/radio-button/RadioButtonRefBase.js.map +1 -0
- package/lib/commonjs/components/radio-button/index.js +0 -22
- package/lib/commonjs/components/radio-button/index.js.map +1 -1
- package/lib/commonjs/components/radio-button-input/RadioButtonInputRefBase.js +2 -0
- package/lib/commonjs/components/radio-button-input/RadioButtonInputRefBase.js.map +1 -0
- package/lib/commonjs/components/radio-button-input/index.js +0 -33
- package/lib/commonjs/components/radio-button-input/index.js.map +1 -1
- package/lib/commonjs/components/switch/Switch.js +3 -2
- package/lib/commonjs/components/switch/Switch.js.map +1 -1
- package/lib/commonjs/components/switch/SwitchRefBase.js +2 -0
- package/lib/{module/components/collapsible/_RefBase.js.map → commonjs/components/switch/SwitchRefBase.js.map} +1 -1
- package/lib/commonjs/components/switch/index.js +0 -44
- package/lib/commonjs/components/switch/index.js.map +1 -1
- package/lib/commonjs/components/table-cell/TableCell.js +4 -2
- package/lib/commonjs/components/table-cell/TableCell.js.map +1 -1
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckbox.js +92 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckbox.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js +6 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.js +6 -0
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.js.map +1 -0
- package/lib/commonjs/components/{radio-button/_RefBase.js → table-cell-checkbox/TableCellCheckboxRef.js} +1 -1
- package/lib/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-checkbox/index.js +17 -0
- package/lib/commonjs/components/table-cell-checkbox/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellText.js +5 -7
- package/lib/commonjs/components/table-cell-text/TableCellText.js.map +1 -1
- package/lib/commonjs/components/table-row/TableRow.js +51 -32
- package/lib/commonjs/components/table-row/TableRow.js.map +1 -1
- package/lib/commonjs/components/table-row/_TableRowContext.js +5 -1
- package/lib/commonjs/components/table-row/_TableRowContext.js.map +1 -1
- package/lib/commonjs/components/table-row/_TableRowContextProvider.js +27 -0
- package/lib/commonjs/components/table-row/_TableRowContextProvider.js.map +1 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js +3 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js.map +1 -1
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsible.js +212 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsible.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js +77 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js +6 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/index.js +17 -0
- package/lib/commonjs/components/table-row-collapsible/_table-cell-chevron/index.js.map +1 -0
- package/lib/commonjs/components/table-row-collapsible/index.js +17 -0
- package/lib/commonjs/components/table-row-collapsible/index.js.map +1 -0
- package/lib/commonjs/components/toggle/base/{_RefBase.js → BaseRefBase.js} +1 -1
- package/lib/commonjs/components/toggle/base/BaseRefBase.js.map +1 -0
- package/lib/commonjs/components/toggle/base/index.js +0 -22
- package/lib/commonjs/components/toggle/base/index.js.map +1 -1
- package/lib/module/{components/accordion/_chevron/Chevron.js → _internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js} +22 -10
- package/lib/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.js.map +1 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js +4 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.js.map +1 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/index.js +4 -0
- package/lib/module/_internal/components/animated-collapsible-chevron/index.js.map +1 -0
- package/lib/module/_internal/components/index.js +4 -0
- package/lib/module/_internal/components/index.js.map +1 -0
- package/lib/module/carbon-style-sheet/color.js +1 -1
- package/lib/module/carbon-style-sheet/g/flex.js +7 -0
- package/lib/module/carbon-style-sheet/g/flex.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/font.js +1 -1
- package/lib/module/carbon-style-sheet/g/index.js +1 -0
- package/lib/module/carbon-style-sheet/g/index.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/spacing.js +148 -1
- package/lib/module/carbon-style-sheet/g/spacing.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g/visibility.js +34 -0
- package/lib/module/carbon-style-sheet/g/visibility.js.map +1 -0
- package/lib/module/carbon-style-sheet/g-object/flex.js +3 -0
- package/lib/module/carbon-style-sheet/g-object/flex.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/index.js +1 -0
- package/lib/module/carbon-style-sheet/g-object/index.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js +64 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js.map +1 -1
- package/lib/module/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/visibility.js +22 -0
- package/lib/module/carbon-style-sheet/g-object/visibility.js.map +1 -0
- package/lib/module/components/accordion/AccordionItemRefBase.js +2 -0
- package/lib/module/components/accordion/AccordionItemRefBase.js.map +1 -0
- package/lib/module/components/accordion/_Header.js +4 -2
- package/lib/module/components/accordion/_Header.js.map +1 -1
- package/lib/module/components/accordion/_Item.js +11 -9
- package/lib/module/components/accordion/_Item.js.map +1 -1
- package/lib/module/components/accordion/_motion.js.map +1 -1
- package/lib/module/components/accordion/index.js +0 -6
- package/lib/module/components/accordion/index.js.map +1 -1
- package/lib/module/components/checkbox/Checkbox.js +1 -1
- package/lib/module/components/checkbox/Checkbox.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxRefBase.js +4 -0
- package/lib/module/components/checkbox/CheckboxRefBase.js.map +1 -0
- package/lib/module/components/checkbox/index.js +0 -2
- package/lib/module/components/checkbox/index.js.map +1 -1
- package/lib/module/components/checkbox-input/CheckboxInput.js +2 -2
- package/lib/module/components/checkbox-input/CheckboxInput.js.map +1 -1
- package/lib/module/components/checkbox-input/CheckboxInputRefBase.js +4 -0
- package/lib/module/components/checkbox-input/CheckboxInputRefBase.js.map +1 -0
- package/lib/module/components/checkbox-input/index.js +0 -4
- package/lib/module/components/checkbox-input/index.js.map +1 -1
- package/lib/module/components/collapsible/Collapsible.js +26 -33
- package/lib/module/components/collapsible/Collapsible.js.map +1 -1
- package/lib/module/components/collapsible/CollapsibleRefBase.js +2 -0
- package/lib/module/components/collapsible/CollapsibleRefBase.js.map +1 -0
- package/lib/module/components/collapsible/index.js +0 -2
- package/lib/module/components/collapsible/index.js.map +1 -1
- package/lib/module/components/index.js +2 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/radio-button/RadioButton.js +1 -1
- package/lib/module/components/radio-button/RadioButton.js.map +1 -1
- package/lib/module/components/radio-button/RadioButtonRefBase.js +4 -0
- package/lib/module/components/radio-button/RadioButtonRefBase.js.map +1 -0
- package/lib/module/components/radio-button/index.js +0 -2
- package/lib/module/components/radio-button/index.js.map +1 -1
- package/lib/module/components/radio-button-input/RadioButtonInputRefBase.js +2 -0
- package/lib/module/components/radio-button-input/RadioButtonInputRefBase.js.map +1 -0
- package/lib/module/components/radio-button-input/index.js +0 -3
- package/lib/module/components/radio-button-input/index.js.map +1 -1
- package/lib/module/components/switch/Switch.js +3 -2
- package/lib/module/components/switch/Switch.js.map +1 -1
- package/lib/module/components/switch/SwitchRefBase.js +2 -0
- package/lib/{commonjs/components/collapsible/_RefBase.js.map → module/components/switch/SwitchRefBase.js.map} +1 -1
- package/lib/module/components/switch/index.js +0 -4
- package/lib/module/components/switch/index.js.map +1 -1
- package/lib/module/components/table-cell/TableCell.js +4 -2
- package/lib/module/components/table-cell/TableCell.js.map +1 -1
- package/lib/module/components/table-cell-checkbox/TableCellCheckbox.js +87 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckbox.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js +4 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxProps.js +4 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxProps.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxRef.js +4 -0
- package/lib/module/components/table-cell-checkbox/TableCellCheckboxRef.js.map +1 -0
- package/lib/module/components/table-cell-checkbox/index.js +4 -0
- package/lib/module/components/table-cell-checkbox/index.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellText.js +5 -7
- package/lib/module/components/table-cell-text/TableCellText.js.map +1 -1
- package/lib/module/components/table-row/TableRow.js +51 -32
- package/lib/module/components/table-row/TableRow.js.map +1 -1
- package/lib/module/components/table-row/_TableRowContext.js +5 -1
- package/lib/module/components/table-row/_TableRowContext.js.map +1 -1
- package/lib/module/components/table-row/_TableRowContextProvider.js +23 -0
- package/lib/module/components/table-row/_TableRowContextProvider.js.map +1 -0
- package/lib/module/components/table-row/_style-sheet-height.js +3 -0
- package/lib/module/components/table-row/_style-sheet-height.js.map +1 -1
- package/lib/module/components/table-row-collapsible/TableRowCollapsible.js +207 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsible.js.map +1 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleProps.js +4 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleProps.js.map +1 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRef.js +4 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRef.js.map +1 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRefBase.js +4 -0
- package/lib/module/components/table-row-collapsible/TableRowCollapsibleRefBase.js.map +1 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js +72 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.js.map +1 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js +4 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.js.map +1 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/index.js +4 -0
- package/lib/module/components/table-row-collapsible/_table-cell-chevron/index.js.map +1 -0
- package/lib/module/components/table-row-collapsible/index.js +4 -0
- package/lib/module/components/table-row-collapsible/index.js.map +1 -0
- package/lib/module/components/toggle/base/BaseRefBase.js +4 -0
- package/lib/module/components/toggle/base/BaseRefBase.js.map +1 -0
- package/lib/module/components/toggle/base/index.js +0 -2
- package/lib/module/components/toggle/base/index.js.map +1 -1
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts +3 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts +9 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/index.d.ts +3 -0
- package/lib/typescript/commonjs/_internal/components/animated-collapsible-chevron/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/_internal/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/_internal/components/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/flex.d.ts +3 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/flex.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/index.d.ts +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/spacing.d.ts +63 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g/visibility.d.ts +19 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g/visibility.d.ts.map +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/flex.d.ts +3 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/flex.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/index.d.ts +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/spacing.d.ts +63 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/visibility.d.ts +19 -0
- package/lib/typescript/commonjs/carbon-style-sheet/g-object/visibility.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/accordion/AccordionItemRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/accordion/AccordionItemRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/AccordionItemRefBase.d.ts +11 -0
- package/lib/typescript/commonjs/components/accordion/AccordionItemRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/accordion/_Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/_Item.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/_context.d.ts +1 -1
- package/lib/typescript/commonjs/components/accordion/_context.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/_motion.d.ts +9 -2
- package/lib/typescript/commonjs/components/accordion/_motion.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/accordion/index.d.ts +7 -6
- package/lib/typescript/commonjs/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/CheckboxRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox/CheckboxRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox/CheckboxRefBase.d.ts +5 -0
- package/lib/typescript/commonjs/components/checkbox/CheckboxRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/checkbox/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/checkbox/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRef.d.ts.map +1 -1
- package/lib/typescript/{module/components/checkbox-input/_RefBase.d.ts → commonjs/components/checkbox-input/CheckboxInputRefBase.d.ts} +6 -3
- package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/checkbox-input/index.d.ts +5 -4
- package/lib/typescript/commonjs/components/checkbox-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/Collapsible.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/CollapsibleProps.d.ts +1 -2
- package/lib/typescript/commonjs/components/collapsible/CollapsibleProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRefBase.d.ts +9 -0
- package/lib/typescript/commonjs/components/collapsible/CollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/collapsible/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/collapsible/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +2 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRefBase.d.ts +4 -0
- package/lib/typescript/commonjs/components/radio-button/RadioButtonRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/radio-button/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/radio-button/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRefBase.d.ts +11 -0
- package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/radio-button-input/index.d.ts +4 -3
- package/lib/typescript/commonjs/components/radio-button-input/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/switch/Switch.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/switch/SwitchRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/switch/SwitchRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/switch/SwitchRefBase.d.ts +11 -0
- package/lib/typescript/commonjs/components/switch/SwitchRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/switch/index.d.ts +5 -4
- package/lib/typescript/commonjs/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckbox.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckbox.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.d.ts +13 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/TableCellCheckboxRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-checkbox/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRow.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts +7 -1
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts +3 -1
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row/_TableRowContextProvider.d.ts +8 -0
- package/lib/typescript/commonjs/components/table-row/_TableRowContextProvider.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsible.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsible.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.d.ts +23 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts +8 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts +8 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/index.d.ts +3 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/_table-cell-chevron/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-collapsible/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/toggle/base/BaseRef.d.ts +2 -2
- package/lib/typescript/commonjs/components/toggle/base/BaseRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/toggle/base/BaseRefBase.d.ts +4 -0
- package/lib/typescript/commonjs/components/toggle/base/BaseRefBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/toggle/base/index.d.ts +3 -2
- package/lib/typescript/commonjs/components/toggle/base/index.d.ts.map +1 -1
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts +3 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts +9 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/index.d.ts +3 -0
- package/lib/typescript/module/_internal/components/animated-collapsible-chevron/index.d.ts.map +1 -0
- package/lib/typescript/module/_internal/components/index.d.ts +2 -0
- package/lib/typescript/module/_internal/components/index.d.ts.map +1 -0
- package/lib/typescript/module/carbon-style-sheet/g/flex.d.ts +3 -0
- package/lib/typescript/module/carbon-style-sheet/g/flex.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/index.d.ts +1 -0
- package/lib/typescript/module/carbon-style-sheet/g/index.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/spacing.d.ts +63 -0
- package/lib/typescript/module/carbon-style-sheet/g/spacing.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g/visibility.d.ts +19 -0
- package/lib/typescript/module/carbon-style-sheet/g/visibility.d.ts.map +1 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/flex.d.ts +3 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/flex.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/index.d.ts +1 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/index.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/spacing.d.ts +63 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/spacing.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/g-object/visibility.d.ts +19 -0
- package/lib/typescript/module/carbon-style-sheet/g-object/visibility.d.ts.map +1 -0
- package/lib/typescript/module/components/accordion/AccordionItemRef.d.ts +2 -2
- package/lib/typescript/module/components/accordion/AccordionItemRef.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/AccordionItemRefBase.d.ts +11 -0
- package/lib/typescript/module/components/accordion/AccordionItemRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/accordion/_Header.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/_Item.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/_context.d.ts +1 -1
- package/lib/typescript/module/components/accordion/_context.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/_motion.d.ts +9 -2
- package/lib/typescript/module/components/accordion/_motion.d.ts.map +1 -1
- package/lib/typescript/module/components/accordion/index.d.ts +7 -6
- package/lib/typescript/module/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/Checkbox.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/CheckboxRef.d.ts +2 -2
- package/lib/typescript/module/components/checkbox/CheckboxRef.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox/CheckboxRefBase.d.ts +5 -0
- package/lib/typescript/module/components/checkbox/CheckboxRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/checkbox/index.d.ts +3 -2
- package/lib/typescript/module/components/checkbox/index.d.ts.map +1 -1
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRef.d.ts.map +1 -1
- package/lib/typescript/{commonjs/components/checkbox-input/_RefBase.d.ts → module/components/checkbox-input/CheckboxInputRefBase.d.ts} +6 -3
- package/lib/typescript/module/components/checkbox-input/CheckboxInputRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/checkbox-input/index.d.ts +5 -4
- package/lib/typescript/module/components/checkbox-input/index.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/Collapsible.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/CollapsibleProps.d.ts +1 -2
- package/lib/typescript/module/components/collapsible/CollapsibleProps.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/CollapsibleRef.d.ts +2 -2
- package/lib/typescript/module/components/collapsible/CollapsibleRef.d.ts.map +1 -1
- package/lib/typescript/module/components/collapsible/CollapsibleRefBase.d.ts +9 -0
- package/lib/typescript/module/components/collapsible/CollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/collapsible/index.d.ts +3 -2
- package/lib/typescript/module/components/collapsible/index.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts +2 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button/RadioButtonRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button/RadioButtonRef.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button/RadioButtonRefBase.d.ts +4 -0
- package/lib/typescript/module/components/radio-button/RadioButtonRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/radio-button/index.d.ts +3 -2
- package/lib/typescript/module/components/radio-button/index.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRef.d.ts.map +1 -1
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRefBase.d.ts +11 -0
- package/lib/typescript/module/components/radio-button-input/RadioButtonInputRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/radio-button-input/index.d.ts +4 -3
- package/lib/typescript/module/components/radio-button-input/index.d.ts.map +1 -1
- package/lib/typescript/module/components/switch/Switch.d.ts.map +1 -1
- package/lib/typescript/module/components/switch/SwitchRef.d.ts +2 -2
- package/lib/typescript/module/components/switch/SwitchRef.d.ts.map +1 -1
- package/lib/typescript/module/components/switch/SwitchRefBase.d.ts +11 -0
- package/lib/typescript/module/components/switch/SwitchRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/switch/index.d.ts +5 -4
- package/lib/typescript/module/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/module/components/table-cell/TableCell.d.ts.map +1 -1
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts +5 -0
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts.map +1 -1
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckbox.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckbox.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxInteractiveState.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxProps.d.ts +13 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxRef.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-checkbox/TableCellCheckboxRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-checkbox/index.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-checkbox/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/TableRow.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts +1 -1
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts +7 -1
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts +3 -1
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row/_TableRowContextProvider.d.ts +8 -0
- package/lib/typescript/module/components/table-row/_TableRowContextProvider.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts +3 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts.map +1 -1
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsible.d.ts +4 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsible.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleProps.d.ts +23 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRef.d.ts +5 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts +8 -0
- package/lib/typescript/module/components/table-row-collapsible/TableRowCollapsibleRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts +3 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts +8 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/index.d.ts +3 -0
- package/lib/typescript/module/components/table-row-collapsible/_table-cell-chevron/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-collapsible/index.d.ts +4 -0
- package/lib/typescript/module/components/table-row-collapsible/index.d.ts.map +1 -0
- package/lib/typescript/module/components/toggle/base/BaseRef.d.ts +2 -2
- package/lib/typescript/module/components/toggle/base/BaseRef.d.ts.map +1 -1
- package/lib/typescript/module/components/toggle/base/BaseRefBase.d.ts +4 -0
- package/lib/typescript/module/components/toggle/base/BaseRefBase.d.ts.map +1 -0
- package/lib/typescript/module/components/toggle/base/index.d.ts +3 -2
- package/lib/typescript/module/components/toggle/base/index.d.ts.map +1 -1
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/{components/accordion/_chevron/Chevron.tsx → _internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevron.tsx} +35 -11
- package/src/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.ts +14 -0
- package/src/_internal/components/animated-collapsible-chevron/index.ts +2 -0
- package/src/_internal/components/index.ts +1 -0
- package/src/carbon-style-sheet/color.ts +1 -1
- package/src/carbon-style-sheet/g/flex.ts +6 -0
- package/src/carbon-style-sheet/g/font.ts +1 -1
- package/src/carbon-style-sheet/g/index.ts +1 -0
- package/src/carbon-style-sheet/g/spacing.ts +106 -1
- package/src/carbon-style-sheet/g/typography.ts +1 -1
- package/src/carbon-style-sheet/g/visibility.ts +32 -0
- package/src/carbon-style-sheet/g-object/flex.ts +4 -0
- package/src/carbon-style-sheet/g-object/font.ts +1 -1
- package/src/carbon-style-sheet/g-object/index.ts +1 -0
- package/src/carbon-style-sheet/g-object/spacing.ts +85 -1
- package/src/carbon-style-sheet/g-object/typography.ts +1 -1
- package/src/carbon-style-sheet/g-object/visibility.ts +23 -0
- package/src/components/accordion/AccordionItemRef.ts +3 -3
- package/src/components/accordion/AccordionItemRefBase.ts +10 -0
- package/src/components/accordion/_Header.tsx +8 -3
- package/src/components/accordion/_Item.tsx +19 -16
- package/src/components/accordion/_context.ts +1 -1
- package/src/components/accordion/_motion.ts +2 -2
- package/src/components/accordion/index.ts +7 -6
- package/src/components/checkbox/Checkbox.tsx +4 -5
- package/src/components/checkbox/CheckboxRef.ts +3 -3
- package/src/components/checkbox/CheckboxRefBase.ts +7 -0
- package/src/components/checkbox/index.ts +3 -2
- package/src/components/checkbox-input/CheckboxInput.tsx +7 -7
- package/src/components/checkbox-input/CheckboxInputRef.ts +3 -4
- package/src/components/checkbox-input/{_RefBase.ts → CheckboxInputRefBase.ts} +5 -2
- package/src/components/checkbox-input/index.ts +5 -4
- package/src/components/collapsible/Collapsible.tsx +23 -40
- package/src/components/collapsible/CollapsibleProps.ts +1 -2
- package/src/components/collapsible/CollapsibleRef.ts +3 -3
- package/src/components/collapsible/CollapsibleRefBase.ts +8 -0
- package/src/components/collapsible/index.ts +3 -2
- package/src/components/index.ts +2 -0
- package/src/components/radio-button/RadioButton.tsx +4 -4
- package/src/components/radio-button/RadioButtonRef.ts +3 -3
- package/src/components/radio-button/RadioButtonRefBase.ts +6 -0
- package/src/components/radio-button/index.ts +3 -2
- package/src/components/radio-button-input/RadioButtonInput.tsx +3 -3
- package/src/components/radio-button-input/RadioButtonInputRef.ts +3 -3
- package/src/components/radio-button-input/RadioButtonInputRefBase.ts +10 -0
- package/src/components/radio-button-input/index.ts +4 -3
- package/src/components/switch/Switch.tsx +8 -7
- package/src/components/switch/SwitchRef.ts +3 -3
- package/src/components/switch/SwitchRefBase.ts +10 -0
- package/src/components/switch/index.ts +5 -4
- package/src/components/table-cell/TableCell.tsx +3 -0
- package/src/components/table-cell/TableCellProps.ts +5 -0
- package/src/components/table-cell-checkbox/TableCellCheckbox.tsx +168 -0
- package/src/components/table-cell-checkbox/TableCellCheckboxInteractiveState.ts +13 -0
- package/src/components/table-cell-checkbox/TableCellCheckboxProps.ts +26 -0
- package/src/components/table-cell-checkbox/TableCellCheckboxRef.ts +10 -0
- package/src/components/table-cell-checkbox/index.ts +4 -0
- package/src/components/table-cell-text/TableCellText.tsx +7 -8
- package/src/components/table-row/TableRow.tsx +100 -55
- package/src/components/table-row/TableRowInteractiveState.ts +0 -1
- package/src/components/table-row/TableRowProps.ts +7 -1
- package/src/components/table-row/_TableRowContext.ts +7 -1
- package/src/components/table-row/_TableRowContextProvider.tsx +38 -0
- package/src/components/table-row/_style-sheet-height.ts +3 -0
- package/src/components/table-row-collapsible/TableRowCollapsible.tsx +415 -0
- package/src/components/table-row-collapsible/TableRowCollapsibleProps.ts +44 -0
- package/src/components/table-row-collapsible/TableRowCollapsibleRef.ts +10 -0
- package/src/components/table-row-collapsible/TableRowCollapsibleRefBase.ts +10 -0
- package/src/components/table-row-collapsible/_table-cell-chevron/TableCellChevron.tsx +140 -0
- package/src/components/table-row-collapsible/_table-cell-chevron/TableCellChevronProps.ts +13 -0
- package/src/components/table-row-collapsible/_table-cell-chevron/index.ts +2 -0
- package/src/components/table-row-collapsible/index.ts +3 -0
- package/src/components/toggle/base/Base.tsx +3 -3
- package/src/components/toggle/base/BaseRef.ts +3 -3
- package/src/components/toggle/base/BaseRefBase.ts +7 -0
- package/src/components/toggle/base/index.ts +3 -2
- package/lib/commonjs/components/accordion/_ItemRefBase.js +0 -2
- package/lib/commonjs/components/accordion/_ItemRefBase.js.map +0 -1
- package/lib/commonjs/components/accordion/_chevron/Chevron.js.map +0 -1
- package/lib/commonjs/components/accordion/_chevron/ChevronProps.js.map +0 -1
- package/lib/commonjs/components/accordion/_chevron/index.js.map +0 -1
- package/lib/commonjs/components/checkbox/_RefBase.js.map +0 -1
- package/lib/commonjs/components/checkbox-input/_RefBase.js.map +0 -1
- package/lib/commonjs/components/collapsible/_RefBase.js +0 -2
- package/lib/commonjs/components/radio-button/_RefBase.js.map +0 -1
- package/lib/commonjs/components/radio-button-input/_RefBase.js +0 -2
- package/lib/commonjs/components/radio-button-input/_RefBase.js.map +0 -1
- package/lib/commonjs/components/switch/_RefBase.js +0 -2
- package/lib/commonjs/components/switch/_RefBase.js.map +0 -1
- package/lib/commonjs/components/toggle/base/_RefBase.js.map +0 -1
- package/lib/module/components/accordion/_ItemRefBase.js +0 -2
- package/lib/module/components/accordion/_ItemRefBase.js.map +0 -1
- package/lib/module/components/accordion/_chevron/Chevron.js.map +0 -1
- package/lib/module/components/accordion/_chevron/ChevronProps.js +0 -4
- package/lib/module/components/accordion/_chevron/ChevronProps.js.map +0 -1
- package/lib/module/components/accordion/_chevron/index.js +0 -4
- package/lib/module/components/accordion/_chevron/index.js.map +0 -1
- package/lib/module/components/checkbox/_RefBase.js +0 -4
- package/lib/module/components/checkbox/_RefBase.js.map +0 -1
- package/lib/module/components/checkbox-input/_RefBase.js +0 -4
- package/lib/module/components/checkbox-input/_RefBase.js.map +0 -1
- package/lib/module/components/collapsible/_RefBase.js +0 -2
- package/lib/module/components/radio-button/_RefBase.js +0 -4
- package/lib/module/components/radio-button/_RefBase.js.map +0 -1
- package/lib/module/components/radio-button-input/_RefBase.js +0 -2
- package/lib/module/components/radio-button-input/_RefBase.js.map +0 -1
- package/lib/module/components/switch/_RefBase.js +0 -2
- package/lib/module/components/switch/_RefBase.js.map +0 -1
- package/lib/module/components/toggle/base/_RefBase.js +0 -4
- package/lib/module/components/toggle/base/_RefBase.js.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_ItemRefBase.d.ts +0 -8
- package/lib/typescript/commonjs/components/accordion/_ItemRefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/Chevron.d.ts +0 -3
- package/lib/typescript/commonjs/components/accordion/_chevron/Chevron.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/ChevronProps.d.ts +0 -8
- package/lib/typescript/commonjs/components/accordion/_chevron/ChevronProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/accordion/_chevron/index.d.ts +0 -3
- package/lib/typescript/commonjs/components/accordion/_chevron/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/checkbox/_RefBase.d.ts +0 -9
- package/lib/typescript/commonjs/components/checkbox/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/checkbox-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/collapsible/_RefBase.d.ts +0 -7
- package/lib/typescript/commonjs/components/collapsible/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/radio-button/_RefBase.d.ts +0 -9
- package/lib/typescript/commonjs/components/radio-button/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/radio-button-input/_RefBase.d.ts +0 -8
- package/lib/typescript/commonjs/components/radio-button-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/switch/_RefBase.d.ts +0 -8
- package/lib/typescript/commonjs/components/switch/_RefBase.d.ts.map +0 -1
- package/lib/typescript/commonjs/components/toggle/base/_RefBase.d.ts +0 -9
- package/lib/typescript/commonjs/components/toggle/base/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_ItemRefBase.d.ts +0 -8
- package/lib/typescript/module/components/accordion/_ItemRefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_chevron/Chevron.d.ts +0 -3
- package/lib/typescript/module/components/accordion/_chevron/Chevron.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_chevron/ChevronProps.d.ts +0 -8
- package/lib/typescript/module/components/accordion/_chevron/ChevronProps.d.ts.map +0 -1
- package/lib/typescript/module/components/accordion/_chevron/index.d.ts +0 -3
- package/lib/typescript/module/components/accordion/_chevron/index.d.ts.map +0 -1
- package/lib/typescript/module/components/checkbox/_RefBase.d.ts +0 -9
- package/lib/typescript/module/components/checkbox/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/checkbox-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/collapsible/_RefBase.d.ts +0 -7
- package/lib/typescript/module/components/collapsible/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/radio-button/_RefBase.d.ts +0 -9
- package/lib/typescript/module/components/radio-button/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/radio-button-input/_RefBase.d.ts +0 -8
- package/lib/typescript/module/components/radio-button-input/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/switch/_RefBase.d.ts +0 -8
- package/lib/typescript/module/components/switch/_RefBase.d.ts.map +0 -1
- package/lib/typescript/module/components/toggle/base/_RefBase.d.ts +0 -9
- package/lib/typescript/module/components/toggle/base/_RefBase.d.ts.map +0 -1
- package/src/components/accordion/_ItemRefBase.ts +0 -7
- package/src/components/accordion/_chevron/ChevronProps.ts +0 -10
- package/src/components/accordion/_chevron/index.ts +0 -2
- package/src/components/checkbox/_RefBase.ts +0 -11
- package/src/components/collapsible/_RefBase.ts +0 -6
- package/src/components/radio-button/_RefBase.ts +0 -11
- package/src/components/radio-button-input/_RefBase.ts +0 -7
- package/src/components/switch/_RefBase.ts +0 -7
- package/src/components/toggle/base/_RefBase.ts +0 -11
package/package.json
CHANGED
|
@@ -5,29 +5,51 @@ import {
|
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
Animated as RNAnimated,
|
|
8
|
+
Easing,
|
|
8
9
|
type EasingFunction,
|
|
9
10
|
} from "react-native"
|
|
10
11
|
|
|
11
|
-
import ChevronDown from "@carbon/icons/svg/32/chevron--down.svg"
|
|
12
|
-
|
|
13
12
|
import {
|
|
14
13
|
Motion,
|
|
15
|
-
} from "
|
|
14
|
+
} from "@audira/carbon-react-native-elements"
|
|
15
|
+
|
|
16
|
+
import ChevronDown from "@carbon/icons/svg/32/chevron--down.svg"
|
|
16
17
|
|
|
17
18
|
import type {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
19
|
+
AnimatedCollapsibleChevronProps,
|
|
20
|
+
} from "./AnimatedCollapsibleChevronProps"
|
|
20
21
|
|
|
21
22
|
const
|
|
22
23
|
AnimatedSvgChevronDown =
|
|
23
24
|
RNAnimated.createAnimatedComponent(ChevronDown)
|
|
24
25
|
|
|
25
|
-
export function
|
|
26
|
+
export function AnimatedCollapsibleChevron({
|
|
27
|
+
motion = {
|
|
28
|
+
toOpen: {
|
|
29
|
+
duration: Motion.Duration.fast_02,
|
|
30
|
+
easing: Easing.bezier(
|
|
31
|
+
Motion.Easing.entrance.productive.x1,
|
|
32
|
+
Motion.Easing.entrance.productive.y1,
|
|
33
|
+
Motion.Easing.entrance.productive.x2,
|
|
34
|
+
Motion.Easing.entrance.productive.y2,
|
|
35
|
+
),
|
|
36
|
+
},
|
|
37
|
+
toClose: {
|
|
38
|
+
duration: Motion.Duration.fast_02,
|
|
39
|
+
easing: Easing.bezier(
|
|
40
|
+
Motion.Easing.exit.productive.x1,
|
|
41
|
+
Motion.Easing.exit.productive.y1,
|
|
42
|
+
Motion.Easing.exit.productive.x2,
|
|
43
|
+
Motion.Easing.exit.productive.y2,
|
|
44
|
+
),
|
|
45
|
+
},
|
|
46
|
+
},
|
|
26
47
|
open,
|
|
27
48
|
color,
|
|
28
49
|
size,
|
|
29
50
|
style,
|
|
30
|
-
|
|
51
|
+
...props
|
|
52
|
+
}: AnimatedCollapsibleChevronProps) {
|
|
31
53
|
|
|
32
54
|
const
|
|
33
55
|
isMounted =
|
|
@@ -51,8 +73,8 @@ export function Chevron({
|
|
|
51
73
|
rotateZ.current,
|
|
52
74
|
{
|
|
53
75
|
toValue: 1,
|
|
54
|
-
duration:
|
|
55
|
-
easing:
|
|
76
|
+
duration: motion.toOpen.duration,
|
|
77
|
+
easing: motion.toOpen.easing as EasingFunction,
|
|
56
78
|
useNativeDriver: true,
|
|
57
79
|
},
|
|
58
80
|
).start()
|
|
@@ -61,8 +83,8 @@ export function Chevron({
|
|
|
61
83
|
rotateZ.current,
|
|
62
84
|
{
|
|
63
85
|
toValue: 0,
|
|
64
|
-
duration:
|
|
65
|
-
easing:
|
|
86
|
+
duration: motion.toClose.duration,
|
|
87
|
+
easing: motion.toClose.easing as EasingFunction,
|
|
66
88
|
useNativeDriver: true,
|
|
67
89
|
},
|
|
68
90
|
).start()
|
|
@@ -71,12 +93,14 @@ export function Chevron({
|
|
|
71
93
|
isMounted.current = true
|
|
72
94
|
}
|
|
73
95
|
}, [
|
|
96
|
+
motion,
|
|
74
97
|
open,
|
|
75
98
|
rotateZ,
|
|
76
99
|
])
|
|
77
100
|
|
|
78
101
|
return (
|
|
79
102
|
<AnimatedSvgChevronDown
|
|
103
|
+
{ ...props }
|
|
80
104
|
fill={ color }
|
|
81
105
|
width={ size }
|
|
82
106
|
height={ size }
|
package/src/_internal/components/animated-collapsible-chevron/AnimatedCollapsibleChevronProps.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
SvgProps,
|
|
3
|
+
} from "react-native-svg"
|
|
4
|
+
|
|
5
|
+
import type {
|
|
6
|
+
CollapsibleProps,
|
|
7
|
+
} from "../../../components/collapsible/CollapsibleProps"
|
|
8
|
+
|
|
9
|
+
export interface AnimatedCollapsibleChevronProps extends Omit<SvgProps, "fill"> {
|
|
10
|
+
motion?: NonNullable<CollapsibleProps["motion"]>,
|
|
11
|
+
open: boolean,
|
|
12
|
+
color: string,
|
|
13
|
+
size: number,
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./animated-collapsible-chevron"
|
|
@@ -86,6 +86,12 @@ export const { items_end } = StyleSheet.create({
|
|
|
86
86
|
} as const,
|
|
87
87
|
})
|
|
88
88
|
|
|
89
|
+
export const { items_stretch } = StyleSheet.create({
|
|
90
|
+
items_stretch: {
|
|
91
|
+
alignItems: "stretch",
|
|
92
|
+
} as const,
|
|
93
|
+
})
|
|
94
|
+
|
|
89
95
|
export const { content_start } = StyleSheet.create({
|
|
90
96
|
content_start: {
|
|
91
97
|
alignContent: "flex-start",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated
|
|
2
|
-
//
|
|
2
|
+
// Sun, 19 Apr 2026 08:37:05 GMT
|
|
3
3
|
|
|
4
4
|
// To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
|
|
5
5
|
// instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated
|
|
2
|
-
//
|
|
2
|
+
// Sun, 19 Apr 2026 08:37:05 GMT
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
StyleSheet,
|
|
@@ -1370,3 +1370,108 @@ export const { gap_y_13 } = StyleSheet.create({
|
|
|
1370
1370
|
rowGap: 160,
|
|
1371
1371
|
} as const,
|
|
1372
1372
|
})
|
|
1373
|
+
export const { m_00 } = StyleSheet.create({
|
|
1374
|
+
m_00: {
|
|
1375
|
+
margin: 0,
|
|
1376
|
+
} as const,
|
|
1377
|
+
})
|
|
1378
|
+
export const { mx_00 } = StyleSheet.create({
|
|
1379
|
+
mx_00: {
|
|
1380
|
+
marginHorizontal: 0,
|
|
1381
|
+
} as const,
|
|
1382
|
+
})
|
|
1383
|
+
export const { my_00 } = StyleSheet.create({
|
|
1384
|
+
my_00: {
|
|
1385
|
+
marginVertical: 0,
|
|
1386
|
+
} as const,
|
|
1387
|
+
})
|
|
1388
|
+
export const { ms_00 } = StyleSheet.create({
|
|
1389
|
+
ms_00: {
|
|
1390
|
+
marginStart: 0,
|
|
1391
|
+
} as const,
|
|
1392
|
+
})
|
|
1393
|
+
export const { me_00 } = StyleSheet.create({
|
|
1394
|
+
me_00: {
|
|
1395
|
+
marginEnd: 0,
|
|
1396
|
+
} as const,
|
|
1397
|
+
})
|
|
1398
|
+
export const { mt_00 } = StyleSheet.create({
|
|
1399
|
+
mt_00: {
|
|
1400
|
+
marginTop: 0,
|
|
1401
|
+
} as const,
|
|
1402
|
+
})
|
|
1403
|
+
export const { mr_00 } = StyleSheet.create({
|
|
1404
|
+
mr_00: {
|
|
1405
|
+
marginRight: 0,
|
|
1406
|
+
} as const,
|
|
1407
|
+
})
|
|
1408
|
+
export const { mb_00 } = StyleSheet.create({
|
|
1409
|
+
mb_00: {
|
|
1410
|
+
marginBottom: 0,
|
|
1411
|
+
} as const,
|
|
1412
|
+
})
|
|
1413
|
+
export const { ml_00 } = StyleSheet.create({
|
|
1414
|
+
ml_00: {
|
|
1415
|
+
marginLeft: 0,
|
|
1416
|
+
} as const,
|
|
1417
|
+
})
|
|
1418
|
+
export const { p_00 } = StyleSheet.create({
|
|
1419
|
+
p_00: {
|
|
1420
|
+
padding: 0,
|
|
1421
|
+
} as const,
|
|
1422
|
+
})
|
|
1423
|
+
export const { px_00 } = StyleSheet.create({
|
|
1424
|
+
px_00: {
|
|
1425
|
+
paddingHorizontal: 0,
|
|
1426
|
+
} as const,
|
|
1427
|
+
})
|
|
1428
|
+
export const { py_00 } = StyleSheet.create({
|
|
1429
|
+
py_00: {
|
|
1430
|
+
paddingVertical: 0,
|
|
1431
|
+
} as const,
|
|
1432
|
+
})
|
|
1433
|
+
export const { ps_00 } = StyleSheet.create({
|
|
1434
|
+
ps_00: {
|
|
1435
|
+
paddingStart: 0,
|
|
1436
|
+
} as const,
|
|
1437
|
+
})
|
|
1438
|
+
export const { pe_00 } = StyleSheet.create({
|
|
1439
|
+
pe_00: {
|
|
1440
|
+
paddingEnd: 0,
|
|
1441
|
+
} as const,
|
|
1442
|
+
})
|
|
1443
|
+
export const { pt_00 } = StyleSheet.create({
|
|
1444
|
+
pt_00: {
|
|
1445
|
+
paddingTop: 0,
|
|
1446
|
+
} as const,
|
|
1447
|
+
})
|
|
1448
|
+
export const { pr_00 } = StyleSheet.create({
|
|
1449
|
+
pr_00: {
|
|
1450
|
+
paddingRight: 0,
|
|
1451
|
+
} as const,
|
|
1452
|
+
})
|
|
1453
|
+
export const { pb_00 } = StyleSheet.create({
|
|
1454
|
+
pb_00: {
|
|
1455
|
+
paddingBottom: 0,
|
|
1456
|
+
} as const,
|
|
1457
|
+
})
|
|
1458
|
+
export const { pl_00 } = StyleSheet.create({
|
|
1459
|
+
pl_00: {
|
|
1460
|
+
paddingLeft: 0,
|
|
1461
|
+
} as const,
|
|
1462
|
+
})
|
|
1463
|
+
export const { gap_00 } = StyleSheet.create({
|
|
1464
|
+
gap_00: {
|
|
1465
|
+
gap: 0,
|
|
1466
|
+
} as const,
|
|
1467
|
+
})
|
|
1468
|
+
export const { gap_x_00 } = StyleSheet.create({
|
|
1469
|
+
gap_x_00: {
|
|
1470
|
+
columnGap: 0,
|
|
1471
|
+
} as const,
|
|
1472
|
+
})
|
|
1473
|
+
export const { gap_y_00 } = StyleSheet.create({
|
|
1474
|
+
gap_y_00: {
|
|
1475
|
+
rowGap: 0,
|
|
1476
|
+
} as const,
|
|
1477
|
+
})
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Platform,
|
|
3
|
+
StyleSheet,
|
|
4
|
+
} from "react-native"
|
|
5
|
+
|
|
6
|
+
export const { invisible } = StyleSheet.create({
|
|
7
|
+
invisible: {
|
|
8
|
+
...Platform.select({
|
|
9
|
+
web: {
|
|
10
|
+
visibility: "hidden",
|
|
11
|
+
} as const,
|
|
12
|
+
default: {
|
|
13
|
+
opacity: 0,
|
|
14
|
+
pointerEvents: "none",
|
|
15
|
+
} as const,
|
|
16
|
+
}),
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
|
|
20
|
+
export const { visible } = StyleSheet.create({
|
|
21
|
+
visible: {
|
|
22
|
+
...Platform.select({
|
|
23
|
+
web: {
|
|
24
|
+
visibility: "visible",
|
|
25
|
+
} as const,
|
|
26
|
+
default: {
|
|
27
|
+
opacity: 1,
|
|
28
|
+
pointerEvents: "auto",
|
|
29
|
+
} as const,
|
|
30
|
+
}),
|
|
31
|
+
},
|
|
32
|
+
})
|
|
@@ -60,6 +60,10 @@ export const items_end = {
|
|
|
60
60
|
alignItems: "flex-end",
|
|
61
61
|
} as const satisfies ViewStyle
|
|
62
62
|
|
|
63
|
+
export const items_stretch = {
|
|
64
|
+
alignItems: "stretch",
|
|
65
|
+
} as const satisfies ViewStyle
|
|
66
|
+
|
|
63
67
|
export const content_start = {
|
|
64
68
|
alignContent: "flex-start",
|
|
65
69
|
} as const satisfies ViewStyle
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated
|
|
2
|
-
//
|
|
2
|
+
// Sun, 19 Apr 2026 08:37:05 GMT
|
|
3
3
|
|
|
4
4
|
// To support cross platforms, we are mapping the `fontFamily` value to its PostScript name,
|
|
5
5
|
// instead of the `fontWeight` number with a single font family name like in Web// Giving a `fontWeight` number will not work.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated
|
|
2
|
-
//
|
|
2
|
+
// Sun, 19 Apr 2026 08:37:05 GMT
|
|
3
3
|
|
|
4
4
|
import type {
|
|
5
5
|
ViewStyle,
|
|
@@ -1097,3 +1097,87 @@ export const gap_y_13 = {
|
|
|
1097
1097
|
rowGap: 160,
|
|
1098
1098
|
} as const satisfies ViewStyle
|
|
1099
1099
|
|
|
1100
|
+
export const m_00 = {
|
|
1101
|
+
margin: 0,
|
|
1102
|
+
} as const satisfies ViewStyle
|
|
1103
|
+
|
|
1104
|
+
export const mx_00 = {
|
|
1105
|
+
marginHorizontal: 0,
|
|
1106
|
+
} as const satisfies ViewStyle
|
|
1107
|
+
|
|
1108
|
+
export const my_00 = {
|
|
1109
|
+
marginVertical: 0,
|
|
1110
|
+
} as const satisfies ViewStyle
|
|
1111
|
+
|
|
1112
|
+
export const ms_00 = {
|
|
1113
|
+
marginStart: 0,
|
|
1114
|
+
} as const satisfies ViewStyle
|
|
1115
|
+
|
|
1116
|
+
export const me_00 = {
|
|
1117
|
+
marginEnd: 0,
|
|
1118
|
+
} as const satisfies ViewStyle
|
|
1119
|
+
|
|
1120
|
+
export const mt_00 = {
|
|
1121
|
+
marginTop: 0,
|
|
1122
|
+
} as const satisfies ViewStyle
|
|
1123
|
+
|
|
1124
|
+
export const mr_00 = {
|
|
1125
|
+
marginRight: 0,
|
|
1126
|
+
} as const satisfies ViewStyle
|
|
1127
|
+
|
|
1128
|
+
export const mb_00 = {
|
|
1129
|
+
marginBottom: 0,
|
|
1130
|
+
} as const satisfies ViewStyle
|
|
1131
|
+
|
|
1132
|
+
export const ml_00 = {
|
|
1133
|
+
marginLeft: 0,
|
|
1134
|
+
} as const satisfies ViewStyle
|
|
1135
|
+
|
|
1136
|
+
export const p_00 = {
|
|
1137
|
+
padding: 0,
|
|
1138
|
+
} as const satisfies ViewStyle
|
|
1139
|
+
|
|
1140
|
+
export const px_00 = {
|
|
1141
|
+
paddingHorizontal: 0,
|
|
1142
|
+
} as const satisfies ViewStyle
|
|
1143
|
+
|
|
1144
|
+
export const py_00 = {
|
|
1145
|
+
paddingVertical: 0,
|
|
1146
|
+
} as const satisfies ViewStyle
|
|
1147
|
+
|
|
1148
|
+
export const ps_00 = {
|
|
1149
|
+
paddingStart: 0,
|
|
1150
|
+
} as const satisfies ViewStyle
|
|
1151
|
+
|
|
1152
|
+
export const pe_00 = {
|
|
1153
|
+
paddingEnd: 0,
|
|
1154
|
+
} as const satisfies ViewStyle
|
|
1155
|
+
|
|
1156
|
+
export const pt_00 = {
|
|
1157
|
+
paddingTop: 0,
|
|
1158
|
+
} as const satisfies ViewStyle
|
|
1159
|
+
|
|
1160
|
+
export const pr_00 = {
|
|
1161
|
+
paddingRight: 0,
|
|
1162
|
+
} as const satisfies ViewStyle
|
|
1163
|
+
|
|
1164
|
+
export const pb_00 = {
|
|
1165
|
+
paddingBottom: 0,
|
|
1166
|
+
} as const satisfies ViewStyle
|
|
1167
|
+
|
|
1168
|
+
export const pl_00 = {
|
|
1169
|
+
paddingLeft: 0,
|
|
1170
|
+
} as const satisfies ViewStyle
|
|
1171
|
+
|
|
1172
|
+
export const gap_00 = {
|
|
1173
|
+
gap: 0,
|
|
1174
|
+
} as const satisfies ViewStyle
|
|
1175
|
+
|
|
1176
|
+
export const gap_x_00 = {
|
|
1177
|
+
columnGap: 0,
|
|
1178
|
+
} as const satisfies ViewStyle
|
|
1179
|
+
|
|
1180
|
+
export const gap_y_00 = {
|
|
1181
|
+
rowGap: 0,
|
|
1182
|
+
} as const satisfies ViewStyle
|
|
1183
|
+
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Platform,
|
|
3
|
+
} from "react-native"
|
|
4
|
+
|
|
5
|
+
export const invisible = Platform.select({
|
|
6
|
+
web: {
|
|
7
|
+
visibility: "hidden",
|
|
8
|
+
} as const,
|
|
9
|
+
default: {
|
|
10
|
+
opacity: 0,
|
|
11
|
+
pointerEvents: "none",
|
|
12
|
+
} as const,
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
export const visible = Platform.select({
|
|
16
|
+
web: {
|
|
17
|
+
visibility: "visible",
|
|
18
|
+
} as const,
|
|
19
|
+
default: {
|
|
20
|
+
opacity: 1,
|
|
21
|
+
pointerEvents: "auto",
|
|
22
|
+
} as const,
|
|
23
|
+
})
|
|
@@ -3,8 +3,8 @@ import type {
|
|
|
3
3
|
} from "react-native"
|
|
4
4
|
|
|
5
5
|
import type {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
AccordionItemRefBase,
|
|
7
|
+
} from "./AccordionItemRefBase"
|
|
8
8
|
|
|
9
|
-
export interface AccordionItemRef extends View,
|
|
9
|
+
export interface AccordionItemRef extends View, AccordionItemRefBase {
|
|
10
10
|
}
|
|
@@ -12,6 +12,10 @@ import {
|
|
|
12
12
|
Color,
|
|
13
13
|
} from "@audira/carbon-react-native-elements"
|
|
14
14
|
|
|
15
|
+
import {
|
|
16
|
+
AnimatedCollapsibleChevron,
|
|
17
|
+
} from "../../_internal/components"
|
|
18
|
+
|
|
15
19
|
import * as CarbonStyleSheet from "../../carbon-style-sheet"
|
|
16
20
|
|
|
17
21
|
import {
|
|
@@ -41,8 +45,8 @@ import {
|
|
|
41
45
|
} from "./_HeaderBorder"
|
|
42
46
|
|
|
43
47
|
import {
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
48
|
+
Motion,
|
|
49
|
+
} from "./_motion"
|
|
46
50
|
|
|
47
51
|
export function Header({
|
|
48
52
|
size = "medium",
|
|
@@ -185,7 +189,8 @@ const
|
|
|
185
189
|
) => React.ReactNode =
|
|
186
190
|
(open, iconColorState, iconSize, iconStyle) => {
|
|
187
191
|
return (
|
|
188
|
-
<
|
|
192
|
+
<AnimatedCollapsibleChevron
|
|
193
|
+
motion={ Motion }
|
|
189
194
|
open={ open }
|
|
190
195
|
color={ iconColorState }
|
|
191
196
|
size={ iconSize }
|
|
@@ -38,14 +38,14 @@ import type {
|
|
|
38
38
|
AccordionItemRef,
|
|
39
39
|
} from "./AccordionItemRef"
|
|
40
40
|
|
|
41
|
+
import type {
|
|
42
|
+
AccordionItemRefBase,
|
|
43
|
+
} from "./AccordionItemRefBase"
|
|
44
|
+
|
|
41
45
|
import {
|
|
42
46
|
Header,
|
|
43
47
|
} from "./_Header"
|
|
44
48
|
|
|
45
|
-
import type {
|
|
46
|
-
ItemRefBase,
|
|
47
|
-
} from "./_ItemRefBase"
|
|
48
|
-
|
|
49
49
|
import {
|
|
50
50
|
Context,
|
|
51
51
|
} from "./_context"
|
|
@@ -79,14 +79,13 @@ export const Item = forwardRef<AccordionItemRef, AccordionItemProps>(
|
|
|
79
79
|
ref =
|
|
80
80
|
useRef({
|
|
81
81
|
allowOnChangeEffect: false,
|
|
82
|
-
open: !!defaultOpen,
|
|
83
82
|
}),
|
|
84
83
|
|
|
85
84
|
viewRef =
|
|
86
85
|
useRef<View>(null),
|
|
87
86
|
|
|
88
87
|
[openSelf, setOpenSelf] =
|
|
89
|
-
useState(
|
|
88
|
+
useState(!!defaultOpen),
|
|
90
89
|
|
|
91
90
|
controlled =
|
|
92
91
|
typeof openProp !== "undefined",
|
|
@@ -107,26 +106,28 @@ export const Item = forwardRef<AccordionItemRef, AccordionItemProps>(
|
|
|
107
106
|
])
|
|
108
107
|
|
|
109
108
|
useImperativeHandle(forwardedRef, () => {
|
|
110
|
-
return Object.assign<View,
|
|
109
|
+
return Object.assign<View, AccordionItemRefBase>(
|
|
111
110
|
(viewRef.current ?? {
|
|
112
111
|
}) as View,
|
|
113
112
|
{
|
|
114
113
|
get open() {
|
|
115
|
-
return
|
|
114
|
+
return open
|
|
116
115
|
},
|
|
117
116
|
setOpen(value) {
|
|
118
117
|
if(!controlled) {
|
|
118
|
+
let openNext: boolean
|
|
119
119
|
if(typeof value === "boolean") {
|
|
120
|
-
|
|
120
|
+
openNext = value
|
|
121
121
|
} else {
|
|
122
|
-
|
|
122
|
+
openNext = value(open)
|
|
123
123
|
}
|
|
124
|
-
setOpenSelf(
|
|
124
|
+
setOpenSelf(openNext)
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
},
|
|
128
128
|
)
|
|
129
129
|
}, [
|
|
130
|
+
open,
|
|
130
131
|
controlled,
|
|
131
132
|
])
|
|
132
133
|
|
|
@@ -148,11 +149,13 @@ export const Item = forwardRef<AccordionItemRef, AccordionItemProps>(
|
|
|
148
149
|
motion={ Motion }
|
|
149
150
|
open={ open }
|
|
150
151
|
dir={ globalConfigContext.rtl ? "rtl" : undefined }
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
152
|
+
contentContainerProps={{
|
|
153
|
+
style: [
|
|
154
|
+
globalConfigContext.rtl ? CarbonStyleSheet.g.rtl : undefined,
|
|
155
|
+
accordionContext.collapsibleContentContainerStyle,
|
|
156
|
+
style.panel,
|
|
157
|
+
],
|
|
158
|
+
}}
|
|
156
159
|
>
|
|
157
160
|
{ children }
|
|
158
161
|
</Collapsible>
|
|
@@ -13,7 +13,7 @@ import type {
|
|
|
13
13
|
export interface Context {
|
|
14
14
|
size?: AccordionHeaderProps["size"],
|
|
15
15
|
flushAlignment?: AccordionHeaderProps["flushAlignment"],
|
|
16
|
-
collapsibleContentContainerStyle?: CollapsibleProps["
|
|
16
|
+
collapsibleContentContainerStyle?: NonNullable<CollapsibleProps["contentContainerProps"]>["style"],
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export const Context = createContext<Context>({
|
|
@@ -10,7 +10,7 @@ import type {
|
|
|
10
10
|
CollapsibleProps,
|
|
11
11
|
} from "../collapsible/CollapsibleProps"
|
|
12
12
|
|
|
13
|
-
export const Motion
|
|
13
|
+
export const Motion =
|
|
14
14
|
{
|
|
15
15
|
toOpen: {
|
|
16
16
|
duration: Motion_.Duration.fast_02,
|
|
@@ -24,4 +24,4 @@ export const Motion: NonNullable<CollapsibleProps["motion"]> =
|
|
|
24
24
|
toClose: {
|
|
25
25
|
duration: 0,
|
|
26
26
|
},
|
|
27
|
-
}
|
|
27
|
+
} as const satisfies NonNullable<CollapsibleProps["motion"]>
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export * from "./Accordion"
|
|
2
|
-
export * from "./AccordionHeaderProps"
|
|
3
|
-
export * from "./AccordionItemProps"
|
|
4
|
-
export * from "./AccordionItemRef"
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
2
|
+
export type * from "./AccordionHeaderProps"
|
|
3
|
+
export type * from "./AccordionItemProps"
|
|
4
|
+
export type * from "./AccordionItemRef"
|
|
5
|
+
export type * from "./AccordionItemRefBase"
|
|
6
|
+
export type * from "./AccordionProps"
|
|
7
|
+
export type * from "./AccordionRef"
|
|
8
|
+
export type * from "./AccordionSize"
|
|
@@ -47,9 +47,8 @@ import type {
|
|
|
47
47
|
} from "./CheckboxRef"
|
|
48
48
|
|
|
49
49
|
import type {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
52
|
-
|
|
50
|
+
CheckboxRefBase,
|
|
51
|
+
} from "./CheckboxRefBase"
|
|
53
52
|
|
|
54
53
|
export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
|
|
55
54
|
function Checkbox(
|
|
@@ -95,12 +94,12 @@ export const Checkbox = forwardRef<CheckboxRef, CheckboxProps>(
|
|
|
95
94
|
])
|
|
96
95
|
|
|
97
96
|
useImperativeHandle(forwardedRef, () => {
|
|
98
|
-
return Object.assign<View,
|
|
97
|
+
return Object.assign<View, CheckboxRefBase>(
|
|
99
98
|
(viewRef.current ?? {
|
|
100
99
|
}) as View,
|
|
101
100
|
{
|
|
102
101
|
get checked() {
|
|
103
|
-
return checkboxInputRef.current
|
|
102
|
+
return checkboxInputRef.current?.checked ?? false
|
|
104
103
|
},
|
|
105
104
|
setChecked(value_) {
|
|
106
105
|
checkboxInputRef.current?.setChecked(value_)
|