@alto-avios/alto-ui 3.0.0 → 3.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/Accordion.css +1 -0
- package/dist/assets/AviosBadge.css +1 -0
- package/dist/assets/Button.css +1 -1
- package/dist/assets/CalloutBanner.css +1 -0
- package/dist/assets/CreditCardNumberField.css +1 -0
- package/dist/assets/DetailsDisclosure.css +1 -0
- package/dist/assets/Dialog.css +1 -0
- package/dist/assets/ErrorSummary.css +1 -0
- package/dist/assets/FieldHeader.css +1 -1
- package/dist/assets/FieldLabel.css +1 -1
- package/dist/assets/FieldsetHeader.css +1 -1
- package/dist/assets/Icon.css +1 -0
- package/dist/assets/IconBackdrop.css +1 -0
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/Menu.css +1 -0
- package/dist/assets/PasswordField.css +1 -0
- package/dist/assets/PhoneNumberField.css +1 -0
- package/dist/assets/Popover.css +1 -0
- package/dist/assets/SelectCard.css +1 -0
- package/dist/assets/SelectNative.css +1 -0
- package/dist/assets/Slider.css +1 -0
- package/dist/assets/Switch.css +1 -0
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/ToggleButton.css +1 -1
- package/dist/assets/ToggleIconButton.css +1 -1
- package/dist/assets/backgroundColor.css +1 -0
- package/dist/assets/flex.css +1 -1
- package/dist/assets/foregroundColor.css +1 -0
- package/dist/assets/position.css +1 -0
- package/dist/components/Accordion/Accordion.d.ts +35 -0
- package/dist/components/Accordion/Accordion.js +140 -0
- package/dist/components/Accordion/Accordion.js.map +1 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/Accordion/index.js +5 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/AviosBadge/AviosBadge.d.ts +34 -0
- package/dist/components/AviosBadge/AviosBadge.js +58 -0
- package/dist/components/AviosBadge/AviosBadge.js.map +1 -0
- package/dist/components/AviosBadge/index.d.ts +1 -0
- package/dist/components/AviosBadge/index.js +5 -0
- package/dist/components/AviosBadge/index.js.map +1 -0
- package/dist/components/Badge/Badge.d.ts +7 -2
- package/dist/components/Badge/Badge.js +2 -1
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Box/Box.d.ts +9 -5
- package/dist/components/Box/Box.js +10 -1
- package/dist/components/Box/Box.js.map +1 -1
- package/dist/components/Button/Button.js +31 -31
- package/dist/components/CalloutBanner/CalloutBanner.d.ts +21 -0
- package/dist/components/CalloutBanner/CalloutBanner.js +96 -0
- package/dist/components/CalloutBanner/CalloutBanner.js.map +1 -0
- package/dist/components/CalloutBanner/index.d.ts +1 -0
- package/dist/components/CalloutBanner/index.js +5 -0
- package/dist/components/CalloutBanner/index.js.map +1 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/CreditCardNumberField/CreditCardNumberField.d.ts +29 -0
- package/dist/components/CreditCardNumberField/CreditCardNumberField.js +46 -0
- package/dist/components/CreditCardNumberField/CreditCardNumberField.js.map +1 -0
- package/dist/components/CreditCardNumberField/index.d.ts +1 -0
- package/dist/components/CreditCardNumberField/index.js +5 -0
- package/dist/components/CreditCardNumberField/index.js.map +1 -0
- package/dist/components/DateField/DateField.d.ts +22 -3
- package/dist/components/DateField/DateField.js +856 -2
- package/dist/components/DateField/DateField.js.map +1 -1
- package/dist/components/DetailsDisclosure/DetailsDisclosure.d.ts +33 -0
- package/dist/components/DetailsDisclosure/DetailsDisclosure.js +39 -0
- package/dist/components/DetailsDisclosure/DetailsDisclosure.js.map +1 -0
- package/dist/components/DetailsDisclosure/index.d.ts +2 -0
- package/dist/components/DetailsDisclosure/index.js +5 -0
- package/dist/components/DetailsDisclosure/index.js.map +1 -0
- package/dist/components/Dialog/Dialog.d.ts +46 -0
- package/dist/components/Dialog/Dialog.js +117 -0
- package/dist/components/Dialog/Dialog.js.map +1 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/Dialog/index.js +5 -0
- package/dist/components/Dialog/index.js.map +1 -0
- package/dist/components/ErrorSummary/ErrorSummary.d.ts +7 -0
- package/dist/components/ErrorSummary/ErrorSummary.js +44 -0
- package/dist/components/ErrorSummary/ErrorSummary.js.map +1 -0
- package/dist/components/ErrorSummary/index.d.ts +1 -0
- package/dist/components/ErrorSummary/index.js +5 -0
- package/dist/components/ErrorSummary/index.js.map +1 -0
- package/dist/components/FieldError/FieldError.js +1 -1
- package/dist/components/FieldHeader/FieldHeader.js +6 -6
- package/dist/components/FieldLabel/FieldLabel.js +1 -1
- package/dist/components/FieldsetHeader/FieldsetHeader.js +3 -3
- package/dist/components/Heading/Heading.d.ts +25 -6
- package/dist/components/Heading/Heading.js +9 -4
- package/dist/components/Heading/Heading.js.map +1 -1
- package/dist/components/Icon/Icon.d.ts +31 -4
- package/dist/components/Icon/Icon.js +98 -5
- package/dist/components/Icon/Icon.js.map +1 -1
- package/dist/components/IconBackdrop/IconBackdrop.d.ts +24 -0
- package/dist/components/IconBackdrop/IconBackdrop.js +34 -0
- package/dist/components/IconBackdrop/IconBackdrop.js.map +1 -0
- package/dist/components/IconBackdrop/index.d.ts +1 -0
- package/dist/components/IconBackdrop/index.js +5 -0
- package/dist/components/IconBackdrop/index.js.map +1 -0
- package/dist/components/IconButton/IconButton.d.ts +1 -1
- package/dist/components/IconButton/IconButton.js +28 -28
- package/dist/components/Image/Image.d.ts +3 -2
- package/dist/components/Image/Image.js +7 -2
- package/dist/components/Image/Image.js.map +1 -1
- package/dist/components/Link/Link.d.ts +3 -3
- package/dist/components/Link/Link.js +2 -2
- package/dist/components/Menu/Menu.d.ts +75 -0
- package/dist/components/Menu/Menu.js +356 -0
- package/dist/components/Menu/Menu.js.map +1 -0
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Menu/index.js +5 -0
- package/dist/components/Menu/index.js.map +1 -0
- package/dist/components/Paragraph/Paragraph.d.ts +9 -5
- package/dist/components/Paragraph/Paragraph.js +9 -4
- package/dist/components/Paragraph/Paragraph.js.map +1 -1
- package/dist/components/PasswordField/PasswordField.d.ts +30 -0
- package/dist/components/PasswordField/PasswordField.js +104 -0
- package/dist/components/PasswordField/PasswordField.js.map +1 -0
- package/dist/components/PasswordField/index.d.ts +1 -0
- package/dist/components/PasswordField/index.js +5 -0
- package/dist/components/PasswordField/index.js.map +1 -0
- package/dist/components/PhoneNumberField/PhoneNumberField.d.ts +53 -0
- package/dist/components/PhoneNumberField/PhoneNumberField.js +96 -0
- package/dist/components/PhoneNumberField/PhoneNumberField.js.map +1 -0
- package/dist/components/PhoneNumberField/index.d.ts +3 -0
- package/dist/components/PhoneNumberField/index.js +7 -0
- package/dist/components/PhoneNumberField/index.js.map +1 -0
- package/dist/components/Popover/Popover.d.ts +48 -0
- package/dist/components/Popover/Popover.js +65 -0
- package/dist/components/Popover/Popover.js.map +1 -0
- package/dist/components/Popover/index.d.ts +1 -0
- package/dist/components/Popover/index.js +5 -0
- package/dist/components/Popover/index.js.map +1 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Section/Section.d.ts +2 -1
- package/dist/components/Section/Section.js +7 -2
- package/dist/components/Section/Section.js.map +1 -1
- package/dist/components/SelectCard/SelectCard.d.ts +51 -0
- package/dist/components/SelectCard/SelectCard.js +85 -0
- package/dist/components/SelectCard/SelectCard.js.map +1 -0
- package/dist/components/SelectCard/index.d.ts +1 -0
- package/dist/components/SelectCard/index.js +5 -0
- package/dist/components/SelectCard/index.js.map +1 -0
- package/dist/components/SelectNative/SelectNative.d.ts +56 -0
- package/dist/components/SelectNative/SelectNative.js +40 -0
- package/dist/components/SelectNative/SelectNative.js.map +1 -0
- package/dist/components/SelectNative/index.d.ts +1 -0
- package/dist/components/SelectNative/index.js +5 -0
- package/dist/components/SelectNative/index.js.map +1 -0
- package/dist/components/Slider/Slider.d.ts +33 -0
- package/dist/components/Slider/Slider.js +113 -0
- package/dist/components/Slider/Slider.js.map +1 -0
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/Slider/index.js +5 -0
- package/dist/components/Slider/index.js.map +1 -0
- package/dist/components/SubHeading/SubHeading.d.ts +26 -5
- package/dist/components/SubHeading/SubHeading.js +9 -4
- package/dist/components/SubHeading/SubHeading.js.map +1 -1
- package/dist/components/Switch/Switch.d.ts +7 -0
- package/dist/components/Switch/Switch.js +18 -0
- package/dist/components/Switch/Switch.js.map +1 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Switch/index.js +5 -0
- package/dist/components/Switch/index.js.map +1 -0
- package/dist/components/Tag/Tag.js +4 -4
- package/dist/components/ToggleButton/ToggleButton.js +6 -6
- package/dist/components/ToggleIconButton/ToggleIconButton.js +6 -6
- package/dist/components/Tooltip/Tooltip.d.ts +5 -1
- package/dist/components/Tooltip/Tooltip.js +2 -1
- package/dist/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/_base/Field/Field.d.ts +2 -2
- package/dist/components/_base/Field/Field.js +2 -5
- package/dist/components/_base/Field/Field.js.map +1 -1
- package/dist/components/index.d.ts +16 -0
- package/dist/components/index.js +45 -14
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +45 -14
- package/dist/index.js.map +1 -1
- package/dist/react-number-format.es-DMLgWFZX.js +760 -0
- package/dist/react-number-format.es-DMLgWFZX.js.map +1 -0
- package/dist/utils/backgroundColor/backgroundColor.d.ts +8 -0
- package/dist/utils/backgroundColor/backgroundColor.js +102 -0
- package/dist/utils/backgroundColor/backgroundColor.js.map +1 -0
- package/dist/utils/border/border.d.ts +3 -3
- package/dist/utils/creditCard/creditCard.d.ts +7 -0
- package/dist/utils/creditCard/creditCard.js +25 -0
- package/dist/utils/creditCard/creditCard.js.map +1 -0
- package/dist/utils/flex/flex.d.ts +11 -6
- package/dist/utils/flex/flex.js +390 -46
- package/dist/utils/flex/flex.js.map +1 -1
- package/dist/utils/flex/flex.test.d.ts +1 -0
- package/dist/utils/focus/focusStyles.d.ts +1 -1
- package/dist/utils/foregroundColour/foregroundColor.d.ts +8 -0
- package/dist/utils/foregroundColour/foregroundColor.js +125 -0
- package/dist/utils/foregroundColour/foregroundColor.js.map +1 -0
- package/dist/utils/padding/padding.d.ts +7 -7
- package/dist/utils/phoneNumber/phoneNumber.d.ts +24 -0
- package/dist/utils/phoneNumber/phoneNumber.js +566 -0
- package/dist/utils/phoneNumber/phoneNumber.js.map +1 -0
- package/dist/utils/position/position.d.ts +8 -0
- package/dist/utils/position/position.js +57 -0
- package/dist/utils/position/position.js.map +1 -0
- package/dist/utils/position/position.test.d.ts +1 -0
- package/dist/utils/stories/iconPropsArgTypes.js +49 -13
- package/dist/utils/stories/iconPropsArgTypes.js.map +1 -1
- package/package.json +2 -1
- package/dist/assets/backgroundColour.css +0 -1
- package/dist/assets/fgColor.css +0 -1
- package/dist/utils/backgroundColour/backgroundColour.d.ts +0 -8
- package/dist/utils/backgroundColour/backgroundColour.js +0 -102
- package/dist/utils/backgroundColour/backgroundColour.js.map +0 -1
- package/dist/utils/fgColour/fgColor.d.ts +0 -5
- package/dist/utils/fgColour/fgColor.js +0 -84
- package/dist/utils/fgColour/fgColor.js.map +0 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Slider as Slider$1, SliderTrack, SliderThumb } from "react-aria-components";
|
|
3
|
+
import { useId, useRef } from "react";
|
|
4
|
+
import { Box } from "../Box/Box.js";
|
|
5
|
+
import { FieldHeader } from "../FieldHeader/FieldHeader.js";
|
|
6
|
+
import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
7
|
+
import '../../assets/Slider.css';const fieldHeaderWrapper = "_fieldHeaderWrapper_12sym_1";
|
|
8
|
+
const output = "_output_12sym_5";
|
|
9
|
+
const sliderContainer = "_sliderContainer_12sym_14";
|
|
10
|
+
const track = "_track_12sym_21";
|
|
11
|
+
const fill = "_fill_12sym_30";
|
|
12
|
+
const thumbContainer = "_thumbContainer_12sym_37";
|
|
13
|
+
const thumb = "_thumb_12sym_37";
|
|
14
|
+
const slider = "_slider_12sym_14";
|
|
15
|
+
const styles = {
|
|
16
|
+
fieldHeaderWrapper,
|
|
17
|
+
output,
|
|
18
|
+
sliderContainer,
|
|
19
|
+
track,
|
|
20
|
+
fill,
|
|
21
|
+
thumbContainer,
|
|
22
|
+
thumb,
|
|
23
|
+
slider
|
|
24
|
+
};
|
|
25
|
+
const CustomThumb = ({
|
|
26
|
+
index,
|
|
27
|
+
state,
|
|
28
|
+
formatValue,
|
|
29
|
+
isDisabled,
|
|
30
|
+
showTooltip = false,
|
|
31
|
+
label,
|
|
32
|
+
minValue,
|
|
33
|
+
maxValue,
|
|
34
|
+
isRange
|
|
35
|
+
}) => {
|
|
36
|
+
const isDragging = state.isThumbDragging(index);
|
|
37
|
+
const isFocused = state.focusedThumb === index;
|
|
38
|
+
const isTooltipVisible = showTooltip && (isDragging || isFocused);
|
|
39
|
+
const thumbRef = useRef(null);
|
|
40
|
+
const value = state.values[index];
|
|
41
|
+
const thumbLabel = isRange ? `${index === 0 ? "Minimum" : "Maximum"} value for ${label}` : label;
|
|
42
|
+
const valueDescription = `${formatValue(value)} out of range ${formatValue(minValue)} to ${formatValue(maxValue)}`;
|
|
43
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.thumbContainer, style: {
|
|
44
|
+
left: `${state.getThumbPercent(index) * 100}%`
|
|
45
|
+
}, role: "presentation", children: [
|
|
46
|
+
/* @__PURE__ */ jsx(SliderThumb, { index, className: styles.thumb, ref: thumbRef, "aria-label": thumbLabel, "aria-valuetext": valueDescription }),
|
|
47
|
+
/* @__PURE__ */ jsx(Tooltip, { label: formatValue(state.values[index]), placement: "top", isDisabled, visible: isTooltipVisible, triggerRef: thumbRef, children: /* @__PURE__ */ jsx("div", { role: "presentation" }) })
|
|
48
|
+
] });
|
|
49
|
+
};
|
|
50
|
+
const Slider = ({
|
|
51
|
+
label,
|
|
52
|
+
description,
|
|
53
|
+
isDisabled = false,
|
|
54
|
+
isRange = false,
|
|
55
|
+
minValue = 0,
|
|
56
|
+
maxValue = 100,
|
|
57
|
+
step,
|
|
58
|
+
formatOptions,
|
|
59
|
+
defaultValue = isRange ? [25, 75] : 50,
|
|
60
|
+
value,
|
|
61
|
+
id: providedId,
|
|
62
|
+
onChange,
|
|
63
|
+
showTooltip = false
|
|
64
|
+
}) => {
|
|
65
|
+
const uniqueId = useId();
|
|
66
|
+
const id = providedId || `slider-${uniqueId}`;
|
|
67
|
+
const calculatedStep = step ?? (typeof formatOptions === "object" && (formatOptions == null ? void 0 : formatOptions.style) === "currency" ? 0.01 : typeof defaultValue === "number" ? defaultValue % 1 !== 0 ? 0.01 : 1 : Array.isArray(defaultValue) && defaultValue.some((v) => v % 1 !== 0) ? 0.01 : 1);
|
|
68
|
+
const formatValue = (val) => {
|
|
69
|
+
if (typeof formatOptions === "function") {
|
|
70
|
+
return formatOptions(val, maxValue);
|
|
71
|
+
}
|
|
72
|
+
if (!formatOptions) {
|
|
73
|
+
const decimalPlaces = calculatedStep < 1 ? 2 : 0;
|
|
74
|
+
return val.toFixed(decimalPlaces);
|
|
75
|
+
}
|
|
76
|
+
return new Intl.NumberFormat(void 0, formatOptions).format(val);
|
|
77
|
+
};
|
|
78
|
+
const sliderProps = {
|
|
79
|
+
id,
|
|
80
|
+
isDisabled,
|
|
81
|
+
minValue,
|
|
82
|
+
maxValue,
|
|
83
|
+
step: calculatedStep,
|
|
84
|
+
defaultValue,
|
|
85
|
+
value,
|
|
86
|
+
onChange,
|
|
87
|
+
className: styles.slider,
|
|
88
|
+
orientation: "horizontal"
|
|
89
|
+
};
|
|
90
|
+
return /* @__PURE__ */ jsx(Box, { display: "flex", flexDirection: "column", gap: "md", padding: "md", children: /* @__PURE__ */ jsx(Slider$1, { ...sliderProps, children: ({
|
|
91
|
+
state
|
|
92
|
+
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
93
|
+
/* @__PURE__ */ jsxs("div", { className: styles.fieldHeaderWrapper, children: [
|
|
94
|
+
/* @__PURE__ */ jsx(FieldHeader, { label, description, labelFor: id, isRequired: true }),
|
|
95
|
+
/* @__PURE__ */ jsx("div", { className: styles.output, "aria-live": "polite", "aria-atomic": "true", children: isRange ? /* @__PURE__ */ jsx("span", { children: `${formatValue(state.values[0])} - ${formatValue(state.values[1])}` }) : /* @__PURE__ */ jsx("span", { children: formatValue(state.values[0]) }) })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ jsx("div", { className: styles.sliderContainer, role: "presentation", children: /* @__PURE__ */ jsxs(SliderTrack, { className: styles.track, children: [
|
|
98
|
+
/* @__PURE__ */ jsx("div", { className: styles.fill, style: {
|
|
99
|
+
left: isRange ? `${state.getThumbPercent(0) * 100}%` : 0,
|
|
100
|
+
width: isRange ? `${(state.getThumbPercent(1) - state.getThumbPercent(0)) * 100}%` : `${state.getThumbPercent(0) * 100}%`
|
|
101
|
+
}, role: "presentation" }),
|
|
102
|
+
isRange ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
103
|
+
/* @__PURE__ */ jsx(CustomThumb, { index: 0, state, formatValue, isDisabled, showTooltip, label: label || "", minValue, maxValue: state.values[1], isRange: true }),
|
|
104
|
+
/* @__PURE__ */ jsx(CustomThumb, { index: 1, state, formatValue, isDisabled, showTooltip, label: label || "", minValue: state.values[0], maxValue, isRange: true })
|
|
105
|
+
] }) : /* @__PURE__ */ jsx(CustomThumb, { index: 0, state, formatValue, isDisabled, showTooltip, label: label || "", minValue, maxValue, isRange: false })
|
|
106
|
+
] }) })
|
|
107
|
+
] }) }) });
|
|
108
|
+
};
|
|
109
|
+
export {
|
|
110
|
+
Slider,
|
|
111
|
+
Slider as default
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=Slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Slider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,20 +1,41 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import {
|
|
3
|
+
import { ForegroundVariants } from '../../utils/foregroundColour/foregroundColor';
|
|
4
4
|
declare const subHeading: (props?: ({
|
|
5
5
|
size?: "sm" | "xs" | null | undefined;
|
|
6
|
-
textAlign?: "
|
|
6
|
+
textAlign?: "center" | "end" | "start" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
type HeadingVariants = VariantProps<typeof subHeading>;
|
|
9
|
-
type FgColorVariants = VariantProps<typeof fgColorVariants>;
|
|
10
9
|
type SubHeadingLevel = 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
11
10
|
type SubHeadingSize = 'xs' | 'sm';
|
|
12
11
|
export interface HeadingProps extends HeadingVariants {
|
|
12
|
+
/**
|
|
13
|
+
* children
|
|
14
|
+
*/
|
|
13
15
|
children: React.ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* The heading element to render
|
|
18
|
+
*/
|
|
14
19
|
as?: SubHeadingLevel;
|
|
20
|
+
/**
|
|
21
|
+
* The size of the heading
|
|
22
|
+
*/
|
|
15
23
|
size?: SubHeadingSize;
|
|
16
|
-
|
|
24
|
+
/**
|
|
25
|
+
* The foreground color of the heading
|
|
26
|
+
* @default "accentPrimary"
|
|
27
|
+
*/
|
|
28
|
+
foregroundColor?: ForegroundVariants['foregroundColor'];
|
|
29
|
+
/**
|
|
30
|
+
* The foreground color of the heading
|
|
31
|
+
* @deprecated Use `foregroundColor` instead
|
|
32
|
+
*/
|
|
33
|
+
fgColor?: ForegroundVariants['foregroundColor'];
|
|
34
|
+
/**
|
|
35
|
+
* The text alignment of the heading
|
|
36
|
+
* @default "start"
|
|
37
|
+
*/
|
|
17
38
|
textAlign?: 'start' | 'center' | 'end';
|
|
18
39
|
}
|
|
19
|
-
export declare const SubHeading: ({ children, as: Component, size, fgColor, textAlign, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare const SubHeading: ({ children, as: Component, size, foregroundColor, fgColor, textAlign, ...props }: HeadingProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
41
|
export default SubHeading;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { c as cva } from "../../index-Bi3v_EjJ.js";
|
|
3
|
-
import {
|
|
3
|
+
import { foregroundColorVariants } from "../../utils/foregroundColour/foregroundColor.js";
|
|
4
4
|
import '../../assets/SubHeading.css';const subHeading$1 = "_subHeading_up5r4_1";
|
|
5
5
|
const xs = "_xs_up5r4_8";
|
|
6
6
|
const sm = "_sm_up5r4_15";
|
|
@@ -36,16 +36,21 @@ const SubHeading = ({
|
|
|
36
36
|
children,
|
|
37
37
|
as: Component = "span",
|
|
38
38
|
size,
|
|
39
|
-
|
|
39
|
+
foregroundColor = "accentPrimary",
|
|
40
|
+
fgColor,
|
|
40
41
|
textAlign = "start",
|
|
41
42
|
...props
|
|
42
43
|
}) => {
|
|
43
44
|
const effectiveSize = size;
|
|
45
|
+
if (fgColor) {
|
|
46
|
+
console.warn("The `fgColor` prop has been deprecated. Please use `foregroundColor` instead.");
|
|
47
|
+
}
|
|
48
|
+
const resolvedFontColor = fgColor ?? foregroundColor ?? "accentPrimary";
|
|
44
49
|
return /* @__PURE__ */ jsx(Component, { className: `${subHeading({
|
|
45
50
|
size: effectiveSize,
|
|
46
51
|
textAlign
|
|
47
|
-
})} ${
|
|
48
|
-
|
|
52
|
+
})} ${foregroundColorVariants({
|
|
53
|
+
foregroundColor: resolvedFontColor
|
|
49
54
|
})}`, ...props, children });
|
|
50
55
|
};
|
|
51
56
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubHeading.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SubHeading.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SwitchProps as AriaSwitchProps } from 'react-aria-components';
|
|
3
|
+
export interface SwitchProps extends AriaSwitchProps {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
export declare const Switch: (props: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default Switch;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Switch as Switch$1 } from "react-aria-components";
|
|
3
|
+
import '../../assets/Switch.css';const indicator = "_indicator_1mhci_18";
|
|
4
|
+
const styles = {
|
|
5
|
+
"switch": "_switch_1mhci_1",
|
|
6
|
+
indicator
|
|
7
|
+
};
|
|
8
|
+
const Switch = (props) => {
|
|
9
|
+
return /* @__PURE__ */ jsxs(Switch$1, { ...props, className: styles.switch, children: [
|
|
10
|
+
/* @__PURE__ */ jsx("div", { className: styles.indicator }),
|
|
11
|
+
(props == null ? void 0 : props.children) && /* @__PURE__ */ jsx("label", { className: styles.label, htmlFor: props == null ? void 0 : props.name, children: props.children })
|
|
12
|
+
] });
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
Switch,
|
|
16
|
+
Switch as default
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=Switch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Switch';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -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_1jz2y_1";
|
|
7
|
+
const isRemovable = "_isRemovable_1jz2y_21";
|
|
8
|
+
const iconWrapper = "_iconWrapper_1jz2y_123";
|
|
9
9
|
const styles = {
|
|
10
10
|
tag,
|
|
11
11
|
isRemovable,
|
|
@@ -24,7 +24,7 @@ const Tag = ({
|
|
|
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: [
|
|
27
|
-
leadingIconProps ? /* @__PURE__ */ jsx("span", { className: styles.iconWrapper, children: /* @__PURE__ */ jsx(Icon, { ...leadingIconProps }) }) : null,
|
|
27
|
+
leadingIconProps ? /* @__PURE__ */ jsx("span", { className: styles.iconWrapper, children: /* @__PURE__ */ jsx(Icon, { ...leadingIconProps, iconSize: "0.75x", padding: "square" }) }) : null,
|
|
28
28
|
children,
|
|
29
29
|
isRemovable2 && /* @__PURE__ */ jsx(IconButton, { slot: "remove", size: "sm", iconProps: {
|
|
30
30
|
iconName: "close"
|
|
@@ -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_1q059_1";
|
|
8
|
+
const sm = "_sm_1q059_35";
|
|
9
|
+
const md = "_md_1q059_42";
|
|
10
|
+
const lg = "_lg_1q059_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_1q059_21",
|
|
14
|
+
"icon-wrapper": "_icon-wrapper_1q059_26",
|
|
15
15
|
sm,
|
|
16
16
|
md,
|
|
17
17
|
lg
|
|
@@ -6,17 +6,17 @@ import { Icon } from "../Icon/Icon.js";
|
|
|
6
6
|
import LoadingSpinner from "../LoadingSpinner/LoadingSpinner.js";
|
|
7
7
|
import { focusStyleVariants } from "../../utils/focus/focusStyles.js";
|
|
8
8
|
import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
9
|
-
import '../../assets/ToggleIconButton.css';const toggleIconButton$1 = "
|
|
10
|
-
const sm = "
|
|
11
|
-
const md = "
|
|
12
|
-
const lg = "
|
|
9
|
+
import '../../assets/ToggleIconButton.css';const toggleIconButton$1 = "_toggleIconButton_1za7z_1";
|
|
10
|
+
const sm = "_sm_1za7z_26";
|
|
11
|
+
const md = "_md_1za7z_32";
|
|
12
|
+
const lg = "_lg_1za7z_38";
|
|
13
13
|
const styles = {
|
|
14
14
|
toggleIconButton: toggleIconButton$1,
|
|
15
|
-
"icon-wrapper": "_icon-
|
|
15
|
+
"icon-wrapper": "_icon-wrapper_1za7z_17",
|
|
16
16
|
sm,
|
|
17
17
|
md,
|
|
18
18
|
lg,
|
|
19
|
-
"fa-spinner-third": "_fa-spinner-
|
|
19
|
+
"fa-spinner-third": "_fa-spinner-third_1za7z_44"
|
|
20
20
|
};
|
|
21
21
|
const toggleIconButton = cva(styles.toggleIconButton, {
|
|
22
22
|
variants: {
|
|
@@ -26,6 +26,10 @@ export interface TooltipProps extends AriaTooltipProps {
|
|
|
26
26
|
By default, opens for both focus and hover. Can be made to open only for focus.
|
|
27
27
|
*/
|
|
28
28
|
trigger?: 'focus';
|
|
29
|
+
/**
|
|
30
|
+
Controls the visibility of the tooltip
|
|
31
|
+
*/
|
|
32
|
+
visible?: boolean;
|
|
29
33
|
}
|
|
30
|
-
export declare const Tooltip: ({ label, placement, isDisabled, delay, closeDelay, children, trigger, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export declare const Tooltip: ({ label, placement, isDisabled, delay, closeDelay, children, trigger, visible, ...props }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
35
|
export default Tooltip;
|
|
@@ -14,9 +14,10 @@ const Tooltip = ({
|
|
|
14
14
|
closeDelay,
|
|
15
15
|
children,
|
|
16
16
|
trigger,
|
|
17
|
+
visible,
|
|
17
18
|
...props
|
|
18
19
|
}) => {
|
|
19
|
-
return /* @__PURE__ */ jsxs(TooltipTrigger, { isDisabled, delay, closeDelay, trigger, children: [
|
|
20
|
+
return /* @__PURE__ */ jsxs(TooltipTrigger, { isDisabled, delay, closeDelay, trigger, isOpen: visible, children: [
|
|
20
21
|
children,
|
|
21
22
|
/* @__PURE__ */ jsx(Tooltip$1, { className: styles.tooltip, placement, ...props, children: /* @__PURE__ */ jsx("div", { "data-placement": placement, children: label }) })
|
|
22
23
|
] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tooltip.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,11 +6,11 @@ export interface FieldCommonProps extends FieldHeaderProps {
|
|
|
6
6
|
*/
|
|
7
7
|
isDisabled?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export type FieldProps<T extends object> = T & FieldCommonProps;
|
|
9
|
+
export type FieldProps<T extends object = object> = T & FieldCommonProps;
|
|
10
10
|
type FieldBaseProps<T extends object> = FieldProps<T> & {
|
|
11
11
|
as: React.ElementType;
|
|
12
12
|
children: React.ReactNode;
|
|
13
13
|
className?: React.ComponentProps<React.ElementType>['className'];
|
|
14
14
|
};
|
|
15
|
-
export declare function Field<T extends object>({ as, children, className,
|
|
15
|
+
export declare function Field<T extends object>({ as, children, className, ...props }: FieldBaseProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default Field;
|
|
@@ -15,13 +15,10 @@ function Field({
|
|
|
15
15
|
as,
|
|
16
16
|
children,
|
|
17
17
|
className,
|
|
18
|
-
isInvalid = false,
|
|
19
|
-
isDisabled = false,
|
|
20
|
-
isRequired = false,
|
|
21
18
|
...props
|
|
22
19
|
}) {
|
|
23
|
-
return /* @__PURE__ */ jsxs(PolymorphicField, { as, isDisabled
|
|
24
|
-
(props == null ? void 0 : props.label) ? /* @__PURE__ */ jsx(FieldHeader, { label: props == null ? void 0 : props.label, description: props == null ? void 0 : props.description, errorMessage: props == null ? void 0 : props.errorMessage, isInvalid, isRequired, labelFor: props == null ? void 0 : props.labelFor }) : null,
|
|
20
|
+
return /* @__PURE__ */ jsxs(PolymorphicField, { as, isDisabled: props == null ? void 0 : props.isDisabled, className, isRequired: props == null ? void 0 : props.isRequired, ...props, children: [
|
|
21
|
+
(props == null ? void 0 : props.label) ? /* @__PURE__ */ jsx(FieldHeader, { label: props == null ? void 0 : props.label, description: props == null ? void 0 : props.description, errorMessage: props == null ? void 0 : props.errorMessage, isInvalid: props == null ? void 0 : props.isInvalid, isRequired: props == null ? void 0 : props.isRequired, labelFor: props == null ? void 0 : props.labelFor }) : null,
|
|
25
22
|
children
|
|
26
23
|
] });
|
|
27
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Field.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
+
export { default as Accordion } from './Accordion';
|
|
2
|
+
export { default as AviosBadge } from './AviosBadge';
|
|
1
3
|
export { default as AviosCurrencySymbol } from './AviosCurrencySymbol';
|
|
2
4
|
export { default as Badge } from './Badge';
|
|
3
5
|
export { default as Box } from './Box';
|
|
4
6
|
export { default as Button } from './Button';
|
|
5
7
|
export { default as ButtonGroup } from './ButtonGroup';
|
|
8
|
+
export { default as CalloutBanner } from './CalloutBanner';
|
|
6
9
|
export { default as CardSection } from './CardSection';
|
|
7
10
|
export { default as Checkbox } from './Checkbox';
|
|
8
11
|
export { default as CheckboxGroup } from './CheckboxGroup';
|
|
12
|
+
export { default as CreditCardNumberField } from './CreditCardNumberField';
|
|
9
13
|
export { default as DateField } from './DateField';
|
|
10
14
|
export { default as DestinationHeading } from './DestinationHeading';
|
|
15
|
+
export { default as DetailsDisclosure } from './DetailsDisclosure';
|
|
16
|
+
export { default as Dialog } from './Dialog';
|
|
17
|
+
export { default as ErrorSummary } from './ErrorSummary';
|
|
11
18
|
export { default as Eyebrow } from './Eyebrow';
|
|
12
19
|
export { default as FieldDescription } from './FieldDescription';
|
|
13
20
|
export { default as FieldError } from './FieldError';
|
|
@@ -19,16 +26,25 @@ export { default as Form } from './Form';
|
|
|
19
26
|
export { default as Grid } from './Grid';
|
|
20
27
|
export { default as Heading } from './Heading';
|
|
21
28
|
export { default as Icon } from './Icon';
|
|
29
|
+
export { default as IconBackdrop } from './IconBackdrop';
|
|
22
30
|
export { default as IconButton } from './IconButton';
|
|
23
31
|
export { default as Image } from './Image';
|
|
24
32
|
export { default as Link } from './Link';
|
|
25
33
|
export { default as LoadingSpinner } from './LoadingSpinner';
|
|
34
|
+
export { default as Menu } from './Menu';
|
|
26
35
|
export { default as NumberField } from './NumberField';
|
|
27
36
|
export { default as Paragraph } from './Paragraph';
|
|
37
|
+
export { default as PhoneNumberField } from './PhoneNumberField';
|
|
38
|
+
export { default as Popover } from './Popover';
|
|
39
|
+
export { default as PasswordField } from './PasswordField';
|
|
28
40
|
export { default as Radio } from './Radio';
|
|
29
41
|
export { default as RadioGroup } from './RadioGroup';
|
|
30
42
|
export { default as Section } from './Section';
|
|
43
|
+
export { default as Select } from './SelectNative';
|
|
44
|
+
export { default as SelectCard } from './SelectCard';
|
|
45
|
+
export { default as SelectNative } from './SelectNative';
|
|
31
46
|
export { default as SubHeading } from './SubHeading';
|
|
47
|
+
export { default as Switch } from './Switch';
|
|
32
48
|
export { default as Tag } from './Tag';
|
|
33
49
|
export { default as TagGroup } from './TagGroup';
|
|
34
50
|
export { default as TextField } from './TextField';
|
package/dist/components/index.js
CHANGED
|
@@ -1,80 +1,111 @@
|
|
|
1
1
|
import '../assets/global.css';/* empty css */
|
|
2
|
+
import { Accordion } from "./Accordion/Accordion.js";
|
|
3
|
+
import { AviosBadge } from "./AviosBadge/AviosBadge.js";
|
|
2
4
|
import { AviosCurrencySymbol } from "./AviosCurrencySymbol/AviosCurrencySymbol.js";
|
|
3
5
|
import { Badge } from "./Badge/Badge.js";
|
|
4
6
|
import { Box } from "./Box/Box.js";
|
|
5
7
|
import { Button } from "./Button/Button.js";
|
|
6
8
|
import { ButtonGroup } from "./ButtonGroup/ButtonGroup.js";
|
|
9
|
+
import { CalloutBanner } from "./CalloutBanner/CalloutBanner.js";
|
|
7
10
|
import { default as default2 } from "./CardSection/CardSection.js";
|
|
8
11
|
import { Checkbox } from "./Checkbox/Checkbox.js";
|
|
9
12
|
import { CheckboxGroup } from "./CheckboxGroup/CheckboxGroup.js";
|
|
13
|
+
import { CreditCardNumberField } from "./CreditCardNumberField/CreditCardNumberField.js";
|
|
10
14
|
import { DateField } from "./DateField/DateField.js";
|
|
11
15
|
import { DestinationHeading } from "./DestinationHeading/DestinationHeading.js";
|
|
16
|
+
import { default as default3 } from "./DetailsDisclosure/DetailsDisclosure.js";
|
|
17
|
+
import { Dialog } from "./Dialog/Dialog.js";
|
|
18
|
+
import { ErrorSummary } from "./ErrorSummary/ErrorSummary.js";
|
|
12
19
|
import { Eyebrow } from "./Eyebrow/Eyebrow.js";
|
|
13
|
-
import { default as
|
|
20
|
+
import { default as default4 } from "./FieldDescription/FieldDescription.js";
|
|
14
21
|
import { FieldError } from "./FieldError/FieldError.js";
|
|
15
22
|
import { FieldHeader } from "./FieldHeader/FieldHeader.js";
|
|
16
23
|
import { FieldLabel } from "./FieldLabel/FieldLabel.js";
|
|
17
|
-
import { default as
|
|
24
|
+
import { default as default5 } from "./Fieldset/Fieldset.js";
|
|
18
25
|
import { FieldsetHeader } from "./FieldsetHeader/FieldsetHeader.js";
|
|
19
26
|
import { Form } from "./Form/Form.js";
|
|
20
27
|
import { Grid } from "./Grid/Grid.js";
|
|
21
28
|
import { Heading } from "./Heading/Heading.js";
|
|
22
29
|
import { Icon } from "./Icon/Icon.js";
|
|
30
|
+
import { IconBackdrop } from "./IconBackdrop/IconBackdrop.js";
|
|
23
31
|
import { IconButton } from "./IconButton/IconButton.js";
|
|
24
32
|
import { Image } from "./Image/Image.js";
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
33
|
+
import { default as default6 } from "./Link/Link.js";
|
|
34
|
+
import { default as default7 } from "./LoadingSpinner/LoadingSpinner.js";
|
|
35
|
+
import { Menu } from "./Menu/Menu.js";
|
|
27
36
|
import { NumberField } from "./NumberField/NumberField.js";
|
|
28
37
|
import { Paragraph } from "./Paragraph/Paragraph.js";
|
|
38
|
+
import { PhoneNumberField } from "./PhoneNumberField/PhoneNumberField.js";
|
|
39
|
+
import { Popover } from "./Popover/Popover.js";
|
|
40
|
+
import { PasswordField } from "./PasswordField/PasswordField.js";
|
|
29
41
|
import { Radio } from "./Radio/Radio.js";
|
|
30
42
|
import { RadioGroup } from "./RadioGroup/RadioGroup.js";
|
|
31
|
-
import { default as
|
|
43
|
+
import { default as default8 } from "./Section/Section.js";
|
|
44
|
+
import { SelectNative, SelectNative as SelectNative2 } from "./SelectNative/SelectNative.js";
|
|
45
|
+
import { default as default9 } from "./SelectCard/SelectCard.js";
|
|
32
46
|
import { SubHeading } from "./SubHeading/SubHeading.js";
|
|
47
|
+
import { Switch } from "./Switch/Switch.js";
|
|
33
48
|
import { Tag } from "./Tag/Tag.js";
|
|
34
49
|
import { TagGroup } from "./TagGroup/TagGroup.js";
|
|
35
50
|
import { TextField } from "./TextField/TextField.js";
|
|
36
51
|
import { TextAreaField } from "./TextAreaField/TextAreaField.js";
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
52
|
+
import { default as default10 } from "./ToggleButton/ToggleButton.js";
|
|
53
|
+
import { default as default11 } from "./ToggleIconButton/ToggleIconButton.js";
|
|
39
54
|
import { Tooltip } from "./Tooltip/Tooltip.js";
|
|
40
55
|
export {
|
|
56
|
+
Accordion,
|
|
57
|
+
AviosBadge,
|
|
41
58
|
AviosCurrencySymbol,
|
|
42
59
|
Badge,
|
|
43
60
|
Box,
|
|
44
61
|
Button,
|
|
45
62
|
ButtonGroup,
|
|
63
|
+
CalloutBanner,
|
|
46
64
|
default2 as CardSection,
|
|
47
65
|
Checkbox,
|
|
48
66
|
CheckboxGroup,
|
|
67
|
+
CreditCardNumberField,
|
|
49
68
|
DateField,
|
|
50
69
|
DestinationHeading,
|
|
70
|
+
default3 as DetailsDisclosure,
|
|
71
|
+
Dialog,
|
|
72
|
+
ErrorSummary,
|
|
51
73
|
Eyebrow,
|
|
52
|
-
|
|
74
|
+
default4 as FieldDescription,
|
|
53
75
|
FieldError,
|
|
54
76
|
FieldHeader,
|
|
55
77
|
FieldLabel,
|
|
56
|
-
|
|
78
|
+
default5 as Fieldset,
|
|
57
79
|
FieldsetHeader,
|
|
58
80
|
Form,
|
|
59
81
|
Grid,
|
|
60
82
|
Heading,
|
|
61
83
|
Icon,
|
|
84
|
+
IconBackdrop,
|
|
62
85
|
IconButton,
|
|
63
86
|
Image,
|
|
64
|
-
|
|
65
|
-
|
|
87
|
+
default6 as Link,
|
|
88
|
+
default7 as LoadingSpinner,
|
|
89
|
+
Menu,
|
|
66
90
|
NumberField,
|
|
67
91
|
Paragraph,
|
|
92
|
+
PasswordField,
|
|
93
|
+
PhoneNumberField,
|
|
94
|
+
Popover,
|
|
68
95
|
Radio,
|
|
69
96
|
RadioGroup,
|
|
70
|
-
|
|
97
|
+
default8 as Section,
|
|
98
|
+
SelectNative as Select,
|
|
99
|
+
default9 as SelectCard,
|
|
100
|
+
SelectNative2 as SelectNative,
|
|
71
101
|
SubHeading,
|
|
102
|
+
Switch,
|
|
72
103
|
Tag,
|
|
73
104
|
TagGroup,
|
|
74
105
|
TextAreaField,
|
|
75
106
|
TextField,
|
|
76
|
-
|
|
77
|
-
|
|
107
|
+
default10 as ToggleButton,
|
|
108
|
+
default11 as ToggleIconButton,
|
|
78
109
|
Tooltip
|
|
79
110
|
};
|
|
80
111
|
//# 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|