Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from medusajs/feat/modals
Browse files Browse the repository at this point in the history
feat(ui): Add Modal, FocusModal, Header, AlertDialog, Input, useAlertDialog, and useToggleState
  • Loading branch information
kasperkristensen authored Jun 28, 2023
2 parents 05aeeb9 + 3461054 commit 5d0655f
Show file tree
Hide file tree
Showing 53 changed files with 1,726 additions and 589 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
pull_request:

jobs:
build:
name: Build and Test
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'

- name: Install dependencies
run: yarn

- name: Build
run: yarn build

- name: Test
run: yarn test
4 changes: 0 additions & 4 deletions apps/docs/.eslintrc.js

This file was deleted.

34 changes: 0 additions & 34 deletions apps/docs/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions apps/docs/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions apps/docs/app/layout.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions apps/docs/app/page.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/docs/next-env.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions apps/docs/next.config.js

This file was deleted.

25 changes: 0 additions & 25 deletions apps/docs/package.json

This file was deleted.

8 changes: 0 additions & 8 deletions apps/docs/tsconfig.json

This file was deleted.

4 changes: 0 additions & 4 deletions apps/web/.eslintrc.js

This file was deleted.

34 changes: 0 additions & 34 deletions apps/web/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions apps/web/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions apps/web/app/layout.tsx

This file was deleted.

10 changes: 0 additions & 10 deletions apps/web/app/page.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions apps/web/next-env.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions apps/web/next.config.js

This file was deleted.

25 changes: 0 additions & 25 deletions apps/web/package.json

This file was deleted.

8 changes: 0 additions & 8 deletions apps/web/tsconfig.json

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"packages/*"
],
"dependencies": {
"@changesets/cli": "^2.26.1"
"@changesets/cli": "^2.26.1",
"@radix-ui/react-dialog": "^1.0.4"
}
}
4 changes: 3 additions & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"scripts": {
"test": "vitest --run",
"test:watch": "vitest",
"test:coverage": "vitest --run --coverage",
"lint": "eslint \"**/*.ts*\"",
"storybook": "storybook dev -p 6006",
"typecheck": "tsc --noEmit"
Expand All @@ -27,11 +28,11 @@
"@types/jsdom": "^21.1.1",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitest/coverage-v8": "^0.32.2",
"autoprefixer": "^10.4.14",
"eslint": "^7.32.0",
"eslint-config-custom": "*",
"eslint-plugin-storybook": "^0.6.12",
"happy-dom": "^9.20.3",
"jsdom": "^22.1.0",
"postcss": "^8.4.24",
"prop-types": "^15.8.1",
Expand All @@ -47,6 +48,7 @@
"vitest": "^0.32.2"
},
"dependencies": {
"@radix-ui/react-alert-dialog": "^1.0.4",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-slot": "^1.0.2",
"@vitejs/plugin-react": "^4.0.1",
Expand Down
Loading

0 comments on commit 5d0655f

Please sign in to comment.