@conveyorhq/arrow-ds 1.80.0 → 1.80.2
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/package.json +1 -1
- package/public/components/Banner/Banner.js +4 -4
- package/public/components/Toggle/Toggle.d.ts +1 -1
- package/public/css/styles.css +12 -16
- package/public/css/styles.min.css +1 -1
- package/public/css/styles.min.css.map +1 -1
- package/src/components/Banner/Banner.story.mdx +10 -4
- package/src/components/Banner/Banner.tsx +10 -7
- package/src/components/Banner/index.css +1 -6
- package/src/components/Link/index.css +4 -7
- package/src/components/Toggle/Toggle.tsx +1 -1
package/package.json
CHANGED
|
@@ -38,9 +38,9 @@ exports.Banner = react_1.forwardRef((props, ref) => {
|
|
|
38
38
|
const classes = classnames_1.default(bem_1.bem(cn), bem_1.bem(cn, { m: variant }), className);
|
|
39
39
|
return (react_1.default.createElement(status_1.StatusContext.Provider, { value: variant },
|
|
40
40
|
react_1.default.createElement(Box_1.Box, Object.assign({ ref: ref, className: classes, role: "alert" }, rest),
|
|
41
|
-
react_1.default.createElement(Flex_1.Flex,
|
|
41
|
+
react_1.default.createElement(Flex_1.Flex, { className: "w-full gap-x-2" },
|
|
42
42
|
withIcon && react_1.default.createElement(Icon_1.StatusIcon, { className: bem_1.bem(cn, { e: "icon" }) }),
|
|
43
|
-
react_1.default.createElement(
|
|
44
|
-
|
|
45
|
-
react_1.default.createElement(Box_1.Box, { className:
|
|
43
|
+
title ? (react_1.default.createElement(Flex_1.Flex, { className: "flex-col gap-y-1 w-full" },
|
|
44
|
+
react_1.default.createElement(Heading_1.Heading.H5, null, title),
|
|
45
|
+
react_1.default.createElement(Box_1.Box, { className: "w-full" }, children))) : (react_1.default.createElement(Box_1.Box, { className: "w-full" }, children))))));
|
|
46
46
|
});
|
|
@@ -6,7 +6,7 @@ export interface ToggleProps {
|
|
|
6
6
|
id?: string;
|
|
7
7
|
inputProps?: HTMLProps<HTMLInputElement>;
|
|
8
8
|
onChange: (checked: boolean) => void;
|
|
9
|
-
onClick
|
|
9
|
+
onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
labelPosition?: "left" | "right";
|
|
12
12
|
}
|
package/public/css/styles.css
CHANGED
|
@@ -1716,12 +1716,7 @@ override built-in Image component classes */
|
|
|
1716
1716
|
color: rgb(32 65 86 / var(--tw-text-opacity));
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
.ads-Banner-body {
|
|
1720
|
-
margin-top: 4px;
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
1719
|
.ads-Banner-icon {
|
|
1724
|
-
margin-right: 8px;
|
|
1725
1720
|
font-size: 16px;
|
|
1726
1721
|
}
|
|
1727
1722
|
|
|
@@ -4193,18 +4188,15 @@ override built-in Image component classes */
|
|
|
4193
4188
|
color: rgb(242 93 84 / var(--tw-text-opacity));
|
|
4194
4189
|
}
|
|
4195
4190
|
|
|
4196
|
-
.ads-Link--warning
|
|
4197
|
-
.ads-Link--default {
|
|
4191
|
+
.ads-Link--warning {
|
|
4198
4192
|
--tw-text-opacity: 1;
|
|
4199
|
-
color: rgb(
|
|
4193
|
+
color: rgb(220 152 1 / var(--tw-text-opacity));
|
|
4200
4194
|
}
|
|
4201
4195
|
|
|
4202
4196
|
.ads-Link--warning:hover,
|
|
4203
|
-
.ads-Link--
|
|
4204
|
-
.ads-Link--warning:active,
|
|
4205
|
-
.ads-Link--default:active {
|
|
4197
|
+
.ads-Link--warning:active {
|
|
4206
4198
|
--tw-text-opacity: 1;
|
|
4207
|
-
color: rgb(
|
|
4199
|
+
color: rgb(240 166 0 / var(--tw-text-opacity));
|
|
4208
4200
|
}
|
|
4209
4201
|
|
|
4210
4202
|
.ads-Link--success {
|
|
@@ -8059,6 +8051,10 @@ override built-in Image component classes */
|
|
|
8059
8051
|
margin-bottom: 16px;
|
|
8060
8052
|
}
|
|
8061
8053
|
|
|
8054
|
+
.mt-1 {
|
|
8055
|
+
margin-top: 4px;
|
|
8056
|
+
}
|
|
8057
|
+
|
|
8062
8058
|
.ml-11 {
|
|
8063
8059
|
margin-left: 44px;
|
|
8064
8060
|
}
|
|
@@ -8099,10 +8095,6 @@ override built-in Image component classes */
|
|
|
8099
8095
|
margin-right: 24px;
|
|
8100
8096
|
}
|
|
8101
8097
|
|
|
8102
|
-
.mt-1 {
|
|
8103
|
-
margin-top: 4px;
|
|
8104
|
-
}
|
|
8105
|
-
|
|
8106
8098
|
.ml-4 {
|
|
8107
8099
|
margin-left: 16px;
|
|
8108
8100
|
}
|
|
@@ -8409,6 +8401,10 @@ override built-in Image component classes */
|
|
|
8409
8401
|
column-gap: 8px;
|
|
8410
8402
|
}
|
|
8411
8403
|
|
|
8404
|
+
.gap-y-1 {
|
|
8405
|
+
row-gap: 4px;
|
|
8406
|
+
}
|
|
8407
|
+
|
|
8412
8408
|
.gap-x-4 {
|
|
8413
8409
|
-webkit-column-gap: 16px;
|
|
8414
8410
|
column-gap: 16px;
|