@react95/core 9.6.1 → 9.6.3-alpha.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/cjs/Button/Button.cjs +12 -13
- package/cjs/Frame/Frame.cjs +4 -4
- package/cjs/List/List.cjs +4 -2
- package/cjs/List/ListDivider.cjs +12 -2
- package/cjs/List/ListItem.cjs +14 -3
- package/cjs/TitleBar/TitleBar.cjs +44 -47
- package/cjs/TitleBar/TitleBar.css.cjs +2 -0
- package/cjs/TitleBar/TitleBar.css.ts.vanilla.css +3 -0
- package/cjs/Video/Video.cjs +0 -1
- package/cjs/themes/azureOrange.css.cjs +0 -1
- package/cjs/themes/contract.css.cjs +1 -0
- package/esm/Button/Button.mjs +12 -13
- package/esm/Frame/Frame.mjs +5 -5
- package/esm/List/List.mjs +6 -4
- package/esm/List/ListDivider.mjs +14 -4
- package/esm/List/ListItem.mjs +16 -5
- package/esm/TitleBar/TitleBar.css.mjs +2 -0
- package/esm/TitleBar/TitleBar.css.ts.vanilla.css +3 -0
- package/esm/TitleBar/TitleBar.mjs +45 -48
- package/esm/Video/Video.mjs +0 -1
- package/esm/themes/azureOrange.css.mjs +0 -1
- package/esm/themes/contract.css.mjs +1 -0
- package/package.json +3 -2
- package/types/Alert/Alert.d.ts +2374 -1
- package/types/Avatar/Avatar.d.ts +2 -2
- package/types/Button/Button.d.ts +3 -3
- package/types/Dropdown/Dropdown.d.ts +1 -1
- package/types/Fieldset/Fieldset.d.ts +1 -1
- package/types/Frame/Frame.d.ts +11 -2370
- package/types/GlobalStyle/GlobalStyle.css.d.ts +1 -0
- package/types/GlobalStyle/index.d.ts +1 -0
- package/types/GlobalStyle/utils.d.ts +15 -0
- package/types/Input/Input.d.ts +2364 -3
- package/types/List/List.d.ts +10 -7
- package/types/List/ListDivider.d.ts +6 -4
- package/types/List/ListItem.d.ts +9 -7
- package/types/Modal/Modal.d.ts +7 -10
- package/types/ProgressBar/ProgressBar.d.ts +2 -2
- package/types/Range/Range.d.ts +2364 -3
- package/types/Tabs/Tab.d.ts +2369 -3
- package/types/Tabs/Tabs.d.ts +2368 -3
- package/types/TaskBar/TaskBar.d.ts +2366 -3
- package/types/TextArea/TextArea.d.ts +2364 -3
- package/types/TitleBar/TitleBar.css.d.ts +1 -0
- package/types/TitleBar/TitleBar.d.ts +7 -2372
- package/types/Tree/Node.d.ts +2 -2
- package/types/Tree/Tree.d.ts +3 -3
- package/types/Video/Video.d.ts +2367 -2
package/types/Avatar/Avatar.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ElementType, ReactElement, ElementRef, ForwardedRef, ImgHTMLAttributes } from 'react';
|
|
2
|
-
import { FrameProps } from '../Frame/Frame';
|
|
3
|
-
export type AvatarProps<TAs extends ElementType> = Omit<ImgHTMLAttributes<HTMLDivElement>, 'width' | 'color' | 'height'> &
|
|
2
|
+
import { FrameProps, Polymorphic } from '../Frame/Frame';
|
|
3
|
+
export type AvatarProps<TAs extends ElementType> = Omit<ImgHTMLAttributes<HTMLDivElement>, 'width' | 'color' | 'height'> & Polymorphic<TAs, FrameProps> & {
|
|
4
4
|
circle?: boolean;
|
|
5
5
|
};
|
|
6
6
|
export declare const Avatar: <TAs extends ElementType = "div">(props: AvatarProps<TAs> & {
|
package/types/Button/Button.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import { FrameProps } from '../Frame/Frame';
|
|
3
|
-
export type ButtonProps<TAs extends ElementType> = ButtonHTMLAttributes<HTMLButtonElement> &
|
|
1
|
+
import type { ButtonHTMLAttributes, ElementRef, ElementType, ForwardedRef, ReactElement } from 'react';
|
|
2
|
+
import { FrameProps, Polymorphic } from '../Frame/Frame';
|
|
3
|
+
export type ButtonProps<TAs extends ElementType = 'button'> = ButtonHTMLAttributes<HTMLButtonElement> & Polymorphic<TAs, FrameProps>;
|
|
4
4
|
export declare const Button: <TAs extends ElementType = "button">(props: ButtonProps<TAs> & {
|
|
5
5
|
ref?: ForwardedRef<ElementRef<TAs>>;
|
|
6
6
|
}) => ReactElement;
|
|
@@ -3,5 +3,5 @@ import type { HTMLProps } from 'react';
|
|
|
3
3
|
import { FrameProps } from '../Frame/Frame';
|
|
4
4
|
export type DropdownProps = {
|
|
5
5
|
options?: Array<string | number>;
|
|
6
|
-
} & HTMLProps<HTMLSelectElement> & Omit<FrameProps
|
|
6
|
+
} & HTMLProps<HTMLSelectElement> & Omit<FrameProps, 'as'>;
|
|
7
7
|
export declare const Dropdown: React.ForwardRefExoticComponent<Omit<DropdownProps, "ref"> & React.RefAttributes<HTMLSelectElement>>;
|
|
@@ -3,5 +3,5 @@ import type { HTMLProps } from 'react';
|
|
|
3
3
|
import { FrameProps } from '../Frame/Frame';
|
|
4
4
|
export type FieldSetProps = {
|
|
5
5
|
legend?: string;
|
|
6
|
-
} & HTMLProps<HTMLFieldSetElement> & Omit<FrameProps
|
|
6
|
+
} & HTMLProps<HTMLFieldSetElement> & Omit<FrameProps, 'as'>;
|
|
7
7
|
export declare const Fieldset: React.ForwardRefExoticComponent<Omit<FieldSetProps, "ref"> & React.RefAttributes<HTMLFieldSetElement>>;
|