@equinor/mad-dfw 0.5.12 → 0.5.14
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/CHANGELOG.md +124 -109
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,320 +1,335 @@
|
|
|
1
1
|
# @equinor/mad-dfw
|
|
2
2
|
|
|
3
|
+
## 0.5.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- b78671d: Changed peer dependencies requirement range to now allow patch changes.
|
|
8
|
+
- Updated dependencies [b78671d]
|
|
9
|
+
- @equinor/mad-components@0.19.1
|
|
10
|
+
|
|
11
|
+
## 0.5.13
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [e643db4]
|
|
16
|
+
- @equinor/mad-components@0.19.0
|
|
17
|
+
|
|
3
18
|
## 0.5.12
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
6
21
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
22
|
+
- Updated dependencies [2a645ec]
|
|
23
|
+
- @equinor/mad-components@0.18.0
|
|
9
24
|
|
|
10
25
|
## 0.5.11
|
|
11
26
|
|
|
12
27
|
### Patch Changes
|
|
13
28
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
29
|
+
- Updated dependencies [49c59fd]
|
|
30
|
+
- @equinor/mad-components@0.17.0
|
|
16
31
|
|
|
17
32
|
## 0.5.10
|
|
18
33
|
|
|
19
34
|
### Patch Changes
|
|
20
35
|
|
|
21
|
-
-
|
|
22
|
-
-
|
|
36
|
+
- Updated dependencies [75df020]
|
|
37
|
+
- @equinor/mad-components@0.16.0
|
|
23
38
|
|
|
24
39
|
## 0.5.9
|
|
25
40
|
|
|
26
41
|
### Patch Changes
|
|
27
42
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
43
|
+
- Updated dependencies [c0aea8c]
|
|
44
|
+
- @equinor/mad-components@0.15.2
|
|
30
45
|
|
|
31
46
|
## 0.5.8
|
|
32
47
|
|
|
33
48
|
### Patch Changes
|
|
34
49
|
|
|
35
|
-
-
|
|
50
|
+
- e963324: Add main workcenter to WorkOrderCell
|
|
36
51
|
|
|
37
52
|
## 0.5.7
|
|
38
53
|
|
|
39
54
|
### Patch Changes
|
|
40
55
|
|
|
41
|
-
-
|
|
56
|
+
- 91f3bcc: Icons in the `WorkOrderCell.Navigation` now shows on a new line on smaller devices.
|
|
42
57
|
|
|
43
58
|
## 0.5.6
|
|
44
59
|
|
|
45
60
|
### Patch Changes
|
|
46
61
|
|
|
47
|
-
-
|
|
48
|
-
|
|
62
|
+
- 979b5bd: New prop for the `WorkOrderCell.Navigation` called `isBookmarked`. Can be used to display
|
|
63
|
+
the `bookmark` and `bookmark-outline` icons.
|
|
49
64
|
|
|
50
65
|
## 0.5.5
|
|
51
66
|
|
|
52
67
|
### Patch Changes
|
|
53
68
|
|
|
54
|
-
-
|
|
55
|
-
|
|
69
|
+
- 32f5bc9: New prop, `wrapValues`, that wraps the text values in the `WorkOrderCell` and
|
|
70
|
+
`WorkOrderCell.Navigation`.
|
|
56
71
|
|
|
57
72
|
## 0.5.4
|
|
58
73
|
|
|
59
74
|
### Patch Changes
|
|
60
75
|
|
|
61
|
-
-
|
|
76
|
+
- 455b6ee: Changed the finished icon in the `WorkOrderCell` from `circle` to `check-circle`
|
|
62
77
|
|
|
63
78
|
## 0.5.3
|
|
64
79
|
|
|
65
80
|
### Patch Changes
|
|
66
81
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
|
|
82
|
+
- f73c165: Make the text values in the `WorkOrderCell` component selectable
|
|
83
|
+
- f73c165: Fixed validation for when the `not started` icon should be visible in the `WorkOrderCell`
|
|
84
|
+
component
|
|
70
85
|
|
|
71
86
|
## 0.5.2
|
|
72
87
|
|
|
73
88
|
### Patch Changes
|
|
74
89
|
|
|
75
|
-
-
|
|
76
|
-
|
|
90
|
+
- 3388a03: Updated button validation to fix visibility issues on buttons in the `WorkOrderCell`
|
|
91
|
+
component
|
|
77
92
|
|
|
78
93
|
## 0.5.1
|
|
79
94
|
|
|
80
95
|
### Patch Changes
|
|
81
96
|
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
-
|
|
97
|
+
- 0bab79b: The `WorkOrderCell.Navigation` component is now swipeable.
|
|
98
|
+
- 0bab79b: New prop for `WorkOrderCell` components ,`additionalPropertyRows`: Adds custom rows to
|
|
99
|
+
standard details.
|
|
85
100
|
|
|
86
101
|
## 0.5.0
|
|
87
102
|
|
|
88
103
|
### Minor Changes
|
|
89
104
|
|
|
90
|
-
-
|
|
105
|
+
- c3cd036: - Introduced `tagPlantId` field on `WorkOrder` type.
|
|
91
106
|
|
|
92
|
-
-
|
|
93
|
-
|
|
107
|
+
- Expanded the allowed props on the `WorkOrderCell` to accept all non-child view props in
|
|
108
|
+
addition to its fundamental props.
|
|
94
109
|
|
|
95
110
|
**Breaking changes:**
|
|
96
111
|
|
|
97
|
-
-
|
|
98
|
-
-
|
|
99
|
-
-
|
|
100
|
-
-
|
|
101
|
-
-
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
112
|
+
- Moved all work order related data into the `workOrder` prop of the cell
|
|
113
|
+
- Renamed `requiredEnd` to `requiredEndDate`
|
|
114
|
+
- Renamed `workCenter` to `workCenterId`
|
|
115
|
+
- Renamed `functionalLocation` to `tagId`
|
|
116
|
+
- Renamed `basicFinishDate` to `basicEndDate`
|
|
117
|
+
- Renamed `equipment` to `equipmentId`
|
|
118
|
+
- Renamed `activeStatus` to `activeStatusIds`
|
|
119
|
+
- Removed the `overwriteLabel` prop on `WorkOrderCellProps`
|
|
105
120
|
|
|
106
121
|
## 0.4.1
|
|
107
122
|
|
|
108
123
|
### Patch Changes
|
|
109
124
|
|
|
110
|
-
-
|
|
111
|
-
|
|
125
|
+
- 93cd63d: Added new value to the `WorkOrderType`. Prevent excess padding when the `maintenanceType`
|
|
126
|
+
is not being used.
|
|
112
127
|
|
|
113
128
|
## 0.4.0
|
|
114
129
|
|
|
115
130
|
### Minor Changes
|
|
116
131
|
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
132
|
+
- 7d09c9b: WorkOrderCell adjusted. Renamed prop `workOrder` to `workOrderId`. Added new prop,
|
|
133
|
+
`workOrderType`, this relates to the workOrderId. Removed the `symbolDirection` and
|
|
134
|
+
`overwriteLabel` props. The symbol direction is now column by default.
|
|
120
135
|
|
|
121
136
|
## 0.3.1
|
|
122
137
|
|
|
123
138
|
### Patch Changes
|
|
124
139
|
|
|
125
|
-
-
|
|
140
|
+
- ae0f906: Added loading prop to the buttons in the `WorkOrderCell` component
|
|
126
141
|
|
|
127
142
|
## 0.3.0
|
|
128
143
|
|
|
129
144
|
### Minor Changes
|
|
130
145
|
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
146
|
+
- 8503815: Adjusted props related to data display and buttons in the `WorkOrderCell` component.
|
|
147
|
+
Removed the `Id` part from the data props. Removed/adjusted the props: `showActions`,
|
|
148
|
+
`onStartButtonPress`, `onReadyForOperationPress` and `onTecoButtonPress`. New props for this:
|
|
149
|
+
`startJobButton`, `readyForOperationButton` and `tecoButton`. These props have three options
|
|
150
|
+
`visible`, `disabled` and `onpress`. Removed validations for when the buttons are displayed.
|
|
136
151
|
|
|
137
152
|
## 0.2.0
|
|
138
153
|
|
|
139
154
|
### Minor Changes
|
|
140
155
|
|
|
141
|
-
-
|
|
142
|
-
|
|
143
|
-
|
|
156
|
+
- f5133b3: Splitted `WorkOrderCell` into a new component `WorkOrderCell.Navigation`. Removed
|
|
157
|
+
`onPress` from the WorkOrderCell. To get the onPress / navigation functionality, use
|
|
158
|
+
WorkOrderCell.Navigation. `tagId` label is removed/replaced with `functionalLocation`
|
|
144
159
|
|
|
145
160
|
### Patch Changes
|
|
146
161
|
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
-
|
|
150
|
-
|
|
151
|
-
-
|
|
162
|
+
- f5133b3: Added technical complete button to the `WorkOrderCell` and a prop, showActions for
|
|
163
|
+
controlling the visibility of buttons
|
|
164
|
+
- f5133b3: Updated the default work order labels and added an overwriteLabel prop to allow
|
|
165
|
+
customization
|
|
166
|
+
- f5133b3: Created a new component `WorkOrderCell.Navigation`
|
|
152
167
|
|
|
153
168
|
## 0.1.5
|
|
154
169
|
|
|
155
170
|
### Patch Changes
|
|
156
171
|
|
|
157
|
-
-
|
|
158
|
-
-
|
|
159
|
-
-
|
|
172
|
+
- Updated dependencies [1224665]
|
|
173
|
+
- Updated dependencies [1224665]
|
|
174
|
+
- @equinor/mad-components@0.15.1
|
|
160
175
|
|
|
161
176
|
## 0.1.4
|
|
162
177
|
|
|
163
178
|
### Patch Changes
|
|
164
179
|
|
|
165
|
-
-
|
|
166
|
-
-
|
|
180
|
+
- Updated dependencies [2a428d6]
|
|
181
|
+
- @equinor/mad-components@0.15.0
|
|
167
182
|
|
|
168
183
|
## 0.1.3
|
|
169
184
|
|
|
170
185
|
### Patch Changes
|
|
171
186
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
187
|
+
- fc6505c: Add Replace step for all "workspace:\*" dependencies
|
|
188
|
+
- Updated dependencies [fc6505c]
|
|
189
|
+
- @equinor/mad-components@0.14.13
|
|
175
190
|
|
|
176
191
|
## 0.1.2
|
|
177
192
|
|
|
178
193
|
### Patch Changes
|
|
179
194
|
|
|
180
|
-
-
|
|
181
|
-
-
|
|
182
|
-
-
|
|
183
|
-
-
|
|
184
|
-
-
|
|
185
|
-
-
|
|
195
|
+
- Updated dependencies [dab732c]
|
|
196
|
+
- Updated dependencies [dab732c]
|
|
197
|
+
- Updated dependencies [00e6e0a]
|
|
198
|
+
- Updated dependencies [dab732c]
|
|
199
|
+
- Updated dependencies [00e6e0a]
|
|
200
|
+
- @equinor/mad-components@0.14.12
|
|
186
201
|
|
|
187
202
|
## 0.1.1
|
|
188
203
|
|
|
189
204
|
### Patch Changes
|
|
190
205
|
|
|
191
|
-
-
|
|
206
|
+
- 350b5fc: Added a selectable prop to the PropertyRow component
|
|
192
207
|
|
|
193
208
|
## 0.1.0
|
|
194
209
|
|
|
195
210
|
### Minor Changes
|
|
196
211
|
|
|
197
|
-
-
|
|
198
|
-
|
|
212
|
+
- 583968f: Add textcolor support for propertyrow and workordercell and add requiredEnd prop to
|
|
213
|
+
workordercell
|
|
199
214
|
|
|
200
215
|
### Patch Changes
|
|
201
216
|
|
|
202
|
-
-
|
|
203
|
-
-
|
|
217
|
+
- Updated dependencies [a8cc142]
|
|
218
|
+
- @equinor/mad-components@0.14.3
|
|
204
219
|
|
|
205
220
|
## 0.0.16
|
|
206
221
|
|
|
207
222
|
### Patch Changes
|
|
208
223
|
|
|
209
|
-
-
|
|
210
|
-
-
|
|
224
|
+
- Updated dependencies [49e643c]
|
|
225
|
+
- @equinor/mad-components@0.13.0
|
|
211
226
|
|
|
212
227
|
## 0.0.15
|
|
213
228
|
|
|
214
229
|
### Patch Changes
|
|
215
230
|
|
|
216
|
-
-
|
|
217
|
-
-
|
|
231
|
+
- Updated dependencies [b5badbd]
|
|
232
|
+
- @equinor/mad-components@0.12.10
|
|
218
233
|
|
|
219
234
|
## 0.0.14
|
|
220
235
|
|
|
221
236
|
### Patch Changes
|
|
222
237
|
|
|
223
|
-
-
|
|
224
|
-
-
|
|
238
|
+
- Updated dependencies [ba1d39f]
|
|
239
|
+
- @equinor/mad-components@0.12.9
|
|
225
240
|
|
|
226
241
|
## 0.0.13
|
|
227
242
|
|
|
228
243
|
### Patch Changes
|
|
229
244
|
|
|
230
|
-
-
|
|
231
|
-
-
|
|
232
|
-
-
|
|
245
|
+
- 5f69443: `PropertyRow` now correctly displays value when not in a `ScrollView` and on mobile
|
|
246
|
+
- Updated dependencies [8a09b94]
|
|
247
|
+
- @equinor/mad-components@0.12.8
|
|
233
248
|
|
|
234
249
|
## 0.0.12
|
|
235
250
|
|
|
236
251
|
### Patch Changes
|
|
237
252
|
|
|
238
|
-
-
|
|
239
|
-
-
|
|
253
|
+
- Updated dependencies [cd8350f]
|
|
254
|
+
- @equinor/mad-components@0.12.7
|
|
240
255
|
|
|
241
256
|
## 0.0.11
|
|
242
257
|
|
|
243
258
|
### Patch Changes
|
|
244
259
|
|
|
245
|
-
-
|
|
246
|
-
-
|
|
260
|
+
- Updated dependencies [964af01]
|
|
261
|
+
- @equinor/mad-components@0.12.6
|
|
247
262
|
|
|
248
263
|
## 0.0.10
|
|
249
264
|
|
|
250
265
|
### Patch Changes
|
|
251
266
|
|
|
252
|
-
-
|
|
253
|
-
-
|
|
267
|
+
- Updated dependencies [121bbec]
|
|
268
|
+
- @equinor/mad-components@0.12.5
|
|
254
269
|
|
|
255
270
|
## 0.0.9
|
|
256
271
|
|
|
257
272
|
### Patch Changes
|
|
258
273
|
|
|
259
|
-
-
|
|
260
|
-
-
|
|
274
|
+
- Updated dependencies [8657a23]
|
|
275
|
+
- @equinor/mad-components@0.12.4
|
|
261
276
|
|
|
262
277
|
## 0.0.8
|
|
263
278
|
|
|
264
279
|
### Patch Changes
|
|
265
280
|
|
|
266
|
-
-
|
|
267
|
-
-
|
|
281
|
+
- Updated dependencies [45f2215]
|
|
282
|
+
- @equinor/mad-components@0.12.3
|
|
268
283
|
|
|
269
284
|
## 0.0.7
|
|
270
285
|
|
|
271
286
|
### Patch Changes
|
|
272
287
|
|
|
273
|
-
-
|
|
274
|
-
-
|
|
288
|
+
- Updated dependencies [558ca83]
|
|
289
|
+
- @equinor/mad-components@0.12.2
|
|
275
290
|
|
|
276
291
|
## 0.0.6
|
|
277
292
|
|
|
278
293
|
### Patch Changes
|
|
279
294
|
|
|
280
|
-
-
|
|
281
|
-
-
|
|
295
|
+
- Updated dependencies [8baaf7b]
|
|
296
|
+
- @equinor/mad-components@0.12.1
|
|
282
297
|
|
|
283
298
|
## 0.0.5
|
|
284
299
|
|
|
285
300
|
### Patch Changes
|
|
286
301
|
|
|
287
|
-
-
|
|
288
|
-
|
|
289
|
-
-
|
|
290
|
-
-
|
|
291
|
-
-
|
|
292
|
-
-
|
|
302
|
+
- 46401e7: Add truhyness check to `PropertyRow` render function to avoid rendering rows with empty
|
|
303
|
+
values.
|
|
304
|
+
- Updated dependencies [e43285f]
|
|
305
|
+
- Updated dependencies [79fb731]
|
|
306
|
+
- Updated dependencies [37025ac]
|
|
307
|
+
- @equinor/mad-components@0.12.0
|
|
293
308
|
|
|
294
309
|
## 0.0.4
|
|
295
310
|
|
|
296
311
|
### Patch Changes
|
|
297
312
|
|
|
298
|
-
-
|
|
299
|
-
-
|
|
300
|
-
-
|
|
301
|
-
-
|
|
313
|
+
- 15c1410: Added `WorkOrderCell` component.
|
|
314
|
+
- Updated dependencies [8adb0dc]
|
|
315
|
+
- Updated dependencies [496cd9a]
|
|
316
|
+
- @equinor/mad-components@0.11.3
|
|
302
317
|
|
|
303
318
|
## 0.0.3
|
|
304
319
|
|
|
305
320
|
### Patch Changes
|
|
306
321
|
|
|
307
|
-
-
|
|
322
|
+
- 61a8d3e: Added propertyrow component
|
|
308
323
|
|
|
309
324
|
## 0.0.2
|
|
310
325
|
|
|
311
326
|
### Patch Changes
|
|
312
327
|
|
|
313
|
-
-
|
|
314
|
-
-
|
|
328
|
+
- Updated dependencies [7eae144]
|
|
329
|
+
- @equinor/mad-components@0.11.2
|
|
315
330
|
|
|
316
331
|
## 0.0.1
|
|
317
332
|
|
|
318
333
|
### Patch Changes
|
|
319
334
|
|
|
320
|
-
-
|
|
335
|
+
- 6a11730: Initial release of mad-dfw package
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@equinor/mad-dfw",
|
|
3
3
|
"description": "A React Native component library for the Digital Field Worker applications.",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.14",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Equinor Mobile App Delivery team (MAD)"
|
|
7
7
|
},
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"main": "./dist/index.js",
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"react": "18.3.1",
|
|
41
|
-
"react-native": "0.76.3"
|
|
40
|
+
"react": "~18.3.1",
|
|
41
|
+
"react-native": "~0.76.3"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "tsup-node && echo '\n ⚙️ Generating typescript declarations..' && tsc --project tsconfig.json --emitDeclarationOnly --declaration",
|