@ultraviolet/plus 0.20.2 → 0.20.4

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.
@@ -56,7 +56,7 @@ export declare const BadgeBeta: import("@emotion/styled").StyledComponent<{
56
56
  sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color;
57
57
  size?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").SIZES;
58
58
  prominence?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").PROMINENCES;
59
- icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | "sparkles" | undefined;
59
+ icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | "sparkles" | "light-bulb" | undefined;
60
60
  disabled?: boolean;
61
61
  className?: string;
62
62
  children: import("react").ReactNode;
@@ -96,7 +96,7 @@ export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
96
96
  sentiment?: import("node_modules/@ultraviolet/ui/dist/theme").Color;
97
97
  size?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").SIZES;
98
98
  prominence?: keyof typeof import("node_modules/@ultraviolet/ui/dist/components/Badge").PROMINENCES;
99
- icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | "sparkles" | undefined;
99
+ icon?: "address" | "search" | "filter" | "view" | "anchor" | "id" | "download" | "alert" | "open-in-new" | "arrow-down" | "arrow-left-bottom" | "arrow-left-double" | "arrow-left" | "arrow-right-bottom" | "arrow-right-double" | "arrow-right" | "arrow-up" | "asterisk" | "attach" | "burger" | "cancel" | "check" | "close" | "close-circle-outline" | "copy-content" | "detach" | "dots-horizontal" | "dots-vertical" | "drag-vertical" | "drag-variant" | "east-short" | "east" | "equal" | "escape" | "expand" | "expand-more" | "github" | "instagram" | "linkedIn" | "logout" | "minus" | "north-short" | "north" | "organization" | "plus" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rss" | "send" | "slack" | "sort" | "south-short" | "south" | "switch_orga" | "x" | "upload" | "west-short" | "west" | "youtube" | "auto-fix" | "book-open-outline" | "bullhorn" | "calculator" | "calendar-range" | "chat" | "checkbox-circle-outline" | "clock-outline" | "console" | "credentials" | "credit-card" | "database" | "delete" | "doc" | "earth" | "email-remove-outline" | "email-outline" | "eye-off" | "eye" | "folder" | "help-circle-outline" | "information-outline" | "lock" | "members" | "moon" | "mosaic" | "pen" | "pencil" | "phone" | "play-circle-outline" | "privacy" | "profile" | "rocket" | "settings" | "sun" | "support" | "unlock" | "weather-night" | "pin" | "unpin" | "sparkles" | "light-bulb" | undefined;
100
100
  disabled?: boolean;
101
101
  className?: string;
102
102
  children: import("react").ReactNode;
@@ -33,7 +33,7 @@ const NavigationContext = react.createContext({
33
33
  allowNavigationResize: true,
34
34
  setAllowNavigationResize: () => {
35
35
  },
36
- shouldAnimate: false
36
+ shouldAnimate: true
37
37
  });
38
38
  const useNavigation = () => react.useContext(NavigationContext);
39
39
  const NavigationProvider = ({
@@ -46,7 +46,7 @@ const NavigationProvider = ({
46
46
  onExpandChange,
47
47
  initialWidth = constants.NAVIGATION_WIDTH,
48
48
  initialAllowNavigationResize = true,
49
- animation: shouldAnimate = false
49
+ animation: shouldAnimate = true
50
50
  }) => {
51
51
  const [expanded, setExpanded] = react.useState(initialExpanded);
52
52
  const [pinnedItems, setPinnedItems] = react.useState(initialPinned ?? []);
@@ -31,7 +31,7 @@ const NavigationContext = createContext({
31
31
  allowNavigationResize: true,
32
32
  setAllowNavigationResize: () => {
33
33
  },
34
- shouldAnimate: false
34
+ shouldAnimate: true
35
35
  });
36
36
  const useNavigation = () => useContext(NavigationContext);
37
37
  const NavigationProvider = ({
@@ -44,7 +44,7 @@ const NavigationProvider = ({
44
44
  onExpandChange,
45
45
  initialWidth = NAVIGATION_WIDTH,
46
46
  initialAllowNavigationResize = true,
47
- animation: shouldAnimate = false
47
+ animation: shouldAnimate = true
48
48
  }) => {
49
49
  const [expanded, setExpanded] = useState(initialExpanded);
50
50
  const [pinnedItems, setPinnedItems] = useState(initialPinned ?? []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/plus",
3
- "version": "0.20.2",
3
+ "version": "0.20.4",
4
4
  "description": "Ultraviolet Plus",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -64,8 +64,8 @@
64
64
  "@types/react-dom": "18.3.0",
65
65
  "react": "18.3.1",
66
66
  "react-dom": "18.3.1",
67
- "@ultraviolet/icons": "2.13.2",
68
- "@ultraviolet/illustrations": "3.1.2",
67
+ "@ultraviolet/icons": "2.14.0",
68
+ "@ultraviolet/illustrations": "3.2.0",
69
69
  "@utils/test": "0.0.1"
70
70
  },
71
71
  "dependencies": {
@@ -73,9 +73,9 @@
73
73
  "@uiw/codemirror-theme-material": "4.23.0",
74
74
  "@uiw/react-codemirror": "4.23.0",
75
75
  "react-intersection-observer": "9.13.0",
76
- "@ultraviolet/icons": "2.13.2",
76
+ "@ultraviolet/icons": "2.14.0",
77
77
  "@ultraviolet/themes": "1.12.2",
78
- "@ultraviolet/ui": "1.62.0"
78
+ "@ultraviolet/ui": "1.64.0"
79
79
  },
80
80
  "scripts": {
81
81
  "prebuild": "shx rm -rf dist",