@koobiq/react-components 0.0.1-beta.11 → 0.0.1-beta.13
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/Alert/Alert.js +1 -1
- package/dist/components/Alert/types.d.ts +1 -1
- package/dist/components/Button/types.d.ts +4 -5
- package/dist/components/Collections/Item.d.ts +14 -0
- package/dist/components/Collections/Item.js +11 -0
- package/dist/components/{List/ListSection.d.ts → Collections/Section.d.ts} +6 -6
- package/dist/components/Collections/Section.js +11 -0
- package/dist/components/Collections/index.d.ts +2 -0
- package/dist/components/Dialog/DialogContext.js +1 -1
- package/dist/components/Dialog/components/DialogCloseButton.d.ts +14 -1
- package/dist/components/Dialog/components/DialogCloseButton.js +2 -2
- package/dist/components/Grid/Grid.d.ts +8 -2
- package/dist/components/Grid/Grid.js +5 -2
- package/dist/components/IconButton/types.d.ts +5 -4
- package/dist/components/Link/types.d.ts +4 -4
- package/dist/components/List/List.d.ts +11 -2
- package/dist/components/List/List.js +13 -4
- package/dist/components/List/List.module.css.js +0 -3
- package/dist/components/List/components/ListItemText/ListItemText.js +26 -0
- package/dist/components/List/components/ListItemText/ListItemText.module.css.js +11 -0
- package/dist/components/List/components/ListOption/ListOption.d.ts +3 -2
- package/dist/components/List/components/ListOption/ListOption.js +10 -15
- package/dist/components/List/components/ListSection/ListSection.d.ts +3 -2
- package/dist/components/List/components/ListSection/ListSection.js +1 -4
- package/dist/components/List/index.d.ts +3 -3
- package/dist/components/List/types.d.ts +2 -6
- package/dist/components/Modal/Modal.d.ts +9 -1
- package/dist/components/Modal/Modal.js +10 -4
- package/dist/components/Modal/index.d.ts +15 -2
- package/dist/components/Modal/index.js +11 -0
- package/dist/components/Popover/Popover.d.ts +9 -1
- package/dist/components/Popover/Popover.js +14 -6
- package/dist/components/Popover/index.d.ts +15 -2
- package/dist/components/Popover/index.js +11 -0
- package/dist/components/Popover/types.d.ts +4 -2
- package/dist/components/Popover/types.js +9 -1
- package/dist/components/Select/Select.d.ts +11 -2
- package/dist/components/Select/Select.js +9 -2
- package/dist/components/Select/types.d.ts +1 -1
- package/dist/components/SidePanel/SidePanel.d.ts +9 -1
- package/dist/components/SidePanel/SidePanel.js +10 -4
- package/dist/components/SidePanel/index.d.ts +15 -2
- package/dist/components/SidePanel/index.js +11 -0
- package/dist/index.js +22 -21
- package/dist/style.css +146 -134
- package/dist/styles/utility.d.ts +2 -0
- package/dist/styles/utility.js +3 -1
- package/dist/styles/utility.module.css.js +5 -1
- package/dist/types.d.ts +1 -0
- package/package.json +10 -5
- package/dist/components/List/ListItem.d.ts +0 -6
- package/dist/components/List/ListItem.js +0 -11
- package/dist/components/List/ListSection.js +0 -11
- package/dist/components/List/components/ListOption/ListOption.module.css.js +0 -23
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.13",
|
|
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/logger": "0.0.1-beta.
|
|
26
|
-
"@koobiq/react-core": "0.0.1-beta.
|
|
27
|
-
"@koobiq/react-
|
|
28
|
-
"@koobiq/react-
|
|
30
|
+
"@koobiq/logger": "0.0.1-beta.13",
|
|
31
|
+
"@koobiq/react-core": "0.0.1-beta.13",
|
|
32
|
+
"@koobiq/react-icons": "0.0.1-beta.13",
|
|
33
|
+
"@koobiq/react-primitives": "0.0.1-beta.13"
|
|
29
34
|
},
|
|
30
35
|
"peerDependencies": {
|
|
31
36
|
"@koobiq/design-tokens": "^3.11.2",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ItemProps } from '@koobiq/react-primitives';
|
|
2
|
-
export type ListItemProps<T> = ItemProps<T>;
|
|
3
|
-
export declare function ListItem<T>(props: ListItemProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare namespace ListItem {
|
|
5
|
-
var getCollectionNode: unknown;
|
|
6
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Item } from "@koobiq/react-primitives";
|
|
4
|
-
const ItemInner = Item;
|
|
5
|
-
function ListItem(props) {
|
|
6
|
-
return /* @__PURE__ */ jsx(Item, { ...props });
|
|
7
|
-
}
|
|
8
|
-
ListItem.getCollectionNode = ItemInner.getCollectionNode;
|
|
9
|
-
export {
|
|
10
|
-
ListItem
|
|
11
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Section } from "@koobiq/react-primitives";
|
|
4
|
-
const SectionInner = Section;
|
|
5
|
-
function ListSection(props) {
|
|
6
|
-
return /* @__PURE__ */ jsx(Section, { ...props });
|
|
7
|
-
}
|
|
8
|
-
ListSection.getCollectionNode = SectionInner.getCollectionNode;
|
|
9
|
-
export {
|
|
10
|
-
ListSection
|
|
11
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const base = "kbq-listoption-8693c5";
|
|
2
|
-
const hovered = "kbq-listoption-hovered-163e16";
|
|
3
|
-
const pressed = "kbq-listoption-pressed-292310";
|
|
4
|
-
const focusVisible = "kbq-listoption-focusVisible-dcff25";
|
|
5
|
-
const selected = "kbq-listoption-selected-012293";
|
|
6
|
-
const disabled = "kbq-listoption-disabled-dafd94";
|
|
7
|
-
const s = {
|
|
8
|
-
base,
|
|
9
|
-
hovered,
|
|
10
|
-
pressed,
|
|
11
|
-
focusVisible,
|
|
12
|
-
selected,
|
|
13
|
-
disabled
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
base,
|
|
17
|
-
s as default,
|
|
18
|
-
disabled,
|
|
19
|
-
focusVisible,
|
|
20
|
-
hovered,
|
|
21
|
-
pressed,
|
|
22
|
-
selected
|
|
23
|
-
};
|