@amityco/ui-kit-open-source 3.1.1

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 (54) hide show
  1. package/LICENSE +504 -0
  2. package/README.md +26 -0
  3. package/dist/Inter-Black-PFV6RWF7.woff2 +0 -0
  4. package/dist/Inter-BlackItalic-OUXR4CVK.woff2 +0 -0
  5. package/dist/Inter-Bold-K6PA7FOK.woff2 +0 -0
  6. package/dist/Inter-BoldItalic-QKFESTQE.woff2 +0 -0
  7. package/dist/Inter-ExtraBold-2ZPQFALF.woff2 +0 -0
  8. package/dist/Inter-ExtraBoldItalic-RR7KYXHD.woff2 +0 -0
  9. package/dist/Inter-ExtraLight-NASBO7I6.woff2 +0 -0
  10. package/dist/Inter-ExtraLightItalic-AUJY3XPT.woff2 +0 -0
  11. package/dist/Inter-Italic-2WJ2RX3Z.woff2 +0 -0
  12. package/dist/Inter-Light-E4ED7JRX.woff2 +0 -0
  13. package/dist/Inter-LightItalic-BJ4DXCNT.woff2 +0 -0
  14. package/dist/Inter-Medium-3R4SWUEO.woff2 +0 -0
  15. package/dist/Inter-MediumItalic-QTJUSOU7.woff2 +0 -0
  16. package/dist/Inter-Regular-6HYMGWZS.woff2 +0 -0
  17. package/dist/Inter-SemiBold-7SYQBR3A.woff2 +0 -0
  18. package/dist/Inter-SemiBoldItalic-3EHSSXIM.woff2 +0 -0
  19. package/dist/Inter-Thin-3L5KITMZ.woff2 +0 -0
  20. package/dist/Inter-ThinItalic-J7DGFM6P.woff2 +0 -0
  21. package/dist/Inter-italic.var-SWFAXF2C.woff2 +0 -0
  22. package/dist/Inter-roman.var-WIJJYAE4.woff2 +0 -0
  23. package/dist/Inter.var-OMHIC2JW.woff2 +0 -0
  24. package/dist/esm/Inter-Black-PFV6RWF7.woff2 +0 -0
  25. package/dist/esm/Inter-BlackItalic-OUXR4CVK.woff2 +0 -0
  26. package/dist/esm/Inter-Bold-K6PA7FOK.woff2 +0 -0
  27. package/dist/esm/Inter-BoldItalic-QKFESTQE.woff2 +0 -0
  28. package/dist/esm/Inter-ExtraBold-2ZPQFALF.woff2 +0 -0
  29. package/dist/esm/Inter-ExtraBoldItalic-RR7KYXHD.woff2 +0 -0
  30. package/dist/esm/Inter-ExtraLight-NASBO7I6.woff2 +0 -0
  31. package/dist/esm/Inter-ExtraLightItalic-AUJY3XPT.woff2 +0 -0
  32. package/dist/esm/Inter-Italic-2WJ2RX3Z.woff2 +0 -0
  33. package/dist/esm/Inter-Light-E4ED7JRX.woff2 +0 -0
  34. package/dist/esm/Inter-LightItalic-BJ4DXCNT.woff2 +0 -0
  35. package/dist/esm/Inter-Medium-3R4SWUEO.woff2 +0 -0
  36. package/dist/esm/Inter-MediumItalic-QTJUSOU7.woff2 +0 -0
  37. package/dist/esm/Inter-Regular-6HYMGWZS.woff2 +0 -0
  38. package/dist/esm/Inter-SemiBold-7SYQBR3A.woff2 +0 -0
  39. package/dist/esm/Inter-SemiBoldItalic-3EHSSXIM.woff2 +0 -0
  40. package/dist/esm/Inter-Thin-3L5KITMZ.woff2 +0 -0
  41. package/dist/esm/Inter-ThinItalic-J7DGFM6P.woff2 +0 -0
  42. package/dist/esm/Inter-italic.var-SWFAXF2C.woff2 +0 -0
  43. package/dist/esm/Inter-roman.var-WIJJYAE4.woff2 +0 -0
  44. package/dist/esm/Inter.var-OMHIC2JW.woff2 +0 -0
  45. package/dist/esm/index.css +1 -0
  46. package/dist/esm/index.js +3878 -0
  47. package/dist/index.css +1 -0
  48. package/dist/index.d.mts +205 -0
  49. package/dist/index.d.ts +205 -0
  50. package/dist/index.js +3930 -0
  51. package/dist/metafile-cjs.json +1 -0
  52. package/dist/metafile-esm.json +1 -0
  53. package/package.json +129 -0
  54. package/readme.md +26 -0
package/package.json ADDED
@@ -0,0 +1,129 @@
1
+ {
2
+ "name": "@amityco/ui-kit-open-source",
3
+ "version": "3.1.1",
4
+ "engines": {
5
+ "node": ">=16",
6
+ "pnpm": ">=8"
7
+ },
8
+ "module": "dist/esm/index.js",
9
+ "main": "dist/index.js",
10
+ "exports": {
11
+ "./package.json": "./package.json",
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/esm/index.js",
15
+ "default": "./dist/index.js"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist/"
20
+ ],
21
+ "types": "dist/index.d.ts",
22
+ "description": "React Ui-Kit for Amity Social Cloud",
23
+ "scripts": {
24
+ "prepare": "husky install",
25
+ "build": "tsup --minify",
26
+ "build:dev": "tsup --sourcemap --metafile",
27
+ "build:prod:analyze": "pnpm build --metafile",
28
+ "test": "jest",
29
+ "test:watch": "jest --watch",
30
+ "storybook": "storybook dev -p 6006",
31
+ "storybook:build": "storybook build --output-dir ./storybook-build",
32
+ "lint": "eslint .",
33
+ "lint:fix": "eslint . --fix",
34
+ "tsc": "tsc"
35
+ },
36
+ "peerDependencies": {
37
+ "@amityco/ts-sdk": "~6.16.0",
38
+ "react": ">=17.0.2",
39
+ "react-dom": ">=17.0.2"
40
+ },
41
+ "devDependencies": {
42
+ "@amityco/ts-sdk": "6.17.2",
43
+ "@storybook/addon-a11y": "^7.6.7",
44
+ "@storybook/addon-actions": "^7.6.7",
45
+ "@storybook/addon-backgrounds": "^7.6.7",
46
+ "@storybook/addon-controls": "^7.6.7",
47
+ "@storybook/addon-essentials": "^7.6.7",
48
+ "@storybook/addon-toolbars": "^7.6.7",
49
+ "@storybook/addon-viewport": "^7.6.7",
50
+ "@storybook/client-api": "^7.6.7",
51
+ "@storybook/preview-api": "^7.6.7",
52
+ "@storybook/react": "^7.6.7",
53
+ "@storybook/react-vite": "^7.6.7",
54
+ "@storybook/theming": "^7.6.7",
55
+ "@types/jest": "^29.5.11",
56
+ "@types/lodash": "^4.14.202",
57
+ "@types/prop-types": "^15.7.11",
58
+ "@types/react": "^17.0.74",
59
+ "@types/react-helmet": "^6.1.11",
60
+ "@types/react-infinite-scroller": "^1.2.5",
61
+ "@types/react-mentions": "^4.1.13",
62
+ "@types/react-timeago": "^4.1.7",
63
+ "@types/styled-components": "^5.1.34",
64
+ "@types/uuid": "^9.0.7",
65
+ "@typescript-eslint/eslint-plugin": "^6.18.0",
66
+ "@typescript-eslint/parser": "^6.18.0",
67
+ "@vitejs/plugin-react": "^4.2.1",
68
+ "autoprefixer": "^10.4.16",
69
+ "esbuild-plugin-replace": "^1.4.0",
70
+ "eslint": "^8.56.0",
71
+ "eslint-config-prettier": "^9.1.0",
72
+ "eslint-import-resolver-typescript": "^3.6.1",
73
+ "eslint-plugin-import": "^2.29.1",
74
+ "eslint-plugin-jest": "^27.6.1",
75
+ "husky": "^8.0.3",
76
+ "jest": "^29.7.0",
77
+ "lint-staged": "^13.3.0",
78
+ "postcss": "^8.4.33",
79
+ "prettier": "2.4.0",
80
+ "react": "^18.2.0",
81
+ "react-dom": "^18.2.0",
82
+ "react-router-dom": "^6.21.1",
83
+ "standard-version": "^9.5.0",
84
+ "storybook": "^7.6.7",
85
+ "styled-components": "^6.1.6",
86
+ "svg-url-loader": "^7.1.1",
87
+ "ts-jest": "^29.1.1",
88
+ "tsup": "^7.3.0",
89
+ "typescript": "^4.9.5",
90
+ "vite": "^4.5.1",
91
+ "vite-tsconfig-paths": "^4.2.3"
92
+ },
93
+ "dependencies": {
94
+ "@hookform/error-message": "^2.0.1",
95
+ "@hookform/resolvers": "^3.3.4",
96
+ "clsx": "^2.1.0",
97
+ "filesize": "^9.0.11",
98
+ "hls.js": "^1.4.14",
99
+ "linkify-react": "^4.1.3",
100
+ "linkifyjs": "^4.1.3",
101
+ "lodash": "^4.17.21",
102
+ "millify": "^6.1.0",
103
+ "polished": "^4.2.2",
104
+ "react-hook-form": "^7.49.2",
105
+ "react-infinite-scroll-component": "^6.1.0",
106
+ "react-intl": "^6.5.5",
107
+ "react-loading-skeleton": "^3.3.1",
108
+ "react-mentions": "^4.4.10",
109
+ "react-sizeme": "^3.0.2",
110
+ "react-textarea-autosize": "^8.5.3",
111
+ "react-timeago": "^7.2.0",
112
+ "react-tiny-popover": "^7.2.4",
113
+ "react-truncate-markup": "^5.1.2",
114
+ "react-use": "^17.4.2",
115
+ "stylis": "^4.3.1",
116
+ "uuid": "^8.3.2",
117
+ "zod": "^3.22.4"
118
+ },
119
+ "lint-staged": {
120
+ "*.{js,jsx}": "eslint --cache --fix",
121
+ "*.{json,md}": "prettier --write"
122
+ },
123
+ "postcss": {
124
+ "plugins": {
125
+ "autoprefixer": {}
126
+ }
127
+ },
128
+ "license": "LGPL-2.1-only"
129
+ }
package/readme.md ADDED
@@ -0,0 +1,26 @@
1
+ # Amity Ui-Kit for Web (open-source)
2
+
3
+ ## Getting started
4
+
5
+ ### Installation
6
+
7
+ Here are the steps to install ui-kit together with another project.
8
+
9
+ 1. git clone git@github.com:AmityCo/Amity-Social-Cloud-UIKit-Web-OpenSource.git
10
+ 2. cd ./Amity-Social-Cloud-UIKit-Web-OpenSource
11
+ 3. npm ci
12
+ 4. npm link
13
+ 5. npm link ./`<path-to-your-app>`/node_modules/react ./`<path-to-your-app>`/node_modules/react-dom
14
+ 6. npm run build
15
+ 7. cd ./`<path-to-your-app>`
16
+ 8. npm link @amityco/ui-kit-open-source --save
17
+
18
+ ** We need to link react module to react module in destination project so that react is the same instance otherwise we will encounter [issues with react hook](https://medium.com/bbc-product-technology/solving-the-problem-with-npm-link-and-react-hooks-266c832dd019).
19
+
20
+ ### Documentation
21
+
22
+ Please refer to our online documentation at https://docs.amity.co or contact a Ui-Kit representative at **developers@amity.co** for support.
23
+
24
+ ## Contributing
25
+
26
+ See [our contributing guide](https://github.com/EkoCommunications/AmityUiKitWeb/blob/develop/CONTRIBUTING.md)