@1money/component-ui 0.0.29 → 0.0.30

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 (132) hide show
  1. package/README.md +56 -8
  2. package/es/components/Alert/Alert.js +10 -6
  3. package/es/components/Calendar/Calendar.js +6 -4
  4. package/es/components/CoachMark/CoachMark.js +4 -3
  5. package/es/components/Icons/Icons.d.ts +173 -8
  6. package/es/components/Icons/Icons.js +188 -4
  7. package/{lib/components/Icons/illustrations → es/components/Icons}/Illustrations.d.ts +1 -1
  8. package/es/components/Icons/Illustrations.js +874 -0
  9. package/es/components/Icons/{logos/Logo.d.ts → Logo.d.ts} +1 -1
  10. package/es/components/Icons/Logo.js +209 -0
  11. package/es/components/Icons/SVGs.d.ts +265 -0
  12. package/es/components/Icons/SVGs.js +1918 -0
  13. package/es/components/Icons/{primitives/IconWrapper.d.ts → Wrapper.d.ts} +2 -1
  14. package/es/components/Icons/Wrapper.js +100 -0
  15. package/es/components/Icons/index.d.ts +2 -5
  16. package/es/components/Icons/index.js +2 -6
  17. package/es/components/Icons/interface.d.ts +24 -9
  18. package/es/components/Input/Password/Password.js +6 -4
  19. package/es/components/Input/Search/Search.js +6 -4
  20. package/es/components/Navigation/NavigationLogo.js +6 -4
  21. package/es/components/Select/SelectFieldShell.js +4 -3
  22. package/es/components/Select/SelectOptionContent.js +4 -3
  23. package/es/components/Select/SelectSearchControl.js +4 -3
  24. package/es/components/Select/SelectValueContent.js +4 -3
  25. package/es/components/Upload/Upload.js +6 -4
  26. package/es/components/Upload/UploadFileBar.js +4 -3
  27. package/es/index.d.ts +2 -2
  28. package/es/index.js +2 -2
  29. package/lib/components/Alert/Alert.js +9 -5
  30. package/lib/components/Calendar/Calendar.js +5 -3
  31. package/lib/components/CoachMark/CoachMark.js +3 -2
  32. package/lib/components/Icons/Icons.d.ts +173 -8
  33. package/lib/components/Icons/Icons.js +183 -5
  34. package/{es/components/Icons/illustrations → lib/components/Icons}/Illustrations.d.ts +1 -1
  35. package/lib/components/Icons/Illustrations.js +881 -0
  36. package/lib/components/Icons/{logos/Logo.d.ts → Logo.d.ts} +1 -1
  37. package/lib/components/Icons/Logo.js +219 -0
  38. package/lib/components/Icons/SVGs.d.ts +265 -0
  39. package/lib/components/Icons/SVGs.js +1926 -0
  40. package/lib/components/Icons/{primitives/IconWrapper.d.ts → Wrapper.d.ts} +2 -1
  41. package/lib/components/Icons/Wrapper.js +109 -0
  42. package/lib/components/Icons/index.d.ts +2 -5
  43. package/lib/components/Icons/index.js +5 -160
  44. package/lib/components/Icons/interface.d.ts +24 -9
  45. package/lib/components/Input/Password/Password.js +5 -3
  46. package/lib/components/Input/Search/Search.js +5 -3
  47. package/lib/components/Navigation/NavigationLogo.js +5 -3
  48. package/lib/components/Select/SelectFieldShell.js +3 -2
  49. package/lib/components/Select/SelectOptionContent.js +3 -2
  50. package/lib/components/Select/SelectSearchControl.js +3 -2
  51. package/lib/components/Select/SelectValueContent.js +3 -2
  52. package/lib/components/Upload/Upload.js +5 -3
  53. package/lib/components/Upload/UploadFileBar.js +3 -2
  54. package/lib/index.d.ts +2 -2
  55. package/lib/index.js +1 -223
  56. package/package.json +2 -6
  57. package/scripts/mcp-server/examples.generated.json +288 -726
  58. package/scripts/mcp-server/index.generated.json +703 -3409
  59. package/es/components/Icons/Icon.d.ts +0 -5
  60. package/es/components/Icons/Icon.js +0 -19
  61. package/es/components/Icons/icon-set/brand.d.ts +0 -6
  62. package/es/components/Icons/icon-set/brand.js +0 -62
  63. package/es/components/Icons/icon-set/currency.d.ts +0 -7
  64. package/es/components/Icons/icon-set/currency.js +0 -101
  65. package/es/components/Icons/icon-set/dynamic.d.ts +0 -16
  66. package/es/components/Icons/icon-set/dynamic.js +0 -92
  67. package/es/components/Icons/icon-set/functional.d.ts +0 -19
  68. package/es/components/Icons/icon-set/functional.js +0 -286
  69. package/es/components/Icons/icon-set/index.d.ts +0 -10
  70. package/es/components/Icons/icon-set/index.js +0 -10
  71. package/es/components/Icons/icon-set/menu.d.ts +0 -22
  72. package/es/components/Icons/icon-set/menu.js +0 -372
  73. package/es/components/Icons/icon-set/notification.d.ts +0 -6
  74. package/es/components/Icons/icon-set/notification.js +0 -109
  75. package/es/components/Icons/icon-set/primary.d.ts +0 -14
  76. package/es/components/Icons/icon-set/primary.js +0 -222
  77. package/es/components/Icons/icon-set/registry.d.ts +0 -159
  78. package/es/components/Icons/icon-set/registry.js +0 -166
  79. package/es/components/Icons/icon-set/system.d.ts +0 -64
  80. package/es/components/Icons/icon-set/system.js +0 -1093
  81. package/es/components/Icons/illustrations/Illustrations.js +0 -874
  82. package/es/components/Icons/illustrations/index.d.ts +0 -2
  83. package/es/components/Icons/illustrations/index.js +0 -2
  84. package/es/components/Icons/logos/Logo.js +0 -209
  85. package/es/components/Icons/logos/index.d.ts +0 -2
  86. package/es/components/Icons/logos/index.js +0 -2
  87. package/es/components/Icons/primitives/IconHover.d.ts +0 -4
  88. package/es/components/Icons/primitives/IconHover.js +0 -28
  89. package/es/components/Icons/primitives/IconWrapper.js +0 -81
  90. package/es/components/Icons/primitives/index.d.ts +0 -5
  91. package/es/components/Icons/primitives/index.js +0 -5
  92. package/es/components/Icons/primitives/interface.d.ts +0 -25
  93. package/es/components/Icons/primitives/interface.js +0 -2
  94. package/es/components/Icons/types.d.ts +0 -3
  95. package/es/components/Icons/types.js +0 -2
  96. package/lib/components/Icons/Icon.d.ts +0 -5
  97. package/lib/components/Icons/Icon.js +0 -25
  98. package/lib/components/Icons/icon-set/brand.d.ts +0 -6
  99. package/lib/components/Icons/icon-set/brand.js +0 -69
  100. package/lib/components/Icons/icon-set/currency.d.ts +0 -7
  101. package/lib/components/Icons/icon-set/currency.js +0 -108
  102. package/lib/components/Icons/icon-set/dynamic.d.ts +0 -16
  103. package/lib/components/Icons/icon-set/dynamic.js +0 -99
  104. package/lib/components/Icons/icon-set/functional.d.ts +0 -19
  105. package/lib/components/Icons/icon-set/functional.js +0 -293
  106. package/lib/components/Icons/icon-set/index.d.ts +0 -10
  107. package/lib/components/Icons/icon-set/index.js +0 -783
  108. package/lib/components/Icons/icon-set/menu.d.ts +0 -22
  109. package/lib/components/Icons/icon-set/menu.js +0 -379
  110. package/lib/components/Icons/icon-set/notification.d.ts +0 -6
  111. package/lib/components/Icons/icon-set/notification.js +0 -116
  112. package/lib/components/Icons/icon-set/primary.d.ts +0 -14
  113. package/lib/components/Icons/icon-set/primary.js +0 -229
  114. package/lib/components/Icons/icon-set/registry.d.ts +0 -159
  115. package/lib/components/Icons/icon-set/registry.js +0 -172
  116. package/lib/components/Icons/icon-set/system.d.ts +0 -64
  117. package/lib/components/Icons/icon-set/system.js +0 -1100
  118. package/lib/components/Icons/illustrations/Illustrations.js +0 -881
  119. package/lib/components/Icons/illustrations/index.d.ts +0 -2
  120. package/lib/components/Icons/illustrations/index.js +0 -79
  121. package/lib/components/Icons/logos/Logo.js +0 -219
  122. package/lib/components/Icons/logos/index.d.ts +0 -2
  123. package/lib/components/Icons/logos/index.js +0 -49
  124. package/lib/components/Icons/primitives/IconHover.d.ts +0 -4
  125. package/lib/components/Icons/primitives/IconHover.js +0 -37
  126. package/lib/components/Icons/primitives/IconWrapper.js +0 -88
  127. package/lib/components/Icons/primitives/index.d.ts +0 -5
  128. package/lib/components/Icons/primitives/index.js +0 -25
  129. package/lib/components/Icons/primitives/interface.d.ts +0 -25
  130. package/lib/components/Icons/primitives/interface.js +0 -6
  131. package/lib/components/Icons/types.d.ts +0 -3
  132. package/lib/components/Icons/types.js +0 -8
@@ -1,25 +0,0 @@
1
- import type { ComponentType, CSSProperties, HTMLAttributes, KeyboardEvent, MouseEvent, SVGProps } from 'react';
2
- export interface IconWrapperProps {
3
- id?: string;
4
- style?: CSSProperties;
5
- className?: string;
6
- wrapperCls?: string;
7
- prefixCls?: string;
8
- size?: number | `${number}`;
9
- width?: number | `${number}`;
10
- height?: number | `${number}`;
11
- color?: string;
12
- viewBox?: string;
13
- fill?: boolean;
14
- stroke?: boolean;
15
- ariaLabel?: string;
16
- tabIndex?: number;
17
- svgComponent?: ComponentType<SVGProps<SVGSVGElement>>;
18
- onClick?: (e: MouseEvent<HTMLElement>) => any;
19
- onKeyDown?: (e: KeyboardEvent<HTMLElement>) => any;
20
- }
21
- export interface IconHoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'prefix'> {
22
- className?: string;
23
- prefixCls?: string;
24
- disabled?: boolean;
25
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcG9uZW50cy9JY29ucy9wcmltaXRpdmVzL2ludGVyZmFjZS5qcyIsIm5hbWVzIjpbXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9JY29ucy9wcmltaXRpdmVzL2ludGVyZmFjZS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge307Il0sIm1hcHBpbmdzIjoiIiwiaWdub3JlTGlzdCI6W119
@@ -1,3 +0,0 @@
1
- export declare const canonicalIconNames: readonly ["illusChecked", "illusEmailError", "illusLinkExpired", "illus2FA", "illusLocked", "illusError", "illusRegionNotSupported", "illusID", "illusVerification", "illusPasskey", "illusAddAccount", "illusPending", "logo", "logoWord", "logoNetwork", "logoWithWords", "logoBg", "logoBeta", "logoWithBeta", "deposit", "withdrawal", "conversion", "mintToken", "burnToken", "accountLocked", "pending", "success", "fail", "error", "statusSuccess", "statusFail", "dashboard", "digitalAsset", "addressBook", "linkedBankAccounts", "wire", "swift", "account", "profile", "security", "logout", "portfolio", "home", "convert", "withdraw", "send", "menuDeposit", "company", "parties", "transactions", "fiat", "money", "sendCrypto", "arrowUp", "arrowDown", "arrowLeft", "arrowRight", "add", "minus", "cross", "more", "chevronDown", "chevronUp", "chevronLeft", "chevronRight", "sort", "collapse", "extend", "spinner", "check", "remove", "pix", "info", "notifications", "favorite", "transferHistory", "support", "help", "language", "share", "products", "hub", "systemSecurity", "fees", "settings", "id", "viewBalance", "hideBalance", "privacy", "card", "coin", "wallet", "email", "rewards", "time", "location", "calendar", "securityCheck", "devices", "images", "bank", "coins", "earn", "scan", "search", "maintenance", "editFile", "document", "upload", "gift", "filter", "expand", "systemCollapse", "refresh", "transfer", "link", "save", "like", "dislike", "copy", "mobile", "chat", "swap", "clock", "desktop", "ach", "businessAccount", "individualAccount", "apiKey", "brokenLink", "autoConversionRules", "usd", "eur", "gbp", "jpy", "cny", "google", "apple", "twitter", "linkedIn", "passkey", "pause", "notificationInfo", "notificationWarning", "notificationSuccess", "notificationError", "depositFiatCrypto", "withdrawFiatCrypto", "accountdLocked", "personalSettings", "security2", "iconPix", "noApiKeys"];
2
- export type CanonicalIconName = (typeof canonicalIconNames)[number];
3
- export type IconName = CanonicalIconName;
@@ -1,8 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.canonicalIconNames = void 0;
7
- var canonicalIconNames = exports.canonicalIconNames = ['illusChecked', 'illusEmailError', 'illusLinkExpired', 'illus2FA', 'illusLocked', 'illusError', 'illusRegionNotSupported', 'illusID', 'illusVerification', 'illusPasskey', 'illusAddAccount', 'illusPending', 'logo', 'logoWord', 'logoNetwork', 'logoWithWords', 'logoBg', 'logoBeta', 'logoWithBeta', 'deposit', 'withdrawal', 'conversion', 'mintToken', 'burnToken', 'accountLocked', 'pending', 'success', 'fail', 'error', 'statusSuccess', 'statusFail', 'dashboard', 'digitalAsset', 'addressBook', 'linkedBankAccounts', 'wire', 'swift', 'account', 'profile', 'security', 'logout', 'portfolio', 'home', 'convert', 'withdraw', 'send', 'menuDeposit', 'company', 'parties', 'transactions', 'fiat', 'money', 'sendCrypto', 'arrowUp', 'arrowDown', 'arrowLeft', 'arrowRight', 'add', 'minus', 'cross', 'more', 'chevronDown', 'chevronUp', 'chevronLeft', 'chevronRight', 'sort', 'collapse', 'extend', 'spinner', 'check', 'remove', 'pix', 'info', 'notifications', 'favorite', 'transferHistory', 'support', 'help', 'language', 'share', 'products', 'hub', 'systemSecurity', 'fees', 'settings', 'id', 'viewBalance', 'hideBalance', 'privacy', 'card', 'coin', 'wallet', 'email', 'rewards', 'time', 'location', 'calendar', 'securityCheck', 'devices', 'images', 'bank', 'coins', 'earn', 'scan', 'search', 'maintenance', 'editFile', 'document', 'upload', 'gift', 'filter', 'expand', 'systemCollapse', 'refresh', 'transfer', 'link', 'save', 'like', 'dislike', 'copy', 'mobile', 'chat', 'swap', 'clock', 'desktop', 'ach', 'businessAccount', 'individualAccount', 'apiKey', 'brokenLink', 'autoConversionRules', 'usd', 'eur', 'gbp', 'jpy', 'cny', 'google', 'apple', 'twitter', 'linkedIn', 'passkey', 'pause', 'notificationInfo', 'notificationWarning', 'notificationSuccess', 'notificationError', 'depositFiatCrypto', 'withdrawFiatCrypto', 'accountdLocked', 'personalSettings', 'security2', 'iconPix', 'noApiKeys'];
8
- //# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvc3JjL2NvbXBvbmVudHMvSWNvbnMvdHlwZXMudHMiXSwibmFtZXMiOlsiY2Fub25pY2FsSWNvbk5hbWVzIiwiZXhwb3J0cyJdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQU8sSUFBTUEsa0JBQWtCLEdBQUFDLE9BQUEsQ0FBQUQsa0JBQUEsR0FBRyxDQUNoQyxjQUFjLEVBQ2QsaUJBQWlCLEVBQ2pCLGtCQUFrQixFQUNsQixVQUFVLEVBQ1YsYUFBYSxFQUNiLFlBQVksRUFDWix5QkFBeUIsRUFDekIsU0FBUyxFQUNULG1CQUFtQixFQUNuQixjQUFjLEVBQ2QsaUJBQWlCLEVBQ2pCLGNBQWMsRUFDZCxNQUFNLEVBQ04sVUFBVSxFQ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