Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@
rollup.config.js
stylelint.config.js
sonar-project.properties
lib
.storybook
.vscode
package.json
reports
config
generators
flow-typed
out
docs
coverage
node_modules
2 changes: 1 addition & 1 deletion config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
coverageReporters: ['lcov', 'json', 'text-summary'],
coverageThreshold: {
global: {
branches: 40,
branches: 35,
functions: 55,
lines: 60,
statements: -100,
Expand Down
1 change: 1 addition & 0 deletions generators/component/index.js.hbs
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// @flow
export { default } from './{{ properCase name }}';
export { {{ properCase name }}Vanilla } from './{{ properCase name }}';
2 changes: 1 addition & 1 deletion lib/components/atoms/FieldError/FieldError.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Para from '../Para';
import styles from './FieldError.style';

type Props = {
className?: string,
className?: string | void,
children: Node,
dataSlnmId?: string,
inheritedStyles?: string,
Expand Down
2 changes: 2 additions & 0 deletions lib/components/atoms/FieldError/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './FieldError';
export { FieldErrorVanilla } from './FieldError';
2 changes: 2 additions & 0 deletions lib/components/atoms/Heading/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Heading';
export { HeadingVanilla } from './Heading';
2 changes: 2 additions & 0 deletions lib/components/atoms/Image/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Image';
export { ImageVanilla } from './Image';
3 changes: 2 additions & 1 deletion lib/components/atoms/Para/Para.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import styles from './Para.style';

type Props = {
children: Node,
className: string,
className?: string | void,
inheritedStyles?: string,
};

Expand All @@ -19,6 +19,7 @@ const Para = ({ children, className, inheritedStyles, ...others }: Props): Node

Para.defaultProps = {
inheritedStyles: '',
className: '',
};

export default styled(Para)`
Expand Down
2 changes: 2 additions & 0 deletions lib/components/atoms/Para/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Para';
export { ParaVanilla } from './Para';
2 changes: 2 additions & 0 deletions lib/components/atoms/Textarea/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Textarea';
export { TextareaVanilla } from './Textarea';
1 change: 1 addition & 0 deletions lib/components/molecules/Breadcrumb/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
// @flow
export { default } from './Breadcrumb';
export { BreadcrumbVanilla } from './Breadcrumb';
2 changes: 2 additions & 0 deletions lib/components/molecules/Form/Debug/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
// @flow

export { default } from './Debug';
2 changes: 2 additions & 0 deletions lib/components/molecules/List/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './List';
export { ListVanilla } from './List';
2 changes: 2 additions & 0 deletions lib/components/molecules/Popover/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Popover';
export { PopoverVanilla } from './Popover';
2 changes: 1 addition & 1 deletion lib/components/molecules/Tabs/Tab/Tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Props = {
children: Node,
isSelected: boolean,
onClick: (SyntheticEvent<>, number) => void,
onKeyDown: (SyntheticEvent<>) => void,
onKeyDown: (SyntheticKeyboardEvent<>) => void,
inheritedStyles?: string,
};

Expand Down
2 changes: 2 additions & 0 deletions lib/components/molecules/Tabs/Tab/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Tab';
export { TabVanilla } from './Tab';
2 changes: 2 additions & 0 deletions lib/components/molecules/Tabs/TabPanel/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './TabPanel';
export { TabPanelVanilla } from './TabPanel';
2 changes: 2 additions & 0 deletions lib/components/molecules/Tabs/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
// @flow

export { default } from './Tabs';
export { TabsVanilla } from './Tabs';
2 changes: 2 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @flow

/**
* Atoms
*/
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default {
json(),
babel(),
resolve(),
flowEntry(),
flowEntry({ mode: 'strict-local' }),
flow({ pretty: true }),
commonjs({
include: ['node_modules/**'],
Expand Down