@uob-web-and-digital/component-library 2.24.4 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/IconButton/IconButton.d.ts +1 -0
- package/dist/components/atoms/IconButton/IconButton.stories.d.ts +2 -0
- package/dist/components/atoms/IconButton/defaultProps.d.ts +1 -0
- package/dist/components/atoms/Icons/Icons.d.ts +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +3 -3
- package/dist/module.js +4 -4
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ export interface IconButtonProps {
|
|
|
14
14
|
ariaExpanded?: boolean;
|
|
15
15
|
isSubmit?: boolean;
|
|
16
16
|
disabled?: boolean;
|
|
17
|
+
className?: string;
|
|
17
18
|
}
|
|
18
19
|
type Ref = HTMLButtonElement | null;
|
|
19
20
|
export declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<Ref>>;
|
|
@@ -27,3 +27,5 @@ export declare const ArrowLeftDark: Story;
|
|
|
27
27
|
export declare const ArrowLeftLight: Story;
|
|
28
28
|
export declare const EmailDark: Story;
|
|
29
29
|
export declare const EmailLight: Story;
|
|
30
|
+
export declare const AudioDescriptionLight: Story;
|
|
31
|
+
export declare const AudioDescriptionDark: Story;
|
|
@@ -10,3 +10,4 @@ export declare const ArrowLeftProps: IconButtonProps;
|
|
|
10
10
|
export declare const ArrowRightProps: IconButtonProps;
|
|
11
11
|
export declare const HamburgerProps: IconButtonProps;
|
|
12
12
|
export declare const EmailProps: IconButtonProps;
|
|
13
|
+
export declare const AudioDescriptionProps: IconButtonProps;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { ThemeProps } from '../../../themeProps';
|
|
3
3
|
import './icons.scss';
|
|
4
|
-
export type IconType = 'twitter' | 'facebook' | 'wechat' | 'weibo' | 'youtube' | 'rednote' | 'instagram' | 'linkedin' | 'tiktok' | 'chevron-down' | 'chevron-up' | 'chevron-right' | 'arrow-right' | 'arrow-right-large' | 'location' | 'hamburger' | 'cross' | 'slim-cross' | 'arrow-left' | 'search' | 'arrow-down' | 'play' | 'person' | 'people' | 'computer' | 'book' | 'mortar-board' | 'document' | 'briefcase' | 'notepad' | 'external' | 'clearing-tick' | 'phone' | 'email' | 'quote-marks' | 'calendar' | 'clock' | 'internet' | 'slim-location' | 'bathroom' | 'catering' | 'pound' | 'scroll' | 'settings' | 'rocket' | 'staggered-arrow' | 'segmented-pie-chart' | 'home' | 'domain' | 'note-add' | 'flight' | 'one' | 'two' | 'one-two-three' | 'camping' | 'groups' | 'bed' | 'restaurant' | 'success' | 'award_star' | 'warning-light' | 'warning-dark' | 'information' | 'star' | 'menu' | 'co-present' | 'assignment-add' | 'cast-for-education' | 'live-tv' | 'supervisor-account' | 'experiment' | 'footprint' | 'flag' | 'chat' | 'payments' | 'award-star' | 'pause' | 'mute-on' | 'mute-off' | 'plus' | 'minus';
|
|
4
|
+
export type IconType = 'twitter' | 'facebook' | 'wechat' | 'weibo' | 'youtube' | 'rednote' | 'instagram' | 'linkedin' | 'tiktok' | 'chevron-down' | 'chevron-up' | 'chevron-right' | 'arrow-right' | 'arrow-right-large' | 'location' | 'hamburger' | 'cross' | 'slim-cross' | 'arrow-left' | 'search' | 'arrow-down' | 'play' | 'person' | 'people' | 'computer' | 'book' | 'mortar-board' | 'document' | 'briefcase' | 'notepad' | 'external' | 'clearing-tick' | 'phone' | 'email' | 'quote-marks' | 'calendar' | 'clock' | 'internet' | 'slim-location' | 'bathroom' | 'catering' | 'pound' | 'scroll' | 'settings' | 'rocket' | 'staggered-arrow' | 'segmented-pie-chart' | 'home' | 'domain' | 'note-add' | 'flight' | 'one' | 'two' | 'one-two-three' | 'camping' | 'groups' | 'bed' | 'restaurant' | 'success' | 'award_star' | 'warning-light' | 'warning-dark' | 'information' | 'star' | 'menu' | 'co-present' | 'assignment-add' | 'cast-for-education' | 'live-tv' | 'supervisor-account' | 'experiment' | 'footprint' | 'flag' | 'chat' | 'payments' | 'award-star' | 'pause' | 'mute-on' | 'mute-off' | 'plus' | 'minus' | 'audio-description';
|
|
5
5
|
export type IconProps = {
|
|
6
6
|
/**
|
|
7
7
|
* The theme to use
|