@gobolt/genesis 0.6.2 → 0.7.0
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/Input/Input.d.ts +0 -1
- package/dist/components/Table/TableControls/SecondaryTableControlsRow.d.ts +1 -5
- package/dist/components/Table/TableControls/TableControls.d.ts +0 -6
- package/dist/components/Table/TableControls/index.d.ts +1 -1
- package/dist/components/Typography/styles.d.ts +2 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/index.cjs +564 -524
- package/dist/index.js +564 -524
- package/package.json +2 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BreadcrumbItem } from '../Breadcrumb/Breadcrumb.types';
|
|
3
|
+
import { OverflowMenuItemProps } from '../OverflowMenuItem';
|
|
4
|
+
export interface GlobalHeaderProps {
|
|
5
|
+
title?: string;
|
|
6
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
7
|
+
onBack?: () => void;
|
|
8
|
+
menuItems?: OverflowMenuItemProps[];
|
|
9
|
+
primaryAction?: {
|
|
10
|
+
label: React.ReactNode;
|
|
11
|
+
onClick: () => void;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
declare const GlobalHeader: ({ title, breadcrumbs, onBack, menuItems, primaryAction, }: GlobalHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default GlobalHeader;
|
|
@@ -9,7 +9,6 @@ export interface InputProps extends BaseInputProps {
|
|
|
9
9
|
onChange?: (actionEvent: InputEvent) => void;
|
|
10
10
|
value?: string;
|
|
11
11
|
rest?: HTMLInputElement;
|
|
12
|
-
isPassword?: boolean;
|
|
13
12
|
}
|
|
14
13
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>>;
|
|
15
14
|
export default Input;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { Change } from '../Table';
|
|
2
2
|
import { InfiniteScrollChangeEvent } from '../InfiniteScrollTable/types';
|
|
3
3
|
import * as React from "react";
|
|
4
|
-
type Item = {
|
|
5
|
-
label: string;
|
|
6
|
-
value: unknown;
|
|
7
|
-
};
|
|
8
4
|
export type Groups = {
|
|
9
|
-
[key: string]: string[]
|
|
5
|
+
[key: string]: string[];
|
|
10
6
|
};
|
|
11
7
|
export interface SecondaryTableControlsRowProps {
|
|
12
8
|
groups: Groups | null;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { PrimaryTableControlsRowProps } from './PrimaryTableControlsRow';
|
|
2
2
|
import { SecondaryTableControlsRowProps } from './SecondaryTableControlsRow';
|
|
3
3
|
import { ActionEvent, TableEventPayload } from '../../../types/events';
|
|
4
|
-
export declare const TABLE_CONTROLS_EVENTS: {
|
|
5
|
-
GROUP_ITEM_CLICK: string;
|
|
6
|
-
ORDER_CLICK: string;
|
|
7
|
-
PRIMARY_SORT_CHANGE: string;
|
|
8
|
-
INPUT_CHANGE: string;
|
|
9
|
-
};
|
|
10
4
|
export type TableControlsData = {
|
|
11
5
|
primaryTableRowData: PrimaryTableControlsRowProps;
|
|
12
6
|
secondaryTableRowData?: SecondaryTableControlsRowProps;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default
|
|
1
|
+
export { default } from './TableControls';
|
|
2
2
|
export type { TableControlsProps } from './TableControls';
|
|
@@ -5,11 +5,12 @@ interface TypographyStyledProperties {
|
|
|
5
5
|
$themeType?: keyof typeof TYPE;
|
|
6
6
|
variant?: string;
|
|
7
7
|
state?: keyof typeof STATE;
|
|
8
|
-
breakpoint?: keyof GenesisTheme["typography"];
|
|
9
8
|
color?: string;
|
|
10
9
|
fontWeight?: number;
|
|
11
10
|
fontSize?: string;
|
|
12
11
|
$isFullWidth?: boolean;
|
|
12
|
+
$letterSpacing?: string;
|
|
13
|
+
$lineHeight?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare const Headline: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
15
16
|
ref?: ((instance: HTMLElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLElement> | null | undefined;
|
|
@@ -27,6 +27,8 @@ export { default as ErrorBoundaryFallback } from './ErrorBoundaryFallback';
|
|
|
27
27
|
export type { ErrorBoundaryFallbackProps } from './ErrorBoundaryFallback';
|
|
28
28
|
export { default as Form } from './Form';
|
|
29
29
|
export type { FormProps } from './Form';
|
|
30
|
+
export { default as GlobalHeader } from './GlobalHeader';
|
|
31
|
+
export type { GlobalHeaderProps } from './GlobalHeader';
|
|
30
32
|
export { default as UnitNumber } from './Glyph/custom/UnitNumber';
|
|
31
33
|
export type { UnitNumberProps } from './Glyph/custom/UnitNumber';
|
|
32
34
|
export { default as Input } from './Input';
|
|
@@ -68,7 +70,6 @@ export type { TableWithControlsProps } from './TableWithControls';
|
|
|
68
70
|
export { useTable } from './Table';
|
|
69
71
|
export { useTableWithControls } from './TableWithControls';
|
|
70
72
|
export type { UseTableConfig } from './Table';
|
|
71
|
-
export { TABLE_CONTROLS_EVENTS } from './Table/TableControls';
|
|
72
73
|
export { default as Tabs } from './Tabs';
|
|
73
74
|
export type { TabsProps } from './Tabs';
|
|
74
75
|
export { default as Tile } from './Tile';
|