@team_yumi/ramen 1.2.3-next.20240823-cf62ce1-6013d3c882363798678d724ba78a23ce → 1.2.3-next.20241001-ad3f834-be07d2c37398576ced0b26ec31e3f0d6

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.2.3-next.20240823-cf62ce1-6013d3c882363798678d724ba78a23ce",
3
+ "version": "1.2.3-next.20241001-ad3f834-be07d2c37398576ced0b26ec31e3f0d6",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "react": ">=16.8.0"
@@ -2,7 +2,7 @@ import React, { LegacyRef, MouseEventHandler } from 'react';
2
2
  import { Collections } from '../../../models';
3
3
  export interface IProps {
4
4
  inputRef?: LegacyRef<HTMLInputElement>;
5
- type?: (typeof Collections.IInputType)[number];
5
+ type?: (typeof Collections.IInputType)[number] | 'currency';
6
6
  placeholder?: string;
7
7
  value?: string | number;
8
8
  size?: (typeof Collections.IInputSize)[number];
@@ -23,6 +23,8 @@ export interface IProps {
23
23
  type?: (typeof Collections.IType)[number];
24
24
  disabled?: boolean;
25
25
  };
26
+ maxLength?: number;
27
+ maxNumber?: number;
26
28
  }
27
29
  declare const XInput: React.FC<IProps>;
28
30
  export default XInput;
@@ -25,6 +25,18 @@ export interface IProps {
25
25
  * Test to be displayed if showProgressNumber is false
26
26
  */
27
27
  endText?: string;
28
+ /**
29
+ * Text displayed at the start of the progress bar.
30
+ */
31
+ startText?: string;
32
+ /**
33
+ * If true, hide the progress bar itself.
34
+ */
35
+ hideProgressBar?: boolean;
36
+ /**
37
+ * Additional description of the progress.
38
+ */
39
+ progressDescription?: string;
28
40
  }
29
41
  declare const XProgressBar: React.FC<IProps>;
30
42
  export default XProgressBar;
@@ -30,6 +30,10 @@ export interface IProps extends Omit<IInputProps, 'type'> {
30
30
  * Max digital count
31
31
  */
32
32
  maxNumber?: number;
33
+ /**
34
+ * Max length of the input field.
35
+ */
36
+ maxLength?: number;
33
37
  }
34
38
  declare const XTextField: React.FC<IProps>;
35
39
  export default XTextField;
@@ -0,0 +1,2 @@
1
+ import Root from './root';
2
+ export default Root;
@@ -6,6 +6,7 @@ export interface IProps {
6
6
  placement?: (typeof Collections.ITooltipPlacement)[number];
7
7
  inline?: boolean;
8
8
  size?: (typeof Collections.ISize)[number];
9
+ showOn?: (typeof Collections.ITooltipShowOn)[number];
9
10
  }
10
11
  declare const XTooltip: React.FC<IProps>;
11
12
  export default XTooltip;
@@ -8,10 +8,13 @@ export interface IProps {
8
8
  onClick?: () => void;
9
9
  children?: React.ReactNode;
10
10
  disabled?: boolean;
11
+ progressDescription?: string;
11
12
  progress?: number;
13
+ hideProgressBar?: boolean;
12
14
  items?: {
13
15
  description: string;
14
16
  progress: number;
17
+ progressDescription?: string;
15
18
  }[];
16
19
  }
17
20
  declare const XCardExpandProgress: React.FC<IProps>;
@@ -75,5 +75,6 @@ declare const _default: {
75
75
  XDecision: import("react").FC<import("./components/core/x-decision/root").IProps>;
76
76
  XTextField: import("react").FC<import("./components/core/x-text-field/root").IProps>;
77
77
  XAccordion: import("react").FC<import("./components/core/x-accordion/root").IProps>;
78
+ XTooltip: import("react").FC<import("./components/core/x-tooltip/root").IProps>;
78
79
  };
79
80
  export default _default;
@@ -136,6 +136,7 @@ declare const _default: {
136
136
  XDecision: import("react").FC<import("./components/core/x-decision/root").IProps>;
137
137
  XTextField: import("react").FC<import("./components/core/x-text-field/root").IProps>;
138
138
  XAccordion: import("react").FC<import("./components/core/x-accordion/root").IProps>;
139
+ XTooltip: import("react").FC<import("./components/core/x-tooltip/root").IProps>;
139
140
  };
140
141
  export default _default;
141
142
  export type { XImageUploaderFileData, XImageDownloaderFileData, XSelectMultipleRef, XSelectMultipleOption, };
@@ -15,7 +15,6 @@ declare const _default: {
15
15
  XConfirmModal: import("react").FC<import("./components/web/x-confirm-modal/root").IProps>;
16
16
  XNotificationContainer: import("react").FC<import("./components/web/x-notification/container").IProps>;
17
17
  XDrawer: import("react").FC<import("./components/web/x-drawer/root").IProps>;
18
- XTooltip: import("react").FC<import("./components/web/x-tooltip/root").IProps>;
19
18
  XCheckboxGroup: import("react").FC<import("./components/web/x-checkbox-group/root").IProps>;
20
19
  XSelectMultiple: import("react").FC<import("./components/web/x-select-multiple/root").IProps>;
21
20
  XCollapseCard: import("react").FC<import("./components/web/x-collapse-card/root").IProps>;
@@ -116,6 +115,7 @@ declare const _default: {
116
115
  XDecision: import("react").FC<import("./components/core/x-decision/root").IProps>;
117
116
  XTextField: import("react").FC<import("./components/core/x-text-field/root").IProps>;
118
117
  XAccordion: import("react").FC<import("./components/core/x-accordion/root").IProps>;
118
+ XTooltip: import("react").FC<import("./components/core/x-tooltip/root").IProps>;
119
119
  };
120
120
  export default _default;
121
121
  export type { XTablePagination, XTableSorter };
@@ -177,7 +177,6 @@ export { default as XSelect } from './components/web/x-select';
177
177
  export { default as XConfirmModal } from './components/web/x-confirm-modal';
178
178
  export { XNotificationContainer } from './components/web/x-notification';
179
179
  export { default as XDrawer } from './components/web/x-drawer';
180
- export { default as XTooltip } from './components/web/x-tooltip';
181
180
  export { default as XCheckboxGroup } from './components/web/x-checkbox-group';
182
181
  export { default as XSelectMultiple } from './components/web/x-select-multiple';
183
182
  export { default as XCollapseCard } from './components/web/x-collapse-card';
@@ -0,0 +1 @@
1
+ export declare const ITooltipShowOn: readonly ["hover", "click"];
@@ -111,4 +111,5 @@ import { IStoreSelectorLogo } from './IStoreSelectorLogo';
111
111
  import { IStoreSelectorSize } from './IStoreSelectorSize';
112
112
  import { ICardProgressSize } from './ICardProgressSize';
113
113
  import { IDisplay } from './IDisplay';
114
- export { IDisplay, ICardProgressSize, IStoreSelectorSize, IStoreSelectorLogo, ICardBusinessLogo, ISelectManyModalSize, ISelectBorderType, ISelectMultipleBorderType, IModalSize, 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, IIconsAndSymbols, };
114
+ import { ITooltipShowOn } from './ITooltipShowOn';
115
+ export { ITooltipShowOn, IDisplay, ICardProgressSize, IStoreSelectorSize, IStoreSelectorLogo, ICardBusinessLogo, ISelectManyModalSize, ISelectBorderType, ISelectMultipleBorderType, IModalSize, 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, IIconsAndSymbols, };
@@ -1,2 +0,0 @@
1
- import Root from "./root";
2
- export default Root;