Skip to content

Commit

Permalink
Merge branch 'master' of github.com:razorpay/blade into feat/tagged-i…
Browse files Browse the repository at this point in the history
…nputs
  • Loading branch information
saurabhdaware committed Apr 10, 2024
2 parents 42fec1f + 7d73830 commit b15f442
Show file tree
Hide file tree
Showing 341 changed files with 10,048 additions and 9,859 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/blade-bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Update Bundle Size Data
run: yarn generate-bundle-size-info
Expand All @@ -51,11 +47,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Build Blade React Production
run: yarn run-s build:clean build:generate-types build:react-prod
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/blade-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Publish to Chromatic
uses: chromaui/action@v1
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/blade-interaction-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Run Interaction Tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/blade-pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Blade PR Title Check

on:
pull_request_target:
types: [open, edited, synchronize]
types: [opened, edited, synchronize]

concurrency: # cancel previously running workflows when a new workflow is re-run
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/blade-tokens-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Upload Tokens
working-directory: packages/blade
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/blade-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Build Blade
run: yarn build
Expand All @@ -45,11 +41,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Run Unit Tests
run: yarn test
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18.12.1
# https://stackoverflow.com/a/73824182
registry-url: "https://npm.pkg.github.com"
- name: Setup Cache & Install Dependencies
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/actions/install-dependencies
- name: Create Release Pull Request & Publish packages
id: changesets
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@razorpay:registry=https://registry.npmjs.org/
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
"@babel/eslint-parser": "7.21.8",
"@changesets/cli": "2.24.1",
"@types/jest": "26.0.23",
"@types/react": "17.0.4",
"@types/react-native": "0.64.4",
"@types/styled-components": "5.1.25",
"@types/styled-components-react-native": "5.1.3",
"@types/react": "18.2.24",
"@typescript-eslint/eslint-plugin": "5.59.6",
"@typescript-eslint/parser": "5.59.6",
"@typescript-eslint/utils": "5.59.6",
Expand Down Expand Up @@ -63,6 +60,10 @@
"stylelint-processor-styled-components": "1.10.0",
"typescript": "4.8.2"
},
"resolutions": {
"@types/react": "18.2.24",
"@types/styled-components": "5.1.34"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
Expand Down
18 changes: 18 additions & 0 deletions packages/blade/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @razorpay/blade

## 11.11.0

### Minor Changes

- 8c5231d4: feat: add large size in FileUpload component

#### Usage

```js
<FileUpload
size="large"
uploadType="single"
label="Upload GST certificate"
helpText="Upload .jpg, .jpeg, or .png file only"
accept="image/*"
/>
```

## 11.10.0

### Minor Changes
Expand Down
Loading

0 comments on commit b15f442

Please sign in to comment.