@beda.software/web-item-controls 0.1.24 → 0.1.25-group-accordion.1
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/dist/controls/Group/AccordionSection/index.d.ts +12 -0
- package/dist/controls/Group/AccordionSection/index.d.ts.map +1 -0
- package/dist/controls/Group/AccordionSection/index.js +33 -0
- package/dist/controls/Group/AccordionSection/styles.d.ts +13 -0
- package/dist/controls/Group/AccordionSection/styles.d.ts.map +1 -0
- package/dist/controls/Group/AccordionSection/styles.js +38 -0
- package/dist/controls/Group/ChildGroupAccordionProvider.d.ts +9 -0
- package/dist/controls/Group/ChildGroupAccordionProvider.d.ts.map +1 -0
- package/dist/controls/Group/ChildGroupAccordionProvider.js +24 -0
- package/dist/controls/Group/GoalsAndTasksAccordion.fixtures.d.ts +8 -0
- package/dist/controls/Group/GoalsAndTasksAccordion.fixtures.d.ts.map +1 -0
- package/dist/controls/Group/GroupAccordionExpandBus.stories.utils.d.ts +11 -0
- package/dist/controls/Group/GroupAccordionExpandBus.stories.utils.d.ts.map +1 -0
- package/dist/controls/Group/GroupCard/index.d.ts +3 -0
- package/dist/controls/Group/GroupCard/index.d.ts.map +1 -1
- package/dist/controls/Group/GroupCard/index.js +72 -40
- package/dist/controls/Group/GroupCard/styles.d.ts +14 -2
- package/dist/controls/Group/GroupCard/styles.d.ts.map +1 -1
- package/dist/controls/Group/GroupCard/styles.js +31 -11
- package/dist/controls/Group/RepeatableGroups/RepeatableGroupCard/index.d.ts.map +1 -1
- package/dist/controls/Group/RepeatableGroups/RepeatableGroupCard/index.js +23 -19
- package/dist/controls/Group/RepeatableGroups/index.d.ts.map +1 -1
- package/dist/controls/Group/RepeatableGroups/index.js +126 -50
- package/dist/controls/Group/RepeatableGroups/types.d.ts +2 -0
- package/dist/controls/Group/RepeatableGroups/types.d.ts.map +1 -1
- package/dist/controls/Group/accordionContext.d.ts +19 -0
- package/dist/controls/Group/accordionContext.d.ts.map +1 -0
- package/dist/controls/Group/accordionContext.js +47 -0
- package/dist/controls/Group/index.d.ts.map +1 -1
- package/dist/controls/Group/index.js +89 -67
- package/dist/controls/GroupWizard/GroupWizard.stories.utils.d.ts +1 -1
- package/dist/controls/GroupWizard/GroupWizard.stories.utils.d.ts.map +1 -1
- package/dist/controls/GroupWizard/index.d.ts +46 -1
- package/dist/controls/GroupWizard/index.d.ts.map +1 -1
- package/dist/controls/controls.js +14 -12
- package/dist/style.css +1 -1
- package/package.json +9 -14
- package/src/locale/de/messages.po +9 -6
- package/src/locale/en/messages.po +9 -6
- package/src/locale/es/messages.po +9 -6
- package/src/locale/ru/messages.po +9 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beda.software/web-item-controls",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25-group-accordion.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -73,22 +73,17 @@
|
|
|
73
73
|
"@beda.software/fhir-questionnaire": "^0.1.0-alpha.10",
|
|
74
74
|
"@beda.software/fhir-react": "^1.11.1",
|
|
75
75
|
"@beda.software/vite-plugin-dts": "4.0.0-beta.1",
|
|
76
|
-
"@chromatic-com/storybook": "^
|
|
76
|
+
"@chromatic-com/storybook": "^5.2.1",
|
|
77
77
|
"@lingui/cli": "^4.3.0",
|
|
78
78
|
"@lingui/core": "^4.3.0",
|
|
79
79
|
"@lingui/macro": "^4.3.0",
|
|
80
80
|
"@lingui/react": "^4.3.0",
|
|
81
81
|
"@lingui/vite-plugin": "^4.3.0",
|
|
82
|
-
"@storybook/addon-
|
|
83
|
-
"@storybook/addon-
|
|
84
|
-
"@storybook/
|
|
85
|
-
"@storybook/
|
|
86
|
-
"@storybook/
|
|
87
|
-
"@storybook/preview-api": "^8.6.18",
|
|
88
|
-
"@storybook/react": "^8.6.18",
|
|
89
|
-
"@storybook/react-vite": "^8.6.18",
|
|
90
|
-
"@storybook/test": "^8.6.18",
|
|
91
|
-
"@storybook/test-runner": "^0.21.0",
|
|
82
|
+
"@storybook/addon-links": "^10.5.5",
|
|
83
|
+
"@storybook/addon-themes": "^10.5.5",
|
|
84
|
+
"@storybook/react": "^10.5.5",
|
|
85
|
+
"@storybook/react-vite": "^10.5.5",
|
|
86
|
+
"@storybook/test-runner": "^0.24.4",
|
|
92
87
|
"@testing-library/jest-dom": "^5.17.0",
|
|
93
88
|
"@testing-library/react": "^14.0.0",
|
|
94
89
|
"@types/classnames": "^2.3.1",
|
|
@@ -116,7 +111,7 @@
|
|
|
116
111
|
"eslint-plugin-react": "^7.32.2",
|
|
117
112
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
118
113
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
119
|
-
"eslint-plugin-storybook": "^
|
|
114
|
+
"eslint-plugin-storybook": "^10.5.5",
|
|
120
115
|
"eslint-plugin-string-to-lingui": "^0.21.1",
|
|
121
116
|
"husky": "^8.0.3",
|
|
122
117
|
"jsdom": "^22.1.0",
|
|
@@ -129,7 +124,7 @@
|
|
|
129
124
|
"sass": "^1.63.6",
|
|
130
125
|
"sass-loader": "^13.3.2",
|
|
131
126
|
"sdc-qrf": "^1.1.0-alpha.9",
|
|
132
|
-
"storybook": "^
|
|
127
|
+
"storybook": "^10.5.5",
|
|
133
128
|
"style-loader": "^3.3.3",
|
|
134
129
|
"styled-components": "^6.1.11",
|
|
135
130
|
"typescript": "^5.1.6",
|
|
@@ -211,11 +211,11 @@ msgstr ""
|
|
|
211
211
|
#~ msgid "Activity"
|
|
212
212
|
#~ msgstr ""
|
|
213
213
|
|
|
214
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
214
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
215
215
|
msgid "Add {text}"
|
|
216
216
|
msgstr ""
|
|
217
217
|
|
|
218
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
218
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
219
219
|
msgid "Add another answer"
|
|
220
220
|
msgstr ""
|
|
221
221
|
|
|
@@ -337,6 +337,7 @@ msgstr ""
|
|
|
337
337
|
#~ msgid "Are you sure you want to delete the document?"
|
|
338
338
|
#~ msgstr ""
|
|
339
339
|
|
|
340
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:160
|
|
340
341
|
#: src/controls/GroupTable/hooks.tsx:615
|
|
341
342
|
msgid "Are you sure you want to delete this item?"
|
|
342
343
|
msgstr ""
|
|
@@ -397,6 +398,7 @@ msgstr ""
|
|
|
397
398
|
#~ msgstr ""
|
|
398
399
|
|
|
399
400
|
#: src/components/BaseQuestionnaireResponseForm/FormFooter.tsx:87
|
|
401
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:163
|
|
400
402
|
msgid "Cancel"
|
|
401
403
|
msgstr ""
|
|
402
404
|
|
|
@@ -595,6 +597,7 @@ msgstr ""
|
|
|
595
597
|
#~ msgid "Default"
|
|
596
598
|
#~ msgstr ""
|
|
597
599
|
|
|
600
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:161
|
|
598
601
|
#: src/controls/GroupTable/hooks.tsx:618
|
|
599
602
|
msgid "Delete"
|
|
600
603
|
msgstr ""
|
|
@@ -832,8 +835,8 @@ msgstr ""
|
|
|
832
835
|
#~ msgid "Go to the encounter"
|
|
833
836
|
#~ msgstr ""
|
|
834
837
|
|
|
835
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
836
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
838
|
+
#: src/controls/Group/GroupCard/index.tsx:129
|
|
839
|
+
#: src/controls/Group/GroupCard/index.tsx:173
|
|
837
840
|
msgid "Group"
|
|
838
841
|
msgstr ""
|
|
839
842
|
|
|
@@ -944,7 +947,7 @@ msgstr ""
|
|
|
944
947
|
#~ msgid "Issued"
|
|
945
948
|
#~ msgstr ""
|
|
946
949
|
|
|
947
|
-
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:
|
|
950
|
+
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:21
|
|
948
951
|
msgid "Item"
|
|
949
952
|
msgstr ""
|
|
950
953
|
|
|
@@ -1291,7 +1294,7 @@ msgstr "Parameter"
|
|
|
1291
1294
|
#~ msgid "Rate"
|
|
1292
1295
|
#~ msgstr ""
|
|
1293
1296
|
|
|
1294
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
1297
|
+
#: src/controls/Group/GroupCard/index.tsx:159
|
|
1295
1298
|
msgid "Remove"
|
|
1296
1299
|
msgstr ""
|
|
1297
1300
|
|
|
@@ -220,11 +220,11 @@ msgstr ""
|
|
|
220
220
|
#~ msgid "Activity"
|
|
221
221
|
#~ msgstr ""
|
|
222
222
|
|
|
223
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
223
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
224
224
|
msgid "Add {text}"
|
|
225
225
|
msgstr ""
|
|
226
226
|
|
|
227
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
227
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
228
228
|
msgid "Add another answer"
|
|
229
229
|
msgstr ""
|
|
230
230
|
|
|
@@ -354,6 +354,7 @@ msgstr ""
|
|
|
354
354
|
#~ msgid "Are you sure you want to delete the document?"
|
|
355
355
|
#~ msgstr ""
|
|
356
356
|
|
|
357
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:160
|
|
357
358
|
#: src/controls/GroupTable/hooks.tsx:615
|
|
358
359
|
msgid "Are you sure you want to delete this item?"
|
|
359
360
|
msgstr ""
|
|
@@ -418,6 +419,7 @@ msgstr ""
|
|
|
418
419
|
#~ msgstr ""
|
|
419
420
|
|
|
420
421
|
#: src/components/BaseQuestionnaireResponseForm/FormFooter.tsx:87
|
|
422
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:163
|
|
421
423
|
msgid "Cancel"
|
|
422
424
|
msgstr ""
|
|
423
425
|
|
|
@@ -652,6 +654,7 @@ msgstr ""
|
|
|
652
654
|
#~ msgid "Default"
|
|
653
655
|
#~ msgstr ""
|
|
654
656
|
|
|
657
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:161
|
|
655
658
|
#: src/controls/GroupTable/hooks.tsx:618
|
|
656
659
|
msgid "Delete"
|
|
657
660
|
msgstr ""
|
|
@@ -950,8 +953,8 @@ msgstr ""
|
|
|
950
953
|
#~ msgid "Go to the encounter"
|
|
951
954
|
#~ msgstr ""
|
|
952
955
|
|
|
953
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
954
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
956
|
+
#: src/controls/Group/GroupCard/index.tsx:129
|
|
957
|
+
#: src/controls/Group/GroupCard/index.tsx:173
|
|
955
958
|
msgid "Group"
|
|
956
959
|
msgstr ""
|
|
957
960
|
|
|
@@ -1083,7 +1086,7 @@ msgstr ""
|
|
|
1083
1086
|
#~ msgid "Issued"
|
|
1084
1087
|
#~ msgstr ""
|
|
1085
1088
|
|
|
1086
|
-
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:
|
|
1089
|
+
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:21
|
|
1087
1090
|
msgid "Item"
|
|
1088
1091
|
msgstr ""
|
|
1089
1092
|
|
|
@@ -1475,7 +1478,7 @@ msgstr ""
|
|
|
1475
1478
|
#~ msgid "Rate"
|
|
1476
1479
|
#~ msgstr ""
|
|
1477
1480
|
|
|
1478
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
1481
|
+
#: src/controls/Group/GroupCard/index.tsx:159
|
|
1479
1482
|
msgid "Remove"
|
|
1480
1483
|
msgstr ""
|
|
1481
1484
|
|
|
@@ -220,11 +220,11 @@ msgstr ""
|
|
|
220
220
|
#~ msgid "Activity"
|
|
221
221
|
#~ msgstr "Actividad"
|
|
222
222
|
|
|
223
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
223
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
224
224
|
msgid "Add {text}"
|
|
225
225
|
msgstr "Agregar {texto}"
|
|
226
226
|
|
|
227
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
227
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
228
228
|
msgid "Add another answer"
|
|
229
229
|
msgstr "Añadir otra respuesta"
|
|
230
230
|
|
|
@@ -354,6 +354,7 @@ msgstr ""
|
|
|
354
354
|
#~ msgid "Are you sure you want to delete the document?"
|
|
355
355
|
#~ msgstr "¿Estás seguro de que quieres eliminar el documento?"
|
|
356
356
|
|
|
357
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:160
|
|
357
358
|
#: src/controls/GroupTable/hooks.tsx:615
|
|
358
359
|
msgid "Are you sure you want to delete this item?"
|
|
359
360
|
msgstr "¿Estás seguro que deseas eliminar este ítem?"
|
|
@@ -418,6 +419,7 @@ msgstr "Fecha de nacimiento"
|
|
|
418
419
|
#~ msgstr "Calorías"
|
|
419
420
|
|
|
420
421
|
#: src/components/BaseQuestionnaireResponseForm/FormFooter.tsx:87
|
|
422
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:163
|
|
421
423
|
msgid "Cancel"
|
|
422
424
|
msgstr "Cancelar"
|
|
423
425
|
|
|
@@ -652,6 +654,7 @@ msgstr ""
|
|
|
652
654
|
#~ msgid "Default"
|
|
653
655
|
#~ msgstr "Predeterminado"
|
|
654
656
|
|
|
657
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:161
|
|
655
658
|
#: src/controls/GroupTable/hooks.tsx:618
|
|
656
659
|
msgid "Delete"
|
|
657
660
|
msgstr "Eliminar"
|
|
@@ -946,8 +949,8 @@ msgstr "Filtros"
|
|
|
946
949
|
#~ msgid "Go to the encounter"
|
|
947
950
|
#~ msgstr "Ir al encuentro"
|
|
948
951
|
|
|
949
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
950
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
952
|
+
#: src/controls/Group/GroupCard/index.tsx:129
|
|
953
|
+
#: src/controls/Group/GroupCard/index.tsx:173
|
|
951
954
|
msgid "Group"
|
|
952
955
|
msgstr "Grupo"
|
|
953
956
|
|
|
@@ -1079,7 +1082,7 @@ msgstr ""
|
|
|
1079
1082
|
#~ msgid "Issued"
|
|
1080
1083
|
#~ msgstr "Agendado"
|
|
1081
1084
|
|
|
1082
|
-
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:
|
|
1085
|
+
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:21
|
|
1083
1086
|
msgid "Item"
|
|
1084
1087
|
msgstr "Ítem"
|
|
1085
1088
|
|
|
@@ -1463,7 +1466,7 @@ msgstr "Parámetro"
|
|
|
1463
1466
|
#~ msgid "Rate"
|
|
1464
1467
|
#~ msgstr "Tasa"
|
|
1465
1468
|
|
|
1466
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
1469
|
+
#: src/controls/Group/GroupCard/index.tsx:159
|
|
1467
1470
|
msgid "Remove"
|
|
1468
1471
|
msgstr "Eliminar"
|
|
1469
1472
|
|
|
@@ -220,11 +220,11 @@ msgstr ""
|
|
|
220
220
|
#~ msgid "Activity"
|
|
221
221
|
#~ msgstr ""
|
|
222
222
|
|
|
223
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
223
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
224
224
|
msgid "Add {text}"
|
|
225
225
|
msgstr ""
|
|
226
226
|
|
|
227
|
-
#: src/controls/Group/RepeatableGroups/index.tsx:
|
|
227
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:219
|
|
228
228
|
msgid "Add another answer"
|
|
229
229
|
msgstr ""
|
|
230
230
|
|
|
@@ -354,6 +354,7 @@ msgstr ""
|
|
|
354
354
|
#~ msgid "Are you sure you want to delete the document?"
|
|
355
355
|
#~ msgstr ""
|
|
356
356
|
|
|
357
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:160
|
|
357
358
|
#: src/controls/GroupTable/hooks.tsx:615
|
|
358
359
|
msgid "Are you sure you want to delete this item?"
|
|
359
360
|
msgstr ""
|
|
@@ -418,6 +419,7 @@ msgstr "Дата рождения"
|
|
|
418
419
|
#~ msgstr ""
|
|
419
420
|
|
|
420
421
|
#: src/components/BaseQuestionnaireResponseForm/FormFooter.tsx:87
|
|
422
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:163
|
|
421
423
|
msgid "Cancel"
|
|
422
424
|
msgstr ""
|
|
423
425
|
|
|
@@ -652,6 +654,7 @@ msgstr ""
|
|
|
652
654
|
#~ msgid "Default"
|
|
653
655
|
#~ msgstr ""
|
|
654
656
|
|
|
657
|
+
#: src/controls/Group/RepeatableGroups/index.tsx:161
|
|
655
658
|
#: src/controls/GroupTable/hooks.tsx:618
|
|
656
659
|
msgid "Delete"
|
|
657
660
|
msgstr ""
|
|
@@ -950,8 +953,8 @@ msgstr ""
|
|
|
950
953
|
#~ msgid "Go to the encounter"
|
|
951
954
|
#~ msgstr ""
|
|
952
955
|
|
|
953
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
954
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
956
|
+
#: src/controls/Group/GroupCard/index.tsx:129
|
|
957
|
+
#: src/controls/Group/GroupCard/index.tsx:173
|
|
955
958
|
msgid "Group"
|
|
956
959
|
msgstr ""
|
|
957
960
|
|
|
@@ -1083,7 +1086,7 @@ msgstr ""
|
|
|
1083
1086
|
#~ msgid "Issued"
|
|
1084
1087
|
#~ msgstr ""
|
|
1085
1088
|
|
|
1086
|
-
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:
|
|
1089
|
+
#: src/controls/Group/RepeatableGroups/RepeatableGroupCard/index.tsx:21
|
|
1087
1090
|
msgid "Item"
|
|
1088
1091
|
msgstr ""
|
|
1089
1092
|
|
|
@@ -1475,7 +1478,7 @@ msgstr "Параметр"
|
|
|
1475
1478
|
#~ msgid "Rate"
|
|
1476
1479
|
#~ msgstr ""
|
|
1477
1480
|
|
|
1478
|
-
#: src/controls/Group/GroupCard/index.tsx:
|
|
1481
|
+
#: src/controls/Group/GroupCard/index.tsx:159
|
|
1479
1482
|
msgid "Remove"
|
|
1480
1483
|
msgstr ""
|
|
1481
1484
|
|