@1money/component-ui 0.0.90-alpha.13 → 0.0.90-alpha.17
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/es/business/Dialog/BaseDialog/BaseDialog.js +21 -21
- package/es/business/Dialog/BaseDialog/style/BaseDialog.css +7 -0
- package/es/business/Dialog/FormDialog/FormDialog.js +4 -6
- package/es/business/Dialog/VerificationDialog/VerificationDialog.js +62 -21
- package/es/business/Dialog/index.d.ts +1 -0
- package/es/business/Dialog/index.js +1 -1
- package/es/business/Dialog/variants/LoadingDialog.js +90 -66
- package/es/business/Dialog/variants/index.d.ts +1 -1
- package/es/business/FieldList/index.js +8 -1
- package/es/business/FormPage/FormPage.js +3 -6
- package/es/business/shared/formCore/useRelayedFormRef.d.ts +16 -0
- package/es/business/shared/formCore/useRelayedFormRef.js +41 -0
- package/es/index.css +1 -1
- package/lib/business/Dialog/BaseDialog/BaseDialog.js +21 -21
- package/lib/business/Dialog/BaseDialog/style/BaseDialog.css +7 -0
- package/lib/business/Dialog/FormDialog/FormDialog.js +4 -6
- package/lib/business/Dialog/VerificationDialog/VerificationDialog.js +62 -21
- package/lib/business/Dialog/index.d.ts +1 -0
- package/lib/business/Dialog/index.js +1 -1
- package/lib/business/Dialog/variants/LoadingDialog.js +89 -65
- package/lib/business/Dialog/variants/index.d.ts +1 -1
- package/lib/business/FieldList/index.js +8 -1
- package/lib/business/FormPage/FormPage.js +3 -6
- package/lib/business/shared/formCore/useRelayedFormRef.d.ts +16 -0
- package/lib/business/shared/formCore/useRelayedFormRef.js +47 -0
- package/lib/index.css +1 -1
- package/package.json +11 -1
- package/scripts/mcp-server/index.generated.json +22 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1money/component-ui",
|
|
3
|
-
"version": "0.0.90-alpha.
|
|
3
|
+
"version": "0.0.90-alpha.17",
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
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":
|
|
335
|
+
"subpathImport": "@1money/component-ui/ActionBar",
|
|
328
336
|
"sourceFile": "src/components/ActionBar/interface.ts",
|
|
329
337
|
"props": [],
|
|
330
338
|
"extends": [],
|
|
@@ -4000,7 +4008,7 @@
|
|
|
4000
4008
|
"category": "misc",
|
|
4001
4009
|
"summary": "THE density table for form surfaces — the single thing to edit when the design changes or a new density is added.",
|
|
4002
4010
|
"importPath": "@1money/component-ui",
|
|
4003
|
-
"subpathImport":
|
|
4011
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4004
4012
|
"sourceFile": "src/components/FormLayout/config.ts",
|
|
4005
4013
|
"props": [],
|
|
4006
4014
|
"extends": [],
|
|
@@ -4229,7 +4237,7 @@
|
|
|
4229
4237
|
"category": "misc",
|
|
4230
4238
|
"summary": "One cell of a FormRow; cells split the row evenly and clip long content.",
|
|
4231
4239
|
"importPath": "@1money/component-ui",
|
|
4232
|
-
"subpathImport":
|
|
4240
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4233
4241
|
"sourceFile": "src/components/FormLayout/FormLayout.tsx",
|
|
4234
4242
|
"props": [],
|
|
4235
4243
|
"extends": [],
|
|
@@ -4258,7 +4266,7 @@
|
|
|
4258
4266
|
"category": "misc",
|
|
4259
4267
|
"summary": "",
|
|
4260
4268
|
"importPath": "@1money/component-ui",
|
|
4261
|
-
"subpathImport":
|
|
4269
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4262
4270
|
"sourceFile": "src/components/FormLayout/FormLayout.tsx",
|
|
4263
4271
|
"props": [],
|
|
4264
4272
|
"extends": [],
|
|
@@ -4474,7 +4482,7 @@
|
|
|
4474
4482
|
"category": "misc",
|
|
4475
4483
|
"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
4484
|
"importPath": "@1money/component-ui",
|
|
4477
|
-
"subpathImport":
|
|
4485
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4478
4486
|
"sourceFile": "src/components/FormLayout/FormLayout.tsx",
|
|
4479
4487
|
"props": [
|
|
4480
4488
|
{
|
|
@@ -4610,7 +4618,7 @@
|
|
|
4610
4618
|
"category": "misc",
|
|
4611
4619
|
"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
4620
|
"importPath": "@1money/component-ui",
|
|
4613
|
-
"subpathImport":
|
|
4621
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4614
4622
|
"sourceFile": "src/components/FormLayout/interface.ts",
|
|
4615
4623
|
"props": [],
|
|
4616
4624
|
"extends": [],
|
|
@@ -4640,7 +4648,7 @@
|
|
|
4640
4648
|
"category": "misc",
|
|
4641
4649
|
"summary": "",
|
|
4642
4650
|
"importPath": "@1money/component-ui",
|
|
4643
|
-
"subpathImport":
|
|
4651
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4644
4652
|
"sourceFile": "src/components/FormLayout/config.ts",
|
|
4645
4653
|
"props": [],
|
|
4646
4654
|
"extends": [],
|
|
@@ -4670,7 +4678,7 @@
|
|
|
4670
4678
|
"category": "misc",
|
|
4671
4679
|
"summary": "",
|
|
4672
4680
|
"importPath": "@1money/component-ui",
|
|
4673
|
-
"subpathImport":
|
|
4681
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4674
4682
|
"sourceFile": "src/components/FormLayout/config.ts",
|
|
4675
4683
|
"props": [],
|
|
4676
4684
|
"extends": [],
|
|
@@ -4793,7 +4801,7 @@
|
|
|
4793
4801
|
"category": "misc",
|
|
4794
4802
|
"summary": "One multi-column row inside the fields region.",
|
|
4795
4803
|
"importPath": "@1money/component-ui",
|
|
4796
|
-
"subpathImport":
|
|
4804
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4797
4805
|
"sourceFile": "src/components/FormLayout/FormLayout.tsx",
|
|
4798
4806
|
"props": [],
|
|
4799
4807
|
"extends": [],
|
|
@@ -4822,7 +4830,7 @@
|
|
|
4822
4830
|
"category": "misc",
|
|
4823
4831
|
"summary": "",
|
|
4824
4832
|
"importPath": "@1money/component-ui",
|
|
4825
|
-
"subpathImport":
|
|
4833
|
+
"subpathImport": "@1money/component-ui/FormLayout",
|
|
4826
4834
|
"sourceFile": "src/components/FormLayout/FormLayout.tsx",
|
|
4827
4835
|
"props": [],
|
|
4828
4836
|
"extends": [],
|