@o2project/design-system 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": ["github>kubosho/configs//renovate/default"]
3
+ }
@@ -0,0 +1,98 @@
1
+ name: npm Publish
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+ branches:
9
+ - main
10
+
11
+ # Allows you to run this workflow manually from the Actions tab
12
+ workflow_dispatch:
13
+
14
+ jobs:
15
+ setup:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
19
+
20
+ - name: Setup Node.js
21
+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
22
+ with:
23
+ node-version: 24
24
+
25
+ - name: Restore node_modules cache
26
+ id: restore-node-modules-cache
27
+ uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
28
+ with:
29
+ path: node_modules
30
+ key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
31
+ restore-keys: |
32
+ ${{ runner.os }}-node-modules-
33
+
34
+ - name: Install dependencies
35
+ if: ${{ steps.restore-node-modules-cache.outputs.cache-hit != 'true' }}
36
+ run: npm ci
37
+
38
+ - name: Cache node_modules
39
+ if: ${{ steps.restore-node-modules-cache.outputs.cache-hit != 'true' }}
40
+ uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
41
+ with:
42
+ path: node_modules
43
+ key: ${{ steps.restore-node-modules-cache.outputs.cache-primary-key }}
44
+
45
+ test:
46
+ needs: setup
47
+ runs-on: ubuntu-latest
48
+ strategy:
49
+ matrix:
50
+ test-type:
51
+ - check-typescript
52
+ - lint
53
+ fail-fast: false
54
+
55
+ steps:
56
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
57
+
58
+ - name: Setup Node.js
59
+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
60
+ with:
61
+ node-version: 24
62
+
63
+ - name: Restore node_modules cache
64
+ uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
65
+ with:
66
+ path: node_modules
67
+ key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
68
+ restore-keys: |
69
+ ${{ runner.os }}-node-modules-
70
+
71
+ - name: Run tests
72
+ run: npm run ${{ matrix.test-type }}
73
+
74
+ release:
75
+ needs: test
76
+ runs-on: ubuntu-latest
77
+
78
+ steps:
79
+ - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
80
+
81
+ - name: Setup Node.js
82
+ uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
83
+ with:
84
+ node-version: 24
85
+
86
+ - name: Restore node_modules cache
87
+ uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
88
+ with:
89
+ path: node_modules
90
+ key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
91
+ restore-keys: |
92
+ ${{ runner.os }}-node-modules-
93
+
94
+ - name: Release script
95
+ run: npx semantic-release
96
+ env:
97
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,19 @@
1
+
2
+
3
+ /** @type { import('@storybook/react-vite').StorybookConfig } */
4
+ const config = {
5
+ "stories": [
6
+ "../stories/**/*.mdx",
7
+ "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"
8
+ ],
9
+ "addons": [
10
+ "@storybook/addon-docs",
11
+ "@storybook/addon-onboarding"
12
+ ],
13
+ "framework": {
14
+ "name": "@storybook/react-vite",
15
+ "options": {}
16
+ }
17
+ };
18
+
19
+ export default config;
@@ -0,0 +1,15 @@
1
+ import './tailwind.css';
2
+
3
+ /** @type { import('@storybook/react-vite').Preview } */
4
+ const preview = {
5
+ parameters: {
6
+ controls: {
7
+ matchers: {
8
+ color: /(background|color)$/i,
9
+ date: /Date$/i,
10
+ },
11
+ },
12
+ },
13
+ };
14
+
15
+ export default preview;
@@ -0,0 +1 @@
1
+ @import "tailwindcss";
package/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ ## [1.0.1](https://github.com/o2project/design-system/compare/v1.0.0...v1.0.1) (2025-11-09)
2
+
3
+ ### 🐛 Bug Fixes
4
+
5
+ * add publishConfig of package.json ([0ad7cdd](https://github.com/o2project/design-system/commit/0ad7cdd17ce89dec408e2cb07dbc79b23df603d2))
6
+
7
+ ## 1.0.0 (2025-11-09)
8
+
9
+ ### 🐛 Bug Fixes
10
+
11
+ * **eslint:** correct ESLint config and set Storybook rules ([142328a](https://github.com/o2project/design-system/commit/142328aefe6fad008795c18f17fdac79dd5ffaf2))
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 O2 Project
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,129 @@
1
+ # design-system
2
+
3
+ Design system for O2 Project
4
+
5
+ ## 🚀 Getting Started
6
+
7
+ This design system is built with [Storybook](https://storybook.js.org/) and styled with [Tailwind CSS](https://tailwindcss.com/).
8
+
9
+ ### Prerequisites
10
+
11
+ - Node.js (version 18 or higher recommended)
12
+ - npm
13
+
14
+ ### Installation
15
+
16
+ ```bash
17
+ npm install
18
+ ```
19
+
20
+ ### Development
21
+
22
+ Start the Storybook development server:
23
+
24
+ ```bash
25
+ npm run storybook
26
+ ```
27
+
28
+ This will start Storybook at [http://localhost:15021](http://localhost:15021)
29
+
30
+ ### Build
31
+
32
+ Build a static version of Storybook:
33
+
34
+ ```bash
35
+ npm run build-storybook
36
+ ```
37
+
38
+ The static files will be generated in the `storybook-static/` directory.
39
+
40
+ ## 📦 Component Structure
41
+
42
+ Components are organized in the `src/components/` directory with their stories collocated in the same directory:
43
+
44
+ ```
45
+ src/
46
+ └── components/
47
+ ├── Card/
48
+ │ ├── Card.jsx # Component implementation
49
+ │ └── Card.stories.js # Storybook stories
50
+ ├── Button/
51
+ │ ├── Button.jsx
52
+ │ ├── Button.stories.js
53
+ │ └── button.css
54
+ └── ...
55
+ ```
56
+
57
+ ## 🎯 Creating New Components
58
+
59
+ 1. Create a new directory in `src/components/` with your component name
60
+ 2. Add your component file `YourComponent.jsx` in that directory
61
+ 3. Style it using Tailwind CSS utility classes (or add a CSS file if needed)
62
+ 4. Create a story file `YourComponent.stories.js` in the same directory
63
+ 5. The component will automatically appear in Storybook
64
+
65
+ ### Example Component
66
+
67
+ ```jsx
68
+ import React from 'react';
69
+
70
+ export const Button = ({ label, variant = 'primary' }) => {
71
+ return (
72
+ <button className={`px-4 py-2 rounded ${variant === 'primary' ? 'bg-blue-500 text-white' : 'bg-gray-200'}`}>
73
+ {label}
74
+ </button>
75
+ );
76
+ };
77
+ ```
78
+
79
+ ### Example Story
80
+
81
+ ```javascript
82
+ import { Button } from './Button';
83
+
84
+ export default {
85
+ title: 'Components/Button',
86
+ component: Button,
87
+ };
88
+
89
+ export const Primary = {
90
+ args: {
91
+ label: 'Click me',
92
+ variant: 'primary',
93
+ },
94
+ };
95
+ ```
96
+
97
+ ## 🎨 Tailwind CSS
98
+
99
+ Tailwind CSS is configured and integrated with Storybook. You can use all Tailwind utility classes in your components.
100
+
101
+ ## 📚 Documentation
102
+
103
+ Storybook automatically generates documentation for your components. Add JSDoc comments to your component props for better documentation:
104
+
105
+ ```jsx
106
+ /**
107
+ * Primary UI component for user interaction
108
+ */
109
+ export const Button = ({
110
+ /** Button text */
111
+ label,
112
+ /** Visual style variant */
113
+ variant = 'primary'
114
+ }) => {
115
+ // ...
116
+ };
117
+ ```
118
+
119
+ ## 🤝 Contributing
120
+
121
+ 1. Create a new component in `src/components/`
122
+ 2. Add Tailwind CSS classes for styling
123
+ 3. Create stories to showcase different states
124
+ 4. Test in Storybook
125
+ 5. Submit a pull request
126
+
127
+ ## 📄 License
128
+
129
+ MIT
@@ -0,0 +1,121 @@
1
+ # O2 Project Design System - Color Scheme
2
+
3
+ This document defines the color schemes used in the O2 Project design system.
4
+
5
+ ## Base Color Palette
6
+
7
+ The design system includes four base color palettes, each with 8 shades (100-800):
8
+
9
+ ### Blue
10
+ Primary brand color with 8 shades from light to dark.
11
+
12
+ - `blue-100`: #0086ed
13
+ - `blue-200`: #0076d1
14
+ - `blue-300`: #0067b5
15
+ - `blue-400`: #005799
16
+ - `blue-500`: #00477d
17
+ - `blue-600`: #003760
18
+ - `blue-700`: #002745
19
+ - `blue-800`: #001729
20
+
21
+ ### Beige
22
+ Neutral warm tone with 8 shades.
23
+
24
+ - `beige-100`: #ebe8ce
25
+ - `beige-200`: #d1cfb8
26
+ - `beige-300`: #b8b5a2
27
+ - `beige-400`: #9e9c8b
28
+ - `beige-500`: #858475
29
+ - `beige-600`: #69675c
30
+ - `beige-700`: #4a4940
31
+ - `beige-800`: #2b2b27
32
+
33
+ ### Yellow
34
+ Accent color with 8 shades.
35
+
36
+ - `yellow-100`: #f0e800
37
+ - `yellow-200`: #d4cd00
38
+ - `yellow-300`: #b8b100
39
+ - `yellow-400`: #9c9600
40
+ - `yellow-500`: #807b00
41
+ - `yellow-600`: #636000
42
+ - `yellow-700`: #474500
43
+ - `yellow-800`: #2b2a00
44
+
45
+ ### Monotone
46
+ Grayscale palette with 8 shades.
47
+
48
+ - `monotone-100`: #fafafa
49
+ - `monotone-200`: #d6d6d6
50
+ - `monotone-300`: #bababa
51
+ - `monotone-400`: #9e9e9e
52
+ - `monotone-500`: #828282
53
+ - `monotone-600`: #636363
54
+ - `monotone-700`: #474747
55
+ - `monotone-800`: #1a1a1a
56
+
57
+ ## Semantic Color Tokens
58
+
59
+ Semantic tokens provide meaning and intent to colors, making it easier to maintain consistency across the design system.
60
+
61
+ ### Primary Colors
62
+
63
+ Colors used for primary brand elements and key UI components.
64
+
65
+ - **main**: `blue-600` (#003760) - Primary brand color for main CTAs and important elements
66
+ - **sub**: `beige-500` (#858475) - Secondary color for supporting elements
67
+ - **accent**: `yellow-200` (#d4cd00) - Accent color for highlights and emphasis
68
+
69
+ ### Neutral Colors
70
+
71
+ Colors used for backgrounds, text, and borders.
72
+
73
+ - **background**: `monotone-100` (#fafafa) - Default background color
74
+ - **text-main**: `monotone-800` (#1a1a1a) - Primary text color for headings and body text
75
+ - **text-sub**: `monotone-600` (#636363) - Secondary text color for less prominent text
76
+ - **link**: `blue-200` (#0076d1) - Color for links and interactive text
77
+ - **border**: `monotone-400` (#9e9e9e) - Default border color for components
78
+
79
+ ## Usage in Tailwind CSS
80
+
81
+ You can use these colors in your components with Tailwind's utility classes:
82
+
83
+ ### Base Colors
84
+ ```jsx
85
+ <div className="bg-blue-600 text-white">Primary Button</div>
86
+ <p className="text-monotone-800">Main text content</p>
87
+ ```
88
+
89
+ ### Semantic Tokens
90
+ ```jsx
91
+ <div className="bg-primary-main text-white">Primary Button</div>
92
+ <p className="text-neutral-text-main">Main text content</p>
93
+ <a className="text-neutral-link">Link text</a>
94
+ <div className="border border-neutral-border">Card component</div>
95
+ ```
96
+
97
+ ## TypeScript Usage
98
+
99
+ When using TypeScript with Tailwind, these colors are available in your components:
100
+
101
+ ```tsx
102
+ interface ButtonProps {
103
+ variant?: 'primary' | 'secondary';
104
+ }
105
+
106
+ export const Button: React.FC<ButtonProps> = ({ variant = 'primary' }) => {
107
+ const baseClasses = variant === 'primary'
108
+ ? 'bg-primary-main text-white'
109
+ : 'bg-neutral-background text-neutral-text-main border border-neutral-border';
110
+
111
+ return <button className={baseClasses}>Click me</button>;
112
+ };
113
+ ```
114
+
115
+ ## Best Practices
116
+
117
+ 1. **Use semantic tokens** whenever possible instead of base colors for better maintainability
118
+ 2. **Primary colors** should be used for CTAs and important interactive elements
119
+ 3. **Neutral colors** should be used for text, backgrounds, and borders
120
+ 4. **Maintain contrast ratios** for accessibility (WCAG AA minimum 4.5:1 for normal text)
121
+ 5. **Test colors** in both light and dark contexts to ensure readability
@@ -0,0 +1,26 @@
1
+ import config from '@kubosho/configs/eslint';
2
+ import { defineConfig } from 'eslint/config';
3
+ import storybook from 'eslint-plugin-storybook';
4
+
5
+ export default defineConfig([
6
+ ...config,
7
+ {
8
+ files: ['**/*.stories.ts', '**/*.stories.tsx'],
9
+ extends: [storybook.configs['flat/recommended']],
10
+ },
11
+ {
12
+ files: ['**/*.ts', '**/*.tsx'],
13
+ rules: {
14
+ 'import/no-extraneous-dependencies': [
15
+ 'error',
16
+ {
17
+ devDependencies: [
18
+ '**/.storybook/**/*.ts',
19
+ '**/*.config.*',
20
+ '**/*.test.*',
21
+ ],
22
+ },
23
+ ],
24
+ },
25
+ },
26
+ ]);
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@o2project/design-system",
3
+ "version": "1.0.1",
4
+ "type": "module",
5
+ "description": "Design system for O2 Project",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "main": "index.js",
10
+ "scripts": {
11
+ "check-typescript": "tsc --noEmit",
12
+ "lint": "eslint '**/*.{js,jsx,ts,tsx}'",
13
+ "format": "prettier --write .",
14
+ "storybook": "storybook dev -p 15021",
15
+ "build-storybook": "storybook build"
16
+ },
17
+ "keywords": [],
18
+ "author": "O2 Project",
19
+ "license": "MIT",
20
+ "dependencies": {
21
+ "react": "19.2.0",
22
+ "react-dom": "19.2.0"
23
+ },
24
+ "devDependencies": {
25
+ "@eslint/js": "9.39.1",
26
+ "@kubosho/configs": "6.5.9",
27
+ "@semantic-release/changelog": "6.0.3",
28
+ "@semantic-release/commit-analyzer": "13.0.1",
29
+ "@semantic-release/git": "10.0.1",
30
+ "@semantic-release/github": "12.0.2",
31
+ "@semantic-release/npm": "13.1.1",
32
+ "@semantic-release/release-notes-generator": "14.1.0",
33
+ "@storybook/addon-docs": "10.0.6",
34
+ "@storybook/addon-onboarding": "10.0.6",
35
+ "@storybook/react-vite": "10.0.6",
36
+ "@tailwindcss/postcss": "4.1.16",
37
+ "@types/react": "19.2.2",
38
+ "@types/react-dom": "19.2.2",
39
+ "autoprefixer": "10.4.21",
40
+ "conventional-changelog-conventionalcommits": "9.1.0",
41
+ "eslint": "9.39.1",
42
+ "eslint-config-prettier": "10.1.8",
43
+ "eslint-import-resolver-typescript": "4.4.4",
44
+ "eslint-plugin-import": "2.32.0",
45
+ "eslint-plugin-jsx-a11y": "6.10.2",
46
+ "eslint-plugin-react": "7.37.5",
47
+ "eslint-plugin-simple-import-sort": "12.1.1",
48
+ "eslint-plugin-storybook": "10.0.6",
49
+ "postcss": "8.5.6",
50
+ "prettier": "3.6.2",
51
+ "prop-types": "15.8.1",
52
+ "semantic-release": "25.0.2",
53
+ "storybook": "10.0.6",
54
+ "tailwindcss": "4.1.16",
55
+ "typescript": "5.9.3",
56
+ "typescript-eslint": "8.46.3"
57
+ }
58
+ }
@@ -0,0 +1,6 @@
1
+ export default {
2
+ plugins: {
3
+ "@tailwindcss/postcss": {},
4
+ autoprefixer: {},
5
+ },
6
+ };
@@ -0,0 +1,5 @@
1
+ import config from '@kubosho/configs/prettier';
2
+
3
+ export default {
4
+ ...config,
5
+ };
@@ -0,0 +1,5 @@
1
+ import config from '@kubosho/configs/semantic_release';
2
+
3
+ export default {
4
+ ...config,
5
+ };
File without changes
@@ -0,0 +1,364 @@
1
+ import { Meta } from "@storybook/addon-docs/blocks";
2
+
3
+ import Github from "./assets/github.svg";
4
+ import Discord from "./assets/discord.svg";
5
+ import Youtube from "./assets/youtube.svg";
6
+ import Tutorials from "./assets/tutorials.svg";
7
+ import Styling from "./assets/styling.png";
8
+ import Context from "./assets/context.png";
9
+ import Assets from "./assets/assets.png";
10
+ import Docs from "./assets/docs.png";
11
+ import Share from "./assets/share.png";
12
+ import FigmaPlugin from "./assets/figma-plugin.png";
13
+ import Testing from "./assets/testing.png";
14
+ import Accessibility from "./assets/accessibility.png";
15
+ import Theming from "./assets/theming.png";
16
+ import AddonLibrary from "./assets/addon-library.png";
17
+
18
+ export const RightArrow = () => <svg
19
+ viewBox="0 0 14 14"
20
+ width="8px"
21
+ height="14px"
22
+ style={{
23
+ marginLeft: '4px',
24
+ display: 'inline-block',
25
+ shapeRendering: 'inherit',
26
+ verticalAlign: 'middle',
27
+ fill: 'currentColor',
28
+ 'path fill': 'currentColor'
29
+ }}
30
+ >
31
+ <path d="m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z" />
32
+ </svg>
33
+
34
+ <Meta title="Configure your project" />
35
+
36
+ <div className="sb-container">
37
+ <div className='sb-section-title'>
38
+ # Configure your project
39
+
40
+ Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community.
41
+ </div>
42
+ <div className="sb-section">
43
+ <div className="sb-section-item">
44
+ <img
45
+ src={Styling}
46
+ alt="A wall of logos representing different styling technologies"
47
+ />
48
+ <h4 className="sb-section-item-heading">Add styling and CSS</h4>
49
+ <p className="sb-section-item-paragraph">Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook.</p>
50
+ <a
51
+ href="https://storybook.js.org/docs/configure/styling-and-css/?renderer=react&ref=configure"
52
+ target="_blank"
53
+ >Learn more<RightArrow /></a>
54
+ </div>
55
+ <div className="sb-section-item">
56
+ <img
57
+ src={Context}
58
+ alt="An abstraction representing the composition of data for a component"
59
+ />
60
+ <h4 className="sb-section-item-heading">Provide context and mocking</h4>
61
+ <p className="sb-section-item-paragraph">Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available.</p>
62
+ <a
63
+ href="https://storybook.js.org/docs/writing-stories/decorators/?renderer=react&ref=configure#context-for-mocking"
64
+ target="_blank"
65
+ >Learn more<RightArrow /></a>
66
+ </div>
67
+ <div className="sb-section-item">
68
+ <img src={Assets} alt="A representation of typography and image assets" />
69
+ <div>
70
+ <h4 className="sb-section-item-heading">Load assets and resources</h4>
71
+ <p className="sb-section-item-paragraph">To link static files (like fonts) to your projects and stories, use the
72
+ `staticDirs` configuration option to specify folders to load when
73
+ starting Storybook.</p>
74
+ <a
75
+ href="https://storybook.js.org/docs/configure/images-and-assets/?renderer=react&ref=configure"
76
+ target="_blank"
77
+ >Learn more<RightArrow /></a>
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ <div className="sb-container">
83
+ <div className='sb-section-title'>
84
+ # Do more with Storybook
85
+
86
+ Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs.
87
+ </div>
88
+
89
+ <div className="sb-section">
90
+ <div className="sb-features-grid">
91
+ <div className="sb-grid-item">
92
+ <img src={Docs} alt="A screenshot showing the autodocs tag being set, pointing a docs page being generated" />
93
+ <h4 className="sb-section-item-heading">Autodocs</h4>
94
+ <p className="sb-section-item-paragraph">Auto-generate living,
95
+ interactive reference documentation from your components and stories.</p>
96
+ <a
97
+ href="https://storybook.js.org/docs/writing-docs/autodocs/?renderer=react&ref=configure"
98
+ target="_blank"
99
+ >Learn more<RightArrow /></a>
100
+ </div>
101
+ <div className="sb-grid-item">
102
+ <img src={Share} alt="A browser window showing a Storybook being published to a chromatic.com URL" />
103
+ <h4 className="sb-section-item-heading">Publish to Chromatic</h4>
104
+ <p className="sb-section-item-paragraph">Publish your Storybook to review and collaborate with your entire team.</p>
105
+ <a
106
+ href="https://storybook.js.org/docs/sharing/publish-storybook/?renderer=react&ref=configure#publish-storybook-with-chromatic"
107
+ target="_blank"
108
+ >Learn more<RightArrow /></a>
109
+ </div>
110
+ <div className="sb-grid-item">
111
+ <img src={FigmaPlugin} alt="Windows showing the Storybook plugin in Figma" />
112
+ <h4 className="sb-section-item-heading">Figma Plugin</h4>
113
+ <p className="sb-section-item-paragraph">Embed your stories into Figma to cross-reference the design and live
114
+ implementation in one place.</p>
115
+ <a
116
+ href="https://storybook.js.org/docs/sharing/design-integrations/?renderer=react&ref=configure#embed-storybook-in-figma-with-the-plugin"
117
+ target="_blank"
118
+ >Learn more<RightArrow /></a>
119
+ </div>
120
+ <div className="sb-grid-item">
121
+ <img src={Testing} alt="Screenshot of tests passing and failing" />
122
+ <h4 className="sb-section-item-heading">Testing</h4>
123
+ <p className="sb-section-item-paragraph">Use stories to test a component in all its variations, no matter how
124
+ complex.</p>
125
+ <a
126
+ href="https://storybook.js.org/docs/writing-tests/?renderer=react&ref=configure"
127
+ target="_blank"
128
+ >Learn more<RightArrow /></a>
129
+ </div>
130
+ <div className="sb-grid-item">
131
+ <img src={Accessibility} alt="Screenshot of accessibility tests passing and failing" />
132
+ <h4 className="sb-section-item-heading">Accessibility</h4>
133
+ <p className="sb-section-item-paragraph">Automatically test your components for a11y issues as you develop.</p>
134
+ <a
135
+ href="https://storybook.js.org/docs/writing-tests/accessibility-testing/?renderer=react&ref=configure"
136
+ target="_blank"
137
+ >Learn more<RightArrow /></a>
138
+ </div>
139
+ <div className="sb-grid-item">
140
+ <img src={Theming} alt="Screenshot of Storybook in light and dark mode" />
141
+ <h4 className="sb-section-item-heading">Theming</h4>
142
+ <p className="sb-section-item-paragraph">Theme Storybook's UI to personalize it to your project.</p>
143
+ <a
144
+ href="https://storybook.js.org/docs/configure/theming/?renderer=react&ref=configure"
145
+ target="_blank"
146
+ >Learn more<RightArrow /></a>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ <div className='sb-addon'>
152
+ <div className='sb-addon-text'>
153
+ <h4>Addons</h4>
154
+ <p className="sb-section-item-paragraph">Integrate your tools with Storybook to connect workflows.</p>
155
+ <a
156
+ href="https://storybook.js.org/addons/?ref=configure"
157
+ target="_blank"
158
+ >Discover all addons<RightArrow /></a>
159
+ </div>
160
+ <div className='sb-addon-img'>
161
+ <img src={AddonLibrary} alt="Integrate your tools with Storybook to connect workflows." />
162
+ </div>
163
+ </div>
164
+
165
+ <div className="sb-section sb-socials">
166
+ <div className="sb-section-item">
167
+ <img src={Github} alt="Github logo" className="sb-explore-image"/>
168
+ Join our contributors building the future of UI development.
169
+
170
+ <a
171
+ href="https://github.com/storybookjs/storybook"
172
+ target="_blank"
173
+ >Star on GitHub<RightArrow /></a>
174
+ </div>
175
+ <div className="sb-section-item">
176
+ <img src={Discord} alt="Discord logo" className="sb-explore-image"/>
177
+ <div>
178
+ Get support and chat with frontend developers.
179
+
180
+ <a
181
+ href="https://discord.gg/storybook"
182
+ target="_blank"
183
+ >Join Discord server<RightArrow /></a>
184
+ </div>
185
+ </div>
186
+ <div className="sb-section-item">
187
+ <img src={Youtube} alt="Youtube logo" className="sb-explore-image"/>
188
+ <div>
189
+ Watch tutorials, feature previews and interviews.
190
+
191
+ <a
192
+ href="https://www.youtube.com/@chromaticui"
193
+ target="_blank"
194
+ >Watch on YouTube<RightArrow /></a>
195
+ </div>
196
+ </div>
197
+ <div className="sb-section-item">
198
+ <img src={Tutorials} alt="A book" className="sb-explore-image"/>
199
+ <p>Follow guided walkthroughs on for key workflows.</p>
200
+
201
+ <a
202
+ href="https://storybook.js.org/tutorials/?ref=configure"
203
+ target="_blank"
204
+ >Discover tutorials<RightArrow /></a>
205
+ </div>
206
+ </div>
207
+
208
+ <style>
209
+ {`
210
+ .sb-container {
211
+ margin-bottom: 48px;
212
+ }
213
+
214
+ .sb-section {
215
+ width: 100%;
216
+ display: flex;
217
+ flex-direction: row;
218
+ gap: 20px;
219
+ }
220
+
221
+ img {
222
+ object-fit: cover;
223
+ }
224
+
225
+ .sb-section-title {
226
+ margin-bottom: 32px;
227
+ }
228
+
229
+ .sb-section a:not(h1 a, h2 a, h3 a) {
230
+ font-size: 14px;
231
+ }
232
+
233
+ .sb-section-item, .sb-grid-item {
234
+ flex: 1;
235
+ display: flex;
236
+ flex-direction: column;
237
+ }
238
+
239
+ .sb-section-item-heading {
240
+ padding-top: 20px !important;
241
+ padding-bottom: 5px !important;
242
+ margin: 0 !important;
243
+ }
244
+ .sb-section-item-paragraph {
245
+ margin: 0;
246
+ padding-bottom: 10px;
247
+ }
248
+
249
+ .sb-chevron {
250
+ margin-left: 5px;
251
+ }
252
+
253
+ .sb-features-grid {
254
+ display: grid;
255
+ grid-template-columns: repeat(2, 1fr);
256
+ grid-gap: 32px 20px;
257
+ }
258
+
259
+ .sb-socials {
260
+ display: grid;
261
+ grid-template-columns: repeat(4, 1fr);
262
+ }
263
+
264
+ .sb-socials p {
265
+ margin-bottom: 10px;
266
+ }
267
+
268
+ .sb-explore-image {
269
+ max-height: 32px;
270
+ align-self: flex-start;
271
+ }
272
+
273
+ .sb-addon {
274
+ width: 100%;
275
+ display: flex;
276
+ align-items: center;
277
+ position: relative;
278
+ background-color: #EEF3F8;
279
+ border-radius: 5px;
280
+ border: 1px solid rgba(0, 0, 0, 0.05);
281
+ background: #EEF3F8;
282
+ height: 180px;
283
+ margin-bottom: 48px;
284
+ overflow: hidden;
285
+ }
286
+
287
+ .sb-addon-text {
288
+ padding-left: 48px;
289
+ max-width: 240px;
290
+ }
291
+
292
+ .sb-addon-text h4 {
293
+ padding-top: 0px;
294
+ }
295
+
296
+ .sb-addon-img {
297
+ position: absolute;
298
+ left: 345px;
299
+ top: 0;
300
+ height: 100%;
301
+ width: 200%;
302
+ overflow: hidden;
303
+ }
304
+
305
+ .sb-addon-img img {
306
+ width: 650px;
307
+ transform: rotate(-15deg);
308
+ margin-left: 40px;
309
+ margin-top: -72px;
310
+ box-shadow: 0 0 1px rgba(255, 255, 255, 0);
311
+ backface-visibility: hidden;
312
+ }
313
+
314
+ @media screen and (max-width: 800px) {
315
+ .sb-addon-img {
316
+ left: 300px;
317
+ }
318
+ }
319
+
320
+ @media screen and (max-width: 600px) {
321
+ .sb-section {
322
+ flex-direction: column;
323
+ }
324
+
325
+ .sb-features-grid {
326
+ grid-template-columns: repeat(1, 1fr);
327
+ }
328
+
329
+ .sb-socials {
330
+ grid-template-columns: repeat(2, 1fr);
331
+ }
332
+
333
+ .sb-addon {
334
+ height: 280px;
335
+ align-items: flex-start;
336
+ padding-top: 32px;
337
+ overflow: hidden;
338
+ }
339
+
340
+ .sb-addon-text {
341
+ padding-left: 24px;
342
+ }
343
+
344
+ .sb-addon-img {
345
+ right: 0;
346
+ left: 0;
347
+ top: 130px;
348
+ bottom: 0;
349
+ overflow: hidden;
350
+ height: auto;
351
+ width: 124%;
352
+ }
353
+
354
+ .sb-addon-img img {
355
+ width: 1200px;
356
+ transform: rotate(-12deg);
357
+ margin-left: 0;
358
+ margin-top: 48px;
359
+ margin-bottom: -40px;
360
+ margin-left: -24px;
361
+ }
362
+ }
363
+ `}
364
+ </style>
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48"><title>Accessibility</title><circle cx="24.334" cy="24" r="24" fill="#A849FF" fill-opacity=".3"/><path fill="#A470D5" fill-rule="evenodd" d="M27.8609 11.585C27.8609 9.59506 26.2497 7.99023 24.2519 7.99023C22.254 7.99023 20.6429 9.65925 20.6429 11.585C20.6429 13.575 22.254 15.1799 24.2519 15.1799C26.2497 15.1799 27.8609 13.575 27.8609 11.585ZM21.8922 22.6473C21.8467 23.9096 21.7901 25.4788 21.5897 26.2771C20.9853 29.0462 17.7348 36.3314 17.3325 37.2275C17.1891 37.4923 17.1077 37.7955 17.1077 38.1178C17.1077 39.1519 17.946 39.9902 18.9802 39.9902C19.6587 39.9902 20.253 39.6293 20.5814 39.0889L20.6429 38.9874L24.2841 31.22C24.2841 31.22 27.5529 37.9214 27.9238 38.6591C28.2948 39.3967 28.8709 39.9902 29.7168 39.9902C30.751 39.9902 31.5893 39.1519 31.5893 38.1178C31.5893 37.7951 31.3639 37.2265 31.3639 37.2265C30.9581 36.3258 27.698 29.0452 27.0938 26.2771C26.8975 25.4948 26.847 23.9722 26.8056 22.7236C26.7927 22.333 26.7806 21.9693 26.7653 21.6634C26.7008 21.214 27.0231 20.8289 27.4097 20.7005L35.3366 18.3253C36.3033 18.0685 36.8834 16.9773 36.6256 16.0144C36.3678 15.0515 35.2722 14.4737 34.3055 14.7305C34.3055 14.7305 26.8619 17.1057 24.2841 17.1057C21.7062 17.1057 14.456 14.7947 14.456 14.7947C13.4893 14.5379 12.3937 14.9873 12.0715 15.9502C11.7493 16.9131 12.3293 18.0044 13.3604 18.3253L21.2873 20.7005C21.674 20.8289 21.9318 21.214 21.9318 21.6634C21.9174 21.9493 21.9053 22.2857 21.8922 22.6473Z" clip-rule="evenodd"/></svg>
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="33" height="32" fill="none" viewBox="0 0 33 32"><g clip-path="url(#clip0_10031_177575)"><mask id="mask0_10031_177575" style="mask-type:luminance" width="33" height="25" x="0" y="4" maskUnits="userSpaceOnUse"><path fill="#fff" d="M32.5034 4.00195H0.503906V28.7758H32.5034V4.00195Z"/></mask><g mask="url(#mask0_10031_177575)"><path fill="#5865F2" d="M27.5928 6.20817C25.5533 5.27289 23.3662 4.58382 21.0794 4.18916C21.0378 4.18154 20.9962 4.20057 20.9747 4.23864C20.6935 4.73863 20.3819 5.3909 20.1637 5.90358C17.7042 5.53558 15.2573 5.53558 12.8481 5.90358C12.6299 5.37951 12.307 4.73863 12.0245 4.23864C12.003 4.20184 11.9614 4.18281 11.9198 4.18916C9.63431 4.58255 7.44721 5.27163 5.40641 6.20817C5.38874 6.21578 5.3736 6.22848 5.36355 6.24497C1.21508 12.439 0.078646 18.4809 0.636144 24.4478C0.638667 24.477 0.655064 24.5049 0.677768 24.5227C3.41481 26.5315 6.06609 27.7511 8.66815 28.5594C8.70979 28.5721 8.75392 28.5569 8.78042 28.5226C9.39594 27.6826 9.94461 26.7968 10.4151 25.8653C10.4428 25.8107 10.4163 25.746 10.3596 25.7244C9.48927 25.3945 8.66058 24.9922 7.86343 24.5354C7.80038 24.4986 7.79533 24.4084 7.85333 24.3653C8.02108 24.2397 8.18888 24.109 8.34906 23.977C8.37804 23.9529 8.41842 23.9478 8.45249 23.963C13.6894 26.3526 19.359 26.3526 24.5341 23.963C24.5682 23.9465 24.6086 23.9516 24.6388 23.9757C24.799 24.1077 24.9668 24.2397 25.1358 24.3653C25.1938 24.4084 25.19 24.4986 25.127 24.5354C24.3298 25.0011 23.5011 25.3945 22.6296 25.7232C22.5728 25.7447 22.5476 25.8107 22.5754 25.8653C23.0559 26.7955 23.6046 27.6812 24.2087 28.5213C24.234 28.5569 24.2794 28.5721 24.321 28.5594C26.9357 27.7511 29.5869 26.5315 32.324 24.5227C32.348 24.5049 32.3631 24.4783 32.3656 24.4491C33.0328 17.5506 31.2481 11.5584 27.6344 6.24623C27.6256 6.22848 27.6105 6.21578 27.5928 6.20817ZM11.1971 20.8146C9.62043 20.8146 8.32129 19.3679 8.32129 17.5913C8.32129 15.8146 9.59523 14.368 11.1971 14.368C12.8115 14.368 14.0981 15.8273 14.0729 17.5913C14.0729 19.3679 12.7989 20.8146 11.1971 20.8146ZM21.8299 20.8146C20.2533 20.8146 18.9541 19.3679 18.9541 17.5913C18.9541 15.8146 20.228 14.368 21.8299 14.368C23.4444 14.368 24.7309 15.8273 24.7057 17.5913C24.7057 19.3679 23.4444 20.8146 21.8299 20.8146Z"/></g></g><defs><clipPath id="clip0_10031_177575"><rect width="32" height="32" fill="#fff" transform="translate(0.5)"/></clipPath></defs></svg>
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32"><path fill="#161614" d="M16.0001 0C7.16466 0 0 7.17472 0 16.0256C0 23.1061 4.58452 29.1131 10.9419 31.2322C11.7415 31.3805 12.0351 30.8845 12.0351 30.4613C12.0351 30.0791 12.0202 28.8167 12.0133 27.4776C7.56209 28.447 6.62283 25.5868 6.62283 25.5868C5.89499 23.7345 4.8463 23.2419 4.8463 23.2419C3.39461 22.2473 4.95573 22.2678 4.95573 22.2678C6.56242 22.3808 7.40842 23.9192 7.40842 23.9192C8.83547 26.3691 11.1514 25.6609 12.0645 25.2514C12.2081 24.2156 12.6227 23.5087 13.0803 23.1085C9.52648 22.7032 5.7906 21.3291 5.7906 15.1886C5.7906 13.4389 6.41563 12.0094 7.43916 10.8871C7.27303 10.4834 6.72537 8.85349 7.59415 6.64609C7.59415 6.64609 8.93774 6.21539 11.9953 8.28877C13.2716 7.9337 14.6404 7.75563 16.0001 7.74953C17.3599 7.75563 18.7297 7.9337 20.0084 8.28877C23.0623 6.21539 24.404 6.64609 24.404 6.64609C25.2749 8.85349 24.727 10.4834 24.5608 10.8871C25.5868 12.0094 26.2075 13.4389 26.2075 15.1886C26.2075 21.3437 22.4645 22.699 18.9017 23.0957C19.4756 23.593 19.9869 24.5683 19.9869 26.0634C19.9869 28.2077 19.9684 29.9334 19.9684 30.4613C19.9684 30.8877 20.2564 31.3874 21.0674 31.2301C27.4213 29.1086 32 23.1037 32 16.0256C32 7.17472 24.8364 0 16.0001 0ZM5.99257 22.8288C5.95733 22.9084 5.83227 22.9322 5.71834 22.8776C5.60229 22.8253 5.53711 22.7168 5.57474 22.6369C5.60918 22.5549 5.7345 22.5321 5.85029 22.587C5.9666 22.6393 6.03284 22.7489 5.99257 22.8288ZM6.7796 23.5321C6.70329 23.603 6.55412 23.5701 6.45291 23.4581C6.34825 23.3464 6.32864 23.197 6.40601 23.125C6.4847 23.0542 6.62937 23.0874 6.73429 23.1991C6.83895 23.3121 6.85935 23.4605 6.7796 23.5321ZM7.31953 24.4321C7.2215 24.5003 7.0612 24.4363 6.96211 24.2938C6.86407 24.1513 6.86407 23.9804 6.96422 23.9119C7.06358 23.8435 7.2215 23.905 7.32191 24.0465C7.41968 24.1914 7.41968 24.3623 7.31953 24.4321ZM8.23267 25.4743C8.14497 25.5712 7.95818 25.5452 7.82146 25.413C7.68156 25.2838 7.64261 25.1004 7.73058 25.0035C7.81934 24.9064 8.00719 24.9337 8.14497 25.0648C8.28381 25.1938 8.3262 25.3785 8.23267 25.4743ZM9.41281 25.8262C9.37413 25.9517 9.19423 26.0088 9.013 25.9554C8.83203 25.9005 8.7136 25.7535 8.75016 25.6266C8.78778 25.5003 8.96848 25.4408 9.15104 25.4979C9.33174 25.5526 9.45044 25.6985 9.41281 25.8262ZM10.7559 25.9754C10.7604 26.1076 10.6067 26.2172 10.4165 26.2196C10.2252 26.2238 10.0704 26.1169 10.0683 25.9868C10.0683 25.8534 10.2185 25.7448 10.4098 25.7416C10.6001 25.7379 10.7559 25.8441 10.7559 25.9754ZM12.0753 25.9248C12.0981 26.0537 11.9658 26.1862 11.7769 26.2215C11.5912 26.2554 11.4192 26.1758 11.3957 26.0479C11.3726 25.9157 11.5072 25.7833 11.6927 25.7491C11.8819 25.7162 12.0512 25.7937 12.0753 25.9248Z"/></svg>
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="33" height="32" fill="none" viewBox="0 0 33 32"><g clip-path="url(#clip0_10031_177597)"><path fill="#B7F0EF" fill-rule="evenodd" d="M17 7.87059C17 6.48214 17.9812 5.28722 19.3431 5.01709L29.5249 2.99755C31.3238 2.64076 33 4.01717 33 5.85105V22.1344C33 23.5229 32.0188 24.7178 30.6569 24.9879L20.4751 27.0074C18.6762 27.3642 17 25.9878 17 24.1539L17 7.87059Z" clip-rule="evenodd" opacity=".7"/><path fill="#87E6E5" fill-rule="evenodd" d="M1 5.85245C1 4.01857 2.67623 2.64215 4.47507 2.99895L14.6569 5.01848C16.0188 5.28861 17 6.48354 17 7.87198V24.1553C17 25.9892 15.3238 27.3656 13.5249 27.0088L3.34311 24.9893C1.98119 24.7192 1 23.5242 1 22.1358V5.85245Z" clip-rule="evenodd"/><path fill="#61C1FD" fill-rule="evenodd" d="M15.543 5.71289C15.543 5.71289 16.8157 5.96289 17.4002 6.57653C17.9847 7.19016 18.4521 9.03107 18.4521 9.03107C18.4521 9.03107 18.4521 25.1106 18.4521 26.9629C18.4521 28.8152 19.3775 31.4174 19.3775 31.4174L17.4002 28.8947L16.2575 31.4174C16.2575 31.4174 15.543 29.0765 15.543 27.122C15.543 25.1674 15.543 5.71289 15.543 5.71289Z" clip-rule="evenodd"/></g><defs><clipPath id="clip0_10031_177597"><rect width="32" height="32" fill="#fff" transform="translate(0.5)"/></clipPath></defs></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="none" viewBox="0 0 32 32"><path fill="#ED1D24" d="M31.3313 8.44657C30.9633 7.08998 29.8791 6.02172 28.5022 5.65916C26.0067 5.00026 16 5.00026 16 5.00026C16 5.00026 5.99333 5.00026 3.4978 5.65916C2.12102 6.02172 1.03665 7.08998 0.668678 8.44657C0 10.9053 0 16.0353 0 16.0353C0 16.0353 0 21.1652 0.668678 23.6242C1.03665 24.9806 2.12102 26.0489 3.4978 26.4116C5.99333 27.0703 16 27.0703 16 27.0703C16 27.0703 26.0067 27.0703 28.5022 26.4116C29.8791 26.0489 30.9633 24.9806 31.3313 23.6242C32 21.1652 32 16.0353 32 16.0353C32 16.0353 32 10.9053 31.3313 8.44657Z"/><path fill="#fff" d="M12.7266 20.6934L21.0902 16.036L12.7266 11.3781V20.6934Z"/></svg>
@@ -0,0 +1,66 @@
1
+ /** @type {import('tailwindcss').Config} */
2
+
3
+ export default {
4
+ content: ["./stories/**/*.{js,jsx,ts,tsx,mdx}", "./src/**/*.{js,jsx,ts,tsx}"],
5
+ theme: {
6
+ extend: {
7
+ colors: {
8
+ // Base color palette
9
+ blue: {
10
+ 100: "#0086ed",
11
+ 200: "#0076d1",
12
+ 300: "#0067b5",
13
+ 400: "#005799",
14
+ 500: "#00477d",
15
+ 600: "#003760",
16
+ 700: "#002745",
17
+ 800: "#001729",
18
+ },
19
+ beige: {
20
+ 100: "#ebe8ce",
21
+ 200: "#d1cfb8",
22
+ 300: "#b8b5a2",
23
+ 400: "#9e9c8b",
24
+ 500: "#858475",
25
+ 600: "#69675c",
26
+ 700: "#4a4940",
27
+ 800: "#2b2b27",
28
+ },
29
+ yellow: {
30
+ 100: "#f0e800",
31
+ 200: "#d4cd00",
32
+ 300: "#b8b100",
33
+ 400: "#9c9600",
34
+ 500: "#807b00",
35
+ 600: "#636000",
36
+ 700: "#474500",
37
+ 800: "#2b2a00",
38
+ },
39
+ monotone: {
40
+ 100: "#fafafa",
41
+ 200: "#d6d6d6",
42
+ 300: "#bababa",
43
+ 400: "#9e9e9e",
44
+ 500: "#828282",
45
+ 600: "#636363",
46
+ 700: "#474747",
47
+ 800: "#1a1a1a",
48
+ },
49
+ // Semantic color tokens
50
+ primary: {
51
+ main: "#003760", // blue-600
52
+ sub: "#858475", // beige-500
53
+ accent: "#d4cd00", // yellow-200
54
+ },
55
+ neutral: {
56
+ background: "#fafafa", // monotone-100
57
+ "text-main": "#1a1a1a", // monotone-800
58
+ "text-sub": "#636363", // monotone-600
59
+ link: "#0076d1", // blue-200
60
+ border: "#9e9e9e", // monotone-400
61
+ },
62
+ },
63
+ },
64
+ },
65
+ plugins: [],
66
+ };
package/tsconfig.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "extends": "@kubosho/configs/typescript/tsconfig.json",
3
+ "compilerOptions": {
4
+ "jsx": "react-jsx"
5
+ },
6
+ "include": ["src"],
7
+ "references": [{ "path": "./tsconfig.storybook.json" }]
8
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "compilerOptions": {
3
+ "composite": true,
4
+ "declaration": true,
5
+
6
+ "module": "ESNext",
7
+ "moduleResolution": "bundler",
8
+ "skipLibCheck": true
9
+ },
10
+ "include": [".storybook"]
11
+ }