@team_yumi/ramen 1.0.0-next.20240220-4a8b3d6-d798950fe3240c18ac455f6ad6a9794c → 1.0.0-next.20240227-5ae36a0-2e30918df5296c9d3eba0e407289dc87

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team_yumi/ramen",
3
- "version": "1.0.0-next.20240220-4a8b3d6-d798950fe3240c18ac455f6ad6a9794c",
3
+ "version": "1.0.0-next.20240227-5ae36a0-2e30918df5296c9d3eba0e407289dc87",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "react": ">=16.8.0"
@@ -1,6 +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.IButtonType)[number];
4
5
  text?: string;
5
6
  type?: (typeof Collections.IType)[number];
6
7
  size?: (typeof Collections.ISize)[number];
@@ -1,6 +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.IButtonType)[number];
4
5
  type?: (typeof Collections.IType)[number];
5
6
  size?: (typeof Collections.ISize)[number];
6
7
  icon?: (typeof Collections.IIcon)[number];
@@ -0,0 +1 @@
1
+ export declare const IButtonType: readonly ["submit", "button", "reset"];
@@ -21,6 +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 { IButtonType } from './IButtonType';
24
25
  import { IInputType } from './IInputType';
25
26
  import { ITabSize } from './ITabSize';
26
27
  import { ITabType } from './ITabType';
@@ -100,4 +101,4 @@ import { IBoxBackgroundThone } from './IBoxBackgroundThone';
100
101
  import { ISymbolColor } from './ISymbolColor';
101
102
  import { ISymbolSize } from './ISymbolSize';
102
103
  import { IIconSize } from './IIconSize';
103
- 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, 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, };
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, IButtonType, 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, };