@ultraviolet/plus 0.12.4 → 0.12.6
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/@ultraviolet/icons/dist/components/CategoryIcon/Icons.js +3 -1
- package/dist/@ultraviolet/icons/dist/components/CategoryIcon/assets/application-integration.svg.js +26 -0
- package/dist/index.d.ts +1 -1
- package/dist/src/components/Navigation/components/Item.js +4 -3
- package/package.json +4 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ReactComponent as Memo$k } from './assets/ai.svg.js';
|
|
2
|
+
import { ReactComponent as Memo$o } from './assets/application-integration.svg.js';
|
|
2
3
|
import { ReactComponent as Memo } from './assets/baremetal.svg.js';
|
|
3
4
|
import { ReactComponent as Memo$j } from './assets/billing.svg.js';
|
|
4
5
|
import { ReactComponent as Memo$i } from './assets/compute.svg.js';
|
|
@@ -47,7 +48,8 @@ const CATEGORY_ICONS = {
|
|
|
47
48
|
ai: Memo$k,
|
|
48
49
|
labs: Memo$l,
|
|
49
50
|
devTools: Memo$m,
|
|
50
|
-
pin: Memo$n
|
|
51
|
+
pin: Memo$n,
|
|
52
|
+
applicationIntegration: Memo$o
|
|
51
53
|
};
|
|
52
54
|
|
|
53
55
|
export { CATEGORY_ICONS };
|
package/dist/@ultraviolet/icons/dist/components/CategoryIcon/assets/application-integration.svg.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { memo } from 'react';
|
|
3
|
+
|
|
4
|
+
var _g;
|
|
5
|
+
var SvgApplicationIntegration = function SvgApplicationIntegration(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", props, _g || (_g = /*#__PURE__*/React.createElement("g", {
|
|
7
|
+
className: "Application-Integration"
|
|
8
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
9
|
+
className: "Icon"
|
|
10
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
11
|
+
fill: "#521094",
|
|
12
|
+
d: "M6.707 18.707a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 0-1.414l2-2a1 1 0 0 1 1.414 1.414L6.414 15H16a1 1 0 1 1 0 2H6.414l.293.293a1 1 0 0 1 0 1.414m6.586-17.414a1 1 0 0 1 1.414 0l2 2a1 1 0 0 1 0 1.414l-2 2a1 1 0 1 1-1.414-1.414L13.586 5H4a1 1 0 1 1 0-2h9.586l-.293-.293a1 1 0 0 1 0-1.414",
|
|
13
|
+
className: "fillStrong",
|
|
14
|
+
clipRule: "evenodd",
|
|
15
|
+
fillRule: "evenodd"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
fill: "#A060F6",
|
|
18
|
+
d: "M4 7.25a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0V8A.75.75 0 0 1 4 7.25m3 0a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0V8A.75.75 0 0 1 7 7.25m4 0a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75m5 0a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0V8a.75.75 0 0 1 .75-.75",
|
|
19
|
+
className: "fill",
|
|
20
|
+
clipRule: "evenodd",
|
|
21
|
+
fillRule: "evenodd"
|
|
22
|
+
})))));
|
|
23
|
+
};
|
|
24
|
+
var Memo = /*#__PURE__*/memo(SvgApplicationIntegration);
|
|
25
|
+
|
|
26
|
+
export { Memo as ReactComponent };
|
package/dist/index.d.ts
CHANGED
|
@@ -491,7 +491,7 @@ declare const Navigation: {
|
|
|
491
491
|
}) => _emotion_react_jsx_runtime.JSX.Element | null;
|
|
492
492
|
Item: ({ children, categoryIcon, categoryIconVariant, label, subLabel, badgeText, badgeSentiment, href, onClick, toggle, active, noPinButton, type, hasParents, as, disabled, noExpand, toggleMenu, }: {
|
|
493
493
|
children?: ReactNode;
|
|
494
|
-
categoryIcon?: "security" | "console" | "database" | "pin" | "billing" | "storage" | "baremetal" | "webHosting" | "vpc" | "useCase" | "toolsServices" | "serverless" | "observability" | "network" | "managedServices" | "iot" | "documentation" | "dedicatedServer" | "datacenter" | "containers" | "compute" | "ai" | "labs" | "devTools" | undefined;
|
|
494
|
+
categoryIcon?: "security" | "console" | "database" | "pin" | "billing" | "storage" | "baremetal" | "webHosting" | "vpc" | "useCase" | "toolsServices" | "serverless" | "observability" | "network" | "managedServices" | "iot" | "documentation" | "dedicatedServer" | "datacenter" | "containers" | "compute" | "ai" | "labs" | "devTools" | "applicationIntegration" | undefined;
|
|
495
495
|
categoryIconVariant?: "neutral" | "primary" | undefined;
|
|
496
496
|
label: string;
|
|
497
497
|
subLabel?: string | undefined;
|
|
@@ -80,13 +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']}`, ";}
|
|
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:", ({
|
|
84
84
|
theme
|
|
85
85
|
}) => theme.colors.neutral.backgroundHover, ";", WrapText, "{color:", ({
|
|
86
86
|
theme
|
|
87
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
88
|
theme
|
|
89
|
-
}) => theme.colors.neutral.textWeakHover, ";transition:background-color 0.2s ease-in-out
|
|
89
|
+
}) => theme.colors.neutral.textWeakHover, ";transition:background-color 0.2s ease-in-out;}}&:active[data-has-no-expand='false']:not([disabled]):not(\n [data-is-active='true']\n ){background-color:", ({
|
|
90
90
|
theme
|
|
91
91
|
}) => theme.colors.neutral.backgroundHover, ";}&[data-is-active='true'],&:hover[data-has-active='true']{background-color:", ({
|
|
92
92
|
theme
|
|
@@ -373,7 +373,8 @@ const Item = ({
|
|
|
373
373
|
alignItems: "center",
|
|
374
374
|
justifyContent: "center",
|
|
375
375
|
children: jsx(CategoryIcon, {
|
|
376
|
-
name: categoryIcon ?? 'console'
|
|
376
|
+
name: categoryIcon ?? 'console',
|
|
377
|
+
variant: categoryIconVariant
|
|
377
378
|
})
|
|
378
379
|
})
|
|
379
380
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/plus",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.6",
|
|
4
4
|
"description": "Ultraviolet Plus",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react-dom": "18.2.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@babel/core": "7.24.
|
|
42
|
+
"@babel/core": "7.24.4",
|
|
43
43
|
"@emotion/babel-plugin": "11.11.0",
|
|
44
44
|
"@emotion/react": "11.11.4",
|
|
45
45
|
"@emotion/styled": "11.11.5",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
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.
|
|
50
|
+
"@ultraviolet/icons": "2.12.3",
|
|
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.
|
|
59
|
+
"@ultraviolet/ui": "1.46.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "rollup -c ../../rollup.config.mjs",
|