@amityco/ulta-ui-kit 2.0.0 → 2.0.2-beta01
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 +256 -256
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +266 -266
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -3
- package/readme.md +28 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amityco/ulta-ui-kit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2-beta01",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20",
|
|
6
6
|
"pnpm": "9"
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"types": "dist/index.d.ts",
|
|
26
26
|
"description": "React Ui-Kit for Amity Social Cloud",
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@amityco/ts-sdk": "6.
|
|
28
|
+
"@amityco/ts-sdk": "6.33.1-6d798fc.0",
|
|
29
29
|
"react": ">=17.0.2",
|
|
30
30
|
"react-dom": ">=17.0.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@amityco/ts-sdk": "6.
|
|
33
|
+
"@amityco/ts-sdk": "6.33.1-6d798fc.0",
|
|
34
34
|
"@eslint/js": "^9.4.0",
|
|
35
35
|
"@storybook/addon-a11y": "^7.6.7",
|
|
36
36
|
"@storybook/addon-actions": "^7.6.7",
|
package/readme.md
CHANGED
|
@@ -173,3 +173,31 @@ export default function App() {
|
|
|
173
173
|
- If the user logs in, Ulta Authentication Service authenticates the user, and the token process repeats to reinitialize Amity UIKit with the Ulta User ID.
|
|
174
174
|
|
|
175
175
|

|
|
176
|
+
|
|
177
|
+
**Deep Linking**
|
|
178
|
+
|
|
179
|
+
To navigate to the supported deep-link page using query string.
|
|
180
|
+
|
|
181
|
+
1. Group
|
|
182
|
+
`https://www.ulta.com/?groupId=${groupId}`
|
|
183
|
+
|
|
184
|
+
2. Post
|
|
185
|
+
`https://www.ulta.com/?postId=${postId}`
|
|
186
|
+
|
|
187
|
+
3. User
|
|
188
|
+
`https://www.ulta.com/?userId=${userId}`
|
|
189
|
+
|
|
190
|
+
The deep-link configuration can be configured inside ultaConfig.
|
|
191
|
+
|
|
192
|
+
```sh
|
|
193
|
+
ultaConfig={{
|
|
194
|
+
...
|
|
195
|
+
deeplink={
|
|
196
|
+
origin: "https://www.ulta.com",
|
|
197
|
+
groupQueryString: "groupId",
|
|
198
|
+
postQueryString: "postId",
|
|
199
|
+
userQueryString: "userId",
|
|
200
|
+
}
|
|
201
|
+
....
|
|
202
|
+
}}
|
|
203
|
+
```
|