├── .eslintrc.js ├── .gitignore ├── .husky └── pre-commit ├── .npmignore ├── .prettierrc ├── .storybook ├── main.js └── preview.js ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── __mocks__ ├── figmaPluginMock.ts └── styleMock.ts ├── __tests__ ├── Button.test.tsx ├── Checkbox.test.tsx ├── Disclosure.test.tsx ├── Icon.test.tsx ├── IconButton.test.tsx ├── Input.test.tsx ├── Label.test.tsx ├── OnboardingTip.test.tsx ├── Radio.test.tsx ├── SectionTitle.test.tsx ├── SelectMenu.test.tsx ├── Switch.test.tsx ├── Textarea.test.tsx ├── Type.test.tsx └── __snapshots__ │ ├── Button.test.tsx.snap │ ├── Checkbox.test.tsx.snap │ ├── Disclosure.test.tsx.snap │ ├── Icon.test.tsx.snap │ ├── IconButton.test.tsx.snap │ ├── Input.test.tsx.snap │ ├── Label.test.tsx.snap │ ├── OnboardingTip.test.tsx.snap │ ├── Radio.test.tsx.snap │ ├── SectionTitle.test.tsx.snap │ ├── SelectMenu.test.tsx.snap │ ├── Switch.test.tsx.snap │ ├── Textarea.test.tsx.snap │ └── Type.test.tsx.snap ├── global.d.ts ├── package.json ├── rollup.config.js ├── setupTests.ts ├── src ├── components │ ├── Button.tsx │ ├── Checkbox.tsx │ ├── Disclosure.tsx │ ├── Icon.tsx │ ├── IconButton.tsx │ ├── Input.tsx │ ├── Label.tsx │ ├── OnboardingTip.tsx │ ├── Radio.tsx │ ├── SectionTitle.tsx │ ├── SelectMenu.tsx │ ├── Switch.tsx │ ├── Textarea.tsx │ ├── Type.tsx │ └── index.ts ├── constants │ ├── colorNames.ts │ ├── iconNames.ts │ ├── index.ts │ ├── sizes.ts │ ├── tints.ts │ └── weights.ts ├── index.ts └── types.ts ├── stories ├── Button.stories.tsx ├── Checkbox.stories.tsx ├── Disclosure.stories.tsx ├── Icon.stories.tsx ├── IconButton.stories.tsx ├── Input.stories.tsx ├── Label.stories.tsx ├── OnboardingTip.stories.tsx ├── Radio.stories.tsx ├── SectionTitle.stories.tsx ├── SelectMenu.stories.tsx ├── Switch.stories.tsx ├── Textarea.stories.tsx └── Type.stories.tsx ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | yarn pre-commit 5 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/.npmignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/.storybook/main.js -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/.storybook/preview.js -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/figmaPluginMock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__mocks__/figmaPluginMock.ts -------------------------------------------------------------------------------- /__mocks__/styleMock.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /__tests__/Button.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Button.test.tsx -------------------------------------------------------------------------------- /__tests__/Checkbox.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Checkbox.test.tsx -------------------------------------------------------------------------------- /__tests__/Disclosure.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Disclosure.test.tsx -------------------------------------------------------------------------------- /__tests__/Icon.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Icon.test.tsx -------------------------------------------------------------------------------- /__tests__/IconButton.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/IconButton.test.tsx -------------------------------------------------------------------------------- /__tests__/Input.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Input.test.tsx -------------------------------------------------------------------------------- /__tests__/Label.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Label.test.tsx -------------------------------------------------------------------------------- /__tests__/OnboardingTip.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/OnboardingTip.test.tsx -------------------------------------------------------------------------------- /__tests__/Radio.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Radio.test.tsx -------------------------------------------------------------------------------- /__tests__/SectionTitle.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/SectionTitle.test.tsx -------------------------------------------------------------------------------- /__tests__/SelectMenu.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/SelectMenu.test.tsx -------------------------------------------------------------------------------- /__tests__/Switch.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Switch.test.tsx -------------------------------------------------------------------------------- /__tests__/Textarea.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Textarea.test.tsx -------------------------------------------------------------------------------- /__tests__/Type.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/Type.test.tsx -------------------------------------------------------------------------------- /__tests__/__snapshots__/Button.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Button.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Checkbox.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Checkbox.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Disclosure.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Disclosure.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Icon.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Icon.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/IconButton.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/IconButton.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Input.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Input.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Label.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Label.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/OnboardingTip.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/OnboardingTip.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Radio.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Radio.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/SectionTitle.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/SectionTitle.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/SelectMenu.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/SelectMenu.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Switch.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Switch.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Textarea.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Textarea.test.tsx.snap -------------------------------------------------------------------------------- /__tests__/__snapshots__/Type.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/__tests__/__snapshots__/Type.test.tsx.snap -------------------------------------------------------------------------------- /global.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'figma-plugin-ds'; 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/rollup.config.js -------------------------------------------------------------------------------- /setupTests.ts: -------------------------------------------------------------------------------- 1 | import '@testing-library/jest-dom/extend-expect'; 2 | -------------------------------------------------------------------------------- /src/components/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Button.tsx -------------------------------------------------------------------------------- /src/components/Checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Checkbox.tsx -------------------------------------------------------------------------------- /src/components/Disclosure.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Disclosure.tsx -------------------------------------------------------------------------------- /src/components/Icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Icon.tsx -------------------------------------------------------------------------------- /src/components/IconButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/IconButton.tsx -------------------------------------------------------------------------------- /src/components/Input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Input.tsx -------------------------------------------------------------------------------- /src/components/Label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Label.tsx -------------------------------------------------------------------------------- /src/components/OnboardingTip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/OnboardingTip.tsx -------------------------------------------------------------------------------- /src/components/Radio.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Radio.tsx -------------------------------------------------------------------------------- /src/components/SectionTitle.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/SectionTitle.tsx -------------------------------------------------------------------------------- /src/components/SelectMenu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/SelectMenu.tsx -------------------------------------------------------------------------------- /src/components/Switch.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Switch.tsx -------------------------------------------------------------------------------- /src/components/Textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Textarea.tsx -------------------------------------------------------------------------------- /src/components/Type.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/Type.tsx -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/constants/colorNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/constants/colorNames.ts -------------------------------------------------------------------------------- /src/constants/iconNames.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/constants/iconNames.ts -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/constants/index.ts -------------------------------------------------------------------------------- /src/constants/sizes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/constants/sizes.ts -------------------------------------------------------------------------------- /src/constants/tints.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/constants/tints.ts -------------------------------------------------------------------------------- /src/constants/weights.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/constants/weights.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/src/types.ts -------------------------------------------------------------------------------- /stories/Button.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Button.stories.tsx -------------------------------------------------------------------------------- /stories/Checkbox.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Checkbox.stories.tsx -------------------------------------------------------------------------------- /stories/Disclosure.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Disclosure.stories.tsx -------------------------------------------------------------------------------- /stories/Icon.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Icon.stories.tsx -------------------------------------------------------------------------------- /stories/IconButton.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/IconButton.stories.tsx -------------------------------------------------------------------------------- /stories/Input.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Input.stories.tsx -------------------------------------------------------------------------------- /stories/Label.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Label.stories.tsx -------------------------------------------------------------------------------- /stories/OnboardingTip.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/OnboardingTip.stories.tsx -------------------------------------------------------------------------------- /stories/Radio.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Radio.stories.tsx -------------------------------------------------------------------------------- /stories/SectionTitle.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/SectionTitle.stories.tsx -------------------------------------------------------------------------------- /stories/SelectMenu.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/SelectMenu.stories.tsx -------------------------------------------------------------------------------- /stories/Switch.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Switch.stories.tsx -------------------------------------------------------------------------------- /stories/Textarea.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Textarea.stories.tsx -------------------------------------------------------------------------------- /stories/Type.stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/stories/Type.stories.tsx -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JB1905/react-figma-ui/HEAD/yarn.lock --------------------------------------------------------------------------------