decentraland-ui2 0.45.3 → 1.0.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.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/dist/components/AvatarFace/AvatarFace.styled.d.ts +1 -1
  3. package/dist/components/Banner/Banner.styled.d.ts +8 -8
  4. package/dist/components/Blockie/Blockie.styled.d.ts +1 -1
  5. package/dist/components/CatalogCard/CatalogCard.styled.d.ts +7 -7
  6. package/dist/components/ChainSelector/ChainSelector.styled.d.ts +8 -12
  7. package/dist/components/CreditsToggle/CreditsToggle.styled.d.ts +5 -5
  8. package/dist/components/DownloadButton/DownloadButton.styled.d.ts +3 -3
  9. package/dist/components/Footer/Footer.stories.styled.d.ts +1 -1
  10. package/dist/components/Footer/Footer.styled.d.ts +6 -8
  11. package/dist/components/FooterLanding/FooterLanding.styled.d.ts +10 -10
  12. package/dist/components/IconBadge/IconBadge.js +1 -1
  13. package/dist/components/IconBadge/IconBadge.js.map +1 -1
  14. package/dist/components/IconBadge/IconBadge.styled.d.ts +3 -3
  15. package/dist/components/JumpIn/JumpIn.styled.d.ts +6 -6
  16. package/dist/components/LanguageDropdown/LanguageDropdown.styled.d.ts +2 -2
  17. package/dist/components/Logo/Logo.styled.d.ts +3 -3
  18. package/dist/components/Mana/Mana.styled.d.ts +1 -1
  19. package/dist/components/Modal/DownloadModal/DownloadModal.styled.d.ts +4 -4
  20. package/dist/components/Modal/Modal.styled.d.ts +5 -5
  21. package/dist/components/Navbar/MainMenu/MainMenu.styled.d.ts +1 -1
  22. package/dist/components/Navbar/MenuItem/MenuItem.styled.d.ts +2 -2
  23. package/dist/components/Navbar/Navbar.styled.d.ts +9 -9
  24. package/dist/components/Navbar/SubMenu/SubMenu.styled.d.ts +4 -4
  25. package/dist/components/Navbar/SubMenuColumn/SubMenuColumn.styled.d.ts +2 -2
  26. package/dist/components/Navbar/SubMenuItem/SubMenuItem.styled.d.ts +5 -5
  27. package/dist/components/Notifications/NotificationItem.styled.d.ts +3 -3
  28. package/dist/components/Notifications/NotificationItemImage.styled.d.ts +1 -1
  29. package/dist/components/Notifications/NotificationItemNFTLink.styled.d.ts +1 -1
  30. package/dist/components/Notifications/Notifications.styled.d.ts +2 -2
  31. package/dist/components/Notifications/NotificationsFeed.styled.d.ts +4 -4
  32. package/dist/components/Notifications/NotificationsFeedTabs.styled.d.ts +3 -3
  33. package/dist/components/RarityBadge/RarityBadge.stories.styled.d.ts +1 -1
  34. package/dist/components/RarityBadge/RarityBadge.styled.d.ts +1 -1
  35. package/dist/components/SceneCard/SceneCard.styled.d.ts +18 -18
  36. package/dist/components/ScenesTable/rows/ActionRow/ActionRow.styled.d.ts +3 -3
  37. package/dist/components/ScenesTable/rows/LocationRow/LocationRow.styled.d.ts +2 -2
  38. package/dist/components/ScenesTable/rows/SceneRow/SceneRow.styled.d.ts +8 -8
  39. package/dist/components/Table/Table.styled.d.ts +7 -7
  40. package/dist/components/UserLabel/UserLabel.styled.d.ts +2 -2
  41. package/dist/components/UserMenu/ManaBalances/ManaBalances.styled.d.ts +4 -4
  42. package/dist/components/UserMenu/UserMenu.styled.d.ts +3 -3
  43. package/dist/components/UserMenu/UserMenuSignedIn/UserMenuSignedIn.styled.d.ts +14 -14
  44. package/dist/components/WearablePreview/AnimationControls/AnimationControls.styled.d.ts +2 -2
  45. package/dist/components/WearablePreview/EmoteControls/EmoteControls.styled.d.ts +1 -1
  46. package/dist/components/WearablePreview/TranslationControls/TranslationControls.styled.d.ts +4 -4
  47. package/package.json +6 -5
@@ -1,6 +1,6 @@
1
1
  import { HorizontalPosition, VerticalPosition } from "./TranslationControls.types";
2
2
  declare const StyledTranslationControlsContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
4
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
5
5
  theme?: import("@emotion/react").Theme;
6
6
  } & {
@@ -8,17 +8,17 @@ declare const StyledTranslationControlsContainer: import("@emotion/styled").Styl
8
8
  verticalPosition?: VerticalPosition;
9
9
  }, {}, {}>;
10
10
  declare const StyledVerticalSliderContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
11
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
11
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
12
12
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
13
13
  theme?: import("@emotion/react").Theme;
14
14
  }, {}, {}>;
15
15
  declare const StyledIconWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
16
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
16
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
17
17
  }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
18
18
  theme?: import("@emotion/react").Theme;
19
19
  }, {}, {}>;
20
20
  declare const StyledSlider: import("@emotion/styled").StyledComponent<import("@mui/material").SliderOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
21
- ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
21
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
22
22
  }, "disabled" | "components" | "color" | "scale" | "className" | "style" | "classes" | "sx" | "track" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "onChange" | "size" | "name" | "value" | "slots" | "slotProps" | "orientation" | "componentsProps" | "max" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "min" | "onChangeCommitted" | "shiftStep" | "step" | "valueLabelDisplay" | "valueLabelFormat"> & {
23
23
  theme?: import("@emotion/react").Theme;
24
24
  }, {}, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decentraland-ui2",
3
- "version": "0.45.3",
3
+ "version": "1.0.0",
4
4
  "description": "Decentraland's UI components and styles",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -53,8 +53,8 @@
53
53
  "lottie-react": "^2.4.0",
54
54
  "mitt": "^3.0.1",
55
55
  "radash": "^11.0.0",
56
- "react": "^17.0.2",
57
- "react-dom": "^17.0.2",
56
+ "react": "^18.2.0",
57
+ "react-dom": "^18.2.0",
58
58
  "react-tile-map": "^0.4.1",
59
59
  "uuid": "^11.1.0"
60
60
  },
@@ -76,7 +76,8 @@
76
76
  "@storybook/testing-library": "^0.2.2",
77
77
  "@types/deep-equal": "^1.0.4",
78
78
  "@types/jest": "^29.5.12",
79
- "@types/react": "^17.0.80",
79
+ "@types/react": "^18.2.0",
80
+ "@types/react-dom": "^18.2.0",
80
81
  "@typescript-eslint/eslint-plugin": "^6.21.0",
81
82
  "@typescript-eslint/parser": "^6.21.0",
82
83
  "eslint": "^8.57.0",
@@ -100,5 +101,5 @@
100
101
  "files": [
101
102
  "dist"
102
103
  ],
103
- "commit": "a4a34627dd74e4890864b8ec67d27998b3e9f891"
104
+ "commit": "797f0ba98589e35342aecfc8966988f99608285d"
104
105
  }