Skip to content

Commit

Permalink
Version 2.1.1, Add cell components to bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
mainsmirnov committed Apr 17, 2024
1 parent d60e576 commit 61b1e04
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xelene/tgui",
"version": "2.1.0",
"version": "2.1.1",
"description": "",
"main": "dist/cjs/index.js",
"module": "dist/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { Tappable, TappableProps } from 'components/Service/Tappable/Tappable';
import { Subheadline } from 'components/Typography/Subheadline/Subheadline';
import { Text } from 'components/Typography/Text/Text';

interface ButtonCellProps extends Omit<TappableProps, 'Component'> {
export interface ButtonCellProps extends Omit<TappableProps, 'Component'> {
/** Determines the button cell's visual theme, influencing color and style. */
mode?: 'default' | 'destructive';
/** Element or component displayed before the main content, adding visual context or functionality. */
Expand Down
6 changes: 6 additions & 0 deletions src/components/Blocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ export type { CardProps } from './Card/Card';
export { Card } from './Card/Card';
export type { CellProps } from './Cell/Cell';
export { Cell } from './Cell/Cell';
export type { ButtonCellProps } from './Cell/components/ButtonCell/ButtonCell';
export { ButtonCell } from './Cell/components/ButtonCell/ButtonCell';
export type { InfoProps } from './Cell/components/Info/Info';
export { Info } from './Cell/components/Info/Info';
export type { NavigationProps } from './Cell/components/Navigation/Navigation';
export { Navigation } from './Cell/components/Navigation/Navigation';
export type { IconButtonProps } from './IconButton/IconButton';
export { IconButton } from './IconButton/IconButton';
export type { IconContainerProps } from './IconContainer/IconContainer';
Expand Down

0 comments on commit 61b1e04

Please sign in to comment.