obeyaka-ui 0.1.7 → 0.1.9
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/README.md +17 -0
- package/dist/index.d.ts +6 -4
- package/dist/index.es.js +288 -271
- package/dist/index.js +3 -3
- package/dist/types/components/organisms/Navbar/NavbarProvider.d.ts +1 -2
- package/dist/types/components/organisms/Navbar/NavbarProvider.d.ts.map +1 -1
- package/dist/types/components/organisms/Navbar/index.d.ts +1 -0
- package/dist/types/components/organisms/Navbar/index.d.ts.map +1 -1
- package/dist/types/components/organisms/index.d.ts +2 -1
- package/dist/types/components/organisms/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/package.json +3 -2
- package/dist/index.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
|
-
interface NavbarContextType {
|
|
2
|
+
export interface NavbarContextType {
|
|
3
3
|
openedNotificationSidebar: boolean;
|
|
4
4
|
openNotificationSidebar: () => void;
|
|
5
5
|
closeNotificationSidebar: () => void;
|
|
@@ -8,5 +8,4 @@ export declare const NavbarProvider: React.FC<{
|
|
|
8
8
|
children: ReactNode;
|
|
9
9
|
}>;
|
|
10
10
|
export declare const useNavbar: () => NavbarContextType;
|
|
11
|
-
export {};
|
|
12
11
|
//# sourceMappingURL=NavbarProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavbarProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Navbar/NavbarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,
|
|
1
|
+
{"version":3,"file":"NavbarProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Navbar/NavbarProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AAGpE,MAAM,WAAW,iBAAiB;IAChC,yBAAyB,EAAE,OAAO,CAAC;IACnC,uBAAuB,EAAE,MAAM,IAAI,CAAC;IACpC,wBAAwB,EAAE,MAAM,IAAI,CAAC;CACtC;AAID,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAiB5D,CAAC;AAEF,eAAO,MAAM,SAAS,QAAO,iBAM5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Navbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/organisms/Navbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -6,7 +6,7 @@ export { ShareMenu } from './ShareMenu';
|
|
|
6
6
|
export { ShareButton } from './ShareMenu/ShareButton';
|
|
7
7
|
export { InvitedUserCard } from './InvitedUserCard';
|
|
8
8
|
export { NotificationSidebar } from './NotificationSidebar';
|
|
9
|
-
export { Navbar } from './Navbar';
|
|
9
|
+
export { Navbar, NavbarProvider, useNavbar } from './Navbar';
|
|
10
10
|
export { WorkspaceSelector } from './WorkspaceSelector';
|
|
11
11
|
export { WorkspaceSelectorItem } from './WorkspaceSelector/WorkspaceSelectorItem';
|
|
12
12
|
export type { GenericTableProps, GenericTableColumnConfig, GenericTableSelectOption, GenericTableActionConfig, GenericTableColumnType, } from './GenericTable/GenericTable.types';
|
|
@@ -17,6 +17,7 @@ export type { AvatarSelectorProps, EmojiAvatarSelectorState, EmojiAvatarProps as
|
|
|
17
17
|
export type { AvatarIconName } from './AvatarSelector';
|
|
18
18
|
export type { ShareMenuProps, ShareUser, UserRole, InputTagsProps, } from './ShareMenu/ShareMenu.types';
|
|
19
19
|
export type { NavbarProps } from './Navbar/Navbar.types';
|
|
20
|
+
export type { NavbarContextType } from './Navbar/NavbarProvider';
|
|
20
21
|
export type { WorkspaceSelectorProps, Workspace, MenuItem as WorkspaceMenuItem, } from './WorkspaceSelector/WorkspaceSelector.types';
|
|
21
22
|
export type { WorkspaceSelectorItemProps } from './WorkspaceSelector/WorkspaceSelectorItem';
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA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BAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EACV,sBAAsB,EACtB,SAAS,EACT,QAAQ,IAAI,iBAAiB,GAC9B,MAAM,6CAA6C,CAAC;AACrD,YAAY,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export { ThemeProvider } from '
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './theme';
|
|
3
|
+
export { ThemeProvider } from './theme/ThemeProvider';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "obeyaka-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "Professional UI component library with React, TypeScript, Storybook, and Mantine",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"build:storybook": "storybook build",
|
|
23
23
|
"build:app": "vite build",
|
|
24
24
|
"build:lib": "vite build --config vite.config.lib.ts",
|
|
25
|
-
"build:types": "tsc --project tsconfig.build.json
|
|
25
|
+
"build:types": "tsc --project tsconfig.build.json",
|
|
26
|
+
"postbuild:types": "node scripts/fix-dts-paths.js",
|
|
26
27
|
"prepublishOnly": "npm run build",
|
|
27
28
|
"preview": "vite preview",
|
|
28
29
|
"test": "echo \"Error: no test specified\" && exit 1",
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAG7B,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC"}
|