@amityco/ui-kit-open-source 3.2.4 → 3.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.
- package/dist/esm/index.js +881 -829
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +905 -853
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +8 -7
- package/README.md +0 -26
- package/readme.md +0 -26
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amityco/ui-kit-open-source",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=16",
|
|
6
6
|
"pnpm": ">=8"
|
|
@@ -34,15 +34,12 @@
|
|
|
34
34
|
"tsc": "tsc"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
|
-
"@amityco/ts-sdk": "~6.
|
|
37
|
+
"@amityco/ts-sdk": "~6.21.0",
|
|
38
38
|
"react": ">=17.0.2",
|
|
39
39
|
"react-dom": ">=17.0.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@amityco/ts-sdk": "
|
|
43
|
-
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
|
44
|
-
"@fortawesome/free-solid-svg-icons": "^5.15.4",
|
|
45
|
-
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
42
|
+
"@amityco/ts-sdk": "^6.26.0",
|
|
46
43
|
"@storybook/addon-a11y": "^7.6.7",
|
|
47
44
|
"@storybook/addon-actions": "^7.6.7",
|
|
48
45
|
"@storybook/addon-backgrounds": "^7.6.7",
|
|
@@ -90,6 +87,7 @@
|
|
|
90
87
|
"ts-jest": "^29.1.1",
|
|
91
88
|
"tsup": "^7.3.0",
|
|
92
89
|
"typescript": "^4.9.5",
|
|
90
|
+
"typescript-plugin-css-modules": "^5.1.0",
|
|
93
91
|
"vite": "^4.5.1",
|
|
94
92
|
"vite-tsconfig-paths": "^4.2.3"
|
|
95
93
|
},
|
|
@@ -99,14 +97,17 @@
|
|
|
99
97
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
100
98
|
"@hookform/error-message": "^2.0.1",
|
|
101
99
|
"@hookform/resolvers": "^3.3.4",
|
|
100
|
+
"@tanstack/react-query": "^5.28.14",
|
|
102
101
|
"clsx": "^2.1.0",
|
|
102
|
+
"extract-colors": "^4.0.2",
|
|
103
103
|
"filesize": "^9.0.11",
|
|
104
|
+
"framer-motion": "^11.1.7",
|
|
104
105
|
"hls.js": "^1.4.14",
|
|
105
106
|
"linkify-react": "^4.1.3",
|
|
106
107
|
"linkifyjs": "^4.1.3",
|
|
107
108
|
"lodash": "^4.17.21",
|
|
108
109
|
"millify": "^6.1.0",
|
|
109
|
-
"polished": "^4.
|
|
110
|
+
"polished": "^4.3.1",
|
|
110
111
|
"react-hook-form": "^7.49.2",
|
|
111
112
|
"react-infinite-scroll-component": "^6.1.0",
|
|
112
113
|
"react-intl": "^6.5.5",
|
package/README.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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)
|
package/readme.md
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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)
|