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