@1money/component-ui 0.0.90-alpha.2 → 0.0.90-alpha.21

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 (90) hide show
  1. package/es/business/Dialog/BaseDialog/BaseDialog.js +23 -20
  2. package/es/business/Dialog/BaseDialog/interface.d.ts +6 -0
  3. package/es/business/Dialog/BaseDialog/style/BaseDialog.css +11 -1
  4. package/es/business/Dialog/Descriptions/Descriptions.js +15 -7
  5. package/es/business/Dialog/Descriptions/interface.d.ts +14 -0
  6. package/es/business/Dialog/Descriptions/style/Descriptions.css +1 -1
  7. package/es/business/Dialog/DetailsDialog/DetailsDialog.js +14 -7
  8. package/es/business/Dialog/DetailsDialog/interface.d.ts +9 -0
  9. package/es/business/Dialog/DetailsDialog/style/DetailsDialog.css +4 -2
  10. package/es/business/Dialog/FormDialog/FormDialog.d.ts +1 -1
  11. package/es/business/Dialog/FormDialog/FormDialog.js +39 -18
  12. package/es/business/Dialog/FormDialog/interface.d.ts +12 -1
  13. package/es/business/Dialog/FormDialog/style/FormDialog.css +5 -0
  14. package/es/business/Dialog/VerificationDialog/VerificationDialog.js +66 -20
  15. package/es/business/Dialog/VerificationDialog/interface.d.ts +1 -1
  16. package/es/business/Dialog/VerificationDialog/style/VerificationDialog.css +1 -3
  17. package/es/business/Dialog/index.d.ts +1 -0
  18. package/es/business/Dialog/index.js +1 -1
  19. package/es/business/Dialog/variants/LoadingDialog.js +94 -67
  20. package/es/business/Dialog/variants/index.d.ts +1 -1
  21. package/es/business/FieldList/index.js +8 -1
  22. package/es/business/FormPage/FormPage.d.ts +1 -1
  23. package/es/business/FormPage/FormPage.js +12 -7
  24. package/es/business/FormPage/interface.d.ts +11 -0
  25. package/es/business/Select/Asset/AssetSelect.js +5 -1
  26. package/es/business/Select/Country/CountrySelect.js +5 -1
  27. package/es/business/Select/Currency/CurrencySelect.js +5 -1
  28. package/es/business/Select/Network/NetworkSelect.js +5 -1
  29. package/es/business/Select/PaymentMethod/PaymentMethodSelect.js +5 -1
  30. package/es/business/shared/formCore/useRelayedFormRef.d.ts +16 -0
  31. package/es/business/shared/formCore/useRelayedFormRef.js +43 -0
  32. package/es/components/ActionBar/ActionBar.js +6 -5
  33. package/es/components/ActionBar/interface.d.ts +9 -0
  34. package/es/components/Dialog/Dialog.js +4 -3
  35. package/es/components/Dialog/interface.d.ts +3 -0
  36. package/es/components/Dialog/style/Dialog.css +3 -0
  37. package/es/components/Input/Input/Input.css +1 -1
  38. package/es/components/Input/Input/Input.js +9 -2
  39. package/es/components/Input/Mask/Mask.js +3 -2
  40. package/es/components/Input/interface.d.ts +5 -0
  41. package/es/components/ProForm/ProForm.js +24 -13
  42. package/es/components/ProForm/core/constants.d.ts +1 -1
  43. package/es/components/ProForm/core/constants.js +5 -2
  44. package/es/index.css +1 -1
  45. package/lib/business/Dialog/BaseDialog/BaseDialog.js +23 -20
  46. package/lib/business/Dialog/BaseDialog/interface.d.ts +6 -0
  47. package/lib/business/Dialog/BaseDialog/style/BaseDialog.css +11 -1
  48. package/lib/business/Dialog/Descriptions/Descriptions.js +15 -7
  49. package/lib/business/Dialog/Descriptions/interface.d.ts +14 -0
  50. package/lib/business/Dialog/Descriptions/style/Descriptions.css +1 -1
  51. package/lib/business/Dialog/DetailsDialog/DetailsDialog.js +14 -7
  52. package/lib/business/Dialog/DetailsDialog/interface.d.ts +9 -0
  53. package/lib/business/Dialog/DetailsDialog/style/DetailsDialog.css +4 -2
  54. package/lib/business/Dialog/FormDialog/FormDialog.d.ts +1 -1
  55. package/lib/business/Dialog/FormDialog/FormDialog.js +39 -18
  56. package/lib/business/Dialog/FormDialog/interface.d.ts +12 -1
  57. package/lib/business/Dialog/FormDialog/style/FormDialog.css +5 -0
  58. package/lib/business/Dialog/VerificationDialog/VerificationDialog.js +66 -20
  59. package/lib/business/Dialog/VerificationDialog/interface.d.ts +1 -1
  60. package/lib/business/Dialog/VerificationDialog/style/VerificationDialog.css +1 -3
  61. package/lib/business/Dialog/index.d.ts +1 -0
  62. package/lib/business/Dialog/index.js +1 -1
  63. package/lib/business/Dialog/variants/LoadingDialog.js +93 -66
  64. package/lib/business/Dialog/variants/index.d.ts +1 -1
  65. package/lib/business/FieldList/index.js +8 -1
  66. package/lib/business/FormPage/FormPage.d.ts +1 -1
  67. package/lib/business/FormPage/FormPage.js +12 -7
  68. package/lib/business/FormPage/interface.d.ts +11 -0
  69. package/lib/business/Select/Asset/AssetSelect.js +5 -1
  70. package/lib/business/Select/Country/CountrySelect.js +5 -1
  71. package/lib/business/Select/Currency/CurrencySelect.js +5 -1
  72. package/lib/business/Select/Network/NetworkSelect.js +5 -1
  73. package/lib/business/Select/PaymentMethod/PaymentMethodSelect.js +5 -1
  74. package/lib/business/shared/formCore/useRelayedFormRef.d.ts +16 -0
  75. package/lib/business/shared/formCore/useRelayedFormRef.js +49 -0
  76. package/lib/components/ActionBar/ActionBar.js +6 -5
  77. package/lib/components/ActionBar/interface.d.ts +9 -0
  78. package/lib/components/Dialog/Dialog.js +4 -3
  79. package/lib/components/Dialog/interface.d.ts +3 -0
  80. package/lib/components/Dialog/style/Dialog.css +3 -0
  81. package/lib/components/Input/Input/Input.css +1 -1
  82. package/lib/components/Input/Input/Input.js +9 -2
  83. package/lib/components/Input/Mask/Mask.js +3 -2
  84. package/lib/components/Input/interface.d.ts +5 -0
  85. package/lib/components/ProForm/ProForm.js +27 -16
  86. package/lib/components/ProForm/core/constants.d.ts +1 -1
  87. package/lib/components/ProForm/core/constants.js +5 -2
  88. package/lib/index.css +1 -1
  89. package/package.json +11 -1
  90. package/scripts/mcp-server/index.generated.json +30 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1money/component-ui",
3
- "version": "0.0.90-alpha.2",
3
+ "version": "0.0.90-alpha.21",
4
4
  "description": "React Components based on primereact for 1money front-end projects",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -35,6 +35,11 @@
35
35
  "import": "./es/components/Accordion/index.js",
36
36
  "require": "./lib/components/Accordion/index.js"
37
37
  },
38
+ "./ActionBar": {
39
+ "types": "./es/components/ActionBar/index.d.ts",
40
+ "import": "./es/components/ActionBar/index.js",
41
+ "require": "./lib/components/ActionBar/index.js"
42
+ },
38
43
  "./Alert": {
39
44
  "types": "./es/components/Alert/index.d.ts",
40
45
  "import": "./es/components/Alert/index.js",
@@ -115,6 +120,11 @@
115
120
  "import": "./es/components/Flex/index.js",
116
121
  "require": "./lib/components/Flex/index.js"
117
122
  },
123
+ "./FormLayout": {
124
+ "types": "./es/components/FormLayout/index.d.ts",
125
+ "import": "./es/components/FormLayout/index.js",
126
+ "require": "./lib/components/FormLayout/index.js"
127
+ },
118
128
  "./Grid": {
119
129
  "types": "./es/components/Grid/index.d.ts",
120
130
  "import": "./es/components/Grid/index.js",
@@ -156,7 +156,7 @@
156
156
  "category": "misc",
157
157
  "summary": "",
158
158
  "importPath": "@1money/component-ui",
159
- "subpathImport": null,
159
+ "subpathImport": "@1money/component-ui/ActionBar",
160
160
  "sourceFile": "src/components/ActionBar/ActionBar.tsx",
161
161
  "props": [
162
162
  {
@@ -183,6 +183,14 @@
183
183
  "description": "Primary action.",
184
184
  "inheritedFrom": null
185
185
  },
186
+ {
187
+ "name": "primarySlot",
188
+ "type": "ReactNode",
189
+ "optional": true,
190
+ "default": null,
191
+ "description": "Custom node replacing the primary Button (see `ActionBarPrimarySlot`).",
192
+ "inheritedFrom": null
193
+ },
186
194
  {
187
195
  "name": "secondary",
188
196
  "type": "ActionBarAction",
@@ -246,7 +254,7 @@
246
254
  "category": "misc",
247
255
  "summary": "One footer action.",
248
256
  "importPath": "@1money/component-ui",
249
- "subpathImport": null,
257
+ "subpathImport": "@1money/component-ui/ActionBar",
250
258
  "sourceFile": "src/components/ActionBar/interface.ts",
251
259
  "props": [],
252
260
  "extends": [],
@@ -272,7 +280,7 @@
272
280
  "category": "misc",
273
281
  "summary": "Optional centered footnote row under the actions, e.g.",
274
282
  "importPath": "@1money/component-ui",
275
- "subpathImport": null,
283
+ "subpathImport": "@1money/component-ui/ActionBar",
276
284
  "sourceFile": "src/components/ActionBar/interface.ts",
277
285
  "props": [],
278
286
  "extends": [],
@@ -298,7 +306,7 @@
298
306
  "category": "misc",
299
307
  "summary": "",
300
308
  "importPath": "@1money/component-ui",
301
- "subpathImport": null,
309
+ "subpathImport": "@1money/component-ui/ActionBar",
302
310
  "sourceFile": "src/components/ActionBar/constants.ts",
303
311
  "props": [],
304
312
  "extends": [],
@@ -324,7 +332,7 @@
324
332
  "category": "misc",
325
333
  "summary": "",
326
334
  "importPath": "@1money/component-ui",
327
- "subpathImport": null,
335
+ "subpathImport": "@1money/component-ui/ActionBar",
328
336
  "sourceFile": "src/components/ActionBar/interface.ts",
329
337
  "props": [],
330
338
  "extends": [],
@@ -2465,6 +2473,14 @@
2465
2473
  "description": "",
2466
2474
  "inheritedFrom": null
2467
2475
  },
2476
+ {
2477
+ "name": "rootClassName",
2478
+ "type": "string",
2479
+ "optional": true,
2480
+ "default": null,
2481
+ "description": "Class for the outermost root (overlay + wrapper) — e.g.",
2482
+ "inheritedFrom": null
2483
+ },
2468
2484
  {
2469
2485
  "name": "wrapperStyle",
2470
2486
  "type": "CSSProperties",
@@ -4000,7 +4016,7 @@
4000
4016
  "category": "misc",
4001
4017
  "summary": "THE density table for form surfaces — the single thing to edit when the design changes or a new density is added.",
4002
4018
  "importPath": "@1money/component-ui",
4003
- "subpathImport": null,
4019
+ "subpathImport": "@1money/component-ui/FormLayout",
4004
4020
  "sourceFile": "src/components/FormLayout/config.ts",
4005
4021
  "props": [],
4006
4022
  "extends": [],
@@ -4229,7 +4245,7 @@
4229
4245
  "category": "misc",
4230
4246
  "summary": "One cell of a FormRow; cells split the row evenly and clip long content.",
4231
4247
  "importPath": "@1money/component-ui",
4232
- "subpathImport": null,
4248
+ "subpathImport": "@1money/component-ui/FormLayout",
4233
4249
  "sourceFile": "src/components/FormLayout/FormLayout.tsx",
4234
4250
  "props": [],
4235
4251
  "extends": [],
@@ -4258,7 +4274,7 @@
4258
4274
  "category": "misc",
4259
4275
  "summary": "",
4260
4276
  "importPath": "@1money/component-ui",
4261
- "subpathImport": null,
4277
+ "subpathImport": "@1money/component-ui/FormLayout",
4262
4278
  "sourceFile": "src/components/FormLayout/FormLayout.tsx",
4263
4279
  "props": [],
4264
4280
  "extends": [],
@@ -4474,7 +4490,7 @@
4474
4490
  "category": "misc",
4475
4491
  "summary": "Form-only surface layout: panel chrome (white surface, hairline border, radius) + three regions (header with title/extra, fields content, footer) with variant-driven density.",
4476
4492
  "importPath": "@1money/component-ui",
4477
- "subpathImport": null,
4493
+ "subpathImport": "@1money/component-ui/FormLayout",
4478
4494
  "sourceFile": "src/components/FormLayout/FormLayout.tsx",
4479
4495
  "props": [
4480
4496
  {
@@ -4610,7 +4626,7 @@
4610
4626
  "category": "misc",
4611
4627
  "summary": "Form-only surface layout: panel chrome (white surface, hairline border, radius) + three regions (header with title/extra, fields content, footer) with variant-driven density.",
4612
4628
  "importPath": "@1money/component-ui",
4613
- "subpathImport": null,
4629
+ "subpathImport": "@1money/component-ui/FormLayout",
4614
4630
  "sourceFile": "src/components/FormLayout/interface.ts",
4615
4631
  "props": [],
4616
4632
  "extends": [],
@@ -4640,7 +4656,7 @@
4640
4656
  "category": "misc",
4641
4657
  "summary": "",
4642
4658
  "importPath": "@1money/component-ui",
4643
- "subpathImport": null,
4659
+ "subpathImport": "@1money/component-ui/FormLayout",
4644
4660
  "sourceFile": "src/components/FormLayout/config.ts",
4645
4661
  "props": [],
4646
4662
  "extends": [],
@@ -4670,7 +4686,7 @@
4670
4686
  "category": "misc",
4671
4687
  "summary": "",
4672
4688
  "importPath": "@1money/component-ui",
4673
- "subpathImport": null,
4689
+ "subpathImport": "@1money/component-ui/FormLayout",
4674
4690
  "sourceFile": "src/components/FormLayout/config.ts",
4675
4691
  "props": [],
4676
4692
  "extends": [],
@@ -4793,7 +4809,7 @@
4793
4809
  "category": "misc",
4794
4810
  "summary": "One multi-column row inside the fields region.",
4795
4811
  "importPath": "@1money/component-ui",
4796
- "subpathImport": null,
4812
+ "subpathImport": "@1money/component-ui/FormLayout",
4797
4813
  "sourceFile": "src/components/FormLayout/FormLayout.tsx",
4798
4814
  "props": [],
4799
4815
  "extends": [],
@@ -4822,7 +4838,7 @@
4822
4838
  "category": "misc",
4823
4839
  "summary": "",
4824
4840
  "importPath": "@1money/component-ui",
4825
- "subpathImport": null,
4841
+ "subpathImport": "@1money/component-ui/FormLayout",
4826
4842
  "sourceFile": "src/components/FormLayout/FormLayout.tsx",
4827
4843
  "props": [],
4828
4844
  "extends": [],