@thecb/components 6.3.0 → 6.3.1-beta.0

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": "6.3.0",
3
+ "version": "6.3.1-beta.0",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -103,10 +103,10 @@ const ToggleSwitch = ({
103
103
  },
104
104
  on: {
105
105
  backgroundColor: themeValues.white,
106
- right: "2px",
106
+ right: "1px",
107
107
  top: "2px",
108
108
  bottom: "2px",
109
- left: "24px",
109
+ left: "25px",
110
110
  transition: {
111
111
  ease: "backIn"
112
112
  }
@@ -162,7 +162,7 @@ const ToggleSwitch = ({
162
162
  }
163
163
  >
164
164
  <Center>
165
- <Cluster justify="stretch" align="center">
165
+ <Cluster justify="stretch" align="center" overflow="visible">
166
166
  <Cover minHeight="100%" singleChild>
167
167
  <Box
168
168
  minWidth="100%"
@@ -43,7 +43,7 @@ const Popover = ({
43
43
  }
44
44
  };
45
45
 
46
- const triggerRef = useOutsideClickHook(() => handleTogglePopover(false));
46
+ const triggerRef = useOutsideClick(() => handleTogglePopover(false));
47
47
 
48
48
  return (
49
49
  <Box padding="0" extraStyles={`position: relative; ${extraStyles}`}>