carbon-react 152.2.1 → 153.0.0-beta.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/esm/__internal__/fieldset/fieldset.style.d.ts +3 -3
- package/esm/__internal__/focus-trap/focus-trap-utils.d.ts +1 -1
- package/esm/__internal__/focus-trap/focus-trap.component.d.ts +1 -1
- package/esm/__internal__/input/input-presentation.component.d.ts +1 -1
- package/esm/__internal__/input/input-presentation.style.d.ts +1 -1
- package/esm/__internal__/input/input.component.d.ts +1 -1
- package/esm/__internal__/popover/popover.component.d.ts +1 -1
- package/esm/__internal__/popover/popover.style.d.ts +1 -1
- package/esm/__internal__/validations/validation-icon.component.d.ts +1 -1
- package/esm/__internal__/validations/validation-icon.style.d.ts +1 -1
- package/esm/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
- package/esm/components/accordion/accordion.style.js +2 -2
- package/esm/components/action-popover/__internal__/action-popover-utils.d.ts +1 -1
- package/esm/components/action-popover/__internal__/action-popover.context.d.ts +2 -2
- package/esm/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +1 -1
- package/esm/components/action-popover/action-popover.component.d.ts +1 -1
- package/esm/components/action-popover/action-popover.style.d.ts +1 -1
- package/esm/components/badge/badge.style.d.ts +1 -1
- package/esm/components/batch-selection/__internal__/batch-selection.context.d.ts +1 -1
- package/esm/components/box/box.component.d.ts +6 -6
- package/esm/components/breadcrumbs/__internal__/breadcrumbs.context.d.ts +1 -1
- package/esm/components/button/button.component.d.ts +8 -8
- package/esm/components/button/button.component.js +1 -1
- package/esm/components/button/button.style.js +22 -8
- package/esm/components/button-minor/button-minor.style.d.ts +1 -1
- package/esm/components/button-toggle/button-toggle-group/__internal__/button-toggle-group.context.d.ts +1 -1
- package/esm/components/button-toggle/button-toggle-group/button-toggle-group.style.d.ts +1 -1
- package/esm/components/button-toggle/button-toggle.style.d.ts +1 -1
- package/esm/components/carbon-provider/__internal__/top-modal.context.d.ts +1 -1
- package/esm/components/card/card.component.d.ts +2 -2
- package/esm/components/card/card.config.d.ts +2 -2
- package/esm/components/card/card.style.d.ts +2 -2
- package/esm/components/content/content.style.d.ts +2 -2
- package/esm/components/date/__internal__/date-picker/date-picker.component.d.ts +1 -1
- package/esm/components/date/__internal__/weekday/weekday.style.js +1 -1
- package/esm/components/date-range/__internal__/date-range.context.d.ts +4 -4
- package/esm/components/definition-list/__internal__/dl.context.d.ts +1 -1
- package/esm/components/dialog/dialog.component.d.ts +2 -2
- package/esm/components/dialog/dialog.config.d.ts +1 -1
- package/esm/components/dialog/dialog.style.d.ts +1 -1
- package/esm/components/dialog-full-screen/content.style.d.ts +1 -1
- package/esm/components/dialog-full-screen/content.style.js +8 -7
- package/esm/components/duelling-picklist/__internal__/duelling-picklist.context.d.ts +1 -1
- package/esm/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +1 -1
- package/esm/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -1
- package/esm/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +1 -1
- package/esm/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -1
- package/esm/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +1 -1
- package/esm/components/flat-table/index.d.ts +2 -2
- package/esm/components/form/__internal__/form-summary.style.d.ts +2 -2
- package/esm/components/form/form.config.d.ts +1 -1
- package/esm/components/grouped-character/grouped-character.component.d.ts +2 -2
- package/esm/components/heading/heading.component.d.ts +1 -1
- package/esm/components/heading/heading.style.d.ts +3 -3
- package/esm/components/icon/icon-type.d.ts +1 -1
- package/esm/components/icon/icon-unicodes.d.ts +248 -248
- package/esm/components/icon/icon.component.d.ts +1 -1
- package/esm/components/icon/icon.style.d.ts +3 -3
- package/esm/components/icon/icon.style.js +5 -11
- package/esm/components/image/image.style.d.ts +2 -2
- package/esm/components/inline-inputs/inline-inputs.style.d.ts +1 -1
- package/esm/components/link/link.style.d.ts +1 -1
- package/esm/components/loader-spinner/loader-spinner.config.d.ts +3 -3
- package/esm/components/loader-spinner/loader-spinner.style.js +1 -1
- package/esm/components/menu/__internal__/locators.d.ts +3 -3
- package/esm/components/menu/__internal__/menu.context.d.ts +1 -1
- package/esm/components/menu/menu-item/menu-item.component.d.ts +1 -1
- package/esm/components/menu/menu-segment-title/menu-segment-title.component.d.ts +1 -1
- package/esm/components/message/__internal__/type-icon/type-icon.style.d.ts +1 -1
- package/esm/components/message/message.component.d.ts +1 -1
- package/esm/components/message/message.style.d.ts +1 -1
- package/esm/components/modal/__internal__/modal-manager.d.ts +2 -2
- package/esm/components/modal/modal.style.d.ts +1 -1
- package/esm/components/multi-action-button/multi-action-button.component.d.ts +1 -1
- package/esm/components/multi-action-button/multi-action-button.style.d.ts +1 -1
- package/esm/components/multi-action-button/multi-action-button.style.js +6 -5
- package/esm/components/navigation-bar/__internal__/fixed-navigation-bar.context.d.ts +1 -1
- package/esm/components/navigation-bar/navigation-bar.component.d.ts +3 -3
- package/esm/components/navigation-bar/navigation-bar.style.d.ts +1 -1
- package/esm/components/numeral-date/__internal__/numeral-date.context.d.ts +1 -1
- package/esm/components/numeral-date/numeral-date.component.d.ts +2 -2
- package/esm/components/pager/pager.component.d.ts +1 -1
- package/esm/components/pod/pod.config.d.ts +3 -3
- package/esm/components/popover-container/popover-container.component.d.ts +1 -1
- package/esm/components/popover-container/popover-container.style.d.ts +3 -3
- package/esm/components/portrait/portrait.component.d.ts +2 -2
- package/esm/components/portrait/portrait.config.d.ts +1 -1
- package/esm/components/portrait/portrait.style.d.ts +1 -1
- package/esm/components/preview/preview.component.d.ts +1 -1
- package/esm/components/preview/preview.style.js +4 -4
- package/esm/components/profile/profile.config.d.ts +2 -2
- package/esm/components/progress-tracker/progress-tracker.style.js +1 -1
- package/esm/components/search/search.component.d.ts +1 -1
- package/esm/components/select/__internal__/select-list/select-list.component.d.ts +2 -2
- package/esm/components/select/__internal__/select-list/select-list.context.d.ts +1 -1
- package/esm/components/select/__internal__/select-textbox/select-textbox.context.d.ts +1 -1
- package/esm/components/select/option/option.component.d.ts +1 -1
- package/esm/components/sidebar/sidebar.component.d.ts +1 -1
- package/esm/components/sidebar/sidebar.style.d.ts +1 -1
- package/esm/components/simple-color-picker/simple-color-picker.style.d.ts +1 -1
- package/esm/components/split-button/split-button-children.style.d.ts +1 -1
- package/esm/components/split-button/split-button-toggle.style.d.ts +1 -1
- package/esm/components/split-button/split-button.component.d.ts +1 -1
- package/esm/components/step-flow/__internal__/step-flow.context.d.ts +1 -1
- package/esm/components/step-flow/step-flow.component.d.ts +2 -2
- package/esm/components/switch/switch.style.d.ts +6 -1
- package/esm/components/tabs/__internal__/tab-title/tab-title.style.js +3 -4
- package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +5 -5
- package/esm/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -2
- package/esm/components/tabs/tab/tab.style.d.ts +1 -1
- package/esm/components/text-editor/__internal__/plugins/Toolbar/toolbar.style.d.ts +1 -1
- package/esm/components/text-editor/text-editor.style.d.ts +1 -1
- package/esm/components/textarea/textarea.style.js +1 -1
- package/esm/components/tile/tile.component.d.ts +2 -2
- package/esm/components/time/time.component.d.ts +3 -3
- package/esm/components/toast/toast.component.d.ts +3 -3
- package/esm/components/toast/toast.style.d.ts +2 -2
- package/esm/components/tooltip/tooltip.component.d.ts +1 -1
- package/esm/components/tooltip/tooltip.config.d.ts +1 -1
- package/esm/components/typography/typography.component.d.ts +1 -1
- package/esm/components/typography/typography.component.js +16 -1
- package/esm/components/typography/typography.style.d.ts +1 -10
- package/esm/components/typography/typography.style.js +39 -63
- package/esm/components/vertical-divider/vertical-divider.component.d.ts +1 -1
- package/esm/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
- package/esm/global.d.ts +1 -1
- package/esm/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
- package/esm/hooks/__internal__/useDebounce/useDebounce.d.ts +1 -1
- package/esm/hooks/__internal__/useFloating/useFloating.d.ts +1 -1
- package/esm/hooks/__internal__/useModalManager/useModalManager.d.ts +1 -1
- package/esm/hooks/__internal__/useThrottle/useThrottle.d.ts +1 -1
- package/esm/style/palette/index.d.ts +1 -1
- package/esm/style/themes/base/base-theme.config.d.ts +1 -1
- package/esm/style/utils/box-gap.d.ts +2 -2
- package/lib/__internal__/fieldset/fieldset.style.d.ts +3 -3
- package/lib/__internal__/focus-trap/focus-trap-utils.d.ts +1 -1
- package/lib/__internal__/focus-trap/focus-trap.component.d.ts +1 -1
- package/lib/__internal__/input/input-presentation.component.d.ts +1 -1
- package/lib/__internal__/input/input-presentation.style.d.ts +1 -1
- package/lib/__internal__/input/input.component.d.ts +1 -1
- package/lib/__internal__/popover/popover.component.d.ts +1 -1
- package/lib/__internal__/popover/popover.style.d.ts +1 -1
- package/lib/__internal__/validations/validation-icon.component.d.ts +1 -1
- package/lib/__internal__/validations/validation-icon.style.d.ts +1 -1
- package/lib/components/accordion/accordion-group/accordion-group.component.d.ts +1 -1
- package/lib/components/accordion/accordion.style.js +2 -2
- package/lib/components/action-popover/__internal__/action-popover-utils.d.ts +1 -1
- package/lib/components/action-popover/__internal__/action-popover.context.d.ts +2 -2
- package/lib/components/action-popover/action-popover-menu-button/action-popover-menu-button.component.d.ts +1 -1
- package/lib/components/action-popover/action-popover.component.d.ts +1 -1
- package/lib/components/action-popover/action-popover.style.d.ts +1 -1
- package/lib/components/badge/badge.style.d.ts +1 -1
- package/lib/components/batch-selection/__internal__/batch-selection.context.d.ts +1 -1
- package/lib/components/box/box.component.d.ts +6 -6
- package/lib/components/breadcrumbs/__internal__/breadcrumbs.context.d.ts +1 -1
- package/lib/components/button/button.component.d.ts +8 -8
- package/lib/components/button/button.component.js +1 -1
- package/lib/components/button/button.style.js +22 -8
- package/lib/components/button-minor/button-minor.style.d.ts +1 -1
- package/lib/components/button-toggle/button-toggle-group/__internal__/button-toggle-group.context.d.ts +1 -1
- package/lib/components/button-toggle/button-toggle-group/button-toggle-group.style.d.ts +1 -1
- package/lib/components/button-toggle/button-toggle.style.d.ts +1 -1
- package/lib/components/carbon-provider/__internal__/top-modal.context.d.ts +1 -1
- package/lib/components/card/card.component.d.ts +2 -2
- package/lib/components/card/card.config.d.ts +2 -2
- package/lib/components/card/card.style.d.ts +2 -2
- package/lib/components/content/content.style.d.ts +2 -2
- package/lib/components/date/__internal__/date-picker/date-picker.component.d.ts +1 -1
- package/lib/components/date/__internal__/weekday/weekday.style.js +1 -1
- package/lib/components/date-range/__internal__/date-range.context.d.ts +4 -4
- package/lib/components/definition-list/__internal__/dl.context.d.ts +1 -1
- package/lib/components/dialog/dialog.component.d.ts +2 -2
- package/lib/components/dialog/dialog.config.d.ts +1 -1
- package/lib/components/dialog/dialog.style.d.ts +1 -1
- package/lib/components/dialog-full-screen/content.style.d.ts +1 -1
- package/lib/components/dialog-full-screen/content.style.js +8 -7
- package/lib/components/duelling-picklist/__internal__/duelling-picklist.context.d.ts +1 -1
- package/lib/components/duelling-picklist/picklist-divider/picklist-divider.component.d.ts +1 -1
- package/lib/components/duelling-picklist/picklist-group/picklist-group.style.d.ts +1 -1
- package/lib/components/duelling-picklist/picklist-item/picklist-item.component.d.ts +1 -1
- package/lib/components/duelling-picklist/picklist-item/picklist-item.style.d.ts +1 -1
- package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts +1 -1
- package/lib/components/flat-table/index.d.ts +2 -2
- package/lib/components/form/__internal__/form-summary.style.d.ts +2 -2
- package/lib/components/form/form.config.d.ts +1 -1
- package/lib/components/grouped-character/grouped-character.component.d.ts +2 -2
- package/lib/components/heading/heading.component.d.ts +1 -1
- package/lib/components/heading/heading.style.d.ts +3 -3
- package/lib/components/icon/icon-type.d.ts +1 -1
- package/lib/components/icon/icon-unicodes.d.ts +248 -248
- package/lib/components/icon/icon.component.d.ts +1 -1
- package/lib/components/icon/icon.style.d.ts +3 -3
- package/lib/components/icon/icon.style.js +5 -11
- package/lib/components/image/image.style.d.ts +2 -2
- package/lib/components/inline-inputs/inline-inputs.style.d.ts +1 -1
- package/lib/components/link/link.style.d.ts +1 -1
- package/lib/components/loader-spinner/loader-spinner.config.d.ts +3 -3
- package/lib/components/loader-spinner/loader-spinner.style.js +1 -1
- package/lib/components/menu/__internal__/locators.d.ts +3 -3
- package/lib/components/menu/__internal__/menu.context.d.ts +1 -1
- package/lib/components/menu/menu-item/menu-item.component.d.ts +1 -1
- package/lib/components/menu/menu-segment-title/menu-segment-title.component.d.ts +1 -1
- package/lib/components/message/__internal__/type-icon/type-icon.style.d.ts +1 -1
- package/lib/components/message/message.component.d.ts +1 -1
- package/lib/components/message/message.style.d.ts +1 -1
- package/lib/components/modal/__internal__/modal-manager.d.ts +2 -2
- package/lib/components/modal/modal.style.d.ts +1 -1
- package/lib/components/multi-action-button/multi-action-button.component.d.ts +1 -1
- package/lib/components/multi-action-button/multi-action-button.style.d.ts +1 -1
- package/lib/components/multi-action-button/multi-action-button.style.js +6 -5
- package/lib/components/navigation-bar/__internal__/fixed-navigation-bar.context.d.ts +1 -1
- package/lib/components/navigation-bar/navigation-bar.component.d.ts +3 -3
- package/lib/components/navigation-bar/navigation-bar.style.d.ts +1 -1
- package/lib/components/numeral-date/__internal__/numeral-date.context.d.ts +1 -1
- package/lib/components/numeral-date/numeral-date.component.d.ts +2 -2
- package/lib/components/pager/pager.component.d.ts +1 -1
- package/lib/components/pod/pod.config.d.ts +3 -3
- package/lib/components/popover-container/popover-container.component.d.ts +1 -1
- package/lib/components/popover-container/popover-container.style.d.ts +3 -3
- package/lib/components/portrait/portrait.component.d.ts +2 -2
- package/lib/components/portrait/portrait.config.d.ts +1 -1
- package/lib/components/portrait/portrait.style.d.ts +1 -1
- package/lib/components/preview/preview.component.d.ts +1 -1
- package/lib/components/preview/preview.style.js +4 -4
- package/lib/components/profile/profile.config.d.ts +2 -2
- package/lib/components/progress-tracker/progress-tracker.style.js +1 -1
- package/lib/components/search/search.component.d.ts +1 -1
- package/lib/components/select/__internal__/select-list/select-list.component.d.ts +2 -2
- package/lib/components/select/__internal__/select-list/select-list.context.d.ts +1 -1
- package/lib/components/select/__internal__/select-textbox/select-textbox.context.d.ts +1 -1
- package/lib/components/select/option/option.component.d.ts +1 -1
- package/lib/components/sidebar/sidebar.component.d.ts +1 -1
- package/lib/components/sidebar/sidebar.style.d.ts +1 -1
- package/lib/components/simple-color-picker/simple-color-picker.style.d.ts +1 -1
- package/lib/components/split-button/split-button-children.style.d.ts +1 -1
- package/lib/components/split-button/split-button-toggle.style.d.ts +1 -1
- package/lib/components/split-button/split-button.component.d.ts +1 -1
- package/lib/components/step-flow/__internal__/step-flow.context.d.ts +1 -1
- package/lib/components/step-flow/step-flow.component.d.ts +2 -2
- package/lib/components/switch/switch.style.d.ts +6 -1
- package/lib/components/tabs/__internal__/tab-title/tab-title.style.js +3 -4
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.d.ts +5 -5
- package/lib/components/tabs/__internal__/tabs-header/tabs-header.style.js +5 -2
- package/lib/components/tabs/tab/tab.style.d.ts +1 -1
- package/lib/components/text-editor/__internal__/plugins/Toolbar/toolbar.style.d.ts +1 -1
- package/lib/components/text-editor/text-editor.style.d.ts +1 -1
- package/lib/components/textarea/textarea.style.js +1 -1
- package/lib/components/tile/tile.component.d.ts +2 -2
- package/lib/components/time/time.component.d.ts +3 -3
- package/lib/components/toast/toast.component.d.ts +3 -3
- package/lib/components/toast/toast.style.d.ts +2 -2
- package/lib/components/tooltip/tooltip.component.d.ts +1 -1
- package/lib/components/tooltip/tooltip.config.d.ts +1 -1
- package/lib/components/typography/typography.component.d.ts +1 -1
- package/lib/components/typography/typography.component.js +16 -1
- package/lib/components/typography/typography.style.d.ts +1 -10
- package/lib/components/typography/typography.style.js +39 -63
- package/lib/components/vertical-divider/vertical-divider.component.d.ts +1 -1
- package/lib/components/vertical-menu/vertical-menu-item/vertical-menu-item.component.d.ts +1 -1
- package/lib/global.d.ts +1 -1
- package/lib/hooks/__internal__/useChildButtons/useChildButtons.d.ts +1 -1
- package/lib/hooks/__internal__/useDebounce/useDebounce.d.ts +1 -1
- package/lib/hooks/__internal__/useFloating/useFloating.d.ts +1 -1
- package/lib/hooks/__internal__/useModalManager/useModalManager.d.ts +1 -1
- package/lib/hooks/__internal__/useThrottle/useThrottle.d.ts +1 -1
- package/lib/style/palette/index.d.ts +1 -1
- package/lib/style/themes/base/base-theme.config.d.ts +1 -1
- package/lib/style/utils/box-gap.d.ts +2 -2
- package/package.json +8 -8
|
@@ -3,12 +3,12 @@ import { SpaceProps, LayoutProps, FlexboxProps, PositionProps, GridProps } from
|
|
|
3
3
|
import * as DesignTokens from "@sage/design-tokens/js/base/common";
|
|
4
4
|
import { Gap } from "style/utils/box-gap";
|
|
5
5
|
import { TagProps } from "../../__internal__/utils/helpers/tags";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
6
|
+
export type OverflowWrap = "break-word" | "anywhere";
|
|
7
|
+
export type ScrollVariant = "light" | "dark";
|
|
8
|
+
export type BoxSizing = "content-box" | "border-box";
|
|
9
|
+
type DesignTokensType = keyof typeof DesignTokens;
|
|
10
|
+
type BoxShadowsType = Extract<DesignTokensType, `boxShadow${string}`>;
|
|
11
|
+
export type BorderRadiusType = Extract<DesignTokensType, `borderRadius${string}`>;
|
|
12
12
|
export interface BoxProps extends FlexboxProps, Omit<GridProps, "gridGap" | "gridRowGap" | "gridColumnGap">, LayoutProps, Omit<PositionProps, "zIndex">, SpaceProps, TagProps {
|
|
13
13
|
as?: keyof JSX.IntrinsicElements | React.ComponentType<any>;
|
|
14
14
|
/** Set the ID attribute of the Box component */
|
|
@@ -3,9 +3,9 @@ import { SpaceProps } from "styled-system";
|
|
|
3
3
|
import { IconType } from "../icon";
|
|
4
4
|
import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
|
|
5
5
|
import { TooltipPositions } from "../tooltip/tooltip.config";
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
6
|
+
export type ButtonTypes = "primary" | "secondary" | "tertiary" | "darkBackground" | "gradient-grey" | "gradient-white";
|
|
7
|
+
export type SizeOptions = "small" | "medium" | "large";
|
|
8
|
+
export type ButtonIconPosition = "before" | "after";
|
|
9
9
|
export interface ButtonProps extends SpaceProps, TagProps {
|
|
10
10
|
/**
|
|
11
11
|
* Prop to specify the aria-label attribute of the component
|
|
@@ -45,13 +45,13 @@ export interface ButtonProps extends SpaceProps, TagProps {
|
|
|
45
45
|
/** If provided, the text inside a button will not wrap */
|
|
46
46
|
noWrap?: boolean;
|
|
47
47
|
/** Specify a callback triggered on blur */
|
|
48
|
-
onBlur?: (ev: React.FocusEvent<HTMLButtonElement>) => void;
|
|
48
|
+
onBlur?: (ev: React.FocusEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
49
49
|
/** Specify a callback triggered on change */
|
|
50
|
-
onChange?: (ev: React.ChangeEvent<HTMLButtonElement>) => void;
|
|
50
|
+
onChange?: (ev: React.FormEvent<HTMLButtonElement | HTMLAnchorElement> | React.ChangeEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
51
51
|
/** Specify a callback triggered on focus */
|
|
52
|
-
onFocus?: (ev: React.FocusEvent<HTMLButtonElement>) => void;
|
|
52
|
+
onFocus?: (ev: React.FocusEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
53
53
|
/** Specify a callback triggered on keyDown */
|
|
54
|
-
onKeyDown?: (ev: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
54
|
+
onKeyDown?: (ev: React.KeyboardEvent<HTMLButtonElement | HTMLAnchorElement>) => void;
|
|
55
55
|
/** onClick handler */
|
|
56
56
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => void;
|
|
57
57
|
/** Assigns a size to the button: "small" | "medium" | "large" */
|
|
@@ -72,5 +72,5 @@ export interface ButtonProps extends SpaceProps, TagProps {
|
|
|
72
72
|
*/
|
|
73
73
|
className?: string;
|
|
74
74
|
}
|
|
75
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
75
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
76
76
|
export default Button;
|
|
@@ -108,7 +108,7 @@ const Button = /*#__PURE__*/_react.default.forwardRef(({
|
|
|
108
108
|
if (subtext) {
|
|
109
109
|
!(size === "large") ? process.env.NODE_ENV !== "production" ? (0, _invariant.default)(false, "subtext prop has no effect unless the button is large.") : (0, _invariant.default)(false) : void 0;
|
|
110
110
|
}
|
|
111
|
-
const [internalRef, setInternalRef] = (0, _react.useState)();
|
|
111
|
+
const [internalRef, setInternalRef] = (0, _react.useState)(null);
|
|
112
112
|
const {
|
|
113
113
|
inSplitButton,
|
|
114
114
|
onChildButtonClick
|
|
@@ -30,9 +30,10 @@ function stylingForIconOnly(size) {
|
|
|
30
30
|
dimension = "40px";
|
|
31
31
|
}
|
|
32
32
|
return `
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
padding: 0px;
|
|
34
|
+
width: ${dimension};
|
|
35
|
+
min-height: ${dimension};
|
|
36
|
+
`;
|
|
36
37
|
}
|
|
37
38
|
function stylingForType({
|
|
38
39
|
iconOnly,
|
|
@@ -72,7 +73,7 @@ const StyledButton = _styledComponents.default.button`
|
|
|
72
73
|
align-items: center;
|
|
73
74
|
cursor: ${disabled ? "not-allowed" : "pointer"};
|
|
74
75
|
display: inline-flex;
|
|
75
|
-
${noWrap ? "white-space: nowrap
|
|
76
|
+
${noWrap ? "white-space: nowrap" : "flex-flow: wrap"};
|
|
76
77
|
justify-content: center;
|
|
77
78
|
vertical-align: middle;
|
|
78
79
|
outline-offset: 0;
|
|
@@ -101,15 +102,28 @@ const StyledButton = _styledComponents.default.button`
|
|
|
101
102
|
iconType
|
|
102
103
|
}) => (0, _styledComponents.css)`
|
|
103
104
|
${_icon.default} {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
${iconOnly && (0, _styledComponents.css)`
|
|
106
|
+
margin-left: auto;
|
|
107
|
+
margin-right: auto;
|
|
108
|
+
margin-bottom: 1px;
|
|
109
|
+
`}
|
|
110
|
+
${!iconOnly && (0, _styledComponents.css)`
|
|
111
|
+
margin-bottom: 0px;
|
|
112
|
+
${iconPosition === "after" && `
|
|
113
|
+
margin-left: var(--spacing100);
|
|
114
|
+
margin-right: 0px;
|
|
115
|
+
`}
|
|
116
|
+
${iconPosition === "before" && `
|
|
117
|
+
margin-left: 0px;
|
|
118
|
+
margin-right: var(--spacing100);
|
|
119
|
+
`}
|
|
120
|
+
`}
|
|
121
|
+
|
|
107
122
|
height: ${additionalIconStyle(iconType)};
|
|
108
123
|
width: 20px;
|
|
109
124
|
svg {
|
|
110
125
|
margin-top: 0;
|
|
111
126
|
}
|
|
112
|
-
${iconOnly && "margin-left: auto; margin-right: auto"}
|
|
113
127
|
}
|
|
114
128
|
`}
|
|
115
129
|
`;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonMinorProps } from "./button-minor.component";
|
|
3
|
-
declare const StyledButtonMinor: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, ButtonMinorProps, never>;
|
|
3
|
+
declare const StyledButtonMinor: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../button").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, ButtonMinorProps, never>;
|
|
4
4
|
export default StyledButtonMinor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ButtonToggleGroupProps } from ".";
|
|
2
|
-
|
|
2
|
+
type StyledButtonToggleGroupProps = Pick<ButtonToggleGroupProps, "inputWidth" | "fullWidth" | "disabled" | "labelInline">;
|
|
3
3
|
declare const StyledButtonToggleGroup: import("styled-components").StyledComponent<"div", any, StyledButtonToggleGroupProps, never>;
|
|
4
4
|
export default StyledButtonToggleGroup;
|
|
@@ -3,8 +3,8 @@ import { MarginProps } from "styled-system";
|
|
|
3
3
|
import * as DesignTokens from "@sage/design-tokens/js/base/common";
|
|
4
4
|
import { CardContextProps } from "./__internal__/card.context";
|
|
5
5
|
import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
type DesignTokensType = keyof typeof DesignTokens;
|
|
7
|
+
type BoxShadowsType = Extract<DesignTokensType, `boxShadow${string}`>;
|
|
8
8
|
export interface CardProps extends MarginProps, Pick<TagProps, "data-element" | "data-role"> {
|
|
9
9
|
/** Action to be executed when card is clicked or enter pressed.
|
|
10
10
|
* Renders a button when passed and no draggable or href props set
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const CARD_SPACING: readonly ["small", "medium", "large"];
|
|
2
2
|
export declare const CARD_ALIGNS: readonly ["left", "center", "right"];
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type CardAlign = (typeof CARD_ALIGNS)[number];
|
|
4
|
+
export type CardSpacing = (typeof CARD_SPACING)[number];
|
|
@@ -12,8 +12,8 @@ export declare const marginSizes: {
|
|
|
12
12
|
medium: string;
|
|
13
13
|
large: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
export
|
|
15
|
+
type DesignTokensType = keyof typeof DesignTokens;
|
|
16
|
+
export type BoxShadowsType = Extract<DesignTokensType, `boxShadow${string}`>;
|
|
17
17
|
export interface StyledCardProps extends MarginProps, Pick<CardContextProps, "roundness" | "spacing">, Pick<CardProps, "href" | "onClick"> {
|
|
18
18
|
cardWidth: string;
|
|
19
19
|
interactive: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MarginProps } from "styled-system";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type AlignOptions = "left" | "center" | "right";
|
|
3
|
+
export type VariantOptions = "primary" | "secondary";
|
|
4
4
|
export interface StyledContentProps extends MarginProps {
|
|
5
5
|
/** Aligns the content (left, center or right) */
|
|
6
6
|
align?: AlignOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DayPickerProps, Modifiers } from "react-day-picker";
|
|
3
|
-
|
|
3
|
+
type CustomRefObject<T> = {
|
|
4
4
|
current?: T | null;
|
|
5
5
|
};
|
|
6
6
|
export interface PickerProps extends Omit<DayPickerProps, "mode" | "modifiers"> {
|
|
@@ -17,7 +17,7 @@ const StyledWeekday = _styledComponents.default.th`
|
|
|
17
17
|
color: var(--colorsActionMinor500);
|
|
18
18
|
text-transform: uppercase;
|
|
19
19
|
font-size: 12px;
|
|
20
|
-
//font: var(--typographyDatePickerCalendarDayM) font assets to be updated part of FE-4975
|
|
20
|
+
//font: var(--typographyDatePickerCalendarDayM); font assets to be updated part of FE-4975
|
|
21
21
|
text-align: center;
|
|
22
22
|
padding: 20px 0 5px;
|
|
23
23
|
box-sizing: border-box;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
3
|
-
|
|
2
|
+
export type InputName = "start" | "end";
|
|
3
|
+
type IsBlurBlocked = {
|
|
4
4
|
current: boolean;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
type SetOpen = null | ((value: boolean) => void);
|
|
7
|
+
export type SetInputRefMapValue = {
|
|
8
8
|
[id in InputName]?: {
|
|
9
9
|
isBlurBlocked: IsBlurBlocked;
|
|
10
10
|
setOpen: SetOpen;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ElementAlignment = "left" | "center" | "right";
|
|
3
3
|
export interface DlContextProps {
|
|
4
4
|
/** Render the DefinitionList as a single column */
|
|
5
5
|
asSingleColumn?: boolean;
|
|
@@ -4,7 +4,7 @@ import { TagProps } from "../../__internal__/utils/helpers/tags";
|
|
|
4
4
|
import { DialogSizes } from "./dialog.config";
|
|
5
5
|
import { CustomRefObject } from "../../__internal__/focus-trap";
|
|
6
6
|
declare const PADDING_VALUES: readonly [0, 1, 2, 3, 4, 5, 6, 7, 8];
|
|
7
|
-
|
|
7
|
+
type PaddingValues = (typeof PADDING_VALUES)[number];
|
|
8
8
|
export interface ContentPaddingInterface {
|
|
9
9
|
p?: PaddingValues;
|
|
10
10
|
py?: PaddingValues;
|
|
@@ -69,7 +69,7 @@ export interface DialogProps extends ModalProps, TagProps {
|
|
|
69
69
|
/** @private @internal @ignore */
|
|
70
70
|
"data-component"?: string;
|
|
71
71
|
}
|
|
72
|
-
export
|
|
72
|
+
export type DialogHandle = {
|
|
73
73
|
/** Programmatically focus on root container of Dialog. */
|
|
74
74
|
focus: () => void;
|
|
75
75
|
} | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const DIALOG_SIZES: readonly ["auto", "extra-small", "small", "medium-small", "medium", "medium-large", "large", "extra-large", "maximise"];
|
|
2
|
-
export
|
|
2
|
+
export type DialogSizes = (typeof DIALOG_SIZES)[number];
|
|
@@ -4,7 +4,7 @@ declare const StyledDialog: import("styled-components").StyledComponent<"div", a
|
|
|
4
4
|
dialogHeight?: string | undefined;
|
|
5
5
|
backgroundColor: string;
|
|
6
6
|
} & ContentPaddingInterface, never>;
|
|
7
|
-
|
|
7
|
+
type StyledDialogTitleProps = {
|
|
8
8
|
showCloseIcon?: boolean;
|
|
9
9
|
hasSubtitle?: boolean;
|
|
10
10
|
};
|
|
@@ -8,7 +8,12 @@ var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
|
8
8
|
var _form = require("../form/form.style");
|
|
9
9
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
10
10
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
11
|
-
function computePadding(
|
|
11
|
+
function computePadding({
|
|
12
|
+
disableContentPadding
|
|
13
|
+
}) {
|
|
14
|
+
if (disableContentPadding) {
|
|
15
|
+
return "padding: 0;";
|
|
16
|
+
}
|
|
12
17
|
return (0, _styledComponents.css)`
|
|
13
18
|
padding: 0 16px;
|
|
14
19
|
@media screen and (min-width: 600px) {
|
|
@@ -30,9 +35,7 @@ const StyledContent = _styledComponents.default.div`
|
|
|
30
35
|
flex: 1;
|
|
31
36
|
width: 100%;
|
|
32
37
|
|
|
33
|
-
${
|
|
34
|
-
disableContentPadding
|
|
35
|
-
}) => disableContentPadding ? "padding: 0" : computePadding()}
|
|
38
|
+
${computePadding}
|
|
36
39
|
|
|
37
40
|
&:has(${_form.StyledForm}.sticky) {
|
|
38
41
|
display: flex;
|
|
@@ -42,9 +45,7 @@ const StyledContent = _styledComponents.default.div`
|
|
|
42
45
|
|
|
43
46
|
${_form.StyledForm}.sticky {
|
|
44
47
|
${_form.StyledFormContent} {
|
|
45
|
-
${
|
|
46
|
-
disableContentPadding
|
|
47
|
-
}) => disableContentPadding ? "padding: 0" : computePadding()}
|
|
48
|
+
${computePadding}
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { StyledComponentProps } from "styled-components";
|
|
3
|
-
export
|
|
3
|
+
export type PicklistDividerProps = StyledComponentProps<"div", Record<string, unknown>, Record<string, unknown>, "">;
|
|
4
4
|
declare const PicklistDivider: (props: PicklistDividerProps) => React.JSX.Element;
|
|
5
5
|
export default PicklistDivider;
|
|
@@ -6,7 +6,7 @@ declare const StyledGroupWrapper: import("styled-components").StyledComponent<"l
|
|
|
6
6
|
}, never>;
|
|
7
7
|
declare const StyledPicklistGroupUl: import("styled-components").StyledComponent<"ul", any, {}, never>;
|
|
8
8
|
declare const StyledPicklistGroup: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
9
|
-
declare const StyledGroupButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {
|
|
9
|
+
declare const StyledGroupButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, {
|
|
10
10
|
onMouseEnter: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
11
11
|
onMouseLeave: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
12
12
|
iconType: PicklistGroupProps["type"];
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
declare const StyledPicklistItem: import("styled-components").StyledComponent<"li", any, {
|
|
3
3
|
locked?: boolean | undefined;
|
|
4
4
|
}, never>;
|
|
5
|
-
declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLButtonElement>>, any, {}, never>;
|
|
5
|
+
declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../button").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, {}, never>;
|
|
6
6
|
declare const StyledLockIcon: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../icon").IconProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
|
|
7
7
|
export { StyledPicklistItem, StyledButton, StyledLockIcon };
|
package/lib/components/file-input/__internal__/file-upload-status/file-upload-status.component.d.ts
CHANGED
|
@@ -30,6 +30,6 @@ interface MandatoryStatusProps {
|
|
|
30
30
|
/** The icon to use for the file during or after upload */
|
|
31
31
|
iconType?: IconType;
|
|
32
32
|
}
|
|
33
|
-
export
|
|
33
|
+
export type FileUploadStatusProps = MandatoryStatusProps & (StatusUploadingProps | StatusErrorProps | StatusDoneProps);
|
|
34
34
|
export declare const FileUploadStatus: ({ status, filename, message, onAction, iconType, ...statusProps }: FileUploadStatusProps) => React.JSX.Element;
|
|
35
35
|
export default FileUploadStatus;
|
|
@@ -8,8 +8,8 @@ export { default as FlatTableCell } from "./flat-table-cell/flat-table-cell.comp
|
|
|
8
8
|
export { default as FlatTableCheckbox } from "./flat-table-checkbox/flat-table-checkbox.component";
|
|
9
9
|
export { default as FlatTableBodyDraggable } from "./flat-table-body-draggable/flat-table-body-draggable.component";
|
|
10
10
|
export { default as Sort } from "./sort/sort.component";
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type TableBorderSize = "small" | "medium" | "large";
|
|
12
|
+
export type TableCellAlign = "left" | "center" | "right";
|
|
13
13
|
export type { FlatTableProps } from "./flat-table.component";
|
|
14
14
|
export type { FlatTableHeadProps } from "./flat-table-head";
|
|
15
15
|
export type { FlatTableHeaderProps } from "./flat-table-header";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
type StyledFormSummaryProps = {
|
|
2
2
|
showSummary?: boolean;
|
|
3
3
|
fullWidth?: boolean;
|
|
4
4
|
};
|
|
5
5
|
export declare const StyledFormSummary: import("styled-components").StyledComponent<"div", any, StyledFormSummaryProps, never>;
|
|
6
6
|
export declare const StyledMessagePrefix: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export
|
|
7
|
+
export type StyledInternalSummaryProps = {
|
|
8
8
|
type: "error" | "warning";
|
|
9
9
|
};
|
|
10
10
|
export declare const StyledInternalSummary: import("styled-components").StyledComponent<"div", any, StyledInternalSummaryProps, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const FORM_BUTTON_ALIGNMENTS: readonly ["left", "right"];
|
|
2
|
-
export
|
|
2
|
+
export type FormButtonAlignment = (typeof FORM_BUTTON_ALIGNMENTS)[number];
|
|
3
3
|
export declare const formSpacing: {
|
|
4
4
|
0: string;
|
|
5
5
|
1: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TextboxProps } from "../textbox";
|
|
3
|
-
|
|
3
|
+
type EventValue = {
|
|
4
4
|
formattedValue: string;
|
|
5
5
|
rawValue: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
7
|
+
type CustomTarget = {
|
|
8
8
|
name?: string;
|
|
9
9
|
id?: string;
|
|
10
10
|
value: EventValue;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { MarginProps } from "styled-system";
|
|
3
3
|
import { TagProps } from "../../__internal__/utils/helpers/tags/tags";
|
|
4
|
-
export
|
|
4
|
+
export type HeadingType = "h1" | "h2" | "h3" | "h4" | "h5";
|
|
5
5
|
export interface HeadingProps extends MarginProps, TagProps {
|
|
6
6
|
/** Child elements */
|
|
7
7
|
children?: React.ReactNode;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const StyledHeading: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
declare const StyledHeaderContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
|
|
4
|
+
type StyledHeaderProps = {
|
|
5
5
|
divider?: boolean;
|
|
6
6
|
subheader?: boolean;
|
|
7
7
|
hasBackLink?: boolean;
|
|
8
8
|
};
|
|
9
9
|
declare const StyledHeader: import("styled-components").StyledComponent<"div", any, StyledHeaderProps, never>;
|
|
10
10
|
declare const StyledHeadingBackButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../link").LinkProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, any, {}, never>;
|
|
11
|
-
|
|
11
|
+
type StyledHeadingTitleProps = {
|
|
12
12
|
withMargin?: boolean;
|
|
13
13
|
};
|
|
14
14
|
declare const StyledHeadingTitle: import("styled-components").StyledComponent<{
|
|
@@ -16,7 +16,7 @@ declare const StyledHeadingTitle: import("styled-components").StyledComponent<{
|
|
|
16
16
|
displayName: string;
|
|
17
17
|
}, any, StyledHeadingTitleProps, never>;
|
|
18
18
|
declare const StyledHeadingPills: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
19
|
-
|
|
19
|
+
type StyledSubHeaderProps = {
|
|
20
20
|
hasBackLink?: boolean;
|
|
21
21
|
hasSeparator?: boolean;
|
|
22
22
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type IconType = "accessibility_web" | "add" | "admin" | "alert" | "alert_on" | "analysis" | "app_facebook" | "app_instagram" | "app_tiktok" | "app_twitter" | "app_youtube" | "apps" | "arrow" | "arrow_bottom_right_circle" | "arrow_down" | "arrow_left" | "arrow_left_boxed" | "arrow_left_right_small" | "arrow_left_small" | "arrow_right" | "arrow_right_small" | "arrow_top_left_circle" | "arrow_up" | "arrows_left_right" | "attach" | "bank" | "bank_with_card" | "basket" | "basket_with_squares" | "bed" | "bill_paid" | "bill_unpaid" | "bin" | "biometric" | "blocked" | "blocked_square" | "block_arrow_right" | "bold" | "box_arrow_left" | "box_arrow_right" | "boxed_shapes" | "bulk_destroy" | "bullet_list" | "bullet_list_dotted" | "bullet_list_numbers" | "business" | "calendar" | "calendar_pay_date" | "calendar_today" | "call" | "camera" | "car_lock" | "car_money" | "car_repair" | "card_wallet" | "card_view" | "caret_down" | "caret_left" | "caret_right" | "caret_up" | "caret_large_down" | "caret_large_left" | "caret_large_right" | "caret_large_up" | "cart" | "cash" | "chat" | "chart_bar" | "chart_line" | "chart_pie" | "chat_notes" | "check_all" | "check_none" | "chevron_down" | "chevron_left" | "chevron_right" | "chevron_up" | "chevron_down_thick" | "chevron_left_thick" | "chevron_right_thick" | "chevron_up_thick" | "circle_with_dots" | "circles_connection" | "clock" | "close" | "cloud_co2" | "coins" | "collaborate" | "computer_clock" | "connect" | "connect_off" | "construction" | "contacts" | "contact_card" | "copy" | "create" | "credit_card" | "credit_card_slash" | "cross" | "cross_circle" | "csv" | "dashboard" | "delete" | "delivery" | "disputed" | "disconnect" | "document_right_align" | "document_tick" | "document_vertical_lines" | "download" | "drag" | "drag_vertical" | "draft" | "drill" | "dropdown" | "duplicate" | "edit" | "edited" | "email" | "email_switch" | "entry" | "envelope_dollar" | "envelope_euro" | "ellipsis_horizontal" | "ellipsis_vertical" | "error" | "error_square" | "euro" | "expand" | "export" | "factory" | "favourite" | "favourite_lined" | "fax" | "feedback" | "file_excel" | "file_generic" | "file_image" | "file_pdf" | "file_word" | "files_leaning" | "filter" | "filter_new" | "fit_height" | "fit_width" | "flag" | "folder" | "form_refresh" | "gift" | "go" | "graduation_hat" | "graph" | "grid" | "hand_cash_coins" | "hand_cash_note" | "heart_pulse" | "help" | "hide" | "home" | "image" | "import" | "in_progress" | "in_transit" | "individual" | "info" | "intranet" | "italic" | "job_seeked" | "key" | "laptop" | "leaf" | "ledger" | "ledger_arrow_left" | "ledger_arrow_right" | "like" | "like_no" | "link" | "lightbulb_off" | "lightbulb_on" | "link_cloud" | "link_on" | "list_view" | "locked" | "location" | "logout" | "lookup" | "marker" | "message" | "microphone" | "minimise" | "minus" | "minus_large" | "mobile" | "money_bag" | "none" | "old_warning" | "palm_tree" | "pause" | "pause_circle" | "pdf" | "pin" | "people" | "people_switch" | "percentage_boxed" | "person" | "person_info" | "person_tick" | "petrol_pump" | "phone" | "piggy_bank" | "plane" | "play" | "play_circle" | "plus" | "plus_large" | "pound" | "print" | "progress" | "progressed" | "protect" | "question" | "question_hollow" | "question_mark" | "recruiting" | "refresh" | "refresh_clock" | "remove" | "sage_coin" | "save" | "scan" | "send" | "search" | "services" | "settings" | "settings_old" | "share" | "shield_with_tick" | "shield_with_tick_outline" | "shop" | "sort_down" | "sort_up" | "spanner" | "split" | "split_container" | "square_dot" | "squares_nine" | "stacked_boxes" | "stacked_squares" | "stop" | "stop_circle" | "support_online" | "submitted" | "sync" | "tag" | "talk" | "target" | "target_man" | "theatre_masks" | "three_boxes" | "tick" | "tick_circle" | "tick_thick" | "true_tick" | "u_turn_left" | "u_turn_right" | "undo" | "unlocked" | "upload" | "uploaded" | "video" | "view" | "volunteering" | "warning" | "website" | "welfare" | "worldwide_location";
|