@hexure/ui 1.5.0 → 1.6.0

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.
@@ -12,6 +12,7 @@ export { default as Field } from './components/Field';
12
12
  export { default as FileUpload } from './components/FileUpload';
13
13
  export { default as Heading } from './components/Heading';
14
14
  export { default as Input } from './components/Input';
15
+ export { default as Link } from './components/Link';
15
16
  export { default as Logo } from './components/Logo';
16
17
  export { default as Modal } from './components/Modal';
17
18
  export { default as MoreMenu } from './components/MoreMenu';
package/dist/index.d.ts CHANGED
@@ -251,6 +251,16 @@ interface InputProps extends AccessibleProps {
251
251
  }
252
252
  declare const Input: FC<InputProps>;
253
253
 
254
+ interface LinkProps extends AccessibleProps {
255
+ /** Set the text to be displayed */
256
+ children: string;
257
+ /** Display small text */
258
+ small?: boolean;
259
+ /** A method to execute when this component is clicked */
260
+ onClick?: (e?: any) => void;
261
+ }
262
+ declare const Link: FC<LinkProps>;
263
+
254
264
  interface LogoProps extends AccessibleProps {
255
265
  type?: 'mark_red' | 'mark_white' | 'standard_white' | 'standard_black' | 'standard_full' | 'standard_reversed';
256
266
  height?: string;
@@ -441,4 +451,4 @@ interface ZeroStateProps extends AccessibleProps {
441
451
  }
442
452
  declare const ZeroState: FC<ZeroStateProps>;
443
453
 
444
- export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, DatePicker, Drawer, Field, FileUpload, Heading, Input, Logo, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
454
+ export { Accordion, ActionDialog, Alert, BulkActionBar, Button, Checkbox, Checklist, Copy, DatePicker, Drawer, Field, FileUpload, Heading, Input, Link, Logo, Modal, MoreMenu, MultiSelect, Pagination, Radio, RadioList, Select, Table, Tabs, Tag, Toggle, ZeroState };
package/package.json CHANGED
@@ -1,90 +1,90 @@
1
- {
2
- "name": "@hexure/ui",
3
- "version": "1.5.0",
4
- "description": "A library of shared UI components used within Hexure products.",
5
- "scripts": {
6
- "rollup": "rollup -c rollup.config.mjs",
7
- "test": "jest",
8
- "prettier": "prettier --write src/",
9
- "eslint": "eslint src/",
10
- "eslint-fix": "eslint src/ --fix",
11
- "test:watch": "jest --watch",
12
- "storybook": "storybook dev -p 6006",
13
- "build-storybook": "storybook build"
14
- },
15
- "keywords": [
16
- "hexure"
17
- ],
18
- "author": "Hexure",
19
- "license": "ISC",
20
- "devDependencies": {
21
- "@babel/core": "^7.18.13",
22
- "@babel/preset-env": "^7.18.10",
23
- "@babel/preset-react": "^7.18.6",
24
- "@babel/preset-typescript": "^7.18.6",
25
- "@rollup/plugin-babel": "^6.0.3",
26
- "@rollup/plugin-commonjs": "^25.0.0",
27
- "@rollup/plugin-eslint": "^9.0.4",
28
- "@rollup/plugin-node-resolve": "^15.0.2",
29
- "@rollup/plugin-typescript": "^11.1.1",
30
- "@storybook/addon-actions": "^7.1.0",
31
- "@storybook/addon-controls": "^7.1.0",
32
- "@storybook/addon-viewport": "^7.1.0",
33
- "@storybook/react": "^7.1.0",
34
- "@storybook/react-webpack5": "^7.1.0",
35
- "@storybook/testing-library": "^0.2.0",
36
- "@testing-library/jest-dom": "^5.16.5",
37
- "@testing-library/react": "^12.1.5",
38
- "@testing-library/user-event": "^14.4.3",
39
- "@types/jest": "^29.0.3",
40
- "@types/numeral": "^2.0.2",
41
- "@types/react": "^18.0.17",
42
- "@types/styled-components": "^5.1.26",
43
- "@typescript-eslint/eslint-plugin": "^5.50.0",
44
- "@typescript-eslint/parser": "^5.50.0",
45
- "babel-jest": "^29.0.1",
46
- "babel-loader": "^8.2.5",
47
- "eslint": "^8.33.0",
48
- "eslint-config-prettier": "^8.6.0",
49
- "eslint-plugin-react": "^7.32.2",
50
- "identity-obj-proxy": "^3.0.0",
51
- "jest": "^29.0.1",
52
- "jest-environment-jsdom": "^29.0.1",
53
- "jsdom": "^20.0.0",
54
- "prettier": "^2.8.3",
55
- "react": "^16.14.0",
56
- "react-dom": "^16.14.0",
57
- "rollup": "^3.23.0",
58
- "rollup-plugin-dts": "^5.3.0",
59
- "storybook": "^7.1.0",
60
- "typescript": "^4.8.2"
61
- },
62
- "main": "dist/cjs/index.js",
63
- "module": "dist/esm/index.js",
64
- "files": [
65
- "dist"
66
- ],
67
- "types": "dist/index.d.ts",
68
- "dependencies": {
69
- "@mdi/font": ">=7.0.96",
70
- "@mdi/js": ">=7.1.96",
71
- "@mdi/react": ">=1.6.1",
72
- "dayjs": "^1.11.8",
73
- "moment": ">=2.29.4",
74
- "numeral": ">=2.0.6",
75
- "styled-components": "^5.3.6"
76
- },
77
- "peerDependencies": {
78
- "@mdi/font": ">=7.0.96",
79
- "@mdi/js": ">=7.1.96",
80
- "@mdi/react": ">=1.6.1",
81
- "moment": ">=2.29.4",
82
- "numeral": ">=2.0.6",
83
- "react": ">=16.14.0",
84
- "react-dom": ">=16.14.0"
85
- },
86
- "repository": {
87
- "type": "git",
88
- "url": "https://InsuranceTechnologies@dev.azure.com/InsuranceTechnologies/Enterprise/_git/InsTech.UI.Library"
89
- }
90
- }
1
+ {
2
+ "name": "@hexure/ui",
3
+ "version": "1.6.0",
4
+ "description": "A library of shared UI components used within Hexure products.",
5
+ "scripts": {
6
+ "rollup": "rollup -c rollup.config.mjs",
7
+ "test": "jest",
8
+ "prettier": "prettier --write src/",
9
+ "eslint": "eslint src/",
10
+ "eslint-fix": "eslint src/ --fix",
11
+ "test:watch": "jest --watch",
12
+ "storybook": "storybook dev -p 6006",
13
+ "build-storybook": "storybook build"
14
+ },
15
+ "keywords": [
16
+ "hexure"
17
+ ],
18
+ "author": "Hexure",
19
+ "license": "ISC",
20
+ "devDependencies": {
21
+ "@babel/core": "^7.18.13",
22
+ "@babel/preset-env": "^7.18.10",
23
+ "@babel/preset-react": "^7.18.6",
24
+ "@babel/preset-typescript": "^7.18.6",
25
+ "@rollup/plugin-babel": "^6.0.3",
26
+ "@rollup/plugin-commonjs": "^25.0.0",
27
+ "@rollup/plugin-eslint": "^9.0.4",
28
+ "@rollup/plugin-node-resolve": "^15.0.2",
29
+ "@rollup/plugin-typescript": "^11.1.1",
30
+ "@storybook/addon-actions": "^7.1.0",
31
+ "@storybook/addon-controls": "^7.1.0",
32
+ "@storybook/addon-viewport": "^7.1.0",
33
+ "@storybook/react": "^7.1.0",
34
+ "@storybook/react-webpack5": "^7.1.0",
35
+ "@storybook/testing-library": "^0.2.0",
36
+ "@testing-library/jest-dom": "^5.16.5",
37
+ "@testing-library/react": "^12.1.5",
38
+ "@testing-library/user-event": "^14.4.3",
39
+ "@types/jest": "^29.0.3",
40
+ "@types/numeral": "^2.0.2",
41
+ "@types/react": "^18.0.17",
42
+ "@types/styled-components": "^5.1.26",
43
+ "@typescript-eslint/eslint-plugin": "^5.50.0",
44
+ "@typescript-eslint/parser": "^5.50.0",
45
+ "babel-jest": "^29.0.1",
46
+ "babel-loader": "^8.2.5",
47
+ "eslint": "^8.33.0",
48
+ "eslint-config-prettier": "^8.6.0",
49
+ "eslint-plugin-react": "^7.32.2",
50
+ "identity-obj-proxy": "^3.0.0",
51
+ "jest": "^29.0.1",
52
+ "jest-environment-jsdom": "^29.0.1",
53
+ "jsdom": "^20.0.0",
54
+ "prettier": "^2.8.3",
55
+ "react": "^16.14.0",
56
+ "react-dom": "^16.14.0",
57
+ "rollup": "^3.23.0",
58
+ "rollup-plugin-dts": "^5.3.0",
59
+ "storybook": "^7.1.0",
60
+ "typescript": "^4.8.2"
61
+ },
62
+ "main": "dist/cjs/index.js",
63
+ "module": "dist/esm/index.js",
64
+ "files": [
65
+ "dist"
66
+ ],
67
+ "types": "dist/index.d.ts",
68
+ "dependencies": {
69
+ "@mdi/font": ">=7.0.96",
70
+ "@mdi/js": ">=7.1.96",
71
+ "@mdi/react": ">=1.6.1",
72
+ "dayjs": "^1.11.8",
73
+ "moment": ">=2.29.4",
74
+ "numeral": ">=2.0.6",
75
+ "styled-components": "^5.3.6"
76
+ },
77
+ "peerDependencies": {
78
+ "@mdi/font": ">=7.0.96",
79
+ "@mdi/js": ">=7.1.96",
80
+ "@mdi/react": ">=1.6.1",
81
+ "moment": ">=2.29.4",
82
+ "numeral": ">=2.0.6",
83
+ "react": ">=16.14.0",
84
+ "react-dom": ">=16.14.0"
85
+ },
86
+ "repository": {
87
+ "type": "git",
88
+ "url": "https://InsuranceTechnologies@dev.azure.com/InsuranceTechnologies/Enterprise/_git/InsTech.UI.Library"
89
+ }
90
+ }