@koobiq/react-components 0.0.1-beta.10 → 0.0.1-beta.12
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/dist/components/Popover/Popover.js +4 -2
- package/dist/style.css +3 -1
- package/package.json +10 -5
|
@@ -142,12 +142,14 @@ const PopoverInner = (props) => {
|
|
|
142
142
|
};
|
|
143
143
|
const Popover = forwardRef(
|
|
144
144
|
(props, ref) => {
|
|
145
|
-
const { open, ...other } = props;
|
|
145
|
+
const { open, onOpenChange, defaultOpen, ...other } = props;
|
|
146
146
|
const state = useOverlayTriggerState({
|
|
147
147
|
isOpen: open,
|
|
148
|
+
onOpenChange,
|
|
149
|
+
defaultOpen,
|
|
148
150
|
...other
|
|
149
151
|
});
|
|
150
|
-
return /* @__PURE__ */ jsx(PopoverInner, { popoverRef: ref, ...
|
|
152
|
+
return /* @__PURE__ */ jsx(PopoverInner, { popoverRef: ref, ...other, state });
|
|
151
153
|
}
|
|
152
154
|
);
|
|
153
155
|
Popover.displayName = "Popover";
|
package/dist/style.css
CHANGED
|
@@ -2937,6 +2937,8 @@
|
|
|
2937
2937
|
}
|
|
2938
2938
|
|
|
2939
2939
|
.kbq-listsection-heading-5bd9e3 {
|
|
2940
|
+
-webkit-user-select: none;
|
|
2941
|
+
user-select: none;
|
|
2940
2942
|
box-sizing: border-box;
|
|
2941
2943
|
padding: var(--kbq-size-s) var(--kbq-size-m);
|
|
2942
2944
|
}
|
|
@@ -3067,7 +3069,7 @@
|
|
|
3067
3069
|
display: flex;
|
|
3068
3070
|
}
|
|
3069
3071
|
|
|
3070
|
-
.kbq-fieldselect-0f0f5e:focus
|
|
3072
|
+
.kbq-fieldselect-0f0f5e:focus {
|
|
3071
3073
|
outline-color: var(--field-input-outline-color);
|
|
3072
3074
|
}
|
|
3073
3075
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@koobiq/react-components",
|
|
3
|
-
"version": "0.0.1-beta.
|
|
3
|
+
"version": "0.0.1-beta.12",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -17,15 +17,20 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"directory": "packages/components",
|
|
23
|
+
"url": "git+https://github.com/koobiq/react-components.git"
|
|
24
|
+
},
|
|
20
25
|
"sideEffects": false,
|
|
21
26
|
"dependencies": {
|
|
22
27
|
"@koobiq/design-tokens": "^3.12.1",
|
|
23
28
|
"@types/react-transition-group": "^4.4.12",
|
|
24
29
|
"react-transition-group": "^4.4.5",
|
|
25
|
-
"@koobiq/
|
|
26
|
-
"@koobiq/react-
|
|
27
|
-
"@koobiq/react-
|
|
28
|
-
"@koobiq/
|
|
30
|
+
"@koobiq/react-icons": "0.0.1-beta.12",
|
|
31
|
+
"@koobiq/react-primitives": "0.0.1-beta.12",
|
|
32
|
+
"@koobiq/react-core": "0.0.1-beta.12",
|
|
33
|
+
"@koobiq/logger": "0.0.1-beta.12"
|
|
29
34
|
},
|
|
30
35
|
"peerDependencies": {
|
|
31
36
|
"@koobiq/design-tokens": "^3.11.2",
|