@team_yumi/ramen 0.4.0-next.20231124-6a01ee9-56428f393d415f317b0ef9a378f93e4a → 0.4.0-next.20231128-0bf63a6-58ae2df441e0967e8a486fa0a6303018

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.
Files changed (32) hide show
  1. package/components/core/x-accordion/root.d.ts +38 -0
  2. package/components/core/{xinput → x-input}/root.d.ts +1 -1
  3. package/components/core/x-text-area/root.d.ts +45 -0
  4. package/components/core/x-text-field/index.d.ts +2 -0
  5. package/components/core/x-text-field/root.d.ts +31 -0
  6. package/components/core/xcurrency-input/root.d.ts +1 -1
  7. package/components/core/xdecision/root.d.ts +1 -0
  8. package/components/core/xemail-input/root.d.ts +1 -1
  9. package/components/core/xnumber-input/root.d.ts +1 -1
  10. package/components/core/xpassword-input/root.d.ts +1 -1
  11. package/components/core/xphone-input/root.d.ts +1 -1
  12. package/components/core/xsearch-input/root.d.ts +1 -1
  13. package/components/core/xtext-input/root.d.ts +1 -1
  14. package/components/mobile/x-bottom-sheet/index.d.ts +2 -0
  15. package/components/mobile/x-bottom-sheet/root.d.ts +85 -0
  16. package/hooks/useMountTransition.d.ts +1 -1
  17. package/index.core.d.ts +3 -1
  18. package/index.css +112 -73
  19. package/index.js +1 -1
  20. package/index.mobile.d.ts +4 -2
  21. package/index.web.d.ts +3 -1
  22. package/models/Collections/IBorderType.d.ts +1 -1
  23. package/models/Collections/IBottomExpandableState.d.ts +1 -0
  24. package/models/Collections/IDecisionValueType.d.ts +1 -0
  25. package/models/Collections/ITextFieldType.d.ts +1 -0
  26. package/models/Collections/index.d.ts +4 -1
  27. package/package.json +1 -1
  28. package/components/core/xtext-area/root.d.ts +0 -13
  29. package/components/mobile/xbottom-sheet/root.d.ts +0 -26
  30. /package/components/{mobile/xbottom-sheet → core/x-accordion}/index.d.ts +0 -0
  31. /package/components/core/{xinput → x-input}/index.d.ts +0 -0
  32. /package/components/core/{xtext-area → x-text-area}/index.d.ts +0 -0
package/index.mobile.d.ts CHANGED
@@ -73,7 +73,7 @@ declare const _default: {
73
73
  XCardDecision: import("react").FC<import("./components/mobile/xcard-decision/root").IProps>;
74
74
  XOptionRadioButton: import("react").FC<import("./components/mobile/xoption-radio-button/root").IProps>;
75
75
  XGroupRadioButton: import("react").FC<import("./components/mobile/xgroup-radio-button/root").IProps>;
76
- XBottomSheet: import("react").FC<import("./components/mobile/xbottom-sheet/root").IProps>;
76
+ XBottomSheet: import("react").FC<import("./components/mobile/x-bottom-sheet/root").IProps>;
77
77
  XCardCounter: import("react").FC<import("./components/core/xcard-counter/root").IProps>;
78
78
  XBox: import("react").FC<import("./components/core/xbox/root").IProps>;
79
79
  XText: import("react").FC<import("./components/core/xtext/root").IProps>;
@@ -100,7 +100,7 @@ declare const _default: {
100
100
  XRadioButton: import("react").FC<import("./components/core/xradio-button/root").IProps>;
101
101
  XAvatar: import("react").FC<import("./components/core/xavatar/root").IProps>;
102
102
  XAlert: import("react").FC<import("./components/core/xalert/root").IProps>;
103
- XTextArea: import("react").FC<import("./components/core/xtext-area/root").IProps>;
103
+ XTextArea: import("react").FC<import("./components/core/x-text-area/root").IProps>;
104
104
  XFormItem: import("react").FC<import("./components/core/xform-item/root").IProps>;
105
105
  XList: typeof import("./components/core/xlist/root").default;
106
106
  XCard: import("react").FC<import("./components/core/xcard/root").IProps>;
@@ -122,6 +122,8 @@ declare const _default: {
122
122
  XProgressBar: import("react").FC<import("./components/core/xprogress-bar/root").IProps>;
123
123
  XBar: import("react").FC<import("./components/core/xbar/root").IProps>;
124
124
  XDecision: import("react").FC<import("./components/core/xdecision/root").IProps>;
125
+ XTextField: import("react").FC<import("./components/core/x-text-field/root").IProps>;
126
+ XAccordion: import("react").FC<import("./components/core/x-accordion/root").IProps>;
125
127
  };
126
128
  export default _default;
127
129
  export type { XImageUploaderFileData, XImageDownloaderFileData, XSelectMultipleRef, XSelectMultipleOption, };
package/index.web.d.ts CHANGED
@@ -87,7 +87,7 @@ declare const _default: {
87
87
  XRadioButton: import("react").FC<import("./components/core/xradio-button/root").IProps>;
88
88
  XAvatar: import("react").FC<import("./components/core/xavatar/root").IProps>;
89
89
  XAlert: import("react").FC<import("./components/core/xalert/root").IProps>;
90
- XTextArea: import("react").FC<import("./components/core/xtext-area/root").IProps>;
90
+ XTextArea: import("react").FC<import("./components/core/x-text-area/root").IProps>;
91
91
  XFormItem: import("react").FC<import("./components/core/xform-item/root").IProps>;
92
92
  XList: typeof import("./components/core/xlist/root").default;
93
93
  XCard: import("react").FC<import("./components/core/xcard/root").IProps>;
@@ -108,6 +108,8 @@ declare const _default: {
108
108
  XProgressBar: import("react").FC<import("./components/core/xprogress-bar/root").IProps>;
109
109
  XBar: import("react").FC<import("./components/core/xbar/root").IProps>;
110
110
  XDecision: import("react").FC<import("./components/core/xdecision/root").IProps>;
111
+ XTextField: import("react").FC<import("./components/core/x-text-field/root").IProps>;
112
+ XAccordion: import("react").FC<import("./components/core/x-accordion/root").IProps>;
111
113
  };
112
114
  export default _default;
113
115
  export type { XTablePagination, XTableSorter };
@@ -1 +1 @@
1
- export declare const IBorderType: readonly ["shadow", "solid", "dashed", "none"];
1
+ export declare const IBorderType: readonly ["shadow", "solid", "dashed", "none", "gradient"];
@@ -0,0 +1 @@
1
+ export declare const IBottomExpandableState: readonly ["fixed"];
@@ -0,0 +1 @@
1
+ export declare const IDecisionValueType: readonly ["YES", "NO", "NA"];
@@ -0,0 +1 @@
1
+ export declare const ITextFieldType: readonly ["text", "search", "currency", "number", "password", "phone"];
@@ -82,13 +82,16 @@ import { ICardState } from './ICardState';
82
82
  import { IProgressBarType } from './IProgressBarType';
83
83
  import { IProgressBarSize } from './IProgressBarSize';
84
84
  import { IDecisionSize } from './IDecisionSize';
85
+ import { IDecisionValueType } from './IDecisionValueType';
85
86
  import { ICardScanSize } from './ICardScanSize';
86
87
  import { ITagStateColor } from './ITagStateColor';
87
88
  import { IIconColor } from './IIconColor';
88
89
  import { ICardApproveBorder } from './ICardApproveBorder';
89
90
  import { IEmptyStateType } from './IEmptyStateType';
91
+ import { ITextFieldType } from './ITextFieldType';
90
92
  import { IBackgroundThone } from './IBackgroundThone';
91
93
  import { IBorderColor } from './IBorderColor';
92
94
  import { IBorderSize } from './IBorderSize';
93
95
  import { IColor } from './IColor';
94
- export { 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, IDecisionSize, IIconColor, IBackgroundThone, IBorderColor, IBorderSize, IColor };
96
+ import { IBottomExpandableState } from './IBottomExpandableState';
97
+ export { 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, IIconColor, IBackgroundThone, IBorderColor, IBorderSize, IColor, IBottomExpandableState, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team_yumi/ramen",
3
- "version": "0.4.0-next.20231124-6a01ee9-56428f393d415f317b0ef9a378f93e4a",
3
+ "version": "0.4.0-next.20231128-0bf63a6-58ae2df441e0967e8a486fa0a6303018",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "react": ">=16.8.0"
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- export interface IProps {
3
- placeholder?: string;
4
- showCount?: boolean;
5
- maxLength?: number;
6
- value?: string;
7
- disabled?: boolean;
8
- hasError?: boolean;
9
- caption?: string;
10
- onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
11
- }
12
- declare const XTextArea: React.FC<IProps>;
13
- export default XTextArea;
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- import { Collections } from '../../../models';
3
- export interface IAction {
4
- key: string;
5
- text: string;
6
- type: (typeof Collections.IType)[number];
7
- icon?: (typeof Collections.IIcon)[number];
8
- disabled?: boolean;
9
- loading?: boolean;
10
- }
11
- export interface IProps {
12
- animation?: boolean;
13
- expanded: boolean;
14
- children?: React.ReactNode;
15
- headerChildren?: React.ReactNode;
16
- icon?: (typeof Collections.IIcon)[number];
17
- title?: string;
18
- subtitle?: string;
19
- onExpand?: () => void;
20
- onCollapse?: () => void;
21
- actions?: Array<IAction>;
22
- onActionClick?: (key: string) => void;
23
- badge?: number;
24
- }
25
- declare const XBottomSheet: React.FC<IProps>;
26
- export default XBottomSheet;
File without changes