@equinor/mad-dfw 0.5.13 → 0.5.15

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