@amityco/ulta-ui-kit 1.0.0-beta.33 → 1.0.0-beta.34

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/index.d.mts CHANGED
@@ -32,6 +32,9 @@ type PostRendererConfigType = Record<ValueOf<typeof PostContentType> | string, (
32
32
  interface UltaConfigContextProps {
33
33
  newsCommunityId: string;
34
34
  faqCommunityId: string;
35
+ defaultTab?: 'explore' | 'newsfeed';
36
+ termsAndConditionsUrl: string;
37
+ privacyAndPolicyUrl: string;
35
38
  }
36
39
 
37
40
  interface UiKitProviderProps {
@@ -194,7 +197,8 @@ type Page = {
194
197
  targetType?: string;
195
198
  };
196
199
  type ContextValue = {
197
- page: Page;
200
+ page: Page | null;
201
+ pages: Page[];
198
202
  onChangePage: (type: string) => void;
199
203
  onClickCategory: (categoryId: string) => void;
200
204
  onClickCommunity: (communityId: string) => void;
package/dist/index.d.ts CHANGED
@@ -32,6 +32,9 @@ type PostRendererConfigType = Record<ValueOf<typeof PostContentType> | string, (
32
32
  interface UltaConfigContextProps {
33
33
  newsCommunityId: string;
34
34
  faqCommunityId: string;
35
+ defaultTab?: 'explore' | 'newsfeed';
36
+ termsAndConditionsUrl: string;
37
+ privacyAndPolicyUrl: string;
35
38
  }
36
39
 
37
40
  interface UiKitProviderProps {
@@ -194,7 +197,8 @@ type Page = {
194
197
  targetType?: string;
195
198
  };
196
199
  type ContextValue = {
197
- page: Page;
200
+ page: Page | null;
201
+ pages: Page[];
198
202
  onChangePage: (type: string) => void;
199
203
  onClickCategory: (categoryId: string) => void;
200
204
  onClickCommunity: (communityId: string) => void;