@conveyorhq/arrow-ds 1.216.0 → 1.216.1
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/src/components/Appbar/Appbar.tsx +6 -0
- package/src/components/Box/Box.tsx +6 -0
- package/src/components/BrandIcon/BrandIcon.tsx +6 -0
- package/src/components/Description/Description.tsx +3 -0
- package/src/components/Flex/Flex.tsx +3 -0
- package/src/components/Grid/Grid.tsx +12 -0
- package/src/components/InputFeedback/InputFeedback.tsx +3 -0
- package/src/components/List/List.tsx +6 -0
- package/src/components/Marquee/Marquee.tsx +3 -0
- package/src/components/MenuRenderer/MenuRenderer.tsx +3 -0
- package/src/components/Overlay/Overlay.tsx +3 -0
- package/src/components/Panel/Panel.tsx +3 -0
- package/src/components/PopoverMenu/PopoverMenu.tsx +3 -0
- package/src/components/Portal/Portal.tsx +3 -0
- package/src/components/SpeechBubble/SpeechBubble.tsx +3 -0
- package/src/components/Stack/Stack.tsx +3 -0
- package/src/components/Text/Text.tsx +3 -0
- package/src/components/VisuallyHidden/VisuallyHidden.tsx +3 -0
- package/src/docs/FontAwesomeToMaterialDesign.mdx +1 -1
package/package.json
CHANGED
|
@@ -24,6 +24,9 @@ type NavComponent = ReactNode;
|
|
|
24
24
|
type UserComponent = ReactNode;
|
|
25
25
|
type OrganizationComponent = ReactNode;
|
|
26
26
|
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated
|
|
29
|
+
*/
|
|
27
30
|
export interface AppbarProps extends BoxProps {
|
|
28
31
|
/**
|
|
29
32
|
* Which company is this?
|
|
@@ -65,6 +68,9 @@ export interface AppbarProps extends BoxProps {
|
|
|
65
68
|
isProductMenuDisabled?: boolean;
|
|
66
69
|
}
|
|
67
70
|
|
|
71
|
+
/**
|
|
72
|
+
* @deprecated
|
|
73
|
+
*/
|
|
68
74
|
export const Appbar = (props: AppbarProps) => {
|
|
69
75
|
const {
|
|
70
76
|
company = COMPLY_COMPANY_NAME.CONVEYOR,
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import React, { FunctionComponent, HTMLAttributes, forwardRef } from "react";
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use React.ComponentProps<"div"> instead
|
|
5
|
+
*/
|
|
3
6
|
export interface BoxProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
7
|
ref?: any;
|
|
5
8
|
as?: any;
|
|
6
9
|
}
|
|
7
10
|
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated use a <div /> or <span /> element instead
|
|
13
|
+
*/
|
|
8
14
|
export const Box: FunctionComponent<BoxProps> = forwardRef<
|
|
9
15
|
HTMLDivElement,
|
|
10
16
|
BoxProps
|
|
@@ -10,6 +10,9 @@ import {
|
|
|
10
10
|
brandIconSizeMap,
|
|
11
11
|
} from "./types";
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
*/
|
|
13
16
|
export const BRAND_ICON_MAP: BrandIconComponentMap = {
|
|
14
17
|
[BrandIconNameEnum.confluence]: Icons.BrandIconSVGConfluence,
|
|
15
18
|
[BrandIconNameEnum.conveyor_ai]: Icons.BrandIconSVGConveyorAI,
|
|
@@ -31,6 +34,9 @@ type BrandIconProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
31
34
|
style?: React.CSSProperties;
|
|
32
35
|
};
|
|
33
36
|
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated
|
|
39
|
+
*/
|
|
34
40
|
export const BrandIcon = forwardRef<HTMLSpanElement, BrandIconProps>(
|
|
35
41
|
function BrandIcon(props, ref) {
|
|
36
42
|
const { name, size = "md", className, style, ...rest } = props;
|
|
@@ -5,6 +5,9 @@ import { bemHOF } from "../../utilities";
|
|
|
5
5
|
|
|
6
6
|
const cn = bemHOF("Grid");
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated
|
|
10
|
+
*/
|
|
8
11
|
export interface GridProps extends BoxProps {
|
|
9
12
|
/**
|
|
10
13
|
* Maps to the
|
|
@@ -26,6 +29,9 @@ export interface GridProps extends BoxProps {
|
|
|
26
29
|
gap?: string;
|
|
27
30
|
}
|
|
28
31
|
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated
|
|
34
|
+
*/
|
|
29
35
|
export interface GridItemProps extends BoxProps {
|
|
30
36
|
/**
|
|
31
37
|
* Specifies a grid item’s size and location within a grid column; internally,
|
|
@@ -48,6 +54,9 @@ export interface GridItemProps extends BoxProps {
|
|
|
48
54
|
area?: string;
|
|
49
55
|
}
|
|
50
56
|
|
|
57
|
+
/**
|
|
58
|
+
* @deprecated
|
|
59
|
+
*/
|
|
51
60
|
export const GridItem = forwardRef<HTMLDivElement, GridItemProps>(
|
|
52
61
|
(props, ref) => {
|
|
53
62
|
const {
|
|
@@ -79,6 +88,9 @@ export const GridItem = forwardRef<HTMLDivElement, GridItemProps>(
|
|
|
79
88
|
},
|
|
80
89
|
);
|
|
81
90
|
|
|
91
|
+
/**
|
|
92
|
+
* @deprecated use the “grid” classname instead
|
|
93
|
+
*/
|
|
82
94
|
const Grid = forwardRef<HTMLDivElement, GridProps>((props, ref) => {
|
|
83
95
|
const { className, style, columns = [], rows = [], gap, ...rest } = props;
|
|
84
96
|
|
|
@@ -5,10 +5,16 @@ interface ListProps extends BoxProps {
|
|
|
5
5
|
as?: "ol" | "ul";
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated use a <li /> element instead
|
|
10
|
+
*/
|
|
8
11
|
const ListItem = forwardRef<HTMLLIElement, BoxProps>((props, ref) => {
|
|
9
12
|
return <Box {...props} ref={ref} as="li" />;
|
|
10
13
|
});
|
|
11
14
|
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated use a <ol /> or <ul /> elements instead
|
|
17
|
+
*/
|
|
12
18
|
const List = forwardRef<HTMLOListElement | HTMLUListElement, ListProps>(
|
|
13
19
|
(props, ref) => {
|
|
14
20
|
const { as = "ul", ...rest } = props;
|
|
@@ -121,6 +121,9 @@ const MarqueeGradient = ({ style }: { style: CSSProperties }) => {
|
|
|
121
121
|
return <Box className={cn({ e: "overlay" })} style={style} />;
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated
|
|
126
|
+
*/
|
|
124
127
|
export const Marquee = forwardRef<HTMLDivElement, MarqueeProps>(
|
|
125
128
|
function Marquee(
|
|
126
129
|
{
|
|
@@ -10,6 +10,9 @@ export interface PanelProps extends BoxProps {
|
|
|
10
10
|
border?: BorderPosition;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated create panels using the appropriate classnames instead
|
|
15
|
+
*/
|
|
13
16
|
export const Panel = (props: PanelProps) => {
|
|
14
17
|
const { background = "white", border = "all", className, ...rest } = props;
|
|
15
18
|
|
|
@@ -5,6 +5,9 @@ import { bemHOF } from "../../utilities";
|
|
|
5
5
|
|
|
6
6
|
const cn = bemHOF("VisuallyHidden");
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated use the “visually-hidden” classname instead
|
|
10
|
+
*/
|
|
8
11
|
export const VisuallyHidden: React.FunctionComponent<BoxProps> = React.forwardRef<
|
|
9
12
|
HTMLDivElement,
|
|
10
13
|
BoxProps
|
|
@@ -65,7 +65,7 @@ The follwing props for `Icon` no longer apply to `MaterialIcon`.
|
|
|
65
65
|
| Prop type | Alternative |
|
|
66
66
|
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
67
67
|
| `color?: string;` | Use `className` or `style` to set the icon's color |
|
|
68
|
-
| `spin?: boolean;` | Use the `
|
|
68
|
+
| `spin?: boolean;` | Use the `animate-spin` classname, which adds a spinning animation to the icon |
|
|
69
69
|
| `prefix?: ICON_STYLE_PREFIX;` | None; `prefix` was specific to Font Awesome |
|
|
70
70
|
| `flip?: FlipProp;` | This prop was specific to Font Awesome and was never used; if necessary, use the CSS `transform` property with functions `scaleX(-1)` for horizontal or `scaleY(-1)` for vertical. |
|
|
71
71
|
|