zaravand-ui 4.1.2 → 4.2.1

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,7 +2,7 @@ import type * as React from "react";
2
2
  import type { VariantProps } from "class-variance-authority";
3
3
  import { inputVariants } from "./Input.variant";
4
4
  export interface InputProps extends VariantProps<typeof inputVariants> {
5
- type?: "number" | "password" | "text" | "search" | "money" | "username";
5
+ type?: "number" | "password" | "text" | "search" | "money" | "username" | "percent" | "decimal" | "year";
6
6
  title?: string;
7
7
  required?: boolean;
8
8
  /**
@@ -13,6 +13,7 @@ export declare const actionIconClassName = "zui:size-4";
13
13
  export declare const pagingToggleIconClassName = "zui:size-6";
14
14
  export declare const rowActionButtonClassName = "zui:cursor-pointer zui:border-0 zui:bg-transparent zui:shadow-none zui:hover:bg-transparent zui:hover:shadow-none zui:active:bg-transparent zui:focus-visible:ring-0 zui:disabled:cursor-not-allowed";
15
15
  export declare const actionsColumnClassName = "zui:px-3";
16
+ export declare const actionsColumnStickyClassName = "zui:sticky zui:left-0 zui:z-10";
16
17
  export declare const rowNumberColumnClassName = "zui:px-3";
17
18
  export declare const searchInputPlaceholder = "\u062C\u0633\u062A\u062C\u0648 \u06A9\u0646\u06CC\u062F";
18
19
  export declare const searchInputAriaLabel = "\u062C\u0633\u062A\u062C\u0648\u06CC \u062C\u062F\u0648\u0644";
@@ -1,5 +1,6 @@
1
1
  import type * as React from 'react';
2
2
  import type { DynamicTableRow, TablePaginationToken, TableRowId, TableRowIdResolver, TableSchemaColumn, TableSortDirection } from './Table.interface';
3
+ export declare const ACTIONS_COLUMN_WIDTH_PX = 112;
3
4
  export declare function resolveColumnWidthPercentages(visibleColumns: TableSchemaColumn[], shouldShowRowNumbers: boolean, hasRowActions: boolean): {
4
5
  rowNumberColumnStyle: React.CSSProperties | undefined;
5
6
  columnStyleByKey: Record<string, React.CSSProperties>;