@thecb/components 7.0.2-beta.6 → 7.0.2-beta.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.0.2-beta.6",
3
+ "version": "7.0.2-beta.7",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -21,8 +21,8 @@ const ClipboardIcon = ({ themeValues }) => {
21
21
  height="18"
22
22
  >
23
23
  <path
24
- fill-rule="evenodd"
25
- clip-rule="evenodd"
24
+ fillRule="evenodd"
25
+ clipRule="evenodd"
26
26
  d="M9.83929 3.43753H14.1607V5.59825H9.83929L9.83929 3.43753ZM8.75893 3.43753C8.75893 2.84087 9.24262 2.35718 9.83929 2.35718H14.1607C14.7574 2.35718 15.2411 2.84087 15.2411 3.43753V5.59825C15.2411 6.19491 14.7574 6.67861 14.1607 6.67861H9.83929C9.24262 6.67861 8.75893 6.19491 8.75893 5.59825V3.43753ZM6.59821 3.70762H7.94866V5.32816H6.59821C6.29988 5.32816 6.05804 5.57001 6.05804 5.86834V17.4822C6.05804 17.7805 6.29988 18.0224 6.59821 18.0224H17.4018C17.7001 18.0224 17.942 17.7805 17.942 17.4822V5.86834C17.942 5.57001 17.7001 5.32816 17.4018 5.32816H16.0513V3.70762H17.4018C18.5951 3.70762 19.5625 4.67501 19.5625 5.86834V17.4822C19.5625 18.6755 18.5951 19.6429 17.4018 19.6429H6.59821C5.40488 19.6429 4.4375 18.6755 4.4375 17.4822V5.86834C4.4375 4.67501 5.40488 3.70762 6.59821 3.70762Z"
27
27
  fill={themeValues.singleIconColor}
28
28
  />
@@ -46,7 +46,7 @@ const Copyable = ({
46
46
  copyErrorPopoverContent = "Unable to copy value",
47
47
  copiedPopoverContentDuration = 1000,
48
48
  hasPopover = true,
49
- popoverMinWidth = "210px",
49
+ popoverMinWidth = "max-content",
50
50
  popoverID = 0,
51
51
  popoverExtraStyles
52
52
  }) => {
@@ -39,7 +39,7 @@ const Popover = ({
39
39
  position, // { top: string, right: string, bottom: string, left: string }
40
40
  arrowPosition, // { top: string, right: string, bottom: string, left: string }
41
41
  arrowDirection = "down",
42
- transform,
42
+ transform = "none",
43
43
  buttonExtraStyles
44
44
  }) => {
45
45
  const { hoverColor, activeColor, popoverTriggerColor } = themeValues;
@@ -127,7 +127,7 @@ const Popover = ({
127
127
  bottom: ${bottom};
128
128
  left: ${left};
129
129
  height: ${height};
130
- transform: ${transform ? transform : "none"};
130
+ transform: ${transform};
131
131
  `}
132
132
  >
133
133
  <Paragraph>{content}</Paragraph>