@wishket/design-system 0.0.4 → 0.2.0

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.
Files changed (128) hide show
  1. package/dist/Components/Atoms/Box/Box.d.ts +7 -0
  2. package/dist/Components/Atoms/Box/Box.stories.d.ts +6 -0
  3. package/dist/Components/Atoms/Box/index.d.ts +2 -0
  4. package/dist/Components/Atoms/Button/Button.d.ts +3 -0
  5. package/dist/Components/Atoms/Button/Button.parts.d.ts +2 -0
  6. package/dist/Components/Atoms/Button/Button.stories.d.ts +6 -0
  7. package/dist/Components/Atoms/Button/Button.types.d.ts +9 -0
  8. package/dist/Components/Atoms/Button/index.d.ts +2 -0
  9. package/dist/Components/Atoms/Checkbox/Checkbox.d.ts +3 -0
  10. package/dist/Components/Atoms/Checkbox/Checkbox.stories.d.ts +7 -0
  11. package/dist/Components/Atoms/Checkbox/Checkbox.types.d.ts +14 -0
  12. package/dist/Components/Atoms/Checkbox/index.d.ts +2 -0
  13. package/dist/Components/Atoms/ProductIcon/Icons/Bookmark.d.ts +3 -0
  14. package/dist/Components/Atoms/ProductIcon/Icons/BubbleStar.d.ts +3 -0
  15. package/dist/Components/Atoms/ProductIcon/Icons/BubbleStars.d.ts +3 -0
  16. package/dist/Components/Atoms/ProductIcon/Icons/Building.d.ts +3 -0
  17. package/dist/Components/Atoms/ProductIcon/Icons/Calendar.d.ts +3 -0
  18. package/dist/Components/Atoms/ProductIcon/Icons/CardConfirm.d.ts +3 -0
  19. package/dist/Components/Atoms/ProductIcon/Icons/CardWrite.d.ts +3 -0
  20. package/dist/Components/Atoms/ProductIcon/Icons/Congrats.d.ts +3 -0
  21. package/dist/Components/Atoms/ProductIcon/Icons/Credit.d.ts +3 -0
  22. package/dist/Components/Atoms/ProductIcon/Icons/Database.d.ts +3 -0
  23. package/dist/Components/Atoms/ProductIcon/Icons/Design.d.ts +3 -0
  24. package/dist/Components/Atoms/ProductIcon/Icons/Discount.d.ts +3 -0
  25. package/dist/Components/Atoms/ProductIcon/Icons/DocumentCloud.d.ts +3 -0
  26. package/dist/Components/Atoms/ProductIcon/Icons/DocumentSuccess.d.ts +3 -0
  27. package/dist/Components/Atoms/ProductIcon/Icons/Email.d.ts +3 -0
  28. package/dist/Components/Atoms/ProductIcon/Icons/HandShake.d.ts +3 -0
  29. package/dist/Components/Atoms/ProductIcon/Icons/HandThumb.d.ts +3 -0
  30. package/dist/Components/Atoms/ProductIcon/Icons/Idea.d.ts +3 -0
  31. package/dist/Components/Atoms/ProductIcon/Icons/Lock.d.ts +3 -0
  32. package/dist/Components/Atoms/ProductIcon/Icons/Logout.d.ts +3 -0
  33. package/dist/Components/Atoms/ProductIcon/Icons/MemoWrite.d.ts +3 -0
  34. package/dist/Components/Atoms/ProductIcon/Icons/MobileConfirm.d.ts +3 -0
  35. package/dist/Components/Atoms/ProductIcon/Icons/PaperCertify.d.ts +3 -0
  36. package/dist/Components/Atoms/ProductIcon/Icons/PaperClip.d.ts +3 -0
  37. package/dist/Components/Atoms/ProductIcon/Icons/PaperClock.d.ts +3 -0
  38. package/dist/Components/Atoms/ProductIcon/Icons/PaperConfirm.d.ts +3 -0
  39. package/dist/Components/Atoms/ProductIcon/Icons/PaperContract.d.ts +3 -0
  40. package/dist/Components/Atoms/ProductIcon/Icons/PaperHold.d.ts +3 -0
  41. package/dist/Components/Atoms/ProductIcon/Icons/PaperOverlap.d.ts +3 -0
  42. package/dist/Components/Atoms/ProductIcon/Icons/PaperProject.d.ts +3 -0
  43. package/dist/Components/Atoms/ProductIcon/Icons/PaperSecurity.d.ts +3 -0
  44. package/dist/Components/Atoms/ProductIcon/Icons/PersonFreelancer.d.ts +3 -0
  45. package/dist/Components/Atoms/ProductIcon/Icons/PersonOffice.d.ts +3 -0
  46. package/dist/Components/Atoms/ProductIcon/Icons/PersonSmile.d.ts +3 -0
  47. package/dist/Components/Atoms/ProductIcon/Icons/Receipt.d.ts +3 -0
  48. package/dist/Components/Atoms/ProductIcon/Icons/Repair.d.ts +3 -0
  49. package/dist/Components/Atoms/ProductIcon/Icons/Search.d.ts +3 -0
  50. package/dist/Components/Atoms/ProductIcon/Icons/SearchConfirm.d.ts +3 -0
  51. package/dist/Components/Atoms/ProductIcon/Icons/ShieldConfirm.d.ts +3 -0
  52. package/dist/Components/Atoms/ProductIcon/Icons/ShieldWon.d.ts +3 -0
  53. package/dist/Components/Atoms/ProductIcon/Icons/Shopping.d.ts +3 -0
  54. package/dist/Components/Atoms/ProductIcon/Icons/WebDevelopment.d.ts +3 -0
  55. package/dist/Components/Atoms/ProductIcon/Icons/WebDomain.d.ts +3 -0
  56. package/dist/Components/Atoms/ProductIcon/Icons/WebPayment.d.ts +3 -0
  57. package/dist/Components/Atoms/ProductIcon/Icons/WebSecurity.d.ts +3 -0
  58. package/dist/Components/Atoms/ProductIcon/Icons/WidePaperConfirm.d.ts +3 -0
  59. package/dist/Components/Atoms/ProductIcon/Icons/WidePaperPayment.d.ts +3 -0
  60. package/dist/Components/Atoms/ProductIcon/Icons/WidePaperPlan.d.ts +3 -0
  61. package/dist/Components/Atoms/ProductIcon/Icons/WidePaperStructure.d.ts +3 -0
  62. package/dist/Components/Atoms/ProductIcon/Icons/index.d.ts +49 -0
  63. package/dist/Components/Atoms/ProductIcon/ProductIcon.d.ts +3 -0
  64. package/dist/Components/Atoms/ProductIcon/ProductIcon.stories.d.ts +7 -0
  65. package/dist/Components/Atoms/ProductIcon/ProductIcon.types.d.ts +7 -0
  66. package/dist/Components/Atoms/ProductIcon/index.d.ts +2 -0
  67. package/dist/Components/Atoms/Typography//bTypography.stories.d.ts +7 -0
  68. package/dist/Components/Atoms/Typography/Typography.d.ts +3 -0
  69. package/dist/Components/Atoms/Typography/Typography.types.d.ts +7 -0
  70. package/{Components/Atoms/Typography/index.ts → dist/Components/Atoms/Typography/index.d.ts} +0 -1
  71. package/dist/Components/Atoms/index.d.ts +5 -0
  72. package/dist/Components/Molecules/CheckboxCard/CheckboxCard.d.ts +3 -0
  73. package/dist/Components/Molecules/CheckboxCard/CheckboxCard.parts.d.ts +5 -0
  74. package/dist/Components/Molecules/CheckboxCard/CheckboxCard.stories.d.ts +8 -0
  75. package/dist/Components/Molecules/CheckboxCard/CheckboxCard.types.d.ts +30 -0
  76. package/dist/Components/Molecules/CheckboxCard/index.d.ts +2 -0
  77. package/dist/Components/Molecules/CheckboxCard/useCheckboxCard.d.ts +14 -0
  78. package/dist/Components/Molecules/CheckboxList/CHeckboxList.stories.d.ts +7 -0
  79. package/dist/Components/Molecules/CheckboxList/CheckboxList.d.ts +3 -0
  80. package/dist/Components/Molecules/CheckboxList/CheckboxList.types.d.ts +15 -0
  81. package/dist/Components/Molecules/CheckboxList/CheckboxListItem.d.ts +11 -0
  82. package/dist/Components/Molecules/CheckboxList/index.d.ts +2 -0
  83. package/dist/Components/Molecules/GridLayout/GridLayout.d.ts +3 -0
  84. package/dist/Components/Molecules/GridLayout/GridLayout.stories.d.ts +7 -0
  85. package/dist/Components/Molecules/GridLayout/GridLayout.types.d.ts +5 -0
  86. package/dist/Components/Molecules/GridLayout/index.d.ts +2 -0
  87. package/dist/Components/Molecules/index.d.ts +3 -0
  88. package/dist/config/tailwind.config.js +168 -0
  89. package/dist/index.d.ts +2 -0
  90. package/dist/index.es.js +1 -0
  91. package/dist/index.js +1 -0
  92. package/dist/types/checkbox.types.d.ts +6 -0
  93. package/dist/types/index.d.ts +1 -0
  94. package/package.json +47 -14
  95. package/.editorconfig +0 -12
  96. package/.eslintignore +0 -3
  97. package/.eslintrc.js +0 -33
  98. package/.github/CODEOWNERS +0 -1
  99. package/.github/ISSUE_TEMPLATE/bug.md +0 -44
  100. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -29
  101. package/.github/pull_request_template.md +0 -36
  102. package/.github/release-drafter.yml +0 -49
  103. package/.github/workflows/design-system-canary.yml +0 -78
  104. package/.github/workflows/design-system-dev.yml +0 -77
  105. package/.github/workflows/design-system-release.yml +0 -61
  106. package/.github/workflows/pr-checklist.yml +0 -23
  107. package/.github/workflows/release-drafter.yml +0 -16
  108. package/.github/workflows/todo-bot.yml +0 -19
  109. package/.prettierrc +0 -7
  110. package/.vscode/settings.json +0 -24
  111. package/Components/Atoms/Typography/Typography.d.ts +0 -3
  112. package/Components/Atoms/Typography/Typography.tsx +0 -9
  113. package/Components/Atoms/index.ts +0 -1
  114. package/Components/index.ts +0 -1
  115. package/__test__/setupTests.ts +0 -3
  116. package/index.d.ts +0 -1
  117. package/index.js +0 -1
  118. package/jest.config.js +0 -26
  119. package/next.config.js +0 -4
  120. package/postcss.config.js +0 -6
  121. package/public/next.svg +0 -1
  122. package/public/vercel.svg +0 -1
  123. package/src/app/favicon.ico +0 -0
  124. package/src/app/globals.css +0 -3
  125. package/src/app/layout.tsx +0 -19
  126. package/src/app/page.tsx +0 -9
  127. package/tailwind.config.ts +0 -19
  128. package/tsconfig.json +0 -27
package/jest.config.js DELETED
@@ -1,26 +0,0 @@
1
- // jest.config.js
2
- // eslint-disable-next-line @typescript-eslint/no-var-requires
3
- const nextJest = require('next/jest');
4
-
5
- const createJestConfig = nextJest({
6
- // Provide the path to your Next.js app to load next.config.js and .env files in your test environment
7
- dir: './',
8
- });
9
-
10
- // Add any custom config to be passed to Jest
11
- const customJestConfig = {
12
- // Add more setup options before each test is run
13
- setupFiles: ['dotenv/config'],
14
- setupFilesAfterEnv: ['<rootDir>/__test__/setupTests.ts'],
15
- testPathIgnorePatterns: ['<rootDir>/.next/', '<rootDir>/node_modules/'],
16
- // if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
17
- moduleDirectories: ['node_modules', '<rootDir>/'],
18
- testEnvironment: 'jest-environment-jsdom',
19
- moduleNameMapper: {
20
- '\\.(css|less|scss|sss|style)$': '<rootDir>/node_modules/jest-css-modules',
21
- '^@/(.*)$': '<rootDir>/src/$1',
22
- },
23
- };
24
-
25
- // createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
26
- module.exports = createJestConfig(customJestConfig);
package/next.config.js DELETED
@@ -1,4 +0,0 @@
1
- /** @type {import('next').NextConfig} */
2
- const nextConfig = {}
3
-
4
- module.exports = nextConfig
package/postcss.config.js DELETED
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- }
package/public/next.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
package/public/vercel.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>
Binary file
@@ -1,3 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
@@ -1,19 +0,0 @@
1
- import type { Metadata } from 'next';
2
- import { Inter } from 'next/font/google';
3
- import './globals.css';
4
- import { PropsWithChildren } from 'react';
5
-
6
- const inter = Inter({ subsets: ['latin'] });
7
-
8
- export const metadata: Metadata = {
9
- title: 'Create Next App',
10
- description: 'Generated by create next app',
11
- };
12
-
13
- export default function RootLayout({ children }: PropsWithChildren) {
14
- return (
15
- <html lang="en">
16
- <body className={inter.className}>{children}</body>
17
- </html>
18
- );
19
- }
package/src/app/page.tsx DELETED
@@ -1,9 +0,0 @@
1
- import { Typography } from '../../Components';
2
-
3
- export default function Home() {
4
- return (
5
- <div>
6
- <Typography />
7
- </div>
8
- );
9
- }
@@ -1,19 +0,0 @@
1
- import type { Config } from 'tailwindcss';
2
-
3
- const config: Config = {
4
- content: [
5
- './Components/**/*.{js,ts,jsx,tsx,mdx}',
6
- './src/app/**/*.{js,ts,jsx,tsx,mdx}',
7
- ],
8
- theme: {
9
- extend: {
10
- backgroundImage: {
11
- 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
12
- 'gradient-conic':
13
- 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
14
- },
15
- },
16
- },
17
- plugins: [],
18
- };
19
- export default config;
package/tsconfig.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es5",
4
- "lib": ["dom", "dom.iterable", "esnext"],
5
- "allowJs": true,
6
- "skipLibCheck": true,
7
- "strict": true,
8
- "noEmit": true,
9
- "esModuleInterop": true,
10
- "module": "esnext",
11
- "moduleResolution": "bundler",
12
- "resolveJsonModule": true,
13
- "isolatedModules": true,
14
- "jsx": "preserve",
15
- "incremental": true,
16
- "plugins": [
17
- {
18
- "name": "next"
19
- }
20
- ],
21
- "paths": {
22
- "@/*": ["./src/*"]
23
- }
24
- },
25
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "index.js"],
26
- "exclude": ["node_modules"]
27
- }