@tempots/beatui 0.95.0 → 1.0.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.
Files changed (239) hide show
  1. package/dist/{ar-BVXPzVJB.cjs → ar-CuI1Jgt6.cjs} +1 -1
  2. package/dist/{ar-B4jDJwHQ.js → ar-DaKbK_t8.js} +87 -11
  3. package/dist/auth/index.cjs.js +1 -1
  4. package/dist/auth/index.es.js +1 -1
  5. package/dist/{auth-divider-BPwKk8MW.js → auth-divider-CbME_yVQ.js} +87 -86
  6. package/dist/auth-divider-MMhfmLBu.cjs +1 -0
  7. package/dist/beatui.css +1628 -545
  8. package/dist/beatui.tailwind.css +1628 -545
  9. package/dist/better-auth/index.cjs.js +1 -1
  10. package/dist/better-auth/index.es.js +6 -6
  11. package/dist/codehighlight/index.cjs.js +22 -0
  12. package/dist/codehighlight/index.es.js +76 -0
  13. package/dist/colors-B-p6IzX9.cjs +1 -0
  14. package/dist/{colors-BY0Ja_bf.js → colors-DwufPN8S.js} +18 -18
  15. package/dist/{de-Dd33yWzb.js → de-3MTPDS1i.js} +82 -6
  16. package/dist/{de-BdfPZskW.cjs → de-DthHehbh.cjs} +1 -1
  17. package/dist/{deep-merge-C8dSqIXI.js → deep-merge-BzIheQtH.js} +511 -517
  18. package/dist/deep-merge-EkjEgK0N.cjs +1 -0
  19. package/dist/{duration-input-IuFWywO5.cjs → duration-input-ClgYjeBa.cjs} +1 -1
  20. package/dist/{duration-input-DFZwkg6M.js → duration-input-DGzmIImj.js} +5 -5
  21. package/dist/{editor-toolbar-group-DiJFgGcI.js → editor-toolbar-group-Crlu1QJw.js} +3 -3
  22. package/dist/{editor-toolbar-group-BCBfu8pG.cjs → editor-toolbar-group-mkL4QozO.cjs} +1 -1
  23. package/dist/es-B6GJLk9h.cjs +1 -0
  24. package/dist/{es-jHMT3_7O.js → es-DwMUvBeU.js} +94 -18
  25. package/dist/{fa-eX3_BAZR.js → fa-0rvQiKrJ.js} +87 -11
  26. package/dist/{fa-BXnP4pbN.cjs → fa-BwgP93iV.cjs} +1 -1
  27. package/dist/{fr-Bj-GjMJm.js → fr-B4i6NzLl.js} +86 -10
  28. package/dist/{fr-HJDhGjI2.cjs → fr-CQzk5zqY.cjs} +1 -1
  29. package/dist/{he-DYgmPPkG.js → he-C71n-hsn.js} +87 -11
  30. package/dist/{he-C6nEVZhN.cjs → he-DcxxvRfs.cjs} +1 -1
  31. package/dist/{hi-DMVSXAJt.cjs → hi-D-KHVWg4.cjs} +1 -1
  32. package/dist/{hi-CgYLonE9.js → hi-xmrXpeVU.js} +87 -11
  33. package/dist/index-B5MAsOC-.cjs +1 -0
  34. package/dist/{index-B8cqD9ny.js → index-C3o9GSH6.js} +106 -105
  35. package/dist/index.cjs.js +4 -4
  36. package/dist/index.es.js +8055 -5285
  37. package/dist/input-container-BvEcp7FU.js +275 -0
  38. package/dist/input-container-Di1YvVB_.cjs +1 -0
  39. package/dist/{it-CO2BPqah.js → it-CDZTtOBC.js} +83 -7
  40. package/dist/{it-DhfVcjKb.cjs → it-D344Dutu.cjs} +1 -1
  41. package/dist/{ja-Bt6fGS_Q.cjs → ja-BNgnDZ27.cjs} +1 -1
  42. package/dist/{ja-BrzwjH8T.js → ja-Zz1LzidW.js} +91 -15
  43. package/dist/json-schema/index.cjs.js +1 -1
  44. package/dist/json-schema/index.es.js +261 -257
  45. package/dist/json-schema-display/index.cjs.js +1 -1
  46. package/dist/json-schema-display/index.es.js +2 -2
  47. package/dist/json-structure/index.cjs.js +1 -1
  48. package/dist/json-structure/index.es.js +132 -133
  49. package/dist/{ko-D-lJ4wYQ.js → ko-9laUsZDL.js} +90 -14
  50. package/dist/{ko-DfAaBGrz.cjs → ko-D-WJ9NK7.cjs} +1 -1
  51. package/dist/lexical/index.cjs.js +2 -39
  52. package/dist/lexical/index.es.js +2056 -20626
  53. package/dist/markdown/index.cjs.js +1 -1
  54. package/dist/markdown/index.es.js +41 -4
  55. package/dist/{menu-CV85y3Xf.js → menu-B8yoDMRS.js} +23 -23
  56. package/dist/menu-B92oSDct.cjs +1 -0
  57. package/dist/modal-BT0jjDqX.cjs +1 -0
  58. package/dist/{modal-CwZuWiSK.js → modal-DBguyX-b.js} +9 -9
  59. package/dist/monaco/index.cjs.js +2 -2
  60. package/dist/monaco/index.es.js +7 -7
  61. package/dist/{nl-CNWBQjK5.cjs → nl-CrqUlFie.cjs} +1 -1
  62. package/dist/{nl-ClsworIe.js → nl-Dcll9fVA.js} +86 -10
  63. package/dist/notice-B5wTXoTq.cjs +1 -0
  64. package/dist/{notice-D7hYFM5A.js → notice-BKcyJD5w.js} +37 -37
  65. package/dist/oneof-branch-detection-J_DYEEcD.js +1077 -0
  66. package/dist/oneof-branch-detection-ZUBZ6hqy.cjs +1 -0
  67. package/dist/{pl-CqHTeu3-.cjs → pl-9UksIrvX.cjs} +1 -1
  68. package/dist/{pl-WTwLAxnV.js → pl-Dm9N9Gbr.js} +83 -7
  69. package/dist/prosemirror/index.cjs.js +3 -1
  70. package/dist/prosemirror/index.es.js +636 -4
  71. package/dist/{pt-CgkjJnsG.js → pt-CFi5cn0k.js} +88 -12
  72. package/dist/{pt-BQmsiqbo.cjs → pt-_kfdzwqi.cjs} +1 -1
  73. package/dist/{ru-CtgH7OY9.js → ru-CEhZUw8R.js} +91 -15
  74. package/dist/{ru-CG56A2To.cjs → ru-CW1WNNlr.cjs} +1 -1
  75. package/dist/stack-BLMteGTn.js +15 -0
  76. package/dist/stack-dwLevGa2.cjs +1 -0
  77. package/dist/tailwind/preset.cjs.js +1 -1
  78. package/dist/tailwind/preset.es.js +2 -2
  79. package/dist/tailwind/vite-plugin.cjs.js +1 -1
  80. package/dist/tailwind/vite-plugin.es.js +1 -1
  81. package/dist/text-input-DfqXolVe.js +55 -0
  82. package/dist/text-input-X_q01NsY.cjs +1 -0
  83. package/dist/toolbar-DY0ax2Qd.js +130 -0
  84. package/dist/toolbar-DoKdYXIL.cjs +1 -0
  85. package/dist/{tr-DE7_VtKu.cjs → tr-B6GIRegf.cjs} +1 -1
  86. package/dist/{tr-D1O1vEmr.js → tr-ZmnVDhLP.js} +81 -5
  87. package/dist/{translations-yu4gNqlP.js → translations-A4kR7CW8.js} +1 -1
  88. package/dist/{translations-DyCmyLE_.js → translations-B1_yyDUK.js} +207 -129
  89. package/dist/{translations-DBxIjvWR.cjs → translations-C81buKAw.cjs} +1 -1
  90. package/dist/translations-Dbx7L7Q1.cjs +1 -0
  91. package/dist/types/beatui-i18n/default.d.ts +71 -0
  92. package/dist/types/beatui-i18n/locales/en.d.ts +71 -0
  93. package/dist/types/beatui-i18n/translations.d.ts +71 -0
  94. package/dist/types/codehighlight/code-highlight.d.ts +21 -0
  95. package/dist/types/codehighlight/index.d.ts +14 -0
  96. package/dist/types/components/button/toggle-button.d.ts +4 -4
  97. package/dist/types/components/data/avatar.d.ts +3 -1
  98. package/dist/types/components/data/badge.d.ts +10 -18
  99. package/dist/types/components/data/column-filter-panel.d.ts +31 -0
  100. package/dist/types/components/data/column-filter.d.ts +110 -0
  101. package/dist/types/components/data/column-header-menu.d.ts +42 -0
  102. package/dist/types/components/data/data-source.d.ts +190 -0
  103. package/dist/types/components/data/data-table-body.d.ts +12 -0
  104. package/dist/types/components/data/data-table-column-toggle.d.ts +4 -0
  105. package/dist/types/components/data/data-table-context.d.ts +53 -0
  106. package/dist/types/components/data/data-table-header.d.ts +6 -0
  107. package/dist/types/components/data/data-table-resolve.d.ts +26 -0
  108. package/dist/types/components/data/data-table-types.d.ts +201 -0
  109. package/dist/types/components/data/data-table.d.ts +38 -0
  110. package/dist/types/components/data/data-toolbar.d.ts +44 -0
  111. package/dist/types/components/data/date-picker-shared.d.ts +55 -0
  112. package/dist/types/components/data/date-picker.d.ts +58 -0
  113. package/dist/types/components/data/date-range-picker.d.ts +56 -0
  114. package/dist/types/components/data/filter.d.ts +268 -0
  115. package/dist/types/components/data/index.d.ts +13 -4
  116. package/dist/types/components/data/indicator.d.ts +41 -0
  117. package/dist/types/components/data/progress-bar.d.ts +2 -2
  118. package/dist/types/components/data/selection-checkbox.d.ts +63 -0
  119. package/dist/types/components/data/skeleton.d.ts +1 -1
  120. package/dist/types/components/data/sortable-header.d.ts +55 -0
  121. package/dist/types/components/data/unstyled-drop-zone.d.ts +2 -2
  122. package/dist/types/components/form/control/control.d.ts +9 -9
  123. package/dist/types/components/form/input/advanced-slider.d.ts +6 -6
  124. package/dist/types/components/form/input/appearance-selector.d.ts +9 -2
  125. package/dist/types/components/form/input/bigint-input.d.ts +3 -3
  126. package/dist/types/components/form/input/checkbox-input.d.ts +6 -7
  127. package/dist/types/components/form/input/color-input.d.ts +1 -1
  128. package/dist/types/components/form/input/color-swatch-input.d.ts +3 -3
  129. package/dist/types/components/form/input/combobox-input.d.ts +5 -5
  130. package/dist/types/components/form/input/combobox-tags-input.d.ts +5 -5
  131. package/dist/types/components/form/input/date-input.d.ts +4 -4
  132. package/dist/types/components/form/input/date-time-input.d.ts +4 -4
  133. package/dist/types/components/form/input/dropdown-input.d.ts +5 -5
  134. package/dist/types/components/form/input/editable-text.d.ts +2 -2
  135. package/dist/types/components/form/input/index.d.ts +1 -0
  136. package/dist/types/components/form/input/input-container.d.ts +1 -1
  137. package/dist/types/components/form/input/input-options.d.ts +28 -1
  138. package/dist/types/components/form/input/mask-input.d.ts +8 -2
  139. package/dist/types/components/form/input/native-select.d.ts +3 -3
  140. package/dist/types/components/form/input/nullable-bigint-input.d.ts +3 -3
  141. package/dist/types/components/form/input/nullable-date-input.d.ts +2 -2
  142. package/dist/types/components/form/input/nullable-date-time-input.d.ts +2 -2
  143. package/dist/types/components/form/input/nullable-rating-input.d.ts +8 -8
  144. package/dist/types/components/form/input/nullable-uuid-input.d.ts +4 -4
  145. package/dist/types/components/form/input/number-input.d.ts +3 -3
  146. package/dist/types/components/form/input/otp-input.d.ts +12 -12
  147. package/dist/types/components/form/input/rating-input.d.ts +7 -8
  148. package/dist/types/components/form/input/select-tags-input.d.ts +5 -5
  149. package/dist/types/components/form/input/switch.d.ts +2 -2
  150. package/dist/types/components/form/input/tri-state-checkbox-input.d.ts +82 -0
  151. package/dist/types/components/form/input/uuid-input.d.ts +2 -2
  152. package/dist/types/components/json-structure/controls/uuid-control.d.ts +1 -1
  153. package/dist/types/components/layout/card.d.ts +66 -0
  154. package/dist/types/components/layout/collapse.d.ts +2 -2
  155. package/dist/types/components/layout/flex.d.ts +26 -0
  156. package/dist/types/components/layout/index.d.ts +1 -0
  157. package/dist/types/components/lexical/floating/slash-command-palette.d.ts +2 -2
  158. package/dist/types/components/media/pdf-page-viewer.d.ts +8 -5
  159. package/dist/types/components/misc/index.d.ts +1 -0
  160. package/dist/types/components/misc/loading-overlay.d.ts +29 -0
  161. package/dist/types/components/misc/notice.d.ts +4 -4
  162. package/dist/types/components/misc/notification-provider.d.ts +9 -3
  163. package/dist/types/components/misc/notification.d.ts +9 -9
  164. package/dist/types/components/navigation/breadcrumbs.d.ts +1 -1
  165. package/dist/types/components/navigation/menu.d.ts +6 -6
  166. package/dist/types/components/navigation/pagination.d.ts +17 -4
  167. package/dist/types/components/navigation/sidebar/sidebar-link.d.ts +2 -2
  168. package/dist/types/components/navigation/tabs/tabs.d.ts +17 -8
  169. package/dist/types/components/navigation/toolbar/toolbar.d.ts +12 -6
  170. package/dist/types/components/overlay/announcement-bar.d.ts +12 -4
  171. package/dist/types/components/overlay/dialogs.d.ts +2 -2
  172. package/dist/types/components/overlay/modal.d.ts +9 -2
  173. package/dist/types/components/overlay/tooltip.d.ts +6 -6
  174. package/dist/types/components/theme/types.d.ts +15 -4
  175. package/dist/types/lexical/plugins/slash-commands.d.ts +1 -1
  176. package/dist/types/tokens/z-index.d.ts +18 -18
  177. package/dist/types/utils/use-animated-toggle.d.ts +12 -4
  178. package/dist/{ur-ZJgsSpG2.cjs → ur-CtFl_tz6.cjs} +1 -1
  179. package/dist/{ur-BcuB7IqE.js → ur-yYgj3NmT.js} +87 -11
  180. package/dist/use-animated-toggle-C3asw_Sg.js +207 -0
  181. package/dist/use-animated-toggle-cKcuItmz.cjs +1 -0
  182. package/dist/use-form-CaW192gw.cjs +2 -0
  183. package/dist/{use-form-CfxvyTfd.js → use-form-Dn6v2tEh.js} +153 -152
  184. package/dist/utils-DmEuG3Np.cjs +1 -0
  185. package/dist/utils-vUtP6iPG.js +165 -0
  186. package/dist/{vi-D0rQ3dIx.js → vi-D5u4CLQO.js} +88 -12
  187. package/dist/{vi-BOgLRkuK.cjs → vi-DyCZSpsk.cjs} +1 -1
  188. package/dist/widget-customization-B49MeU4E.cjs +1 -0
  189. package/dist/widget-customization-DEiQ_31d.js +1063 -0
  190. package/dist/{zh-DoYqiZO1.js → zh-B0kwMMer.js} +90 -14
  191. package/dist/{zh-BTZ8OZ4H.cjs → zh-C3ZxMQKb.cjs} +1 -1
  192. package/package.json +208 -37
  193. package/dist/_commonjsHelpers-DKOUU3wS.cjs +0 -1
  194. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  195. package/dist/auth-divider-BgaQ8ifw.cjs +0 -1
  196. package/dist/colors-BI0YhONJ.cjs +0 -1
  197. package/dist/deep-merge-ChJQbUKq.cjs +0 -1
  198. package/dist/es-C8TpneCm.cjs +0 -1
  199. package/dist/hls.light.min-C6xKDzRR.cjs +0 -27
  200. package/dist/hls.light.min-hEMf_E8u.js +0 -8311
  201. package/dist/index-1JaBwDB-.js +0 -921
  202. package/dist/index-CN10Cyqr.cjs +0 -1
  203. package/dist/index-CTcbhnPw.cjs +0 -4
  204. package/dist/index-DF7RFzD9.cjs +0 -1
  205. package/dist/index-D_zOXmU5.cjs +0 -36
  206. package/dist/index-DfPkCwdC.js +0 -2709
  207. package/dist/index-vowHNIPH.js +0 -14308
  208. package/dist/index-yOU4Ceaq.js +0 -68
  209. package/dist/index-zQ3IYJFH.cjs +0 -1
  210. package/dist/input-container-BWYHj0Iq.cjs +0 -1
  211. package/dist/input-container-DMoVdH6E.js +0 -263
  212. package/dist/menu-De_-sGeb.cjs +0 -1
  213. package/dist/modal-CiGmgsOI.cjs +0 -1
  214. package/dist/notice-CPZQuxcA.cjs +0 -1
  215. package/dist/oneof-branch-detection-BFxukD63.cjs +0 -8
  216. package/dist/oneof-branch-detection-izpPjBCR.js +0 -6290
  217. package/dist/stack-4VUGISn6.cjs +0 -1
  218. package/dist/stack-Bm-UZosx.js +0 -879
  219. package/dist/string-B9vVyfq3.cjs +0 -1
  220. package/dist/string-DYyMxBl-.js +0 -19
  221. package/dist/text-input-BLupB3cU.js +0 -45
  222. package/dist/text-input-M6WBhhVj.cjs +0 -1
  223. package/dist/timer-BJHOsuS6.cjs +0 -1
  224. package/dist/timer-Rd2sKnvH.js +0 -65
  225. package/dist/toolbar-Be1eU0qU.js +0 -118
  226. package/dist/toolbar-WWv5kcYG.cjs +0 -1
  227. package/dist/translations-OOsMRpX9.cjs +0 -1
  228. package/dist/types/components/data/calendar-shared.d.ts +0 -59
  229. package/dist/types/components/data/calendar.d.ts +0 -107
  230. package/dist/types/components/data/icon-badge.d.ts +0 -14
  231. package/dist/types/components/data/range-calendar.d.ts +0 -104
  232. package/dist/types/components/data/tag.d.ts +0 -51
  233. package/dist/use-animated-toggle-C7PTmnZi.js +0 -195
  234. package/dist/use-animated-toggle-DrqK7nUS.cjs +0 -1
  235. package/dist/use-form-ClA0ZRco.cjs +0 -2
  236. package/dist/utils-DEbsp9Q9.js +0 -129
  237. package/dist/utils-DIUEhA-Z.cjs +0 -1
  238. package/dist/widget-customization-CLZNGavL.js +0 -1042
  239. package/dist/widget-customization-DtEEo35Y.cjs +0 -1
@@ -83,15 +83,15 @@ export interface MenuItemOptions {
83
83
  */
84
84
  content: TNode;
85
85
  /**
86
- * Optional content displayed at the start (left side) of the menu item,
86
+ * Optional content displayed before the menu item label,
87
87
  * typically used for icons or selection indicators.
88
88
  */
89
- startContent?: TNode;
89
+ before?: TNode;
90
90
  /**
91
- * Optional content displayed at the end (right side) of the menu item,
91
+ * Optional content displayed after the menu item label,
92
92
  * typically used for keyboard shortcuts or badges.
93
93
  */
94
- endContent?: TNode;
94
+ after?: TNode;
95
95
  /**
96
96
  * Whether the menu item is disabled. Disabled items are skipped by keyboard
97
97
  * navigation and cannot be activated.
@@ -177,8 +177,8 @@ export declare function Menu(options: MenuOptions): Renderable;
177
177
  * MenuItem({
178
178
  * key: 'edit',
179
179
  * content: 'Edit',
180
- * startContent: Icon({ icon: 'edit', size: 'sm' }),
181
- * endContent: html.span(attr.class('shortcut'), 'Ctrl+E'),
180
+ * before: Icon({ icon: 'edit', size: 'sm' }),
181
+ * after: html.span(attr.class('shortcut'), 'Ctrl+E'),
182
182
  * onClick: () => console.log('edit clicked'),
183
183
  * })
184
184
  * ```
@@ -1,5 +1,6 @@
1
1
  import { Value } from '@tempots/dom';
2
- import { ControlSize } from '../theme';
2
+ import { ControlSize, PaginationVariant } from '../theme';
3
+ import { ThemeColorName } from '../../tokens';
3
4
  /**
4
5
  * Configuration options for the {@link Pagination} component.
5
6
  */
@@ -9,7 +10,7 @@ export interface PaginationOptions {
9
10
  /** Total number of pages available. */
10
11
  totalPages: Value<number>;
11
12
  /** Callback invoked when a page is selected. */
12
- onPageChange: (page: number) => void;
13
+ onChange: (page: number) => void;
13
14
  /** Number of page siblings to show around the current page. @default 1 */
14
15
  siblings?: Value<number>;
15
16
  /** Whether to show Previous/Next navigation buttons. @default true */
@@ -18,6 +19,10 @@ export interface PaginationOptions {
18
19
  showFirstLast?: Value<boolean>;
19
20
  /** Size affecting button dimensions and font size. @default 'md' */
20
21
  size?: Value<ControlSize>;
22
+ /** Visual style variant for the pagination items. @default 'filled' */
23
+ variant?: Value<PaginationVariant>;
24
+ /** Theme color for the active page indicator. @default 'primary' */
25
+ color?: Value<ThemeColorName>;
21
26
  /** Whether to distribute items across the full available width. @default false */
22
27
  justify?: Value<boolean>;
23
28
  /** Whether to dynamically adjust the number of visible page numbers to fit available space. @default false */
@@ -46,6 +51,14 @@ export interface PaginationOptions {
46
51
  * ```
47
52
  */
48
53
  export declare function generatePaginationRange(current: number, total: number, siblings: number): (number | 'dots')[];
54
+ /**
55
+ * Generates inline CSS custom properties for pagination theming based on variant and color.
56
+ *
57
+ * @param variant - The visual style variant
58
+ * @param color - The theme color
59
+ * @returns Semicolon-separated CSS custom property declarations
60
+ */
61
+ export declare function generatePaginationStyles(variant: PaginationVariant, color: ThemeColorName): string;
49
62
  /**
50
63
  * A pagination component for navigating through multiple pages of content.
51
64
  *
@@ -68,7 +81,7 @@ export declare function generatePaginationRange(current: number, total: number,
68
81
  * Pagination({
69
82
  * currentPage,
70
83
  * totalPages,
71
- * onPageChange: (page) => {
84
+ * onChange: (page) => {
72
85
  * currentPage.set(page)
73
86
  * // Load page data...
74
87
  * },
@@ -79,4 +92,4 @@ export declare function generatePaginationRange(current: number, total: number,
79
92
  * })
80
93
  * ```
81
94
  */
82
- export declare function Pagination({ currentPage, totalPages, onPageChange, siblings, showPrevNext, showFirstLast, size, justify, responsive, }: PaginationOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
95
+ export declare function Pagination({ currentPage, totalPages, onChange, siblings, showPrevNext, showFirstLast, size, variant, color, justify, responsive, }: PaginationOptions): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
@@ -41,8 +41,8 @@ export type SidebarLinkOptions = {
41
41
  content: TNode;
42
42
  /** Optional icon identifier displayed at the start of the link. */
43
43
  icon?: Value<string>;
44
- /** Optional content displayed at the right side of the link (e.g., badges, counts). */
45
- right?: TNode;
44
+ /** Optional content displayed after the link label (e.g., badges, counts). */
45
+ after?: TNode;
46
46
  /**
47
47
  * Optional inline action button rendered at the end of the link.
48
48
  * Useful for quick actions like delete, settings, or expand/collapse toggles.
@@ -1,7 +1,16 @@
1
1
  import { TNode, Value } from '@tempots/dom';
2
- import { ControlSize, ButtonVariant } from '../../theme';
2
+ import { ControlSize } from '../../theme';
3
3
  import { ThemeColorName } from '../../../tokens';
4
- export type TabsVariant = ButtonVariant | 'underline' | 'pill';
4
+ /**
5
+ * Visual variant for tabs.
6
+ *
7
+ * - `'default'` — Standard tabs with bottom indicator
8
+ * - `'filled'` — Color-filled inactive tabs, white active tab
9
+ * - `'outline'` — Bordered tabs that connect to the panel
10
+ * - `'underline'` — Minimal underline indicator
11
+ * - `'pill'` — Contained segmented-button style
12
+ */
13
+ export type TabsVariant = 'default' | 'filled' | 'outline' | 'underline' | 'pill';
5
14
  export interface TabItem<T extends string> {
6
15
  /** Unique identifier for the tab */
7
16
  key: T;
@@ -22,17 +31,17 @@ export interface TabsOptions<T extends string> {
22
31
  value: Value<T>;
23
32
  /** Callback when tab changes */
24
33
  onChange?: (key: T) => void;
25
- /** Size of the tabs */
34
+ /** Size of the tabs. @default 'md' */
26
35
  size?: Value<ControlSize>;
27
- /** Visual variant */
36
+ /** Visual variant. @default 'default' */
28
37
  variant?: Value<TabsVariant>;
29
- /** Color used by certain variants (e.g., filled) */
38
+ /** Color used by certain variants (e.g., filled). @default 'primary' */
30
39
  color?: Value<ThemeColorName>;
31
- /** Whether tabs are disabled */
40
+ /** Whether tabs are disabled. @default false */
32
41
  disabled?: Value<boolean>;
33
- /** Orientation of the tabs */
42
+ /** Orientation of the tabs. @default 'horizontal' */
34
43
  orientation?: Value<TabsDirection>;
35
- /** Whether to show tab content */
44
+ /** Whether to show tab content. @default true */
36
45
  showContent?: Value<boolean>;
37
46
  /** ARIA label for the tab list */
38
47
  ariaLabel?: Value<string>;
@@ -26,12 +26,15 @@ export interface ToolbarOptions {
26
26
  * @example
27
27
  * ```typescript
28
28
  * Toolbar(
29
+ * { ariaLabel: 'Text formatting' },
29
30
  * ToolbarGroup(
31
+ * {},
30
32
  * ToolbarButton({ onClick: () => bold() }, Icon({ icon: 'bold' })),
31
33
  * ToolbarButton({ onClick: () => italic() }, Icon({ icon: 'italic' })),
32
34
  * ),
33
35
  * ToolbarDivider(),
34
36
  * ToolbarGroup(
37
+ * {},
35
38
  * ToolbarButton({ onClick: () => alignLeft() }, Icon({ icon: 'align-left' })),
36
39
  * ToolbarButton({ onClick: () => alignCenter() }, Icon({ icon: 'align-center' })),
37
40
  * ),
@@ -40,7 +43,7 @@ export interface ToolbarOptions {
40
43
  * )
41
44
  * ```
42
45
  */
43
- export declare function Toolbar(...children: TNode[]): import("@tempots/dom").Renderable;
46
+ export declare function Toolbar(options: ToolbarOptions, ...children: TNode[]): import("@tempots/dom").Renderable;
44
47
  /**
45
48
  * Configuration options for the {@link ToolbarButton} component.
46
49
  * Extends {@link ButtonOptions} with toolbar-specific properties.
@@ -75,7 +78,7 @@ export interface ToolbarButtonOptions extends ButtonOptions {
75
78
  * )
76
79
  * ```
77
80
  */
78
- export declare function ToolbarButton(options: ButtonOptions, ...children: TNode[]): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
81
+ export declare function ToolbarButton(options: ToolbarButtonOptions, ...children: TNode[]): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
79
82
  /**
80
83
  * Configuration options for the {@link ToolbarGroup} component.
81
84
  */
@@ -98,13 +101,14 @@ export interface ToolbarGroupOptions {
98
101
  * @example
99
102
  * ```typescript
100
103
  * ToolbarGroup(
104
+ * { ariaLabel: 'Text style' },
101
105
  * ToolbarButton({ onClick: () => bold() }, Icon({ icon: 'bold' })),
102
106
  * ToolbarButton({ onClick: () => italic() }, Icon({ icon: 'italic' })),
103
107
  * ToolbarButton({ onClick: () => underline() }, Icon({ icon: 'underline' })),
104
108
  * )
105
109
  * ```
106
110
  */
107
- export declare function ToolbarGroup(...children: TNode[]): import("@tempots/dom").Renderable;
111
+ export declare function ToolbarGroup(options: ToolbarGroupOptions, ...children: TNode[]): import("@tempots/dom").Renderable;
108
112
  /**
109
113
  * Visual divider for separating groups of items within a {@link Toolbar}.
110
114
  *
@@ -115,9 +119,10 @@ export declare function ToolbarGroup(...children: TNode[]): import("@tempots/dom
115
119
  * @example
116
120
  * ```typescript
117
121
  * Toolbar(
118
- * ToolbarGroup(boldBtn, italicBtn),
122
+ * {},
123
+ * ToolbarGroup({}, boldBtn, italicBtn),
119
124
  * ToolbarDivider(),
120
- * ToolbarGroup(alignLeftBtn, alignCenterBtn),
125
+ * ToolbarGroup({}, alignLeftBtn, alignCenterBtn),
121
126
  * )
122
127
  * ```
123
128
  */
@@ -133,7 +138,8 @@ export declare function ToolbarDivider(): import("@tempots/dom").Renderable;
133
138
  * @example
134
139
  * ```typescript
135
140
  * Toolbar(
136
- * ToolbarGroup(editBtns),
141
+ * {},
142
+ * ToolbarGroup({}, editBtns),
137
143
  * ToolbarSpacer(),
138
144
  * ToolbarButton({ onClick: save }, 'Save'),
139
145
  * )
@@ -23,17 +23,25 @@ export type AnnouncementBarOptions = {
23
23
  * Callback invoked when the user dismisses the announcement bar.
24
24
  * When provided and `closable` is not explicitly set, the bar is implicitly made dismissible.
25
25
  */
26
- onDismiss?: () => void;
26
+ onClose?: () => void;
27
27
  /**
28
28
  * Additional CSS class names to apply to the announcement bar element.
29
29
  */
30
30
  class?: Value<string>;
31
+ /**
32
+ * Controls where the announcement bar is rendered in the DOM.
33
+ * - `true` (default) - Portals to the document body, fixed at the top of the viewport.
34
+ * - `false` - Renders inline as a child of the current parent element.
35
+ * - A CSS selector string - Portals to the element matching the selector.
36
+ * @default false
37
+ */
38
+ portal?: boolean | string;
31
39
  };
32
40
  /**
33
41
  * Displays a colored announcement bar, typically at the top of a page or container.
34
42
  *
35
43
  * Supports an optional leading icon, user-dismissible close button, and theme color
36
- * customization. When dismissed, the bar is removed from the DOM and the `onDismiss`
44
+ * customization. When dismissed, the bar is removed from the DOM and the `onClose`
37
45
  * callback is invoked.
38
46
  *
39
47
  * @param options - Configuration options controlling color, icon, closability, and styling
@@ -43,7 +51,7 @@ export type AnnouncementBarOptions = {
43
51
  * @example
44
52
  * ```typescript
45
53
  * AnnouncementBar(
46
- * { color: 'warning', closable: true, onDismiss: () => console.log('dismissed') },
54
+ * { color: 'warning', closable: true, onClose: () => console.log('dismissed') },
47
55
  * "You're on our launch Free plan with unlimited resumes and redaction!"
48
56
  * )
49
57
  * ```
@@ -57,4 +65,4 @@ export type AnnouncementBarOptions = {
57
65
  * )
58
66
  * ```
59
67
  */
60
- export declare function AnnouncementBar({ color, icon, closable, onDismiss, class: cls, }: AnnouncementBarOptions, ...children: TNode[]): Renderable;
68
+ export declare function AnnouncementBar({ color, icon, closable, onClose, class: cls, portal: portalTarget, }: AnnouncementBarOptions, ...children: TNode[]): Renderable;
@@ -82,7 +82,7 @@ export declare function ConfirmationDialog(options: ConfirmationDialogOptions, f
82
82
  /**
83
83
  * Visual variant for the {@link AlertDialog}, controlling the default icon and color.
84
84
  */
85
- export type AlertDialogVariant = 'info' | 'success' | 'warning' | 'error';
85
+ export type AlertDialogVariant = 'info' | 'success' | 'warning' | 'danger';
86
86
  /**
87
87
  * Configuration options for the {@link AlertDialog} component.
88
88
  */
@@ -122,7 +122,7 @@ export interface AlertDialogOptions {
122
122
  /**
123
123
  * An alert dialog for displaying important messages to the user.
124
124
  *
125
- * Supports info, success, warning, and error variants with appropriate icons and colors.
125
+ * Supports info, success, warning, and danger variants with appropriate icons and colors.
126
126
  * Has a single acknowledge button. Built on top of {@link Modal}.
127
127
  *
128
128
  * @param options - Configuration options for the alert content
@@ -128,7 +128,13 @@ export declare function Modal(options: ModalOptions, fn: (open: (content: ModalC
128
128
  * )
129
129
  * ```
130
130
  */
131
- export declare function ConfirmModal(options: ModalOptions & {
131
+ /**
132
+ * Configuration options for the {@link ConfirmModal} component.
133
+ *
134
+ * Extends {@link ModalOptions} with confirmation-specific settings for
135
+ * custom button labels and confirm/cancel callbacks.
136
+ */
137
+ export interface ConfirmModalOptions extends ModalOptions {
132
138
  /** Custom label for the confirm button. Falls back to the i18n `confirm` string. */
133
139
  confirmText?: Value<string>;
134
140
  /** Custom label for the cancel button. Falls back to the i18n `cancel` string. */
@@ -137,4 +143,5 @@ export declare function ConfirmModal(options: ModalOptions & {
137
143
  onConfirm?: () => void;
138
144
  /** Callback invoked when the user clicks the cancel button. */
139
145
  onCancel?: () => void;
140
- }, fn: (open: (message: TNode) => void, close: () => void) => TNode): Renderable;
146
+ }
147
+ export declare function ConfirmModal(options: ConfirmModalOptions, fn: (open: (message: TNode) => void, close: () => void) => TNode): Renderable;
@@ -5,17 +5,17 @@ export type TooltipTrigger = FlyoutTrigger;
5
5
  export interface TooltipOptions {
6
6
  /** The tooltip content to display */
7
7
  content: TNode;
8
- /** Placement of the tooltip relative to the trigger element */
8
+ /** Placement of the tooltip relative to the trigger element. @default 'top' */
9
9
  placement?: Value<Placement>;
10
- /** Delay in milliseconds before showing the tooltip on hover */
10
+ /** Delay in milliseconds before showing the tooltip on hover. @default 250 */
11
11
  showDelay?: Value<number>;
12
- /** Delay in milliseconds before hiding the tooltip after mouse leave */
12
+ /** Delay in milliseconds before hiding the tooltip after mouse leave. @default 500 */
13
13
  hideDelay?: Value<number>;
14
- /** Offset in pixels from the main axis (vertical for top/bottom, horizontal for left/right) */
14
+ /** Offset in pixels from the main axis (vertical for top/bottom, horizontal for left/right). @default 8 */
15
15
  mainAxisOffset?: Value<number>;
16
- /** Offset in pixels from the cross axis (horizontal for top/bottom, vertical for left/right) */
16
+ /** Offset in pixels from the cross axis (horizontal for top/bottom, vertical for left/right). @default 0 */
17
17
  crossAxisOffset?: Value<number>;
18
- /** How to show the tooltip */
18
+ /** How to show the tooltip. @default 'hover-focus' */
19
19
  showOn?: Value<TooltipTrigger>;
20
20
  }
21
21
  /**
@@ -4,12 +4,14 @@ import { AppearanceType } from '@tempots/ui';
4
4
  /**
5
5
  * Visual style variant for button components.
6
6
  * - `'filled'`: Solid background with theme color
7
- * - `'light'`: Light background with colored text
7
+ * - `'light'`: Color-tinted background with normal text
8
8
  * - `'outline'`: Transparent background with colored border
9
- * - `'default'`: Default subtle styling
10
- * - `'text'`: No background, text-only styling
9
+ * - `'dashed'`: Transparent background with colored dashed border
10
+ * - `'default'`: Neutral background with subtle border and colored text
11
+ * - `'subtle'`: Transparent background with colored text, tinted background on hover
12
+ * - `'text'`: No background, text-only with underline on hover
11
13
  */
12
- export type ButtonVariant = 'filled' | 'light' | 'outline' | 'dashed' | 'default' | 'text';
14
+ export type ButtonVariant = 'filled' | 'light' | 'outline' | 'dashed' | 'default' | 'subtle' | 'text';
13
15
  /**
14
16
  * Size options for form controls and interactive elements.
15
17
  * Ranges from `'xs'` (extra small) to `'xl'` (extra large).
@@ -123,6 +125,15 @@ export type AlignSelf = 'auto' | 'flex-start' | 'flex-end' | 'safe flex-end' | '
123
125
  * - `'outlined'`: Card with border outline
124
126
  */
125
127
  export type CardVariant = 'default' | 'elevated' | 'flat' | 'outlined';
128
+ /**
129
+ * Visual style variant for pagination components.
130
+ * - `'filled'`: Solid primary background on active page
131
+ * - `'outline'`: Primary border on active page, no fill
132
+ * - `'light'`: Light color-tinted background on active page
133
+ * - `'subtle'`: Text-only with bold weight and underline on active page
134
+ * - `'pill'`: Fully rounded pill-shaped items with solid active fill
135
+ */
136
+ export type PaginationVariant = 'filled' | 'outline' | 'light' | 'subtle' | 'pill';
126
137
  /**
127
138
  * Gap spacing size for centered layouts.
128
139
  * Ranges from `'none'` (no gap) to `'xl'` (extra large gap).
@@ -10,7 +10,7 @@ export interface SlashCommandState {
10
10
  export interface SlashCommandCallbacks {
11
11
  onTrigger?: (state: SlashCommandState, removeText: () => void) => void;
12
12
  onUpdate?: (state: SlashCommandState, removeText: () => void) => void;
13
- onDismiss?: () => void;
13
+ onClose?: () => void;
14
14
  onExecute?: (commandId: string, removeText: () => void) => void;
15
15
  }
16
16
  /**
@@ -14,27 +14,27 @@
14
14
  * | Name | Value | Use case |
15
15
  * |--------------|-------|-------------------------|
16
16
  * | base | 0 | Default stacking |
17
- * | raised | 10 | Slightly elevated items |
18
- * | navigation | 20 | Nav bars, headers |
19
- * | sidebar | 20 | Side navigation |
20
- * | overlay | 50 | Backdrop overlays |
21
- * | modal | 60 | Modal dialogs |
22
- * | tooltip | 70 | Tooltip content |
23
- * | popover | 80 | Popover menus |
24
- * | notification | 90 | Toast notifications |
25
- * | maximum | 100 | Highest priority |
17
+ * | raised | 100 | Slightly elevated items |
18
+ * | navigation | 200 | Nav bars, headers |
19
+ * | sidebar | 200 | Side navigation |
20
+ * | overlay | 500 | Backdrop overlays |
21
+ * | modal | 600 | Modal dialogs |
22
+ * | tooltip | 700 | Tooltip content |
23
+ * | popover | 800 | Popover menus |
24
+ * | notification | 900 | Toast notifications |
25
+ * | maximum | 1000 | Highest priority |
26
26
  */
27
27
  export declare const zIndex: {
28
28
  readonly base: 0;
29
- readonly raised: 10;
30
- readonly navigation: 20;
31
- readonly sidebar: 20;
32
- readonly overlay: 50;
33
- readonly modal: 60;
34
- readonly tooltip: 70;
35
- readonly popover: 80;
36
- readonly notification: 90;
37
- readonly maximum: 100;
29
+ readonly raised: 100;
30
+ readonly navigation: 200;
31
+ readonly sidebar: 200;
32
+ readonly overlay: 500;
33
+ readonly modal: 600;
34
+ readonly tooltip: 700;
35
+ readonly popover: 800;
36
+ readonly notification: 900;
37
+ readonly maximum: 1000;
38
38
  };
39
39
  /**
40
40
  * Union type of all available z-index layer names.
@@ -4,8 +4,10 @@ export type AnimatedToggleOptions = {
4
4
  initialStatus?: ToggleStatus;
5
5
  openedAfter: (cb: () => void) => () => void;
6
6
  closedAfter: (cb: () => void) => () => void;
7
+ /** When true, skips animation delays and transitions instantly. */
8
+ reducedMotion?: Signal<boolean>;
7
9
  };
8
- export declare function useAnimatedToggle({ initialStatus, openedAfter, closedAfter, }: AnimatedToggleOptions): {
10
+ export declare function useAnimatedToggle({ initialStatus, openedAfter, closedAfter, reducedMotion, }: AnimatedToggleOptions): {
9
11
  status: Signal<ToggleStatus>;
10
12
  open: () => void;
11
13
  close: () => void;
@@ -26,8 +28,10 @@ export type TimedToggleOptions = {
26
28
  openDuration?: number;
27
29
  closeDuration?: number;
28
30
  duration?: number;
31
+ /** When true, skips animation delays and transitions instantly. */
32
+ reducedMotion?: Signal<boolean>;
29
33
  };
30
- export declare function useTimedToggle({ initialStatus, duration, openDuration, closeDuration, }?: TimedToggleOptions): {
34
+ export declare function useTimedToggle({ initialStatus, duration, openDuration, closeDuration, reducedMotion, }?: TimedToggleOptions): {
31
35
  status: Signal<ToggleStatus>;
32
36
  open: () => void;
33
37
  close: () => void;
@@ -46,8 +50,10 @@ export declare function useTimedToggle({ initialStatus, duration, openDuration,
46
50
  export type AnimatedElementToggleOptions = {
47
51
  initialStatus?: ToggleStatus;
48
52
  element?: HTMLElement;
53
+ /** When true, skips animation delays and transitions instantly. */
54
+ reducedMotion?: Signal<boolean>;
49
55
  };
50
- export declare function useAnimatedElementToggle({ initialStatus, element, }?: AnimatedElementToggleOptions): {
56
+ export declare function useAnimatedElementToggle({ initialStatus, element, reducedMotion, }?: AnimatedElementToggleOptions): {
51
57
  status: Signal<ToggleStatus>;
52
58
  open: () => void;
53
59
  close: () => void;
@@ -82,9 +88,11 @@ export declare function AnimatedToggleClass({ animation, status, }: {
82
88
  animation?: Value<AnimationConfig>;
83
89
  status: Signal<ToggleStatus>;
84
90
  }): import("@tempots/core").Renderable<import("@tempots/dom").DOMContext, typeof import("@tempots/dom").DOM_RENDERABLE_TYPE>;
85
- export declare function AnimatedToggle({ initialStatus, animation, }: {
91
+ export declare function AnimatedToggle({ initialStatus, animation, reducedMotion, }: {
86
92
  initialStatus?: ToggleStatus;
87
93
  animation?: Value<AnimationConfig>;
94
+ /** When true, skips animation delays and transitions instantly. */
95
+ reducedMotion?: Signal<boolean>;
88
96
  }, render: (options: {
89
97
  status: Signal<ToggleStatus>;
90
98
  open: () => void;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./translations-OOsMRpX9.cjs"),r={loadingExtended:"لوڈ ہو رہا ہے، براہ کرم انتظار کریں",loadingShort:"لوڈ ہو رہا ہے...",locale:"زبان",iconDescription:"آئیکن",loadingIcon:"لوڈنگ آئیکن",failedToLoadIcon:"آئیکن لوڈ کرنے میں ناکام",editLabel:"ترمیم",selectOne:"ایک منتخب کریں",selectNone:"کوئی نہیں",selectMany:"متعدد منتخب کریں",noResults:"کوئی نتیجہ نہیں",passwordPlaceholderText:"خفیہ پاس ورڈ",togglePasswordVisibility:"پاس ورڈ کی مرئیت تبدیل کریں",toggleMenu:"مینو ٹوگل کریں",toggleAside:"سائیڈ پینل ٹوگل کریں",mainNavigation:"بنیادی نیویگیشن",sidebar:"سائیڈ بار",closeDrawer:"دراز بند کریں",closeModal:"ماڈل بند کریں",confirm:"تصدیق",cancel:"منسوخ",addLabel:"شامل کریں",removeItem:"آئٹم ہٹائیں",currentLocale:"اردو",ar:"عربی",de:"جرمن",en:"انگریزی",es:"ہسپانوی",fr:"فرانسیسی",he:"عبرانی",hi:"ہندی",it:"اطالوی",ja:"جاپانی",ko:"کوریائی",nl:"ڈچ",pl:"پولش",pt:"پرتگالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"اپنا ای میل داخل کریں",incrementValue:"قدر اضافہ کریں",decrementValue:"قدر کم کریں",dropZoneInstructions:e=>e?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں، یا فائل منتخب کرنے کے لیے Enter یا Space دبائیں":"فائلیں یہاں گھسیٹیں",fileSizeUnits:["بائٹس","KB","MB","GB","TB"],removeFile:"فائل حذف کریں",clearAllFiles:"تمام فائلیں صاف کریں",clearValue:"قدر صاف کریں",unknownType:"نامعلوم قسم",filesInputInstructions:(e,o,n)=>{let l=e==null||e>1?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں":"منتخب کرنے کے لیے کلک کریں یا فائل یہاں گھسیٹیں";if(e||o){const t=[];if(e!=null&&e>1&&t.push(`زیادہ سے زیادہ ${e} فائلیں`),o&&n){const i=a.formatFileSize(o,{units:n});t.push(`ہر ایک زیادہ سے زیادہ ${i}`)}t.length>0&&(l+=` (${t.join("، ")})`)}return l},paginationLabel:"صفحہ بندی",firstPage:"پہلا صفحہ",previousPage:"پچھلا صفحہ",nextPage:"اگلا صفحہ",lastPage:"آخری صفحہ",breadcrumbs:"بریڈ کرمبز",commandPalette:"کمانڈ پیلیٹ",typeACommand:"کمانڈ ٹائپ کریں...",noResultsFound:"کوئی نتیجہ نہیں ملا",noMatchingCommands:"کوئی مماثل کمانڈ نہیں ملی",appearanceSystem:"سسٹم",appearanceLight:"ہلکا",appearanceDark:"گہرا",ok:"OK",changeTypeConfirmation:"قسم تبدیل کرنے سے موجودہ قدر صاف ہو جائے گی۔ جاری رکھیں؟",notifications:"اطلاعات",markAllAsRead:"سب کو پڑھا ہوا نشان زد کریں",noNotifications:"کوئی اطلاع نہیں",schemaConflictsDetected:"اسکیما تنازعات کا پتا چلا",schemaViolationsDetected:"اسکیما خلاف ورزیوں کا پتا چلا",properties:"خصوصیات",uploading:"اپ لوڈ ہو رہا ہے...",dropFilesOrBrowse:"فائلیں یہاں چھوڑیں یا براؤز کرنے کے لیے کلک کریں",acceptedTypes:e=>`قابل قبول اقسام: ${e}`,enterUrlPrompt:"URL درج کریں:",exceeded:"(حد سے تجاوز)",pdfPreview:"PDF پیش نظارہ",lexical:{fontFamily:"فونٹ فیملی",fontSize:"فونٹ سائز",lineHeight:"لائن کی اونچائی",fontColor:"فونٹ رنگ",highlightColor:"ہائی لائٹ رنگ",backgroundColor:"پس منظر رنگ",bold:"بولڈ",italic:"ترچھا",underline:"خط کشیدہ",strikethrough:"کٹا ہوا",code:"کوڈ",clearFormatting:"فارمیٹنگ صاف کریں",normal:"عام",heading:e=>`سرخی ${e}`,bulletList:"بلٹ فہرست",orderedList:"نمبر شدہ فہرست",checkList:"چیک فہرست",indent:"اندر کریں",outdent:"باہر کریں",blockquote:"اقتباس",codeBlock:"کوڈ بلاک",horizontalRule:"افقی لکیر",insertTable:"ٹیبل داخل کریں",link:"لنک",undo:"واپس",redo:"دوبارہ",cut:"کاٹیں",copy:"نقل",paste:"چسپاں",defaultOption:"پہلے سے طے شدہ",slashCommands:"سلیش کمانڈز",noCommandsFound:"کوئی کمانڈ نہیں ملی",changeBlockType:"بلاک کی قسم تبدیل کریں",blockTypes:"بلاک کی اقسام",enterUrl:"URL درج کریں:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,o)=>`Page ${e} is out of range (1-${o})`,renderFailed:"Failed to render PDF page"}};exports.default=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./translations-Dbx7L7Q1.cjs"),r={loadingExtended:"لوڈ ہو رہا ہے، براہ کرم انتظار کریں",loadingShort:"لوڈ ہو رہا ہے...",locale:"زبان",iconDescription:"آئیکن",loadingIcon:"لوڈنگ آئیکن",failedToLoadIcon:"آئیکن لوڈ کرنے میں ناکام",editLabel:"ترمیم",selectOne:"ایک منتخب کریں",selectNone:"کوئی نہیں",selectMany:"متعدد منتخب کریں",noResults:"کوئی نتیجہ نہیں",passwordPlaceholderText:"خفیہ پاس ورڈ",togglePasswordVisibility:"پاس ورڈ کی مرئیت تبدیل کریں",toggleMenu:"مینو ٹوگل کریں",toggleAside:"سائیڈ پینل ٹوگل کریں",mainNavigation:"بنیادی نیویگیشن",sidebar:"سائیڈ بار",closeDrawer:"دراز بند کریں",closeModal:"ماڈل بند کریں",confirm:"تصدیق",cancel:"منسوخ",addLabel:"شامل کریں",removeItem:"آئٹم ہٹائیں",currentLocale:"اردو",ar:"عربی",de:"جرمن",en:"انگریزی",es:"ہسپانوی",fr:"فرانسیسی",he:"عبرانی",hi:"ہندی",it:"اطالوی",ja:"جاپانی",ko:"کوریائی",nl:"ڈچ",pl:"پولش",pt:"پرتگالی",ru:"روسی",tr:"ترکی",vi:"ویتنامی",zh:"چینی",fa:"فارسی",ur:"اردو",emailPlaceholderText:"اپنا ای میل داخل کریں",incrementValue:"قدر اضافہ کریں",decrementValue:"قدر کم کریں",dropZoneInstructions:e=>e?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں، یا فائل منتخب کرنے کے لیے Enter یا Space دبائیں":"فائلیں یہاں گھسیٹیں",fileSizeUnits:["بائٹس","KB","MB","GB","TB"],removeFile:"فائل حذف کریں",clearAllFiles:"تمام فائلیں صاف کریں",clearValue:"قدر صاف کریں",unknownType:"نامعلوم قسم",filesInputInstructions:(e,t,l)=>{let n=e==null||e>1?"منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں":"منتخب کرنے کے لیے کلک کریں یا فائل یہاں گھسیٹیں";if(e||t){const o=[];if(e!=null&&e>1&&o.push(`زیادہ سے زیادہ ${e} فائلیں`),t&&l){const a=i.formatFileSize(t,{units:l});o.push(`ہر ایک زیادہ سے زیادہ ${a}`)}o.length>0&&(n+=` (${o.join("، ")})`)}return n},paginationLabel:"صفحہ بندی",firstPage:"پہلا صفحہ",previousPage:"پچھلا صفحہ",nextPage:"اگلا صفحہ",lastPage:"آخری صفحہ",breadcrumbs:"بریڈ کرمبز",commandPalette:"کمانڈ پیلیٹ",typeACommand:"کمانڈ ٹائپ کریں...",noResultsFound:"کوئی نتیجہ نہیں ملا",noMatchingCommands:"کوئی مماثل کمانڈ نہیں ملی",appearanceSystem:"سسٹم",appearanceLight:"ہلکا",appearanceDark:"گہرا",ok:"OK",changeTypeConfirmation:"قسم تبدیل کرنے سے موجودہ قدر صاف ہو جائے گی۔ جاری رکھیں؟",notifications:"اطلاعات",markAllAsRead:"سب کو پڑھا ہوا نشان زد کریں",noNotifications:"کوئی اطلاع نہیں",schemaConflictsDetected:"اسکیما تنازعات کا پتا چلا",schemaViolationsDetected:"اسکیما خلاف ورزیوں کا پتا چلا",properties:"خصوصیات",uploading:"اپ لوڈ ہو رہا ہے...",dropFilesOrBrowse:"فائلیں یہاں چھوڑیں یا براؤز کرنے کے لیے کلک کریں",acceptedTypes:e=>`قابل قبول اقسام: ${e}`,enterUrlPrompt:"URL درج کریں:",exceeded:"(حد سے تجاوز)",pdfPreview:"PDF پیش نظارہ",lexical:{fontFamily:"فونٹ فیملی",fontSize:"فونٹ سائز",lineHeight:"لائن کی اونچائی",fontColor:"فونٹ رنگ",highlightColor:"ہائی لائٹ رنگ",backgroundColor:"پس منظر رنگ",bold:"بولڈ",italic:"ترچھا",underline:"خط کشیدہ",strikethrough:"کٹا ہوا",code:"کوڈ",clearFormatting:"فارمیٹنگ صاف کریں",normal:"عام",heading:e=>`سرخی ${e}`,bulletList:"بلٹ فہرست",orderedList:"نمبر شدہ فہرست",checkList:"چیک فہرست",indent:"اندر کریں",outdent:"باہر کریں",blockquote:"اقتباس",codeBlock:"کوڈ بلاک",horizontalRule:"افقی لکیر",insertTable:"ٹیبل داخل کریں",link:"لنک",undo:"واپس",redo:"دوبارہ",cut:"کاٹیں",copy:"نقل",paste:"چسپاں",defaultOption:"پہلے سے طے شدہ",slashCommands:"سلیش کمانڈز",noCommandsFound:"کوئی کمانڈ نہیں ملی",changeBlockType:"بلاک کی قسم تبدیل کریں",blockTypes:"بلاک کی اقسام",enterUrl:"URL درج کریں:",tableActions:"Table actions",insertRowAbove:"Insert row above",insertRowBelow:"Insert row below",insertColumnLeft:"Insert column left",insertColumnRight:"Insert column right",deleteRow:"Delete row",deleteColumn:"Delete column",deleteTable:"Delete table"},dataTable:{sortAscending:"صعودی ترتیب",sortDescending:"نزولی ترتیب",clearSort:"ترتیب صاف کریں",filterPlaceholder:"فلٹر...",clearFilter:"فلٹر صاف کریں",selectAll:"سب منتخب کریں",deselectAll:"سب غیر منتخب کریں",selectedCount:e=>`${e} منتخب`,resetAll:"سب ری سیٹ کریں",noResults:"کوئی نتائج نہیں ملے",loading:"لوڈ ہو رہا ہے...",filterPanelAddCondition:"شرط شامل کریں",filterPanelApply:"لاگو کریں",filterPanelClear:"فلٹرز صاف کریں",filterPanelAnd:"اور",filterPanelOr:"یا",filterPanelContains:"شامل ہے",filterPanelNotContains:"شامل نہیں ہے",filterPanelEquals:"برابر ہے",filterPanelNotEquals:"برابر نہیں ہے",filterPanelStartsWith:"سے شروع ہوتا ہے",filterPanelEndsWith:"پر ختم ہوتا ہے",filterPanelIsNull:"خالی ہے",filterPanelIsNotNull:"خالی نہیں ہے",filterPanelGt:"سے بڑا",filterPanelGte:"سے بڑا یا برابر",filterPanelLt:"سے چھوٹا",filterPanelLte:"سے چھوٹا یا برابر",filterPanelBetween:"کے درمیان",filterPanelValuePlaceholder:"قدر...",sortMultiHint:"متعدد کالموں کو ترتیب دینے کے لیے Shift دبائیں",columnVisibility:"کالم",showAllColumns:"سب دکھائیں",menuSortAsc:"صعودی ترتیب",menuSortDesc:"نزولی ترتیب",menuClearSort:"ترتیب ہٹائیں",menuHideColumn:"کالم چھپائیں",menuChooseColumns:"کالم منتخب کریں",menuResetColumns:"کالم ری سیٹ کریں",menuFilter:"فلٹر",rowCount:(e,t)=>`قطاریں: ${e} کل قطاریں: ${t}`,filterTagsPlaceholder:"قدریں منتخب کریں...",groupCount:e=>`${e} آئٹم`,collapseGroup:"گروپ سکیڑیں",expandGroup:"گروپ پھیلائیں",describeFilter:{textContains:(e,t)=>`${e} "${t}" پر مشتمل`,textNotContains:(e,t)=>`${e} "${t}" پر مشتمل نہیں`,textEquals:(e,t)=>`${e} "${t}" کے برابر`,textNotEquals:(e,t)=>`${e} "${t}" کے برابر نہیں`,textStartsWith:(e,t)=>`${e} "${t}" سے شروع ہوتا ہے`,textEndsWith:(e,t)=>`${e} "${t}" پر ختم ہوتا ہے`,compareEq:(e,t)=>`${e} = ${t}`,compareNeq:(e,t)=>`${e} ≠ ${t}`,compareGt:(e,t)=>`${e} > ${t}`,compareGte:(e,t)=>`${e} ≥ ${t}`,compareLt:(e,t)=>`${e} < ${t}`,compareLte:(e,t)=>`${e} ≤ ${t}`,rangeBetween:(e,t,l)=>`${e} ${t} اور ${l} کے درمیان`,rangeGte:(e,t)=>`${e} ≥ ${t}`,rangeLte:(e,t)=>`${e} ≤ ${t}`,setIn:(e,t)=>`${e} [${t}] میں`,setNotIn:(e,t)=>`${e} [${t}] میں نہیں`,booleanIs:(e,t)=>`${e} ${t} ہے`,isNull:e=>`${e} خالی ہے`,isNotNull:e=>`${e} خالی نہیں ہے`,compositeAnd:e=>e.join(" اور "),compositeOr:e=>e.join(" یا ")}},prosemirror:{bold:"Bold",italic:"Italic",code:"Code",link:"Link",removeLink:"Remove Link",heading:e=>`Heading ${e}`,bulletList:"Bullet List",orderedList:"Ordered List",blockquote:"Blockquote",codeBlock:"Code Block",horizontalRule:"Horizontal Rule",linkUrlPlaceholder:"https://example.com"},pdfPageViewer:{loading:"Loading PDF...",loadFailed:"Failed to load PDF",invalidPdf:"Invalid PDF file",pageOutOfRange:(e,t)=>`Page ${e} is out of range (1-${t})`,renderFailed:"Failed to render PDF page"}};exports.default=r;
@@ -1,5 +1,5 @@
1
- import { f as i } from "./translations-DyCmyLE_.js";
2
- const d = {
1
+ import { f as i } from "./translations-B1_yyDUK.js";
2
+ const s = {
3
3
  loadingExtended: "لوڈ ہو رہا ہے، براہ کرم انتظار کریں",
4
4
  loadingShort: "لوڈ ہو رہا ہے...",
5
5
  locale: "زبان",
@@ -58,17 +58,17 @@ const d = {
58
58
  // inputs reset
59
59
  clearValue: "قدر صاف کریں",
60
60
  unknownType: "نامعلوم قسم",
61
- filesInputInstructions: (e, o, l) => {
61
+ filesInputInstructions: (e, t, l) => {
62
62
  let n = e == null || e > 1 ? "منتخب کرنے کے لیے کلک کریں یا فائلیں یہاں گھسیٹیں" : "منتخب کرنے کے لیے کلک کریں یا فائل یہاں گھسیٹیں";
63
- if (e || o) {
64
- const t = [];
65
- if (e != null && e > 1 && t.push(`زیادہ سے زیادہ ${e} فائلیں`), o && l) {
66
- const a = i(o, {
63
+ if (e || t) {
64
+ const o = [];
65
+ if (e != null && e > 1 && o.push(`زیادہ سے زیادہ ${e} فائلیں`), t && l) {
66
+ const a = i(t, {
67
67
  units: l
68
68
  });
69
- t.push(`ہر ایک زیادہ سے زیادہ ${a}`);
69
+ o.push(`ہر ایک زیادہ سے زیادہ ${a}`);
70
70
  }
71
- t.length > 0 && (n += ` (${t.join("، ")})`);
71
+ o.length > 0 && (n += ` (${o.join("، ")})`);
72
72
  }
73
73
  return n;
74
74
  },
@@ -156,6 +156,82 @@ const d = {
156
156
  deleteTable: "Delete table"
157
157
  },
158
158
  // prosemirror
159
+ dataTable: {
160
+ sortAscending: "صعودی ترتیب",
161
+ sortDescending: "نزولی ترتیب",
162
+ clearSort: "ترتیب صاف کریں",
163
+ filterPlaceholder: "فلٹر...",
164
+ clearFilter: "فلٹر صاف کریں",
165
+ selectAll: "سب منتخب کریں",
166
+ deselectAll: "سب غیر منتخب کریں",
167
+ selectedCount: (e) => `${e} منتخب`,
168
+ resetAll: "سب ری سیٹ کریں",
169
+ noResults: "کوئی نتائج نہیں ملے",
170
+ loading: "لوڈ ہو رہا ہے...",
171
+ // Filter panel
172
+ filterPanelAddCondition: "شرط شامل کریں",
173
+ filterPanelApply: "لاگو کریں",
174
+ filterPanelClear: "فلٹرز صاف کریں",
175
+ filterPanelAnd: "اور",
176
+ filterPanelOr: "یا",
177
+ filterPanelContains: "شامل ہے",
178
+ filterPanelNotContains: "شامل نہیں ہے",
179
+ filterPanelEquals: "برابر ہے",
180
+ filterPanelNotEquals: "برابر نہیں ہے",
181
+ filterPanelStartsWith: "سے شروع ہوتا ہے",
182
+ filterPanelEndsWith: "پر ختم ہوتا ہے",
183
+ filterPanelIsNull: "خالی ہے",
184
+ filterPanelIsNotNull: "خالی نہیں ہے",
185
+ filterPanelGt: "سے بڑا",
186
+ filterPanelGte: "سے بڑا یا برابر",
187
+ filterPanelLt: "سے چھوٹا",
188
+ filterPanelLte: "سے چھوٹا یا برابر",
189
+ filterPanelBetween: "کے درمیان",
190
+ filterPanelValuePlaceholder: "قدر...",
191
+ sortMultiHint: "متعدد کالموں کو ترتیب دینے کے لیے Shift دبائیں",
192
+ columnVisibility: "کالم",
193
+ showAllColumns: "سب دکھائیں",
194
+ // Column header menu
195
+ menuSortAsc: "صعودی ترتیب",
196
+ menuSortDesc: "نزولی ترتیب",
197
+ menuClearSort: "ترتیب ہٹائیں",
198
+ menuHideColumn: "کالم چھپائیں",
199
+ menuChooseColumns: "کالم منتخب کریں",
200
+ menuResetColumns: "کالم ری سیٹ کریں",
201
+ menuFilter: "فلٹر",
202
+ // Row count footer
203
+ rowCount: (e, t) => `قطاریں: ${e} کل قطاریں: ${t}`,
204
+ // Tags filter
205
+ filterTagsPlaceholder: "قدریں منتخب کریں...",
206
+ // Group by
207
+ groupCount: (e) => `${e} آئٹم`,
208
+ collapseGroup: "گروپ سکیڑیں",
209
+ expandGroup: "گروپ پھیلائیں",
210
+ describeFilter: {
211
+ textContains: (e, t) => `${e} "${t}" پر مشتمل`,
212
+ textNotContains: (e, t) => `${e} "${t}" پر مشتمل نہیں`,
213
+ textEquals: (e, t) => `${e} "${t}" کے برابر`,
214
+ textNotEquals: (e, t) => `${e} "${t}" کے برابر نہیں`,
215
+ textStartsWith: (e, t) => `${e} "${t}" سے شروع ہوتا ہے`,
216
+ textEndsWith: (e, t) => `${e} "${t}" پر ختم ہوتا ہے`,
217
+ compareEq: (e, t) => `${e} = ${t}`,
218
+ compareNeq: (e, t) => `${e} ≠ ${t}`,
219
+ compareGt: (e, t) => `${e} > ${t}`,
220
+ compareGte: (e, t) => `${e} ≥ ${t}`,
221
+ compareLt: (e, t) => `${e} < ${t}`,
222
+ compareLte: (e, t) => `${e} ≤ ${t}`,
223
+ rangeBetween: (e, t, l) => `${e} ${t} اور ${l} کے درمیان`,
224
+ rangeGte: (e, t) => `${e} ≥ ${t}`,
225
+ rangeLte: (e, t) => `${e} ≤ ${t}`,
226
+ setIn: (e, t) => `${e} [${t}] میں`,
227
+ setNotIn: (e, t) => `${e} [${t}] میں نہیں`,
228
+ booleanIs: (e, t) => `${e} ${t} ہے`,
229
+ isNull: (e) => `${e} خالی ہے`,
230
+ isNotNull: (e) => `${e} خالی نہیں ہے`,
231
+ compositeAnd: (e) => e.join(" اور "),
232
+ compositeOr: (e) => e.join(" یا ")
233
+ }
234
+ },
159
235
  prosemirror: {
160
236
  bold: "Bold",
161
237
  italic: "Italic",
@@ -175,10 +251,10 @@ const d = {
175
251
  loading: "Loading PDF...",
176
252
  loadFailed: "Failed to load PDF",
177
253
  invalidPdf: "Invalid PDF file",
178
- pageOutOfRange: (e, o) => `Page ${e} is out of range (1-${o})`,
254
+ pageOutOfRange: (e, t) => `Page ${e} is out of range (1-${t})`,
179
255
  renderFailed: "Failed to render PDF page"
180
256
  }
181
257
  };
182
258
  export {
183
- d as default
259
+ s as default
184
260
  };