@koobiq/react-components 0.0.1-beta.14 → 0.0.1-beta.16
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/Collections/Item.d.ts +1 -1
- package/dist/components/Collections/Item.js +2 -3
- package/dist/components/Collections/Section.d.ts +1 -1
- package/dist/components/Collections/Section.js +2 -3
- package/dist/components/Dialog/components/DialogCloseButton.d.ts +2 -2
- package/dist/style.css +4 -0
- package/package.json +5 -5
|
@@ -8,7 +8,7 @@ export type ItemProps<T> = AriaItemProps<T> & {
|
|
|
8
8
|
/** Unique identifier for testing purposes. */
|
|
9
9
|
'data-testid'?: string | number;
|
|
10
10
|
};
|
|
11
|
-
export declare function Item<T>(
|
|
11
|
+
export declare function Item<T>(_props: ItemProps<T>): null;
|
|
12
12
|
export declare namespace Item {
|
|
13
13
|
var getCollectionNode: unknown;
|
|
14
14
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { Item as Item$1 } from "@koobiq/react-primitives";
|
|
4
3
|
const ItemInner = Item$1;
|
|
5
|
-
function Item(
|
|
6
|
-
return
|
|
4
|
+
function Item(_props) {
|
|
5
|
+
return null;
|
|
7
6
|
}
|
|
8
7
|
Item.getCollectionNode = ItemInner.getCollectionNode;
|
|
9
8
|
export {
|
|
@@ -10,7 +10,7 @@ export type SectionProps<T> = {
|
|
|
10
10
|
/** Item objects in the section. */
|
|
11
11
|
items?: AriaSectionProps<T>['items'];
|
|
12
12
|
};
|
|
13
|
-
export declare function Section<T>(
|
|
13
|
+
export declare function Section<T>(_props: SectionProps<T>): null;
|
|
14
14
|
export declare namespace Section {
|
|
15
15
|
var getCollectionNode: unknown;
|
|
16
16
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
2
|
import { Section as Section$1 } from "@koobiq/react-primitives";
|
|
4
3
|
const SectionInner = Section$1;
|
|
5
|
-
function Section(
|
|
6
|
-
return
|
|
4
|
+
function Section(_props) {
|
|
5
|
+
return null;
|
|
7
6
|
}
|
|
8
7
|
Section.getCollectionNode = SectionInner.getCollectionNode;
|
|
9
8
|
export {
|
|
@@ -15,8 +15,8 @@ export declare const DialogCloseButton: import("react").ForwardRefExoticComponen
|
|
|
15
15
|
startIcon?: import("react").ReactNode;
|
|
16
16
|
endIcon?: import("react").ReactNode;
|
|
17
17
|
'data-testid'?: string | number;
|
|
18
|
-
onHoverStart?: (e: import("@react-
|
|
19
|
-
onHoverEnd?: (e: import("@react-
|
|
18
|
+
onHoverStart?: (e: import("@koobiq/react-primitives").HoverEvent) => void;
|
|
19
|
+
onHoverEnd?: (e: import("@koobiq/react-primitives").HoverEvent) => void;
|
|
20
20
|
} & {
|
|
21
21
|
as?: "button" | undefined;
|
|
22
22
|
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
package/dist/style.css
CHANGED
|
@@ -1435,6 +1435,7 @@
|
|
|
1435
1435
|
color: var(--checkbox-color);
|
|
1436
1436
|
align-items: flex-start;
|
|
1437
1437
|
display: inline-flex;
|
|
1438
|
+
position: relative;
|
|
1438
1439
|
}
|
|
1439
1440
|
|
|
1440
1441
|
.kbq-checkbox-checkbox-dbb3d9 {
|
|
@@ -2188,6 +2189,7 @@
|
|
|
2188
2189
|
color: var(--radio-color);
|
|
2189
2190
|
align-items: flex-start;
|
|
2190
2191
|
display: inline-flex;
|
|
2192
|
+
position: relative;
|
|
2191
2193
|
}
|
|
2192
2194
|
|
|
2193
2195
|
.kbq-radio-circle-a0903b {
|
|
@@ -2332,6 +2334,7 @@
|
|
|
2332
2334
|
gap: var(--kbq-size-s);
|
|
2333
2335
|
align-items: flex-start;
|
|
2334
2336
|
display: inline-flex;
|
|
2337
|
+
position: relative;
|
|
2335
2338
|
}
|
|
2336
2339
|
|
|
2337
2340
|
.kbq-toggle-track-03a806 {
|
|
@@ -2650,6 +2653,7 @@
|
|
|
2650
2653
|
inline-size: calc(100% - var(--modal-window-offset) * 2);
|
|
2651
2654
|
max-block-size: calc(100vh - var(--modal-window-offset) * 2);
|
|
2652
2655
|
transition: opacity var(--kbq-transition-slow), transform var(--kbq-transition-slow);
|
|
2656
|
+
display: flex;
|
|
2653
2657
|
position: absolute;
|
|
2654
2658
|
inset-block-start: var(--modal-window-offset);
|
|
2655
2659
|
inset-inline-start: 50%;
|
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.16",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@koobiq/design-tokens": "^3.12.1",
|
|
28
28
|
"@types/react-transition-group": "^4.4.12",
|
|
29
29
|
"react-transition-group": "^4.4.5",
|
|
30
|
-
"@koobiq/
|
|
31
|
-
"@koobiq/react-icons": "0.0.1-beta.
|
|
32
|
-
"@koobiq/react-
|
|
33
|
-
"@koobiq/
|
|
30
|
+
"@koobiq/logger": "0.0.1-beta.16",
|
|
31
|
+
"@koobiq/react-icons": "0.0.1-beta.16",
|
|
32
|
+
"@koobiq/react-core": "0.0.1-beta.16",
|
|
33
|
+
"@koobiq/react-primitives": "0.0.1-beta.16"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@koobiq/design-tokens": "^3.11.2",
|