@takecasper/acuity-design-system 1.27.13 → 2.0.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/README.md +29 -2
- package/dist/assets/icons/add.d.ts +10 -0
- package/dist/assets/icons/add.d.ts.map +1 -0
- package/dist/assets/icons/bookmark.d.ts +10 -0
- package/dist/assets/icons/bookmark.d.ts.map +1 -0
- package/dist/assets/icons/bookmarkWithIndicator.d.ts +10 -0
- package/dist/assets/icons/bookmarkWithIndicator.d.ts.map +1 -0
- package/dist/assets/icons/calendar.d.ts +10 -0
- package/dist/assets/icons/calendar.d.ts.map +1 -0
- package/dist/assets/icons/check.d.ts +10 -0
- package/dist/assets/icons/check.d.ts.map +1 -0
- package/dist/assets/icons/checkCircle.d.ts +11 -0
- package/dist/assets/icons/checkCircle.d.ts.map +1 -0
- package/dist/assets/icons/close.d.ts +10 -0
- package/dist/assets/icons/close.d.ts.map +1 -0
- package/dist/assets/icons/deleteIcon.d.ts +10 -0
- package/dist/assets/icons/deleteIcon.d.ts.map +1 -0
- package/dist/assets/icons/dropdown.d.ts +10 -0
- package/dist/assets/icons/dropdown.d.ts.map +1 -0
- package/dist/assets/icons/edit.d.ts +10 -0
- package/dist/assets/icons/edit.d.ts.map +1 -0
- package/dist/assets/icons/email.d.ts +10 -0
- package/dist/assets/icons/email.d.ts.map +1 -0
- package/dist/assets/icons/error.d.ts +11 -0
- package/dist/assets/icons/error.d.ts.map +1 -0
- package/dist/assets/icons/exclude.d.ts +10 -0
- package/dist/assets/icons/exclude.d.ts.map +1 -0
- package/dist/assets/icons/flag.d.ts +10 -0
- package/dist/assets/icons/flag.d.ts.map +1 -0
- package/dist/assets/icons/index.d.ts +29 -0
- package/dist/assets/icons/index.d.ts.map +1 -0
- package/dist/assets/icons/infoCircle.d.ts +11 -0
- package/dist/assets/icons/infoCircle.d.ts.map +1 -0
- package/dist/assets/icons/linkNewTab.d.ts +10 -0
- package/dist/assets/icons/linkNewTab.d.ts.map +1 -0
- package/dist/assets/icons/lockClosed.d.ts +10 -0
- package/dist/assets/icons/lockClosed.d.ts.map +1 -0
- package/dist/assets/icons/lockOpened.d.ts +10 -0
- package/dist/assets/icons/lockOpened.d.ts.map +1 -0
- package/dist/assets/icons/menu.d.ts +9 -0
- package/dist/assets/icons/menu.d.ts.map +1 -0
- package/dist/assets/icons/notifications.d.ts +10 -0
- package/dist/assets/icons/notifications.d.ts.map +1 -0
- package/dist/assets/icons/notificationsWithIndicator.d.ts +10 -0
- package/dist/assets/icons/notificationsWithIndicator.d.ts.map +1 -0
- package/dist/assets/icons/questionCircle.d.ts +10 -0
- package/dist/assets/icons/questionCircle.d.ts.map +1 -0
- package/dist/assets/icons/resourceCenter.d.ts +10 -0
- package/dist/assets/icons/resourceCenter.d.ts.map +1 -0
- package/dist/assets/icons/resourceCenterWithIndicator.d.ts +10 -0
- package/dist/assets/icons/resourceCenterWithIndicator.d.ts.map +1 -0
- package/dist/assets/icons/search.d.ts +10 -0
- package/dist/assets/icons/search.d.ts.map +1 -0
- package/dist/assets/icons/settings.d.ts +10 -0
- package/dist/assets/icons/settings.d.ts.map +1 -0
- package/dist/assets/icons/warning.d.ts +11 -0
- package/dist/assets/icons/warning.d.ts.map +1 -0
- package/dist/assets/index.css +1 -1
- package/dist/components/AddItem/AddItem.d.ts +10 -0
- package/dist/components/AddItem/AddItem.d.ts.map +1 -0
- package/dist/components/AdvancedTable/AdvancedTable.d.ts +44 -0
- package/dist/components/AdvancedTable/AdvancedTable.d.ts.map +1 -0
- package/dist/components/Alert/alert.d.ts +16 -0
- package/dist/components/Alert/alert.d.ts.map +1 -0
- package/dist/components/AlertBanner/AlertBanner.d.ts +16 -0
- package/dist/components/AlertBanner/AlertBanner.d.ts.map +1 -0
- package/dist/components/AppLayout/AppLayout.d.ts +24 -0
- package/dist/components/AppLayout/AppLayout.d.ts.map +1 -0
- package/dist/components/AppLayout/AppLayoutDrawer.d.ts +9 -0
- package/dist/components/AppLayout/AppLayoutDrawer.d.ts.map +1 -0
- package/dist/components/AppLayout/ContentPanelContext.d.ts +4 -0
- package/dist/components/AppLayout/ContentPanelContext.d.ts.map +1 -0
- package/dist/components/AudioVolumeIndicator/AudioVolumeIndicator.d.ts +20 -0
- package/dist/components/AudioVolumeIndicator/AudioVolumeIndicator.d.ts.map +1 -0
- package/dist/components/Badge/badge.d.ts +12 -0
- package/dist/components/Badge/badge.d.ts.map +1 -0
- package/dist/components/Button/button.d.ts +23 -0
- package/dist/components/Button/button.d.ts.map +1 -0
- package/dist/components/ButtonAddTableItem/ButtonAddTableItem.d.ts +32 -0
- package/dist/components/ButtonAddTableItem/ButtonAddTableItem.d.ts.map +1 -0
- package/dist/components/Card/card.d.ts +11 -0
- package/dist/components/Card/card.d.ts.map +1 -0
- package/dist/components/Colors/colorSwatch.d.ts +7 -0
- package/dist/components/Colors/colorSwatch.d.ts.map +1 -0
- package/dist/components/DataGrid/AcuityDataGrid.d.ts +9 -0
- package/dist/components/DataGrid/AcuityDataGrid.d.ts.map +1 -0
- package/dist/components/DigitalTimer/DigitalTimer.d.ts +29 -0
- package/dist/components/DigitalTimer/DigitalTimer.d.ts.map +1 -0
- package/dist/components/FileDropzone/FileDropzone.d.ts +13 -0
- package/dist/components/FileDropzone/FileDropzone.d.ts.map +1 -0
- package/dist/components/FormValidation/FormValidation/formValidation.d.ts +13 -0
- package/dist/components/FormValidation/FormValidation/formValidation.d.ts.map +1 -0
- package/dist/components/Heading/heading.d.ts +18 -0
- package/dist/components/Heading/heading.d.ts.map +1 -0
- package/dist/components/HoldToConfirmButton/HoldToConfirmButton.d.ts +12 -0
- package/dist/components/HoldToConfirmButton/HoldToConfirmButton.d.ts.map +1 -0
- package/dist/components/Icon/icon.d.ts +17 -0
- package/dist/components/Icon/icon.d.ts.map +1 -0
- package/dist/components/IconButton/iconButton.d.ts +19 -0
- package/dist/components/IconButton/iconButton.d.ts.map +1 -0
- package/dist/components/Icons/CheckedIcon.d.ts +3 -0
- package/dist/components/Icons/CheckedIcon.d.ts.map +1 -0
- package/dist/components/Icons/IndeterminateIcon.d.ts +3 -0
- package/dist/components/Icons/IndeterminateIcon.d.ts.map +1 -0
- package/dist/components/Icons/SortIcon.d.ts +6 -0
- package/dist/components/Icons/SortIcon.d.ts.map +1 -0
- package/dist/components/Icons/VideoInterviewIcon.d.ts +4 -0
- package/dist/components/Icons/VideoInterviewIcon.d.ts.map +1 -0
- package/dist/components/ImagePreview/ImagePreview.d.ts +17 -0
- package/dist/components/ImagePreview/ImagePreview.d.ts.map +1 -0
- package/dist/components/InlineAlert/InlineAlert.d.ts +12 -0
- package/dist/components/InlineAlert/InlineAlert.d.ts.map +1 -0
- package/dist/components/InputDeviceSelect/InputDeviceSelect.d.ts +54 -0
- package/dist/components/InputDeviceSelect/InputDeviceSelect.d.ts.map +1 -0
- package/dist/components/Inputs/Checkbox/checkbox.d.ts +10 -0
- package/dist/components/Inputs/Checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/Inputs/Dropdown/dropdown.d.ts +15 -0
- package/dist/components/Inputs/Dropdown/dropdown.d.ts.map +1 -0
- package/dist/components/Inputs/DropdownAtom/dropdownAtom.d.ts +11 -0
- package/dist/components/Inputs/DropdownAtom/dropdownAtom.d.ts.map +1 -0
- package/dist/components/Inputs/LabelAtom/labelAtom.d.ts +19 -0
- package/dist/components/Inputs/LabelAtom/labelAtom.d.ts.map +1 -0
- package/dist/components/Inputs/Radio/radio.d.ts +10 -0
- package/dist/components/Inputs/Radio/radio.d.ts.map +1 -0
- package/dist/components/Inputs/TextInput/textInput.d.ts +17 -0
- package/dist/components/Inputs/TextInput/textInput.d.ts.map +1 -0
- package/dist/components/Inputs/TextInputAtom/textInputAtom.d.ts +8 -0
- package/dist/components/Inputs/TextInputAtom/textInputAtom.d.ts.map +1 -0
- package/dist/components/Inputs/Textarea/textarea.d.ts +18 -0
- package/dist/components/Inputs/Textarea/textarea.d.ts.map +1 -0
- package/dist/components/Inputs/TextareaAtom/textareaAtom.d.ts +10 -0
- package/dist/components/Inputs/TextareaAtom/textareaAtom.d.ts.map +1 -0
- package/dist/components/Inputs/inputWrapper.d.ts +34 -0
- package/dist/components/Inputs/inputWrapper.d.ts.map +1 -0
- package/dist/components/Inputs/styles.d.ts +27 -0
- package/dist/components/Inputs/styles.d.ts.map +1 -0
- package/dist/components/KebabMenu/KebabMenu.d.ts +12 -0
- package/dist/components/KebabMenu/KebabMenu.d.ts.map +1 -0
- package/dist/components/Link/link.d.ts +11 -0
- package/dist/components/Link/link.d.ts.map +1 -0
- package/dist/components/Logos/AcuityLogos.d.ts +11 -0
- package/dist/components/Logos/AcuityLogos.d.ts.map +1 -0
- package/dist/components/Markdown/Markdown.d.ts +15 -0
- package/dist/components/Markdown/Markdown.d.ts.map +1 -0
- package/dist/components/Markdown/Markdown.styles.d.ts +81 -0
- package/dist/components/Markdown/Markdown.styles.d.ts.map +1 -0
- package/dist/components/Modal/modal.d.ts +18 -0
- package/dist/components/Modal/modal.d.ts.map +1 -0
- package/dist/components/NumericScale/NumericScale.d.ts +28 -0
- package/dist/components/NumericScale/NumericScale.d.ts.map +1 -0
- package/dist/components/PageTitle/PageTitle.d.ts +11 -0
- package/dist/components/PageTitle/PageTitle.d.ts.map +1 -0
- package/dist/components/PrimaryButton/PrimaryButton.d.ts +10 -0
- package/dist/components/PrimaryButton/PrimaryButton.d.ts.map +1 -0
- package/dist/components/ProgressBar/progressBar.d.ts +13 -0
- package/dist/components/ProgressBar/progressBar.d.ts.map +1 -0
- package/dist/components/ProgressStepper/ProgressStepper.d.ts +41 -0
- package/dist/components/ProgressStepper/ProgressStepper.d.ts.map +1 -0
- package/dist/components/ReplayButton/ReplayButton.d.ts +18 -0
- package/dist/components/ReplayButton/ReplayButton.d.ts.map +1 -0
- package/dist/components/SingleSelect/SingleSelect.d.ts +32 -0
- package/dist/components/SingleSelect/SingleSelect.d.ts.map +1 -0
- package/dist/components/Spinner/spinner.d.ts +11 -0
- package/dist/components/Spinner/spinner.d.ts.map +1 -0
- package/dist/components/StepButtons/StepButtons.d.ts +22 -0
- package/dist/components/StepButtons/StepButtons.d.ts.map +1 -0
- package/dist/components/Table/CheckboxCell.d.ts +8 -0
- package/dist/components/Table/CheckboxCell.d.ts.map +1 -0
- package/dist/components/Table/CustomTable.d.ts +7 -0
- package/dist/components/Table/CustomTable.d.ts.map +1 -0
- package/dist/components/Table/CustomTableHead.d.ts +28 -0
- package/dist/components/Table/CustomTableHead.d.ts.map +1 -0
- package/dist/components/Table/CustomTableRow.d.ts +13 -0
- package/dist/components/Table/CustomTableRow.d.ts.map +1 -0
- package/dist/components/Table/LabelCell.d.ts +7 -0
- package/dist/components/Table/LabelCell.d.ts.map +1 -0
- package/dist/components/Table/SortableTableCell.d.ts +20 -0
- package/dist/components/Table/SortableTableCell.d.ts.map +1 -0
- package/dist/components/Table/filterTableData.d.ts +5 -0
- package/dist/components/Table/filterTableData.d.ts.map +1 -0
- package/dist/components/Table/useTable.d.ts +19 -0
- package/dist/components/Table/useTable.d.ts.map +1 -0
- package/dist/components/Tabs/Tab/tab.d.ts +9 -0
- package/dist/components/Tabs/Tab/tab.d.ts.map +1 -0
- package/dist/components/Tabs/TabItem/tabItem.d.ts +11 -0
- package/dist/components/Tabs/TabItem/tabItem.d.ts.map +1 -0
- package/dist/components/Tabs/TabPanel/tabPanel.d.ts +7 -0
- package/dist/components/Tabs/TabPanel/tabPanel.d.ts.map +1 -0
- package/dist/components/Tabs/Tabs/tabs.d.ts +11 -0
- package/dist/components/Tabs/Tabs/tabs.d.ts.map +1 -0
- package/dist/components/TexFooter/TexFooter.d.ts +14 -0
- package/dist/components/TexFooter/TexFooter.d.ts.map +1 -0
- package/dist/components/TextResponse/TextResponse.d.ts +21 -0
- package/dist/components/TextResponse/TextResponse.d.ts.map +1 -0
- package/dist/components/TextToSpeech/TextToSpeech.d.ts +56 -0
- package/dist/components/TextToSpeech/TextToSpeech.d.ts.map +1 -0
- package/dist/components/TimerProgressBar/TimerProgressBar.d.ts +28 -0
- package/dist/components/TimerProgressBar/TimerProgressBar.d.ts.map +1 -0
- package/dist/components/Toast/Toast.d.ts +12 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +13 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/components/UploadProgressBar/UploadProgressBar.d.ts +23 -0
- package/dist/components/UploadProgressBar/UploadProgressBar.d.ts.map +1 -0
- package/dist/components/UserAvatar/UserAvatar.d.ts +15 -0
- package/dist/components/UserAvatar/UserAvatar.d.ts.map +1 -0
- package/dist/docs/storiesList.d.ts +7 -0
- package/dist/docs/storiesList.d.ts.map +1 -0
- package/dist/index.cjs.js +1268 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +96 -306
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +59638 -4006
- package/dist/index.es.js.map +1 -1
- package/dist/theme/AcuityMuiThemeProvider.d.ts +9 -0
- package/dist/theme/AcuityMuiThemeProvider.d.ts.map +1 -0
- package/dist/theme/muiTheme.d.ts +134 -0
- package/dist/theme/muiTheme.d.ts.map +1 -0
- package/dist/theme/platformPalette.d.ts +97 -0
- package/dist/theme/platformPalette.d.ts.map +1 -0
- package/dist/theme/theme.d.ts +124 -0
- package/dist/theme/theme.d.ts.map +1 -0
- package/dist/util/eventHandlers.d.ts +6 -0
- package/dist/util/eventHandlers.d.ts.map +1 -0
- package/dist/util/index.d.ts +10 -0
- package/dist/util/index.d.ts.map +1 -0
- package/dist/util/landingPageUtil.d.ts +7 -0
- package/dist/util/landingPageUtil.d.ts.map +1 -0
- package/dist/util/numberToWord.d.ts +5 -0
- package/dist/util/numberToWord.d.ts.map +1 -0
- package/dist/util/randomId.d.ts +5 -0
- package/dist/util/randomId.d.ts.map +1 -0
- package/dist/util/timerHelpers.d.ts +6 -0
- package/dist/util/timerHelpers.d.ts.map +1 -0
- package/dist/util/types.d.ts +7 -0
- package/dist/util/types.d.ts.map +1 -0
- package/package.json +97 -63
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How urgent the remaining time is. `info` is the ordinary blue state; `warning`
|
|
3
|
+
* switches to an outlined amber treatment for a timer that is running out.
|
|
4
|
+
*/
|
|
5
|
+
export type DigitalTimerVariant = 'info' | 'warning';
|
|
6
|
+
export interface DigitalTimerProps {
|
|
7
|
+
/** Seconds remaining. Negative values render with a leading minus sign. */
|
|
8
|
+
timeLeft: number;
|
|
9
|
+
/** Caption beside the clock, e.g. "Time Left : ". Also used as the ARIA label. */
|
|
10
|
+
timerLabel?: string;
|
|
11
|
+
variant?: DigitalTimerVariant;
|
|
12
|
+
showClockIcon?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* ARIA label used when no `timerLabel` is given. Supplied by the consuming app so
|
|
15
|
+
* the copy can be translated there.
|
|
16
|
+
*/
|
|
17
|
+
accessibleLabel?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* A compact `mm:ss` countdown pill.
|
|
21
|
+
*
|
|
22
|
+
* Announced with `role="timer"` and `aria-live="polite"`, so a screen reader
|
|
23
|
+
* mentions the remaining time at natural breaks rather than interrupting on every
|
|
24
|
+
* tick. The label truncates before the digits do — the number is the part that has
|
|
25
|
+
* to stay readable when space is tight.
|
|
26
|
+
*/
|
|
27
|
+
export declare const DigitalTimer: ({ timeLeft, timerLabel, variant, showClockIcon, accessibleLabel }: DigitalTimerProps) => import("react").JSX.Element;
|
|
28
|
+
export default DigitalTimer;
|
|
29
|
+
//# sourceMappingURL=DigitalTimer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DigitalTimer.d.ts","sourceRoot":"","sources":["../../../src/components/DigitalTimer/DigitalTimer.tsx"],"names":[],"mappings":"AAKA;;;GAGG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,SAAS,CAAC;AAErD,MAAM,WAAW,iBAAiB;IAChC,2EAA2E;IAC3E,QAAQ,EAAE,MAAM,CAAC;IACjB,kFAAkF;IAClF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GAAI,mEAM1B,iBAAiB,gCAyEnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
type FileDropzoneProps = {
|
|
3
|
+
/** MIME types / extensions accepted, e.g. `"image/*,.pdf"` */
|
|
4
|
+
accept: string;
|
|
5
|
+
/** Helper text shown inside the dropzone */
|
|
6
|
+
description: string;
|
|
7
|
+
/** Label for the fallback file-picker button */
|
|
8
|
+
buttonLabel: string;
|
|
9
|
+
onFileDrop: (file: File) => void;
|
|
10
|
+
};
|
|
11
|
+
export declare const FileDropzone: FC<FileDropzoneProps>;
|
|
12
|
+
export default FileDropzone;
|
|
13
|
+
//# sourceMappingURL=FileDropzone.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileDropzone.d.ts","sourceRoot":"","sources":["../../../src/components/FileDropzone/FileDropzone.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,EAAE,EAKH,MAAM,OAAO,CAAC;AAIf,KAAK,iBAAiB,GAAG;IACvB,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA2H9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface FormValidationProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
onClick: React.MouseEventHandler<HTMLButtonElement | HTMLInputElement>;
|
|
6
|
+
successTitle: string;
|
|
7
|
+
successDescription: string;
|
|
8
|
+
errorTitle?: string;
|
|
9
|
+
buttonText: string;
|
|
10
|
+
}
|
|
11
|
+
declare const FormValidation: ({ children, className, onClick, successTitle, successDescription, errorTitle, buttonText, ...props }: FormValidationProps) => React.JSX.Element;
|
|
12
|
+
export default FormValidation;
|
|
13
|
+
//# sourceMappingURL=formValidation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/FormValidation/FormValidation/formValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAMvF,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,GAAG,gBAAgB,CAAC,CAAC;IACvE,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAID,QAAA,MAAM,cAAc,GAAI,sGASrB,mBAAmB,sBAoJrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export interface HeadingProps extends VariantProps<typeof headingVariants> {
|
|
3
|
+
size?: 'small' | 'medium' | 'large' | 'extra-large';
|
|
4
|
+
text?: string;
|
|
5
|
+
descriptionTop?: string;
|
|
6
|
+
descriptionBottom?: string;
|
|
7
|
+
hasHorizontalRule?: boolean;
|
|
8
|
+
hasMarginBottom?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
headingTag?: 'h1' | 'h2' | 'h3' | 'div';
|
|
11
|
+
id?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const headingVariants: (props?: ({
|
|
14
|
+
size?: "small" | "medium" | "large" | "extra-large" | null | undefined;
|
|
15
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
16
|
+
declare const Heading: ({ size, className, text, descriptionTop, descriptionBottom, hasHorizontalRule, hasMarginBottom, headingTag, ...props }: HeadingProps) => import("react").JSX.Element;
|
|
17
|
+
export default Heading;
|
|
18
|
+
//# sourceMappingURL=heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/components/Heading/heading.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAsB7D,MAAM,WAAW,YAAa,SAAQ,YAAY,CAAC,OAAO,eAAe,CAAC;IACxE,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,CAAC;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAaD,QAAA,MAAM,eAAe;;8EASnB,CAAC;AAmCH,QAAA,MAAM,OAAO,GAAI,wHAUd,YAAY,gCA2Bd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonProps } from '@mui/material';
|
|
3
|
+
interface HoldToConfirmButtonProps extends Omit<ButtonProps, 'onClick'> {
|
|
4
|
+
onClick: () => void | Promise<void>;
|
|
5
|
+
/** Milliseconds to hold before confirming. Default is 2000. */
|
|
6
|
+
holdDuration?: number;
|
|
7
|
+
/** Text shown while user is holding. Default is "Hold to confirm...". */
|
|
8
|
+
holdLabel?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const HoldToConfirmButton: React.ForwardRefExoticComponent<Omit<HoldToConfirmButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export default HoldToConfirmButton;
|
|
12
|
+
//# sourceMappingURL=HoldToConfirmButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HoldToConfirmButton.d.ts","sourceRoot":"","sources":["../../../src/components/HoldToConfirmButton/HoldToConfirmButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAe,WAAW,EAAoB,MAAM,eAAe,CAAC;AAE3E,UAAU,wBAAyB,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;IACrE,OAAO,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpC,+DAA+D;IAC/D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,iHAiI/B,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ReactElement, SVGAttributes } from 'react';
|
|
2
|
+
import { IconNames, IconNamesFilled, IconNamesWithIndicator, IconRole } from '../../util/types';
|
|
3
|
+
export interface IconProps extends SVGAttributes<HTMLOrSVGImageElement> {
|
|
4
|
+
size: 'small' | 'medium';
|
|
5
|
+
name: IconNames | IconNamesWithIndicator;
|
|
6
|
+
hasIndicator?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
altText?: string;
|
|
9
|
+
role?: IconRole;
|
|
10
|
+
filled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const Icon: ({ size, name, hasIndicator, className, altText, role, filled }: IconProps) => ReactElement;
|
|
13
|
+
export default Icon;
|
|
14
|
+
export declare const AllIcons: IconNames[];
|
|
15
|
+
export declare const IconListWithIndicator: IconNamesWithIndicator[];
|
|
16
|
+
export declare const IconListFilled: IconNamesFilled[];
|
|
17
|
+
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,SAAS,EACT,eAAe,EACf,sBAAsB,EACtB,QAAQ,EACT,MAAM,kBAAkB,CAAC;AA+B1B,MAAM,WAAW,SAAU,SAAQ,aAAa,CAAC,qBAAqB,CAAC;IACrE,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB,IAAI,EAAE,SAAS,GAAG,sBAAsB,CAAC;IACzC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAmUD,QAAA,MAAM,IAAI,GAAI,gEAQX,SAAS,KAAG,YA2Cd,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,QAAQ,EAEhB,SAAS,EAAE,CAAC;AACjB,eAAO,MAAM,qBAAqB,EAE7B,sBAAsB,EAAE,CAAC;AAC9B,eAAO,MAAM,cAAc,EAEtB,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconNames } from '../../util/types';
|
|
3
|
+
export interface IconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
variant: 'default' | 'small';
|
|
5
|
+
iconName: IconNames;
|
|
6
|
+
iconSize?: 'small' | 'medium';
|
|
7
|
+
label?: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
onClick: React.MouseEventHandler<HTMLButtonElement | HTMLInputElement>;
|
|
11
|
+
hasIndicator?: boolean;
|
|
12
|
+
hasTooltip?: boolean;
|
|
13
|
+
iconColor?: string;
|
|
14
|
+
isTransparent?: boolean;
|
|
15
|
+
stateful?: boolean;
|
|
16
|
+
}
|
|
17
|
+
declare const IconButton: React.FC<IconButtonProps>;
|
|
18
|
+
export default IconButton;
|
|
19
|
+
//# sourceMappingURL=iconButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconButton.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/iconButton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,eAAgB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACpF,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,GAAG,gBAAgB,CAAC,CAAC;IACvE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAqED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyDzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckedIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/CheckedIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,mCAavB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IndeterminateIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/IndeterminateIcon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,mCAY7B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/SortIcon.tsx"],"names":[],"mappings":"AAAA,UAAU,aAAa;IACrB,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;CAChC;AAED,eAAO,MAAM,QAAQ,GAAI,mBAAmB,aAAa,gCAqBxD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VideoInterviewIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/VideoInterviewIcon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG1D,eAAO,MAAM,kBAAkB,GAAI,sBAAsB,YAAY,gCA2BpE,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export interface ImagePreviewProps {
|
|
3
|
+
/** Source of the image. Nothing renders when this is absent. */
|
|
4
|
+
imageUrl?: string;
|
|
5
|
+
/** Alternative text for the image. */
|
|
6
|
+
altText?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* A fixed-ratio frame for question imagery.
|
|
10
|
+
*
|
|
11
|
+
* The 4:3 box and `object-fit: contain` mean an image of any shape is letterboxed
|
|
12
|
+
* rather than cropped, so nothing a question depends on can be cut off.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ImageFrame: import('@emotion/styled').StyledComponent<import('@mui/system').BoxOwnProps<import('@mui/material').Theme> & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('@mui/system').BoxOwnProps<import('@mui/material').Theme>> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
15
|
+
export declare const ImagePreview: FC<ImagePreviewProps>;
|
|
16
|
+
export default ImagePreview;
|
|
17
|
+
//# sourceMappingURL=ImagePreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImagePreview.d.ts","sourceRoot":"","sources":["../../../src/components/ImagePreview/ImagePreview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,MAAM,WAAW,iBAAiB;IAChC,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,eAAO,MAAM,UAAU,mXAapB,CAAC;AAEJ,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAe9C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface InlineAlertProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
severity: 'error' | 'warning' | 'info' | 'success';
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
onClose?: () => void;
|
|
8
|
+
}
|
|
9
|
+
/** MUI Alert with a bold title and body message — renders nothing when `isOpen` is false */
|
|
10
|
+
export declare const InlineAlert: FC<InlineAlertProps>;
|
|
11
|
+
export default InlineAlert;
|
|
12
|
+
//# sourceMappingURL=InlineAlert.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InlineAlert.d.ts","sourceRoot":"","sources":["../../../src/components/InlineAlert/InlineAlert.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAG3B,UAAU,gBAAgB;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,4FAA4F;AAC5F,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAiB5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export type InputDeviceType = 'audio' | 'video';
|
|
2
|
+
/** Copy for one device type, so the consuming app owns translation. */
|
|
3
|
+
export interface InputDeviceSelectLabels {
|
|
4
|
+
/** Field label, also used as the select's ARIA label. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Shown beside a tick once a device is selected and healthy. */
|
|
7
|
+
okMessage: string;
|
|
8
|
+
/** Shown beside a cross when `error` is set. */
|
|
9
|
+
errorMessage: string;
|
|
10
|
+
}
|
|
11
|
+
export interface InputDeviceSelectProps {
|
|
12
|
+
className?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** Whether there's an error/issue w/ the device
|
|
15
|
+
* undefined - initial state, '' - ok state, 'error' - issue occurred
|
|
16
|
+
*/
|
|
17
|
+
error?: string;
|
|
18
|
+
/** Whether to hide the label
|
|
19
|
+
* @default false */
|
|
20
|
+
hideLabel?: boolean;
|
|
21
|
+
/** List of device options to choose from
|
|
22
|
+
* @default []
|
|
23
|
+
*/
|
|
24
|
+
options?: MediaDeviceInfo[];
|
|
25
|
+
/** ID of the selected option
|
|
26
|
+
* @default ''
|
|
27
|
+
*/
|
|
28
|
+
value?: string;
|
|
29
|
+
/** Type of input device */
|
|
30
|
+
type: InputDeviceType;
|
|
31
|
+
onChange: (value: string) => void;
|
|
32
|
+
showMessage?: boolean;
|
|
33
|
+
/** Compact mode for smaller audio dropdown (329px)
|
|
34
|
+
* @default false */
|
|
35
|
+
compact?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Copy for this device type. Supplied by the consuming app so it can be
|
|
38
|
+
* translated there; defaults to the English strings TEX ships.
|
|
39
|
+
*/
|
|
40
|
+
labels?: InputDeviceSelectLabels;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A camera or microphone picker with an inline health verdict.
|
|
44
|
+
*
|
|
45
|
+
* The verdict sits directly under the control rather than in a banner, because the
|
|
46
|
+
* candidate's next action when a device misbehaves is to pick a different one from
|
|
47
|
+
* this very dropdown.
|
|
48
|
+
*
|
|
49
|
+
* `compact` and `hideLabel` produce the denser variants used inside the in-test
|
|
50
|
+
* device switcher, where the field label is folded into the control itself.
|
|
51
|
+
*/
|
|
52
|
+
export declare const InputDeviceSelect: ({ className, disabled, error, hideLabel, options, type, value, onChange, showMessage, compact, labels }: InputDeviceSelectProps) => import("react").JSX.Element;
|
|
53
|
+
export default InputDeviceSelect;
|
|
54
|
+
//# sourceMappingURL=InputDeviceSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputDeviceSelect.d.ts","sourceRoot":"","sources":["../../../src/components/InputDeviceSelect/InputDeviceSelect.tsx"],"names":[],"mappings":"AAaA,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,uEAAuE;AACvE,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,SAAS,EAAE,MAAM,CAAC;IAClB,gDAAgD;IAChD,YAAY,EAAE,MAAM,CAAC;CACtB;AAiBD,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;wBACoB;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2BAA2B;IAC3B,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAElC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;wBACoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC;AAaD;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAAI,yGAY/B,sBAAsB,gCA8KxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
2
|
+
id: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
indeterminate?: boolean;
|
|
5
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
onClick?: (e: React.MouseEvent<HTMLInputElement | HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const Checkbox: ({ id, label, name, checked, disabled, indeterminate, onChange, onClick, ...props }: CheckboxProps) => import("react").JSX.Element;
|
|
9
|
+
export default Checkbox;
|
|
10
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/Checkbox/checkbox.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAChF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,CACR,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,GAAG,iBAAiB,EAAE,UAAU,CAAC,KAClE,IAAI,CAAC;CACX;AAED,QAAA,MAAM,QAAQ,GAAI,oFAUf,aAAa,gCA6Bf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { InputState } from '../../../util/types';
|
|
2
|
+
export interface DropdownProps extends React.InputHTMLAttributes<HTMLSelectElement> {
|
|
3
|
+
id: string;
|
|
4
|
+
state?: InputState;
|
|
5
|
+
label: string;
|
|
6
|
+
optionalityLabel?: string;
|
|
7
|
+
helpText?: string[];
|
|
8
|
+
onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
9
|
+
message?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
hasMarginBottom?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare const Dropdown: import('react').ForwardRefExoticComponent<DropdownProps & import('react').RefAttributes<HTMLSelectElement>>;
|
|
14
|
+
export default Dropdown;
|
|
15
|
+
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/Dropdown/dropdown.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,mBAAmB,CAAC,iBAAiB,CAAC;IACjF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,QAAA,MAAM,QAAQ,6GA6Cb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InputState } from '../../../util/types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface DropdownAtomProps extends React.SelectHTMLAttributes<HTMLSelectElement> {
|
|
4
|
+
state?: InputState;
|
|
5
|
+
onClick?: (e: React.MouseEvent<HTMLSelectElement, MouseEvent>) => void;
|
|
6
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLSelectElement>) => void;
|
|
7
|
+
onMouseDown?: (e: React.MouseEvent<HTMLSelectElement, MouseEvent>) => void;
|
|
8
|
+
}
|
|
9
|
+
declare const DropdownAtom: React.ForwardRefExoticComponent<DropdownAtomProps & React.RefAttributes<HTMLSelectElement>>;
|
|
10
|
+
export default DropdownAtom;
|
|
11
|
+
//# sourceMappingURL=dropdownAtom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdownAtom.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/DropdownAtom/dropdownAtom.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACtF,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IACvE,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAChE,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;CAC5E;AAoBD,QAAA,MAAM,YAAY,6FAyBjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
export interface LabelAtomProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
|
|
3
|
+
id?: string;
|
|
4
|
+
state?: 'default' | 'error' | 'success';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
htmlFor: string;
|
|
7
|
+
value: string;
|
|
8
|
+
optionalityLabel?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const labelVariants: (props?: ({
|
|
11
|
+
state?: "default" | "error" | "success" | null | undefined;
|
|
12
|
+
disabled?: boolean | null | undefined;
|
|
13
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
|
+
interface LabelAtomVariants extends VariantProps<typeof labelVariants> {
|
|
15
|
+
}
|
|
16
|
+
export declare const labelStyles: (variants: LabelAtomVariants) => string;
|
|
17
|
+
declare const LabelAtom: ({ id, state, disabled, htmlFor, value, optionalityLabel }: LabelAtomProps) => import("react").JSX.Element;
|
|
18
|
+
export default LabelAtom;
|
|
19
|
+
//# sourceMappingURL=labelAtom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelAtom.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/LabelAtom/labelAtom.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG7D,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACjF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,QAAA,MAAM,aAAa;;;8EAqBlB,CAAC;AAEF,UAAU,iBAAkB,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AACzE,eAAO,MAAM,WAAW,GAAI,UAAU,iBAAiB,WACrB,CAAC;AAEnC,QAAA,MAAM,SAAS,GAAI,2DAOhB,cAAc,gCAShB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
2
|
+
label?: string;
|
|
3
|
+
name: string;
|
|
4
|
+
id: string;
|
|
5
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
6
|
+
onClick?: (e: React.MouseEvent<HTMLInputElement | HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const Radio: ({ label, name, id, disabled, onChange, onClick, ...props }: RadioProps) => import("react").JSX.Element;
|
|
9
|
+
export default Radio;
|
|
10
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/Radio/radio.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,UAAW,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,CACR,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,GAAG,iBAAiB,EAAE,UAAU,CAAC,KAClE,IAAI,CAAC;CACX;AAED,QAAA,MAAM,KAAK,GAAI,4DAQZ,UAAU,gCAkBZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { InputState, TextInputTypes } from '../../../util/types';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
id: string;
|
|
5
|
+
state?: InputState;
|
|
6
|
+
type?: TextInputTypes;
|
|
7
|
+
label: string;
|
|
8
|
+
optionalityLabel?: string;
|
|
9
|
+
helpText?: string[];
|
|
10
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
+
message?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
hasMarginBottom?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
16
|
+
export default TextInput;
|
|
17
|
+
//# sourceMappingURL=textInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInput/textInput.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,cAAe,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACjF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,QAAA,MAAM,SAAS,yFA+Cd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputState, TextInputTypes } from '../../../util/types';
|
|
2
|
+
export interface TextInputAtomProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
+
state?: InputState;
|
|
4
|
+
type?: TextInputTypes;
|
|
5
|
+
}
|
|
6
|
+
declare const TextInputAtom: import('react').ForwardRefExoticComponent<TextInputAtomProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export default TextInputAtom;
|
|
8
|
+
//# sourceMappingURL=textInputAtom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textInputAtom.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextInputAtom/textInputAtom.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAIjE,MAAM,WAAW,kBAAmB,SAAQ,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC;IACrF,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAmBD,QAAA,MAAM,aAAa,iHAgBlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { InputState } from '../../../util/types';
|
|
2
|
+
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
+
id: string;
|
|
4
|
+
state?: InputState;
|
|
5
|
+
label: string;
|
|
6
|
+
rows?: number;
|
|
7
|
+
cols?: number;
|
|
8
|
+
isResizable?: boolean;
|
|
9
|
+
onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
|
|
10
|
+
optionalityLabel?: string;
|
|
11
|
+
helpText?: string[];
|
|
12
|
+
message?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
hasMarginBottom?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const Textarea: ({ id, state, label, rows, cols, isResizable, optionalityLabel, helpText, message, disabled, className, hasMarginBottom, onBlur, ...props }: TextareaProps) => import("react").JSX.Element;
|
|
17
|
+
export default Textarea;
|
|
18
|
+
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/Textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC;IACtF,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,QAAA,MAAM,QAAQ,GAAI,4IAef,aAAa,gCA+Bf,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InputState } from '../../../util/types';
|
|
2
|
+
export interface TextareaAtomProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
+
state?: InputState;
|
|
4
|
+
rows?: number;
|
|
5
|
+
cols?: number;
|
|
6
|
+
isResizable?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const TextareaAtom: ({ state, rows, cols, isResizable, disabled, ...props }: TextareaAtomProps) => import("react").JSX.Element;
|
|
9
|
+
export default TextareaAtom;
|
|
10
|
+
//# sourceMappingURL=textareaAtom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textareaAtom.d.ts","sourceRoot":"","sources":["../../../../src/components/Inputs/TextareaAtom/textareaAtom.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC;IAC1F,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAUD,QAAA,MAAM,YAAY,GAAI,wDAOnB,iBAAiB,gCAcnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { InputState } from '../../util/types.ts';
|
|
3
|
+
import { default as React } from 'react';
|
|
4
|
+
export interface InputWrapperProps {
|
|
5
|
+
id: string;
|
|
6
|
+
state?: InputState;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
optionalityLabel?: string;
|
|
10
|
+
helpText?: string[];
|
|
11
|
+
message?: string;
|
|
12
|
+
isTextarea?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
hasMarginBottom?: boolean;
|
|
15
|
+
child: React.ReactNode;
|
|
16
|
+
}
|
|
17
|
+
declare const groupVariants: (props?: ({
|
|
18
|
+
state?: "default" | "error" | "success" | null | undefined;
|
|
19
|
+
hasMarginBottom?: boolean | null | undefined;
|
|
20
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
21
|
+
interface GroupVariants extends VariantProps<typeof groupVariants> {
|
|
22
|
+
}
|
|
23
|
+
export declare const groupStyles: (variants: GroupVariants) => string;
|
|
24
|
+
declare const textStateVariants: (props?: ({
|
|
25
|
+
state?: "default" | "error" | "success" | null | undefined;
|
|
26
|
+
hasMarginBottom?: boolean | null | undefined;
|
|
27
|
+
disabled?: boolean | null | undefined;
|
|
28
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
29
|
+
interface TextStateVariants extends VariantProps<typeof textStateVariants> {
|
|
30
|
+
}
|
|
31
|
+
export declare const textStateStyles: (variants: TextStateVariants) => string;
|
|
32
|
+
declare const InputWrapper: ({ id, state, disabled, label, optionalityLabel, helpText, message, child, isTextarea, className, hasMarginBottom }: InputWrapperProps) => React.JSX.Element;
|
|
33
|
+
export default InputWrapper;
|
|
34
|
+
//# sourceMappingURL=inputWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputWrapper.d.ts","sourceRoot":"","sources":["../../../src/components/Inputs/inputWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAI7D,OAAO,EAAa,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,QAAA,MAAM,aAAa;;;8EAqBlB,CAAC;AACF,UAAU,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AACrE,eAAO,MAAM,WAAW,GAAI,UAAU,aAAa,WAAqC,CAAC;AAEzF,QAAA,MAAM,iBAAiB;;;;8EAerB,CAAC;AAEH,UAAU,iBAAkB,SAAQ,YAAY,CAAC,OAAO,iBAAiB,CAAC;CAAG;AAC7E,eAAO,MAAM,eAAe,GAAI,UAAU,iBAAiB,WACrB,CAAC;AAEvC,QAAA,MAAM,YAAY,GAAI,oHAYnB,iBAAiB,sBAgEnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
declare const inputVariants: (props?: ({
|
|
3
|
+
disabled?: boolean | null | undefined;
|
|
4
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
+
interface InputVariants extends VariantProps<typeof inputVariants> {
|
|
6
|
+
}
|
|
7
|
+
export declare const inputStyles: (variants: InputVariants) => string;
|
|
8
|
+
declare const labelVariants: (props?: ({
|
|
9
|
+
disabled?: boolean | null | undefined;
|
|
10
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
+
interface LabelVariants extends VariantProps<typeof labelVariants> {
|
|
12
|
+
}
|
|
13
|
+
export declare const labelStyles: (variants: LabelVariants) => string;
|
|
14
|
+
export declare const commonVariants: {
|
|
15
|
+
variants: {
|
|
16
|
+
state: {
|
|
17
|
+
default: string[];
|
|
18
|
+
error: string[];
|
|
19
|
+
success: string[];
|
|
20
|
+
};
|
|
21
|
+
disabled: {
|
|
22
|
+
true: string[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Inputs/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,0BAA0B,CAAC;AAG7D,QAAA,MAAM,aAAa;;8EA4BlB,CAAC;AACF,UAAU,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AACrE,eAAO,MAAM,WAAW,GAAI,UAAU,aAAa,WAAqC,CAAC;AAEzF,QAAA,MAAM,aAAa;;8EAUlB,CAAC;AACF,UAAU,aAAc,SAAQ,YAAY,CAAC,OAAO,aAAa,CAAC;CAAG;AACrE,eAAO,MAAM,WAAW,GAAI,UAAU,aAAa,WAAqC,CAAC;AAEzF,eAAO,MAAM,cAAc;;;;;;;;;;;CAuC1B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type KebabMenuItem = {
|
|
3
|
+
label: string;
|
|
4
|
+
onClick: () => void;
|
|
5
|
+
};
|
|
6
|
+
interface KebabMenuProps {
|
|
7
|
+
menuItems: KebabMenuItem[];
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const KebabMenu: React.FC<KebabMenuProps>;
|
|
11
|
+
export default KebabMenu;
|
|
12
|
+
//# sourceMappingURL=KebabMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KebabMenu.d.ts","sourceRoot":"","sources":["../../../src/components/KebabMenu/KebabMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,UAAU,cAAc;IACtB,SAAS,EAAE,aAAa,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAwC9C,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React, AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { IconNames } from '../../util/types';
|
|
3
|
+
export interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
+
text: string;
|
|
5
|
+
href: string;
|
|
6
|
+
type?: 'default' | 'inline';
|
|
7
|
+
iconName?: IconNames;
|
|
8
|
+
}
|
|
9
|
+
declare const Link: React.FC<LinkProps>;
|
|
10
|
+
export default Link;
|
|
11
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/Link/link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIpD,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,SAAU,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IACxE,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAqCD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAa7B,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
type LogoProps = SVGProps<SVGSVGElement> & {
|
|
3
|
+
/** Accessible label — defaults to "Acuity Insights" */
|
|
4
|
+
'aria-label'?: string;
|
|
5
|
+
};
|
|
6
|
+
/** Circular "A" mark — primary app logo (acuity-logo.svg from appLayout assets) */
|
|
7
|
+
export declare const AcuityLogo: ({ "aria-label": ariaLabel, ...props }: LogoProps) => import("react").JSX.Element;
|
|
8
|
+
/** Rounded-rectangle "A" mark — compact/mobile variant (acuity-logo-mobile.svg from appLayout assets) */
|
|
9
|
+
export declare const AcuityLogoMobile: ({ "aria-label": ariaLabel, ...props }: LogoProps) => import("react").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=AcuityLogos.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcuityLogos.d.ts","sourceRoot":"","sources":["../../../src/components/Logos/AcuityLogos.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,KAAK,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG;IACzC,uDAAuD;IACvD,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF,mFAAmF;AACnF,eAAO,MAAM,UAAU,GAAI,uCAGxB,SAAS,gCAgBX,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,gBAAgB,GAAI,uCAG9B,SAAS,gCAiBX,CAAC"}
|