@scottish-government/designsystem-react 0.11.0 → 0.12.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/@types/components/PageHeader.d.ts +2 -1
- package/CHANGELOG.md +8 -0
- package/dist/common/AbstractNotificationBanner.d.ts +9 -0
- package/dist/common/ActionLink.d.ts +5 -0
- package/dist/common/ConditionalWrapper.d.ts +8 -0
- package/dist/common/FileIcon.d.ts +6 -0
- package/dist/common/HintText.d.ts +5 -0
- package/dist/common/Icon.d.ts +6 -0
- package/dist/common/ScreenReaderText.d.ts +5 -0
- package/dist/common/WrapperTag.d.ts +8 -0
- package/dist/components/Accordion/Accordion.d.ts +10 -0
- package/dist/components/AspectBox/AspectBox.d.ts +6 -0
- package/dist/components/BackToTop/BackToTop.d.ts +5 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
- package/dist/components/Button/Button.d.ts +5 -0
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +5 -0
- package/dist/components/CategoryItem/CategoryItem.d.ts +5 -0
- package/dist/components/CategoryList/CategoryList.d.ts +6 -0
- package/dist/components/Checkbox/Checkbox.d.ts +5 -0
- package/dist/components/Checkbox/CheckboxGroup.d.ts +6 -0
- package/dist/components/ConfirmationMessage/ConfirmationMessage.d.ts +5 -0
- package/dist/components/ContentsNav/ContentsNav.d.ts +10 -0
- package/dist/components/CookieBanner/CookieBanner.d.ts +9 -0
- package/dist/components/DatePicker/DatePicker.d.ts +5 -0
- package/dist/components/Details/Details.d.ts +5 -0
- package/dist/components/ErrorMessage/ErrorMessage.d.ts +5 -0
- package/dist/components/ErrorSummary/ErrorSummary.d.ts +9 -0
- package/dist/components/FileDownload/FileDownload.d.ts +5 -0
- package/dist/components/HideThisPage/HideThisPage.d.ts +6 -0
- package/dist/components/InsetText/InsetText.d.ts +5 -0
- package/dist/components/NotificationBanner/NotificationBanner.d.ts +9 -0
- package/dist/components/NotificationPanel/NotificationPanel.d.ts +5 -0
- package/dist/components/PageHeader/PageHeader.d.ts +5 -0
- package/dist/components/PageHeader/PageHeader.jsx +2 -2
- package/dist/components/PageMetadata/PageMetadata.d.ts +9 -0
- package/dist/components/Pagination/Pagination.d.ts +7 -0
- package/dist/components/PhaseBanner/PhaseBanner.d.ts +5 -0
- package/dist/components/Question/Question.d.ts +5 -0
- package/dist/components/RadioButton/RadioButton.d.ts +5 -0
- package/dist/components/RadioButton/RadioGroup.d.ts +6 -0
- package/dist/components/SearchFacets/SearchFacets.d.ts +14 -0
- package/dist/components/SearchFilters/SearchFilters.d.ts +16 -0
- package/dist/components/SearchResult/SearchResult.d.ts +28 -0
- package/dist/components/SearchSort/SearchSort.d.ts +10 -0
- package/dist/components/Select/Select.d.ts +5 -0
- package/dist/components/SequentialNavigation/SequentialNavigation.d.ts +13 -0
- package/dist/components/SideNavigation/SideNavigation.d.ts +13 -0
- package/dist/components/SiteFooter/SiteFooter.d.ts +22 -0
- package/dist/components/SiteHeader/SiteHeader.d.ts +22 -0
- package/dist/components/SiteHeader/SiteHeader.jsx +0 -1
- package/dist/components/SiteNavigation/SiteNavigation.d.ts +9 -0
- package/dist/components/SiteSearch/SiteSearch.d.ts +5 -0
- package/dist/components/SkipLinks/SkipLinks.d.ts +10 -0
- package/dist/components/SkipLinks/SkipLinks.jsx +42 -0
- package/dist/components/SummaryCard/SummaryCard.d.ts +10 -0
- package/dist/components/SummaryList/SummaryList.d.ts +18 -0
- package/dist/components/Table/Table.d.ts +5 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -0
- package/dist/components/Tag/Tag.d.ts +5 -0
- package/dist/components/TaskList/TaskList.d.ts +13 -0
- package/dist/components/TextInput/TextInput.d.ts +5 -0
- package/dist/components/Textarea/Textarea.d.ts +5 -0
- package/dist/components/WarningText/WarningText.d.ts +5 -0
- package/dist/hooks/useTracking.d.ts +1 -0
- package/dist/images/documents/audio.d.ts +4 -0
- package/dist/images/documents/csv.d.ts +4 -0
- package/dist/images/documents/excel.d.ts +4 -0
- package/dist/images/documents/file.d.ts +4 -0
- package/dist/images/documents/generic.d.ts +4 -0
- package/dist/images/documents/geodata.d.ts +4 -0
- package/dist/images/documents/ical.d.ts +4 -0
- package/dist/images/documents/ico.d.ts +4 -0
- package/dist/images/documents/image.d.ts +4 -0
- package/dist/images/documents/index.d.ts +22 -0
- package/dist/images/documents/odf.d.ts +4 -0
- package/dist/images/documents/odg.d.ts +4 -0
- package/dist/images/documents/odp.d.ts +4 -0
- package/dist/images/documents/ods.d.ts +4 -0
- package/dist/images/documents/odt.d.ts +4 -0
- package/dist/images/documents/pdf.d.ts +4 -0
- package/dist/images/documents/ppt.d.ts +4 -0
- package/dist/images/documents/rtf.d.ts +4 -0
- package/dist/images/documents/text.d.ts +4 -0
- package/dist/images/documents/video.d.ts +4 -0
- package/dist/images/documents/word.d.ts +4 -0
- package/dist/images/documents/xml.d.ts +4 -0
- package/dist/images/documents/zip.d.ts +4 -0
- package/dist/images/icons/arrow_upward.d.ts +4 -0
- package/dist/images/icons/calendar_today.d.ts +4 -0
- package/dist/images/icons/cancel.d.ts +4 -0
- package/dist/images/icons/check_circle.d.ts +4 -0
- package/dist/images/icons/chevron_left.d.ts +4 -0
- package/dist/images/icons/chevron_right.d.ts +4 -0
- package/dist/images/icons/close.d.ts +4 -0
- package/dist/images/icons/description.d.ts +4 -0
- package/dist/images/icons/double_chevron_left.d.ts +4 -0
- package/dist/images/icons/double_chevron_right.d.ts +4 -0
- package/dist/images/icons/error.d.ts +4 -0
- package/dist/images/icons/expand_less.d.ts +4 -0
- package/dist/images/icons/expand_more.d.ts +4 -0
- package/dist/images/icons/index.d.ts +17 -0
- package/dist/images/icons/list.d.ts +4 -0
- package/dist/images/icons/menu.d.ts +4 -0
- package/dist/images/icons/priority_high.d.ts +4 -0
- package/dist/images/icons/search.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/context.d.ts +4 -0
- package/package.json +5 -5
- package/src/components/PageHeader/PageHeader.tsx +2 -1
- package/src/components/SiteHeader/SiteHeader.tsx +0 -2
- package/src/components/SkipLinks/SkipLinks.tsx +10 -0
- package/tsconfig.json +14 -14
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Tabs: {
|
|
3
|
+
({ baseId, children, className, headingLevel, isBorderless, isManual, title, ...props }: SGDS.Component.Tabs): React.JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
Item: {
|
|
6
|
+
({ isBorderless, children, className, id, tabLabel, ...props }: SGDS.Component.Tabs.Item): React.JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default Tabs;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const TaskList: {
|
|
2
|
+
({ children, className, headingId, title, ...props }: SGDS.Component.TaskList): import("react").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
Item: {
|
|
5
|
+
({ children, className, href, id, isComplete, linkComponent, statusText, tagColour, title, ...props }: SGDS.Component.TaskList.Item): import("react").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
Group: {
|
|
9
|
+
({ children, className, intro, title, ...props }: SGDS.Component.TaskList.Group): import("react").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default TaskList;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const TextInput: {
|
|
2
|
+
({ buttonIcon, buttonText, children, className, countThreshold, width, isCurrency, currencySymbol, errorMessage, hasButton, hasError, hintText, id, label, maxlength, name, onBlur, onChange, placeholder, type, value, ...props }: SGDS.Component.TextInput): import("react").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default TextInput;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const Textarea: {
|
|
2
|
+
({ className, countThreshold, errorMessage, hasError, hintText, id, label, maxlength, name, onBlur, onChange, placeholder, rows, value, ...props }: SGDS.Component.Textarea): import("react").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
};
|
|
5
|
+
export default Textarea;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function (): void;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export { default as Audio } from "./audio";
|
|
2
|
+
export { default as Csv } from "./csv";
|
|
3
|
+
export { default as Excel } from "./excel";
|
|
4
|
+
export { default as File } from "./file";
|
|
5
|
+
export { default as Generic } from "./generic";
|
|
6
|
+
export { default as Geodata } from "./geodata";
|
|
7
|
+
export { default as Ical } from "./ical";
|
|
8
|
+
export { default as Ico } from "./ico";
|
|
9
|
+
export { default as Image } from "./image";
|
|
10
|
+
export { default as Odf } from "./odf";
|
|
11
|
+
export { default as Odg } from "./odg";
|
|
12
|
+
export { default as Odp } from "./odp";
|
|
13
|
+
export { default as Ods } from "./ods";
|
|
14
|
+
export { default as Odt } from "./odt";
|
|
15
|
+
export { default as Pdf } from "./pdf";
|
|
16
|
+
export { default as Ppt } from "./ppt";
|
|
17
|
+
export { default as Rtf } from "./rtf";
|
|
18
|
+
export { default as Text } from "./text";
|
|
19
|
+
export { default as Video } from "./video";
|
|
20
|
+
export { default as Word } from "./word";
|
|
21
|
+
export { default as Xml } from "./xml";
|
|
22
|
+
export { default as Zip } from "./zip";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { default as ArrowUpward } from "./arrow_upward";
|
|
2
|
+
export { default as CalendarToday } from "./calendar_today";
|
|
3
|
+
export { default as Cancel } from "./cancel";
|
|
4
|
+
export { default as CheckCircle } from "./check_circle";
|
|
5
|
+
export { default as ChevronLeft } from "./chevron_left";
|
|
6
|
+
export { default as ChevronRight } from "./chevron_right";
|
|
7
|
+
export { default as Close } from "./close";
|
|
8
|
+
export { default as Description } from "./description";
|
|
9
|
+
export { default as DoubleChevronLeft } from "./double_chevron_left";
|
|
10
|
+
export { default as DoubleChevronRight } from "./double_chevron_right";
|
|
11
|
+
export { default as Error } from "./error";
|
|
12
|
+
export { default as ExpandLess } from "./expand_less";
|
|
13
|
+
export { default as ExpandMore } from "./expand_more";
|
|
14
|
+
export { default as List } from "./list";
|
|
15
|
+
export { default as Menu } from "./menu";
|
|
16
|
+
export { default as PriorityHigh } from "./priority_high";
|
|
17
|
+
export { default as Search } from "./search";
|