@weaverse/react 1.0.36 → 1.0.37

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.ts CHANGED
@@ -13,24 +13,24 @@ declare let WeaverseContext: React$1.Context<Weaverse>;
13
13
  declare let WeaverseContextProvider: React$1.Provider<Weaverse>;
14
14
  declare let WeaverseContextConsumer: React$1.Consumer<Weaverse>;
15
15
 
16
- declare let Circle: (props: HTMLAttributes<SVGElement>) => JSX.Element;
17
- declare let CircleNotch: (props: HTMLAttributes<SVGElement>) => JSX.Element;
18
- declare let X: (props: HTMLAttributes<SVGElement>) => JSX.Element;
19
- declare let Minus: (props: HTMLAttributes<SVGElement>) => JSX.Element;
20
- declare let Plus: (props: HTMLAttributes<SVGElement>) => JSX.Element;
21
- declare let CaretLeft: (props: HTMLAttributes<SVGElement>) => JSX.Element;
22
- declare let CaretRight: (props: HTMLAttributes<SVGElement>) => JSX.Element;
23
- declare let ArrowLeft: (props: HTMLAttributes<SVGElement>) => JSX.Element;
24
- declare let ArrowRight: (props: HTMLAttributes<SVGElement>) => JSX.Element;
25
- declare let Image: (props: HTMLAttributes<SVGElement>) => JSX.Element;
26
- declare let ShoppingCart: (props: HTMLAttributes<SVGElement>) => JSX.Element;
27
- declare let Storefront: (props: HTMLAttributes<SVGElement>) => JSX.Element;
28
- declare let Package: (props: HTMLAttributes<SVGElement>) => JSX.Element;
29
- declare let HandBag: (props: HTMLAttributes<SVGElement>) => JSX.Element;
30
- declare let Tag: (props: HTMLAttributes<SVGElement>) => JSX.Element;
31
- declare let Backpack: (props: HTMLAttributes<SVGElement>) => JSX.Element;
32
- declare let Newspaper: (props: HTMLAttributes<SVGElement>) => JSX.Element;
33
- declare let Eye: (props: HTMLAttributes<SVGElement>) => JSX.Element;
16
+ declare let Circle: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
17
+ declare let CircleNotch: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
18
+ declare let X: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
19
+ declare let Minus: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
20
+ declare let Plus: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
21
+ declare let CaretLeft: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
22
+ declare let CaretRight: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
23
+ declare let ArrowLeft: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
24
+ declare let ArrowRight: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
25
+ declare let Image: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
26
+ declare let ShoppingCart: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
27
+ declare let Storefront: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
28
+ declare let Package: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
29
+ declare let HandBag: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
30
+ declare let Tag: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
31
+ declare let Backpack: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
32
+ declare let Newspaper: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
33
+ declare let Eye: (props: HTMLAttributes<SVGElement>) => React__default.JSX.Element;
34
34
 
35
35
  declare const PhosphorIcons_ArrowLeft: typeof ArrowLeft;
36
36
  declare const PhosphorIcons_ArrowRight: typeof ArrowRight;
@@ -119,7 +119,7 @@ interface BackgroundProps {
119
119
  className?: string;
120
120
  }
121
121
 
122
- declare let Modal: (props: DialogProps) => JSX.Element;
122
+ declare let Modal: (props: DialogProps) => React__default.JSX.Element;
123
123
  declare let ModalTrigger: React__default.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React__default.RefAttributes<HTMLButtonElement>>;
124
124
  declare let ModalHeader: React__default.ForwardRefExoticComponent<DialogTitleProps & React__default.RefAttributes<HTMLHeadingElement>>;
125
125
  declare let ModalContent: React__default.ForwardRefExoticComponent<ModalContentProps & React__default.RefAttributes<HTMLDivElement>>;
@@ -140,21 +140,21 @@ declare namespace ModalComponents {
140
140
  };
141
141
  }
142
142
 
143
- declare function Spinner(): JSX.Element;
143
+ declare function Spinner(): React__default.JSX.Element;
144
144
 
145
- declare function Icon({ name, className, ...props }: WeaverseIconProps): JSX.Element;
145
+ declare function Icon({ name, className, ...props }: WeaverseIconProps): React__default.JSX.Element;
146
146
 
147
- declare function Tooltip({ children }: TooltipProps): JSX.Element;
147
+ declare function Tooltip({ children }: TooltipProps): React__default.JSX.Element;
148
148
 
149
- declare function Slider(props: SliderProps): JSX.Element;
149
+ declare function Slider(props: SliderProps): React__default.JSX.Element;
150
150
 
151
- declare function Background(props: BackgroundProps): JSX.Element | null;
151
+ declare function Background(props: BackgroundProps): React__default.JSX.Element | null;
152
152
 
153
- declare function Overlay(props: OverlayProps): JSX.Element | null;
153
+ declare function Overlay(props: OverlayProps): React__default.JSX.Element | null;
154
154
 
155
- declare function Arrows(props: SliderArrowsProps): JSX.Element;
155
+ declare function Arrows(props: SliderArrowsProps): React__default.JSX.Element;
156
156
 
157
- declare function Dots(props: SliderDotsProps): JSX.Element;
157
+ declare function Dots(props: SliderDotsProps): React__default.JSX.Element;
158
158
 
159
159
  declare function AutoplayPlugin(changeSlidesEvery: number): KeenSliderPlugin;
160
160
 
@@ -162,7 +162,7 @@ type NoHydrateProps = {
162
162
  id: string;
163
163
  getHTML?: () => string;
164
164
  } & JSX.IntrinsicElements['div'];
165
- declare function NoHydrate({ id, getHTML, ...rest }: NoHydrateProps): JSX.Element;
165
+ declare function NoHydrate({ id, getHTML, ...rest }: NoHydrateProps): React__default.JSX.Element;
166
166
 
167
167
  declare let Components: {
168
168
  Background: typeof Background;
@@ -339,6 +339,6 @@ declare global {
339
339
  }
340
340
  }
341
341
 
342
- declare let WeaverseRoot: React__default.MemoExoticComponent<({ context }: WeaverseRootPropsType) => JSX.Element | null>;
342
+ declare let WeaverseRoot: React__default.MemoExoticComponent<({ context }: WeaverseRootPropsType) => React__default.JSX.Element | null>;
343
343
 
344
344
  export { BackgroundProps, ButtonElementProps, Components, ContainerElementProps, CountdownElementProps, CountdownTimeKey, CountdownTimerType, Elements, GridContentElementProps, ImageElementProps, InstagramElementProps, InstagramMedia, ItemComponentProps, LayoutBackgroundProps, LayoutElementProps, MapElementProps, ModalContentProps, OverlayProps, PlaceholderProps, ScrollingTextElementProps, SlideProps, SliderArrowsProps, SliderComponents, SliderDotsProps, SliderProps, SlideshowProps, TextElementProps, TimerBlockProps, TooltipProps, VideoCommonProps, VideoElementProps, VimeoElementProps, WeaverseContext, WeaverseContextConsumer, WeaverseContextProvider, WeaverseElementProps, WeaverseIcon, WeaverseIconProps, WeaverseRoot, WeaverseRootPropsType, YoutubeElementProps, createRootContext };
package/dist/index.js CHANGED
@@ -2654,6 +2654,5 @@ var ItemInstance = (0, import_react38.memo)(({ id }) => {
2654
2654
  WeaverseContextConsumer,
2655
2655
  WeaverseContextProvider,
2656
2656
  WeaverseRoot,
2657
- createRootContext,
2658
- ...require("@weaverse/core")
2657
+ createRootContext
2659
2658
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.36",
2
+ "version": "1.0.37",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@radix-ui/react-dialog": "^1.0.3",
36
36
  "@stitches/react": "^1.2.8",
37
- "@weaverse/core": "1.0.36",
37
+ "@weaverse/core": "1.0.37",
38
38
  "clsx": "^1.2.1",
39
39
  "keen-slider": "^6.8.5"
40
40
  }