@equinor/mad-dfw 0.1.0 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @equinor/mad-dfw
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 350b5fc: Added a selectable prop to the PropertyRow component
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Minor Changes
@@ -45,12 +45,14 @@ var PropertyRow = (_a) => {
45
45
  label,
46
46
  value,
47
47
  iconName,
48
- textColor = "textTertiary"
48
+ textColor = "textTertiary",
49
+ selectable
49
50
  } = _b, rest = __objRest(_b, [
50
51
  "label",
51
52
  "value",
52
53
  "iconName",
53
- "textColor"
54
+ "textColor",
55
+ "selectable"
54
56
  ]);
55
57
  const breakpoint = useBreakpoint();
56
58
  const styles = useStyles(themeStyles, { breakpoint });
@@ -62,7 +64,8 @@ var PropertyRow = (_a) => {
62
64
  group: "paragraph",
63
65
  variant: "body_short",
64
66
  color: textColor,
65
- numberOfLines: 1
67
+ numberOfLines: 1,
68
+ selectable
66
69
  },
67
70
  value
68
71
  )));
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PropertyRow,
3
3
  __objRest
4
- } from "./chunk-EATHXFY2.js";
4
+ } from "./chunk-JUXKNGDY.js";
5
5
 
6
6
  // src/dfwcomponents/WorkOrderCell/WorkOrderCell.tsx
7
7
  import React, { useMemo } from "react";
@@ -6,5 +6,6 @@ export type PropertyRowProps = {
6
6
  value: string;
7
7
  iconName?: IconName;
8
8
  textColor?: Color;
9
+ selectable?: boolean;
9
10
  } & ViewProps;
10
- export declare const PropertyRow: ({ label, value, iconName, textColor, ...rest }: PropertyRowProps) => React.JSX.Element;
11
+ export declare const PropertyRow: ({ label, value, iconName, textColor, selectable, ...rest }: PropertyRowProps) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PropertyRow
3
- } from "../../chunk-EATHXFY2.js";
3
+ } from "../../chunk-JUXKNGDY.js";
4
4
  export {
5
5
  PropertyRow
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import "../../chunk-2JQRYR7Z.js";
2
2
  import {
3
3
  PropertyRow
4
- } from "../../chunk-EATHXFY2.js";
4
+ } from "../../chunk-JUXKNGDY.js";
5
5
  export {
6
6
  PropertyRow
7
7
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  WorkOrderCell
3
- } from "../../chunk-ZDARIMJV.js";
3
+ } from "../../chunk-VR3NIJHG.js";
4
4
  import "../../chunk-2JQRYR7Z.js";
5
- import "../../chunk-EATHXFY2.js";
5
+ import "../../chunk-JUXKNGDY.js";
6
6
  export {
7
7
  WorkOrderCell
8
8
  };
@@ -1,9 +1,9 @@
1
1
  import "../../chunk-RW7P2LMK.js";
2
2
  import {
3
3
  WorkOrderCell
4
- } from "../../chunk-ZDARIMJV.js";
4
+ } from "../../chunk-VR3NIJHG.js";
5
5
  import "../../chunk-2JQRYR7Z.js";
6
- import "../../chunk-EATHXFY2.js";
6
+ import "../../chunk-JUXKNGDY.js";
7
7
  export {
8
8
  WorkOrderCell
9
9
  };
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./chunk-RW7P2LMK.js";
2
2
  import {
3
3
  WorkOrderCell
4
- } from "./chunk-ZDARIMJV.js";
4
+ } from "./chunk-VR3NIJHG.js";
5
5
  import "./chunk-2JQRYR7Z.js";
6
6
  import {
7
7
  PropertyRow
8
- } from "./chunk-EATHXFY2.js";
8
+ } from "./chunk-JUXKNGDY.js";
9
9
  export {
10
10
  PropertyRow,
11
11
  WorkOrderCell
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/mad-dfw",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A React Native component library for the Digital Field Worker applications.",
5
5
  "type": "module",
6
6
  "scripts": {