-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/kufu/smarthr-ui into fix-…
…textarea-maxlength-to-limitlength
- Loading branch information
Showing
483 changed files
with
2,019 additions
and
1,360 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
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 |
---|---|---|
|
@@ -24,6 +24,6 @@ jobs: | |
- name: run | ||
run: | | ||
pnpm install | ||
pnpm e2e | ||
pnpm ui e2e | ||
env: | ||
TESTCAFE_BROWSER: ${{ matrix.browser }} |
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,201 +1,39 @@ | ||
{ | ||
"private": true, | ||
"name": "smarthr-ui", | ||
"description": "SmartHR ui components built with React.", | ||
"version": "48.0.0", | ||
"author": "SmartHR-UI Team", | ||
"dependencies": { | ||
"@smarthr/wareki": "^1.2.0", | ||
"css-loader": "^7.1.1", | ||
"dayjs": "^1.11.10", | ||
"lodash.merge": "^4.6.2", | ||
"lodash.range": "^3.2.0", | ||
"polished": "^4.3.0", | ||
"postcss-loader": "^8.1.1", | ||
"react-draggable": "^4.4.6", | ||
"react-icons": "^5.1.0", | ||
"react-innertext": "^1.1.5", | ||
"react-transition-group": "^4.4.5", | ||
"style-loader": "^4.0.0", | ||
"tailwind-variants": "^0.2.1", | ||
"tailwindcss": "^3.4.3" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.4", | ||
"@babel/preset-env": "^7.24.4", | ||
"@babel/preset-react": "^7.24.1", | ||
"@babel/preset-typescript": "^7.24.1", | ||
"@storybook/addon-a11y": "^8.0.8", | ||
"@storybook/addon-actions": "^8.0.8", | ||
"@storybook/addon-essentials": "^8.0.8", | ||
"@storybook/addon-interactions": "^8.0.8", | ||
"@storybook/addon-storysource": "^8.0.8", | ||
"@commitlint/cli": "^19.2.2", | ||
"@commitlint/config-conventional": "^19.2.2", | ||
"@storybook/addon-styling": "^1.3.7", | ||
"@storybook/addon-viewport": "^8.0.8", | ||
"@storybook/addon-webpack5-compiler-babel": "^3.0.3", | ||
"@storybook/blocks": "^8.0.8", | ||
"@storybook/cli": "^8.0.8", | ||
"@storybook/manager-api": "^8.0.8", | ||
"@storybook/react": "^8.0.8", | ||
"@storybook/react-webpack5": "^8.0.8", | ||
"@storybook/source-loader": "^8.0.8", | ||
"@storybook/test": "^8.0.8", | ||
"@storybook/addon-styling-webpack": "^1.0.0", | ||
"@storybook/test-runner": "^0.17.0", | ||
"@storybook/theming": "^8.0.8", | ||
"@swc/core": "^1.4.16", | ||
"@swc/jest": "^0.2.36", | ||
"@testing-library/react": "^15.0.2", | ||
"@types/jest": "^29.5.12", | ||
"@types/lodash.merge": "^4.6.9", | ||
"@types/lodash.range": "^3.2.9", | ||
"@types/node": "^20.12.7", | ||
"@types/react": "^18.2.79", | ||
"@types/react-dom": "^18.2.25", | ||
"@types/react-test-renderer": "^17.0.9", | ||
"@types/react-transition-group": "^4.4.10", | ||
"@types/styled-components": "^5.1.34", | ||
"autoprefixer": "^10.4.19", | ||
"axe-playwright": "^2.0.1", | ||
"babel-loader": "^9.1.3", | ||
"babel-plugin-polyfill-corejs2": "^0.4.11", | ||
"babel-plugin-polyfill-regenerator": "^0.6.2", | ||
"chromatic": "^11.3.0", | ||
"ecma-version-validator-webpack-plugin": "^1.2.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-smarthr": "^6.28.0", | ||
"eslint-plugin-storybook": "^0.8.0", | ||
"fs-extra": "^11.2.0", | ||
"glob": "10.3.12", | ||
"http-server": "^14.1.1", | ||
"husky": "^9.0.11", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"jest-styled-components": "^7.2.0", | ||
"lint-staged": "^15.2.2", | ||
"memory-fs": "^0.5.0", | ||
"npm-run-all": "^4.1.5", | ||
"postcss": "^8.4.38", | ||
"postcss-styled-syntax": "^0.6.4", | ||
"postcss-syntax": "^0.36.2", | ||
"prettier": "^3.2.5", | ||
"prettier-config-smarthr": "^1.0.0", | ||
"prettier-plugin-tailwindcss": "^0.5.14", | ||
"puppeteer": "^22.6.5", | ||
"react": "^18.2.0", | ||
"react-docgen-typescript": "^2.2.2", | ||
"react-dom": "^18.2.0", | ||
"react-ga4": "^2.1.0", | ||
"react-test-renderer": "^18.2.0", | ||
"rimraf": "^5.0.5", | ||
"standard-version": "^9.3.2", | ||
"storybook": "^8.0.8", | ||
"storybook-addon-pseudo-states": "^3.0.1", | ||
"styled-components": "^5.3.11", | ||
"stylelint": "^16.3.1", | ||
"stylelint-config-prettier": "^9.0.5", | ||
"stylelint-config-smarthr": "^3.0.0", | ||
"stylelint-config-standard": "^36.0.0", | ||
"stylelint-config-styled-components": "^0.1.1", | ||
"testcafe": "3.5.0", | ||
"ts-loader": "^9.5.1", | ||
"ts-node": "^10.9.2", | ||
"ttypescript": "^1.5.15", | ||
"typescript": "^5.4.5", | ||
"typescript-plugin-styled-components": "^3.0.0", | ||
"wait-on": "^7.2.0", | ||
"webpack": "^5.91.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "16.13.0 || ^17.0.1 || ^18.0.0", | ||
"react-dom": "16.13.0 || ^17.0.1 || ^18.0.0", | ||
"styled-components": "^5.0.1" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/kufu/smarthr-ui/issues" | ||
}, | ||
"files": [ | ||
"esm", | ||
"lib", | ||
"smarthr-ui.css" | ||
], | ||
"homepage": "https://github.com/kufu/smarthr-ui#readme", | ||
"keywords": [ | ||
"react", | ||
"react-component", | ||
"smarthr", | ||
"typescript" | ||
], | ||
"license": "MIT", | ||
"lint-staged": { | ||
"*.{ts,tsx}": [ | ||
"eslint --fix", | ||
"prettier --write", | ||
"stylelint --fix" | ||
] | ||
}, | ||
"main": "lib/index.js", | ||
"module": "esm/index.js", | ||
"publishConfig": { | ||
"access": "public", | ||
"registry": "https://registry.npmjs.org" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/kufu/smarthr-ui.git" | ||
"typescript": "^5.4.5" | ||
}, | ||
"scripts": { | ||
"build": "run-p build:*", | ||
"build:lib": "tsc -p tsconfig.build.json", | ||
"build:esm": "tsc -p tsconfig.esm.build.json", | ||
"build:css": "tailwindcss -i ./src/styles/index.css -o ./smarthr-ui.css", | ||
"build-storybook": "storybook build --quiet", | ||
"build-stylesheet": "ttsc -p tsconfig.stylesheet.json; node scripts/build-stylesheet.ts", | ||
"clean": "rimraf ./lib ./esm ./smarthr-ui.css", | ||
"format": "run-s -c format:*", | ||
"format:eslint": "eslint --fix './**/*.ts{,x}'", | ||
"format:prettier": "prettier --write './src/**/*.ts{,x}'", | ||
"format:stylelint": "stylelint --fix './src/**/*.ts{,x}'", | ||
"lint": "run-p lint:*", | ||
"lint:eslint": "eslint './**/*.ts{,x}'", | ||
"lint:prettier": "prettier --check './src/**/*.ts{,x}'", | ||
"lint:style": "stylelint './**/*.ts{,x}'", | ||
"lint:tsc": "tsc --noEmit", | ||
"ui": "pnpm -F smarthr-ui", | ||
"commitmsg": "commitlint -e $GIT_PARAMS", | ||
"prepublishOnly": "run-s clean lint build", | ||
"release": "standard-version -a", | ||
"release:dryrun": "standard-version --dry-run", | ||
"storybook": "storybook dev -p 6006", | ||
"dev": "run-s storybook", | ||
"test": "jest", | ||
"test:update-snapshot": "jest --updateSnapshot", | ||
"test:build-assets": "node scripts/build-test.ts", | ||
"test-storybook:ci": "wait-on tcp:6006 && pnpm test-storybook --maxWorkers=2 --junit", | ||
"testcafe": "testcafe", | ||
"e2e": "ts-node scripts/e2e.ts", | ||
"e2e:dev": "testcafe chrome --hostname localhost --skip-js-errors --live", | ||
"prepare": "husky", | ||
"chromatic": "chromatic", | ||
"write:ui-props": "ts-node scripts/exportUIProps.ts", | ||
"export:ui-props": "run-s build:lib write:ui-props" | ||
"prepare": "husky" | ||
}, | ||
"sideEffects": [ | ||
"*.css" | ||
], | ||
"typings": "lib/index.d.ts", | ||
"pnpm": { | ||
"overrides": { | ||
"@babel/helper-compilation-targets": "^7.23.6", | ||
"@types/react": "^18.2.55", | ||
"@types/react": "^18.3.1", | ||
"minimist": "1.2.8", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
} | ||
}, | ||
"standard-version": { | ||
"scripts": { | ||
"prerelease": "run-s build:lib write:ui-props && git add public/exports/smarthr-ui-props.json" | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1" | ||
} | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.