-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
dsod
committed
Feb 20, 2024
1 parent
6029ffa
commit 3e2bfdb
Showing
46 changed files
with
4,910 additions
and
1,280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Add files here to ignore them from prettier formatting | ||
/dist | ||
/coverage | ||
/.nx/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"recommendations": ["nrwl.angular-console", "biomejs.biome"] | ||
"recommendations": ["nrwl.angular-console", "biomejs.biome", "esbenp.prettier-vscode"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,65 @@ | ||
{ | ||
"name": "@dui/source", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"scripts": { | ||
"preinstall": "npx only-allow pnpm", | ||
"prepare": "husky" | ||
}, | ||
"private": false, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.5.3", | ||
"@builder.io/mitosis": "^0.0.145", | ||
"@builder.io/mitosis-cli": "^0.0.145", | ||
"@builder.io/qwik": "^1.4.3", | ||
"@nx/js": "18.0.2", | ||
"@nx/storybook": "18.0.2", | ||
"@nx/vite": "^18.0.2", | ||
"@nx/web": "18.0.2", | ||
"@nx/workspace": "18.0.2", | ||
"@pandacss/dev": "^0.30.1", | ||
"@storybook/addon-essentials": "^7.4.6", | ||
"@storybook/addon-links": "^7.4.6", | ||
"@storybook/blocks": "^7.4.6", | ||
"@storybook/builder-vite": "^7.4.6", | ||
"@storybook/html": "^7.4.6", | ||
"@storybook/html-vite": "^7.4.6", | ||
"@types/node": "18.16.9", | ||
"@types/react": "^18.2.55", | ||
"@types/react-dom": "^18.2.18", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"husky": "^9.0.10", | ||
"nx": "18.0.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"solid-js": "^1.8.14", | ||
"storybook": "^7.4.6", | ||
"storybook-framework-qwik": "^0.2.4", | ||
"typescript": "~5.3.2", | ||
"vite": "^5.0.12", | ||
"vite-plugin-solid": "^2.9.1" | ||
}, | ||
"engines": { | ||
"pnpm": ">=8.0.0", | ||
"node": ">=16.0.0" | ||
}, | ||
"dependencies": {} | ||
"name": "@dui/source", | ||
"version": "0.0.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"scripts": { | ||
"storybook": "pnpm nx run-many -t storybook --output-style=stream", | ||
"build-storybook": "pnpm nx run-many -t build-storybook --output-style=stream", | ||
"preinstall": "npx only-allow pnpm", | ||
"prepare": "husky" | ||
}, | ||
"private": false, | ||
"devDependencies": { | ||
"@biomejs/biome": "1.5.3", | ||
"@builder.io/qwik": "^1.4.3", | ||
"@nx/js": "18.0.2", | ||
"@nx/storybook": "18.0.2", | ||
"@nx/vite": "^18.0.2", | ||
"@nx/web": "18.0.2", | ||
"@nx/workspace": "18.0.2", | ||
"@pandacss/dev": "^0.32.0", | ||
"@storybook/addon-essentials": "7.6.16", | ||
"@storybook/addon-interactions": "^7.5.3", | ||
"@storybook/addon-links": "^7.4.6", | ||
"@storybook/blocks": "^7.4.6", | ||
"@storybook/builder-vite": "^7.4.6", | ||
"@storybook/core-server": "7.6.16", | ||
"@storybook/html": "^7.4.6", | ||
"@storybook/html-vite": "^7.4.6", | ||
"@storybook/jest": "^0.2.3", | ||
"@storybook/react": "7.6.16", | ||
"@storybook/react-vite": "7.6.16", | ||
"@storybook/test-runner": "^0.13.0", | ||
"@storybook/testing-library": "^0.2.2", | ||
"@swc-node/register": "~1.6.7", | ||
"@swc/core": "~1.3.85", | ||
"@swc/helpers": "~0.5.2", | ||
"@types/node": "18.16.9", | ||
"@types/react": "^18.2.55", | ||
"@types/react-dom": "^18.2.18", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"husky": "^9.0.10", | ||
"nx": "18.0.2", | ||
"prettier": "^2.6.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"solid-js": "^1.8.14", | ||
"storybook": "7.6.16", | ||
"storybook-framework-qwik": "^0.2.4", | ||
"storybook-solidjs": "1.0.0-beta.2", | ||
"storybook-solidjs-vite": "1.0.0-beta.2", | ||
"ts-node": "10.9.1", | ||
"typescript": "~5.3.2", | ||
"vite": "^5.0.12", | ||
"vite-plugin-solid": "^2.9.1" | ||
}, | ||
"engines": { | ||
"pnpm": ">=8.0.0", | ||
"node": ">=16.0.0" | ||
}, | ||
"dependencies": { | ||
"@ark-ui/react": "^2.1.1", | ||
"@ark-ui/solid": "^2.1.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
import { getDefaultConfig } from "../../postcss.base.config.mjs"; | ||
export default getDefaultConfig(); | ||
import { dirname } from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import test from "../../postcss.base.config.cjs"; | ||
|
||
const __dirname = dirname(fileURLToPath(import.meta.url)); | ||
export default test.getDefaultConfig(__dirname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"baseUrl": "./src", | ||
}, | ||
"include": ["src/**/*.ts"], | ||
"compilerOptions": {}, | ||
"include": ["src/**/*"], | ||
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@layer reset, base, tokens, recipes, utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,17 @@ | ||
import { Parameters } from "storybook-framework-qwik"; | ||
import type { Preview } from "storybook-framework-qwik"; | ||
import "./index.css"; | ||
|
||
import "../src/global.css"; | ||
|
||
export const parameters: Parameters = { | ||
a11y: { | ||
config: {}, | ||
options: { | ||
checks: { "color-contrast": { options: { noScroll: true } } }, | ||
restoreScroll: true, | ||
const preview: Preview = { | ||
parameters: { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/, | ||
}, | ||
}, | ||
}, | ||
options: { | ||
showRoots: true, | ||
}, | ||
docs: { | ||
iframeHeight: "200px", | ||
layout: "padded", | ||
}, | ||
}; | ||
|
||
export default preview; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
import { getDefaultConfig } from "../../postcss.base.config.mjs"; | ||
export default getDefaultConfig(); | ||
import { dirname } from "node:path"; | ||
import { fileURLToPath } from "node:url"; | ||
import test from "../../postcss.base.config.cjs"; | ||
|
||
const __dirname = dirname(fileURLToPath(import.meta.url)); | ||
export default test.getDefaultConfig(__dirname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
import { buttonRecipie } from "@dui/css/recipies"; | ||
import type { Component } from "@builder.io/qwik"; | ||
import { button } from "@dui/css/recipies"; | ||
import { styled } from "../../styled-system/jsx"; | ||
import type { ButtonVariantProps } from "../../styled-system/recipes"; | ||
|
||
export const Button = styled("button", buttonRecipie); | ||
export const Button = styled("button", button); | ||
export type ButtonProps = Component<ButtonVariantProps>; | ||
|
||
export const CssButton = () => <Button size="small">Hello</Button>; | ||
const Test = () => { | ||
return <Button onClick={(e) => e.preventDefault}>Test</Button>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { AspectRatio, Divider, Circle } from "../styled-system/jsx"; | ||
export type { AspectRatioProps, DividerProps, CircleProps } from "../styled-system/jsx"; | ||
export { AspectRatio, Divider, Circle, Square } from "../styled-system/jsx"; | ||
export type { AspectRatioProps, DividerProps, CircleProps, SquareProps } from "../styled-system/jsx"; | ||
export { Button } from "./button/button"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ | |
"references": [ | ||
{ | ||
"path": "./tsconfig.lib.json" | ||
}, | ||
{ | ||
"path": "./tsconfig.storybook.json" | ||
} | ||
] | ||
} |
Oops, something went wrong.