@alto-avios/alto-ui 2.3.2 → 2.4.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/README.md +20 -9
- package/dist/assets/Badge.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/ButtonGroup.css +1 -1
- package/dist/assets/CardSection.css +1 -1
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/CheckboxGroup.css +1 -1
- package/dist/assets/ClearFieldButton.css +1 -1
- package/dist/assets/DateField.css +1 -1
- package/dist/assets/Eyebrow.css +1 -1
- package/dist/assets/FieldDescription.css +1 -1
- package/dist/assets/FieldError.css +1 -1
- package/dist/assets/FieldHeader.css +1 -1
- package/dist/assets/FieldLabel.css +1 -1
- package/dist/assets/Grid.css +1 -1
- package/dist/assets/Heading.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/Link.css +1 -1
- package/dist/assets/LoadingSpinner.css +1 -1
- package/dist/assets/NewButton.css +1 -1
- package/dist/assets/NumberField.css +1 -0
- package/dist/assets/Radio.css +1 -1
- package/dist/assets/RadioGroup.css +1 -1
- package/dist/assets/Section.css +1 -0
- package/dist/assets/SubHeading.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/TextAreaField.css +1 -1
- package/dist/assets/ToggleButton.css +1 -1
- package/dist/assets/ToggleIconButton.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/assets/fgColor.css +1 -1
- package/dist/assets/focusStyles.css +1 -1
- package/dist/assets/padding.css +1 -1
- package/dist/components/Badge/Badge.js +11 -11
- package/dist/components/Box/Box.d.ts +2 -2
- package/dist/components/Button/Button.js +23 -23
- package/dist/components/ButtonGroup/ButtonGroup.js +8 -8
- package/dist/components/CardSection/CardSection.js +7 -7
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +11 -9
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +12 -12
- package/dist/components/CheckboxGroup/CheckboxGroup.js +3 -3
- package/dist/components/ClearFieldButton/ClearFieldButton.d.ts +1 -1
- package/dist/components/ClearFieldButton/ClearFieldButton.js +4 -4
- package/dist/components/DateField/DateField.js +3 -3
- package/dist/components/DestinationHeading/DestinationHeading.d.ts +1 -1
- package/dist/components/Eyebrow/Eyebrow.js +5 -5
- package/dist/components/FieldDescription/FieldDescription.js +1 -1
- package/dist/components/FieldError/FieldError.js +1 -1
- package/dist/components/FieldHeader/FieldHeader.d.ts +2 -1
- package/dist/components/FieldHeader/FieldHeader.js +5 -4
- package/dist/components/FieldHeader/FieldHeader.js.map +1 -1
- package/dist/components/FieldLabel/FieldLabel.d.ts +1 -1
- package/dist/components/FieldLabel/FieldLabel.js +1 -2
- package/dist/components/FieldLabel/FieldLabel.js.map +1 -1
- package/dist/components/Grid/Grid.d.ts +35 -16
- package/dist/components/Grid/Grid.js +63 -30
- package/dist/components/Grid/Grid.js.map +1 -1
- package/dist/components/Heading/Heading.js +16 -16
- package/dist/components/Icon/Icon.d.ts +4 -4
- package/dist/components/Icon/Icon.js +1 -0
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/IconButton/IconButton.js +22 -22
- package/dist/components/Link/Link.js +7 -7
- package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +2 -2
- package/dist/components/LoadingSpinner/LoadingSpinner.js +5 -5
- package/dist/components/NewButton/NewButton.js +28 -28
- package/dist/components/NumberField/NumberField.d.ts +55 -0
- package/dist/components/NumberField/NumberField.js +43 -0
- package/dist/components/NumberField/NumberField.js.map +1 -0
- package/dist/components/NumberField/index.d.ts +1 -0
- package/dist/components/NumberField/index.js +5 -0
- package/dist/components/NumberField/index.js.map +1 -0
- package/dist/components/Paragraph/Paragraph.d.ts +3 -3
- package/dist/components/Radio/Radio.js +3 -3
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -2
- package/dist/components/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/Section/Section.d.ts +29 -0
- package/dist/components/Section/Section.js +103 -0
- package/dist/components/Section/Section.js.map +1 -0
- package/dist/components/Section/index.d.ts +1 -0
- package/dist/components/Section/index.js +5 -0
- package/dist/components/Section/index.js.map +1 -0
- package/dist/components/SubHeading/SubHeading.js +8 -8
- package/dist/components/Tag/Tag.d.ts +2 -2
- package/dist/components/Tag/Tag.js +4 -4
- package/dist/components/TagGroup/TagGroup.d.ts +2 -2
- package/dist/components/TextAreaField/TextAreaField.js +2 -2
- package/dist/components/ToggleButton/ToggleButton.js +6 -6
- package/dist/components/ToggleIconButton/ToggleIconButton.js +6 -6
- package/dist/components/Tooltip/Tooltip.js +2 -2
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +10 -4
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +10 -4
- package/dist/index.js.map +1 -1
- package/dist/utils/backgroundColour/backgroundColour.d.ts +1 -1
- package/dist/utils/fgColour/fgColor.js +34 -34
- package/dist/utils/focus/focusStyles.js +2 -2
- package/dist/utils/padding/padding.d.ts +7 -7
- package/dist/utils/padding/padding.js +271 -46
- package/dist/utils/padding/padding.js.map +1 -1
- package/dist/utils/spaceToken/spaceToken.d.ts +3 -0
- package/dist/utils/spaceToken/spaceToken.js +25 -0
- package/dist/utils/spaceToken/spaceToken.js.map +1 -0
- package/package.json +43 -6
|
@@ -26,10 +26,10 @@ export interface TagProps extends AriaTagProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* Whether the tag is removable
|
|
28
28
|
*/
|
|
29
|
-
isRemovable?: boolean
|
|
29
|
+
isRemovable?: boolean /**
|
|
30
30
|
/**
|
|
31
31
|
* The focus style of the button
|
|
32
|
-
|
|
32
|
+
*/;
|
|
33
33
|
focusStyle?: 'default' | 'white';
|
|
34
34
|
}
|
|
35
35
|
export declare const Tag: ({ children, id, leadingIconProps, isDisabled, isRemovable, focusStyle, ...props }: TagProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,9 +3,9 @@ import { Tag as Tag$1 } from "react-aria-components";
|
|
|
3
3
|
import { Icon } from "../Icon/Icon.js";
|
|
4
4
|
import { IconButton } from "../IconButton/IconButton.js";
|
|
5
5
|
import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
|
|
6
|
-
import '../../assets/Tag.css';const tag = "
|
|
7
|
-
const isRemovable = "
|
|
8
|
-
const iconWrapper = "
|
|
6
|
+
import '../../assets/Tag.css';const tag = "_tag_ob7tq_1";
|
|
7
|
+
const isRemovable = "_isRemovable_ob7tq_21";
|
|
8
|
+
const iconWrapper = "_iconWrapper_ob7tq_123";
|
|
9
9
|
const styles = {
|
|
10
10
|
tag,
|
|
11
11
|
isRemovable,
|
|
@@ -20,7 +20,7 @@ const Tag = ({
|
|
|
20
20
|
focusStyle = "default",
|
|
21
21
|
...props
|
|
22
22
|
}) => {
|
|
23
|
-
|
|
23
|
+
const textValue = typeof children === "string" ? children : void 0;
|
|
24
24
|
return /* @__PURE__ */ jsxs(Tag$1, { className: `${styles.tag} ${isRemovable2 ? styles.isRemovable : ""} ${focusStyleVariants({
|
|
25
25
|
focusStyle
|
|
26
26
|
})}`, isDisabled, id: id == null ? void 0 : id.toString(), textValue, ...props, children: [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TagGroupProps as AriaTagGroupProps, PressEvent, TagListProps } from 'react-aria-components';
|
|
2
|
-
export interface TagGroupProps<T> extends Omit<AriaTagGroupProps,
|
|
2
|
+
export interface TagGroupProps<T> extends Omit<AriaTagGroupProps, 'children'>, Pick<TagListProps<T>, 'items' | 'children' | 'renderEmptyState'> {
|
|
3
3
|
label?: string;
|
|
4
4
|
description?: string;
|
|
5
|
-
selectionMode?:
|
|
5
|
+
selectionMode?: 'single' | 'multiple';
|
|
6
6
|
clearButton?: boolean;
|
|
7
7
|
clearButtonOnClick?: (e: PressEvent) => void;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TextField, TextArea } from "react-aria-components";
|
|
3
3
|
import { FieldHeader } from "../FieldHeader/FieldHeader.js";
|
|
4
|
-
import '../../assets/TextAreaField.css';const textAreaField = "
|
|
5
|
-
const validationError = "
|
|
4
|
+
import '../../assets/TextAreaField.css';const textAreaField = "_textAreaField_bruz2_1";
|
|
5
|
+
const validationError = "_validationError_bruz2_67";
|
|
6
6
|
const styles = {
|
|
7
7
|
textAreaField,
|
|
8
8
|
validationError
|
|
@@ -4,14 +4,14 @@ import { useRef, useState, useEffect } from "react";
|
|
|
4
4
|
import { ToggleButton as ToggleButton$1 } from "react-aria-components";
|
|
5
5
|
import LoadingSpinner from "../LoadingSpinner/LoadingSpinner.js";
|
|
6
6
|
import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
|
|
7
|
-
import '../../assets/ToggleButton.css';const toggleButton$1 = "
|
|
8
|
-
const sm = "
|
|
9
|
-
const md = "
|
|
10
|
-
const lg = "
|
|
7
|
+
import '../../assets/ToggleButton.css';const toggleButton$1 = "_toggleButton_17fie_1";
|
|
8
|
+
const sm = "_sm_17fie_35";
|
|
9
|
+
const md = "_md_17fie_42";
|
|
10
|
+
const lg = "_lg_17fie_48";
|
|
11
11
|
const styles = {
|
|
12
12
|
toggleButton: toggleButton$1,
|
|
13
|
-
"fa-spinner-third": "_fa-spinner-
|
|
14
|
-
"icon-wrapper": "_icon-
|
|
13
|
+
"fa-spinner-third": "_fa-spinner-third_17fie_21",
|
|
14
|
+
"icon-wrapper": "_icon-wrapper_17fie_26",
|
|
15
15
|
sm,
|
|
16
16
|
md,
|
|
17
17
|
lg
|
|
@@ -5,17 +5,17 @@ import { ToggleButton } from "react-aria-components";
|
|
|
5
5
|
import { Icon } from "../Icon/Icon.js";
|
|
6
6
|
import LoadingSpinner from "../LoadingSpinner/LoadingSpinner.js";
|
|
7
7
|
import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
|
|
8
|
-
import '../../assets/ToggleIconButton.css';const toggleIconButton$1 = "
|
|
9
|
-
const sm = "
|
|
10
|
-
const md = "
|
|
11
|
-
const lg = "
|
|
8
|
+
import '../../assets/ToggleIconButton.css';const toggleIconButton$1 = "_toggleIconButton_1pk2t_1";
|
|
9
|
+
const sm = "_sm_1pk2t_26";
|
|
10
|
+
const md = "_md_1pk2t_32";
|
|
11
|
+
const lg = "_lg_1pk2t_38";
|
|
12
12
|
const styles = {
|
|
13
13
|
toggleIconButton: toggleIconButton$1,
|
|
14
|
-
"icon-wrapper": "_icon-
|
|
14
|
+
"icon-wrapper": "_icon-wrapper_1pk2t_17",
|
|
15
15
|
sm,
|
|
16
16
|
md,
|
|
17
17
|
lg,
|
|
18
|
-
"fa-spinner-third": "_fa-spinner-
|
|
18
|
+
"fa-spinner-third": "_fa-spinner-third_1pk2t_44"
|
|
19
19
|
};
|
|
20
20
|
const toggleIconButton = cva(styles.toggleIconButton, {
|
|
21
21
|
variants: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TooltipTrigger, Tooltip as Tooltip$1 } from "react-aria-components";
|
|
3
|
-
import '../../assets/Tooltip.css';const tooltip = "
|
|
4
|
-
const slide = "
|
|
3
|
+
import '../../assets/Tooltip.css';const tooltip = "_tooltip_1m8m8_2";
|
|
4
|
+
const slide = "_slide_1m8m8_1";
|
|
5
5
|
const styles = {
|
|
6
6
|
tooltip,
|
|
7
7
|
slide
|
|
@@ -19,8 +19,11 @@ export { default as IconButton } from './IconButton';
|
|
|
19
19
|
export { default as Link } from './Link';
|
|
20
20
|
export { default as LoadingSpinner } from './LoadingSpinner';
|
|
21
21
|
export { default as NewButton } from './NewButton';
|
|
22
|
+
export { default as NumberField } from './NumberField';
|
|
23
|
+
export { default as Paragraph } from './Paragraph';
|
|
22
24
|
export { default as Radio } from './Radio';
|
|
23
25
|
export { default as RadioGroup } from './RadioGroup';
|
|
26
|
+
export { default as Section } from './Section';
|
|
24
27
|
export { default as SubHeading } from './SubHeading';
|
|
25
28
|
export { default as Tag } from './Tag';
|
|
26
29
|
export { default as TagGroup } from './TagGroup';
|
package/dist/components/index.js
CHANGED
|
@@ -20,15 +20,18 @@ import { IconButton } from "./IconButton/IconButton.js";
|
|
|
20
20
|
import { default as default4 } from "./Link/Link.js";
|
|
21
21
|
import { default as default5 } from "./LoadingSpinner/LoadingSpinner.js";
|
|
22
22
|
import { NewButton } from "./NewButton/NewButton.js";
|
|
23
|
+
import { NumberField } from "./NumberField/NumberField.js";
|
|
24
|
+
import { Paragraph } from "./Paragraph/Paragraph.js";
|
|
23
25
|
import { Radio } from "./Radio/Radio.js";
|
|
24
26
|
import { RadioGroup } from "./RadioGroup/RadioGroup.js";
|
|
27
|
+
import { default as default6 } from "./Section/Section.js";
|
|
25
28
|
import { SubHeading } from "./SubHeading/SubHeading.js";
|
|
26
29
|
import { Tag } from "./Tag/Tag.js";
|
|
27
30
|
import { TagGroup } from "./TagGroup/TagGroup.js";
|
|
28
31
|
import { TextField } from "./TextField/TextField.js";
|
|
29
32
|
import { TextAreaField } from "./TextAreaField/TextAreaField.js";
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
33
|
+
import { default as default7 } from "./ToggleButton/ToggleButton.js";
|
|
34
|
+
import { default as default8 } from "./ToggleIconButton/ToggleIconButton.js";
|
|
32
35
|
import { Tooltip } from "./Tooltip/Tooltip.js";
|
|
33
36
|
export {
|
|
34
37
|
Badge,
|
|
@@ -52,15 +55,18 @@ export {
|
|
|
52
55
|
default4 as Link,
|
|
53
56
|
default5 as LoadingSpinner,
|
|
54
57
|
NewButton,
|
|
58
|
+
NumberField,
|
|
59
|
+
Paragraph,
|
|
55
60
|
Radio,
|
|
56
61
|
RadioGroup,
|
|
62
|
+
default6 as Section,
|
|
57
63
|
SubHeading,
|
|
58
64
|
Tag,
|
|
59
65
|
TagGroup,
|
|
60
66
|
TextAreaField,
|
|
61
67
|
TextField,
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
default7 as ToggleButton,
|
|
69
|
+
default8 as ToggleIconButton,
|
|
64
70
|
Tooltip
|
|
65
71
|
};
|
|
66
72
|
//# sourceMappingURL=index.js.map
|
|
@@ -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
|
@@ -20,15 +20,18 @@ import { IconButton } from "./components/IconButton/IconButton.js";
|
|
|
20
20
|
import { default as default4 } from "./components/Link/Link.js";
|
|
21
21
|
import { default as default5 } from "./components/LoadingSpinner/LoadingSpinner.js";
|
|
22
22
|
import { NewButton } from "./components/NewButton/NewButton.js";
|
|
23
|
+
import { NumberField } from "./components/NumberField/NumberField.js";
|
|
24
|
+
import { Paragraph } from "./components/Paragraph/Paragraph.js";
|
|
23
25
|
import { Radio } from "./components/Radio/Radio.js";
|
|
24
26
|
import { RadioGroup } from "./components/RadioGroup/RadioGroup.js";
|
|
27
|
+
import { default as default6 } from "./components/Section/Section.js";
|
|
25
28
|
import { SubHeading } from "./components/SubHeading/SubHeading.js";
|
|
26
29
|
import { Tag } from "./components/Tag/Tag.js";
|
|
27
30
|
import { TagGroup } from "./components/TagGroup/TagGroup.js";
|
|
28
31
|
import { TextField } from "./components/TextField/TextField.js";
|
|
29
32
|
import { TextAreaField } from "./components/TextAreaField/TextAreaField.js";
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
33
|
+
import { default as default7 } from "./components/ToggleButton/ToggleButton.js";
|
|
34
|
+
import { default as default8 } from "./components/ToggleIconButton/ToggleIconButton.js";
|
|
32
35
|
import { Tooltip } from "./components/Tooltip/Tooltip.js";
|
|
33
36
|
export {
|
|
34
37
|
Badge,
|
|
@@ -52,15 +55,18 @@ export {
|
|
|
52
55
|
default4 as Link,
|
|
53
56
|
default5 as LoadingSpinner,
|
|
54
57
|
NewButton,
|
|
58
|
+
NumberField,
|
|
59
|
+
Paragraph,
|
|
55
60
|
Radio,
|
|
56
61
|
RadioGroup,
|
|
62
|
+
default6 as Section,
|
|
57
63
|
SubHeading,
|
|
58
64
|
Tag,
|
|
59
65
|
TagGroup,
|
|
60
66
|
TextAreaField,
|
|
61
67
|
TextField,
|
|
62
|
-
|
|
63
|
-
|
|
68
|
+
default7 as ToggleButton,
|
|
69
|
+
default8 as ToggleIconButton,
|
|
64
70
|
Tooltip
|
|
65
71
|
};
|
|
66
72
|
//# sourceMappingURL=index.js.map
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,5 +4,5 @@ export declare const backgroundColorVariants: (props?: ({
|
|
|
4
4
|
backgroundColour?: "transparent" | "base" | "layer1" | "layer2" | "layer3" | "accentVibrant" | "accentSubtle" | "accentDeep" | "criticalVibrant" | "criticalSubtle" | "warningVibrant" | "warningSubtle" | "cautionVibrant" | "cautionSubtle" | "successVibrant" | "successSubtle" | "informationVibrant" | "informationSubtle" | "inverseVibrant" | "inverseSubtle" | "whiteVibrant" | "whiteSubtle" | "disabledVibrant" | "disabledSubtle" | "saleVibrant" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
export type BackgroundVariants = VariantProps<typeof backgroundColorVariants>;
|
|
7
|
-
export declare const backgroundColourOptions: BackgroundVariants[
|
|
7
|
+
export declare const backgroundColourOptions: BackgroundVariants['backgroundColour'][];
|
|
8
8
|
export declare const backgroundColourArgTypes: Record<string, InputType>;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
2
2
|
import '../../assets/fgColor.css';const styles = {
|
|
3
|
-
"fgColor-primary": "_fgColor-
|
|
4
|
-
"fgColor-secondary": "_fgColor-
|
|
5
|
-
"fgColor-accent-primary": "_fgColor-accent-
|
|
6
|
-
"fgColor-accent-secondary": "_fgColor-accent-
|
|
7
|
-
"fgColor-accent-on-vibrant": "_fgColor-accent-on-
|
|
8
|
-
"fgColor-accent-on-vibrant-accent": "_fgColor-accent-on-vibrant-
|
|
9
|
-
"fgColor-accent-on-subtle": "_fgColor-accent-on-
|
|
10
|
-
"fgColor-accent-on-deep": "_fgColor-accent-on-
|
|
11
|
-
"fgColor-critical-primary": "_fgColor-critical-
|
|
12
|
-
"fgColor-critical-on-vibrant": "_fgColor-critical-on-
|
|
13
|
-
"fgColor-critical-on-subtle": "_fgColor-critical-on-
|
|
14
|
-
"fgColor-warning-primary": "_fgColor-warning-
|
|
15
|
-
"fgColor-warning-on-vibrant": "_fgColor-warning-on-
|
|
16
|
-
"fgColor-warning-on-subtle": "_fgColor-warning-on-
|
|
17
|
-
"fgColor-caution-primary": "_fgColor-caution-
|
|
18
|
-
"fgColor-caution-on-vibrant": "_fgColor-caution-on-
|
|
19
|
-
"fgColor-caution-on-subtle": "_fgColor-caution-on-
|
|
20
|
-
"fgColor-success-primary": "_fgColor-success-
|
|
21
|
-
"fgColor-success-on-vibrant": "_fgColor-success-on-
|
|
22
|
-
"fgColor-success-on-subtle": "_fgColor-success-on-
|
|
23
|
-
"fgColor-information-primary": "_fgColor-information-
|
|
24
|
-
"fgColor-information-on-vibrant": "_fgColor-information-on-
|
|
25
|
-
"fgColor-information-on-subtle": "_fgColor-information-on-
|
|
26
|
-
"fgColor-inverse-primary": "_fgColor-inverse-
|
|
27
|
-
"fgColor-inverse-on-vibrant": "_fgColor-inverse-on-
|
|
28
|
-
"fgColor-inverse-on-subtle": "_fgColor-inverse-on-
|
|
29
|
-
"fgColor-white-primary": "_fgColor-white-
|
|
30
|
-
"fgColor-white-on-vibrant": "_fgColor-white-on-
|
|
31
|
-
"fgColor-white-on-subtle": "_fgColor-white-on-
|
|
32
|
-
"fgColor-disabled-primary": "_fgColor-disabled-
|
|
33
|
-
"fgColor-disabled-on-vibrant": "_fgColor-disabled-on-
|
|
34
|
-
"fgColor-disabled-on-subtle": "_fgColor-disabled-on-
|
|
35
|
-
"fgColor-sale-primary": "_fgColor-sale-
|
|
36
|
-
"fgColor-sale-on-vibrant": "_fgColor-sale-on-
|
|
3
|
+
"fgColor-primary": "_fgColor-primary_qlmrn_1",
|
|
4
|
+
"fgColor-secondary": "_fgColor-secondary_qlmrn_5",
|
|
5
|
+
"fgColor-accent-primary": "_fgColor-accent-primary_qlmrn_9",
|
|
6
|
+
"fgColor-accent-secondary": "_fgColor-accent-secondary_qlmrn_13",
|
|
7
|
+
"fgColor-accent-on-vibrant": "_fgColor-accent-on-vibrant_qlmrn_17",
|
|
8
|
+
"fgColor-accent-on-vibrant-accent": "_fgColor-accent-on-vibrant-accent_qlmrn_21",
|
|
9
|
+
"fgColor-accent-on-subtle": "_fgColor-accent-on-subtle_qlmrn_25",
|
|
10
|
+
"fgColor-accent-on-deep": "_fgColor-accent-on-deep_qlmrn_29",
|
|
11
|
+
"fgColor-critical-primary": "_fgColor-critical-primary_qlmrn_33",
|
|
12
|
+
"fgColor-critical-on-vibrant": "_fgColor-critical-on-vibrant_qlmrn_37",
|
|
13
|
+
"fgColor-critical-on-subtle": "_fgColor-critical-on-subtle_qlmrn_41",
|
|
14
|
+
"fgColor-warning-primary": "_fgColor-warning-primary_qlmrn_45",
|
|
15
|
+
"fgColor-warning-on-vibrant": "_fgColor-warning-on-vibrant_qlmrn_49",
|
|
16
|
+
"fgColor-warning-on-subtle": "_fgColor-warning-on-subtle_qlmrn_53",
|
|
17
|
+
"fgColor-caution-primary": "_fgColor-caution-primary_qlmrn_57",
|
|
18
|
+
"fgColor-caution-on-vibrant": "_fgColor-caution-on-vibrant_qlmrn_61",
|
|
19
|
+
"fgColor-caution-on-subtle": "_fgColor-caution-on-subtle_qlmrn_65",
|
|
20
|
+
"fgColor-success-primary": "_fgColor-success-primary_qlmrn_69",
|
|
21
|
+
"fgColor-success-on-vibrant": "_fgColor-success-on-vibrant_qlmrn_73",
|
|
22
|
+
"fgColor-success-on-subtle": "_fgColor-success-on-subtle_qlmrn_77",
|
|
23
|
+
"fgColor-information-primary": "_fgColor-information-primary_qlmrn_81",
|
|
24
|
+
"fgColor-information-on-vibrant": "_fgColor-information-on-vibrant_qlmrn_85",
|
|
25
|
+
"fgColor-information-on-subtle": "_fgColor-information-on-subtle_qlmrn_89",
|
|
26
|
+
"fgColor-inverse-primary": "_fgColor-inverse-primary_qlmrn_93",
|
|
27
|
+
"fgColor-inverse-on-vibrant": "_fgColor-inverse-on-vibrant_qlmrn_97",
|
|
28
|
+
"fgColor-inverse-on-subtle": "_fgColor-inverse-on-subtle_qlmrn_101",
|
|
29
|
+
"fgColor-white-primary": "_fgColor-white-primary_qlmrn_105",
|
|
30
|
+
"fgColor-white-on-vibrant": "_fgColor-white-on-vibrant_qlmrn_109",
|
|
31
|
+
"fgColor-white-on-subtle": "_fgColor-white-on-subtle_qlmrn_113",
|
|
32
|
+
"fgColor-disabled-primary": "_fgColor-disabled-primary_qlmrn_117",
|
|
33
|
+
"fgColor-disabled-on-vibrant": "_fgColor-disabled-on-vibrant_qlmrn_121",
|
|
34
|
+
"fgColor-disabled-on-subtle": "_fgColor-disabled-on-subtle_qlmrn_125",
|
|
35
|
+
"fgColor-sale-primary": "_fgColor-sale-primary_qlmrn_129",
|
|
36
|
+
"fgColor-sale-on-vibrant": "_fgColor-sale-on-vibrant_qlmrn_133"
|
|
37
37
|
};
|
|
38
38
|
const fgColorVariants = cva("", {
|
|
39
39
|
variants: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
2
|
-
import '../../assets/focusStyles.css';const defaultFocus = "
|
|
3
|
-
const whiteFocus = "
|
|
2
|
+
import '../../assets/focusStyles.css';const defaultFocus = "_defaultFocus_17xw4_1";
|
|
3
|
+
const whiteFocus = "_whiteFocus_17xw4_5";
|
|
4
4
|
const styles = {
|
|
5
5
|
defaultFocus,
|
|
6
6
|
whiteFocus
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import { InputType } from 'storybook/internal/types';
|
|
3
3
|
export declare const paddingVariants: (props?: ({
|
|
4
|
-
padding?: "lg" | "sm" | "md" | null | undefined;
|
|
5
|
-
paddingX?: "lg" | "sm" | "md" | null | undefined;
|
|
6
|
-
paddingY?: "lg" | "sm" | "md" | null | undefined;
|
|
7
|
-
paddingTop?: "lg" | "sm" | "md" | null | undefined;
|
|
8
|
-
paddingRight?: "lg" | "sm" | "md" | null | undefined;
|
|
9
|
-
paddingBottom?: "lg" | "sm" | "md" | null | undefined;
|
|
10
|
-
paddingLeft?: "lg" | "sm" | "md" | null | undefined;
|
|
4
|
+
padding?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
5
|
+
paddingX?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
6
|
+
paddingY?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
7
|
+
paddingTop?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
8
|
+
paddingRight?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
9
|
+
paddingBottom?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
10
|
+
paddingLeft?: "lg" | "sm" | "xs" | "md" | "5xs" | "4xs" | "3xs" | "2xs" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | null | undefined;
|
|
11
11
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
12
|
export type PaddingVariants = VariantProps<typeof paddingVariants>;
|
|
13
13
|
export declare const paddingArgTypes: Record<string, InputType>;
|