@ultraviolet/plus 0.4.8 → 0.4.10
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.
|
@@ -4,6 +4,17 @@ import { forwardRef } from 'react';
|
|
|
4
4
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
5
5
|
import { Icon } from '../../../@ultraviolet/icons/dist/components/Icon/index.js';
|
|
6
6
|
|
|
7
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
8
|
+
const StyledStack = /*#__PURE__*/_styled(Stack, {
|
|
9
|
+
target: "eqcw8nr2"
|
|
10
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
11
|
+
name: "ovk77c",
|
|
12
|
+
styles: "min-width:0"
|
|
13
|
+
} : {
|
|
14
|
+
name: "ovk77c",
|
|
15
|
+
styles: "min-width:0",
|
|
16
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
17
|
+
});
|
|
7
18
|
const IconWrapper = /*#__PURE__*/_styled("div", {
|
|
8
19
|
target: "eqcw8nr1"
|
|
9
20
|
})("display:inline-flex;background:", _ref => {
|
|
@@ -24,7 +35,7 @@ const IconWrapper = /*#__PURE__*/_styled("div", {
|
|
|
24
35
|
}, ";");
|
|
25
36
|
const StyledWrapper = /*#__PURE__*/_styled("a", {
|
|
26
37
|
target: "eqcw8nr0"
|
|
27
|
-
})("display:block;
|
|
38
|
+
})("display:block;padding:", _ref4 => {
|
|
28
39
|
let {
|
|
29
40
|
theme
|
|
30
41
|
} = _ref4;
|
|
@@ -63,7 +74,7 @@ const Card = /*#__PURE__*/forwardRef((_ref8, ref) => {
|
|
|
63
74
|
gap: 2,
|
|
64
75
|
alignItems: "center",
|
|
65
76
|
justifyContent: "space-between",
|
|
66
|
-
children: [jsxs(
|
|
77
|
+
children: [jsxs(StyledStack, {
|
|
67
78
|
gap: "0.5",
|
|
68
79
|
children: [jsxs("div", {
|
|
69
80
|
children: [subtitle ? jsx(Text, {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import _styled from '@emotion/styled/base';
|
|
2
|
+
import { Stack } from '@ultraviolet/ui';
|
|
2
3
|
import { forwardRef, Children } from 'react';
|
|
3
4
|
import { Card } from './Card.js';
|
|
4
5
|
import { SkeletonCard } from './SkeletonCard.js';
|
|
5
6
|
import { jsx, Fragment } from '@emotion/react/jsx-runtime';
|
|
6
7
|
|
|
7
|
-
const StyledWrapper = /*#__PURE__*/_styled(
|
|
8
|
+
const StyledWrapper = /*#__PURE__*/_styled(Stack, {
|
|
8
9
|
target: "e1393dgx0"
|
|
9
10
|
})("border-radius:", _ref => {
|
|
10
11
|
let {
|
|
@@ -21,13 +22,14 @@ const StyledWrapper = /*#__PURE__*/_styled("div", {
|
|
|
21
22
|
theme
|
|
22
23
|
} = _ref3;
|
|
23
24
|
return theme.colors.neutral.background;
|
|
24
|
-
}, ";");
|
|
25
|
+
}, ";min-width:0;");
|
|
25
26
|
const BaseContentCardGroup = /*#__PURE__*/forwardRef((_ref4, ref) => {
|
|
26
27
|
let {
|
|
27
28
|
children,
|
|
28
29
|
loading
|
|
29
30
|
} = _ref4;
|
|
30
31
|
return jsx(StyledWrapper, {
|
|
32
|
+
direction: "column",
|
|
31
33
|
ref: ref,
|
|
32
34
|
children: !loading ? children : jsx(Fragment, {
|
|
33
35
|
children: Children.map(children, (_child, index) =>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultraviolet/plus",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.10",
|
|
4
4
|
"description": "Ultraviolet Plus",
|
|
5
5
|
"homepage": "https://github.com/scaleway/ultraviolet#readme",
|
|
6
6
|
"repository": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@uiw/codemirror-theme-material": "4.21.20",
|
|
50
50
|
"@uiw/react-codemirror": "4.21.20",
|
|
51
51
|
"@ultraviolet/themes": "1.5.0",
|
|
52
|
-
"@ultraviolet/ui": "1.26.
|
|
52
|
+
"@ultraviolet/ui": "1.26.2"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "rollup -c ../../rollup.config.mjs"
|