-
Notifications
You must be signed in to change notification settings - Fork 105
Analytical table #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Analytical table #23
Conversation
# Conflicts: # packages/fiori3/package.json # packages/fiori3/src/components/ResponsivePopover/index.tsx # packages/fiori3/src/webComponents/Popover/index.tsx # yarn.lock
…older and run index script
| @@ -0,0 +1,102 @@ | |||
| import React from 'react'; | |||
| import { AnalyticalTable as Table } from './index'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any reason why you rename the import to Table? If not I would go for Analytical Table.
Please also import from ../../lib/AnalyticalTable
| @@ -0,0 +1,132 @@ | |||
| // import React from 'react'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this test does nothing, please delete the file
packages/fiori3/src/components/AnalyticalTable/AnalyticalTable.karma.tsx
Show resolved
Hide resolved
| @@ -0,0 +1,176 @@ | |||
| import React, { Component, ReactNode, ReactNodeArray } from 'react'; | |||
| import { ClassProps } from '../../../interfaces/ClassProps'; | |||
| import { Icon } from '../../../webComponents/Icon'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please import from lib
| @@ -0,0 +1,46 @@ | |||
| import { fonts } from '@fiori-for-react/styles'; | |||
| import { ContentDensity } from '../../../enums/ContentDensity'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import from lib
| @@ -0,0 +1,25 @@ | |||
| import React, { FC, isValidElement, ReactNode, ReactText } from 'react'; | |||
| import { Title } from '../../../webComponents/Title'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import from lib
| /** The background color of lists. */ | ||
| export const sapUiListBackground = '#ffffff'; | ||
| /** The background color of the column header area of lists. */ | ||
| export const sapUiListHeaderBackground = HSLColor.of(sapUiListBackground).darken(5); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a .hsl after darken(5)
| @@ -0,0 +1,111 @@ | |||
| import React from 'react'; | |||
| import { AnalyticalTable } from './index'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
``
| import { AnalyticalTable } from './index'; | |
| import { AnalyticalTable } from '../../lib/AnalyticalTable'; |
packages/fiori3/src/components/AnalyticalTable/columnHeaderModal/index.tsx
Outdated
Show resolved
Hide resolved
| import { boolean, number } from '@storybook/addon-knobs'; | ||
| import { AnalyticalTable as Table } from '../index'; | ||
| import generateData from './generateData'; | ||
| import { Title } from '../../../webComponents/Title'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| import { Title } from '../../../webComponents/Title'; | |
| import { Title } from '../../../lib/Title'; |
| import React from 'react'; | ||
| import { storiesOf } from '@storybook/react'; | ||
| import { boolean, number } from '@storybook/addon-knobs'; | ||
| import { AnalyticalTable } from '../index'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| import { AnalyticalTable } from '../index'; | |
| import { AnalyticalTable } from '../../lib/AnalyticalTable'; |
Thank you for your contribution! 👏
To get it merged faster, kindly review the checklist below:
Pull Request Checklist