zaravand-ui 7.0.2 → 7.1.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.
Files changed (52) hide show
  1. package/dist/components/Input/Input.formatting.cjs +1 -1
  2. package/dist/components/Input/Input.formatting.js +35 -17
  3. package/dist/components/Input/Input.interface.d.cts +5 -1
  4. package/dist/components/Input/Input.interface.d.ts +5 -1
  5. package/dist/components/OtpInput/OtpInput.cjs +1 -0
  6. package/dist/components/OtpInput/OtpInput.d.cts +10 -0
  7. package/dist/components/OtpInput/OtpInput.d.ts +10 -0
  8. package/dist/components/OtpInput/OtpInput.interface.d.cts +49 -0
  9. package/dist/components/OtpInput/OtpInput.interface.d.ts +49 -0
  10. package/dist/components/OtpInput/OtpInput.js +150 -0
  11. package/dist/components/OtpInput/OtpInput.variant.cjs +1 -0
  12. package/dist/components/OtpInput/OtpInput.variant.d.cts +6 -0
  13. package/dist/components/OtpInput/OtpInput.variant.d.ts +6 -0
  14. package/dist/components/OtpInput/OtpInput.variant.js +15 -0
  15. package/dist/components/Table/Table.cjs +1 -1
  16. package/dist/components/Table/Table.interface.d.cts +1 -1
  17. package/dist/components/Table/Table.interface.d.ts +1 -1
  18. package/dist/components/Table/Table.js +294 -270
  19. package/dist/components/Table/TableActiveFilters.d.cts +1 -1
  20. package/dist/components/Table/TableActiveFilters.d.ts +1 -1
  21. package/dist/components/Table/TableColumnFilter.cjs +1 -1
  22. package/dist/components/Table/TableColumnFilter.d.cts +3 -0
  23. package/dist/components/Table/TableColumnFilter.d.ts +3 -0
  24. package/dist/components/Table/TableColumnFilter.js +58 -28
  25. package/dist/components/Table/TableFilterRegistry.cjs +1 -0
  26. package/dist/components/Table/TableFilterRegistry.d.cts +13 -0
  27. package/dist/components/Table/TableFilterRegistry.d.ts +13 -0
  28. package/dist/components/Table/TableFilterRegistry.js +5 -0
  29. package/dist/components/VerticalTabs/VerticalTabs.cjs +1 -0
  30. package/dist/components/VerticalTabs/VerticalTabs.d.cts +4 -0
  31. package/dist/components/VerticalTabs/VerticalTabs.d.ts +4 -0
  32. package/dist/components/VerticalTabs/VerticalTabs.interface.d.cts +41 -0
  33. package/dist/components/VerticalTabs/VerticalTabs.interface.d.ts +41 -0
  34. package/dist/components/VerticalTabs/VerticalTabs.js +196 -0
  35. package/dist/components/VerticalTabs/VerticalTabs.variant.cjs +1 -0
  36. package/dist/components/VerticalTabs/VerticalTabs.variant.d.cts +19 -0
  37. package/dist/components/VerticalTabs/VerticalTabs.variant.d.ts +19 -0
  38. package/dist/components/VerticalTabs/VerticalTabs.variant.js +48 -0
  39. package/dist/components/shared/responsiveScale.cjs +1 -1
  40. package/dist/components/shared/responsiveScale.d.cts +3 -1
  41. package/dist/components/shared/responsiveScale.d.ts +3 -1
  42. package/dist/components/shared/responsiveScale.js +2 -2
  43. package/dist/config/messages.cjs +1 -1
  44. package/dist/config/messages.d.cts +4 -0
  45. package/dist/config/messages.d.ts +4 -0
  46. package/dist/config/messages.js +2 -0
  47. package/dist/index.cjs +1 -1
  48. package/dist/index.css +1 -1
  49. package/dist/index.d.cts +6 -1
  50. package/dist/index.d.ts +6 -1
  51. package/dist/index.js +19 -16
  52. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -26,6 +26,8 @@ export { default as Dialog } from "./components/Dialog/Dialog.cjs";
26
26
  export type { DialogProps } from "./components/Dialog/Dialog.interface.cjs";
27
27
  export { default as Input } from "./components/Input/Input.cjs";
28
28
  export type { InputProps } from "./components/Input/Input.interface.cjs";
29
+ export { default as OtpInput } from "./components/OtpInput/OtpInput.cjs";
30
+ export type { OtpInputProps } from "./components/OtpInput/OtpInput.interface.cjs";
29
31
  export { default as Pagination } from "./components/Pagination/Pagination.cjs";
30
32
  export type { PaginationProps } from "./components/Pagination/Pagination.interface.cjs";
31
33
  export { default as RadioGroup } from "./components/RadioGroup/RadioGroup.cjs";
@@ -43,7 +45,10 @@ export type { SpinnerProps } from "./components/Spinner/Spinner.interface.cjs";
43
45
  export { default as Switch } from "./components/Switch/Switch.cjs";
44
46
  export type { SwitchProps } from "./components/Switch/Switch.interface.cjs";
45
47
  export { default as Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from "./components/Table/Table.cjs";
46
- export type { DynamicTableRow, TableAction, TableActiveSort, TableAddRowHandler, TableBodyProps, TableCellProps, TableCellSelectChangeHandler, TableCellSelectChangeHandlerInput, TableColumnAlign, TableColumnViewType, TableDeleteRowHandler, TableEditRowHandler, TableFieldType, TableFieldValue, TableFilterValue, TableFilterValues, TableFooterProps, TableHeaderProps, TableHeadProps, TableImportExcelHandler, TableMutationHookResult, TablePagingMode, TablePrintHandler, TablePrintHandlerInput, TableProps, TableRowActionInput, TableRowId, TableRowIdResolver, TableRowProps, TableRowState, TableSchema, TableSchemaColumn, TableSchemaFilter, TableSchemaPagination, TableSchemaSort, TableSelectOption, TableSelectOptionsSource, TableSortDirection, } from "./components/Table/Table.interface.cjs";
48
+ export { default as TableColumnFilter } from "./components/Table/TableColumnFilter.cjs";
49
+ export type { DynamicTableRow, TableAction, TableActiveSort, TableAddRowHandler, TableBodyProps, TableCellProps, TableCellSelectChangeHandler, TableCellSelectChangeHandlerInput, TableColumnAlign, TableColumnFilterProps, TableColumnViewType, TableDeleteRowHandler, TableEditRowHandler, TableFieldType, TableFieldValue, TableFilterValue, TableFilterValues, TableFooterProps, TableHeaderProps, TableHeadProps, TableImportExcelHandler, TableMutationHookResult, TablePagingMode, TablePrintHandler, TablePrintHandlerInput, TableProps, TableRowActionInput, TableRowId, TableRowIdResolver, TableRowProps, TableRowState, TableSchema, TableSchemaColumn, TableSchemaFilter, TableSchemaPagination, TableSchemaSort, TableSelectOption, TableSelectOptionsSource, TableSortDirection, } from "./components/Table/Table.interface.cjs";
50
+ export { default as VerticalTabs } from "./components/VerticalTabs/VerticalTabs.cjs";
51
+ export type { VerticalTabsBadgeTone, VerticalTabsItem, VerticalTabsProps, VerticalTabsVariant, } from "./components/VerticalTabs/VerticalTabs.interface.cjs";
47
52
  export { default as Tabs } from "./components/Tabs/Tabs.cjs";
48
53
  export { TabsContent, TabsList, TabsTrigger } from "./components/Tabs/Tabs.cjs";
49
54
  export type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, } from "./components/Tabs/Tabs.interface.cjs";
package/dist/index.d.ts CHANGED
@@ -26,6 +26,8 @@ export { default as Dialog } from "./components/Dialog/Dialog.js";
26
26
  export type { DialogProps } from "./components/Dialog/Dialog.interface.js";
27
27
  export { default as Input } from "./components/Input/Input.js";
28
28
  export type { InputProps } from "./components/Input/Input.interface.js";
29
+ export { default as OtpInput } from "./components/OtpInput/OtpInput.js";
30
+ export type { OtpInputProps } from "./components/OtpInput/OtpInput.interface.js";
29
31
  export { default as Pagination } from "./components/Pagination/Pagination.js";
30
32
  export type { PaginationProps } from "./components/Pagination/Pagination.interface.js";
31
33
  export { default as RadioGroup } from "./components/RadioGroup/RadioGroup.js";
@@ -43,7 +45,10 @@ export type { SpinnerProps } from "./components/Spinner/Spinner.interface.js";
43
45
  export { default as Switch } from "./components/Switch/Switch.js";
44
46
  export type { SwitchProps } from "./components/Switch/Switch.interface.js";
45
47
  export { default as Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from "./components/Table/Table.js";
46
- export type { DynamicTableRow, TableAction, TableActiveSort, TableAddRowHandler, TableBodyProps, TableCellProps, TableCellSelectChangeHandler, TableCellSelectChangeHandlerInput, TableColumnAlign, TableColumnViewType, TableDeleteRowHandler, TableEditRowHandler, TableFieldType, TableFieldValue, TableFilterValue, TableFilterValues, TableFooterProps, TableHeaderProps, TableHeadProps, TableImportExcelHandler, TableMutationHookResult, TablePagingMode, TablePrintHandler, TablePrintHandlerInput, TableProps, TableRowActionInput, TableRowId, TableRowIdResolver, TableRowProps, TableRowState, TableSchema, TableSchemaColumn, TableSchemaFilter, TableSchemaPagination, TableSchemaSort, TableSelectOption, TableSelectOptionsSource, TableSortDirection, } from "./components/Table/Table.interface.js";
48
+ export { default as TableColumnFilter } from "./components/Table/TableColumnFilter.js";
49
+ export type { DynamicTableRow, TableAction, TableActiveSort, TableAddRowHandler, TableBodyProps, TableCellProps, TableCellSelectChangeHandler, TableCellSelectChangeHandlerInput, TableColumnAlign, TableColumnFilterProps, TableColumnViewType, TableDeleteRowHandler, TableEditRowHandler, TableFieldType, TableFieldValue, TableFilterValue, TableFilterValues, TableFooterProps, TableHeaderProps, TableHeadProps, TableImportExcelHandler, TableMutationHookResult, TablePagingMode, TablePrintHandler, TablePrintHandlerInput, TableProps, TableRowActionInput, TableRowId, TableRowIdResolver, TableRowProps, TableRowState, TableSchema, TableSchemaColumn, TableSchemaFilter, TableSchemaPagination, TableSchemaSort, TableSelectOption, TableSelectOptionsSource, TableSortDirection, } from "./components/Table/Table.interface.js";
50
+ export { default as VerticalTabs } from "./components/VerticalTabs/VerticalTabs.js";
51
+ export type { VerticalTabsBadgeTone, VerticalTabsItem, VerticalTabsProps, VerticalTabsVariant, } from "./components/VerticalTabs/VerticalTabs.interface.js";
47
52
  export { default as Tabs } from "./components/Tabs/Tabs.js";
48
53
  export { TabsContent, TabsList, TabsTrigger } from "./components/Tabs/Tabs.js";
49
54
  export type { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps, } from "./components/Tabs/Tabs.interface.js";
package/dist/index.js CHANGED
@@ -16,19 +16,22 @@ import D, { AvatarGroup as O } from "./components/Avatar/Avatar.js";
16
16
  import k from "./components/Checkbox/Checkbox.js";
17
17
  import { formatPersianDate as A, formatPersianDateRangeLabel as j } from "./components/DatePicker/DatePicker.utils.js";
18
18
  import M from "./components/DatePicker/DatePicker.js";
19
- import N from "./components/Pagination/Pagination.js";
20
- import P, { RadioGroupItem as F } from "./components/RadioGroup/RadioGroup.js";
21
- import I from "./components/Skeleton/Skeleton.js";
22
- import L, { TabsContent as R, TabsList as z, TabsTrigger as B } from "./components/Tabs/Tabs.js";
23
- import V, { SelectContent as H, SelectGroup as U, SelectItem as W, SelectLabel as G, SelectSeparator as K, SelectTrigger as q, SelectValue as J } from "./components/Select/Select.js";
24
- import Y from "./components/Sheet/Sheet.js";
25
- import X from "./components/Switch/Switch.js";
26
- import { TableBody as Z, TableCell as Q, TableFooter as $, TableHead as ee, TableHeader as te, TableRow as ne } from "./components/Table/TableParts.js";
27
- import re from "./components/Table/Table.js";
28
- import ie from "./components/Textarea/Textarea.js";
29
- import ae from "./components/TimePicker/TimePicker.js";
30
- import oe, { ToastAction as se, ToastClose as ce, ToastDescription as le, ToastProvider as ue, ToastTitle as de, ToastViewport as fe } from "./components/Toast/Toast.js";
31
- import pe from "./components/Toast/ToastHost.js";
32
- import me from "./components/Toggle/Toggle.js";
33
- import he from "./components/Uploader/Uploader.js";
34
- export { v as Accordion, y as AccordionContent, b as AccordionItem, x as AccordionTrigger, D as Avatar, O as AvatarGroup, p as Button, k as Checkbox, S as DEFAULT_TOAST_DURATION, M as DatePicker, m as Dialog, _ as Input, C as PERSISTENT_DURATION, N as Pagination, P as RadioGroup, F as RadioGroupItem, V as Select, H as SelectContent, U as SelectGroup, W as SelectItem, G as SelectLabel, K as SelectSeparator, q as SelectTrigger, J as SelectValue, Y as Sheet, I as Skeleton, f as Spinner, X as Switch, re as Table, Z as TableBody, Q as TableCell, $ as TableFooter, ee as TableHead, te as TableHeader, ne as TableRow, L as Tabs, R as TabsContent, z as TabsList, B as TabsTrigger, ie as Textarea, ae as TimePicker, oe as Toast, se as ToastAction, ce as ToastClose, le as ToastDescription, pe as ToastHost, ue as ToastProvider, de as ToastTitle, fe as ToastViewport, me as Toggle, h as Tooltip, g as TooltipProvider, he as Uploader, u as ZUI_SCALE_CSS_VARIABLE, s as ZuiConfigProvider, d as applyScale, e as applyTheme, t as createThemeCssVariables, a as enMessages, o as faMessages, A as formatPersianDate, j as formatPersianDateRangeLabel, w as hasToastListeners, l as localizeDigits, n as resolveTheme, T as showToast, E as subscribeToast, r as theme, i as themeCssVariables, c as useZuiConfig };
19
+ import N from "./components/OtpInput/OtpInput.js";
20
+ import P from "./components/Pagination/Pagination.js";
21
+ import F, { RadioGroupItem as I } from "./components/RadioGroup/RadioGroup.js";
22
+ import L from "./components/Skeleton/Skeleton.js";
23
+ import R, { TabsContent as z, TabsList as B, TabsTrigger as V } from "./components/Tabs/Tabs.js";
24
+ import H, { SelectContent as U, SelectGroup as W, SelectItem as G, SelectLabel as K, SelectSeparator as q, SelectTrigger as J, SelectValue as Y } from "./components/Select/Select.js";
25
+ import X from "./components/Sheet/Sheet.js";
26
+ import Z from "./components/Switch/Switch.js";
27
+ import Q from "./components/Table/TableColumnFilter.js";
28
+ import { TableBody as $, TableCell as ee, TableFooter as te, TableHead as ne, TableHeader as re, TableRow as ie } from "./components/Table/TableParts.js";
29
+ import ae from "./components/Table/Table.js";
30
+ import oe from "./components/VerticalTabs/VerticalTabs.js";
31
+ import se from "./components/Textarea/Textarea.js";
32
+ import ce from "./components/TimePicker/TimePicker.js";
33
+ import le, { ToastAction as ue, ToastClose as de, ToastDescription as fe, ToastProvider as pe, ToastTitle as me, ToastViewport as he } from "./components/Toast/Toast.js";
34
+ import ge from "./components/Toast/ToastHost.js";
35
+ import _e from "./components/Toggle/Toggle.js";
36
+ import ve from "./components/Uploader/Uploader.js";
37
+ export { v as Accordion, y as AccordionContent, b as AccordionItem, x as AccordionTrigger, D as Avatar, O as AvatarGroup, p as Button, k as Checkbox, S as DEFAULT_TOAST_DURATION, M as DatePicker, m as Dialog, _ as Input, N as OtpInput, C as PERSISTENT_DURATION, P as Pagination, F as RadioGroup, I as RadioGroupItem, H as Select, U as SelectContent, W as SelectGroup, G as SelectItem, K as SelectLabel, q as SelectSeparator, J as SelectTrigger, Y as SelectValue, X as Sheet, L as Skeleton, f as Spinner, Z as Switch, ae as Table, $ as TableBody, ee as TableCell, Q as TableColumnFilter, te as TableFooter, ne as TableHead, re as TableHeader, ie as TableRow, R as Tabs, z as TabsContent, B as TabsList, V as TabsTrigger, se as Textarea, ce as TimePicker, le as Toast, ue as ToastAction, de as ToastClose, fe as ToastDescription, ge as ToastHost, pe as ToastProvider, me as ToastTitle, he as ToastViewport, _e as Toggle, h as Tooltip, g as TooltipProvider, ve as Uploader, oe as VerticalTabs, u as ZUI_SCALE_CSS_VARIABLE, s as ZuiConfigProvider, d as applyScale, e as applyTheme, t as createThemeCssVariables, a as enMessages, o as faMessages, A as formatPersianDate, j as formatPersianDateRangeLabel, w as hasToastListeners, l as localizeDigits, n as resolveTheme, T as showToast, E as subscribeToast, r as theme, i as themeCssVariables, c as useZuiConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zaravand-ui",
3
- "version": "7.0.2",
3
+ "version": "7.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",