@ultraviolet/plus 0.12.2 → 0.12.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.
package/dist/index.d.ts CHANGED
@@ -361,8 +361,8 @@ declare const EstimateCost: {
361
361
  }) => _emotion_react_jsx_runtime.JSX.Element;
362
362
  Ellipsis: ({ children, maxWidth, "data-testid": dataTestId, }: {
363
363
  children: ReactNode;
364
- maxWidth?: number | undefined;
365
- 'data-testid'?: string | undefined;
364
+ maxWidth?: number;
365
+ 'data-testid'?: string;
366
366
  }) => _emotion_react_jsx_runtime.JSX.Element;
367
367
  };
368
368
 
@@ -53,7 +53,7 @@ const AnimatedIcon = /*#__PURE__*/_styled(Icon, {
53
53
  target: "e134hokc5"
54
54
  })();
55
55
  const WrapText = /*#__PURE__*/_styled(Text, {
56
- shouldForwardProp: prop => !['animation', 'subLabel'].includes(prop),
56
+ shouldForwardProp: prop => !['animation', 'subLabel', 'textProminence'].includes(prop),
57
57
  target: "e134hokc4"
58
58
  })("overflow-wrap:", ({
59
59
  animation
@@ -80,9 +80,13 @@ const StyledContainer = /*#__PURE__*/_styled(Stack, {
80
80
  theme
81
81
  }) => `calc(${theme.space['0.25']} + ${theme.space['0.5']}) ${theme.space['1']}`, ";&[data-has-sub-label='true']{padding:", ({
82
82
  theme
83
- }) => `${theme.space['0.5']} ${theme.space['1']}`, ";}width:100%;&:hover[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ),&:focus[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ),&[data-has-active-children='true'][data-has-no-expand='false']:not(\n [disabled][data-is-active='true']\n ){background-color:", ({
83
+ }) => `${theme.space['0.5']} ${theme.space['1']}`, ";}transition:background-color 0.2s ease-in-out,color 0.2s ease-in-out;width:100%;&:hover[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ),&:focus[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ),&[data-has-active-children='true'][data-has-no-expand='false']:not(\n [disabled][data-is-active='true']\n ){background-color:", ({
84
84
  theme
85
- }) => theme.colors.neutral.backgroundHover, ";", ExpandedPinnedButton, ",", CollapsedPinnedButton, "{opacity:1;}&[data-is-pinnable='true']{", StyledBadge, "{opacity:0;}}}&:active[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ){background-color:", ({
85
+ }) => theme.colors.neutral.backgroundHover, ";", WrapText, "{color:", ({
86
+ theme
87
+ }) => theme.colors.neutral.textWeakHover, ";}", ExpandedPinnedButton, ",", CollapsedPinnedButton, "{opacity:1;}&[data-is-pinnable='true']{", StyledBadge, "{opacity:0;}}}&:hover[data-has-children='false'][data-is-active='false']{", WrapText, "{color:", ({
88
+ theme
89
+ }) => theme.colors.neutral.textWeakHover, ";transition:background-color 0.2s ease-in-out,color 0.2s ease-in-out;}}&:active[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ){background-color:", ({
86
90
  theme
87
91
  }) => theme.colors.neutral.backgroundHover, ";}&[data-is-active='true'],&:hover[data-has-active='true']{background-color:", ({
88
92
  theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/plus",
3
- "version": "0.12.2",
3
+ "version": "0.12.4",
4
4
  "description": "Ultraviolet Plus",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -44,10 +44,10 @@
44
44
  "@emotion/react": "11.11.4",
45
45
  "@emotion/styled": "11.11.5",
46
46
  "@types/react": "18.2.74",
47
- "@types/react-dom": "18.2.23",
47
+ "@types/react-dom": "18.2.24",
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
- "@ultraviolet/icons": "2.12.0",
50
+ "@ultraviolet/icons": "2.12.1",
51
51
  "@ultraviolet/illustrations": "1.7.0"
52
52
  },
53
53
  "dependencies": {
@@ -56,7 +56,7 @@
56
56
  "@uiw/react-codemirror": "4.21.25",
57
57
  "react-intersection-observer": "9.8.1",
58
58
  "@ultraviolet/themes": "1.10.0",
59
- "@ultraviolet/ui": "1.45.3"
59
+ "@ultraviolet/ui": "1.45.5"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "rollup -c ../../rollup.config.mjs",