@alto-avios/alto-ui 2.0.0 → 2.2.0
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/assets/ButtonGroup.css +1 -0
- package/dist/assets/DestinationHeading.css +1 -0
- package/dist/assets/Heading.css +1 -1
- package/dist/assets/Paragraph.css +1 -0
- package/dist/assets/SubHeading.css +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +13 -0
- package/dist/components/ButtonGroup/ButtonGroup.js +50 -0
- package/dist/components/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/components/ButtonGroup/index.d.ts +1 -0
- package/dist/components/ButtonGroup/index.js +5 -0
- package/dist/components/ButtonGroup/index.js.map +1 -0
- package/dist/components/DestinationHeading/DestinationHeading.d.ts +12 -0
- package/dist/components/DestinationHeading/DestinationHeading.js +25 -0
- package/dist/components/DestinationHeading/DestinationHeading.js.map +1 -0
- package/dist/components/DestinationHeading/index.d.ts +1 -0
- package/dist/components/DestinationHeading/index.js +5 -0
- package/dist/components/DestinationHeading/index.js.map +1 -0
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.js +10 -10
- package/dist/components/Paragraph/Paragraph.d.ts +30 -0
- package/dist/components/Paragraph/Paragraph.js +59 -0
- package/dist/components/Paragraph/Paragraph.js.map +1 -0
- package/dist/components/Paragraph/index.d.ts +1 -0
- package/dist/components/Paragraph/index.js +5 -0
- package/dist/components/Paragraph/index.js.map +1 -0
- package/dist/components/SubHeading/SubHeading.d.ts +1 -1
- package/dist/components/SubHeading/SubHeading.js +6 -6
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._buttonGroup_1tzc6_2{align-items:center;display:flex;flex-wrap:wrap;gap:var(--alto-sem-space-sm) var(--alto-sem-space-2xs)}._alignStart_1tzc6_11{justify-content:flex-start}._alignCenter_1tzc6_15{justify-content:center}._alignEnd_1tzc6_19{justify-content:flex-end}._alignJustify_1tzc6_23,._alignSplit_1tzc6_28{justify-content:space-between}._alignSplit_1tzc6_28>:first-child{margin-right:auto}._alignSplit_1tzc6_28>:not(:first-child){display:flex;justify-content:flex-end}._alignStack_1tzc6_41{align-items:stretch;flex-direction:column}._alignStackFlip_1tzc6_46{align-items:stretch;flex-direction:column-reverse}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._destinationHeading_13li7_1{align-items:center;display:inline-flex;flex-wrap:wrap;gap:var(--alto-sem-space-2xs)}
|
package/dist/assets/Heading.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._heading_12ps7_1{display:block;font-family:var(--alto-sem-text-heading-font-family);font-style:normal;margin:0}._xxs_12ps7_8{font-size:var(--alto-sem-text-heading-2xs-font-size);font-weight:var(--alto-sem-text-heading-2xs-font-weight);letter-spacing:var(--alto-sem-text-heading-2xs-letter-spacing);line-height:var(--alto-sem-text-heading-2xs-line-height)}._xs_12ps7_15{font-size:var(--alto-sem-text-heading-xs-font-size);font-weight:var(--alto-sem-text-heading-xs-font-weight);letter-spacing:var(--alto-sem-text-heading-xs-letter-spacing);line-height:var(--alto-sem-text-heading-xs-line-height)}._sm_12ps7_22{font-size:var(--alto-sem-text-heading-sm-font-size);font-weight:var(--alto-sem-text-heading-sm-font-weight);letter-spacing:var(--alto-sem-text-heading-sm-letter-spacing);line-height:var(--alto-sem-text-heading-sm-line-height)}._md_12ps7_29{font-size:var(--alto-sem-text-heading-md-font-size);font-weight:var(--alto-sem-text-heading-md-font-weight);letter-spacing:var(--alto-sem-text-heading-md-letter-spacing);line-height:var(--alto-sem-text-heading-md-line-height)}._lg_12ps7_36{font-size:var(--alto-sem-text-heading-lg-font-size);font-weight:var(--alto-sem-text-heading-lg-font-weight);letter-spacing:var(--alto-sem-text-heading-lg-letter-spacing);line-height:var(--alto-sem-text-heading-lg-line-height)}._xl_12ps7_43{font-size:var(--alto-sem-text-heading-xl-font-size);font-weight:var(--alto-sem-text-heading-xl-font-weight);letter-spacing:var(--alto-sem-text-heading-xl-letter-spacing);line-height:var(--alto-sem-text-heading-xl-line-height)}._start_12ps7_50{text-align:start}._center_12ps7_54{text-align:center}._end_12ps7_58{text-align:end}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._paragraph_odu3c_1{display:block;font-family:var(--alto-sem-text-body-font-family);font-style:normal;font-weight:var(--alto-sem-text-body-regular-font-weight);margin:0}._xs_odu3c_9{font-size:var(--alto-sem-text-body-xs-font-size);letter-spacing:var(--alto-sem-text-body-xs-letter-spacing);line-height:var(--alto-sem-text-body-xs-line-height)}._sm_odu3c_15{font-size:var(--alto-sem-text-body-sm-font-size);letter-spacing:var(--alto-sem-text-body-sm-letter-spacing);line-height:var(--alto-sem-text-body-sm-line-height)}._md_odu3c_21{font-size:var(--alto-sem-text-body-md-font-size);letter-spacing:var(--alto-sem-text-body-md-letter-spacing);line-height:var(--alto-sem-text-body-md-line-height)}._lg_odu3c_27{font-size:var(--alto-sem-text-body-lg-font-size);letter-spacing:var(--alto-sem-text-body-lg-letter-spacing);line-height:var(--alto-sem-text-body-lg-line-height)}._start_odu3c_33{text-align:start}._center_odu3c_37{text-align:center}._end_odu3c_41{text-align:end}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._subHeading_qng6l_1{display:block;font-family:var(--alto-sem-text-heading-font-family);font-style:normal;margin:0}._xs_qng6l_8{font-size:var(--alto-sem-text-heading-xs-font-size);font-weight:var(--alto-sem-text-heading-xs-font-weight);letter-spacing:var(--alto-sem-text-heading-xs-letter-spacing);line-height:var(--alto-sem-text-heading-xs-line-height)}._sm_qng6l_15{font-size:var(--alto-sem-text-heading-sm-font-size);font-weight:var(--alto-sem-text-heading-sm-font-weight);letter-spacing:var(--alto-sem-text-heading-sm-letter-spacing);line-height:var(--alto-sem-text-heading-sm-line-height)}._start_qng6l_22{text-align:start}._center_qng6l_26{text-align:center}._end_qng6l_30{text-align:end}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface ButtonGroupProps {
|
|
3
|
+
/**
|
|
4
|
+
* The buttons to be displayed within the group (maximum of three).
|
|
5
|
+
*/
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Determines how the buttons are arranged.
|
|
9
|
+
*/
|
|
10
|
+
align?: 'start' | 'center' | 'end' | 'justify' | 'split' | 'stack' | 'stackFlip';
|
|
11
|
+
}
|
|
12
|
+
export declare const ButtonGroup: ({ children, align, }: ButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default ButtonGroup;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
4
|
+
import '../../assets/ButtonGroup.css';const buttonGroup = "_buttonGroup_1tzc6_2";
|
|
5
|
+
const alignStart = "_alignStart_1tzc6_11";
|
|
6
|
+
const alignCenter = "_alignCenter_1tzc6_15";
|
|
7
|
+
const alignEnd = "_alignEnd_1tzc6_19";
|
|
8
|
+
const alignJustify = "_alignJustify_1tzc6_23";
|
|
9
|
+
const alignSplit = "_alignSplit_1tzc6_28";
|
|
10
|
+
const alignStack = "_alignStack_1tzc6_41";
|
|
11
|
+
const alignStackFlip = "_alignStackFlip_1tzc6_46";
|
|
12
|
+
const styles = {
|
|
13
|
+
buttonGroup,
|
|
14
|
+
alignStart,
|
|
15
|
+
alignCenter,
|
|
16
|
+
alignEnd,
|
|
17
|
+
alignJustify,
|
|
18
|
+
alignSplit,
|
|
19
|
+
alignStack,
|
|
20
|
+
alignStackFlip
|
|
21
|
+
};
|
|
22
|
+
const buttonGroupStyles = cva(styles.buttonGroup, {
|
|
23
|
+
variants: {
|
|
24
|
+
align: {
|
|
25
|
+
start: styles.alignStart,
|
|
26
|
+
center: styles.alignCenter,
|
|
27
|
+
end: styles.alignEnd,
|
|
28
|
+
justify: styles.alignJustify,
|
|
29
|
+
split: styles.alignSplit,
|
|
30
|
+
stack: styles.alignStack,
|
|
31
|
+
stackFlip: styles.alignStackFlip
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
defaultVariants: {
|
|
35
|
+
align: "start"
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
const ButtonGroup = ({
|
|
39
|
+
children,
|
|
40
|
+
align = "start"
|
|
41
|
+
}) => {
|
|
42
|
+
return /* @__PURE__ */ jsx("div", { className: `${buttonGroupStyles({
|
|
43
|
+
align
|
|
44
|
+
})}`, role: "group", "aria-label": "Button Group", children: React.Children.map(children, (child) => child) });
|
|
45
|
+
};
|
|
46
|
+
export {
|
|
47
|
+
ButtonGroup,
|
|
48
|
+
ButtonGroup as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=ButtonGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonGroup.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ButtonGroup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HeadingProps } from '../Heading/Heading';
|
|
2
|
+
export interface DestinationHeadingProps extends Omit<HeadingProps, "children"> {
|
|
3
|
+
from: string;
|
|
4
|
+
to: string;
|
|
5
|
+
/**
|
|
6
|
+
* Custom a11y label for the arrow icon between destinations.
|
|
7
|
+
* @default "to"
|
|
8
|
+
*/
|
|
9
|
+
iconLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const DestinationHeading: ({ from, to, iconLabel, ...props }: DestinationHeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export default DestinationHeading;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Heading } from "../Heading/Heading.js";
|
|
3
|
+
import { Icon } from "../Icon/Icon.js";
|
|
4
|
+
import '../../assets/DestinationHeading.css';const destinationHeading = "_destinationHeading_13li7_1";
|
|
5
|
+
const styles = {
|
|
6
|
+
destinationHeading
|
|
7
|
+
};
|
|
8
|
+
const DestinationHeading = ({
|
|
9
|
+
from,
|
|
10
|
+
to,
|
|
11
|
+
iconLabel = "to",
|
|
12
|
+
...props
|
|
13
|
+
}) => {
|
|
14
|
+
return /* @__PURE__ */ jsx(Heading, { ...props, children: /* @__PURE__ */ jsxs("span", { className: styles.destinationHeading, children: [
|
|
15
|
+
from,
|
|
16
|
+
/* @__PURE__ */ jsx(Icon, { iconName: "arrow-right", iconPrefix: "fas", ariaLabel: iconLabel }),
|
|
17
|
+
" ",
|
|
18
|
+
to
|
|
19
|
+
] }) });
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
DestinationHeading,
|
|
23
|
+
DestinationHeading as default
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=DestinationHeading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DestinationHeading.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DestinationHeading';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import { fgColorVariants } from '../../utils/fgColour/fgColor';
|
|
4
4
|
declare const heading: (props?: ({
|
|
5
5
|
size?: "lg" | "sm" | "xs" | "md" | "xxs" | "xl" | null | undefined;
|
|
6
|
-
textAlign?: "
|
|
6
|
+
textAlign?: "start" | "center" | "end" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type HeadingVariants = VariantProps<typeof heading>;
|
|
9
9
|
type FgColorVariants = VariantProps<typeof fgColorVariants>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
3
3
|
import { fgColorVariants } from "../../utils/fgColour/fgColor.js";
|
|
4
|
-
import '../../assets/Heading.css';const heading$1 = "
|
|
5
|
-
const xxs = "
|
|
6
|
-
const xs = "
|
|
7
|
-
const sm = "
|
|
8
|
-
const md = "
|
|
9
|
-
const lg = "
|
|
10
|
-
const xl = "
|
|
11
|
-
const start = "
|
|
12
|
-
const center = "
|
|
13
|
-
const end = "
|
|
4
|
+
import '../../assets/Heading.css';const heading$1 = "_heading_12ps7_1";
|
|
5
|
+
const xxs = "_xxs_12ps7_8";
|
|
6
|
+
const xs = "_xs_12ps7_15";
|
|
7
|
+
const sm = "_sm_12ps7_22";
|
|
8
|
+
const md = "_md_12ps7_29";
|
|
9
|
+
const lg = "_lg_12ps7_36";
|
|
10
|
+
const xl = "_xl_12ps7_43";
|
|
11
|
+
const start = "_start_12ps7_50";
|
|
12
|
+
const center = "_center_12ps7_54";
|
|
13
|
+
const end = "_end_12ps7_58";
|
|
14
14
|
const styles = {
|
|
15
15
|
heading: heading$1,
|
|
16
16
|
xxs,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { fgColorVariants } from '../../utils/fgColour/fgColor';
|
|
4
|
+
declare const paragraph: (props?: ({
|
|
5
|
+
size?: "lg" | "sm" | "xs" | "md" | null | undefined;
|
|
6
|
+
textAlign?: "start" | "center" | "end" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
type ParagraphVariants = VariantProps<typeof paragraph>;
|
|
9
|
+
type FgColorVariants = VariantProps<typeof fgColorVariants>;
|
|
10
|
+
type ParagraphSize = "xs" | "sm" | "md" | "lg";
|
|
11
|
+
export interface ParagraphProps extends ParagraphVariants {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* The size of the paragraph
|
|
15
|
+
* @default "md"
|
|
16
|
+
*/
|
|
17
|
+
size?: ParagraphSize;
|
|
18
|
+
/**
|
|
19
|
+
* The foreground color of the paragraph
|
|
20
|
+
* @default "secondary"
|
|
21
|
+
*/
|
|
22
|
+
fgColor?: FgColorVariants["fgColor"];
|
|
23
|
+
/**
|
|
24
|
+
* The text alignment of the paragraph
|
|
25
|
+
* @default "start"
|
|
26
|
+
*/
|
|
27
|
+
textAlign?: "start" | "center" | "end";
|
|
28
|
+
}
|
|
29
|
+
export declare const Paragraph: ({ children, size, fgColor, textAlign, ...props }: ParagraphProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export default Paragraph;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
3
|
+
import { fgColorVariants } from "../../utils/fgColour/fgColor.js";
|
|
4
|
+
import '../../assets/Paragraph.css';const paragraph$1 = "_paragraph_odu3c_1";
|
|
5
|
+
const xs = "_xs_odu3c_9";
|
|
6
|
+
const sm = "_sm_odu3c_15";
|
|
7
|
+
const md = "_md_odu3c_21";
|
|
8
|
+
const lg = "_lg_odu3c_27";
|
|
9
|
+
const start = "_start_odu3c_33";
|
|
10
|
+
const center = "_center_odu3c_37";
|
|
11
|
+
const end = "_end_odu3c_41";
|
|
12
|
+
const styles = {
|
|
13
|
+
paragraph: paragraph$1,
|
|
14
|
+
xs,
|
|
15
|
+
sm,
|
|
16
|
+
md,
|
|
17
|
+
lg,
|
|
18
|
+
start,
|
|
19
|
+
center,
|
|
20
|
+
end
|
|
21
|
+
};
|
|
22
|
+
const paragraph = cva(styles.paragraph, {
|
|
23
|
+
variants: {
|
|
24
|
+
size: {
|
|
25
|
+
xs: styles.xs,
|
|
26
|
+
sm: styles.sm,
|
|
27
|
+
md: styles.md,
|
|
28
|
+
lg: styles.lg
|
|
29
|
+
},
|
|
30
|
+
textAlign: {
|
|
31
|
+
start: styles.start,
|
|
32
|
+
center: styles.center,
|
|
33
|
+
end: styles.end
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
defaultVariants: {
|
|
37
|
+
size: "md",
|
|
38
|
+
textAlign: "start"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
const Paragraph = ({
|
|
42
|
+
children,
|
|
43
|
+
size = "md",
|
|
44
|
+
fgColor = "secondary",
|
|
45
|
+
textAlign = "start",
|
|
46
|
+
...props
|
|
47
|
+
}) => {
|
|
48
|
+
return /* @__PURE__ */ jsx("p", { className: `${paragraph({
|
|
49
|
+
size,
|
|
50
|
+
textAlign
|
|
51
|
+
})} ${fgColorVariants({
|
|
52
|
+
fgColor
|
|
53
|
+
})}`, ...props, children });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
Paragraph,
|
|
57
|
+
Paragraph as default
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=Paragraph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Paragraph.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Paragraph';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -3,7 +3,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import { fgColorVariants } from '../../utils/fgColour/fgColor';
|
|
4
4
|
declare const subHeading: (props?: ({
|
|
5
5
|
size?: "sm" | "xs" | null | undefined;
|
|
6
|
-
textAlign?: "
|
|
6
|
+
textAlign?: "start" | "center" | "end" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type HeadingVariants = VariantProps<typeof subHeading>;
|
|
9
9
|
type FgColorVariants = VariantProps<typeof fgColorVariants>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
3
3
|
import { fgColorVariants } from "../../utils/fgColour/fgColor.js";
|
|
4
|
-
import '../../assets/SubHeading.css';const subHeading$1 = "
|
|
5
|
-
const xs = "
|
|
6
|
-
const sm = "
|
|
7
|
-
const start = "
|
|
8
|
-
const center = "
|
|
9
|
-
const end = "
|
|
4
|
+
import '../../assets/SubHeading.css';const subHeading$1 = "_subHeading_qng6l_1";
|
|
5
|
+
const xs = "_xs_qng6l_8";
|
|
6
|
+
const sm = "_sm_qng6l_15";
|
|
7
|
+
const start = "_start_qng6l_22";
|
|
8
|
+
const center = "_center_qng6l_26";
|
|
9
|
+
const end = "_end_qng6l_30";
|
|
10
10
|
const styles = {
|
|
11
11
|
subHeading: subHeading$1,
|
|
12
12
|
xs,
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export { default as Badge } from './Badge';
|
|
2
2
|
export { default as Button } from './Button';
|
|
3
|
+
export { default as ButtonGroup } from './ButtonGroup';
|
|
3
4
|
export { default as Checkbox } from './Checkbox';
|
|
4
5
|
export { default as CheckboxGroup } from './CheckboxGroup';
|
|
5
6
|
export { default as DateField } from './DateField';
|
|
7
|
+
export { default as DestinationHeading } from './DestinationHeading';
|
|
6
8
|
export { default as Eyebrow } from './Eyebrow';
|
|
7
9
|
export { default as FieldDescription } from './FieldDescription';
|
|
8
10
|
export { default as FieldError } from './FieldError';
|
package/dist/components/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import '../assets/global.css';/* empty css */
|
|
2
2
|
import { Badge } from "./Badge/Badge.js";
|
|
3
3
|
import { Button } from "./Button/Button.js";
|
|
4
|
+
import { ButtonGroup } from "./ButtonGroup/ButtonGroup.js";
|
|
4
5
|
import { Checkbox } from "./Checkbox/Checkbox.js";
|
|
5
6
|
import { CheckboxGroup } from "./CheckboxGroup/CheckboxGroup.js";
|
|
6
7
|
import { DateField } from "./DateField/DateField.js";
|
|
8
|
+
import { DestinationHeading } from "./DestinationHeading/DestinationHeading.js";
|
|
7
9
|
import { Eyebrow } from "./Eyebrow/Eyebrow.js";
|
|
8
10
|
import { default as default2 } from "./FieldDescription/FieldDescription.js";
|
|
9
11
|
import { FieldError } from "./FieldError/FieldError.js";
|
|
@@ -28,9 +30,11 @@ import { Tooltip } from "./Tooltip/Tooltip.js";
|
|
|
28
30
|
export {
|
|
29
31
|
Badge,
|
|
30
32
|
Button,
|
|
33
|
+
ButtonGroup,
|
|
31
34
|
Checkbox,
|
|
32
35
|
CheckboxGroup,
|
|
33
36
|
DateField,
|
|
37
|
+
DestinationHeading,
|
|
34
38
|
Eyebrow,
|
|
35
39
|
default2 as FieldDescription,
|
|
36
40
|
FieldError,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import './assets/global.css';/* empty css */
|
|
2
2
|
import { Badge } from "./components/Badge/Badge.js";
|
|
3
3
|
import { Button } from "./components/Button/Button.js";
|
|
4
|
+
import { ButtonGroup } from "./components/ButtonGroup/ButtonGroup.js";
|
|
4
5
|
import { Checkbox } from "./components/Checkbox/Checkbox.js";
|
|
5
6
|
import { CheckboxGroup } from "./components/CheckboxGroup/CheckboxGroup.js";
|
|
6
7
|
import { DateField } from "./components/DateField/DateField.js";
|
|
8
|
+
import { DestinationHeading } from "./components/DestinationHeading/DestinationHeading.js";
|
|
7
9
|
import { Eyebrow } from "./components/Eyebrow/Eyebrow.js";
|
|
8
10
|
import { default as default2 } from "./components/FieldDescription/FieldDescription.js";
|
|
9
11
|
import { FieldError } from "./components/FieldError/FieldError.js";
|
|
@@ -28,9 +30,11 @@ import { Tooltip } from "./components/Tooltip/Tooltip.js";
|
|
|
28
30
|
export {
|
|
29
31
|
Badge,
|
|
30
32
|
Button,
|
|
33
|
+
ButtonGroup,
|
|
31
34
|
Checkbox,
|
|
32
35
|
CheckboxGroup,
|
|
33
36
|
DateField,
|
|
37
|
+
DestinationHeading,
|
|
34
38
|
Eyebrow,
|
|
35
39
|
default2 as FieldDescription,
|
|
36
40
|
FieldError,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alto-avios/alto-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "A react component library for Alto Design System",
|
|
5
5
|
"author": "Ian Caldwell IAGL",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vite-plugin-lib-inject-css": "^2.1.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@alto-avios/alto-tokens": "^2.
|
|
65
|
+
"@alto-avios/alto-tokens": "^2.2.0",
|
|
66
66
|
"react": "^18.0.0"
|
|
67
67
|
},
|
|
68
68
|
"main": "dist/index.js",
|