@audira/carbon-react-native 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/carbon-style-sheet/color.js +174 -6
- package/lib/commonjs/carbon-style-sheet/color.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/create.js +58 -21
- package/lib/commonjs/carbon-style-sheet/create.js.map +1 -1
- package/lib/commonjs/carbon-style-sheet/g/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/spacing.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/spacing.js +1 -1
- package/lib/commonjs/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/commonjs/carbon-style-sheet/index.js +4 -13
- package/lib/commonjs/carbon-style-sheet/index.js.map +1 -1
- package/lib/commonjs/components/index.js +91 -7
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layer/Layer.js +1 -2
- package/lib/commonjs/components/layer/Layer.js.map +1 -1
- package/lib/commonjs/components/table/Table.js +40 -0
- package/lib/commonjs/components/table/Table.js.map +1 -0
- package/lib/commonjs/components/table/TableProps.js +6 -0
- package/lib/commonjs/components/table/TableProps.js.map +1 -0
- package/lib/commonjs/components/table/TableRef.js +6 -0
- package/lib/commonjs/components/table/TableRef.js.map +1 -0
- package/lib/commonjs/components/table/_TableContext.js +11 -0
- package/lib/commonjs/components/table/_TableContext.js.map +1 -0
- package/lib/commonjs/components/table/index.js +17 -0
- package/lib/commonjs/components/table/index.js.map +1 -0
- package/lib/commonjs/components/table-cell/TableCell.js +52 -0
- package/lib/commonjs/components/table-cell/TableCell.js.map +1 -0
- package/lib/commonjs/components/table-cell/TableCellProps.js +6 -0
- package/lib/commonjs/components/table-cell/TableCellProps.js.map +1 -0
- package/lib/commonjs/components/table-cell/TableCellRef.js +6 -0
- package/lib/commonjs/components/table-cell/TableCellRef.js.map +1 -0
- package/lib/commonjs/components/table-cell/index.js +17 -0
- package/lib/commonjs/components/table-cell/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeader.js +154 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeader.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderProps.js +6 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderRef.js +6 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderSort.js +2 -0
- package/lib/commonjs/components/table-cell-header/TableCellHeaderSort.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js +67 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconProps.js +6 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconRef.js +2 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/SortIconRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/index.js +17 -0
- package/lib/commonjs/components/table-cell-header/_sort-icon/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-header/index.js +17 -0
- package/lib/commonjs/components/table-cell-header/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIcon.js +29 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIcon.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconProps.js +6 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconRef.js +6 -0
- package/lib/commonjs/components/table-cell-icon/TableCellIconRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-icon/index.js +17 -0
- package/lib/commonjs/components/table-cell-icon/index.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellText.js +60 -0
- package/lib/commonjs/components/table-cell-text/TableCellText.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextProps.js +6 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextProps.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextRef.js +6 -0
- package/lib/commonjs/components/table-cell-text/TableCellTextRef.js.map +1 -0
- package/lib/commonjs/components/table-cell-text/index.js +17 -0
- package/lib/commonjs/components/table-cell-text/index.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRow.js +168 -0
- package/lib/commonjs/components/table-row/TableRow.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowInteractiveState.js +2 -0
- package/lib/commonjs/components/table-row/TableRowInteractiveState.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowProps.js +6 -0
- package/lib/commonjs/components/table-row/TableRowProps.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowRef.js +6 -0
- package/lib/commonjs/components/table-row/TableRowRef.js.map +1 -0
- package/lib/commonjs/components/table-row/TableRowSize.js +2 -0
- package/lib/commonjs/components/table-row/TableRowSize.js.map +1 -0
- package/lib/commonjs/components/table-row/_TableRowContext.js +12 -0
- package/lib/commonjs/components/table-row/_TableRowContext.js.map +1 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js +25 -0
- package/lib/commonjs/components/table-row/_style-sheet-height.js.map +1 -0
- package/lib/commonjs/components/table-row/index.js +17 -0
- package/lib/commonjs/components/table-row/index.js.map +1 -0
- package/lib/commonjs/components/table-row-header/TableRowHeader.js +54 -0
- package/lib/commonjs/components/table-row-header/TableRowHeader.js.map +1 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderProps.js +6 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderProps.js.map +1 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderRef.js +6 -0
- package/lib/commonjs/components/table-row-header/TableRowHeaderRef.js.map +1 -0
- package/lib/commonjs/components/table-row-header/_TableRowHeaderContext.js +14 -0
- package/lib/commonjs/components/table-row-header/_TableRowHeaderContext.js.map +1 -0
- package/lib/commonjs/components/table-row-header/index.js +17 -0
- package/lib/commonjs/components/table-row-header/index.js.map +1 -0
- package/lib/module/carbon-style-sheet/color.js +172 -5
- package/lib/module/carbon-style-sheet/color.js.map +1 -1
- package/lib/module/carbon-style-sheet/create.js +58 -21
- package/lib/module/carbon-style-sheet/create.js.map +1 -1
- package/lib/module/carbon-style-sheet/g/font.js +1 -1
- package/lib/module/carbon-style-sheet/g/spacing.js +1 -1
- package/lib/module/carbon-style-sheet/g/typography.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/font.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/spacing.js +1 -1
- package/lib/module/carbon-style-sheet/g-object/typography.js +1 -1
- package/lib/module/carbon-style-sheet/index.js +2 -2
- package/lib/module/carbon-style-sheet/index.js.map +1 -1
- package/lib/module/components/index.js +7 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layer/Layer.js +1 -2
- package/lib/module/components/layer/Layer.js.map +1 -1
- package/lib/module/components/table/Table.js +35 -0
- package/lib/module/components/table/Table.js.map +1 -0
- package/lib/module/components/table/TableProps.js +4 -0
- package/lib/module/components/table/TableProps.js.map +1 -0
- package/lib/module/components/table/TableRef.js +4 -0
- package/lib/module/components/table/TableRef.js.map +1 -0
- package/lib/module/components/table/_TableContext.js +7 -0
- package/lib/module/components/table/_TableContext.js.map +1 -0
- package/lib/module/components/table/index.js +4 -0
- package/lib/module/components/table/index.js.map +1 -0
- package/lib/module/components/table-cell/TableCell.js +47 -0
- package/lib/module/components/table-cell/TableCell.js.map +1 -0
- package/lib/module/components/table-cell/TableCellProps.js +4 -0
- package/lib/module/components/table-cell/TableCellProps.js.map +1 -0
- package/lib/module/components/table-cell/TableCellRef.js +4 -0
- package/lib/module/components/table-cell/TableCellRef.js.map +1 -0
- package/lib/module/components/table-cell/index.js +4 -0
- package/lib/module/components/table-cell/index.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeader.js +150 -0
- package/lib/module/components/table-cell-header/TableCellHeader.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeaderProps.js +4 -0
- package/lib/module/components/table-cell-header/TableCellHeaderProps.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeaderRef.js +4 -0
- package/lib/module/components/table-cell-header/TableCellHeaderRef.js.map +1 -0
- package/lib/module/components/table-cell-header/TableCellHeaderSort.js +2 -0
- package/lib/module/components/table-cell-header/TableCellHeaderSort.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js +62 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIcon.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconProps.js +4 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconProps.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconRef.js +2 -0
- package/lib/module/components/table-cell-header/_sort-icon/SortIconRef.js.map +1 -0
- package/lib/module/components/table-cell-header/_sort-icon/index.js +4 -0
- package/lib/module/components/table-cell-header/_sort-icon/index.js.map +1 -0
- package/lib/module/components/table-cell-header/index.js +4 -0
- package/lib/module/components/table-cell-header/index.js.map +1 -0
- package/lib/module/components/table-cell-icon/TableCellIcon.js +25 -0
- package/lib/module/components/table-cell-icon/TableCellIcon.js.map +1 -0
- package/lib/module/components/table-cell-icon/TableCellIconProps.js +4 -0
- package/lib/module/components/table-cell-icon/TableCellIconProps.js.map +1 -0
- package/lib/module/components/table-cell-icon/TableCellIconRef.js +4 -0
- package/lib/module/components/table-cell-icon/TableCellIconRef.js.map +1 -0
- package/lib/module/components/table-cell-icon/index.js +4 -0
- package/lib/module/components/table-cell-icon/index.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellText.js +55 -0
- package/lib/module/components/table-cell-text/TableCellText.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellTextProps.js +4 -0
- package/lib/module/components/table-cell-text/TableCellTextProps.js.map +1 -0
- package/lib/module/components/table-cell-text/TableCellTextRef.js +4 -0
- package/lib/module/components/table-cell-text/TableCellTextRef.js.map +1 -0
- package/lib/module/components/table-cell-text/index.js +4 -0
- package/lib/module/components/table-cell-text/index.js.map +1 -0
- package/lib/module/components/table-row/TableRow.js +163 -0
- package/lib/module/components/table-row/TableRow.js.map +1 -0
- package/lib/module/components/table-row/TableRowInteractiveState.js +2 -0
- package/lib/module/components/table-row/TableRowInteractiveState.js.map +1 -0
- package/lib/module/components/table-row/TableRowProps.js +4 -0
- package/lib/module/components/table-row/TableRowProps.js.map +1 -0
- package/lib/module/components/table-row/TableRowRef.js +4 -0
- package/lib/module/components/table-row/TableRowRef.js.map +1 -0
- package/lib/module/components/table-row/TableRowSize.js +2 -0
- package/lib/module/components/table-row/TableRowSize.js.map +1 -0
- package/lib/module/components/table-row/_TableRowContext.js +8 -0
- package/lib/module/components/table-row/_TableRowContext.js.map +1 -0
- package/lib/module/components/table-row/_style-sheet-height.js +21 -0
- package/lib/module/components/table-row/_style-sheet-height.js.map +1 -0
- package/lib/module/components/table-row/index.js +4 -0
- package/lib/module/components/table-row/index.js.map +1 -0
- package/lib/module/components/table-row-header/TableRowHeader.js +49 -0
- package/lib/module/components/table-row-header/TableRowHeader.js.map +1 -0
- package/lib/module/components/table-row-header/TableRowHeaderProps.js +4 -0
- package/lib/module/components/table-row-header/TableRowHeaderProps.js.map +1 -0
- package/lib/module/components/table-row-header/TableRowHeaderRef.js +4 -0
- package/lib/module/components/table-row-header/TableRowHeaderRef.js.map +1 -0
- package/lib/module/components/table-row-header/_TableRowHeaderContext.js +10 -0
- package/lib/module/components/table-row-header/_TableRowHeaderContext.js.map +1 -0
- package/lib/module/components/table-row-header/index.js +4 -0
- package/lib/module/components/table-row-header/index.js.map +1 -0
- package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts +169 -2
- package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts +3 -3
- package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts.map +1 -1
- package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts +2 -2
- package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/index.d.ts +7 -0
- package/lib/typescript/commonjs/components/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/layer/LayerProps.d.ts +5 -2
- package/lib/typescript/commonjs/components/layer/LayerProps.d.ts.map +1 -1
- package/lib/typescript/commonjs/components/table/Table.d.ts +4 -0
- package/lib/typescript/commonjs/components/table/Table.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/TableProps.d.ts +10 -0
- package/lib/typescript/commonjs/components/table/TableProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/TableRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table/TableRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/_TableContext.d.ts +6 -0
- package/lib/typescript/commonjs/components/table/_TableContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts +17 -0
- package/lib/typescript/commonjs/components/table-cell/TableCell.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts +28 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell/TableCellRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeader.d.ts +22 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderProps.d.ts +19 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderSort.d.ts +2 -0
- package/lib/typescript/commonjs/components/table-cell-header/TableCellHeaderSort.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconProps.d.ts +6 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/SortIconRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-header/_sort-icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-header/index.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-header/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIcon.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-icon/TableCellIconRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-icon/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-icon/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts +7 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellText.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextProps.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-text/TableCellTextRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-cell-text/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-cell-text/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRow.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row/TableRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts +2 -0
- package/lib/typescript/commonjs/components/table-row/TableRowInteractiveState.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts +36 -0
- package/lib/typescript/commonjs/components/table-row/TableRowProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row/TableRowRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/TableRowSize.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-row/TableRowSize.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts +7 -0
- package/lib/typescript/commonjs/components/table-row/_TableRowContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts +18 -0
- package/lib/typescript/commonjs/components/table-row/_style-sheet-height.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row/index.d.ts +6 -0
- package/lib/typescript/commonjs/components/table-row/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeader.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeader.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderProps.d.ts +5 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderRef.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-header/TableRowHeaderRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/_TableRowHeaderContext.d.ts +7 -0
- package/lib/typescript/commonjs/components/table-row-header/_TableRowHeaderContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/table-row-header/index.d.ts +4 -0
- package/lib/typescript/commonjs/components/table-row-header/index.d.ts.map +1 -0
- package/lib/typescript/module/carbon-style-sheet/color.d.ts +169 -2
- package/lib/typescript/module/carbon-style-sheet/color.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/create.d.ts +3 -3
- package/lib/typescript/module/carbon-style-sheet/create.d.ts.map +1 -1
- package/lib/typescript/module/carbon-style-sheet/index.d.ts +2 -2
- package/lib/typescript/module/carbon-style-sheet/index.d.ts.map +1 -1
- package/lib/typescript/module/components/index.d.ts +7 -0
- package/lib/typescript/module/components/index.d.ts.map +1 -1
- package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -1
- package/lib/typescript/module/components/layer/LayerProps.d.ts +5 -2
- package/lib/typescript/module/components/layer/LayerProps.d.ts.map +1 -1
- package/lib/typescript/module/components/table/Table.d.ts +4 -0
- package/lib/typescript/module/components/table/Table.d.ts.map +1 -0
- package/lib/typescript/module/components/table/TableProps.d.ts +10 -0
- package/lib/typescript/module/components/table/TableProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table/TableRef.d.ts +4 -0
- package/lib/typescript/module/components/table/TableRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table/_TableContext.d.ts +6 -0
- package/lib/typescript/module/components/table/_TableContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table/index.d.ts +4 -0
- package/lib/typescript/module/components/table/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/TableCell.d.ts +17 -0
- package/lib/typescript/module/components/table-cell/TableCell.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts +28 -0
- package/lib/typescript/module/components/table-cell/TableCellProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/TableCellRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell/TableCellRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeader.d.ts +22 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderProps.d.ts +19 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderSort.d.ts +2 -0
- package/lib/typescript/module/components/table-cell-header/TableCellHeaderSort.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIcon.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconProps.d.ts +6 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/SortIconRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-header/_sort-icon/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-header/index.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-header/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIcon.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIcon.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconProps.d.ts +5 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-icon/TableCellIconRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-icon/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-icon/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts +7 -0
- package/lib/typescript/module/components/table-cell-text/TableCellText.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextProps.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextRef.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-text/TableCellTextRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-cell-text/index.d.ts +4 -0
- package/lib/typescript/module/components/table-cell-text/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRow.d.ts +4 -0
- package/lib/typescript/module/components/table-row/TableRow.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts +2 -0
- package/lib/typescript/module/components/table-row/TableRowInteractiveState.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts +36 -0
- package/lib/typescript/module/components/table-row/TableRowProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowRef.d.ts +4 -0
- package/lib/typescript/module/components/table-row/TableRowRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/TableRowSize.d.ts +5 -0
- package/lib/typescript/module/components/table-row/TableRowSize.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts +7 -0
- package/lib/typescript/module/components/table-row/_TableRowContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts +18 -0
- package/lib/typescript/module/components/table-row/_style-sheet-height.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row/index.d.ts +6 -0
- package/lib/typescript/module/components/table-row/index.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeader.d.ts +4 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeader.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderProps.d.ts +5 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderProps.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderRef.d.ts +4 -0
- package/lib/typescript/module/components/table-row-header/TableRowHeaderRef.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/_TableRowHeaderContext.d.ts +7 -0
- package/lib/typescript/module/components/table-row-header/_TableRowHeaderContext.d.ts.map +1 -0
- package/lib/typescript/module/components/table-row-header/index.d.ts +4 -0
- package/lib/typescript/module/components/table-row-header/index.d.ts.map +1 -0
- package/lib/typescript/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/carbon-style-sheet/color.ts +171 -12
- package/src/carbon-style-sheet/create.ts +93 -53
- package/src/carbon-style-sheet/g/font.ts +1 -1
- package/src/carbon-style-sheet/g/spacing.ts +1 -1
- package/src/carbon-style-sheet/g/typography.ts +1 -1
- package/src/carbon-style-sheet/g-object/font.ts +1 -1
- package/src/carbon-style-sheet/g-object/spacing.ts +1 -1
- package/src/carbon-style-sheet/g-object/typography.ts +1 -1
- package/src/carbon-style-sheet/index.ts +3 -1
- package/src/components/index.ts +7 -0
- package/src/components/layer/Layer.tsx +3 -4
- package/src/components/layer/LayerProps.ts +5 -2
- package/src/components/table/Table.tsx +69 -0
- package/src/components/table/TableProps.ts +15 -0
- package/src/components/table/TableRef.ts +6 -0
- package/src/components/table/_TableContext.ts +15 -0
- package/src/components/table/index.ts +3 -0
- package/src/components/table-cell/TableCell.tsx +93 -0
- package/src/components/table-cell/TableCellProps.ts +33 -0
- package/src/components/table-cell/TableCellRef.ts +6 -0
- package/src/components/table-cell/index.ts +3 -0
- package/src/components/table-cell-header/TableCellHeader.tsx +274 -0
- package/src/components/table-cell-header/TableCellHeaderProps.ts +34 -0
- package/src/components/table-cell-header/TableCellHeaderRef.ts +6 -0
- package/src/components/table-cell-header/TableCellHeaderSort.ts +4 -0
- package/src/components/table-cell-header/_sort-icon/SortIcon.tsx +136 -0
- package/src/components/table-cell-header/_sort-icon/SortIconProps.ts +11 -0
- package/src/components/table-cell-header/_sort-icon/SortIconRef.ts +3 -0
- package/src/components/table-cell-header/_sort-icon/index.ts +3 -0
- package/src/components/table-cell-header/index.ts +4 -0
- package/src/components/table-cell-icon/TableCellIcon.tsx +54 -0
- package/src/components/table-cell-icon/TableCellIconProps.ts +16 -0
- package/src/components/table-cell-icon/TableCellIconRef.ts +4 -0
- package/src/components/table-cell-icon/index.ts +3 -0
- package/src/components/table-cell-text/TableCellText.tsx +111 -0
- package/src/components/table-cell-text/TableCellTextProps.ts +9 -0
- package/src/components/table-cell-text/TableCellTextRef.ts +6 -0
- package/src/components/table-cell-text/index.ts +3 -0
- package/src/components/table-row/TableRow.tsx +271 -0
- package/src/components/table-row/TableRowInteractiveState.ts +4 -0
- package/src/components/table-row/TableRowProps.ts +45 -0
- package/src/components/table-row/TableRowRef.ts +6 -0
- package/src/components/table-row/TableRowSize.ts +9 -0
- package/src/components/table-row/_TableRowContext.ts +17 -0
- package/src/components/table-row/_style-sheet-height.ts +27 -0
- package/src/components/table-row/index.ts +5 -0
- package/src/components/table-row-header/TableRowHeader.tsx +115 -0
- package/src/components/table-row-header/TableRowHeaderProps.ts +13 -0
- package/src/components/table-row-header/TableRowHeaderRef.ts +6 -0
- package/src/components/table-row-header/_TableRowHeaderContext.ts +19 -0
- package/src/components/table-row-header/index.ts +3 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","CarbonStyleSheet","_interopRequireWildcard","_LayerContext","_TableCellText","_TableRowHeaderContext","_index2","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TableCellHeader","exports","forwardRef","defaultSort","sort","sortProp","width","children","text","textProps","accessibilityLabel","onChangeSort","disabled","onHoverIn","onHoverInProp","onHoverOut","onHoverOutProp","onPress","onPressProp","style","props","ref","layerContext","useContext","LayerContext","tableRowHeaderContext","TableRowHeaderContext","sortIconRef","useRef","allowOnChangeSortSelfEffect","sortSelf","setSortSelf","useState","hovered","setHovered","useCallback","event","current","s","nextSort","useEffect","setOpacity","use","jsxs","Pressable","g","flex_auto","px_05","undefined","styleSheetBG","size","pt_05","items_center","justify_center","flex_row","justify_between","jsx","TableCellText","SortIcon","type","create","normal_1","backgroundColor","color","layer_accent_01","normal_2","layer_accent_02","normal_3","layer_accent_03","hovered_1","layer_accent_hover_01","hovered_2","layer_accent_hover_02","hovered_3","layer_accent_hover_03"],"sourceRoot":"../../../../src","sources":["components/table-cell-header/TableCellHeader.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,gBAAA,GAAAC,uBAAA,CAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAIA,IAAAK,cAAA,GAAAL,OAAA;AAIA,IAAAM,sBAAA,GAAAN,OAAA;AAYA,IAAAO,OAAA,GAAAP,OAAA;AAGqB,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAG,wBAAAM,CAAA,EAAAC,CAAA,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A,CACS,CAAC;AAGd,CACD,CAAC;AAED,MACCsB,YAAY,GACX3E,gBAAgB,CAACsF,MAAM,CAAC;EACvBC,QAAQ,EAAE;IACTC,eAAe,EAAExF,gBAAgB,CAACyF,KAAK,CAACC;EACzC,CAAC;EACDC,QAAQ,EAAE;IACTH,eAAe,EAAExF,gBAAgB,CAACyF,KAAK,CAACG;EACzC,CAAC;EACDC,QAAQ,EAAE;IACTL,eAAe,EAAExF,gBAAgB,CAACyF,KAAK,CAACK;EACzC,CAAC;EACDC,SAAS,EAAE;IACVP,eAAe,EAAExF,gBAAgB,CAACyF,KAAK,CAACO;EACzC,CAAC;EACDC,SAAS,EAAE;IACVT,eAAe,EAAExF,gBAAgB,CAACyF,KAAK,CAACS;EACzC,CAAC;EACDC,SAAS,EAAE;IACVX,eAAe,EAAExF,gBAAgB,CAACyF,KAAK,CAACW;EACzC;AACD,CAEC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-header/TableCellHeaderProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-header/TableCellHeaderRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-header/TableCellHeaderSort.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SortIcon = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _carbonReactNativeElements = require("@audira/carbon-react-native-elements");
|
|
10
|
+
var _arrowUp = _interopRequireDefault(require("@carbon/icons/svg/32/arrow--up.svg"));
|
|
11
|
+
var _arrowsVertical = _interopRequireDefault(require("@carbon/icons/svg/32/arrows--vertical.svg"));
|
|
12
|
+
var _TableCellIcon = require("../../table-cell-icon/TableCellIcon.js");
|
|
13
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
|
+
const SortIcon = exports.SortIcon = /*#__PURE__*/(0, _react.forwardRef)(function SortIcon({
|
|
16
|
+
type,
|
|
17
|
+
style,
|
|
18
|
+
...props
|
|
19
|
+
}, ref) {
|
|
20
|
+
const rotationValue = (0, _react.useRef)(new _reactNative.Animated.Value(0)),
|
|
21
|
+
opacityValue = (0, _react.useRef)(new _reactNative.Animated.Value(0));
|
|
22
|
+
(0, _react.useEffect)(() => {
|
|
23
|
+
if (type == "none") {
|
|
24
|
+
_reactNative.Animated.timing(rotationValue.current, {
|
|
25
|
+
toValue: 0,
|
|
26
|
+
duration: 0,
|
|
27
|
+
useNativeDriver: false
|
|
28
|
+
}).start();
|
|
29
|
+
} else if (type == "asc" || type == "desc") {
|
|
30
|
+
_reactNative.Animated.timing(rotationValue.current, {
|
|
31
|
+
toValue: type == "asc" ? 0 : 1,
|
|
32
|
+
duration: _carbonReactNativeElements.Motion.Duration.moderate_02,
|
|
33
|
+
easing: _reactNative.Easing.bezier(_carbonReactNativeElements.Motion.Easing.standard.productive.x1, _carbonReactNativeElements.Motion.Easing.standard.productive.y1, _carbonReactNativeElements.Motion.Easing.standard.productive.x2, _carbonReactNativeElements.Motion.Easing.standard.productive.y2),
|
|
34
|
+
useNativeDriver: false
|
|
35
|
+
}).start();
|
|
36
|
+
}
|
|
37
|
+
}, [type]);
|
|
38
|
+
(0, _react.useImperativeHandle)(ref, () => {
|
|
39
|
+
return {
|
|
40
|
+
setOpacity(value) {
|
|
41
|
+
_reactNative.Animated.timing(opacityValue.current, {
|
|
42
|
+
toValue: value,
|
|
43
|
+
duration: _carbonReactNativeElements.Motion.Duration.fast_01,
|
|
44
|
+
easing: _reactNative.Easing.bezier(_carbonReactNativeElements.Motion.Easing.entrance.productive.x1, _carbonReactNativeElements.Motion.Easing.entrance.productive.y1, _carbonReactNativeElements.Motion.Easing.entrance.productive.x2, _carbonReactNativeElements.Motion.Easing.entrance.productive.y2),
|
|
45
|
+
useNativeDriver: true
|
|
46
|
+
}).start();
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
}, []);
|
|
50
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(AnimatedTableCellIcon, {
|
|
51
|
+
...props,
|
|
52
|
+
Icon: type == "none" ? _arrowsVertical.default : _arrowUp.default,
|
|
53
|
+
style: [{
|
|
54
|
+
/* eslint-disable react-hooks/refs */
|
|
55
|
+
opacity: opacityValue.current,
|
|
56
|
+
transform: [{
|
|
57
|
+
rotateZ: rotationValue.current.interpolate({
|
|
58
|
+
inputRange: [0, 1],
|
|
59
|
+
outputRange: ["0deg", "180deg"]
|
|
60
|
+
})
|
|
61
|
+
}]
|
|
62
|
+
/* eslint-enable react-hooks/refs */
|
|
63
|
+
}, style]
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
const AnimatedTableCellIcon = _reactNative.Animated.createAnimatedComponent(_TableCellIcon.TableCellIcon);
|
|
67
|
+
//# sourceMappingURL=SortIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_arrowUp","_interopRequireDefault","_arrowsVertical","_TableCellIcon","_jsxRuntime","e","__esModule","default","SortIcon","exports","forwardRef","type","style","props","ref","rotationValue","useRef","Animated","Value","opacityValue","useEffect","timing","current","toValue","duration","useNativeDriver","start","Motion","Duration","moderate_02","easing","Easing","bezier","standard","productive","x1","y1","x2","y2","useImperativeHandle","setOpacity","value","fast_01","entrance","jsx","AnimatedTableCellIcon","Icon","IconArrowsVertical","IconArrowUp","opacity","transform","rotateZ","interpolate","inputRange","outputRange","createAnimatedComponent","TableCellIcon"],"sourceRoot":"../../../../../src","sources":["components/table-cell-header/_sort-icon/SortIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AAKA,IAAAE,0BAAA,GAAAF,OAAA;AAIA,IAAAG,QAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,eAAA,GAAAD,sBAAA,CAAAJ,OAAA;AAEA,IAAAM,cAAA,GAAAN,OAAA;AAE4C,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAI,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAcrC,MAAMG,QAAQ,GAAAC,OAAA,CAAAD,QAAA,gBAAG,IAAAE,iBAAU,EACjC,SAASF,QAAQA,CAChB;EACCG,IAAI;EACJC,KAAK;EACL,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,aAAa,GACZ,IAAAC,aAAM,EAAC,IAAIC,qBAAQ,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;IAE9BC,YAAY,GACX,IAAAH,aAAM,EAAC,IAAIC,qBAAQ,CAACC,KAAK,CAAC,CAAC,CAAC,CAAC;EAE/B,IAAAE,gBAAS,EAAC,MAAM;IACf,IAAGT,IAAI,IAAI,MAAM,EAAE;MAClBM,qBAAQ,CACNI,MAAM,CACNN,aAAa,CAACO,OAAO,EACrB;QACCC,OAAO,EAAE,CAAC;QACVC,QAAQ,EAAE,CAAC;QACXC,eAAe,EAAE;MAClB,CACD,CAAC,CACAC,KAAK,CAAC,CAAC;IACV,CAAC,MAAM,IAAGf,IAAI,IAAI,KAAK,IAAIA,IAAI,IAAI,MAAM,EAAE;MAC1CM,qBAAQ,CACNI,MAAM,CACNN,aAAa,CAACO,OAAO,EACrB;QACCC,OAAO,EAAEZ,IAAI,IAAI,KAAK,GAAG,CAAC,GAAG,C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kB,GAAGC,gBAA4C;IAC1FpC,KAAK,EAAG,CACP;MACC;MACAqC,OAAO,EAAE9B,YAAY,CAACG,OAAO;MAC7B4B,SAAS,EAAE,CAAC;QACXC,OAAO,EAAEpC,aAAa,CAACO,OAAO,CAAC8B,WAAW,CAAC;UAC1CC,UAAU,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;UAClBC,WAAW,EAAE,CAAC,MAAM,EAAE,QAAQ;QAC/B,CAAC;MACF,CAAC;MACD;IACD,CAAC,EACD1C,KAAK;EACH,CACH,CAAC;AAGJ,CACD,CAAC;AAED,MACCiC,qBAAqB,GACpB5B,qBAAQ,CAACsC,uBAAuB,CAACC,4BAAa,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-cell-header/_sort-icon/SortIconProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../../src","sources":["components/table-cell-header/_sort-icon/SortIconRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _SortIcon = require("./SortIcon.js");
|
|
7
|
+
Object.keys(_SortIcon).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _SortIcon[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _SortIcon[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_SortIcon","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["components/table-cell-header/_sort-icon/index.ts"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _TableCellHeader = require("./TableCellHeader.js");
|
|
7
|
+
Object.keys(_TableCellHeader).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _TableCellHeader[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _TableCellHeader[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_TableCellHeader","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/table-cell-header/index.ts"],"mappings":";;;;;AAAA,IAAAA,gBAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,gBAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,gBAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,gBAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TableCellIcon = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _carbonReactNativeElements = require("@audira/carbon-react-native-elements");
|
|
9
|
+
var _index = require("../../contexts/index.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
const TableCellIcon = exports.TableCellIcon = /*#__PURE__*/(0, _react.forwardRef)(function TableCellIcon({
|
|
12
|
+
Icon,
|
|
13
|
+
fill,
|
|
14
|
+
...props
|
|
15
|
+
}, ref) {
|
|
16
|
+
const themeContext = (0, _react.useContext)(_index.ThemeContext);
|
|
17
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Icon, {
|
|
18
|
+
ref: ref,
|
|
19
|
+
...props,
|
|
20
|
+
width: 16,
|
|
21
|
+
height: 16,
|
|
22
|
+
fill: fill || mapFillColor[themeContext.colorScheme]
|
|
23
|
+
});
|
|
24
|
+
});
|
|
25
|
+
const mapFillColor = {
|
|
26
|
+
gray_10: _carbonReactNativeElements.Color.Token.gray_10.icon_primary,
|
|
27
|
+
gray_100: _carbonReactNativeElements.Color.Token.gray_100.icon_primary
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=TableCellIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_carbonReactNativeElements","_index","_jsxRuntime","TableCellIcon","exports","forwardRef","Icon","fill","props","ref","themeContext","useContext","ThemeContext","jsx","width","height","mapFillColor","colorScheme","gray_10","Color","Token","icon_primary","gray_100"],"sourceRoot":"../../../../src","sources":["components/table-cell-icon/TableCellIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKA,IAAAC,0BAAA,GAAAD,OAAA;AAIA,IAAAE,MAAA,GAAAF,OAAA;AAEuB,IAAAG,WAAA,GAAAH,OAAA;AAUhB,MAAMI,aAAa,GAAAC,OAAA,CAAAD,aAAA,gBAAG,IAAAE,iBAAU,EACtC,SAASF,aAAaA,CACrB;EACCG,IAAI;EACJC,IAAI;EACJ,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF;EAED,MACCC,YAAY,GACX,IAAAC,iBAAU,EAACC,mBAAY,CAAC;EAE1B,oBACC,IAAAV,WAAA,CAAAW,GAAA,EAACP,IAAI;IACJG,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVM,KAAK,EAAG,EAAI;IACZC,MAAM,EAAG,EAAI;IACbR,IAAI,EAAGA,IAAI,IAAIS,YAAY,CAACN,YAAY,CAACO,WAAW;EAAG,CACvD,CAAC;AAGJ,CACD,CAAC;AAED,MACCD,YAAY,GACX;EACCE,OAAO,EAAEC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACG,YAAY;EACzCC,QAAQ,EAAEH,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACD;AAChC,CAAgE","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-icon/TableCellIconProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-icon/TableCellIconRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _TableCellIcon = require("./TableCellIcon.js");
|
|
7
|
+
Object.keys(_TableCellIcon).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _TableCellIcon[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _TableCellIcon[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_TableCellIcon","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/table-cell-icon/index.ts"],"mappings":";;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TableCellText = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var CarbonStyleSheet = _interopRequireWildcard(require("../../carbon-style-sheet/index.js"));
|
|
9
|
+
var _TableRowContext = require("../table-row/_TableRowContext.js");
|
|
10
|
+
var _TableRowHeaderContext = require("../table-row-header/_TableRowHeaderContext.js");
|
|
11
|
+
var _index2 = require("../text/index.js");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
14
|
+
/**
|
|
15
|
+
* `TableCellText` is a `Text` component as wrapper to get correct text color style based by row's interactive state, including hovering the row
|
|
16
|
+
*/
|
|
17
|
+
const TableCellText = exports.TableCellText = /*#__PURE__*/(0, _react.forwardRef)(function TableCellText({
|
|
18
|
+
children,
|
|
19
|
+
style,
|
|
20
|
+
...props
|
|
21
|
+
}, ref) {
|
|
22
|
+
CarbonStyleSheet.use();
|
|
23
|
+
const tableRowContext = (0, _react.useContext)(_TableRowContext.TableRowContext),
|
|
24
|
+
tableRowHeaderContext = (0, _react.useContext)(_TableRowHeaderContext.TableRowHeaderContext);
|
|
25
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Text, {
|
|
26
|
+
ref: ref,
|
|
27
|
+
...props,
|
|
28
|
+
type: tableRowHeaderContext.inRowHeader ? "heading_compact_01" : "body_compact_01",
|
|
29
|
+
style: [getStyleSheetInteractiveState({
|
|
30
|
+
rowInteractiveState: tableRowContext.interactiveState,
|
|
31
|
+
rowHovered: tableRowContext.hovered,
|
|
32
|
+
inRowHeader: tableRowHeaderContext.inRowHeader
|
|
33
|
+
}), style],
|
|
34
|
+
children: children
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
const styleSheetInteractiveState = CarbonStyleSheet.create({
|
|
38
|
+
normal: {
|
|
39
|
+
color: CarbonStyleSheet.color.text_secondary
|
|
40
|
+
},
|
|
41
|
+
disabled: {
|
|
42
|
+
color: CarbonStyleSheet.color.text_disabled
|
|
43
|
+
},
|
|
44
|
+
selected: {
|
|
45
|
+
color: CarbonStyleSheet.color.text_primary
|
|
46
|
+
},
|
|
47
|
+
normal_header: {
|
|
48
|
+
color: CarbonStyleSheet.color.text_primary
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
function getStyleSheetInteractiveState(data) {
|
|
52
|
+
if (!data.inRowHeader) {
|
|
53
|
+
if (data.rowHovered) {
|
|
54
|
+
return styleSheetInteractiveState.selected; // same style as the `selected`
|
|
55
|
+
}
|
|
56
|
+
return styleSheetInteractiveState[data.rowInteractiveState];
|
|
57
|
+
}
|
|
58
|
+
return styleSheetInteractiveState.normal_header;
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=TableCellText.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","CarbonStyleSheet","_interopRequireWildcard","_TableRowContext","_TableRowHeaderContext","_index2","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TableCellText","exports","forwardRef","children","style","props","ref","use","tableRowContext","useContext","TableRowContext","tableRowHeaderContext","TableRowHeaderContext","jsx","Text","type","inRowHeader","getStyleSheetInteractiveState","rowInteractiveState","interactiveState","rowHovered","hovered","styleSheetInteractiveState","create","normal","color","text_secondary","disabled","text_disabled","selected","text_primary","normal_header","data"],"sourceRoot":"../../../../src","sources":["components/table-cell-text/TableCellText.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AASA,IAAAC,gBAAA,GAAAC,uBAAA,CAAAF,OAAA;AAEA,IAAAG,gBAAA,GAAAH,OAAA;AAIA,IAAAI,sBAAA,GAAAJ,OAAA;AAIA,IAAAK,OAAA,GAAAL,OAAA;AAEgB,IAAAM,WAAA,GAAAN,OAAA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,qBAAqB,GACpB,IAAAF,iBAAU,EAACG,4CAAqB,CAAC;EAEnC,oBACC,IAAAhC,WAAA,CAAAiC,GAAA,EAAClC,OAAA,CAAAmC,IAAI;IACJR,GAAG,EAAGA,GAAK;IAAA,GACND,KAAK;IACVU,IAAI,EAAGJ,qBAAqB,CAACK,WAAW,GAAG,oBAAoB,GAAG,iBAAmB;IACrFZ,KAAK,EAAG,CACPa,6BAA6B,CAAC;MAC7BC,mBAAmB,EAAEV,eAAe,CAACW,gBAAgB;MACrDC,UAAU,EAAEZ,eAAe,CAACa,OAAO;MACnCL,WAAW,EAAEL,qBAAqB,CAACK;IACpC,CAAC,CAAC,EACFZ,KAAK,CACH;IAAAD,QAAA,EAEDA;EAAQ,CACL,CAAC;AAGT,CACD,CAAC;AAED,MACCmB,0BAA0B,GACzB/C,gBAAgB,CAACgD,MAAM,CAAC;EACvBC,MAAM,EAAE;IACPC,KAAK,EAAElD,gBAAgB,CAACkD,KAAK,CAACC;EAC/B,CAAC;EACDC,QAAQ,EAAE;IACTF,KAAK,EAAElD,gBAAgB,CAACkD,KAAK,CAACG;EAC/B,CAAC;EACDC,QAAQ,EAAE;IACTJ,KAAK,EAAElD,gBAAgB,CAACkD,KAAK,CAACK;EAC/B,CAAC;EACDC,aAAa,EAAE;IACdN,KAAK,EAAElD,gBAAgB,CAACkD,KAAK,CAACK;EAC/B;AACD,CAIC,CAAC;AAEJ,SAASb,6BAA6BA,CACrCe,IAIC,EACA;EACD,IAAG,CAACA,IAAI,CAAChB,WAAW,EAAE;IACrB,IAAGgB,IAAI,CAACZ,UAAU,EAAE;MACnB,OAAOE,0BAA0B,CAACO,QAAQ,EAAC;IAC5C;IACA,OAAOP,0BAA0B,CAACU,IAAI,CAACd,mBAAmB,CAAC;EAC5D;EAEA,OAAOI,0BAA0B,CAACS,aAAa;AAChD","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-text/TableCellTextProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-cell-text/TableCellTextRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _TableCellText = require("./TableCellText.js");
|
|
7
|
+
Object.keys(_TableCellText).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _TableCellText[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _TableCellText[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_TableCellText","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/table-cell-text/index.ts"],"mappings":";;;;;AAAA,IAAAA,cAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.TableRow = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _carbonReactNativeElements = require("@audira/carbon-react-native-elements");
|
|
10
|
+
var CarbonStyleSheet = _interopRequireWildcard(require("../../carbon-style-sheet/index.js"));
|
|
11
|
+
var _index2 = require("../layer/index.js");
|
|
12
|
+
var _TableContext = require("../table/_TableContext.js");
|
|
13
|
+
var _TableRowContext = require("./_TableRowContext.js");
|
|
14
|
+
var _styleSheetHeight = require("./_style-sheet-height.js");
|
|
15
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
17
|
+
const TableRow = exports.TableRow = /*#__PURE__*/(0, _react.forwardRef)(function TableRow({
|
|
18
|
+
interactiveState = "normal",
|
|
19
|
+
size: sizeProp,
|
|
20
|
+
zebra,
|
|
21
|
+
onHoverIn: onHoverInProp,
|
|
22
|
+
onHoverOut: onHoverOutProp,
|
|
23
|
+
role = "row",
|
|
24
|
+
style,
|
|
25
|
+
children,
|
|
26
|
+
...props
|
|
27
|
+
}, ref) {
|
|
28
|
+
CarbonStyleSheet.use();
|
|
29
|
+
const layerContext = (0, _react.useContext)(_index2.LayerContext),
|
|
30
|
+
tableContext = (0, _react.useContext)(_TableContext.TableContext),
|
|
31
|
+
size = (0, _react.useMemo)(() => {
|
|
32
|
+
return sizeProp ?? tableContext.rowSize;
|
|
33
|
+
}, [sizeProp, tableContext.rowSize]),
|
|
34
|
+
[hovered, setHovered] = (0, _react.useState)(false);
|
|
35
|
+
const onHoverIn = (0, _react.useCallback)(event => {
|
|
36
|
+
setHovered(true);
|
|
37
|
+
onHoverInProp?.(event);
|
|
38
|
+
}, [onHoverInProp]),
|
|
39
|
+
onHoverOut = (0, _react.useCallback)(event => {
|
|
40
|
+
setHovered(false);
|
|
41
|
+
onHoverOutProp?.(event);
|
|
42
|
+
}, [onHoverOutProp]);
|
|
43
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TableRowContext.TableRowContext.Provider, {
|
|
44
|
+
value: {
|
|
45
|
+
interactiveState,
|
|
46
|
+
hovered
|
|
47
|
+
},
|
|
48
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
|
|
49
|
+
ref: ref,
|
|
50
|
+
...props,
|
|
51
|
+
role: role,
|
|
52
|
+
onHoverIn: onHoverIn,
|
|
53
|
+
onHoverOut: onHoverOut,
|
|
54
|
+
style: [styleSheet.tableRow, CarbonStyleSheet.g.flex_auto, CarbonStyleSheet.g.flex_row, _styleSheetHeight.StyleSheetHeight[size], getInteractiveStateStyle(interactiveState, {
|
|
55
|
+
layer: layerContext,
|
|
56
|
+
hovered,
|
|
57
|
+
zebra
|
|
58
|
+
}), size === "extra_large" ? CarbonStyleSheet.g.pt_05 : CarbonStyleSheet.g.items_center, style],
|
|
59
|
+
children: children
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
const styleSheet = _reactNative.StyleSheet.create({
|
|
64
|
+
tableRow: {
|
|
65
|
+
borderBottomWidth: 1,
|
|
66
|
+
borderStyle: "solid",
|
|
67
|
+
..._reactNative.Platform.select({
|
|
68
|
+
web: {
|
|
69
|
+
transitionProperty: "background-color, border-bottom-color",
|
|
70
|
+
transitionDuration: `${_carbonReactNativeElements.Motion.Duration.fast_01}ms`,
|
|
71
|
+
transitionTimingFunction: `cubic-bezier(${_carbonReactNativeElements.Motion.Easing.entrance.productive.x1},${_carbonReactNativeElements.Motion.Easing.entrance.productive.y1},${_carbonReactNativeElements.Motion.Easing.entrance.productive.x2},${_carbonReactNativeElements.Motion.Easing.entrance.productive.y2})`
|
|
72
|
+
}
|
|
73
|
+
})
|
|
74
|
+
}
|
|
75
|
+
}),
|
|
76
|
+
styleSheetInteractiveStatePerLayer = {
|
|
77
|
+
"1": CarbonStyleSheet.create({
|
|
78
|
+
normal: {
|
|
79
|
+
backgroundColor: CarbonStyleSheet.color.layer_01,
|
|
80
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_01
|
|
81
|
+
},
|
|
82
|
+
hovered: {
|
|
83
|
+
backgroundColor: CarbonStyleSheet.color.layer_hover_01,
|
|
84
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_01
|
|
85
|
+
},
|
|
86
|
+
disabled: {
|
|
87
|
+
backgroundColor: CarbonStyleSheet.color.layer_01,
|
|
88
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_01
|
|
89
|
+
},
|
|
90
|
+
selected: {
|
|
91
|
+
backgroundColor: CarbonStyleSheet.color.layer_selected_01,
|
|
92
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_selected_01
|
|
93
|
+
},
|
|
94
|
+
selected_hover: {
|
|
95
|
+
backgroundColor: CarbonStyleSheet.color.layer_selected_hover_01,
|
|
96
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_selected_01
|
|
97
|
+
},
|
|
98
|
+
zebra: {
|
|
99
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_01,
|
|
100
|
+
borderBottomColor: CarbonStyleSheet.color.layer_accent_01
|
|
101
|
+
}
|
|
102
|
+
}),
|
|
103
|
+
"2": CarbonStyleSheet.create({
|
|
104
|
+
normal: {
|
|
105
|
+
backgroundColor: CarbonStyleSheet.color.layer_02,
|
|
106
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_02
|
|
107
|
+
},
|
|
108
|
+
hovered: {
|
|
109
|
+
backgroundColor: CarbonStyleSheet.color.layer_hover_02,
|
|
110
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_02
|
|
111
|
+
},
|
|
112
|
+
disabled: {
|
|
113
|
+
backgroundColor: CarbonStyleSheet.color.layer_02,
|
|
114
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_02
|
|
115
|
+
},
|
|
116
|
+
selected: {
|
|
117
|
+
backgroundColor: CarbonStyleSheet.color.layer_selected_02,
|
|
118
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_selected_02
|
|
119
|
+
},
|
|
120
|
+
selected_hover: {
|
|
121
|
+
backgroundColor: CarbonStyleSheet.color.layer_selected_hover_02,
|
|
122
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_selected_02
|
|
123
|
+
},
|
|
124
|
+
zebra: {
|
|
125
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_02,
|
|
126
|
+
borderBottomColor: CarbonStyleSheet.color.layer_accent_02
|
|
127
|
+
}
|
|
128
|
+
}),
|
|
129
|
+
"3": CarbonStyleSheet.create({
|
|
130
|
+
normal: {
|
|
131
|
+
backgroundColor: CarbonStyleSheet.color.layer_03,
|
|
132
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_03
|
|
133
|
+
},
|
|
134
|
+
hovered: {
|
|
135
|
+
backgroundColor: CarbonStyleSheet.color.layer_hover_03,
|
|
136
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_03
|
|
137
|
+
},
|
|
138
|
+
disabled: {
|
|
139
|
+
backgroundColor: CarbonStyleSheet.color.layer_03,
|
|
140
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_03
|
|
141
|
+
},
|
|
142
|
+
selected: {
|
|
143
|
+
backgroundColor: CarbonStyleSheet.color.layer_selected_03,
|
|
144
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_selected_03
|
|
145
|
+
},
|
|
146
|
+
selected_hover: {
|
|
147
|
+
backgroundColor: CarbonStyleSheet.color.layer_selected_hover_03,
|
|
148
|
+
borderBottomColor: CarbonStyleSheet.color.border_subtle_selected_03
|
|
149
|
+
},
|
|
150
|
+
zebra: {
|
|
151
|
+
backgroundColor: CarbonStyleSheet.color.layer_accent_03,
|
|
152
|
+
borderBottomColor: CarbonStyleSheet.color.layer_accent_03
|
|
153
|
+
}
|
|
154
|
+
})
|
|
155
|
+
};
|
|
156
|
+
function getInteractiveStateStyle(interactiveState, data) {
|
|
157
|
+
if (!data.hovered) {
|
|
158
|
+
if (data.zebra && interactiveState == "normal") {
|
|
159
|
+
return styleSheetInteractiveStatePerLayer[data.layer].zebra;
|
|
160
|
+
}
|
|
161
|
+
return styleSheetInteractiveStatePerLayer[data.layer][interactiveState];
|
|
162
|
+
}
|
|
163
|
+
if (interactiveState == "selected") {
|
|
164
|
+
return styleSheetInteractiveStatePerLayer[data.layer].selected_hover;
|
|
165
|
+
}
|
|
166
|
+
return styleSheetInteractiveStatePerLayer[data.layer].hovered;
|
|
167
|
+
}
|
|
168
|
+
//# sourceMappingURL=TableRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","CarbonStyleSheet","_interopRequireWildcard","_index2","_TableContext","_TableRowContext","_styleSheetHeight","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","TableRow","exports","forwardRef","interactiveState","size","sizeProp","zebra","onHoverIn","onHoverInProp","onHoverOut","onHoverOutProp","role","style","children","props","ref","use","layerContext","useContext","LayerContext","tableContext","TableContext","useMemo","rowSize","hovered","setHovered","useState","useCallback","event","jsx","TableRowContext","Provider","value","Pressable","styleSheet","tableRow","g","flex_auto","flex_row","StyleSheetHeight","getInteractiveStateStyle","layer","pt_05","items_center","StyleSheet","create","borderBottomWidth","borderStyle","Platform","select","web","transitionProperty","transitionDuration","Motion","Duration","fast_01","transitionTimingFunction","Easing","entrance","productive","x1","y1","x2","y2","styleSheetInteractiveStatePerLayer","normal","backgroundColor","color","layer_01","borderBottomColor","border_subtle_01","layer_hover_01","disabled","selected","layer_selected_01","border_subtle_selected_01","selected_hover","layer_selected_hover_01","layer_accent_01","layer_02","border_subtle_02","layer_hover_02","layer_selected_02","border_subtle_selected_02","layer_selected_hover_02","layer_accent_02","layer_03","border_subtle_03","layer_hover_03","layer_selected_03","border_subtle_selected_03","layer_selected_hover_03","layer_accent_03","data"],"sourceRoot":"../../../../src","sources":["components/table-row/TableRow.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAQA,IAAAC,YAAA,GAAAD,OAAA;AAQA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,gBAAA,GAAAC,uBAAA,CAAAJ,OAAA;AAEA,IAAAK,OAAA,GAAAL,OAAA;AAIA,IAAAM,aAAA,GAAAN,OAAA;AAgBA,IAAAO,gBAAA,GAAAP,OAAA;AAIA,IAAAQ,iBAAA,GAAAR,OAAA;AAE8B,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAI,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,C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C9D","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-row/TableRowInteractiveState.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-row/TableRowProps.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-row/TableRowRef.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/table-row/TableRowSize.ts"],"mappings":"","ignoreList":[]}
|