@node-core/ui-components 1.0.1-7d8b9c58eb79bcc815f9f0e0b73a6435a45cdc07 → 1.0.1-8d29e0f9ff8d419c6dc45db3f528b43086eea863
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.
|
@@ -6,12 +6,6 @@ import AlertBox from '#ui/Common/AlertBox';
|
|
|
6
6
|
type Story = StoryObj<typeof AlertBox>;
|
|
7
7
|
type Meta = MetaObj<typeof AlertBox>;
|
|
8
8
|
|
|
9
|
-
const withMain = (args: React.ComponentProps<typeof AlertBox>) => (
|
|
10
|
-
<main>
|
|
11
|
-
<AlertBox {...args} />
|
|
12
|
-
</main>
|
|
13
|
-
);
|
|
14
|
-
|
|
15
9
|
export const Info: Story = {
|
|
16
10
|
args: {
|
|
17
11
|
level: 'info',
|
|
@@ -52,23 +46,6 @@ export const Danger: Story = {
|
|
|
52
46
|
},
|
|
53
47
|
};
|
|
54
48
|
|
|
55
|
-
export const InMarkdown: Story = {
|
|
56
|
-
args: {
|
|
57
|
-
level: 'danger',
|
|
58
|
-
title: '0',
|
|
59
|
-
children: (
|
|
60
|
-
<>
|
|
61
|
-
In a markdown component, <code>Code renders correctly,</code>{' '}
|
|
62
|
-
<a href="#">
|
|
63
|
-
<code>even when in a link</code>
|
|
64
|
-
</a>
|
|
65
|
-
</>
|
|
66
|
-
),
|
|
67
|
-
size: 'default',
|
|
68
|
-
},
|
|
69
|
-
render: withMain,
|
|
70
|
-
};
|
|
71
|
-
|
|
72
49
|
export const WithIcon: Story = {
|
|
73
50
|
args: {
|
|
74
51
|
level: 'info',
|
package/Icons/Logos/Nodejs.tsx
CHANGED
|
@@ -72,7 +72,7 @@ const NodejsIcon: FC<NodeJsLogoProps> = ({
|
|
|
72
72
|
/>
|
|
73
73
|
|
|
74
74
|
{variant === 'pride' ? (
|
|
75
|
-
<g
|
|
75
|
+
<g clip-path="url(#clip0_1_1661)">
|
|
76
76
|
<mask
|
|
77
77
|
id="mask1_1_1661"
|
|
78
78
|
style={{ maskType: 'alpha' }}
|
|
@@ -183,7 +183,7 @@ const NodejsIcon: FC<NodeJsLogoProps> = ({
|
|
|
183
183
|
filterUnits="userSpaceOnUse"
|
|
184
184
|
color-interpolation-filters="sRGB"
|
|
185
185
|
>
|
|
186
|
-
<feFlood
|
|
186
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
187
187
|
<feColorMatrix
|
|
188
188
|
in="SourceAlpha"
|
|
189
189
|
type="matrix"
|
|
@@ -218,7 +218,7 @@ const NodejsIcon: FC<NodeJsLogoProps> = ({
|
|
|
218
218
|
filterUnits="userSpaceOnUse"
|
|
219
219
|
color-interpolation-filters="sRGB"
|
|
220
220
|
>
|
|
221
|
-
<feFlood
|
|
221
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
222
222
|
<feColorMatrix
|
|
223
223
|
in="SourceAlpha"
|
|
224
224
|
type="matrix"
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"engines": {
|
|
75
75
|
"node": ">=20"
|
|
76
76
|
},
|
|
77
|
-
"version": "1.0.1-
|
|
77
|
+
"version": "1.0.1-8d29e0f9ff8d419c6dc45db3f528b43086eea863",
|
|
78
78
|
"scripts": {
|
|
79
79
|
"lint": "turbo run lint:js lint:css",
|
|
80
80
|
"lint:css": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-strategy=content --cache-location=.stylelintcache",
|