@junyiacademy/ui-test 1.4.1 → 1.4.2

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.
Binary file
Binary file
Binary file
@@ -91,7 +91,7 @@ const TopicFilter = ({ topicTree, onTopicSelected, isLastLayer, hasArrow, initSe
91
91
  return (react_1.default.createElement(FiltersWrapper, null, layeredTopicList.map((layeredTopic, layerNumber) => {
92
92
  const hasLabel = isFocusedList[layerNumber] || !selectedTopicIds[layerNumber];
93
93
  return (react_1.default.createElement(SelectWrapper, { key: layeredTopic.id },
94
- react_1.default.createElement(StyledSelect, { variant: 'outlined', size: 'small', paperMaxHeight: 412, hasLabel: hasLabel, placeholder: PLACEHOLDER, value: (selectedTopicIds === null || selectedTopicIds === void 0 ? void 0 : selectedTopicIds[layerNumber]) || '', SelectProps: {
94
+ react_1.default.createElement(StyledSelect, { variant: 'outlined', size: 'medium', paperMaxHeight: 1000, hasLabel: hasLabel, placeholder: PLACEHOLDER, value: (selectedTopicIds === null || selectedTopicIds === void 0 ? void 0 : selectedTopicIds[layerNumber]) || '', SelectProps: {
95
95
  'data-testid': `layered-topic-${layerNumber}`,
96
96
  }, InputProps: {
97
97
  inputProps: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@junyiacademy/ui-test",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "junyiacademy ui library",
5
5
  "main": "./dist/libs/ui/src/index.js",
6
6
  "typings": "./declarations/libs/ui/src/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@material-ui/core": "4.9.10",
21
21
  "@material-ui/icons": "4.9.1",
22
- "react": "16.13.1"
22
+ "react": "17.0.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "typescript": "~4.1.4"
package/.eslintrc.json DELETED
@@ -1,24 +0,0 @@
1
- {
2
- "extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"],
3
- "ignorePatterns": ["!**/*"],
4
- "overrides": [
5
- {
6
- "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
7
- "parserOptions": {
8
- "project": [
9
- "libs/ui/tsconfig.*?.json",
10
- "libs/ui/.storybook/tsconfig.json"
11
- ]
12
- },
13
- "rules": {}
14
- },
15
- {
16
- "files": ["*.ts", "*.tsx"],
17
- "rules": {}
18
- },
19
- {
20
- "files": ["*.js", "*.jsx"],
21
- "rules": {}
22
- }
23
- ]
24
- }
package/jest.config.js DELETED
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- displayName: 'ui',
3
- preset: '../../jest.preset.js',
4
- transform: {
5
- '^.+\\.[tj]sx?$': 'babel-jest',
6
- },
7
- moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
8
- coverageDirectory: '../../coverage/libs/ui',
9
- }
package/tsconfig.json DELETED
@@ -1,16 +0,0 @@
1
- {
2
- "extends": "../../tsconfig.base.json",
3
- "compilerOptions": {
4
- "jsx": "react",
5
- "allowJs": true,
6
- "esModuleInterop": true,
7
- "allowSyntheticDefaultImports": true
8
- },
9
- "files": [],
10
- "include": [],
11
- "references": [
12
- {
13
- "path": "./tsconfig.lib.json"
14
- }
15
- ]
16
- }
package/tsconfig.lib.json DELETED
@@ -1,22 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "declaration": true,
6
- "declarationDir": "./declarations",
7
- "outDir": "./dist",
8
- "sourceMap": false
9
- },
10
- "files": [],
11
- "exclude": [
12
- "./src/**/*.stories.tsx",
13
- "./src/**/*.spec.ts",
14
- "./src/**/*.spec.tsx",
15
- "./src/**/*.spec.js",
16
- "./src/**/*.spec.jsx",
17
- "./src/**/*.d.ts",
18
- "./src/styles/*",
19
- "./src/utils/*"
20
- ],
21
- "include": ["./src/**/*"]
22
- }
@@ -1,15 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "outDir": "../../dist/out-tsc",
5
- "module": "commonjs",
6
- "types": ["jest", "node"]
7
- },
8
- "include": [
9
- "**/*.spec.ts",
10
- "**/*.spec.tsx",
11
- "**/*.spec.js",
12
- "**/*.spec.jsx",
13
- "**/*.d.ts"
14
- ]
15
- }