@openfin/ui-library 0.20.0-alpha.1 → 0.20.0-alpha.1687971721

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.
Files changed (27) hide show
  1. package/LICENSE.md +5 -5
  2. package/README.md +211 -211
  3. package/dist/assets/fonts/index.js +1 -1
  4. package/dist/components/controls/ClickableNavigation/clickableNavigation.d.ts +11 -0
  5. package/dist/components/controls/ClickableNavigation/index.d.ts +1 -0
  6. package/dist/components/controls/CollapsibleCard/cardContainer.d.ts +6 -0
  7. package/dist/components/controls/CollapsibleCard/collapsibleCard.d.ts +10 -0
  8. package/dist/components/controls/CollapsibleCard/index.d.ts +1 -0
  9. package/dist/components/elements/Icon/openfin/ExclamationCircledFilledIcon.d.ts +3 -4
  10. package/dist/components/helper/ValidationError.d.ts +6 -0
  11. package/dist/components/input/BaseInput/baseInput.d.ts +7 -0
  12. package/dist/components/input/Checkbox/checkbox.d.ts +3 -0
  13. package/dist/components/input/CheckboxGroup/checkboxGroup.d.ts +7 -0
  14. package/dist/components/input/CheckboxGroup/index.d.ts +1 -0
  15. package/dist/components/input/NumberInput/numberInput.d.ts +7 -0
  16. package/dist/components/input/RadioInput/radioInput.d.ts +3 -0
  17. package/dist/components/input/TextArea/index.d.ts +1 -0
  18. package/dist/components/input/TextArea/textArea.d.ts +8 -0
  19. package/dist/components/input/TextInput/textInput.d.ts +3 -0
  20. package/dist/components/layout/HamburgerNavigation/hamburgerNavigation.d.ts +13 -0
  21. package/dist/components/layout/HamburgerNavigation/index.d.ts +2 -0
  22. package/dist/components/layout/HamburgerNavigation/sidebarMenu.d.ts +12 -0
  23. package/dist/components/system/ThemeProvider/lib/constants.d.ts +3 -2
  24. package/dist/index.d.ts +3 -0
  25. package/dist/index.js +551 -420
  26. package/dist/index.js.LICENSE.txt +24 -0
  27. package/package.json +184 -186
@@ -0,0 +1,24 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
6
+
7
+ /*!
8
+ * focus-trap 7.3.1
9
+ * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
10
+ */
11
+
12
+ /*!
13
+ * tabbable 6.1.1
14
+ * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
15
+ */
16
+
17
+ /** @license React v17.0.2
18
+ * react-jsx-runtime.production.min.js
19
+ *
20
+ * Copyright (c) Facebook, Inc. and its affiliates.
21
+ *
22
+ * This source code is licensed under the MIT license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ */
package/package.json CHANGED
@@ -1,186 +1,184 @@
1
- {
2
- "name": "@openfin/ui-library",
3
- "description": "OpenFin UI Component Library",
4
- "version": "0.20.0-alpha.1",
5
- "author": "OpenFin Inc.",
6
- "module": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "repository": "github:openfin/ui-library",
9
- "homepage": "https://cdn.openfin.co/workspace/storybook",
10
- "files": [
11
- "dist/**/*"
12
- ],
13
- "license": "SEE LICENSE IN LICENSE.MD",
14
- "scripts": {
15
- "start": "npm run storybook",
16
- "typecheck": "npx tsc --noEmit",
17
- "build": "npm run build:clean && npm run build:src",
18
- "build:src": "webpack build --config webpack.config.js --mode production",
19
- "build:clean": "rimraf dist",
20
- "build:dev": "webpack build --config webpack.config.js --mode development && yalc push",
21
- "test:ci": "jest",
22
- "test": "jest --watch",
23
- "lint": "npm run lint:typescript && npm run lint:styles",
24
- "lint:typescript": "eslint \"./src/**/*.{ts,tsx}\"",
25
- "lint:styles": "stylelint \"./src/**/*.{ts,tsx}\"",
26
- "storybook": "storybook dev -p 6006 -s public",
27
- "storybook:build": "storybook build -s public",
28
- "storybook:cache-clear": "rimraf ./node_modules/.cache/storybook"
29
- },
30
- "peerDependencies": {
31
- "@modulz/radix-icons": "=>4.0.0 <5.0.0",
32
- "focus-trap-react": "=>10.0.1 <11.0.0",
33
- "framer-motion": "=>4.1.5 <7.0.0",
34
- "react": "=>17.0.1 <18.0.0",
35
- "react-calendar": "=>4.0.0 <5.0.0",
36
- "react-dom": "=>17.0.1 <18.0.0",
37
- "require-from-string": "=>2.0.2 <3.0.0",
38
- "styled-components": "=>4.4.1 <6.0.0",
39
- "tinycolor2": "=>1.4.2 <2.0.0"
40
- },
41
- "devDependencies": {
42
- "@babel/core": "^7.18.6",
43
- "@storybook/addon-actions": "^7.0.12",
44
- "@storybook/addon-essentials": "^7.0.12",
45
- "@storybook/addon-interactions": "^7.0.12",
46
- "@storybook/addon-links": "^7.0.12",
47
- "@storybook/node-logger": "^7.0.12",
48
- "@storybook/react": "^7.0.12",
49
- "@storybook/react-webpack5": "^7.0.12",
50
- "@testing-library/dom": "^8.14.0",
51
- "@testing-library/jest-dom": "^5.16.4",
52
- "@testing-library/react": "^12.1.5",
53
- "@testing-library/user-event": "^14.2.1",
54
- "@types/jest": "^28.1.3",
55
- "@types/lodash.defaultsdeep": "^4.6.7",
56
- "@types/node": "^18.15.12",
57
- "@types/react": "^17.0.3",
58
- "@types/react-calendar": "^3.9.0",
59
- "@types/react-dom": "^17.0.2",
60
- "@types/styled-components": "^5.1.25",
61
- "@types/tinycolor2": "^1.4.3",
62
- "@typescript-eslint/eslint-plugin": "^5.59.6",
63
- "@typescript-eslint/parser": "^5.59.6",
64
- "babel-loader": "^8.2.5",
65
- "copy-webpack-plugin": "^11.0.0",
66
- "cross-env": "^7.0.3",
67
- "css-loader": "^6.7.3",
68
- "eslint": "^8.40.0",
69
- "eslint-config-prettier": "^8.8.0",
70
- "eslint-plugin-jest": "^27.2.1",
71
- "eslint-plugin-prettier": "^4.2.1",
72
- "eslint-plugin-react": "^7.32.2",
73
- "file-loader": "^6.2.0",
74
- "identity-obj-proxy": "^3.0.0",
75
- "jest": "^28.1.2",
76
- "jest-environment-jsdom": "^28.1.2",
77
- "postcss-styled-syntax": "^0.4.0",
78
- "prettier": "^2.8.8",
79
- "react-is": "^17.0.2",
80
- "react-refresh": "^0.14.0",
81
- "rimraf": "^5.0.0",
82
- "storybook": "^7.0.11",
83
- "storybook-addon-performance": "^0.17.1",
84
- "stylelint": "^15.6.1",
85
- "stylelint-config-recommended": "^12.0.0",
86
- "ts-jest": "^28.0.5",
87
- "ts-loader": "^9.3.1",
88
- "typescript": "^5.0.4",
89
- "webpack": "^5.82.1",
90
- "webpack-cli": "^5.1.1",
91
- "webpack-node-externals": "^3.0.0"
92
- },
93
- "browserslist": {
94
- "production": [
95
- ">0.2%",
96
- "not dead",
97
- "not op_mini all"
98
- ],
99
- "development": [
100
- "last 1 chrome version",
101
- "last 1 firefox version",
102
- "last 1 safari version"
103
- ]
104
- },
105
- "eslintConfig": {
106
- "extends": [
107
- "plugin:@typescript-eslint/recommended",
108
- "prettier",
109
- "eslint:recommended",
110
- "plugin:react/recommended",
111
- "plugin:jest/recommended"
112
- ],
113
- "parser": "@typescript-eslint/parser",
114
- "parserOptions": {
115
- "project": "./*/tsconfig.json"
116
- },
117
- "plugins": [
118
- "@typescript-eslint",
119
- "jest"
120
- ],
121
- "rules": {
122
- "@typescript-eslint/ban-types": [
123
- "error",
124
- {
125
- "types": {
126
- "Function": false
127
- },
128
- "extendDefaults": true
129
- }
130
- ],
131
- "dot-notation": "error",
132
- "react/prop-types": "off",
133
- "react/jsx-uses-react": "off",
134
- "react/react-in-jsx-scope": "off",
135
- "no-unused-vars": "off",
136
- "@typescript-eslint/no-unused-vars": "error",
137
- "@typescript-eslint/no-explicit-any": "error"
138
- },
139
- "globals": {
140
- "JSX": "readonly"
141
- },
142
- "settings": {
143
- "react": {
144
- "version": "detect"
145
- }
146
- },
147
- "env": {
148
- "browser": true,
149
- "node": true
150
- }
151
- },
152
- "stylelint": {
153
- "customSyntax": "postcss-styled-syntax",
154
- "extends": [
155
- "stylelint-config-recommended"
156
- ],
157
- "rules": {
158
- "no-empty-source": null
159
- }
160
- },
161
- "prettier": {
162
- "endOfLine": "lf",
163
- "semi": true,
164
- "singleQuote": true,
165
- "tabWidth": 2,
166
- "trailingComma": "es5",
167
- "arrowParens": "always",
168
- "printWidth": 100
169
- },
170
- "jest": {
171
- "preset": "ts-jest",
172
- "setupFilesAfterEnv": [
173
- "<rootDir>/src/setupTests.ts"
174
- ],
175
- "moduleNameMapper": {
176
- "\\.(css)$": "<rootDir>/src/test/mocks/styleMock.js"
177
- },
178
- "testEnvironment": "jsdom",
179
- "testMatch": [
180
- "<rootDir>/src/**/*.test.tsx",
181
- "<rootDir>/src/**/*.test.ts",
182
- "<rootDir>/src/**/*.spec.ts",
183
- "<rootDir>/src/**/*.spec.tsx"
184
- ]
185
- }
186
- }
1
+ {
2
+ "name": "@openfin/ui-library",
3
+ "description": "OpenFin UI Component Library",
4
+ "version": "0.20.0-alpha.1687971721",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "repository": "github:openfin/ui-library",
8
+ "homepage": "https://cdn.openfin.co/workspace/storybook",
9
+ "files": [
10
+ "dist/**/*"
11
+ ],
12
+ "license": "SEE LICENSE IN LICENSE.MD",
13
+ "scripts": {
14
+ "start": "npm run storybook",
15
+ "typecheck": "npx tsc --noEmit",
16
+ "build": "npm run build:clean && npm run build:src",
17
+ "build:src": "webpack build --config webpack.config.js --mode production",
18
+ "build:clean": "rimraf dist",
19
+ "build:dev": "webpack build --config webpack.config.js --mode development && yalc push",
20
+ "test:ci": "jest",
21
+ "test": "jest --watch",
22
+ "lint": "npm run lint:typescript && npm run lint:styles",
23
+ "lint:typescript": "eslint \"./src/**/*.{ts,tsx}\"",
24
+ "lint:styles": "stylelint \"./src/**/*.{ts,tsx}\"",
25
+ "storybook": "storybook dev -p 6006 -s public",
26
+ "storybook:build": "storybook build -s public",
27
+ "storybook:cache-clear": "rimraf ./node_modules/.cache/storybook"
28
+ },
29
+ "peerDependencies": {
30
+ "@modulz/radix-icons": "=>4.0.0 <5.0.0",
31
+ "focus-trap-react": "=>10.0.1 <11.0.0",
32
+ "framer-motion": "=>4.1.5 <7.0.0",
33
+ "react": "=>17.0.1 <18.0.0",
34
+ "react-calendar": "=>4.0.0 <5.0.0",
35
+ "react-dom": "=>17.0.1 <18.0.0",
36
+ "require-from-string": "=>2.0.2 <3.0.0",
37
+ "styled-components": "=>4.4.1 <6.0.0",
38
+ "tinycolor2": "=>1.4.2 <2.0.0"
39
+ },
40
+ "devDependencies": {
41
+ "@babel/core": "^7.18.6",
42
+ "@storybook/addon-actions": "^7.0.12",
43
+ "@storybook/addon-essentials": "^7.0.12",
44
+ "@storybook/addon-interactions": "^7.0.12",
45
+ "@storybook/addon-links": "^7.0.12",
46
+ "@storybook/node-logger": "^7.0.12",
47
+ "@storybook/react": "^7.0.12",
48
+ "@storybook/react-webpack5": "^7.0.12",
49
+ "@testing-library/dom": "^8.14.0",
50
+ "@testing-library/jest-dom": "^5.16.4",
51
+ "@testing-library/react": "^12.1.5",
52
+ "@testing-library/user-event": "^14.2.1",
53
+ "@types/jest": "^28.1.3",
54
+ "@types/lodash.defaultsdeep": "^4.6.7",
55
+ "@types/node": "^18.15.12",
56
+ "@types/react": "^17.0.3",
57
+ "@types/react-calendar": "^3.9.0",
58
+ "@types/react-dom": "^17.0.2",
59
+ "@types/styled-components": "^5.1.25",
60
+ "@types/tinycolor2": "^1.4.3",
61
+ "@typescript-eslint/eslint-plugin": "^5.59.6",
62
+ "@typescript-eslint/parser": "^5.59.6",
63
+ "babel-loader": "^8.2.5",
64
+ "copy-webpack-plugin": "^11.0.0",
65
+ "cross-env": "^7.0.3",
66
+ "css-loader": "^6.7.3",
67
+ "eslint": "^8.40.0",
68
+ "eslint-config-prettier": "^8.8.0",
69
+ "eslint-plugin-jest": "^27.2.1",
70
+ "eslint-plugin-prettier": "^4.2.1",
71
+ "eslint-plugin-react": "^7.32.2",
72
+ "file-loader": "^6.2.0",
73
+ "identity-obj-proxy": "^3.0.0",
74
+ "jest": "^28.1.2",
75
+ "jest-environment-jsdom": "^28.1.2",
76
+ "postcss-styled-syntax": "^0.4.0",
77
+ "prettier": "^2.8.8",
78
+ "react-is": "^17.0.2",
79
+ "react-refresh": "^0.14.0",
80
+ "rimraf": "^5.0.0",
81
+ "storybook": "^7.0.11",
82
+ "storybook-addon-performance": "^0.17.1",
83
+ "stylelint": "^15.6.1",
84
+ "stylelint-config-recommended": "^12.0.0",
85
+ "ts-jest": "^28.0.5",
86
+ "ts-loader": "^9.3.1",
87
+ "typescript": "^5.0.4",
88
+ "webpack": "^5.82.1",
89
+ "webpack-cli": "^5.1.1"
90
+ },
91
+ "browserslist": {
92
+ "production": [
93
+ ">0.2%",
94
+ "not dead",
95
+ "not op_mini all"
96
+ ],
97
+ "development": [
98
+ "last 1 chrome version",
99
+ "last 1 firefox version",
100
+ "last 1 safari version"
101
+ ]
102
+ },
103
+ "eslintConfig": {
104
+ "extends": [
105
+ "plugin:@typescript-eslint/recommended",
106
+ "prettier",
107
+ "eslint:recommended",
108
+ "plugin:react/recommended",
109
+ "plugin:jest/recommended"
110
+ ],
111
+ "parser": "@typescript-eslint/parser",
112
+ "parserOptions": {
113
+ "project": "./*/tsconfig.json"
114
+ },
115
+ "plugins": [
116
+ "@typescript-eslint",
117
+ "jest"
118
+ ],
119
+ "rules": {
120
+ "@typescript-eslint/ban-types": [
121
+ "error",
122
+ {
123
+ "types": {
124
+ "Function": false
125
+ },
126
+ "extendDefaults": true
127
+ }
128
+ ],
129
+ "dot-notation": "error",
130
+ "react/prop-types": "off",
131
+ "react/jsx-uses-react": "off",
132
+ "react/react-in-jsx-scope": "off",
133
+ "no-unused-vars": "off",
134
+ "@typescript-eslint/no-unused-vars": "error",
135
+ "@typescript-eslint/no-explicit-any": "error"
136
+ },
137
+ "globals": {
138
+ "JSX": "readonly"
139
+ },
140
+ "settings": {
141
+ "react": {
142
+ "version": "detect"
143
+ }
144
+ },
145
+ "env": {
146
+ "browser": true,
147
+ "node": true
148
+ }
149
+ },
150
+ "stylelint": {
151
+ "customSyntax": "postcss-styled-syntax",
152
+ "extends": [
153
+ "stylelint-config-recommended"
154
+ ],
155
+ "rules": {
156
+ "no-empty-source": null
157
+ }
158
+ },
159
+ "prettier": {
160
+ "endOfLine": "lf",
161
+ "semi": true,
162
+ "singleQuote": true,
163
+ "tabWidth": 2,
164
+ "trailingComma": "es5",
165
+ "arrowParens": "always",
166
+ "printWidth": 100
167
+ },
168
+ "jest": {
169
+ "preset": "ts-jest",
170
+ "setupFilesAfterEnv": [
171
+ "<rootDir>/src/setupTests.ts"
172
+ ],
173
+ "moduleNameMapper": {
174
+ "\\.(css)$": "<rootDir>/src/test/mocks/styleMock.js"
175
+ },
176
+ "testEnvironment": "jsdom",
177
+ "testMatch": [
178
+ "<rootDir>/src/**/*.test.tsx",
179
+ "<rootDir>/src/**/*.test.ts",
180
+ "<rootDir>/src/**/*.spec.ts",
181
+ "<rootDir>/src/**/*.spec.tsx"
182
+ ]
183
+ }
184
+ }