@namuna-nur/ui-kit 1.10.1 → 1.10.4

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.
@@ -2,6 +2,7 @@ import * as React from 'react';
2
2
  export declare const Message: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import('..').MessageType & {
3
3
  isMine: boolean;
4
4
  senderName: string;
5
+ selected?: boolean;
5
6
  firstMessage?: boolean;
6
7
  lastMessage?: boolean;
7
8
  classNames?: import('..').MessageClasses;
@@ -11,7 +11,6 @@ export type MessageType = {
11
11
  };
12
12
  export type MessageTokens = {
13
13
  base: string;
14
- bubbleTail: string;
15
14
  wrapper: {
16
15
  above: string;
17
16
  below: string;
@@ -32,6 +31,7 @@ export type MessageClasses = {
32
31
  export type MessageProps = HTMLAttributes<HTMLDivElement> & MessageType & {
33
32
  isMine: boolean;
34
33
  senderName: string;
34
+ selected?: boolean;
35
35
  firstMessage?: boolean;
36
36
  lastMessage?: boolean;
37
37
  classNames?: MessageClasses;
@@ -1,2 +1,2 @@
1
1
  import { ChatMessageProps } from '..';
2
- export declare const ChatMessage: ({ currentUserId, senderId, senderName, messages, avatar, isGroupChat, selectedMessages, onSelectedMessage, visibleSelections, }: ChatMessageProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const ChatMessage: ({ currentUserId, senderId, senderName, messages, avatar, isGroupChat, selectedMessages, onSelectedMessage, visibleSelections, classNames, }: ChatMessageProps) => import("react/jsx-runtime").JSX.Element;
@@ -16,4 +16,10 @@ export type ChatMessageProps = {
16
16
  selectedMessages?: string[];
17
17
  onSelectedMessage?: (id: string | undefined) => void;
18
18
  visibleSelections?: boolean;
19
+ classNames?: {
20
+ root?: string;
21
+ list?: string;
22
+ item?: string;
23
+ selection?: string;
24
+ };
19
25
  };
@@ -1,6 +1,6 @@
1
1
  export declare const tableTokens: {
2
2
  root: string;
3
- wrapper: string;
3
+ container: string;
4
4
  table: string;
5
5
  tableHeader: string;
6
6
  firstHeaderCell: string;
@@ -8,7 +8,6 @@ export declare const tableTokens: {
8
8
  firstBodyCell: string;
9
9
  bodyCell: string;
10
10
  row: string;
11
- footerCell: string;
12
11
  emptyRow: string;
13
12
  headerText: string;
14
13
  sortIcon: string;
@@ -16,8 +16,9 @@ export type TableProps<T> = {
16
16
  columns: ColumnDef<T, unknown>[];
17
17
  data: T[];
18
18
  classNames?: {
19
- wrapper?: string;
20
19
  root?: string;
20
+ container?: string;
21
+ table?: string;
21
22
  firstBodyCell?: string;
22
23
  firstHeaderCell?: string;
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@namuna-nur/ui-kit",
3
- "version": "1.10.1",
3
+ "version": "1.10.4",
4
4
  "description": "UI Kit for Namuna NUR",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",