├── .npmrc ├── .prettierignore ├── src ├── declarations.d.ts ├── react-app-env.d.ts ├── index.ts ├── components │ ├── tag │ │ ├── index.ts │ │ ├── __tests__ │ │ │ ├── tag.spec.tsx │ │ │ └── __snapshots__ │ │ │ │ └── tag.spec.tsx.snap │ │ └── styled.ts │ ├── card │ │ ├── index.ts │ │ └── __tests__ │ │ │ └── card.spec.tsx │ ├── form │ │ ├── index.ts │ │ ├── submitButton.tsx │ │ ├── Radio │ │ │ └── radio.tsx │ │ └── Checkbox │ │ │ └── checkbox.tsx │ ├── link │ │ ├── index.ts │ │ └── __tests__ │ │ │ ├── __snapshots__ │ │ │ └── link.spec.tsx.snap │ │ │ └── link.spec.tsx │ ├── alert │ │ └── index.ts │ ├── badge │ │ ├── index.ts │ │ └── __tests__ │ │ │ └── badge.spec.tsx │ ├── image │ │ ├── index.ts │ │ ├── styled.ts │ │ └── __tests__ │ │ │ ├── image.spec.tsx │ │ │ └── __snapshots__ │ │ │ └── image.spec.tsx.snap │ ├── avatar │ │ ├── index.ts │ │ └── __tests__ │ │ │ └── avatar.spec.tsx │ ├── button │ │ └── index.ts │ ├── drawer │ │ └── index.ts │ ├── search │ │ ├── index.ts │ │ ├── styled.ts │ │ ├── search.stories.tsx │ │ └── __tests__ │ │ │ └── search.spec.tsx │ ├── select │ │ └── index.ts │ ├── switch │ │ └── index.ts │ ├── tooltip │ │ └── index.ts │ ├── backdrop │ │ ├── index.ts │ │ ├── __tests__ │ │ │ ├── __snapshots__ │ │ │ │ └── backdrop.spec.tsx.snap │ │ │ └── backdrop.spec.tsx │ │ └── styled.ts │ ├── divider │ │ ├── index.ts │ │ ├── styled.ts │ │ └── divider.stories.tsx │ ├── spinner │ │ ├── index.ts │ │ ├── sizes.ts │ │ ├── spinner.stories.tsx │ │ ├── __tests__ │ │ │ ├── spinner.spec.tsx │ │ │ └── __snapshots__ │ │ │ │ └── spinner.spec.tsx.snap │ │ └── spinner.tsx │ ├── skeleton │ │ ├── index.ts │ │ ├── __tests__ │ │ │ ├── __snapshots__ │ │ │ │ └── skeleton.spec.tsx.snap │ │ │ └── skeleton.spec.tsx │ │ ├── skeleton.stories.tsx │ │ └── skeleton.tsx │ ├── accordion │ │ ├── index.ts │ │ ├── __tests__ │ │ │ ├── accordion.spec.tsx │ │ │ └── __snapshots__ │ │ │ │ └── accordion.spec.tsx.snap │ │ └── accordion.stories.tsx │ ├── cardgroup │ │ ├── index.ts │ │ ├── styled.ts │ │ ├── cardgroup.tsx │ │ └── __tests__ │ │ │ └── cardgroup.spec.tsx │ ├── breadcrumb │ │ ├── index.ts │ │ └── __tests__ │ │ │ └── breadcrumb.spec.tsx │ ├── pagination │ │ └── index.ts │ ├── text-input │ │ ├── index.ts │ │ └── __tests__ │ │ │ └── textinput.spec.tsx │ ├── progressBar │ │ ├── index.ts │ │ ├── __tests__ │ │ │ └── progressbar.spec.tsx │ │ └── progressBar.stories.tsx │ ├── themeprovider │ │ ├── index.ts │ │ └── themeprovider.tsx │ ├── circularProgressBar │ │ ├── index.ts │ │ └── circularProgressBar.stories.tsx │ └── steps │ │ └── index.ts ├── icons │ ├── index.tsx │ ├── Cross.tsx │ ├── ArrowDown.tsx │ └── Search.tsx ├── setupTests.ts ├── test │ └── utils.tsx └── tokens │ ├── global.styles.ts │ └── sizes.ts ├── lib ├── components │ ├── card │ │ ├── __tests__ │ │ │ ├── card.spec.d.ts │ │ │ ├── card.spec.d.ts.map │ │ │ ├── card.spec.js.map │ │ │ └── card.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── card.d.ts.map │ │ └── card.d.ts │ ├── form │ │ ├── __tests__ │ │ │ ├── form.spec.d.ts │ │ │ └── form.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── Radio │ │ │ ├── radio.d.ts │ │ │ ├── radio.d.ts.map │ │ │ ├── radioGroup.d.ts │ │ │ ├── radioGroup.d.ts.map │ │ │ ├── radio.js.map │ │ │ └── radioGroup.js.map │ │ ├── submitButton.d.ts │ │ ├── submitButton.d.ts.map │ │ ├── Checkbox │ │ │ ├── checkbox.d.ts │ │ │ ├── checkbox.d.ts.map │ │ │ ├── checkboxGroup.d.ts │ │ │ ├── checkboxGroup.d.ts.map │ │ │ ├── checkbox.js.map │ │ │ └── checkboxGroup.js.map │ │ ├── validators.d.ts.map │ │ ├── validators.d.ts │ │ ├── field.d.ts │ │ ├── input.d.ts │ │ ├── field.d.ts.map │ │ ├── form.d.ts.map │ │ ├── submitButton.js.map │ │ ├── input.d.ts.map │ │ ├── styled.d.ts.map │ │ └── input.js.map │ ├── link │ │ ├── __tests__ │ │ │ ├── link.spec.d.ts │ │ │ ├── link.spec.d.ts.map │ │ │ └── link.spec.js.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── link.d.ts.map │ │ ├── link.d.ts │ │ ├── styled.js.map │ │ └── link.js.map │ ├── tag │ │ ├── __tests__ │ │ │ ├── tag.spec.d.ts │ │ │ ├── tag.spec.d.ts.map │ │ │ ├── tag.spec.js │ │ │ └── tag.spec.js.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── tag.d.ts.map │ │ ├── styled.js.map │ │ └── tag.d.ts │ ├── alert │ │ ├── __tests__ │ │ │ ├── alert.spec.d.ts │ │ │ └── alert.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ ├── alert.d.ts.map │ │ └── alert.d.ts │ ├── badge │ │ ├── __tests__ │ │ │ ├── badge.spec.d.ts │ │ │ ├── badge.spec.d.ts.map │ │ │ └── badge.spec.js.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── badge.d.ts.map │ │ ├── badge.d.ts │ │ └── styled.js.map │ ├── image │ │ ├── __tests__ │ │ │ ├── image.spec.d.ts │ │ │ └── image.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── styled.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ ├── image.d.ts.map │ │ ├── image.d.ts │ │ ├── styled.js.map │ │ ├── image.js │ │ └── image.js.map │ ├── steps │ │ ├── __test__ │ │ │ ├── steps.spec.d.ts │ │ │ └── steps.spec.d.ts.map │ │ ├── index.js │ │ ├── index.js.map │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── step.d.ts.map │ │ ├── step.d.ts │ │ └── steps.d.ts.map │ ├── avatar │ │ ├── __tests__ │ │ │ ├── avatar.spec.d.ts │ │ │ ├── avatar.spec.d.ts.map │ │ │ ├── avatar.spec.js.map │ │ │ └── avatar.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── avatar.d.ts.map │ │ ├── avatar.d.ts │ │ └── styled.d.ts │ ├── button │ │ ├── __tests__ │ │ │ ├── button.spec.d.ts │ │ │ └── button.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ └── styled.d.ts │ ├── divider │ │ ├── __tests__ │ │ │ ├── divider.spec.d.ts │ │ │ └── divider.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── styled.d.ts │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── divider.d.ts.map │ │ ├── divider.d.ts │ │ ├── styled.js.map │ │ ├── divider.js │ │ └── divider.js.map │ ├── drawer │ │ ├── __tests__ │ │ │ ├── drawer.spec.d.ts │ │ │ └── drawer.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ └── styled.d.ts.map │ ├── search │ │ ├── __tests__ │ │ │ ├── search.spec.d.ts │ │ │ ├── search.spec.d.ts.map │ │ │ ├── search.spec.js.map │ │ │ └── search.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── styled.js.map │ │ ├── search.d.ts.map │ │ ├── search.d.ts │ │ └── styled.js │ ├── select │ │ ├── __tests__ │ │ │ ├── select.spec.d.ts │ │ │ └── select.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── select.d.ts │ │ └── select.d.ts.map │ ├── spinner │ │ ├── __tests__ │ │ │ ├── spinner.spec.d.ts │ │ │ ├── spinner.spec.d.ts.map │ │ │ ├── spinner.spec.js.map │ │ │ └── spinner.spec.js │ │ ├── sizes.d.ts │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── sizes.d.ts.map │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── spinner.d.ts.map │ │ ├── spinner.d.ts │ │ ├── sizes.js │ │ ├── sizes.js.map │ │ └── spinner.js.map │ ├── switch │ │ ├── __tests__ │ │ │ ├── switch.spec.d.ts │ │ │ └── switch.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── switch.d.ts.map │ │ ├── switch.d.ts │ │ └── styled.d.ts │ ├── tooltip │ │ ├── __tests__ │ │ │ ├── tooltip.spec.d.ts │ │ │ └── tooltip.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── tooltip.d.ts.map │ │ ├── tooltip.d.ts │ │ └── tooltip.js.map │ ├── accordion │ │ ├── __tests__ │ │ │ ├── accordion.spec.d.ts │ │ │ ├── accordion.spec.d.ts.map │ │ │ ├── accordion.spec.js.map │ │ │ └── accordion.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── accordion.d.ts.map │ │ ├── accordion.d.ts │ │ ├── styled.js.map │ │ └── styled.d.ts │ ├── backdrop │ │ ├── __tests__ │ │ │ ├── backdrop.spec.d.ts │ │ │ ├── backdrop.spec.d.ts.map │ │ │ ├── backdrop.spec.js.map │ │ │ └── backdrop.spec.js │ │ ├── index.d.ts │ │ ├── index.js │ │ ├── styled.d.ts │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ ├── index.d.ts.map │ │ ├── styled.js.map │ │ ├── backdrop.d.ts.map │ │ ├── backdrop.d.ts │ │ └── backdrop.js.map │ ├── cardgroup │ │ ├── __tests__ │ │ │ ├── cardgroup.spec.d.ts │ │ │ ├── cardgroup.spec.d.ts.map │ │ │ ├── cardgroup.spec.js.map │ │ │ └── cardgroup.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── styled.d.ts │ │ ├── styled.d.ts.map │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.js.map │ │ ├── cardgroup.d.ts.map │ │ ├── cardgroup.d.ts │ │ ├── cardgroup.js.map │ │ └── styled.js │ ├── skeleton │ │ ├── __tests__ │ │ │ ├── skeleton.spec.d.ts │ │ │ ├── skeleton.spec.d.ts.map │ │ │ ├── skeleton.spec.js.map │ │ │ └── skeleton.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── skeleton.d.ts.map │ │ ├── skeleton.d.ts │ │ ├── skeleton.js │ │ ├── styled.js.map │ │ └── skeleton.js.map │ ├── breadcrumb │ │ ├── __tests__ │ │ │ ├── breadcrumb.spec.d.ts │ │ │ ├── breadcrumb.spec.d.ts.map │ │ │ └── breadcrumb.spec.js.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── breadcrumb.d.ts │ │ ├── breadcrumb.d.ts.map │ │ └── styled.js.map │ ├── pagination │ │ ├── __tests__ │ │ │ ├── pagination.spec.d.ts │ │ │ └── pagination.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ ├── styled.d.ts │ │ ├── pagination.d.ts.map │ │ └── pagination.d.ts │ ├── text-input │ │ ├── __tests__ │ │ │ ├── textinput.spec.d.ts │ │ │ ├── textinput.spec.d.ts.map │ │ │ ├── textinput.spec.js.map │ │ │ └── textinput.spec.js │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── styled.d.ts.map │ │ └── text-input.d.ts.map │ ├── progressBar │ │ ├── __tests__ │ │ │ ├── progressbar.spec.d.ts │ │ │ └── progressbar.spec.d.ts.map │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── progressBar.d.ts.map │ │ ├── progressBar.d.ts │ │ └── styled.d.ts │ ├── themeprovider │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── themeprovider.d.ts │ │ ├── index.d.ts.map │ │ ├── index.js.map │ │ ├── themeprovider.d.ts.map │ │ └── themeprovider.js.map │ └── circularProgressBar │ │ ├── index.js │ │ ├── index.d.ts │ │ ├── index.js.map │ │ ├── index.d.ts.map │ │ ├── styled.d.ts.map │ │ ├── circularProgressBar.d.ts.map │ │ ├── circularProgressBar.d.ts │ │ ├── styled.d.ts │ │ └── styled.js.map ├── index.js ├── index.d.ts ├── index.js.map ├── index.d.ts.map ├── tokens │ ├── global.styles.d.ts.map │ ├── global.styles.d.ts │ ├── global.styles.js.map │ ├── sizes.js │ ├── themes.d.ts │ ├── sizes.d.ts │ ├── sizes.d.ts.map │ ├── themes.d.ts.map │ ├── sizes.js.map │ ├── themes.js.map │ └── global.styles.js ├── icons │ ├── Cross.d.ts │ ├── Search.d.ts │ ├── index.js │ ├── index.d.ts │ ├── ArrowDown.d.ts │ ├── Cross.d.ts.map │ ├── Search.d.ts.map │ ├── ArrowDown.d.ts.map │ ├── index.js.map │ ├── index.d.ts.map │ ├── Cross.js.map │ ├── Search.js.map │ └── ArrowDown.js.map └── test │ ├── utils.d.ts.map │ ├── utils.d.ts │ ├── utils.js.map │ └── utils.js ├── .prettierrc ├── .npmignore ├── .babelrc.json ├── .gitignore ├── .storybook ├── main.js └── preview.js └── .github └── workflows └── publish.yml /.npmrc: -------------------------------------------------------------------------------- 1 | legacy-peer-deps=true 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | /.storybook 2 | /lib -------------------------------------------------------------------------------- /src/declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.ttf'; 2 | -------------------------------------------------------------------------------- /src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /lib/components/card/__tests__/card.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=card.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/__tests__/form.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=form.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/link/__tests__/link.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=link.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/tag/__tests__/tag.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=tag.spec.d.ts.map -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | 3 | export * from './tokens/global.styles'; 4 | -------------------------------------------------------------------------------- /lib/components/alert/__tests__/alert.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=alert.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/badge/__tests__/badge.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=badge.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/image/__tests__/image.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=image.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/steps/__test__/steps.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=steps.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/avatar/__tests__/avatar.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=avatar.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/button/__tests__/button.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=button.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/divider/__tests__/divider.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=divider.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/drawer/__tests__/drawer.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=drawer.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/search/__tests__/search.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=search.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/select/__tests__/select.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=select.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/spinner/__tests__/spinner.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=spinner.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/switch/__tests__/switch.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=switch.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/tooltip/__tests__/tooltip.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=tooltip.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/accordion/__tests__/accordion.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=accordion.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/backdrop/__tests__/backdrop.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=backdrop.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/cardgroup/__tests__/cardgroup.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=cardgroup.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/skeleton/__tests__/skeleton.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=skeleton.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/breadcrumb/__tests__/breadcrumb.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=breadcrumb.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/pagination/__tests__/pagination.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=pagination.spec.d.ts.map -------------------------------------------------------------------------------- /lib/components/text-input/__tests__/textinput.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=textinput.spec.d.ts.map -------------------------------------------------------------------------------- /src/components/tag/index.ts: -------------------------------------------------------------------------------- 1 | import Tag from './tag'; 2 | 3 | export * from './tag'; 4 | 5 | export default Tag; 6 | -------------------------------------------------------------------------------- /lib/components/progressBar/__tests__/progressbar.spec.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | //# sourceMappingURL=progressbar.spec.d.ts.map -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | export * from './tokens/global.styles'; 3 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/components/card/index.ts: -------------------------------------------------------------------------------- 1 | import Card from './card'; 2 | 3 | export * from './card'; 4 | 5 | export default Card; 6 | -------------------------------------------------------------------------------- /src/components/form/index.ts: -------------------------------------------------------------------------------- 1 | import Form from './form'; 2 | 3 | export * from './form'; 4 | 5 | export default Form; 6 | -------------------------------------------------------------------------------- /src/components/link/index.ts: -------------------------------------------------------------------------------- 1 | import Link from './link'; 2 | 3 | export * from './link'; 4 | 5 | export default Link; 6 | -------------------------------------------------------------------------------- /lib/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './components'; 2 | export * from './tokens/global.styles'; 3 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /src/components/alert/index.ts: -------------------------------------------------------------------------------- 1 | import Alert from './alert'; 2 | 3 | export * from './alert'; 4 | 5 | export default Alert; 6 | -------------------------------------------------------------------------------- /src/components/badge/index.ts: -------------------------------------------------------------------------------- 1 | import Badge from './badge'; 2 | 3 | export * from './badge'; 4 | 5 | export default Badge; 6 | -------------------------------------------------------------------------------- /src/components/image/index.ts: -------------------------------------------------------------------------------- 1 | import Image from './image'; 2 | 3 | export * from './image'; 4 | 5 | export default Image; 6 | -------------------------------------------------------------------------------- /lib/components/spinner/sizes.d.ts: -------------------------------------------------------------------------------- 1 | export declare const spinnerWidth: (size: number) => number; 2 | //# sourceMappingURL=sizes.d.ts.map -------------------------------------------------------------------------------- /src/components/avatar/index.ts: -------------------------------------------------------------------------------- 1 | import Avatar from './avatar'; 2 | 3 | export * from './avatar'; 4 | 5 | export default Avatar; 6 | -------------------------------------------------------------------------------- /src/components/button/index.ts: -------------------------------------------------------------------------------- 1 | import Button from './button'; 2 | 3 | export * from './button'; 4 | 5 | export default Button; 6 | -------------------------------------------------------------------------------- /src/components/drawer/index.ts: -------------------------------------------------------------------------------- 1 | import Drawer from './drawer'; 2 | 3 | export * from './drawer'; 4 | 5 | export default Drawer; 6 | -------------------------------------------------------------------------------- /src/components/search/index.ts: -------------------------------------------------------------------------------- 1 | import Search from './search'; 2 | 3 | export * from './search'; 4 | 5 | export default Search; 6 | -------------------------------------------------------------------------------- /src/components/select/index.ts: -------------------------------------------------------------------------------- 1 | import Select from './select'; 2 | 3 | export * from './select'; 4 | 5 | export default Select; 6 | -------------------------------------------------------------------------------- /src/components/switch/index.ts: -------------------------------------------------------------------------------- 1 | import Switch from './switch'; 2 | 3 | export * from './switch'; 4 | 5 | export default Switch; 6 | -------------------------------------------------------------------------------- /src/components/tooltip/index.ts: -------------------------------------------------------------------------------- 1 | import Tooltip from './tooltip'; 2 | 3 | export * from './tooltip'; 4 | 5 | export default Tooltip; -------------------------------------------------------------------------------- /src/components/backdrop/index.ts: -------------------------------------------------------------------------------- 1 | import { Backdrop } from './backdrop' 2 | 3 | export * from "./backdrop" 4 | 5 | export default Backdrop -------------------------------------------------------------------------------- /src/components/divider/index.ts: -------------------------------------------------------------------------------- 1 | import Divider from './divider'; 2 | 3 | export * from './divider'; 4 | 5 | export default Divider; 6 | -------------------------------------------------------------------------------- /src/components/spinner/index.ts: -------------------------------------------------------------------------------- 1 | import Spinner from './spinner'; 2 | 3 | export * from './spinner'; 4 | 5 | export default Spinner; 6 | -------------------------------------------------------------------------------- /lib/components/tag/index.js: -------------------------------------------------------------------------------- 1 | import Tag from './tag'; 2 | export * from './tag'; 3 | export default Tag; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/components/skeleton/index.ts: -------------------------------------------------------------------------------- 1 | import Skeleton from './skeleton'; 2 | 3 | export * from './skeleton'; 4 | 5 | export default Skeleton; 6 | -------------------------------------------------------------------------------- /lib/components/card/index.js: -------------------------------------------------------------------------------- 1 | import Card from './card'; 2 | export * from './card'; 3 | export default Card; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/form/index.js: -------------------------------------------------------------------------------- 1 | import Form from './form'; 2 | export * from './form'; 3 | export default Form; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/link/index.js: -------------------------------------------------------------------------------- 1 | import Link from './link'; 2 | export * from './link'; 3 | export default Link; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/tag/index.d.ts: -------------------------------------------------------------------------------- 1 | import Tag from './tag'; 2 | export * from './tag'; 3 | export default Tag; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /src/components/accordion/index.ts: -------------------------------------------------------------------------------- 1 | import Accordion from './accordion'; 2 | 3 | export * from './accordion'; 4 | 5 | export default Accordion; 6 | -------------------------------------------------------------------------------- /src/components/cardgroup/index.ts: -------------------------------------------------------------------------------- 1 | import CardGroup from './cardgroup'; 2 | 3 | export * from './cardgroup'; 4 | 5 | export default CardGroup; 6 | -------------------------------------------------------------------------------- /lib/components/alert/index.js: -------------------------------------------------------------------------------- 1 | import Alert from './alert'; 2 | export * from './alert'; 3 | export default Alert; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/badge/index.js: -------------------------------------------------------------------------------- 1 | import Badge from './badge'; 2 | export * from './badge'; 3 | export default Badge; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/card/index.d.ts: -------------------------------------------------------------------------------- 1 | import Card from './card'; 2 | export * from './card'; 3 | export default Card; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/index.d.ts: -------------------------------------------------------------------------------- 1 | import Form from './form'; 2 | export * from './form'; 3 | export default Form; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/image/index.js: -------------------------------------------------------------------------------- 1 | import Image from './image'; 2 | export * from './image'; 3 | export default Image; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/link/index.d.ts: -------------------------------------------------------------------------------- 1 | import Link from './link'; 2 | export * from './link'; 3 | export default Link; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /src/components/breadcrumb/index.ts: -------------------------------------------------------------------------------- 1 | import Breadcrumb from './breadcrumb'; 2 | 3 | export * from './breadcrumb'; 4 | 5 | export default Breadcrumb; 6 | -------------------------------------------------------------------------------- /src/components/pagination/index.ts: -------------------------------------------------------------------------------- 1 | import Pagination from './pagination'; 2 | 3 | export * from './pagination'; 4 | 5 | export default Pagination; 6 | -------------------------------------------------------------------------------- /src/components/text-input/index.ts: -------------------------------------------------------------------------------- 1 | import TextInput from './text-input'; 2 | 3 | export * from './text-input'; 4 | 5 | export default TextInput; 6 | -------------------------------------------------------------------------------- /lib/components/alert/index.d.ts: -------------------------------------------------------------------------------- 1 | import Alert from './alert'; 2 | export * from './alert'; 3 | export default Alert; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/avatar/index.js: -------------------------------------------------------------------------------- 1 | import Avatar from './avatar'; 2 | export * from './avatar'; 3 | export default Avatar; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/badge/index.d.ts: -------------------------------------------------------------------------------- 1 | import Badge from './badge'; 2 | export * from './badge'; 3 | export default Badge; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/button/index.js: -------------------------------------------------------------------------------- 1 | import Button from './button'; 2 | export * from './button'; 3 | export default Button; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/drawer/index.js: -------------------------------------------------------------------------------- 1 | import Drawer from './drawer'; 2 | export * from './drawer'; 3 | export default Drawer; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/image/index.d.ts: -------------------------------------------------------------------------------- 1 | import Image from './image'; 2 | export * from './image'; 3 | export default Image; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/search/index.js: -------------------------------------------------------------------------------- 1 | import Search from './search'; 2 | export * from './search'; 3 | export default Search; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/select/index.js: -------------------------------------------------------------------------------- 1 | import Select from './select'; 2 | export * from './select'; 3 | export default Select; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/switch/index.js: -------------------------------------------------------------------------------- 1 | import Switch from './switch'; 2 | export * from './switch'; 3 | export default Switch; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /src/components/progressBar/index.ts: -------------------------------------------------------------------------------- 1 | import ProgressBar from './progressBar'; 2 | 3 | export * from './progressBar'; 4 | 5 | export default ProgressBar; 6 | -------------------------------------------------------------------------------- /lib/components/avatar/index.d.ts: -------------------------------------------------------------------------------- 1 | import Avatar from './avatar'; 2 | export * from './avatar'; 3 | export default Avatar; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/button/index.d.ts: -------------------------------------------------------------------------------- 1 | import Button from './button'; 2 | export * from './button'; 3 | export default Button; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/divider/index.js: -------------------------------------------------------------------------------- 1 | import Divider from './divider'; 2 | export * from './divider'; 3 | export default Divider; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/drawer/index.d.ts: -------------------------------------------------------------------------------- 1 | import Drawer from './drawer'; 2 | export * from './drawer'; 3 | export default Drawer; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/search/index.d.ts: -------------------------------------------------------------------------------- 1 | import Search from './search'; 2 | export * from './search'; 3 | export default Search; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/select/index.d.ts: -------------------------------------------------------------------------------- 1 | import Select from './select'; 2 | export * from './select'; 3 | export default Select; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/spinner/index.js: -------------------------------------------------------------------------------- 1 | import Spinner from './spinner'; 2 | export * from './spinner'; 3 | export default Spinner; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/switch/index.d.ts: -------------------------------------------------------------------------------- 1 | import Switch from './switch'; 2 | export * from './switch'; 3 | export default Switch; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/tooltip/index.js: -------------------------------------------------------------------------------- 1 | import Tooltip from './tooltip'; 2 | export * from './tooltip'; 3 | export default Tooltip; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,cAAc,wBAAwB,CAAC"} -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "htmlWhitespaceSensitivity": "css", 3 | "singleQuote": true, 4 | "printWidth": 80, 5 | "semi": true, 6 | "trailingComma": "none" 7 | } 8 | -------------------------------------------------------------------------------- /lib/components/divider/index.d.ts: -------------------------------------------------------------------------------- 1 | import Divider from './divider'; 2 | export * from './divider'; 3 | export default Divider; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/skeleton/index.js: -------------------------------------------------------------------------------- 1 | import Skeleton from './skeleton'; 2 | export * from './skeleton'; 3 | export default Skeleton; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/spinner/index.d.ts: -------------------------------------------------------------------------------- 1 | import Spinner from './spinner'; 2 | export * from './spinner'; 3 | export default Spinner; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/tooltip/index.d.ts: -------------------------------------------------------------------------------- 1 | import Tooltip from './tooltip'; 2 | export * from './tooltip'; 3 | export default Tooltip; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,cAAc,wBAAwB,CAAC"} -------------------------------------------------------------------------------- /src/components/themeprovider/index.ts: -------------------------------------------------------------------------------- 1 | import ThemeProvider from './themeprovider'; 2 | 3 | export * from './themeprovider'; 4 | 5 | export default ThemeProvider; 6 | -------------------------------------------------------------------------------- /src/icons/index.tsx: -------------------------------------------------------------------------------- 1 | export { default as ArrowDown } from './ArrowDown' 2 | export { default as Cross } from './Cross' 3 | export { default as Search } from './Search' -------------------------------------------------------------------------------- /lib/components/accordion/index.js: -------------------------------------------------------------------------------- 1 | import Accordion from './accordion'; 2 | export * from './accordion'; 3 | export default Accordion; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/backdrop/index.d.ts: -------------------------------------------------------------------------------- 1 | import { Backdrop } from './backdrop'; 2 | export * from "./backdrop"; 3 | export default Backdrop; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/backdrop/index.js: -------------------------------------------------------------------------------- 1 | import { Backdrop } from './backdrop'; 2 | export * from "./backdrop"; 3 | export default Backdrop; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/cardgroup/index.js: -------------------------------------------------------------------------------- 1 | import CardGroup from './cardgroup'; 2 | export * from './cardgroup'; 3 | export default CardGroup; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/skeleton/index.d.ts: -------------------------------------------------------------------------------- 1 | import Skeleton from './skeleton'; 2 | export * from './skeleton'; 3 | export default Skeleton; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/text-input/index.js: -------------------------------------------------------------------------------- 1 | import TextInput from './text-input'; 2 | export * from './text-input'; 3 | export default TextInput; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/accordion/index.d.ts: -------------------------------------------------------------------------------- 1 | import Accordion from './accordion'; 2 | export * from './accordion'; 3 | export default Accordion; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/breadcrumb/index.js: -------------------------------------------------------------------------------- 1 | import Breadcrumb from './breadcrumb'; 2 | export * from './breadcrumb'; 3 | export default Breadcrumb; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/cardgroup/index.d.ts: -------------------------------------------------------------------------------- 1 | import CardGroup from './cardgroup'; 2 | export * from './cardgroup'; 3 | export default CardGroup; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/cardgroup/styled.d.ts: -------------------------------------------------------------------------------- 1 | export declare const StyledCards: import("styled-components").StyledComponent<"div", any, {}, never>; 2 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/pagination/index.js: -------------------------------------------------------------------------------- 1 | import Pagination from './pagination'; 2 | export * from './pagination'; 3 | export default Pagination; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/text-input/index.d.ts: -------------------------------------------------------------------------------- 1 | import TextInput from './text-input'; 2 | export * from './text-input'; 3 | export default TextInput; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/breadcrumb/index.d.ts: -------------------------------------------------------------------------------- 1 | import Breadcrumb from './breadcrumb'; 2 | export * from './breadcrumb'; 3 | export default Breadcrumb; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/pagination/index.d.ts: -------------------------------------------------------------------------------- 1 | import Pagination from './pagination'; 2 | export * from './pagination'; 3 | export default Pagination; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/progressBar/index.js: -------------------------------------------------------------------------------- 1 | import ProgressBar from './progressBar'; 2 | export * from './progressBar'; 3 | export default ProgressBar; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/progressBar/index.d.ts: -------------------------------------------------------------------------------- 1 | import ProgressBar from './progressBar'; 2 | export * from './progressBar'; 3 | export default ProgressBar; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/tag/__tests__/tag.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tag.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/tag/__tests__/tag.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/themeprovider/index.js: -------------------------------------------------------------------------------- 1 | import ThemeProvider from './themeprovider'; 2 | export * from './themeprovider'; 3 | export default ThemeProvider; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/card/__tests__/card.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"card.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/card/__tests__/card.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/form/__tests__/form.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"form.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/form/__tests__/form.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/link/__tests__/link.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"link.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/link/__tests__/link.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/themeprovider/index.d.ts: -------------------------------------------------------------------------------- 1 | import ThemeProvider from './themeprovider'; 2 | export * from './themeprovider'; 3 | export default ThemeProvider; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/themeprovider/themeprovider.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | declare const ThemeProvider: React.FC; 3 | export default ThemeProvider; 4 | //# sourceMappingURL=themeprovider.d.ts.map -------------------------------------------------------------------------------- /lib/tokens/global.styles.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"global.styles.d.ts","sourceRoot":"","sources":["../../src/tokens/global.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,gGAUxB,CAAC"} -------------------------------------------------------------------------------- /src/components/circularProgressBar/index.ts: -------------------------------------------------------------------------------- 1 | import CircularProgressBar from './circularProgressBar'; 2 | 3 | export * from './circularProgressBar'; 4 | 5 | export default CircularProgressBar; 6 | -------------------------------------------------------------------------------- /lib/components/alert/__tests__/alert.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"alert.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/__tests__/alert.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/badge/__tests__/badge.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"badge.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/badge/__tests__/badge.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/image/__tests__/image.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"image.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/image/__tests__/image.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/steps/__test__/steps.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"steps.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/steps/__test__/steps.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/icons/Cross.d.ts: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | declare function SvgCross(props: React.SVGProps): JSX.Element; 3 | export default SvgCross; 4 | //# sourceMappingURL=Cross.d.ts.map -------------------------------------------------------------------------------- /lib/components/avatar/__tests__/avatar.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"avatar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/__tests__/avatar.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/button/__tests__/button.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"button.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/button/__tests__/button.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/cardgroup/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/cardgroup/styled.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,oEASvB,CAAC"} -------------------------------------------------------------------------------- /lib/components/drawer/__tests__/drawer.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"drawer.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/drawer/__tests__/drawer.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/search/__tests__/search.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"search.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/search/__tests__/search.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/select/__tests__/select.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"select.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/select/__tests__/select.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/switch/__tests__/switch.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"switch.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/__tests__/switch.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/icons/Search.d.ts: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | declare function SvgSearch(props: React.SVGProps): JSX.Element; 3 | export default SvgSearch; 4 | //# sourceMappingURL=Search.d.ts.map -------------------------------------------------------------------------------- /lib/icons/index.js: -------------------------------------------------------------------------------- 1 | export { default as ArrowDown } from './ArrowDown'; 2 | export { default as Cross } from './Cross'; 3 | export { default as Search } from './Search'; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/tokens/global.styles.d.ts: -------------------------------------------------------------------------------- 1 | export declare const GlobalStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>; 2 | //# sourceMappingURL=global.styles.d.ts.map -------------------------------------------------------------------------------- /lib/components/divider/__tests__/divider.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"divider.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/divider/__tests__/divider.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/spinner/__tests__/spinner.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"spinner.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/spinner/__tests__/spinner.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/spinner/sizes.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/sizes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,SAAU,MAAM,KAAG,MAa3C,CAAC"} -------------------------------------------------------------------------------- /lib/components/tooltip/__tests__/tooltip.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tooltip.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/tooltip/__tests__/tooltip.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/icons/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default as ArrowDown } from './ArrowDown'; 2 | export { default as Cross } from './Cross'; 3 | export { default as Search } from './Search'; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/backdrop/__tests__/backdrop.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"backdrop.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/backdrop/__tests__/backdrop.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/image/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { ImageProps } from '.'; 2 | export declare const StyledImage: import("styled-components").StyledComponent<"img", any, ImageProps, never>; 3 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/skeleton/__tests__/skeleton.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"skeleton.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/skeleton/__tests__/skeleton.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/icons/ArrowDown.d.ts: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | declare function SvgArrowDown(props: React.SVGProps): JSX.Element; 3 | export default SvgArrowDown; 4 | //# sourceMappingURL=ArrowDown.d.ts.map -------------------------------------------------------------------------------- /lib/components/accordion/__tests__/accordion.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"accordion.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/accordion/__tests__/accordion.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/cardgroup/__tests__/cardgroup.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"cardgroup.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/cardgroup/__tests__/cardgroup.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/circularProgressBar/index.js: -------------------------------------------------------------------------------- 1 | import CircularProgressBar from './circularProgressBar'; 2 | export * from './circularProgressBar'; 3 | export default CircularProgressBar; 4 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/components/text-input/__tests__/textinput.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"textinput.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/text-input/__tests__/textinput.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/breadcrumb/__tests__/breadcrumb.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"breadcrumb.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/breadcrumb/__tests__/breadcrumb.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/card/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAEvB,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/circularProgressBar/index.d.ts: -------------------------------------------------------------------------------- 1 | import CircularProgressBar from './circularProgressBar'; 2 | export * from './circularProgressBar'; 3 | export default CircularProgressBar; 4 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAEvB,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/link/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/link/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAEvB,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/pagination/__tests__/pagination.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"pagination.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/pagination/__tests__/pagination.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/tag/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,cAAc,OAAO,CAAC;AAEtB,eAAe,GAAG,CAAC"} -------------------------------------------------------------------------------- /lib/components/alert/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/alert/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/avatar/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/badge/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/badge/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/button/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/card/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAEvB,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/divider/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /lib/components/divider/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { DividerProps } from './divider'; 2 | export declare const StyledDivider: import("styled-components").StyledComponent<"hr", any, DividerProps, never>; 3 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/drawer/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAEvB,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/image/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/image/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/image/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/image/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,cAAc,SAAS,CAAC;AAExB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/link/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/link/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,cAAc,QAAQ,CAAC;AAEvB,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/progressBar/__tests__/progressbar.spec.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"progressbar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/progressBar/__tests__/progressbar.spec.tsx"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /lib/components/search/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/search/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/select/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /lib/components/switch/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/tag/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tag/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,cAAc,OAAO,CAAC;AAEtB,eAAe,GAAG,CAAC"} -------------------------------------------------------------------------------- /lib/components/tooltip/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /lib/components/accordion/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,cAAc,aAAa,CAAC;AAE5B,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/avatar/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/button/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/cardgroup/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/cardgroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,cAAc,aAAa,CAAC;AAE5B,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/divider/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /lib/components/drawer/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/image/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/image/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;AAE/B,eAAO,MAAM,WAAW,4EAevB,CAAC"} -------------------------------------------------------------------------------- /lib/components/search/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/search/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/select/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/skeleton/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,cAAc,YAAY,CAAC;AAE3B,eAAe,QAAQ,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /lib/components/switch/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,cAAc,UAAU,CAAC;AAEzB,eAAe,MAAM,CAAC"} -------------------------------------------------------------------------------- /lib/components/tooltip/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAEhC,cAAc,WAAW,CAAC;AAE1B,eAAe,OAAO,CAAC"} -------------------------------------------------------------------------------- /lib/components/accordion/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,cAAc,aAAa,CAAC;AAE5B,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/backdrop/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { BackdropProps } from './backdrop'; 2 | export declare const StyledBackdrop: import("styled-components").StyledComponent<"div", any, BackdropProps, never>; 3 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/breadcrumb/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"} -------------------------------------------------------------------------------- /lib/components/breadcrumb/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"} -------------------------------------------------------------------------------- /lib/components/cardgroup/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/cardgroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,aAAa,CAAC;AAEpC,cAAc,aAAa,CAAC;AAE5B,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/divider/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/divider/styled.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,eAAO,MAAM,aAAa,6EAOzB,CAAC"} -------------------------------------------------------------------------------- /lib/components/pagination/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"} -------------------------------------------------------------------------------- /lib/components/pagination/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/pagination/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AAEtC,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"} -------------------------------------------------------------------------------- /lib/components/progressBar/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/progressBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,cAAc,eAAe,CAAC;AAE9B,eAAe,WAAW,CAAC"} -------------------------------------------------------------------------------- /lib/components/skeleton/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,cAAc,YAAY,CAAC;AAE3B,eAAe,QAAQ,CAAC"} -------------------------------------------------------------------------------- /lib/components/text-input/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/text-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,cAAc,cAAc,CAAC;AAE7B,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/text-input/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/text-input/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,cAAc,cAAc,CAAC;AAE7B,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/backdrop/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/backdrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,cAAc,YAAY,CAAA;AAE1B,eAAe,QAAQ,CAAA"} -------------------------------------------------------------------------------- /lib/components/backdrop/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/backdrop/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,eAAO,MAAM,cAAc,+EAkB1B,CAAC"} -------------------------------------------------------------------------------- /lib/components/progressBar/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/progressBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,cAAc,eAAe,CAAC;AAE9B,eAAe,WAAW,CAAC"} -------------------------------------------------------------------------------- /lib/components/search/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/search/styled.ts"],"names":[],"mappings":"AAEA,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,oFAGzB,CAAC"} -------------------------------------------------------------------------------- /lib/components/backdrop/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/backdrop/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAErC,cAAc,YAAY,CAAA;AAE1B,eAAe,QAAQ,CAAA"} -------------------------------------------------------------------------------- /lib/components/themeprovider/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/themeprovider/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,cAAc,iBAAiB,CAAC;AAEhC,eAAe,aAAa,CAAC"} -------------------------------------------------------------------------------- /lib/components/themeprovider/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/themeprovider/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAE5C,cAAc,iBAAiB,CAAC;AAEhC,eAAe,aAAa,CAAC"} -------------------------------------------------------------------------------- /lib/test/utils.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/test/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAK3C,eAAO,MAAM,MAAM,SAAU,SAAS,sEAC2B,CAAC"} -------------------------------------------------------------------------------- /lib/icons/Cross.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Cross.d.ts","sourceRoot":"","sources":["../../src/icons/Cross.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,iBAAS,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,eAMrD;AACD,eAAe,QAAQ,CAAC"} -------------------------------------------------------------------------------- /lib/icons/Search.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Search.d.ts","sourceRoot":"","sources":["../../src/icons/Search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,iBAAS,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,eAUtD;AACD,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/test/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { ReactNode } from 'react'; 2 | import renderer from 'react-test-renderer'; 3 | export declare const render: (node: ReactNode) => renderer.ReactTestRendererJSON | renderer.ReactTestRendererJSON[]; 4 | //# sourceMappingURL=utils.d.ts.map -------------------------------------------------------------------------------- /lib/components/circularProgressBar/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/circularProgressBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,cAAc,uBAAuB,CAAC;AAEtC,eAAe,mBAAmB,CAAC"} -------------------------------------------------------------------------------- /lib/tokens/global.styles.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"global.styles.js","sourceRoot":"","sources":["../../src/tokens/global.styles.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEtD,MAAM,CAAC,IAAM,YAAY,GAAG,iBAAiB,gPAAA,6KAU5C,IAAA,CAAC"} -------------------------------------------------------------------------------- /lib/components/badge/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/badge/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,eAAO,MAAM,OAAO,oEAGnB,CAAC;AAMF,eAAO,MAAM,WAAW,6HAgCvB,CAAC"} -------------------------------------------------------------------------------- /lib/components/cardgroup/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/cardgroup/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC,GAAG,4OAAA,yKASpC,IAAA,CAAC"} -------------------------------------------------------------------------------- /lib/components/circularProgressBar/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/circularProgressBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,uBAAuB,CAAC;AAExD,cAAc,uBAAuB,CAAC;AAEtC,eAAe,mBAAmB,CAAC"} -------------------------------------------------------------------------------- /lib/components/search/styled.d.ts: -------------------------------------------------------------------------------- 1 | interface SearchWrapperProps { 2 | width: string; 3 | } 4 | export declare const SearchWrapper: import("styled-components").StyledComponent<"div", any, SearchWrapperProps, never>; 5 | export {}; 6 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/steps/index.js: -------------------------------------------------------------------------------- 1 | import Step from './step'; 2 | import InternalSteps from './steps'; 3 | export * from './steps'; 4 | export * from './step'; 5 | var Steps = InternalSteps; 6 | Steps.Step = Step; 7 | export default Steps; 8 | //# sourceMappingURL=index.js.map -------------------------------------------------------------------------------- /lib/icons/ArrowDown.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ArrowDown.d.ts","sourceRoot":"","sources":["../../src/icons/ArrowDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,iBAAS,YAAY,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,eAMzD;AACD,eAAe,YAAY,CAAC"} -------------------------------------------------------------------------------- /src/setupTests.ts: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /lib/icons/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA"} -------------------------------------------------------------------------------- /lib/icons/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA"} -------------------------------------------------------------------------------- /src/components/search/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | 3 | interface SearchWrapperProps { 4 | width: string; 5 | } 6 | 7 | export const SearchWrapper = styled.div` 8 | display: flex; 9 | max-width: ${(pr) => pr.width}; 10 | `; 11 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.pnp 3 | .pnp.js 4 | 5 | /coverage 6 | 7 | /build 8 | 9 | .env 10 | 11 | .DS_Store 12 | .env.local 13 | .env.development.local 14 | .env.test.local 15 | .env.production.local 16 | .idea/ 17 | 18 | npm-debug.log* 19 | yarn-debug.log* 20 | yarn-error.log* -------------------------------------------------------------------------------- /lib/components/form/Radio/radio.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export interface RadioProps { 3 | label: string; 4 | value: string; 5 | } 6 | declare const Radio: ({ label, ...restProps }: RadioProps) => JSX.Element; 7 | export default Radio; 8 | //# sourceMappingURL=radio.d.ts.map -------------------------------------------------------------------------------- /lib/components/breadcrumb/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAwB,MAAM,qBAAqB,CAAC;AAEtE,UAAU,qBAAqB;IAC7B,UAAU,EAAE,SAAS,CAAA;CACtB;AAED,eAAO,MAAM,gBAAgB,sFA0B5B,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/submitButton.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | interface SubmitButtonProps { 3 | children?: React.ReactNode; 4 | } 5 | declare function SubmitButton({ children }: SubmitButtonProps): JSX.Element; 6 | export default SubmitButton; 7 | //# sourceMappingURL=submitButton.d.ts.map -------------------------------------------------------------------------------- /lib/components/skeleton/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/styled.ts"],"names":[],"mappings":"AAEA,UAAU,mBAAmB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,cAAc,qFA6B1B,CAAC"} -------------------------------------------------------------------------------- /lib/components/themeprovider/themeprovider.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"themeprovider.d.ts","sourceRoot":"","sources":["../../../src/components/themeprovider/themeprovider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAO1B,CAAC;AAEF,eAAe,aAAa,CAAC"} -------------------------------------------------------------------------------- /lib/components/accordion/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/styled.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,oEAAe,CAAC;AAE5C,eAAO,MAAM,YAAY,mEAmCxB,CAAC;AAEF,eAAO,MAAM,wBAAwB,oEAEpC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAe7B,CAAC"} -------------------------------------------------------------------------------- /lib/components/link/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/link/styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAGrE,UAAU,eAAe;IACvB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,+EA0BtB,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/Radio/radio.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Radio/radio.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,KAAK,4BAA6B,UAAU,gBAYjD,CAAC;AACF,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/styled.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAErE,UAAU,kBAAkB;IAC1B,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,eAAO,MAAM,aAAa,qFAyBzB,CAAC"} -------------------------------------------------------------------------------- /lib/icons/Cross.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Cross.js","sourceRoot":"","sources":["../../src/icons/Cross.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,SAAS,QAAQ,CAAC,KAAoC;IACpD,OAAO,CACL,uBAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,aAAa,IAAK,KAAK,cACrE,eAAM,CAAC,EAAC,2JAA2J,GAAG,IAClK,CACP,CAAC;AACJ,CAAC;AACD,eAAe,QAAQ,CAAC"} -------------------------------------------------------------------------------- /.babelrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "sourceType": "unambiguous", 3 | "presets": [ 4 | [ 5 | "@babel/preset-env", 6 | { 7 | "targets": { 8 | "chrome": 100 9 | } 10 | } 11 | ], 12 | "@babel/preset-typescript", 13 | "@babel/preset-react" 14 | ], 15 | "plugins": [] 16 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.pnp 3 | .pnp.js 4 | 5 | /coverage 6 | 7 | /build 8 | 9 | .env 10 | 11 | .DS_Store 12 | .env.local 13 | .env.development.local 14 | .env.test.local 15 | .env.production.local 16 | .idea/ 17 | migration-storybook.log 18 | 19 | npm-debug.log* 20 | yarn-debug.log* 21 | yarn-error.log* -------------------------------------------------------------------------------- /lib/icons/Search.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"Search.js","sourceRoot":"","sources":["../../src/icons/Search.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,SAAS,SAAS,CAAC,KAAoC;IACrD,OAAO,CACL,uBACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,mBAAmB,IACvB,KAAK,cAET,eAAM,CAAC,EAAC,oTAAoT,GAAG,IAC3T,CACP,CAAC;AACJ,CAAC;AACD,eAAe,SAAS,CAAC"} -------------------------------------------------------------------------------- /lib/components/search/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/search/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAMvC,MAAM,CAAC,IAAM,aAAa,GAAG,MAAM,CAAC,GAAG,6GAAoB,mCAE5C,EAAgB,KAC9B,KADc,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,CAC9B,CAAC"} -------------------------------------------------------------------------------- /lib/components/skeleton/styled.d.ts: -------------------------------------------------------------------------------- 1 | interface StyledSkeletonProps { 2 | width: number; 3 | height: number; 4 | borderRadius: string; 5 | } 6 | export declare const StyledSkeleton: import("styled-components").StyledComponent<"div", any, StyledSkeletonProps, never>; 7 | export {}; 8 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/icons/ArrowDown.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"ArrowDown.js","sourceRoot":"","sources":["../../src/icons/ArrowDown.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,SAAS,YAAY,CAAC,KAAoC;IACxD,OAAO,CACL,uBAAK,KAAK,EAAC,4BAA4B,EAAC,OAAO,EAAC,aAAa,IAAK,KAAK,cACrE,eAAM,CAAC,EAAC,sPAAsP,GAAG,IAC7P,CACP,CAAC;AACJ,CAAC;AACD,eAAe,YAAY,CAAC"} -------------------------------------------------------------------------------- /lib/components/accordion/accordion.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/components/accordion/accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAQlD,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AAiED,wBAAqE"} -------------------------------------------------------------------------------- /lib/components/tag/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/tag/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAErE,UAAU,cAAc;IACtB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,eAAO,MAAM,SAAS,iFAcrB,CAAC"} -------------------------------------------------------------------------------- /src/components/cardgroup/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | 3 | export const StyledCards = styled.div` 4 | display: flex; 5 | -webkit-display: box; 6 | -moz-display: box; 7 | -ms-display: flexbox; 8 | -webkit-display: flex; 9 | flex-wrap: wrap; 10 | padding: 0; 11 | margin: 0; 12 | `; 13 | -------------------------------------------------------------------------------- /lib/components/link/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from '../../tokens/themes'; 2 | interface StyledLinkProps { 3 | disabled: boolean; 4 | type: themeType; 5 | } 6 | export declare const StyledLink: import("styled-components").StyledComponent<"a", any, StyledLinkProps, never>; 7 | export {}; 8 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /src/test/utils.tsx: -------------------------------------------------------------------------------- 1 | import { ReactNode } from 'react'; 2 | import renderer from 'react-test-renderer'; 3 | 4 | import ThemeProvider from '../components/themeprovider'; 5 | 6 | // Provides UI Context to tested components 7 | export const render = (node: ReactNode) => 8 | renderer.create({node}).toJSON(); 9 | -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"], 3 | addons: ["@storybook/addon-docs", "@storybook/addon-essentials"], 4 | docs: { 5 | autodocs: true 6 | }, 7 | framework: { 8 | name: "@storybook/react-webpack5", 9 | options: {} 10 | } 11 | }; -------------------------------------------------------------------------------- /lib/components/breadcrumb/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from '../../tokens/themes'; 2 | interface StyledBreadcrumbProps { 3 | themeColor: themeType; 4 | } 5 | export declare const StyledBreadcrumb: import("styled-components").StyledComponent<"ol", any, StyledBreadcrumbProps, never>; 6 | export {}; 7 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/test/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/test/utils.tsx"],"names":[],"mappings":";AACA,OAAO,QAAQ,MAAM,qBAAqB,CAAC;AAE3C,OAAO,aAAa,MAAM,6BAA6B,CAAC;AAExD,2CAA2C;AAC3C,MAAM,CAAC,IAAM,MAAM,GAAG,UAAC,IAAe;IACpC,OAAA,QAAQ,CAAC,MAAM,CAAC,KAAC,aAAa,cAAE,IAAI,GAAiB,CAAC,CAAC,MAAM,EAAE;AAA/D,CAA+D,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/submitButton.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"submitButton.d.ts","sourceRoot":"","sources":["../../../src/components/form/submitButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,iBAAS,YAAY,CAAC,EAAE,QAAQ,EAAE,EAAE,iBAAiB,eAYpD;AAED,eAAe,YAAY,CAAC"} -------------------------------------------------------------------------------- /lib/components/steps/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/steps/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,aAA6B,MAAM,SAAS,CAAC;AAEpD,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AASvB,IAAM,KAAK,GAAG,aAA+B,CAAC;AAE9C,KAAK,CAAC,IAAI,GAAG,IAAI,CAAC;AAElB,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from '../../tokens/themes'; 2 | interface StyledSpinnerProps { 3 | innerType: themeType; 4 | size: number; 5 | } 6 | export declare const StyledSpinner: import("styled-components").StyledComponent<"span", any, StyledSpinnerProps, never>; 7 | export {}; 8 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/tokens/sizes.js: -------------------------------------------------------------------------------- 1 | export var sidePaddings = { 2 | default: 22, 3 | small: 19, 4 | large: 25 5 | }; 6 | export var heights = { 7 | default: 40, 8 | small: 33, 9 | large: 47 10 | }; 11 | export var switchPaddingNumbers = { 12 | small: 1, 13 | default: 2, 14 | large: 4 15 | }; 16 | //# sourceMappingURL=sizes.js.map -------------------------------------------------------------------------------- /src/tokens/global.styles.ts: -------------------------------------------------------------------------------- 1 | import { createGlobalStyle } from 'styled-components'; 2 | 3 | export const GlobalStyles = createGlobalStyle` 4 | * { 5 | box-sizing: border-box; 6 | margin: 0; 7 | padding: 0; 8 | font-family: 'Arial'; 9 | } 10 | a { 11 | text-decoration: none; 12 | } 13 | `; 14 | -------------------------------------------------------------------------------- /lib/components/tooltip/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErE,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,UAAU,sBAAsB;IAC5B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,SAAS,EAAE,SAAS,CAAA;CACvB;AAED,eAAO,MAAM,aAAa,2FA0DzB,CAAA"} -------------------------------------------------------------------------------- /lib/components/tag/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from '../../tokens/themes'; 2 | interface StyledTagProps { 3 | innerType: themeType; 4 | withText: boolean; 5 | rounded: boolean; 6 | } 7 | export declare const StyledTag: import("styled-components").StyledComponent<"span", any, StyledTagProps, never>; 8 | export {}; 9 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/tokens/themes.d.ts: -------------------------------------------------------------------------------- 1 | export type themeType = 'primary' | 'secondary' | 'danger' | 'warning' | 'success' | 'info' | 'light'; 2 | export interface ThemeValues { 3 | bgColor: string; 4 | hover: string; 5 | color: string; 6 | } 7 | export type Theme = Record; 8 | export declare const theme: Theme; 9 | //# sourceMappingURL=themes.d.ts.map -------------------------------------------------------------------------------- /lib/components/accordion/accordion.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | export interface AccordionProps { 3 | header: string; 4 | description: string; 5 | className?: string; 6 | } 7 | declare const _default: React.ForwardRefExoticComponent>; 8 | export default _default; 9 | //# sourceMappingURL=accordion.d.ts.map -------------------------------------------------------------------------------- /lib/components/badge/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { BadgeProps } from './badge'; 2 | export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>; 3 | export declare const StyledBadge: import("styled-components").StyledComponent<"div", any, Required>, never>; 4 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/Checkbox/checkbox.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | export interface CheckboxProps { 3 | label: string; 4 | value: string | number; 5 | name: string; 6 | id: string; 7 | } 8 | declare const Checkbox: ({ label, id, ...restProps }: CheckboxProps) => JSX.Element; 9 | export default Checkbox; 10 | //# sourceMappingURL=checkbox.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/validators.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../src/components/form/validators.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,kBACZ,GAAG,EAAE,aACb,GAAG,aAAa,GAAG,QAIxB,CAAC;AAEN,eAAO,MAAM,UAAU,UAAW,GAAG,WAQpC,CAAC;AAEF,eAAO,MAAM,OAAO,YAAa,MAAM,aAAa,MAAM,WAMzD,CAAC;AAEF,eAAO,MAAM,gBAAgB,YAAa,MAAM,aAAa,MAAM,WAelE,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/Checkbox/checkbox.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Checkbox/checkbox.tsx"],"names":[],"mappings":";AAGA,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,QAAA,MAAM,QAAQ,gCAAiC,aAAa,gBAa3D,CAAC;AAEF,eAAe,QAAQ,CAAC"} -------------------------------------------------------------------------------- /lib/test/utils.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx } from "react/jsx-runtime"; 2 | import renderer from 'react-test-renderer'; 3 | import ThemeProvider from '../components/themeprovider'; 4 | // Provides UI Context to tested components 5 | export var render = function (node) { 6 | return renderer.create(_jsx(ThemeProvider, { children: node })).toJSON(); 7 | }; 8 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /lib/tokens/sizes.d.ts: -------------------------------------------------------------------------------- 1 | export type ComponentSize = 'default' | 'small' | 'large'; 2 | export declare const sidePaddings: { 3 | [key in ComponentSize]: number; 4 | }; 5 | export declare const heights: { 6 | [key in ComponentSize]: number; 7 | }; 8 | export declare const switchPaddingNumbers: { 9 | [key in ComponentSize]: number; 10 | }; 11 | //# sourceMappingURL=sizes.d.ts.map -------------------------------------------------------------------------------- /lib/tokens/sizes.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"sizes.d.ts","sourceRoot":"","sources":["../../src/tokens/sizes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAE1D,eAAO,MAAM,YAAY,EAAE;KACxB,GAAG,IAAI,aAAa,GAAG,MAAM;CAK/B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE;KACnB,GAAG,IAAI,aAAa,GAAG,MAAM;CAK/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE;KAChC,GAAG,IAAI,aAAa,GAAG,MAAM;CAK/B,CAAC"} -------------------------------------------------------------------------------- /src/components/spinner/sizes.ts: -------------------------------------------------------------------------------- 1 | export const spinnerWidth = (size: number): number => { 2 | switch (true) { 3 | case size < 15: 4 | return size / 3.5; 5 | case size < 50: 6 | return size / 5; 7 | case size < 100: 8 | return size / 7.5; 9 | case size >= 100: 10 | return size / 10; 11 | default: 12 | return size / 10; 13 | } 14 | }; 15 | -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { GlobalStyles } from '../src/tokens/global.styles'; 3 | 4 | // Global decorator to apply the styles to all stories 5 | export const decorators = [ 6 | Story => ( 7 | <> 8 | 9 | 10 | 11 | ), 12 | ]; 13 | 14 | export const parameters = { 15 | actions: { argTypesRegex: "^on[A-Z].*" }, 16 | } -------------------------------------------------------------------------------- /lib/components/form/Radio/radioGroup.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | type RadioGroupProps = { 3 | name?: string; 4 | label?: string; 5 | required?: boolean; 6 | children: React.ReactNode; 7 | }; 8 | declare const RadioGroup: ({ name, label, children, required, ...restProps }: RadioGroupProps) => JSX.Element; 9 | export default RadioGroup; 10 | //# sourceMappingURL=radioGroup.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/validators.d.ts: -------------------------------------------------------------------------------- 1 | export declare const composeValidators: (...validators: any[]) => (value: any, allValues: any) => any; 2 | export declare const isRequired: (value: any) => string; 3 | export declare const isEmail: (message: string) => (value: string) => string; 4 | export declare const isStrongPassword: (message: string) => (value: string) => string; 5 | //# sourceMappingURL=validators.d.ts.map -------------------------------------------------------------------------------- /lib/components/circularProgressBar/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/circularProgressBar/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAErE,UAAU,8BAA8B;IACtC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,6BAA6B,gGAYzC,CAAC;AAEF,eAAO,MAAM,iCAAiC,oEAQ7C,CAAC;AAEF,eAAO,MAAM,iBAAiB,qEAG7B,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/spinner.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../../src/components/spinner/spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;;AAgBD,wBAAuE"} -------------------------------------------------------------------------------- /src/components/backdrop/__tests__/__snapshots__/backdrop.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Backdrop Component Renders Correctly 1`] = ` 4 | Array [ 5 |
, 8 |
, 12 |
, 15 | ] 16 | `; 17 | -------------------------------------------------------------------------------- /lib/components/tooltip/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from "../../tokens/themes"; 2 | import { placementType } from "./tooltip"; 3 | interface StyledTooltipTextProps { 4 | placement?: placementType; 5 | colorType: themeType; 6 | } 7 | export declare const StyledTooltip: import("styled-components").StyledComponent<"button", any, StyledTooltipTextProps, never>; 8 | export {}; 9 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/Checkbox/checkboxGroup.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | type CheckboxGroupProps = { 3 | name?: string; 4 | label?: string; 5 | required?: boolean; 6 | children: React.ReactNode; 7 | }; 8 | declare const CheckboxGroup: ({ name, label, children, required, ...restProps }: CheckboxGroupProps) => JSX.Element; 9 | export default CheckboxGroup; 10 | //# sourceMappingURL=checkboxGroup.d.ts.map -------------------------------------------------------------------------------- /lib/components/pagination/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/pagination/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,eAAO,MAAM,SAAS,oEAAe,CAAC;AAEtC,UAAU,eAAgB,SAAQ,eAAe;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,UAAU,oFA2CtB,CAAC;AAEF,eAAO,MAAM,cAAc,oFAI1B,CAAC;AAEF,eAAO,MAAM,UAAU,oFAItB,CAAC"} -------------------------------------------------------------------------------- /lib/tokens/themes.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/tokens/themes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,SAAS,GACT,WAAW,GACX,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,GACN,OAAO,CAAC;AAEZ,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,KAAK,GAAG,MAAM,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;AAEnD,eAAO,MAAM,KAAK,EAAE,KAoCnB,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/Radio/radioGroup.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"radioGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Radio/radioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,UAAU,sDAMb,eAAe,gBAqBjB,CAAC;AAEF,eAAe,UAAU,CAAC"} -------------------------------------------------------------------------------- /lib/tokens/sizes.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"sizes.js","sourceRoot":"","sources":["../../src/tokens/sizes.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,IAAM,YAAY,GAErB;IACF,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACV,CAAC;AAEF,MAAM,CAAC,IAAM,OAAO,GAEhB;IACF,OAAO,EAAE,EAAE;IACX,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACV,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAE7B;IACF,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,CAAC;IACV,KAAK,EAAE,CAAC;CACT,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/field.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | type FieldProps = { 3 | name?: string | undefined; 4 | label?: string; 5 | required?: boolean; 6 | children?: any; 7 | type?: string; 8 | validate?: any; 9 | }; 10 | declare function Field({ name, type, label, required, validate, children, ...restProps }: FieldProps): JSX.Element; 11 | export default Field; 12 | //# sourceMappingURL=field.d.ts.map -------------------------------------------------------------------------------- /lib/components/cardgroup/cardgroup.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"cardgroup.d.ts","sourceRoot":"","sources":["../../../src/components/cardgroup/cardgroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,wBAAwB,CACpD,cAAc,EACd,oBAAoB,CAarB,CAAC;;AAEF,wBAEE"} -------------------------------------------------------------------------------- /lib/components/divider/divider.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;;AA0BD,wBAAsE"} -------------------------------------------------------------------------------- /lib/components/form/input.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | type InputProps = { 3 | placeholder?: string; 4 | rows?: string | number; 5 | label: string; 6 | required?: boolean; 7 | name?: string; 8 | type?: string; 9 | validate?: any[]; 10 | }; 11 | declare function Input({ placeholder, rows, type, ...restProps }: InputProps): JSX.Element; 12 | export default Input; 13 | //# sourceMappingURL=input.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/Checkbox/checkboxGroup.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"checkboxGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/form/Checkbox/checkboxGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,kBAAkB,GAAG;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,aAAa,sDAMhB,kBAAkB,gBAmBpB,CAAC;AAEF,eAAe,aAAa,CAAC"} -------------------------------------------------------------------------------- /lib/components/steps/index.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Step from './step'; 3 | import { StepsProps } from './steps'; 4 | export * from './steps'; 5 | export * from './step'; 6 | interface CompoundedStep extends React.ForwardRefExoticComponent> { 7 | Step: typeof Step; 8 | } 9 | declare const Steps: CompoundedStep; 10 | export default Steps; 11 | //# sourceMappingURL=index.d.ts.map -------------------------------------------------------------------------------- /src/icons/Cross.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | function SvgCross(props: React.SVGProps) { 3 | return ( 4 | 5 | 6 | 7 | ); 8 | } 9 | export default SvgCross; 10 | -------------------------------------------------------------------------------- /lib/components/spinner/spinner.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export interface SpinnerProps { 4 | type?: themeType; 5 | size?: number; 6 | className?: string; 7 | style?: React.CSSProperties; 8 | } 9 | declare const _default: React.ForwardRefExoticComponent>; 10 | export default _default; 11 | //# sourceMappingURL=spinner.d.ts.map -------------------------------------------------------------------------------- /lib/components/button/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/button/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAyB,MAAM,oBAAoB,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAErE,UAAU,iBAAiB;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,eAAO,MAAM,YAAY,sFAyCxB,CAAC;AAEF,eAAO,MAAM,UAAU,oEAEtB,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/sizes.js: -------------------------------------------------------------------------------- 1 | export var spinnerWidth = function (size) { 2 | switch (true) { 3 | case size < 15: 4 | return size / 3.5; 5 | case size < 50: 6 | return size / 5; 7 | case size < 100: 8 | return size / 7.5; 9 | case size >= 100: 10 | return size / 10; 11 | default: 12 | return size / 10; 13 | } 14 | }; 15 | //# sourceMappingURL=sizes.js.map -------------------------------------------------------------------------------- /lib/components/accordion/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/accordion/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,IAAM,eAAe,GAAG,MAAM,CAAC,GAAG,qEAAA,EAAE,IAAA,CAAC;AAE5C,MAAM,CAAC,IAAM,YAAY,GAAG,MAAM,CAAC,EAAE,u0BAAA,owBAmCpC,IAAA,CAAC;AAEF,MAAM,CAAC,IAAM,wBAAwB,GAAG,MAAM,CAAC,GAAG,4FAAA,yBAEjD,IAAA,CAAC;AAEF,MAAM,CAAC,IAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,+XAAA,4TAe1C,IAAA,CAAC"} -------------------------------------------------------------------------------- /lib/components/skeleton/skeleton.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,aAAa;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,wBAAwB,CACnD,cAAc,EACd,aAAa,CAcd,CAAC;;AAEF,wBAAyE"} -------------------------------------------------------------------------------- /lib/components/steps/index.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAsB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAEpD,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AAEvB,UAAU,cACR,SAAQ,KAAK,CAAC,yBAAyB,CACrC,UAAU,GAAG,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,CACjD;IACD,IAAI,EAAE,OAAO,IAAI,CAAC;CACnB;AAED,QAAA,MAAM,KAAK,gBAAkC,CAAC;AAI9C,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/backdrop/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/backdrop/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAC,GAAG,0MAAe,MACnD,EAQoB,wHAOF,EAC0B,KAC/C,KAjBG,UAAC,KAAK;IACN,OAAA,KAAK,CAAC,OAAO;QACX,CAAC,CAAC,iHAKH;QACC,CAAC,CAAC,gBAAgB;AAPpB,CAOoB,EAOF,UAAC,KAAK;IACxB,OAAA,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,gBAAgB;AAA5C,CAA4C,CAC/C,CAAC"} -------------------------------------------------------------------------------- /lib/components/card/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/card/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,GAAG,CAAC;AAGpC,eAAO,MAAM,UAAU,oEAWtB,CAAC;AAEF,eAAO,MAAM,cAAc,iFAU1B,CAAC;AAEF,eAAO,MAAM,WAAW,oEAKvB,CAAC;AAEF,eAAO,MAAM,WAAW,mEAIvB,CAAC;AAEF,eAAO,MAAM,cAAc,mEAG1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,kEAM7B,CAAC;AAEF,eAAO,MAAM,YAAY,iFAMxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,kEAI5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,+EAI5B,CAAC"} -------------------------------------------------------------------------------- /lib/components/divider/divider.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export interface DividerProps { 4 | type?: themeType; 5 | className?: string; 6 | dashed?: boolean; 7 | thickness?: number; 8 | style?: React.CSSProperties; 9 | } 10 | declare const _default: React.ForwardRefExoticComponent>; 11 | export default _default; 12 | //# sourceMappingURL=divider.d.ts.map -------------------------------------------------------------------------------- /lib/components/avatar/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/styled.ts"],"names":[],"mappings":"AAGA,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,YAAY,oFASxB,CAAC;AA0BF,eAAO,MAAM,WAAW,oEAGvB,CAAC;AAEF,eAAO,MAAM,UAAU,qEAQtB,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/sizes.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"sizes.js","sourceRoot":"","sources":["../../../src/components/spinner/sizes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,YAAY,GAAG,UAAC,IAAY;IACvC,QAAQ,IAAI,EAAE;QACZ,KAAK,IAAI,GAAG,EAAE;YACZ,OAAO,IAAI,GAAG,GAAG,CAAC;QACpB,KAAK,IAAI,GAAG,EAAE;YACZ,OAAO,IAAI,GAAG,CAAC,CAAC;QAClB,KAAK,IAAI,GAAG,GAAG;YACb,OAAO,IAAI,GAAG,GAAG,CAAC;QACpB,KAAK,IAAI,IAAI,GAAG;YACd,OAAO,IAAI,GAAG,EAAE,CAAC;QACnB;YACE,OAAO,IAAI,GAAG,EAAE,CAAC;KACpB;AACH,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/alert/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/alert/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AACrE,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,UAAU,gBAAgB;IACxB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAGD,eAAO,MAAM,WAAW,kFAmBvB,CAAC;AAEF,eAAO,MAAM,UAAU,oEAEtB,CAAC;AACF,eAAO,MAAM,WAAW,oEAIvB,CAAC;AACF,eAAO,MAAM,aAAa,oEAGzB,CAAC;AACF,eAAO,MAAM,SAAS,oEAGrB,CAAC;AACF,eAAO,MAAM,iBAAiB,2EAO7B,CAAC"} -------------------------------------------------------------------------------- /lib/components/breadcrumb/breadcrumb.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ReactNode } from 'react'; 2 | import type { themeType } from 'src/tokens/themes'; 3 | interface BaseBreadcrumbProps { 4 | className?: string; 5 | separator?: ReactNode | string; 6 | style?: React.CSSProperties; 7 | type?: themeType; 8 | } 9 | declare const Breadcrumb: React.FC; 10 | export default Breadcrumb; 11 | export type BreadcrumbProps = BaseBreadcrumbProps; 12 | //# sourceMappingURL=breadcrumb.d.ts.map -------------------------------------------------------------------------------- /lib/components/circularProgressBar/circularProgressBar.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"circularProgressBar.d.ts","sourceRoot":"","sources":["../../../src/components/circularProgressBar/circularProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOhD,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AAsCD,wBAEE"} -------------------------------------------------------------------------------- /src/components/backdrop/__tests__/backdrop.spec.tsx: -------------------------------------------------------------------------------- 1 | import Backdrop from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Backdrop Component', () => { 6 | it('Renders Correctly', () => { 7 | const BackdropGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | ); 14 | expect(BackdropGroup).toMatchSnapshot(); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /src/components/divider/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | import { theme as typeColors } from '../../tokens/themes'; 3 | import { DividerProps } from './divider'; 4 | 5 | export const StyledDivider = styled.hr` 6 | border-width: ${(pr) => pr.thickness}px; 7 | border-style: ${(pr) => (pr.dashed ? `dashed` : `solid`)}; 8 | border-color: ${(pr) => typeColors[pr.type!].bgColor}; 9 | width: 100%; 10 | margin-left: auto; 11 | margin-right: auto; 12 | `; 13 | -------------------------------------------------------------------------------- /lib/components/accordion/styled.d.ts: -------------------------------------------------------------------------------- 1 | export declare const StyledAccordion: import("styled-components").StyledComponent<"div", any, {}, never>; 2 | export declare const StyledHeader: import("styled-components").StyledComponent<"h4", any, {}, never>; 3 | export declare const StyledDescriptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>; 4 | export declare const StyledDescription: import("styled-components").StyledComponent<"div", any, {}, never>; 5 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/field.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/components/form/field.tsx"],"names":[],"mappings":";AAIA,KAAK,UAAU,GAAG;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,IAAS,EACT,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,QAAa,EACb,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,UAAU,eA8BZ;AAED,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /src/components/accordion/__tests__/accordion.spec.tsx: -------------------------------------------------------------------------------- 1 | import Accordion from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Accordian Component', () => { 6 | it('Renders Correctly', () => { 7 | const AccordionGroup = render( 8 | <> 9 | 10 | 11 | ); 12 | expect(AccordionGroup).toMatchSnapshot(); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /src/components/skeleton/__tests__/__snapshots__/skeleton.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Skeleton Component Renders Correctly 1`] = ` 4 | Array [ 5 |
, 10 |
, 15 |
, 20 | ] 21 | `; 22 | -------------------------------------------------------------------------------- /src/components/skeleton/__tests__/skeleton.spec.tsx: -------------------------------------------------------------------------------- 1 | import Skeleton from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Skeleton Component', () => { 6 | it('Renders Correctly', () => { 7 | const SkeletonGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | ); 14 | expect(SkeletonGroup).toMatchSnapshot(); 15 | }); 16 | }); 17 | -------------------------------------------------------------------------------- /lib/components/themeprovider/themeprovider.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"themeprovider.js","sourceRoot":"","sources":["../../../src/components/themeprovider/themeprovider.tsx"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,aAAa,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,IAAM,aAAa,GAAa,UAAC,EAAY;QAAV,QAAQ,cAAA;IACzC,OAAO,CACL,MAAC,mBAAmB,aAAC,KAAK,EAAE,KAAK,iBAC/B,KAAC,YAAY,KAAG,EACf,QAAQ,KACW,CACvB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"} -------------------------------------------------------------------------------- /src/components/steps/index.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Step from './step'; 3 | import InternalSteps, { StepsProps } from './steps'; 4 | 5 | export * from './steps'; 6 | export * from './step'; 7 | 8 | interface CompoundedStep 9 | extends React.ForwardRefExoticComponent< 10 | StepsProps & React.RefAttributes 11 | > { 12 | Step: typeof Step; 13 | } 14 | 15 | const Steps = InternalSteps as CompoundedStep; 16 | 17 | Steps.Step = Step; 18 | 19 | export default Steps; 20 | -------------------------------------------------------------------------------- /lib/components/avatar/avatar.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,WAAW;IAC1B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,wBAAwB,CACjD,eAAe,EACf,WAAW,CA8BZ,CAAC;;AAEF,wBAAsE"} -------------------------------------------------------------------------------- /lib/components/cardgroup/cardgroup.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ReactNode } from 'react'; 2 | export interface StyledCardGroupProps { 3 | children?: ReactNode; 4 | style?: React.CSSProperties; 5 | className?: string; 6 | } 7 | export declare const CardGroup: React.ForwardRefRenderFunction; 8 | declare const _default: React.ForwardRefExoticComponent>; 9 | export default _default; 10 | //# sourceMappingURL=cardgroup.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/form.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,OAAO,KAAK,MAAM,SAAS,CAAC;AAG5B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAI1C,UAAU,SAAS,CAAC,UAAU,GAAG,OAAO;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;CAC/D;AAED,QAAA,MAAM,IAAI;YAAW,SAAS,GAAG,WAAW;;;;;;;;;;;;;;;;;CAY3C,CAAA;AASD,eAAe,IAAI,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/submitButton.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"submitButton.js","sourceRoot":"","sources":["../../../src/components/form/submitButton.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,WAAW,CAAC;AAK9B,CAAC;AAEF,SAAS,YAAY,CAAC,EAA+B;QAA7B,QAAQ,cAAA;IACxB,IAAA,KAA0B,YAAY,EAAE,EAAtC,OAAO,aAAA,EAAE,UAAU,gBAAmB,CAAC;IAE/C,OAAO,CACL,KAAC,MAAM,aACL,OAAO,EAAE,UAAU,EACnB,QAAQ,EAAE,UAAU,IAAI,OAAO,EAC/B,OAAO,EAAC,QAAQ,gBAEf,QAAQ,IACF,CACV,CAAC;AACJ,CAAC;AAED,eAAe,YAAY,CAAC"} -------------------------------------------------------------------------------- /src/components/themeprovider/themeprovider.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { ThemeProvider as StyledThemeProvider } from 'styled-components'; 3 | import { GlobalStyles } from '../../tokens/global.styles'; 4 | import { theme } from '../../tokens/themes'; 5 | 6 | const ThemeProvider: React.FC = ({ children }) => { 7 | return ( 8 | 9 | 10 | {children} 11 | 12 | ); 13 | }; 14 | 15 | export default ThemeProvider; 16 | -------------------------------------------------------------------------------- /src/tokens/sizes.ts: -------------------------------------------------------------------------------- 1 | export type ComponentSize = 'default' | 'small' | 'large'; 2 | 3 | export const sidePaddings: { 4 | [key in ComponentSize]: number; 5 | } = { 6 | default: 22, 7 | small: 19, 8 | large: 25 9 | }; 10 | 11 | export const heights: { 12 | [key in ComponentSize]: number; 13 | } = { 14 | default: 40, 15 | small: 33, 16 | large: 47 17 | }; 18 | 19 | export const switchPaddingNumbers: { 20 | [key in ComponentSize]: number; 21 | } = { 22 | small: 1, 23 | default: 2, 24 | large: 4 25 | }; 26 | -------------------------------------------------------------------------------- /lib/components/form/input.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/form/input.tsx"],"names":[],"mappings":";AAGA,KAAK,UAAU,GAAG;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;CAClB,CAAC;AAEF,iBAAS,KAAK,CAAC,EACb,WAAW,EACX,IAAI,EACJ,IAAa,EACb,GAAG,SAAS,EACb,EAAE,UAAU,GAAG,GAAG,CAAC,OAAO,CAgB1B;AAED,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/search/search.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../../src/components/search/search.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;;AA+BD,wBAAqE"} -------------------------------------------------------------------------------- /lib/components/skeleton/skeleton.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | export interface SkeletonProps { 3 | width?: number; 4 | height?: number; 5 | borderRadius?: string; 6 | className?: string; 7 | style?: React.CSSProperties; 8 | } 9 | export declare const Skeleton: React.ForwardRefRenderFunction; 10 | declare const _default: React.ForwardRefExoticComponent>; 11 | export default _default; 12 | //# sourceMappingURL=skeleton.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/form/styled.ts"],"names":[],"mappings":"AAEA,KAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,KAAK,oEAIjB,CAAC;AAEF,eAAO,MAAM,WAAW,oEAEvB,CAAC;AAEF,eAAO,MAAM,WAAW,sEAKvB,CAAC;AAEF,eAAO,MAAM,WAAW,oFA6BvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,sEAQ5B,CAAC;AAEF,eAAO,MAAM,WAAW,oFAuBvB,CAAC;AAEF,eAAO,MAAM,mBAAmB,sEA+B/B,CAAC;AAEF,eAAO,MAAM,cAAc,sEAM1B,CAAC"} -------------------------------------------------------------------------------- /lib/components/accordion/__tests__/accordion.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"accordion.spec.js","sourceRoot":"","sources":["../../../../src/components/accordion/__tests__/accordion.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,IAAI,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,qBAAqB,EAAE;IAC5B,EAAE,CAAC,mBAAmB,EAAE;QACpB,IAAM,cAAc,GAAG,MAAM,CACzB,4BACI,KAAC,SAAS,IAAC,MAAM,EAAC,aAAa,EAAC,WAAW,EAAC,mBAAmB,GAAG,GACnE,CACN,CAAC;QACF,MAAM,CAAC,cAAc,CAAC,CAAC,eAAe,EAAE,CAAC;IAC7C,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/progressBar/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/progressBar/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAErE,UAAU,sBAAsB;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,UAAU,sBAAsB;IAC9B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAaD,eAAO,MAAM,iBAAiB,wFA6B7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,oEAMjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,yFAO7B,CAAC"} -------------------------------------------------------------------------------- /src/components/search/search.stories.tsx: -------------------------------------------------------------------------------- 1 | import React, { useState } from 'react'; 2 | import { Meta } from '@storybook/react'; 3 | import Search from '.'; 4 | 5 | export default { 6 | title: 'Components/Search', 7 | component: Search 8 | } as Meta; 9 | 10 | export const Default = () => { 11 | const [value, setValue] = useState(''); 12 | 13 | return ( 14 | setValue(e.currentTarget.value)} 18 | /> 19 | ); 20 | }; 21 | -------------------------------------------------------------------------------- /lib/components/image/image.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image/image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAChD,gBAAgB,EAChB,UAAU,CA0BX,CAAC;;AAEF,wBAAqE"} -------------------------------------------------------------------------------- /src/icons/ArrowDown.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | function SvgArrowDown(props: React.SVGProps) { 3 | return ( 4 | 5 | 6 | 7 | ); 8 | } 9 | export default SvgArrowDown; 10 | -------------------------------------------------------------------------------- /lib/components/backdrop/backdrop.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"backdrop.d.ts","sourceRoot":"","sources":["../../../src/components/backdrop/backdrop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,wBAAwB,CACnD,cAAc,EACd,aAAa,CAmBd,CAAC;;AAEF,wBAAyE"} -------------------------------------------------------------------------------- /lib/components/badge/badge.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"badge.d.ts","sourceRoot":"","sources":["../../../src/components/badge/badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;;;;AAyCF,wBAAuC"} -------------------------------------------------------------------------------- /lib/components/circularProgressBar/circularProgressBar.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export interface CircularProgressBarProps { 4 | progress?: number; 5 | type?: themeType; 6 | showProgress?: boolean; 7 | style?: React.CSSProperties; 8 | className?: string; 9 | } 10 | declare const _default: React.ForwardRefExoticComponent>; 11 | export default _default; 12 | //# sourceMappingURL=circularProgressBar.d.ts.map -------------------------------------------------------------------------------- /lib/components/progressBar/progressBar.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"progressBar.d.ts","sourceRoot":"","sources":["../../../src/components/progressBar/progressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAOhD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AAyCD,wBAEE"} -------------------------------------------------------------------------------- /lib/components/breadcrumb/breadcrumb.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAUD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAYzC,CAAC;AAyCF,eAAe,UAAU,CAAC;AAC1B,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC"} -------------------------------------------------------------------------------- /lib/components/tag/tag.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/components/tag/tag.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,WAAW,YAAY;IAC3B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAGD,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,GAAG,YAAY,CAAC;;;;;AAyCjB,wBAAwD"} -------------------------------------------------------------------------------- /lib/components/tooltip/tooltip.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEhE,UAAU,gBAAgB;IACxB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,MAAM,YAAY,GAAG,gBAAgB,CAAC;;AAyB5C,wBAAuE"} -------------------------------------------------------------------------------- /lib/components/link/__tests__/link.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"link.spec.js","sourceRoot":"","sources":["../../../../src/components/link/__tests__/link.spec.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,IAAI,MAAM,IAAI,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,gBAAgB,EAAE;IACzB,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,SAAS,GAAG,MAAM,CACtB,8BACE,KAAC,IAAI,aAAC,IAAI,EAAC,4CAA4C,gDAEhD,EACP,KAAC,IAAI,aAAC,IAAI,EAAC,4CAA4C,EAAC,QAAQ,+DAEzD,IACN,CACJ,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,CAAC,eAAe,EAAE,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/alert/alert.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../../src/components/alert/alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAQ3C,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,UAAU,cAAc;IACtB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC;;AAyCxC,wBAA4D"} -------------------------------------------------------------------------------- /lib/components/avatar/avatar.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | export interface AvatarProps { 3 | src?: string; 4 | className?: string; 5 | name?: string; 6 | isActive?: boolean; 7 | width?: number; 8 | height?: number; 9 | style?: React.CSSProperties; 10 | } 11 | export declare const Avatar: React.ForwardRefRenderFunction; 12 | declare const _default: React.ForwardRefExoticComponent>; 13 | export default _default; 14 | //# sourceMappingURL=avatar.d.ts.map -------------------------------------------------------------------------------- /lib/components/cardgroup/cardgroup.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"cardgroup.js","sourceRoot":"","sources":["../../../src/components/cardgroup/cardgroup.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAQvC,MAAM,CAAC,IAAM,SAAS,GAGlB,UAAC,KAAK,EAAE,GAAG;IACL,IAAA,QAAQ,GAAuB,KAAK,SAA5B,EAAE,KAAK,GAAgB,KAAK,MAArB,EAAE,SAAS,GAAK,KAAK,UAAV,CAAW;IAE7C,OAAO,CACL,KAAC,WAAW,aACV,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,GAA6C,gBAEjD,QAAQ,IACG,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAC7B,SAAS,CACV,CAAC"} -------------------------------------------------------------------------------- /lib/components/drawer/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/drawer/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAErC,UAAU,wBAAwB;IAChC,IAAI,EAAE,OAAO,CAAC;CACf;AAED,UAAU,0BAA0B;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,OAAO,CAAC;CACf;AAED,eAAO,MAAM,mBAAmB,0FAO/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,4FAiBjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAO9B,CAAC;AAEF,eAAO,MAAM,iBAAiB,uEAc7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAG5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAG9B,CAAC"} -------------------------------------------------------------------------------- /src/components/spinner/spinner.stories.tsx: -------------------------------------------------------------------------------- 1 | import { Meta } from '@storybook/react'; 2 | import Spinner from '.'; 3 | 4 | export default { 5 | title: 'Components/Spinner', 6 | component: Spinner 7 | } as Meta; 8 | 9 | export const All = () => { 10 | return ( 11 | <> 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ); 21 | }; 22 | -------------------------------------------------------------------------------- /lib/components/backdrop/__tests__/backdrop.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"backdrop.spec.js","sourceRoot":"","sources":["../../../../src/components/backdrop/__tests__/backdrop.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,IAAI,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,oBAAoB,EAAE;IAC7B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,aAAa,GAAG,MAAM,CAC1B,8BACE,KAAC,QAAQ,KAAG,EACZ,KAAC,QAAQ,IAAC,KAAK,EAAC,SAAS,GAAG,EAC5B,KAAC,QAAQ,IAAC,OAAO,EAAE,KAAK,GAAI,IAC3B,CACJ,CAAC;QACF,MAAM,CAAC,aAAa,CAAC,CAAC,eAAe,EAAE,CAAC;IAC1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/link/link.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,IAAI,GAAG,UAAU,CAAC;IAClE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;;AA+BD,wBAAoE"} -------------------------------------------------------------------------------- /src/components/link/__tests__/__snapshots__/link.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Link Component Renders Correctly 1`] = ` 4 | Array [ 5 | 10 | Link to Chic-UI Repository 11 | , 12 |

17 | Disabled Link to Chic-UI Repository 18 |

, 19 | ] 20 | `; 21 | -------------------------------------------------------------------------------- /lib/components/divider/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/divider/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG1D,MAAM,CAAC,IAAM,aAAa,GAAG,MAAM,CAAC,EAAE,2MAAc,oBAClC,EAAoB,uBACpB,EAAwC,qBACxC,EAAoC,kEAIrD,KANiB,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,SAAS,EAAZ,CAAY,EACpB,UAAC,EAAE,IAAK,OAAA,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,EAAhC,CAAgC,EACxC,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,IAAK,CAAC,CAAC,OAAO,EAA5B,CAA4B,CAIrD,CAAC"} -------------------------------------------------------------------------------- /lib/components/image/image.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | export interface ImageProps { 3 | width?: string; 4 | height?: string; 5 | className?: string; 6 | rounded?: boolean; 7 | circle?: boolean; 8 | outline?: boolean; 9 | src: string; 10 | style?: React.CSSProperties; 11 | } 12 | export declare const Image: React.ForwardRefRenderFunction; 13 | declare const _default: React.ForwardRefExoticComponent>; 14 | export default _default; 15 | //# sourceMappingURL=image.d.ts.map -------------------------------------------------------------------------------- /src/components/search/__tests__/search.spec.tsx: -------------------------------------------------------------------------------- 1 | import Search from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Search Component', () => { 6 | it('Renders Correctly', () => { 7 | const SearchGroup = render( 8 | <> 9 | alert(`Value Changed`)} 14 | /> 15 | ; 16 | 17 | ); 18 | expect(SearchGroup).toMatchSnapshot(); 19 | }); 20 | }); 21 | -------------------------------------------------------------------------------- /lib/components/accordion/__tests__/accordion.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; 2 | import Accordion from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Accordian Component', function () { 6 | it('Renders Correctly', function () { 7 | var AccordionGroup = render(_jsx(_Fragment, { children: _jsx(Accordion, { header: 'Hello World', description: 'Short Description' }) })); 8 | expect(AccordionGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=accordion.spec.js.map -------------------------------------------------------------------------------- /lib/components/search/search.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ChangeEventHandler } from 'react'; 2 | import { ComponentSize } from '../../tokens/sizes'; 3 | export interface SearchProps { 4 | className?: string; 5 | size?: ComponentSize; 6 | width?: string; 7 | value?: string; 8 | onChange?: ChangeEventHandler; 9 | style?: React.CSSProperties; 10 | placeholder?: string; 11 | } 12 | declare const _default: React.ForwardRefExoticComponent>; 13 | export default _default; 14 | //# sourceMappingURL=search.d.ts.map -------------------------------------------------------------------------------- /lib/components/skeleton/__tests__/skeleton.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"skeleton.spec.js","sourceRoot":"","sources":["../../../../src/components/skeleton/__tests__/skeleton.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,QAAQ,MAAM,IAAI,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,oBAAoB,EAAE;IAC7B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,aAAa,GAAG,MAAM,CAC1B,8BACE,KAAC,QAAQ,KAAG,EACZ,KAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,GAAI,EACnC,KAAC,QAAQ,IAAC,YAAY,EAAC,KAAK,GAAG,IAC9B,CACJ,CAAC;QACF,MAAM,CAAC,aAAa,CAAC,CAAC,eAAe,EAAE,CAAC;IAC1C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/components/tag/__tests__/tag.spec.tsx: -------------------------------------------------------------------------------- 1 | import Tag from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Tag Component', () => { 6 | it('Renders Correctly', () => { 7 | const TagGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | expect(TagGroup).toMatchSnapshot(); 19 | }); 20 | }); 21 | -------------------------------------------------------------------------------- /lib/components/button/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { ComponentSize } from '../../tokens/sizes'; 2 | import { themeType } from '../../tokens/themes'; 3 | interface StyledButtonProps { 4 | innerType: themeType; 5 | size: ComponentSize; 6 | withText: boolean; 7 | isSearch: boolean; 8 | outline: boolean; 9 | } 10 | export declare const StyledButton: import("styled-components").StyledComponent<"button", any, StyledButtonProps, never>; 11 | export declare const StyledIcon: import("styled-components").StyledComponent<"div", any, {}, never>; 12 | export {}; 13 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/progressBar/progressBar.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export interface ProgressBarProps { 4 | progress?: number; 5 | type?: themeType; 6 | showProgress?: boolean; 7 | animated?: boolean; 8 | striped?: boolean; 9 | stripedAnimated?: boolean; 10 | style?: React.CSSProperties; 11 | className?: string; 12 | } 13 | declare const _default: React.ForwardRefExoticComponent>; 14 | export default _default; 15 | //# sourceMappingURL=progressBar.d.ts.map -------------------------------------------------------------------------------- /lib/components/search/styled.js: -------------------------------------------------------------------------------- 1 | var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { 2 | if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } 3 | return cooked; 4 | }; 5 | import styled from 'styled-components'; 6 | export var SearchWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n max-width: ", ";\n"], ["\n display: flex;\n max-width: ", ";\n"])), function (pr) { return pr.width; }); 7 | var templateObject_1; 8 | //# sourceMappingURL=styled.js.map -------------------------------------------------------------------------------- /lib/components/badge/badge.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export type BadgeProps = { 4 | count?: number; 5 | limit?: number; 6 | type?: themeType; 7 | showZero?: boolean; 8 | showCount?: boolean; 9 | offset?: [number, number]; 10 | style?: React.CSSProperties; 11 | className?: string; 12 | }; 13 | declare const _default: React.ForwardRefExoticComponent>; 16 | export default _default; 17 | //# sourceMappingURL=badge.d.ts.map -------------------------------------------------------------------------------- /lib/components/breadcrumb/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/breadcrumb/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAa,KAAK,IAAI,UAAU,EAAG,MAAM,qBAAqB,CAAC;AAMtE,MAAM,CAAC,IAAM,gBAAgB,GAAG,MAAM,CAAC,EAAE,ycAAuB,+KASnD,EAAkD,gHAOlD,EAAkD,mDAIlD,EAAgD,8CAM5D,KAjBY,UAAC,EAAc;QAAZ,UAAU,gBAAA;IAAO,OAAA,UAAU,CAAC,UAAU,CAAC,CAAC,OAAO;AAA9B,CAA8B,EAOlD,UAAC,EAAc;QAAZ,UAAU,gBAAA;IAAO,OAAA,UAAU,CAAC,UAAU,CAAC,CAAC,OAAO;AAA9B,CAA8B,EAIlD,UAAC,EAAc;QAAZ,UAAU,gBAAA;IAAO,OAAA,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK;AAA5B,CAA4B,CAM5D,CAAC"} -------------------------------------------------------------------------------- /lib/components/switch/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/switch/styled.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EAGd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAErE,UAAU,kBAAkB;IAC1B,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,aAAa,CAAC;CACxB;AAcD,eAAO,MAAM,aAAa,oFAQzB,CAAC;AAIF,UAAU,iBAAiB;IACzB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,mFAQxB,CAAC"} -------------------------------------------------------------------------------- /src/components/form/submitButton.tsx: -------------------------------------------------------------------------------- 1 | import { useFormState } from 'react-final-form'; 2 | import Button from '../button'; 3 | import React from 'react'; 4 | 5 | interface SubmitButtonProps { 6 | children?: React.ReactNode; 7 | }; 8 | 9 | function SubmitButton({ children }: SubmitButtonProps) { 10 | const { invalid, submitting } = useFormState(); 11 | 12 | return ( 13 | 20 | ); 21 | } 22 | 23 | export default SubmitButton; 24 | -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- 1 | name: '🚀 npm publish' 2 | 3 | on: 4 | push: 5 | branches: 6 | - master 7 | 8 | jobs: 9 | release: 10 | name: publish 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: checkout 14 | uses: actions/checkout@v2.1.1 15 | - name: node 16 | uses: actions/setup-node@v2 17 | with: 18 | node-version: 16.15.0 19 | registry-url: https://registry.npmjs.org 20 | - name: publish 21 | run: npm publish --access public 22 | env: 23 | NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} 24 | -------------------------------------------------------------------------------- /lib/components/alert/alert.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | interface BaseAlertProps { 4 | type?: themeType; 5 | className?: string; 6 | title: React.ReactNode; 7 | message: React.ReactNode; 8 | dismissible?: boolean; 9 | onClose?: () => void; 10 | show?: boolean; 11 | style?: React.CSSProperties; 12 | } 13 | export type AlertProps = BaseAlertProps; 14 | declare const _default: React.ForwardRefExoticComponent>; 15 | export default _default; 16 | //# sourceMappingURL=alert.d.ts.map -------------------------------------------------------------------------------- /src/components/skeleton/skeleton.stories.tsx: -------------------------------------------------------------------------------- 1 | import { StoryFn, Meta } from '@storybook/react'; 2 | import Skeleton, { SkeletonProps } from '.'; 3 | 4 | export default { 5 | title: 'Components/Skeleton', 6 | component: Skeleton 7 | } as Meta; 8 | 9 | const Template: StoryFn = (args) => ; 10 | 11 | export const Default = Template.bind({}); 12 | Default.args = { 13 | width: 150, 14 | height: 150 15 | }; 16 | 17 | export const BorderRadius = Template.bind({}); 18 | BorderRadius.args = { 19 | width: 150, 20 | height: 150, 21 | borderRadius: '50%' 22 | }; 23 | -------------------------------------------------------------------------------- /lib/components/backdrop/backdrop.d.ts: -------------------------------------------------------------------------------- 1 | import React, { MouseEventHandler } from 'react'; 2 | export interface BackdropProps { 3 | visible?: boolean; 4 | color?: string; 5 | onClick?: MouseEventHandler; 6 | style?: React.CSSProperties; 7 | className?: string; 8 | children?: React.ReactNode; 9 | } 10 | export declare const Backdrop: React.ForwardRefRenderFunction; 11 | declare const _default: React.ForwardRefExoticComponent>; 12 | export default _default; 13 | //# sourceMappingURL=backdrop.d.ts.map -------------------------------------------------------------------------------- /lib/components/search/__tests__/search.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"search.spec.js","sourceRoot":"","sources":["../../../../src/components/search/__tests__/search.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,kBAAkB,EAAE;IAC3B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,WAAW,GAAG,MAAM,CACxB,8BACE,KAAC,MAAM,IACL,WAAW,EAAC,qBAAqB,EACjC,KAAK,EAAC,OAAO,EACb,KAAK,EAAC,OAAO,EACb,QAAQ,EAAE,UAAC,CAAC,IAAK,OAAA,KAAK,CAAC,eAAe,CAAC,EAAtB,CAAsB,GACvC,SAED,CACJ,CAAC;QACF,MAAM,CAAC,WAAW,CAAC,CAAC,eAAe,EAAE,CAAC;IACxC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/backdrop/__tests__/backdrop.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; 2 | import Backdrop from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Backdrop Component', function () { 6 | it('Renders Correctly', function () { 7 | var BackdropGroup = render(_jsxs(_Fragment, { children: [_jsx(Backdrop, {}), _jsx(Backdrop, { color: "#e4f0f4" }), _jsx(Backdrop, { visible: false })] })); 8 | expect(BackdropGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=backdrop.spec.js.map -------------------------------------------------------------------------------- /lib/components/card/__tests__/card.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"card.spec.js","sourceRoot":"","sources":["../../../../src/components/card/__tests__/card.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,IAAI,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,gBAAgB,EAAE;IACzB,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,SAAS,GAAG,MAAM,CACtB,4BACE,KAAC,IAAI,IACH,IAAI,EAAC,WAAW,EAChB,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,UAAU,EACnB,WAAW,EAAC,yCAAyC,EACrD,MAAM,EAAC,QAAQ,EACf,IAAI,EAAC,4CAA4C,EACjD,QAAQ,EAAC,YAAY,GACrB,GACD,CACJ,CAAC;QACF,MAAM,CAAC,SAAS,CAAC,CAAC,eAAe,EAAE,CAAC;IACtC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/divider/divider.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx } from "react/jsx-runtime"; 2 | import React from 'react'; 3 | import { StyledDivider } from './styled'; 4 | var Divider = function (props, ref) { 5 | var _a = props.type, type = _a === void 0 ? 'secondary' : _a, className = props.className, dashed = props.dashed, _b = props.thickness, thickness = _b === void 0 ? 0.5 : _b, style = props.style; 6 | return (_jsx(StyledDivider, { ref: ref, className: className, type: type, dashed: dashed, thickness: thickness, style: style })); 7 | }; 8 | export default React.forwardRef(Divider); 9 | //# sourceMappingURL=divider.js.map -------------------------------------------------------------------------------- /lib/components/tooltip/tooltip.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType } from 'src/tokens/themes'; 3 | export type placementType = 'top' | 'right' | 'bottom' | 'left'; 4 | interface BaseTooltipProps { 5 | type?: themeType; 6 | placement?: placementType; 7 | className?: string; 8 | content?: JSX.Element | string; 9 | style?: React.CSSProperties; 10 | } 11 | export type TooltipProps = BaseTooltipProps; 12 | declare const _default: React.ForwardRefExoticComponent>; 13 | export default _default; 14 | //# sourceMappingURL=tooltip.d.ts.map -------------------------------------------------------------------------------- /src/components/backdrop/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | import { BackdropProps } from './backdrop'; 3 | 4 | export const StyledBackdrop = styled.div` 5 | ${(props) => 6 | props.visible 7 | ? ` 8 | display: flex; 9 | flex-direction: column; 10 | align-items: center; 11 | justify-content: center; 12 | ` 13 | : 'display: none;'} 14 | position: fixed; 15 | left: 0; 16 | top: 0; 17 | width: 100vw; 18 | height: 100vh; 19 | z-index: 9999; 20 | background-color: ${(props) => 21 | props.color ? props.color : 'rgba(0,0,0,.5)'}; 22 | `; 23 | -------------------------------------------------------------------------------- /lib/components/link/link.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ReactNode, ElementType, HTMLAttributes } from 'react'; 2 | import { themeType } from 'src/tokens/themes'; 3 | export interface LinkProps extends Omit, 'as' | 'disabled'> { 4 | disabled?: boolean; 5 | className?: string; 6 | children: ReactNode; 7 | as?: ElementType; 8 | href: string; 9 | type?: themeType; 10 | style?: React.CSSProperties; 11 | } 12 | declare const _default: React.ForwardRefExoticComponent>; 13 | export default _default; 14 | //# sourceMappingURL=link.d.ts.map -------------------------------------------------------------------------------- /lib/components/skeleton/__tests__/skeleton.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; 2 | import Skeleton from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Skeleton Component', function () { 6 | it('Renders Correctly', function () { 7 | var SkeletonGroup = render(_jsxs(_Fragment, { children: [_jsx(Skeleton, {}), _jsx(Skeleton, { width: 80, height: 60 }), _jsx(Skeleton, { borderRadius: "50%" })] })); 8 | expect(SkeletonGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=skeleton.spec.js.map -------------------------------------------------------------------------------- /src/components/form/Radio/radio.tsx: -------------------------------------------------------------------------------- 1 | import Field from '../field'; 2 | import { StyledRadio, StyledLabelRadio } from '../styled'; 3 | 4 | export interface RadioProps { 5 | label: string; 6 | value: string; 7 | }; 8 | 9 | const Radio = ({ label, ...restProps }: RadioProps) => ( 10 | 11 | {({ input, meta }: any) => { 12 | return ( 13 | 14 | 15 | 16 | {label} 17 | 18 | ); 19 | }} 20 | 21 | ); 22 | export default Radio; -------------------------------------------------------------------------------- /lib/components/avatar/styled.d.ts: -------------------------------------------------------------------------------- 1 | interface StyledAvatarProps { 2 | src?: string; 3 | className?: string; 4 | name?: string; 5 | hasBadge?: boolean; 6 | isActive?: boolean; 7 | width?: number; 8 | height?: number; 9 | } 10 | export declare const StyledAvatar: import("styled-components").StyledComponent<"span", any, StyledAvatarProps, never>; 11 | export declare const StyledImage: import("styled-components").StyledComponent<"img", any, {}, never>; 12 | export declare const StyledSpan: import("styled-components").StyledComponent<"span", any, {}, never>; 13 | export {}; 14 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/form/Radio/radio.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"radio.js","sourceRoot":"","sources":["../../../../src/components/form/Radio/radio.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAKzD,CAAC;AAEF,IAAM,KAAK,GAAG,UAAC,EAAmC;IAAjC,IAAA,KAAK,WAAA,EAAK,SAAS,cAArB,SAAuB,CAAF;IAAmB,OAAA,CACrD,KAAC,KAAK,eAAK,SAAS,cACjB,UAAC,EAAoB;gBAAlB,KAAK,WAAA,EAAE,IAAI,UAAA;YACb,OAAO,CACL,MAAC,gBAAgB,eACf,KAAC,WAAW,aAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,IAAM,KAAK,EAAI,EAChE,gBAAQ,EACP,KAAK,IACW,CACpB,CAAC;QACJ,CAAC,IACK,CACT,CAAA;CAAA,CAAC;AACF,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/circularProgressBar/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from '../../tokens/themes'; 2 | interface StyledCircularProgressBarProps { 3 | type?: themeType; 4 | degree?: number; 5 | } 6 | export declare const StyledCircularProgressWrapper: import("styled-components").StyledComponent<"div", any, StyledCircularProgressBarProps, never>; 7 | export declare const StyledCircularProgressInnerCircle: import("styled-components").StyledComponent<"div", any, {}, never>; 8 | export declare const StyledLoadingText: import("styled-components").StyledComponent<"span", any, {}, never>; 9 | export {}; 10 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/link/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/link/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,EAAa,KAAK,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAOvC,MAAM,CAAC,IAAM,UAAU,GAAG,MAAM,CAAC,CAAC,iXAAiB,iEAGzC,EAAmC,2IAQhC,EAAmC,0EAKnC,EAAiC,YAE1C,EAOC,IACJ,KAvBS,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,EAA3B,CAA2B,EAQhC,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,EAA3B,CAA2B,EAKnC,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,KAAK,EAAzB,CAAyB,EAE1C,UAAC,EAAE;IACH,OAAA,EAAE,CAAC,QAAQ;QACX,wHAKC;AAND,CAMC,CACJ,CAAC"} -------------------------------------------------------------------------------- /lib/components/tag/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/tag/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAa,KAAK,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAQrE,wCAAwC;AACxC,MAAM,CAAC,IAAM,SAAS,GAAG,MAAM,CAAC,IAAI,oVAAgB,oOAU9B,EAAwC,cACnD,EAAoD,qBAE3D,EAAkD,IACrD,KAJqB,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,OAAO,EAAhC,CAAgC,EACnD,UAAC,EAAE,IAAK,OAAA,CAAC,EAAE,CAAC,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,EAA5C,CAA4C,EAE3D,UAAC,EAAE,IAAK,OAAA,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,CAAC,EAA1C,CAA0C,CACrD,CAAC"} -------------------------------------------------------------------------------- /src/components/image/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | import { ImageProps } from '.'; 3 | 4 | export const StyledImage = styled.img` 5 | box-sizing: border-box; 6 | position: relative; 7 | width: 100%; 8 | display: block; 9 | height: auto; 10 | background-image: ${(pr) => pr.src}; 11 | border: none; 12 | outline: none; 13 | padding: 0; 14 | height: ${(pr) => pr.height}; 15 | max-width: ${(pr) => pr.width}; 16 | ${(pr) => pr.rounded && `border-radius: 8px;`} 17 | ${(pr) => pr.circle && `border-radius: 50%;`} 18 | ${(pr) => pr.outline && `background: #fff; padding: 1rem;`} 19 | `; 20 | -------------------------------------------------------------------------------- /src/components/link/__tests__/link.spec.tsx: -------------------------------------------------------------------------------- 1 | import Link from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Link Component', () => { 6 | it('Renders Correctly', () => { 7 | const LinkGroup = render( 8 | <> 9 | 10 | Link to Chic-UI Repository 11 | 12 | 13 | Disabled Link to Chic-UI Repository 14 | 15 | 16 | ); 17 | expect(LinkGroup).toMatchSnapshot(); 18 | }); 19 | }); 20 | -------------------------------------------------------------------------------- /lib/components/switch/switch.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/switch/switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,MAAM,WAAW,WAAW;IAC1B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,wBAAwB,CACjD,gBAAgB,EAChB,WAAW,CAwCZ,CAAC;;AAEF,wBAAuE"} -------------------------------------------------------------------------------- /src/components/spinner/__tests__/spinner.spec.tsx: -------------------------------------------------------------------------------- 1 | import Spinner from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Spinner Component', () => { 6 | it('Renders Correctly', () => { 7 | const SpinnerGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | expect(SpinnerGroup).toMatchSnapshot(); 19 | }); 20 | }); 21 | -------------------------------------------------------------------------------- /src/icons/Search.tsx: -------------------------------------------------------------------------------- 1 | import * as React from 'react'; 2 | function SvgSearch(props: React.SVGProps) { 3 | return ( 4 | 9 | 10 | 11 | ); 12 | } 13 | export default SvgSearch; 14 | -------------------------------------------------------------------------------- /src/components/avatar/__tests__/avatar.spec.tsx: -------------------------------------------------------------------------------- 1 | import Avatar from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Avatar Component', () => { 6 | it('Renders Correctly', () => { 7 | const AvatarGroup = render( 8 | <> 9 |
10 | 11 | 12 |
13 |
14 | 15 | 16 |
17 | 18 | ); 19 | expect(AvatarGroup).toMatchSnapshot(); 20 | }); 21 | }); 22 | -------------------------------------------------------------------------------- /lib/components/search/__tests__/search.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; 2 | import Search from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Search Component', function () { 6 | it('Renders Correctly', function () { 7 | var SearchGroup = render(_jsxs(_Fragment, { children: [_jsx(Search, { placeholder: "Search something...", width: "400px", value: "Value", onChange: function (e) { return alert("Value Changed"); } }), ";"] })); 8 | expect(SearchGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=search.spec.js.map -------------------------------------------------------------------------------- /lib/components/spinner/spinner.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../../src/components/spinner/spinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAUzC,IAAM,OAAO,GAAiE,UAC5E,KAAK,EACL,GAAG;IAEK,IAAA,KAAgD,KAAK,KAAvC,EAAd,IAAI,mBAAG,OAAO,KAAA,EAAE,KAAgC,KAAK,KAA5B,EAAT,IAAI,mBAAG,EAAE,KAAA,EAAE,SAAS,GAAY,KAAK,UAAjB,EAAE,KAAK,GAAK,KAAK,MAAV,CAAW;IAE9D,IAAM,MAAM,GAAG;QACb,SAAS,EAAE,IAAI;QACf,IAAI,MAAA;KACL,CAAC;IAEF,OAAO,KAAC,aAAa,aAAC,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,IAAM,MAAM,EAAI,CAAC;AACrF,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAA+B,OAAO,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/tag/tag.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ElementType, ReactNode } from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export interface BaseTagProps { 4 | type?: themeType; 5 | rounded?: boolean; 6 | className?: string; 7 | children?: ReactNode; 8 | style?: React.CSSProperties; 9 | } 10 | export type TagProps = { 11 | as?: ElementType; 12 | to?: string; 13 | } & BaseTagProps; 14 | declare const _default: React.ForwardRefExoticComponent<{ 15 | as?: React.ElementType; 16 | to?: string; 17 | } & BaseTagProps & React.RefAttributes>; 18 | export default _default; 19 | //# sourceMappingURL=tag.d.ts.map -------------------------------------------------------------------------------- /lib/components/divider/divider.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"divider.js","sourceRoot":"","sources":["../../../src/components/divider/divider.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAUzC,IAAM,OAAO,GAAgE,UAC3E,KAAK,EACL,GAAG;IAGD,IAAA,KAKE,KAAK,KALW,EAAlB,IAAI,mBAAG,WAAW,KAAA,EAClB,SAAS,GAIP,KAAK,UAJE,EACT,MAAM,GAGJ,KAAK,OAHD,EACN,KAEE,KAAK,UAFQ,EAAf,SAAS,mBAAG,GAAG,KAAA,EACf,KAAK,GACH,KAAK,MADF,CACG;IAEV,OAAO,CACL,KAAC,aAAa,IACZ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAA8B,OAAO,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/image/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/image/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAGvC,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC,GAAG,yTAAY,8HAM3B,EAAc,iEAIxB,EAAiB,kBACd,EAAgB,OAC3B,EAA2C,MAC3C,EAA0C,QACxC,EAAwD,IAC7D,KATqB,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,GAAG,EAAN,CAAM,EAIxB,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,MAAM,EAAT,CAAS,EACd,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,EAC3B,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,OAAO,IAAI,qBAAqB,EAAnC,CAAmC,EAC3C,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,MAAM,IAAI,qBAAqB,EAAlC,CAAkC,EACxC,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,OAAO,IAAI,kCAAkC,EAAhD,CAAgD,CAC7D,CAAC"} -------------------------------------------------------------------------------- /lib/components/breadcrumb/__tests__/breadcrumb.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"breadcrumb.spec.js","sourceRoot":"","sources":["../../../../src/components/breadcrumb/__tests__/breadcrumb.spec.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,UAAU,MAAM,IAAI,CAAC;AAC5B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,sBAAsB,EAAE;IAC/B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,eAAe,GAAG,MAAM,CAC5B,4BACE,MAAC,UAAU,aAAC,SAAS,EAAC,GAAG,iBACvB,wBACE,qBAAG,IAAI,EAAC,wBAAwB,4BAAW,GACvC,EACN,wBACE,qBAAG,IAAI,EAAC,sBAAsB,8BAAa,GACvC,EACN,wBACE,qBAAG,IAAI,EAAC,qBAAqB,6BAAY,GACrC,KACK,GACZ,CACJ,CAAC;QACF,MAAM,CAAC,eAAe,CAAC,CAAC,eAAe,EAAE,CAAC;IAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/skeleton/skeleton.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx } from "react/jsx-runtime"; 2 | import React from 'react'; 3 | import { StyledSkeleton } from './styled'; 4 | export var Skeleton = function (props, ref) { 5 | var _a = props.width, width = _a === void 0 ? 100 : _a, _b = props.height, height = _b === void 0 ? 100 : _b, _c = props.borderRadius, borderRadius = _c === void 0 ? 'none' : _c, className = props.className, style = props.style; 6 | return (_jsx(StyledSkeleton, { ref: ref, height: height, width: width, borderRadius: borderRadius, className: className, style: style })); 7 | }; 8 | export default React.forwardRef(Skeleton); 9 | //# sourceMappingURL=skeleton.js.map -------------------------------------------------------------------------------- /lib/components/circularProgressBar/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/circularProgressBar/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAa,KAAK,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAOrE,MAAM,CAAC,IAAM,6BAA6B,GAAG,MAAM,CAAC,GAAG,+QAAgC,0EAIjF,EAA0C,UACxC,EAA+B,SACjC,EAAsB,yGAM3B,KARK,UAAC,KAAK,IAAK,OAAA,UAAU,CAAC,KAAK,CAAC,IAAK,CAAC,CAAC,OAAO,EAA/B,CAA+B,EACxC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,MAAM,GAAG,KAAK,EAApB,CAAoB,EACjC,UAAU,CAAC,KAAK,CAAC,KAAK,CAM3B,CAAC;AAEF,MAAM,CAAC,IAAM,iCAAiC,GAAG,MAAM,CAAC,GAAG,kOAAA,+JAQ1D,IAAA,CAAC;AAEF,MAAM,CAAC,IAAM,iBAAiB,GAAG,MAAM,CAAC,IAAI,gHAAA,6CAG3C,IAAA,CAAC"} -------------------------------------------------------------------------------- /lib/components/steps/step.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../src/components/steps/step.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,SAAS,EAAuB,MAAM,qBAAqB,CAAC;AAarE,KAAK,cAAc,GAAG,YAAY,GAAG,UAAU,CAAC;AAEhD,UAAU,SAAS;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;AAoED,wBAAgE"} -------------------------------------------------------------------------------- /lib/components/form/Checkbox/checkbox.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"checkbox.js","sourceRoot":"","sources":["../../../../src/components/form/Checkbox/checkbox.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,UAAU,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAO/D,CAAC;AAEF,IAAM,QAAQ,GAAG,UAAC,EAA0C;IAAxC,IAAA,KAAK,WAAA,EAAE,EAAE,QAAA,EAAK,SAAS,cAAzB,eAA2B,CAAF;IACzC,OAAO,CACL,KAAC,KAAK,eAAK,SAAS,cACjB,UAAC,EAAc;gBAAZ,KAAK,WAAA;YACP,OAAO,CACL,wBAAK,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,EAAE,iBAClC,KAAC,cAAc,aAAC,EAAE,EAAE,EAAE,IAAM,KAAK,EAAI,EACrC,KAAC,mBAAmB,aAAC,OAAO,EAAE,EAAE,gBAAG,KAAK,IAAuB,KAC3D,CACP,CAAC;QACJ,CAAC,IACK,CACT,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"} -------------------------------------------------------------------------------- /lib/components/select/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/select/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAW,MAAM,oBAAoB,CAAC;AAC5D,OAAO,YAAY,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,aAAa,oFAKzB,CAAC;AAEF,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,kFASxB,CAAC;AAEF,UAAU,oBAAoB;IAC5B,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,sFA2B3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,mEAS/B,CAAC;AAEF,eAAO,MAAM,SAAS,kFAGrB,CAAC;AAEF,eAAO,MAAM,WAAW,2EAIvB,CAAC;AAEF,eAAO,MAAM,wBAAwB,qEAEpC,CAAC"} -------------------------------------------------------------------------------- /lib/components/card/card.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAahD,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,wBAAwB,CAC/C,cAAc,EACd,eAAe,CAwChB,CAAC;;AAEF,wBAAuE"} -------------------------------------------------------------------------------- /src/components/card/__tests__/card.spec.tsx: -------------------------------------------------------------------------------- 1 | import Card from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Card Component', () => { 6 | it('Renders Correctly', () => { 7 | const CardGroup = render( 8 | <> 9 | 18 | 19 | ); 20 | expect(CardGroup).toMatchSnapshot(); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /lib/components/card/__tests__/card.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; 2 | import Card from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Card Component', function () { 6 | it('Renders Correctly', function () { 7 | var CardGroup = render(_jsx(_Fragment, { children: _jsx(Card, { type: "secondary", title: "Title", subTitle: "Subtitle", description: "Lorem ipsum dolor sit amet, consectetur", footer: "Footer", href: "https://github.com/karishmashuklaa/chic-ui", hrefText: "Visit site" }) })); 8 | expect(CardGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=card.spec.js.map -------------------------------------------------------------------------------- /lib/components/select/select.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { ComponentSize } from '../../tokens/sizes'; 3 | export interface SelectProps { 4 | className?: string; 5 | size?: ComponentSize; 6 | width?: string; 7 | data?: T[]; 8 | disabled?: boolean; 9 | dataKey?: string; 10 | multiSelect?: boolean; 11 | dataName?: string; 12 | error?: boolean; 13 | placeholder?: string; 14 | style?: React.CSSProperties; 15 | onChange?: (value: T | T[]) => void; 16 | } 17 | declare const _default: React.ForwardRefExoticComponent & React.RefAttributes>; 18 | export default _default; 19 | //# sourceMappingURL=select.d.ts.map -------------------------------------------------------------------------------- /lib/components/select/select.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAWnD,MAAM,WAAW,WAAW,CAAC,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,EAAE,KAAK,IAAI,CAAC;CACrC;;AAwID,wBAA0E"} -------------------------------------------------------------------------------- /lib/components/skeleton/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/skeleton/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAQvC,MAAM,CAAC,IAAM,cAAc,GAAG,MAAM,CAAC,GAAG,wlBAAqB,yDAGlD,EAAgB,iBACf,EAAiB,wBACV,EAAuB,8HAO7B,EAAgB,gCAEf,EAAiB,kBAClB,EAAgB,8LAQd,EAAgB,uDAM9B,KA1BU,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,EACf,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,MAAM,EAAT,CAAS,EACV,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,YAAY,EAAf,CAAe,EAO7B,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,EAEf,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,MAAM,EAAT,CAAS,EAClB,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,EAQd,UAAC,EAAE,IAAK,OAAA,EAAE,CAAC,KAAK,EAAR,CAAQ,CAM9B,CAAC"} -------------------------------------------------------------------------------- /lib/components/cardgroup/__tests__/cardgroup.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"cardgroup.spec.js","sourceRoot":"","sources":["../../../../src/components/cardgroup/__tests__/cardgroup.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,IAAI,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,sBAAsB,EAAE;IAC/B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,UAAU,GAAG,MAAM,CACvB,4BACE,KAAC,SAAS,cACR,KAAC,IAAI,IACH,IAAI,EAAC,WAAW,EAChB,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,UAAU,EACnB,WAAW,EAAC,yCAAyC,EACrD,MAAM,EAAC,QAAQ,EACf,IAAI,EAAC,4CAA4C,EACjD,QAAQ,EAAC,YAAY,GACrB,GACQ,GACX,CACJ,CAAC;QACF,MAAM,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/components/text-input/__tests__/textinput.spec.tsx: -------------------------------------------------------------------------------- 1 | import TextInput from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('TextInput Component', () => { 6 | it('Renders Correctly', () => { 7 | const TextInputGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | 14 | ); 15 | expect(TextInputGroup).toMatchSnapshot(); 16 | }); 17 | }); 18 | -------------------------------------------------------------------------------- /lib/components/avatar/__tests__/avatar.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"avatar.spec.js","sourceRoot":"","sources":["../../../../src/components/avatar/__tests__/avatar.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,MAAM,MAAM,IAAI,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,kBAAkB,EAAE;IAC3B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,WAAW,GAAG,MAAM,CACxB,8BACE,0BACE,KAAC,MAAM,IAAC,GAAG,EAAC,eAAe,EAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,GAAI,EACvD,KAAC,MAAM,IAAC,GAAG,EAAC,eAAe,EAAC,QAAQ,SAAG,IACnC,EACN,0BACE,KAAC,MAAM,IAAC,IAAI,EAAC,IAAI,GAAG,EACpB,KAAC,MAAM,IAAC,IAAI,EAAC,IAAI,EAAC,QAAQ,SAAG,IACzB,IACL,CACJ,CAAC;QACF,MAAM,CAAC,WAAW,CAAC,CAAC,eAAe,EAAE,CAAC;IACxC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/skeleton/skeleton.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"skeleton.js","sourceRoot":"","sources":["../../../src/components/skeleton/skeleton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAU1C,MAAM,CAAC,IAAM,QAAQ,GAGjB,UAAC,KAAK,EAAE,GAAG;IACL,IAAA,KAAuE,KAAK,MAAjE,EAAX,KAAK,mBAAG,GAAG,KAAA,EAAE,KAA0D,KAAK,OAAnD,EAAZ,MAAM,mBAAG,GAAG,KAAA,EAAE,KAA4C,KAAK,aAA5B,EAArB,YAAY,mBAAG,MAAM,KAAA,EAAE,SAAS,GAAY,KAAK,UAAjB,EAAE,KAAK,GAAK,KAAK,MAAV,CAAW;IAErF,OAAO,CACL,KAAC,cAAc,IACb,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,YAAY,EAAE,YAAY,EAC1B,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAAgC,QAAQ,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/tag/__tests__/tag.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; 2 | import Tag from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Tag Component', function () { 6 | it('Renders Correctly', function () { 7 | var TagGroup = render(_jsxs(_Fragment, { children: [_jsx(Tag, { rounded: true }), _jsx(Tag, { type: "light" }), _jsx(Tag, { type: "secondary" }), _jsx(Tag, { type: "danger" }), _jsx(Tag, { type: "success" }), _jsx(Tag, { type: "warning" }), _jsx(Tag, { type: "info" })] })); 8 | expect(TagGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=tag.spec.js.map -------------------------------------------------------------------------------- /lib/components/tooltip/tooltip.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tooltip.js","sourceRoot":"","sources":["../../../src/components/tooltip/tooltip.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAczC,IAAM,OAAO,GAAiE,UAC5E,KAAK;IAEG,IAAA,SAAS,GAAkD,KAAK,UAAvD,EAAE,SAAS,GAAuC,KAAK,UAA5C,EAAE,OAAO,GAA8B,KAAK,QAAnC,EAAE,KAA4B,KAAK,KAAjB,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAAE,KAAK,GAAK,KAAK,MAAV,CAAW;IAEzE,IAAM,MAAM,GAAG;QACb,SAAS,EAAE,IAAI;KAChB,CAAC;IAEF,OAAO,CACL,MAAC,aAAa,aACZ,IAAI,EAAC,QAAQ,gBACD,UAAG,OAAO,CAAE,EACxB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,IACR,MAAM,8BAEE,SAAS,KACP,CACjB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAA+B,OAAO,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/components/accordion/__tests__/__snapshots__/accordion.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Accordian Component Renders Correctly 1`] = ` 4 |
7 |

11 |
14 | 15 |
16 | Hello World 17 |

18 |
21 |
24 | Short Description 25 |
26 |
27 |
28 | `; 29 | -------------------------------------------------------------------------------- /src/components/divider/divider.stories.tsx: -------------------------------------------------------------------------------- 1 | import { Meta } from '@storybook/react'; 2 | import Divider from '.'; 3 | 4 | export default { 5 | title: 'Components/Divider', 6 | component: Divider 7 | } as Meta; 8 | 9 | export const All = () => { 10 | return ( 11 | <> 12 | 13 |
14 | 15 |
16 | 17 |
18 | 19 |
20 | 21 |
22 | 23 |
24 | 25 | 26 | ); 27 | }; 28 | -------------------------------------------------------------------------------- /lib/components/steps/step.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ReactNode } from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | type stepsDirection = 'horizontal' | 'vertical'; 4 | interface StepProps { 5 | type?: themeType; 6 | disabled?: boolean; 7 | icon?: ReactNode; 8 | title?: ReactNode; 9 | subTitle?: ReactNode; 10 | index?: number; 11 | activeIndex?: number; 12 | length?: number; 13 | onChange?: (active: number) => void; 14 | divider?: ReactNode; 15 | direction?: stepsDirection; 16 | } 17 | declare const _default: React.ForwardRefExoticComponent>; 18 | export default _default; 19 | //# sourceMappingURL=step.d.ts.map -------------------------------------------------------------------------------- /lib/components/tag/__tests__/tag.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"tag.spec.js","sourceRoot":"","sources":["../../../../src/components/tag/__tests__/tag.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,GAAG,MAAM,IAAI,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,eAAe,EAAE;IACxB,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,QAAQ,GAAG,MAAM,CACrB,8BACE,KAAC,GAAG,IAAC,OAAO,SAAG,EACf,KAAC,GAAG,IAAC,IAAI,EAAC,OAAO,GAAG,EACpB,KAAC,GAAG,IAAC,IAAI,EAAC,WAAW,GAAG,EACxB,KAAC,GAAG,IAAC,IAAI,EAAC,QAAQ,GAAG,EACrB,KAAC,GAAG,IAAC,IAAI,EAAC,SAAS,GAAG,EACtB,KAAC,GAAG,IAAC,IAAI,EAAC,SAAS,GAAG,EACtB,KAAC,GAAG,IAAC,IAAI,EAAC,MAAM,GAAG,IAClB,CACJ,CAAC;QACF,MAAM,CAAC,QAAQ,CAAC,CAAC,eAAe,EAAE,CAAC;IACrC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/pagination/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { PaginationProps } from './pagination'; 2 | export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>; 3 | interface PageButtonProps extends PaginationProps { 4 | activePage?: number; 5 | buttonPage?: number; 6 | } 7 | export declare const PageButton: import("styled-components").StyledComponent<"button", any, PageButtonProps, never>; 8 | export declare const PreviousButton: import("styled-components").StyledComponent<"button", any, PageButtonProps, never>; 9 | export declare const NextButton: import("styled-components").StyledComponent<"button", any, PageButtonProps, never>; 10 | export {}; 11 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/steps/steps.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/components/steps/steps.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGhD,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG,UAAU,CAAC;AAEvD,MAAM,WAAW,UAAU;IACzB,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sBAAsB;IACtB,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,qEAAqE;IACrE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,QAAQ,EAAE,YAAY,EAAE,GAAG,YAAY,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AA6DD,wBAA4D"} -------------------------------------------------------------------------------- /src/components/image/__tests__/image.spec.tsx: -------------------------------------------------------------------------------- 1 | import Image from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Image Component', () => { 6 | it('Renders Correctly', () => { 7 | const ImageGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | 14 | 15 | ); 16 | expect(ImageGroup).toMatchSnapshot(); 17 | }); 18 | }); 19 | -------------------------------------------------------------------------------- /lib/components/pagination/pagination.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../../../src/components/pagination/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAG7D,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AAkED,wBAA6E"} -------------------------------------------------------------------------------- /lib/components/switch/switch.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { ComponentSize } from '../../tokens/sizes'; 3 | import { themeType } from '../../tokens/themes'; 4 | export interface SwitchProps { 5 | size?: ComponentSize; 6 | type?: themeType; 7 | padding?: ComponentSize; 8 | checked?: boolean; 9 | onChange?: () => void; 10 | disabled?: boolean; 11 | className?: string; 12 | style?: React.CSSProperties; 13 | } 14 | export declare const Switch: React.ForwardRefRenderFunction; 15 | declare const _default: React.ForwardRefExoticComponent>; 16 | export default _default; 17 | //# sourceMappingURL=switch.d.ts.map -------------------------------------------------------------------------------- /src/components/accordion/accordion.stories.tsx: -------------------------------------------------------------------------------- 1 | import { StoryFn } from '@storybook/react'; 2 | import React from 'react'; 3 | import Accordion, { AccordionProps } from './accordion'; 4 | 5 | export default { 6 | title: 'Components/Accordion', 7 | component: Accordion 8 | }; 9 | 10 | const Template: StoryFn = (args) => ; 11 | 12 | export const Default = Template.bind({}); 13 | Default.args = { 14 | header: 'Header 1', 15 | description: 16 | 'Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione molestiae deserunt totam odit recusandae mollitia sit a, accusantium esse quis alias, nulla voluptatibus! Eius hic, perferendis iure mollitia accusamus itaque.' 17 | }; 18 | -------------------------------------------------------------------------------- /lib/components/text-input/styled.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/components/text-input/styled.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAyB,MAAM,oBAAoB,CAAC;AAC1E,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAE1C,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,eAAO,MAAM,aAAa,oFAIzB,CAAC;AAEF,UAAU,oBAAoB;IAC5B,SAAS,EAAE,aAAa,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,eAAe,wFAoC3B,CAAC;AAEF,UAAU,eAAe;IACvB,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,eAAO,MAAM,UAAU,iFAWtB,CAAC;AAEF,UAAU,gBAAgB;IACxB,SAAS,EAAE,aAAa,CAAC;CAC1B;AAED,eAAO,MAAM,WAAW,6FAQvB,CAAC"} -------------------------------------------------------------------------------- /src/components/badge/__tests__/badge.spec.tsx: -------------------------------------------------------------------------------- 1 | import Badge from '..'; 2 | import { Avatar } from '../../avatar'; 3 | import { render } from '../../../test/utils'; 4 | 5 | /* eslint-disable */ 6 | describe('Badge Component', () => { 7 | it('Renders Correctly', () => { 8 | const BadgeGroup = render( 9 | <> 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | ); 20 | expect(BadgeGroup).toMatchSnapshot(); 21 | }); 22 | }); 23 | -------------------------------------------------------------------------------- /lib/tokens/themes.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"themes.js","sourceRoot":"","sources":["../../src/tokens/themes.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAC,IAAM,KAAK,GAAU;IAC1B,OAAO,EAAE;QACP,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,SAAS,EAAE;QACT,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,MAAM,EAAE;QACN,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,OAAO,EAAE;QACP,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,OAAO,EAAE;QACP,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;IACD,KAAK,EAAE;QACL,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;QAChB,KAAK,EAAE,SAAS;KACjB;CACF,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/input.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"input.js","sourceRoot":"","sources":["../../../src/components/form/input.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAYvC,SAAS,KAAK,CAAC,EAKF;IAJX,IAAA,WAAW,iBAAA,EACX,IAAI,UAAA,EACJ,YAAa,EAAb,IAAI,mBAAG,MAAM,KAAA,EACV,SAAS,cAJC,+BAKd,CADa;IAEZ,OAAO,CACL,KAAC,KAAK,eAAK,SAAS,cACjB,UAAC,EAAoB;gBAAlB,KAAK,WAAA,EAAE,IAAI,UAAA;YAAY,OAAA,CACzB,KAAC,WAAW,aACV,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,EAC/B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,EACpC,EAAE,EAAE,KAAK,CAAC,IAAI,EACd,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,IAAI,IACN,KAAK,EACT,CACH;QAV0B,CAU1B,IACK,CACT,CAAC;AACJ,CAAC;AAED,eAAe,KAAK,CAAC"} -------------------------------------------------------------------------------- /lib/components/card/card.d.ts: -------------------------------------------------------------------------------- 1 | import React, { ReactNode } from 'react'; 2 | import { themeType } from '../../tokens/themes'; 3 | export interface StyledCardProps { 4 | children?: ReactNode; 5 | href?: string; 6 | className?: string; 7 | src?: string; 8 | title?: string; 9 | subTitle?: ReactNode; 10 | footer?: ReactNode; 11 | description?: string; 12 | hrefText?: string; 13 | type?: themeType; 14 | style?: React.CSSProperties; 15 | } 16 | export declare const Card: React.ForwardRefRenderFunction; 17 | declare const _default: React.ForwardRefExoticComponent>; 18 | export default _default; 19 | //# sourceMappingURL=card.d.ts.map -------------------------------------------------------------------------------- /lib/components/spinner/__tests__/spinner.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"spinner.spec.js","sourceRoot":"","sources":["../../../../src/components/spinner/__tests__/spinner.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,OAAO,MAAM,IAAI,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,mBAAmB,EAAE;IAC5B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,YAAY,GAAG,MAAM,CACzB,8BACE,KAAC,OAAO,IAAC,IAAI,EAAE,EAAE,GAAI,EACrB,KAAC,OAAO,IAAC,IAAI,EAAC,SAAS,GAAG,EAC1B,KAAC,OAAO,IAAC,IAAI,EAAC,WAAW,GAAG,EAC5B,KAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,GAAG,EACzB,KAAC,OAAO,IAAC,IAAI,EAAC,SAAS,GAAG,EAC1B,KAAC,OAAO,IAAC,IAAI,EAAC,SAAS,GAAG,EAC1B,KAAC,OAAO,IAAC,IAAI,EAAC,MAAM,GAAG,IACtB,CACJ,CAAC;QACF,MAAM,CAAC,YAAY,CAAC,CAAC,eAAe,EAAE,CAAC;IACzC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/spinner/__tests__/spinner.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; 2 | import Spinner from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Spinner Component', function () { 6 | it('Renders Correctly', function () { 7 | var SpinnerGroup = render(_jsxs(_Fragment, { children: [_jsx(Spinner, { size: 40 }), _jsx(Spinner, { type: "primary" }), _jsx(Spinner, { type: "secondary" }), _jsx(Spinner, { type: "danger" }), _jsx(Spinner, { type: "success" }), _jsx(Spinner, { type: "warning" }), _jsx(Spinner, { type: "info" })] })); 8 | expect(SpinnerGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=spinner.spec.js.map -------------------------------------------------------------------------------- /src/components/spinner/__tests__/__snapshots__/spinner.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Spinner Component Renders Correctly 1`] = ` 4 | Array [ 5 | , 9 | , 13 | , 17 | , 21 | , 25 | , 29 | , 33 | ] 34 | `; 35 | -------------------------------------------------------------------------------- /src/components/tag/__tests__/__snapshots__/tag.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Tag Component Renders Correctly 1`] = ` 4 | Array [ 5 | , 9 | , 13 | , 17 | , 21 | , 25 | , 29 | , 33 | ] 34 | `; 35 | -------------------------------------------------------------------------------- /lib/components/avatar/__tests__/avatar.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime"; 2 | import Avatar from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('Avatar Component', function () { 6 | it('Renders Correctly', function () { 7 | var AvatarGroup = render(_jsxs(_Fragment, { children: [_jsxs("div", { children: [_jsx(Avatar, { src: "chic_copy.png", height: 120, width: 100 }), _jsx(Avatar, { src: "chic_copy.png", isActive: true })] }), _jsxs("div", { children: [_jsx(Avatar, { name: "KS" }), _jsx(Avatar, { name: "KS", isActive: true })] })] })); 8 | expect(AvatarGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=avatar.spec.js.map -------------------------------------------------------------------------------- /lib/components/text-input/__tests__/textinput.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"textinput.spec.js","sourceRoot":"","sources":["../../../../src/components/text-input/__tests__/textinput.spec.tsx"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,IAAI,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,qBAAqB,EAAE;IAC9B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,cAAc,GAAG,MAAM,CAC3B,8BACE,KAAC,SAAS,IAAC,WAAW,EAAC,mBAAmB,EAAC,IAAI,EAAC,OAAO,GAAG,EAC1D,KAAC,SAAS,IAAC,WAAW,EAAC,mBAAmB,EAAC,KAAK,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,GAAG,EACxE,KAAC,SAAS,IAAC,WAAW,EAAC,eAAe,EAAC,KAAK,EAAC,OAAO,EAAC,KAAK,SAAG,EAC7D,KAAC,SAAS,IAAC,WAAW,EAAC,gBAAgB,EAAC,KAAK,EAAC,OAAO,EAAC,QAAQ,SAAG,IAChE,CACJ,CAAC;QACF,MAAM,CAAC,cAAc,CAAC,CAAC,eAAe,EAAE,CAAC;IAC3C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/components/form/Checkbox/checkbox.tsx: -------------------------------------------------------------------------------- 1 | import Field from '../field'; 2 | import { StyledCheckbox, StyledLabelCheckbox } from '../styled'; 3 | 4 | export interface CheckboxProps { 5 | label: string; 6 | value: string | number; 7 | name: string; 8 | id: string; 9 | }; 10 | 11 | const Checkbox = ({ label, id, ...restProps }: CheckboxProps) => { 12 | return ( 13 | 14 | {({ input }: any) => { 15 | return ( 16 |
17 | 18 | {label} 19 |
20 | ); 21 | }} 22 |
23 | ); 24 | }; 25 | 26 | export default Checkbox; 27 | -------------------------------------------------------------------------------- /src/components/breadcrumb/__tests__/breadcrumb.spec.tsx: -------------------------------------------------------------------------------- 1 | import Breadcrumb from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('Breadcrumb Component', () => { 6 | it('Renders Correctly', () => { 7 | const BreadcrumbGroup = render( 8 | <> 9 | 10 |
11 | Google 12 |
13 |
14 | Facebook 15 |
16 |
17 | Twitter 18 |
19 |
20 | 21 | ); 22 | expect(BreadcrumbGroup).toMatchSnapshot(); 23 | }); 24 | }); 25 | -------------------------------------------------------------------------------- /lib/components/progressBar/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { themeType } from '../../tokens/themes'; 2 | interface StyledProgressBarProps { 3 | type?: themeType; 4 | animated?: boolean; 5 | width?: number; 6 | striped?: boolean; 7 | stripedAnimated?: boolean; 8 | } 9 | interface StyledLoadingTextProps { 10 | type?: themeType; 11 | } 12 | export declare const StyledProgressBar: import("styled-components").StyledComponent<"div", any, StyledProgressBarProps, never>; 13 | export declare const StyledProgressWrapper: import("styled-components").StyledComponent<"div", any, {}, never>; 14 | export declare const StyledLoadingText: import("styled-components").StyledComponent<"span", any, StyledLoadingTextProps, never>; 15 | export {}; 16 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /src/components/spinner/spinner.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StyledSpinner } from './styled'; 3 | import { themeType } from '../../tokens/themes'; 4 | 5 | export interface SpinnerProps { 6 | type?: themeType; 7 | size?: number; 8 | className?: string; 9 | style?: React.CSSProperties; 10 | } 11 | 12 | const Spinner: React.ForwardRefRenderFunction = ( 13 | props, 14 | ref 15 | ) => { 16 | const { type = 'light', size = 50, className, style } = props; 17 | 18 | const styles = { 19 | innerType: type, 20 | size 21 | }; 22 | 23 | return ; 24 | }; 25 | 26 | export default React.forwardRef(Spinner); 27 | -------------------------------------------------------------------------------- /lib/components/pagination/pagination.d.ts: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { themeType, ThemeValues } from '../../tokens/themes'; 3 | export interface PaginationProps { 4 | pages: number; 5 | startCountInZero?: boolean; 6 | whenNextPage: (page: number) => void; 7 | whenPreviousPage: (page: number) => void; 8 | whenPageChange: (page: number) => void; 9 | bgType?: themeType; 10 | customBg?: ThemeValues; 11 | activeBg: string; 12 | activeColor: string; 13 | activeHoverColor?: string; 14 | style?: React.CSSProperties; 15 | className?: string; 16 | } 17 | declare const _default: React.ForwardRefExoticComponent>; 18 | export default _default; 19 | //# sourceMappingURL=pagination.d.ts.map -------------------------------------------------------------------------------- /lib/components/cardgroup/__tests__/cardgroup.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime"; 2 | import CardGroup from '..'; 3 | import { Card } from '../../card'; 4 | import { render } from '../../../test/utils'; 5 | /* eslint-disable */ 6 | describe('Card Group Component', function () { 7 | it('Renders Correctly', function () { 8 | var CardGroups = render(_jsx(_Fragment, { children: _jsx(CardGroup, { children: _jsx(Card, { type: "secondary", title: "Title", subTitle: "Subtitle", description: "Lorem ipsum dolor sit amet, consectetur", footer: "Footer", href: "https://github.com/karishmashuklaa/chic-ui", hrefText: "Visit site" }) }) })); 9 | expect(CardGroups).toMatchSnapshot(); 10 | }); 11 | }); 12 | //# sourceMappingURL=cardgroup.spec.js.map -------------------------------------------------------------------------------- /lib/components/switch/styled.d.ts: -------------------------------------------------------------------------------- 1 | import { ComponentSize } from '../../tokens/sizes'; 2 | import { themeType } from '../../tokens/themes'; 3 | interface SwitchWrapperProps { 4 | type: themeType; 5 | size: ComponentSize; 6 | checked: boolean; 7 | disabled: boolean; 8 | padding: ComponentSize; 9 | } 10 | export declare const SwitchWrapper: import("styled-components").StyledComponent<"div", any, SwitchWrapperProps, never>; 11 | interface SwitchToggleProps { 12 | type: themeType; 13 | size: ComponentSize; 14 | checked: boolean; 15 | padding: ComponentSize; 16 | disabled: boolean; 17 | } 18 | export declare const SwitchToggle: import("styled-components").StyledComponent<"div", any, SwitchToggleProps, never>; 19 | export {}; 20 | //# sourceMappingURL=styled.d.ts.map -------------------------------------------------------------------------------- /lib/components/link/link.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"link.js","sourceRoot":"","sources":["../../../src/components/link/link.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAatC,IAAM,IAAI,GAAiE,UACzE,KAAK,EACL,GAAG;IAGD,IAAA,KAOE,KAAK,SAPS,EAAhB,QAAQ,mBAAG,KAAK,KAAA,EAChB,SAAS,GAMP,KAAK,UANE,EACT,QAAQ,GAKN,KAAK,SALC,EACR,KAIE,KAAK,GAJC,EAAR,EAAE,mBAAG,GAAG,KAAA,EACR,IAAI,GAGF,KAAK,KAHH,EACJ,KAEE,KAAK,KAFS,EAAhB,IAAI,mBAAG,SAAS,KAAA,EAChB,KAAK,GACH,KAAK,MADF,CACG;IAEV,OAAO,CACL,KAAC,UAAU,aACT,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EACvB,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,gBAEX,QAAQ,IACE,CACd,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAA+B,IAAI,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/text-input/text-input.d.ts.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"text-input.d.ts","sourceRoot":"","sources":["../../../src/components/text-input/text-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAQnD,MAAM,WAAW,cACf,SAAQ,IAAI,CACV,cAAc,CAAC,gBAAgB,CAAC,EAChC,MAAM,GAAG,UAAU,GAAG,UAAU,CACjC;IACD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACzB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAEhD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AAyDD,wBAA6E"} -------------------------------------------------------------------------------- /src/components/cardgroup/cardgroup.tsx: -------------------------------------------------------------------------------- 1 | import React, { ReactNode } from 'react'; 2 | import { StyledCards } from './styled'; 3 | 4 | export interface StyledCardGroupProps { 5 | children?: ReactNode; 6 | style?: React.CSSProperties; 7 | className?: string; 8 | } 9 | 10 | export const CardGroup: React.ForwardRefRenderFunction< 11 | HTMLDivElement, 12 | StyledCardGroupProps 13 | > = (props, ref) => { 14 | const { children, style, className } = props; 15 | 16 | return ( 17 | } 21 | > 22 | {children} 23 | 24 | ); 25 | }; 26 | 27 | export default React.forwardRef( 28 | CardGroup 29 | ); 30 | -------------------------------------------------------------------------------- /lib/components/cardgroup/styled.js: -------------------------------------------------------------------------------- 1 | var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { 2 | if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } 3 | return cooked; 4 | }; 5 | import styled from 'styled-components'; 6 | export var StyledCards = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n -webkit-display: box;\n -moz-display: box;\n -ms-display: flexbox;\n -webkit-display: flex;\n flex-wrap: wrap;\n padding: 0;\n margin: 0;\n"], ["\n display: flex;\n -webkit-display: box;\n -moz-display: box;\n -ms-display: flexbox;\n -webkit-display: flex;\n flex-wrap: wrap;\n padding: 0;\n margin: 0;\n"]))); 7 | var templateObject_1; 8 | //# sourceMappingURL=styled.js.map -------------------------------------------------------------------------------- /lib/components/image/image.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx } from "react/jsx-runtime"; 2 | import React from 'react'; 3 | import { StyledImage } from './styled'; 4 | export var Image = function (props, ref) { 5 | var _a = props.width, width = _a === void 0 ? '100%' : _a, _b = props.height, height = _b === void 0 ? '100%' : _b, className = props.className, src = props.src, _c = props.rounded, rounded = _c === void 0 ? false : _c, _d = props.circle, circle = _d === void 0 ? false : _d, _e = props.outline, outline = _e === void 0 ? false : _e, style = props.style; 6 | return (_jsx(StyledImage, { src: src, ref: ref, width: width, height: height, className: className, rounded: rounded, circle: circle, outline: outline, style: style })); 7 | }; 8 | export default React.forwardRef(Image); 9 | //# sourceMappingURL=image.js.map -------------------------------------------------------------------------------- /src/components/circularProgressBar/circularProgressBar.stories.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StoryFn, Meta } from '@storybook/react'; 3 | import { theme } from '../../tokens/themes'; 4 | 5 | import CircularProgressBar, { CircularProgressBarProps } from './circularProgressBar'; 6 | 7 | export default { 8 | title: 'Components/CircularProgressBar', 9 | component: CircularProgressBar, 10 | argTypes: { 11 | type: { 12 | options: Object.keys(theme), 13 | control: { type: 'radio' } 14 | } 15 | } 16 | } as Meta; 17 | 18 | const Template: StoryFn = (args) => ; 19 | 20 | export const Default = Template.bind({}); 21 | Default.args = { 22 | progress: 30, 23 | type: 'primary', 24 | showProgress: true, 25 | }; 26 | -------------------------------------------------------------------------------- /src/components/cardgroup/__tests__/cardgroup.spec.tsx: -------------------------------------------------------------------------------- 1 | import CardGroup from '..'; 2 | import { Card } from '../../card'; 3 | import { render } from '../../../test/utils'; 4 | 5 | /* eslint-disable */ 6 | describe('Card Group Component', () => { 7 | it('Renders Correctly', () => { 8 | const CardGroups = render( 9 | <> 10 | 11 | 20 | 21 | 22 | ); 23 | expect(CardGroups).toMatchSnapshot(); 24 | }); 25 | }); 26 | -------------------------------------------------------------------------------- /lib/components/badge/__tests__/badge.spec.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"badge.spec.js","sourceRoot":"","sources":["../../../../src/components/badge/__tests__/badge.spec.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,IAAI,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,oBAAoB;AACpB,QAAQ,CAAC,iBAAiB,EAAE;IAC1B,EAAE,CAAC,mBAAmB,EAAE;QACtB,IAAM,UAAU,GAAG,MAAM,CACvB,4BACE,0BACE,KAAC,KAAK,aAAC,IAAI,EAAC,QAAQ,EAAC,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,sBACtD,KAAC,MAAM,IAAC,GAAG,EAAC,eAAe,GAAG,IACxB,EACR,KAAC,KAAK,aAAC,IAAI,EAAC,SAAS,EAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,sBACzD,KAAC,MAAM,IAAC,GAAG,EAAC,eAAe,GAAG,IACxB,IACJ,GACL,CACJ,CAAC;QACF,MAAM,CAAC,UAAU,CAAC,CAAC,eAAe,EAAE,CAAC;IACvC,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"} -------------------------------------------------------------------------------- /src/components/tag/styled.ts: -------------------------------------------------------------------------------- 1 | import styled from 'styled-components'; 2 | import { themeType, theme as typeColors } from '../../tokens/themes'; 3 | 4 | interface StyledTagProps { 5 | innerType: themeType; 6 | withText: boolean; 7 | rounded: boolean; 8 | } 9 | 10 | // Real HTML tag is assigned dynamically 11 | export const StyledTag = styled.span` 12 | display: inline-block; 13 | align-items: center; 14 | justify-content: center; 15 | font-size: 11px; 16 | font-weight: bold; 17 | border-radius: 4px; 18 | outline: none; 19 | padding: 3.3px 14px; 20 | height: 0 23px; 21 | background-color: ${(pr) => typeColors[pr.innerType].bgColor}; 22 | color: ${(pr) => (pr.innerType === 'light' ? '#000' : '#fff')}; 23 | // Rounded 24 | ${(pr) => (pr.rounded ? `border-radius: 14px;` : '')} 25 | `; 26 | -------------------------------------------------------------------------------- /lib/components/backdrop/backdrop.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"backdrop.js","sourceRoot":"","sources":["../../../src/components/backdrop/backdrop.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAW1C,MAAM,CAAC,IAAM,QAAQ,GAGjB,UAAC,KAAK,EAAE,GAAG;IACL,IAAA,KAA+D,KAAK,QAAtD,EAAd,OAAO,mBAAG,IAAI,KAAA,EAAE,KAAK,GAA0C,KAAK,MAA/C,EAAE,KAAK,GAAmC,KAAK,MAAxC,EAAE,SAAS,GAAwB,KAAK,UAA7B,EAAE,QAAQ,GAAc,KAAK,SAAnB,EAAE,OAAO,GAAK,KAAK,QAAV,CAAW;IAE7E,IAAM,SAAS,GAAG,GAAG,IAAI,KAAK,CAAC,SAAS,EAAkB,CAAC;IAC3D,IAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,CAAC,CAAC;IAElD,OAAO,CACL,KAAC,cAAc,aACb,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,YAAY,gBAEhB,QAAQ,IACM,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAAgC,QAAQ,CAAC,CAAC"} -------------------------------------------------------------------------------- /lib/components/form/Checkbox/checkboxGroup.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"checkboxGroup.js","sourceRoot":"","sources":["../../../../src/components/form/Checkbox/checkboxGroup.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AASrD,IAAM,aAAa,GAAG,UAAC,EAMF;IALnB,IAAA,YAAkB,EAAlB,IAAI,mBAAG,WAAW,KAAA,EAClB,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,QAAQ,cAAA,EACL,SAAS,cALS,yCAMtB,CADa;IAEZ,OAAO,CACL,MAAC,WAAW,eAAK,SAAS,eACvB,CAAC,CAAC,KAAK,IAAI,CACV,MAAC,WAAW,aAAC,OAAO,EAAE,IAAI,iBACvB,KAAK,EACL,CAAC,QAAQ,IAAI,aAAa,KACf,CACf,EACD,uBAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,gBACjC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAU;oBACvC,OAAA,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE;wBACxB,IAAI,EAAE,UAAU;wBAChB,QAAQ,UAAA;qBACT,CAAC;gBAHF,CAGE,CACH,IACG,KACM,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"} -------------------------------------------------------------------------------- /src/components/image/__tests__/__snapshots__/image.spec.tsx.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Image Component Renders Correctly 1`] = ` 4 | Array [ 5 | , 11 | , 17 | , 23 | , 29 | , 35 | ] 36 | `; 37 | -------------------------------------------------------------------------------- /src/components/progressBar/__tests__/progressbar.spec.tsx: -------------------------------------------------------------------------------- 1 | import ProgressBar from '..'; 2 | import { render } from '../../../test/utils'; 3 | 4 | /* eslint-disable */ 5 | describe('ProgressBar Component', () => { 6 | it('Renders Correctly', () => { 7 | const ProgressBarGroup = render( 8 | <> 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | expect(ProgressBarGroup).toMatchSnapshot(); 19 | }); 20 | }); 21 | -------------------------------------------------------------------------------- /lib/components/form/Radio/radioGroup.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"radioGroup.js","sourceRoot":"","sources":["../../../../src/components/form/Radio/radioGroup.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AASrD,IAAM,UAAU,GAAG,UAAC,EAMF;IALhB,IAAA,YAAS,EAAT,IAAI,mBAAG,EAAE,KAAA,EACT,KAAK,WAAA,EACL,QAAQ,cAAA,EACR,QAAQ,cAAA,EACL,SAAS,cALM,yCAMnB,CADa;IAEZ,OAAO,CACL,MAAC,WAAW,eAAK,SAAS,eACvB,CAAC,CAAC,KAAK,IAAI,CACV,MAAC,WAAW,aAAC,OAAO,EAAE,IAAI,iBACvB,KAAK,EACL,CAAC,QAAQ,IAAI,aAAa,KACf,CACf,EACD,uBAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,gBACjC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,UAAC,KAAU;oBACvC,OAAA,KAAK,CAAC,YAAY,CAAC,KAAK,wBACnB,KAAK,CAAC,KAAK,KACd,IAAI,MAAA,EACJ,IAAI,EAAE,OAAO,EACb,QAAQ,UAAA,IACR;gBALF,CAKE,CACH,IACG,KACM,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"} -------------------------------------------------------------------------------- /lib/tokens/global.styles.js: -------------------------------------------------------------------------------- 1 | var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { 2 | if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } 3 | return cooked; 4 | }; 5 | import { createGlobalStyle } from 'styled-components'; 6 | export var GlobalStyles = createGlobalStyle(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n * {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-family: 'Arial';\n }\n a {\n text-decoration: none;\n }\n"], ["\n * {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n font-family: 'Arial';\n }\n a {\n text-decoration: none;\n }\n"]))); 7 | var templateObject_1; 8 | //# sourceMappingURL=global.styles.js.map -------------------------------------------------------------------------------- /lib/components/text-input/__tests__/textinput.spec.js: -------------------------------------------------------------------------------- 1 | import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime"; 2 | import TextInput from '..'; 3 | import { render } from '../../../test/utils'; 4 | /* eslint-disable */ 5 | describe('TextInput Component', function () { 6 | it('Renders Correctly', function () { 7 | var TextInputGroup = render(_jsxs(_Fragment, { children: [_jsx(TextInput, { placeholder: "Type something...", size: "small" }), _jsx(TextInput, { placeholder: "Type something...", width: "200px", size: "large" }), _jsx(TextInput, { placeholder: "Error Erorrr!", width: "400px", error: true }), _jsx(TextInput, { placeholder: "Disabled Input", width: "400px", disabled: true })] })); 8 | expect(TextInputGroup).toMatchSnapshot(); 9 | }); 10 | }); 11 | //# sourceMappingURL=textinput.spec.js.map -------------------------------------------------------------------------------- /src/components/progressBar/progressBar.stories.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StoryFn, Meta } from '@storybook/react'; 3 | import { theme } from '../../tokens/themes'; 4 | 5 | import ProgressBar, { ProgressBarProps } from '.'; 6 | import progressBar from './progressBar'; 7 | 8 | export default { 9 | title: 'Components/progress-bar', 10 | component: progressBar, 11 | argTypes: { 12 | type: { 13 | options: Object.keys(theme), 14 | control: { type: 'radio' } 15 | } 16 | } 17 | } as Meta; 18 | 19 | const Template: StoryFn = (args) => ; 20 | 21 | export const Default = Template.bind({}); 22 | Default.args = { 23 | progress: 80, 24 | type: 'primary', 25 | showProgress: true, 26 | animated: false, 27 | striped: false, 28 | stripedAnimated: false 29 | }; 30 | -------------------------------------------------------------------------------- /src/components/skeleton/skeleton.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { StyledSkeleton } from './styled'; 3 | 4 | export interface SkeletonProps { 5 | width?: number; 6 | height?: number; 7 | borderRadius?: string; 8 | className?: string; 9 | style?: React.CSSProperties; 10 | } 11 | 12 | export const Skeleton: React.ForwardRefRenderFunction< 13 | HTMLDivElement, 14 | SkeletonProps 15 | > = (props, ref) => { 16 | const { width = 100, height = 100, borderRadius = 'none', className, style } = props; 17 | 18 | return ( 19 | 27 | ); 28 | }; 29 | 30 | export default React.forwardRef(Skeleton); 31 | -------------------------------------------------------------------------------- /lib/components/badge/styled.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"styled.js","sourceRoot":"","sources":["../../../src/components/badge/styled.ts"],"names":[],"mappings":";;;;AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE1D,MAAM,CAAC,IAAM,OAAO,GAAG,MAAM,CAAC,GAAG,wHAAA,qDAGhC,IAAA,CAAC;AAMF,MAAM,CAAC,IAAM,WAAW,GAAG,MAAM,CAAC,GAAG,yYAAkB,kFAIvC,EAAoC,0DAGzC,EAAkC,2JAMnB,EAAwB,SAE9C,EAKD,QAEC,EASD,IACF,KA5Be,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,IAAK,CAAC,CAAC,OAAO,EAA5B,CAA4B,EAGzC,UAAC,EAAE,IAAK,OAAA,UAAU,CAAC,EAAE,CAAC,IAAK,CAAC,CAAC,KAAK,EAA1B,CAA0B,EAMnB,UAAU,CAAC,KAAK,CAAC,OAAO,EAE9C,UAAC,EAAE;IACH,OAAA,EAAE,CAAC,MAAM;QACT,uBACS,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,2BAClB,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,YACxB;AAJC,CAID,EAEC,UAAC,EAAE;IACH,OAAA,EAAE,CAAC,SAAS;QACV,CAAC,CAAC,+CAGL;QACG,CAAC,CAAC,+CAGL;AARC,CAQD,CACF,CAAC"} -------------------------------------------------------------------------------- /lib/components/image/image.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/components/image/image.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAavC,MAAM,CAAC,IAAM,KAAK,GAGd,UAAC,KAAK,EAAE,GAAG;IAEX,IAAA,KAQE,KAAK,MARO,EAAd,KAAK,mBAAG,MAAM,KAAA,EACd,KAOE,KAAK,OAPQ,EAAf,MAAM,mBAAG,MAAM,KAAA,EACf,SAAS,GAMP,KAAK,UANE,EACT,GAAG,GAKD,KAAK,IALJ,EACH,KAIE,KAAK,QAJQ,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,KAGE,KAAK,OAHO,EAAd,MAAM,mBAAG,KAAK,KAAA,EACd,KAEE,KAAK,QAFQ,EAAf,OAAO,mBAAG,KAAK,KAAA,EACf,KAAK,GACH,KAAK,MADF,CACG;IAEV,OAAO,CACL,KAAC,WAAW,IACV,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,GACZ,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAA+B,KAAK,CAAC,CAAC"} --------------------------------------------------------------------------------