@gobolt/genesis 0.7.2-beta.1 → 0.7.3
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/GlobalHeader/GlobalHeader.d.ts +15 -0
- package/dist/components/GlobalHeader/index.d.ts +2 -0
- package/dist/components/Tag/Tag.d.ts +10 -0
- package/dist/components/Tag/index.d.ts +2 -0
- package/dist/components/Tag/styles.d.ts +9 -0
- package/dist/components/index.d.ts +4 -2
- package/dist/index.cjs +857 -1821
- package/dist/index.js +858 -1822
- package/package.json +5 -5
- package/dist/components/SidePanel/SidePanel.d.ts +0 -30
- package/dist/components/SidePanel/index.d.ts +0 -2
- package/dist/components/SidePanel/styles.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gobolt/genesis",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
4
4
|
"description": "genesis design system",
|
|
5
5
|
"author": "gobolt",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"prepublishOnly": "npm run build",
|
|
65
65
|
"start": "storybook dev -p 6006",
|
|
66
66
|
"storybook": "storybook dev -p 6006",
|
|
67
|
-
"build-storybook": "storybook build",
|
|
67
|
+
"build-storybook": "NODE_OPTIONS=--max-old-space-size=4096 storybook build",
|
|
68
68
|
"test": "vitest run",
|
|
69
69
|
"coverage": "vitest run --coverage",
|
|
70
70
|
"generate": "tsx ./lab/generate/generate-component --name",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@mdx-js/react": "^3.0.1",
|
|
94
94
|
"@rollup/plugin-alias": "^5.1.1",
|
|
95
95
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
96
|
-
"@rollup/plugin-terser": "^0.
|
|
96
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
97
97
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
98
98
|
"@storybook/addon-a11y": "^9.1.3",
|
|
99
99
|
"@storybook/addon-docs": "^9.1.3",
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
"@types/jest": "^29.5.11",
|
|
109
109
|
"@types/react": "^18.2.37",
|
|
110
110
|
"@types/react-dom": "^18.2.15",
|
|
111
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
112
|
-
"@typescript-eslint/parser": "^
|
|
111
|
+
"@typescript-eslint/eslint-plugin": "^8.58.2",
|
|
112
|
+
"@typescript-eslint/parser": "^8.58.2",
|
|
113
113
|
"@vitejs/plugin-react": "^4.2.1",
|
|
114
114
|
"@vitest/browser": "^3.0.8",
|
|
115
115
|
"@vitest/ui": "^3.0.8",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AvatarProps, ButtonProps, OverflowMenuItem } from '../..';
|
|
2
|
-
import { ReactNode } from 'react';
|
|
3
|
-
type SidePanelAction = {
|
|
4
|
-
label: string;
|
|
5
|
-
btnProps?: ButtonProps;
|
|
6
|
-
menuItemProps?: Omit<React.ComponentProps<typeof OverflowMenuItem>, "children" | "onClick">;
|
|
7
|
-
onClick: () => void;
|
|
8
|
-
};
|
|
9
|
-
export interface SidePanelProps {
|
|
10
|
-
type: "full" | "float";
|
|
11
|
-
open: boolean;
|
|
12
|
-
closable?: boolean;
|
|
13
|
-
children?: ReactNode;
|
|
14
|
-
placement?: "left" | "right";
|
|
15
|
-
header: {
|
|
16
|
-
avatar?: AvatarProps;
|
|
17
|
-
title: string;
|
|
18
|
-
description?: string;
|
|
19
|
-
showBackBtn?: boolean;
|
|
20
|
-
actions?: SidePanelAction[];
|
|
21
|
-
onClose: () => void;
|
|
22
|
-
onBackBtnClick?: () => void;
|
|
23
|
-
};
|
|
24
|
-
footer?: {
|
|
25
|
-
show?: boolean;
|
|
26
|
-
actions?: SidePanelAction[];
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
declare const SidePanel: ({ type, open, closable, children, placement, header, footer, }: SidePanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export default SidePanel;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
-
export declare const StyledSidePanel: any;
|
|
3
|
-
export declare const ScrollableContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
-
interface StickyHeaderProperties {
|
|
5
|
-
theme?: GenesisTheme;
|
|
6
|
-
}
|
|
7
|
-
export declare const StickyHeader: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('../..').TileProps, StickyHeaderProperties>> & string & Omit<({ children, dataTestId, className, style, isHorizontal, }: import('../..').TileProps) => import("react/jsx-runtime").JSX.Element, keyof import('react').Component<any, {}, any>>;
|
|
8
|
-
export {};
|