@team_yumi/ramen 1.0.1 → 1.0.2-next.20240228-6905aa0-34f58d1d0328f0950bc4546871800047
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/index.css +1 -1
- package/package.json +1 -1
- package/src/components/core/x-button/root.d.ts +1 -1
- package/src/components/core/x-button-icon/root.d.ts +1 -1
- package/src/models/Collections/IButtonButtonType.d.ts +1 -0
- package/src/models/Collections/index.d.ts +2 -2
- package/src/models/Collections/IButtonType.d.ts +0 -1
package/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
2
|
import { Collections } from '@yumi/models';
|
|
3
3
|
export interface IProps {
|
|
4
|
-
buttonType?: (typeof Collections.
|
|
4
|
+
buttonType?: (typeof Collections.IButtonButtonType)[number];
|
|
5
5
|
text?: string;
|
|
6
6
|
type?: (typeof Collections.IType)[number];
|
|
7
7
|
size?: (typeof Collections.ISize)[number];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
2
|
import { Collections } from '@yumi/models';
|
|
3
3
|
export interface IProps {
|
|
4
|
-
buttonType?: (typeof Collections.
|
|
4
|
+
buttonType?: (typeof Collections.IButtonButtonType)[number];
|
|
5
5
|
type?: (typeof Collections.IType)[number];
|
|
6
6
|
size?: (typeof Collections.ISize)[number];
|
|
7
7
|
icon?: (typeof Collections.IIcon)[number];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const IButtonButtonType: readonly ["submit", "button", "reset"];
|
|
@@ -21,7 +21,7 @@ import { ITagSize } from './ITagSize';
|
|
|
21
21
|
import { ITagBusinessBrand } from './ITagBusinessBrand';
|
|
22
22
|
import { ITagBusinessSize } from './ITagBusinessSize';
|
|
23
23
|
import { IInputSize } from './IInputSize';
|
|
24
|
-
import {
|
|
24
|
+
import { IButtonButtonType } from './IButtonButtonType';
|
|
25
25
|
import { IInputType } from './IInputType';
|
|
26
26
|
import { ITabSize } from './ITabSize';
|
|
27
27
|
import { ITabType } from './ITabType';
|
|
@@ -101,4 +101,4 @@ import { IBoxBackgroundThone } from './IBoxBackgroundThone';
|
|
|
101
101
|
import { ISymbolColor } from './ISymbolColor';
|
|
102
102
|
import { ISymbolSize } from './ISymbolSize';
|
|
103
103
|
import { IIconSize } from './IIconSize';
|
|
104
|
-
export { IFloatButtonBottom, IBoxBackgroundThone, ICardApproveBorder, IEmptyStateType, ITagStateColor, IDatepickerInputType, IDatepickerInputFormat, IDatepickerInputSize, IDatepickerType, IDatepickerFormat, IDatepickerSize, ICardScanSize, ITabsBorder, IHorizontalAlign, IVerticalAlign, IHeight, IWidth, IOverflow, IPadding, IGap, IOrientation, ITextOverflow, ILineHeight, IWeight, IFontSize, ILineClamp, IType, ISize, IIcon, IIconPosition, IBackground, ITagType, ITagSize, ITagBusinessBrand, ITagBusinessSize, IInputSize,
|
|
104
|
+
export { IFloatButtonBottom, IBoxBackgroundThone, ICardApproveBorder, IEmptyStateType, ITagStateColor, IDatepickerInputType, IDatepickerInputFormat, IDatepickerInputSize, IDatepickerType, IDatepickerFormat, IDatepickerSize, ICardScanSize, ITabsBorder, IHorizontalAlign, IVerticalAlign, IHeight, IWidth, IOverflow, IPadding, IGap, IOrientation, ITextOverflow, ILineHeight, IWeight, IFontSize, ILineClamp, IType, ISize, IIcon, IIconPosition, IBackground, ITagType, ITagSize, ITagBusinessBrand, ITagBusinessSize, IInputSize, IButtonButtonType, IInputType, ITabSize, ITabType, ITabsSize, IFooterAlign, IEmailInputSize, INumberInputSize, IPasswordInputSize, IPhoneInputSize, ISearchInputSize, ITextInputSize, ISelectSize, IAppearance, INotificationType, IPlacement, ITooltipPlacement, IHeaderType, IAlertType, ISelectMultipleSize, ICardSize, IBorderType, ISymbol, IFloatButtonPlacement, IPlacementY, ISnackbarType, ICalendarSize, ITagStateType, ITagStateSize, IState, IVSpaceSize, IBorder, IRounded, ISkeletonType, ISkeletonWidth, ITextAlign, ICountry, ITheme, ICollapseCardSize, ICardImageSize, IInputMode, ISelectModalSize, ITextColorThone, ITagColor, IButtonIconState, ITabBarBorder, IExpanssionModalState, ICardDecisionSize, ICardCounterBorderType, IDecisionItemType, IDecisionItemSize, ICardState, IProgressBarType, IProgressBarSize, IDecisionValueType, IDecisionSize, ITextFieldType, ITextFieldSize, IIconColor, IBackgroundThone, IBorderColor, IBorderSize, IColor, IBottomExpandableState, ISymbolColor, ISymbolSize, IIconSize, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const IButtonType: readonly ["submit", "button", "reset"];
|