kompoze 1.0.1 → 1.1.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 +5 -7
- package/dist/components/Accordion/Accordion.d.ts +1 -1
- package/dist/components/Accordion/Accordion.stories.d.ts +1 -1
- package/dist/components/Accordion/Accordion.types.d.ts +2 -2
- package/dist/components/Alert/Alert.d.ts +1 -1
- package/dist/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/components/Alert/Alert.types.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.stories.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +10 -2
- package/dist/components/Button/Button.stories.d.ts +7 -1
- package/dist/components/Button/Button.types.d.ts +5 -5
- package/dist/components/CheckBox/CheckBox.d.ts +1 -1
- package/dist/components/CheckBox/CheckBox.stories.d.ts +1 -1
- package/dist/components/CheckBox/CheckBox.types.d.ts +3 -3
- package/dist/components/Chip/Chip.d.ts +1 -1
- package/dist/components/Chip/Chip.stories.d.ts +1 -1
- package/dist/components/ChipSelect/ChipSelect.d.ts +1 -1
- package/dist/components/ChipSelect/ChipSelect.stories.d.ts +1 -1
- package/dist/components/ChipSelect/ChipSelect.types.d.ts +2 -2
- package/dist/components/Divider/Divider.d.ts +1 -1
- package/dist/components/Divider/Divider.stories.d.ts +1 -1
- package/dist/components/HorizontalRunner/HorizontalRunner.d.ts +1 -1
- package/dist/components/HorizontalRunner/HorizontalRunner.stories.d.ts +1 -1
- package/dist/components/Icon/ArrowLeftIcon.d.ts +2 -2
- package/dist/components/Icon/BoldArrowDownIcon.d.ts +2 -2
- package/dist/components/Icon/BoldArrowUpIcon.d.ts +2 -2
- package/dist/components/Icon/CaretDownIcon.d.ts +2 -2
- package/dist/components/Icon/CaretLeftIcon.d.ts +2 -2
- package/dist/components/Icon/CaretRightIcon.d.ts +2 -2
- package/dist/components/Icon/DoneCircleIcon.d.ts +2 -2
- package/dist/components/Icon/HamburgerIcon.d.ts +2 -2
- package/dist/components/Icon/IconWrapper.d.ts +1 -1
- package/dist/components/Icon/IconWrapper.types.d.ts +3 -2
- package/dist/components/Icon/InfoFilledIcon.d.ts +2 -2
- package/dist/components/Icon/InfoIcon.d.ts +2 -2
- package/dist/components/Icon/ProfileDummyIcon.d.ts +2 -2
- package/dist/components/Icon/ProfileFilledIcon.d.ts +2 -2
- package/dist/components/Icon/RepeatIcon.d.ts +2 -2
- package/dist/components/Icon/RewardIcon.d.ts +2 -2
- package/dist/components/Icon/SMSIcon.d.ts +2 -2
- package/dist/components/Icon/SelfieAltIcon.d.ts +2 -2
- package/dist/components/Icon/ShieldIcon.d.ts +2 -2
- package/dist/components/Icon/SmartPhoneIcon.d.ts +2 -2
- package/dist/components/Icon/StoreIcon.d.ts +2 -2
- package/dist/components/Icon/SupportAgentIcon.d.ts +2 -2
- package/dist/components/Icon/SyncIcon.d.ts +2 -2
- package/dist/components/Icon/TakeBoldIcon.d.ts +2 -2
- package/dist/components/Icon/ThumbsDownIcon.d.ts +2 -2
- package/dist/components/Icon/ThumbsUpIcon.d.ts +2 -2
- package/dist/components/Icon/TickIcon.d.ts +2 -2
- package/dist/components/Icon/TransitionIcon.d.ts +2 -2
- package/dist/components/Icon/TruckIcon.d.ts +2 -2
- package/dist/components/Icon/UploadIcon.d.ts +2 -2
- package/dist/components/Icon/UserIcon.d.ts +2 -2
- package/dist/components/Icon/VoiceIcon.d.ts +2 -2
- package/dist/components/Icon/WalletIcon.d.ts +2 -2
- package/dist/components/IconButton/IconButton.types.d.ts +5 -5
- package/dist/components/ListItem/ListItem.types.d.ts +2 -2
- package/dist/components/OkTransition/OkTransition.types.d.ts +3 -3
- package/dist/components/OtpInput/OtpInput.d.ts +1 -1
- package/dist/components/OtpInput/OtpInput.stories.d.ts +1 -1
- package/dist/components/Paper/Paper.d.ts +1 -1
- package/dist/components/Paper/Paper.stories.d.ts +1 -1
- package/dist/components/Progress/Progress.d.ts +1 -1
- package/dist/components/Progress/Progress.stories.d.ts +1 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.stories.d.ts +1 -1
- package/dist/components/Radio/Radio.types.d.ts +2 -2
- package/dist/components/SearchBar/SearchBar.d.ts +1 -1
- package/dist/components/SearchBar/SearchBar.stories.d.ts +1 -1
- package/dist/components/SectionHeader/SectionHeader.d.ts +1 -1
- package/dist/components/SectionHeader/SectionHeader.stories.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.types.d.ts +2 -2
- package/dist/components/Snackbar/Snackbar.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts +1 -1
- package/dist/components/Switch/Switch.stories.d.ts +1 -1
- package/dist/components/Tab/Tab.d.ts +1 -1
- package/dist/components/TabHeader/TabHeader.types.d.ts +2 -2
- package/dist/components/TabPanel/TabPanel.d.ts +1 -1
- package/dist/components/TextArea/TextArea.d.ts +1 -1
- package/dist/components/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/components/TextField/TextField.d.ts +1 -1
- package/dist/components/TextField/TextField.stories.d.ts +1 -1
- package/dist/components/TextField/TextField.types.d.ts +2 -2
- package/dist/components/TimerText/TimerText.d.ts +1 -1
- package/dist/components/TimerText/TimerText.stories.d.ts +1 -1
- package/dist/components/Timestamp/Timestamp.d.ts +1 -1
- package/dist/components/Timestamp/Timestamp.stories.d.ts +1 -1
- package/dist/components/TransactionInput/TransactionInput.d.ts +1 -1
- package/dist/components/TransactionInput/TransactionInput.stories.d.ts +1 -1
- package/dist/components/Typography/Typography.types.d.ts +3 -3
- package/dist/kompoze.cjs.js +11 -11
- package/dist/kompoze.es.js +2002 -1872
- package/dist/kompoze.umd.js +12 -12
- package/dist/utils/utils.types.d.ts +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<a href="https://dipankarjana.com/" rel="noopener" target="_blank"
|
|
2
|
+
<a href="https://dipankarjana.com/" rel="noopener" target="_blank"></a>
|
|
3
3
|
</p>
|
|
4
4
|
<h1 align="center">Kompoze</h1>
|
|
5
5
|
|
|
@@ -8,15 +8,13 @@
|
|
|
8
8
|
Dead simple [React](https://reactjs.org/) react component library to build faster and more accessible React applications.
|
|
9
9
|
|
|
10
10
|
[](https://badge.fury.io/js/npm)
|
|
11
|
-
[](https://developer.mozilla.org/en-US/docs/Learn/Accessibility/WAI-ARIA_basics)
|
|
13
|
-
[](#contributors-)
|
|
14
|
-
[](https://pypi.python.org/pypi/ansicolortags/)
|
|
15
|
-
[](https://bitbucket.org/lbesson/ansi-colors)
|
|
11
|
+
[](https://github.com/iamdipankarj/kompoze/blob/master/LICENSE)
|
|
16
12
|
[](https://twitter.com/iamdipankarj)
|
|
17
13
|
|
|
18
14
|
</div>
|
|
19
15
|
|
|
16
|
+
## 🚀 Features
|
|
17
|
+
|
|
20
18
|
- Current Project branch: `master`
|
|
21
19
|
- Build Tool: _Vite_ ([https://vite.dev/](https://vite.dev/))
|
|
22
20
|
- Both CommonJS and ESM modules are supported.
|
|
@@ -43,7 +41,7 @@ yarn install kompoze
|
|
|
43
41
|
|
|
44
42
|
```
|
|
45
43
|
git clone git@github.com:iamdipankarj/kompoze.git
|
|
46
|
-
cd kompoze
|
|
44
|
+
cd kompoze
|
|
47
45
|
yarn install
|
|
48
46
|
```
|
|
49
47
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { AccordionProps } from './Accordion.types';
|
|
3
|
-
export declare const Accordion: React.
|
|
3
|
+
export declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,6 +3,6 @@ export declare const Uncontrolled: React.FC<{}>;
|
|
|
3
3
|
export declare const Controlled: React.FC<{}>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<import('./Accordion.types').AccordionProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement>,
|
|
2
|
+
import { KompozeElement } from '../../utils/utils.types';
|
|
3
|
+
export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement>, KompozeElement {
|
|
4
4
|
expanded?: boolean | null;
|
|
5
5
|
startIcon?: React.ReactNode | null;
|
|
6
6
|
endIcon?: React.ReactNode | null;
|
|
@@ -3,6 +3,6 @@ export declare const Success: React.FC<{}>;
|
|
|
3
3
|
export declare const WithError: React.FC<{}>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<import('./Alert.types').AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>,
|
|
1
|
+
import { KompozeElement } from '../../utils/utils.types';
|
|
2
|
+
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, KompozeElement {
|
|
3
3
|
variant?: 'success' | 'error';
|
|
4
4
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/react-vite';
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
|
-
component: import('react').
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<import('./Avatar.types').AvatarProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { AuxiliaryProps } from '../../utils/utils.types';
|
|
3
2
|
import { ButtonProps } from './Button.types';
|
|
4
|
-
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
|
|
5
|
+
type ButtonCallSig = <C extends React.ElementType = 'button'>(props: AuxiliaryProps<C, ButtonProps> & {
|
|
6
|
+
ref?: PolymorphicRef<C>;
|
|
7
|
+
}) => React.ReactElement | null;
|
|
8
|
+
type ButtonComponent = ButtonCallSig & {
|
|
9
|
+
displayName?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const Button: ButtonComponent;
|
|
12
|
+
export {};
|
|
@@ -2,7 +2,11 @@ import { default as React } from 'react';
|
|
|
2
2
|
import { StoryObj } from '@storybook/react-vite';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: <C extends React.ElementType>(
|
|
5
|
+
component: (<C extends React.ElementType = "button">(props: import('../../utils/utils.types').AuxiliaryProps<C, import('./Button.types').ButtonProps> & {
|
|
6
|
+
ref?: React.ComponentPropsWithRef<C>["ref"];
|
|
7
|
+
}) => React.ReactElement | null) & {
|
|
8
|
+
displayName?: string;
|
|
9
|
+
};
|
|
6
10
|
parameters: {
|
|
7
11
|
layout: string;
|
|
8
12
|
};
|
|
@@ -19,3 +23,5 @@ export declare const LeftIcon: Story;
|
|
|
19
23
|
export declare const Vertical: Story;
|
|
20
24
|
export declare const RightIcon: Story;
|
|
21
25
|
export declare const Small: Story;
|
|
26
|
+
export declare const WithRef: Story;
|
|
27
|
+
export declare const AnchorWithRef: Story;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface ButtonProps extends
|
|
4
|
-
size?:
|
|
5
|
-
variant?:
|
|
6
|
-
color?:
|
|
2
|
+
import { KompozeButtonAppearance, KompozeColor, KompozeElementSize, KompozeElement } from '../../utils/utils.types';
|
|
3
|
+
export interface ButtonProps extends KompozeElement {
|
|
4
|
+
size?: KompozeElementSize;
|
|
5
|
+
variant?: KompozeButtonAppearance;
|
|
6
|
+
color?: KompozeColor;
|
|
7
7
|
startIcon?: React.ReactNode | null;
|
|
8
8
|
endIcon?: React.ReactNode | null;
|
|
9
9
|
shadow?: boolean;
|
|
@@ -3,6 +3,6 @@ export declare const Simple: React.FC<{}>;
|
|
|
3
3
|
export declare const CustomColor: React.FC<{}>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<import('./CheckBox.types').CheckBoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface CheckBoxProps extends React.HTMLAttributes<HTMLDivElement>,
|
|
1
|
+
import { KompozeElementSize, KompozeElement } from '../../utils/utils.types';
|
|
2
|
+
export interface CheckBoxProps extends React.HTMLAttributes<HTMLDivElement>, KompozeElement {
|
|
3
3
|
onChange?(e: React.ChangeEvent<HTMLInputElement>): void;
|
|
4
4
|
id: string;
|
|
5
|
-
area?:
|
|
5
|
+
area?: KompozeElementSize;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
checked?: boolean;
|
|
8
8
|
required?: boolean;
|
|
@@ -3,6 +3,6 @@ export declare const Simple: React.FC<{}>;
|
|
|
3
3
|
export declare const Selectable: React.FC<{}>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<import('./Chip.types').ChipProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ChipSelectProps } from './ChipSelect.types';
|
|
3
|
-
export declare const ChipSelect: React.
|
|
3
|
+
export declare const ChipSelect: React.ForwardRefExoticComponent<ChipSelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -3,6 +3,6 @@ export declare const Checkbox: React.FC<{}>;
|
|
|
3
3
|
export declare const Radio: React.FC<{}>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<import('./ChipSelect.types').ChipSelectProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { InputHTMLAttributes } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { KompozeElementSize } from '../../utils/utils.types';
|
|
3
3
|
export interface ChipSelectProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
onChange?(e: React.ChangeEvent<HTMLInputElement>): void;
|
|
5
5
|
id: string;
|
|
6
|
-
area?:
|
|
6
|
+
area?: KompozeElementSize;
|
|
7
7
|
label?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
checked?: boolean;
|
|
@@ -2,6 +2,6 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare const Simple: React.FC<{}>;
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: React.
|
|
5
|
+
component: React.ForwardRefExoticComponent<import('./Divider.types').DividerProps & React.RefAttributes<HTMLHRElement>>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { HorizontalRunnerProps } from './HorizontalRunner.types';
|
|
3
|
-
export declare const HorizontalRunner: React.
|
|
3
|
+
export declare const HorizontalRunner: React.ForwardRefExoticComponent<HorizontalRunnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2,6 +2,6 @@ import { default as React } from 'react';
|
|
|
2
2
|
export declare const Simple: React.FC<{}>;
|
|
3
3
|
declare const _default: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: React.
|
|
5
|
+
component: React.ForwardRefExoticComponent<import('./HorizontalRunner.types').HorizontalRunnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const ArrowLeftIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const ArrowLeftIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const BoldArrowDownIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const BoldArrowDownIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const BoldArrowUpIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const BoldArrowUpIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const CaretDownIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const CaretDownIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const CaretLeftIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const CaretLeftIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const CaretRightIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const CaretRightIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const DoneCircleIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const DoneCircleIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const HamburgerIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const HamburgerIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SVGIconProps } from './IconWrapper.types';
|
|
3
|
-
export declare const IconWrapper: React.
|
|
3
|
+
export declare const IconWrapper: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SVGIconProps, "string" | "style" | "clipPath" | "filter" | "mask" | "path" | "size" | "color" | "className" | "height" | "id" | "lang" | "max" | "media" | "method" | "min" | "name" | "target" | "type" | "width" | "role" | "tabIndex" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "alignmentBaseline" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "azimuth" | "baseFrequency" | "baselineShift" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clip" | "clipPathUnits" | "clipRule" | "colorInterpolation" | "colorInterpolationFilters" | "colorProfile" | "colorRendering" | "contentScriptType" | "contentStyleType" | "cursor" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "direction" | "display" | "divisor" | "dominantBaseline" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "fill" | "fillOpacity" | "fillRule" | "filterRes" | "filterUnits" | "floodColor" | "floodOpacity" | "focusable" | "fontFamily" | "fontSize" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "fontWeight" | "format" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphOrientationVertical" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "href" | "ideographic" | "imageRendering" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "letterSpacing" | "lightingColor" | "limitingConeAngle" | "local" | "markerEnd" | "markerHeight" | "markerMid" | "markerStart" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "mode" | "numOctaves" | "offset" | "opacity" | "operator" | "order" | "orient" | "orientation" | "origin" | "overflow" | "overlinePosition" | "overlineThickness" | "paintOrder" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "pointerEvents" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rotate" | "rx" | "ry" | "scale" | "seed" | "shapeRendering" | "slope" | "spacing" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "stopColor" | "stopOpacity" | "strikethroughPosition" | "strikethroughThickness" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textAnchor" | "textDecoration" | "textLength" | "textRendering" | "to" | "transform" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeBidi" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "vectorEffect" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "visibility" | "vMathematical" | "widths" | "wordSpacing" | "writingMode" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "classList"> & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface SVGIconProps extends React.SVGProps<SVGSVGElement>,
|
|
2
|
+
import { KompozeElement } from '../../utils/utils.types';
|
|
3
|
+
export interface SVGIconProps extends React.SVGProps<SVGSVGElement>, KompozeElement {
|
|
4
4
|
size?: number;
|
|
5
5
|
fill?: string;
|
|
6
6
|
}
|
|
7
|
+
export type IconComponentProps = Omit<SVGIconProps, 'ref'>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const InfoFilledIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const InfoFilledIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const InfoIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const InfoIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const ProfileDummyIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const ProfileDummyIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const ProfileFilledIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const ProfileFilledIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const RepeatIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const RepeatIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const RewardIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const RewardIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const SMSIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const SMSIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const SelfieAltIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const SelfieAltIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const ShieldIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const ShieldIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const SmartPhoneIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const SmartPhoneIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const StoreIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const StoreIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const SupportAgentIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const SupportAgentIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const SyncIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const SyncIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const TakeBoldIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const TakeBoldIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const ThumbsDownIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const ThumbsDownIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const ThumbsUpIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const ThumbsUpIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const TickIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const TickIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const TransitionIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const TransitionIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const TruckIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const TruckIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const UploadIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const UploadIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const UserIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const UserIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const VoiceIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const VoiceIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const WalletIcon: React.
|
|
2
|
+
import { IconComponentProps } from './IconWrapper.types';
|
|
3
|
+
export declare const WalletIcon: React.MemoExoticComponent<React.ForwardRefExoticComponent<IconComponentProps & React.RefAttributes<SVGSVGElement>>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IconButtonProps extends
|
|
3
|
-
size?:
|
|
4
|
-
variant?:
|
|
5
|
-
color?:
|
|
1
|
+
import { KompozeButtonAppearance, KompozeColor, KompozeElementSize, KompozeElement } from '../../utils/utils.types';
|
|
2
|
+
export interface IconButtonProps extends KompozeElement {
|
|
3
|
+
size?: KompozeElementSize;
|
|
4
|
+
variant?: KompozeButtonAppearance;
|
|
5
|
+
color?: KompozeColor;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export interface ListItemProps extends React.HTMLAttributes<HTMLLIElement>,
|
|
2
|
+
import { KompozeElement } from '../../utils/utils.types';
|
|
3
|
+
export interface ListItemProps extends React.HTMLAttributes<HTMLLIElement>, KompozeElement {
|
|
4
4
|
primary?: React.ReactNode;
|
|
5
5
|
secondary?: React.ReactNode;
|
|
6
6
|
icon?: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface OkTransitionProps extends React.HTMLAttributes<HTMLDivElement>,
|
|
3
|
-
anchor?:
|
|
1
|
+
import { KompozeTransitionType, KompozeElement } from '../../utils/utils.types';
|
|
2
|
+
export interface OkTransitionProps extends React.HTMLAttributes<HTMLDivElement>, KompozeElement {
|
|
3
|
+
anchor?: KompozeTransitionType;
|
|
4
4
|
show?: boolean;
|
|
5
5
|
unmountOnExit?: boolean;
|
|
6
6
|
modal?: boolean;
|
|
@@ -3,6 +3,6 @@ export declare const Simple: React.FC<{}>;
|
|
|
3
3
|
export declare const WithError: React.FC<{}>;
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
component: React.
|
|
6
|
+
component: React.ForwardRefExoticComponent<import('./OtpInput.types').OTPInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|