@acronis-platform/ui-react 0.38.0 → 0.44.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 (83) hide show
  1. package/dist/components/ui/checkbox/checkbox.js +3 -1
  2. package/dist/components/ui/checkbox/checkbox.js.map +1 -1
  3. package/dist/components/ui/data-table/data-table-column-header.js +48 -0
  4. package/dist/components/ui/data-table/data-table-column-header.js.map +1 -0
  5. package/dist/components/ui/data-table/data-table-pagination.js +89 -0
  6. package/dist/components/ui/data-table/data-table-pagination.js.map +1 -0
  7. package/dist/components/ui/data-table/data-table-toolbar.js +46 -0
  8. package/dist/components/ui/data-table/data-table-toolbar.js.map +1 -0
  9. package/dist/components/ui/data-table/data-table-view-options.js +40 -0
  10. package/dist/components/ui/data-table/data-table-view-options.js.map +1 -0
  11. package/dist/components/ui/data-table/data-table.js +89 -0
  12. package/dist/components/ui/data-table/data-table.js.map +1 -0
  13. package/dist/components/ui/dropdown-menu/dropdown-menu.js +159 -0
  14. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  15. package/dist/components/ui/empty/empty.js +78 -0
  16. package/dist/components/ui/empty/empty.js.map +1 -0
  17. package/dist/components/ui/label/label.js +12 -0
  18. package/dist/components/ui/label/label.js.map +1 -0
  19. package/dist/components/ui/popover/popover.js +48 -0
  20. package/dist/components/ui/popover/popover.js.map +1 -0
  21. package/dist/components/ui/progress/progress.js +30 -0
  22. package/dist/components/ui/progress/progress.js.map +1 -0
  23. package/dist/components/ui/separator/separator.js +22 -0
  24. package/dist/components/ui/separator/separator.js.map +1 -0
  25. package/dist/components/ui/sheet/sheet.js +138 -0
  26. package/dist/components/ui/sheet/sheet.js.map +1 -0
  27. package/dist/components/ui/spinner/spinner.js +38 -0
  28. package/dist/components/ui/spinner/spinner.js.map +1 -0
  29. package/dist/components/ui/tabs/tabs.js +44 -0
  30. package/dist/components/ui/tabs/tabs.js.map +1 -0
  31. package/dist/components/ui/toast/toast.js +83 -0
  32. package/dist/components/ui/toast/toast.js.map +1 -0
  33. package/dist/components/ui/widget-placeholder/widget-placeholder.js +106 -0
  34. package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +1 -0
  35. package/dist/index.js +234 -140
  36. package/dist/index.js.map +1 -1
  37. package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js +104 -0
  38. package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js.map +1 -0
  39. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +1900 -0
  40. package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +1 -0
  41. package/dist/react.js +234 -140
  42. package/dist/react.js.map +1 -1
  43. package/dist/src/components/ui/data-table/data-table-column-header.d.ts +8 -0
  44. package/dist/src/components/ui/data-table/data-table-pagination.d.ts +8 -0
  45. package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +9 -0
  46. package/dist/src/components/ui/data-table/data-table-view-options.d.ts +6 -0
  47. package/dist/src/components/ui/data-table/data-table.d.ts +24 -0
  48. package/dist/src/components/ui/data-table/data-table.docs.d.ts +22 -0
  49. package/dist/src/components/ui/data-table/index.d.ts +5 -0
  50. package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +39 -0
  51. package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +25 -0
  52. package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -0
  53. package/dist/src/components/ui/empty/empty.d.ts +9 -0
  54. package/dist/src/components/ui/empty/index.d.ts +1 -0
  55. package/dist/src/components/ui/label/index.d.ts +1 -0
  56. package/dist/src/components/ui/label/label.d.ts +5 -0
  57. package/dist/src/components/ui/label/label.docs.d.ts +10 -0
  58. package/dist/src/components/ui/popover/index.d.ts +1 -0
  59. package/dist/src/components/ui/popover/popover.d.ts +27 -0
  60. package/dist/src/components/ui/popover/popover.docs.d.ts +25 -0
  61. package/dist/src/components/ui/progress/index.d.ts +1 -0
  62. package/dist/src/components/ui/progress/progress.d.ts +9 -0
  63. package/dist/src/components/ui/progress/progress.docs.d.ts +16 -0
  64. package/dist/src/components/ui/separator/index.d.ts +1 -0
  65. package/dist/src/components/ui/separator/separator.d.ts +3 -0
  66. package/dist/src/components/ui/sheet/index.d.ts +2 -0
  67. package/dist/src/components/ui/sheet/sheet.d.ts +36 -0
  68. package/dist/src/components/ui/sheet/sheet.docs.d.ts +21 -0
  69. package/dist/src/components/ui/spinner/index.d.ts +1 -0
  70. package/dist/src/components/ui/spinner/spinner.d.ts +9 -0
  71. package/dist/src/components/ui/tabs/index.d.ts +1 -0
  72. package/dist/src/components/ui/tabs/tabs.d.ts +6 -0
  73. package/dist/src/components/ui/tabs/tabs.docs.d.ts +25 -0
  74. package/dist/src/components/ui/tag/tag.d.ts +1 -1
  75. package/dist/src/components/ui/toast/index.d.ts +1 -0
  76. package/dist/src/components/ui/toast/toast.d.ts +48 -0
  77. package/dist/src/components/ui/toast/toast.docs.d.ts +12 -0
  78. package/dist/src/components/ui/widget-placeholder/index.d.ts +1 -0
  79. package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +18 -0
  80. package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +14 -0
  81. package/dist/src/index.d.ts +13 -0
  82. package/dist/ui-react.css +1 -1
  83. package/package.json +5 -3
@@ -0,0 +1,104 @@
1
+ import * as o from "react";
2
+ import { createTable as u } from "../../../../../../@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js";
3
+ import { ColumnFaceting as C, ColumnFiltering as S, ColumnGrouping as w, ColumnOrdering as b, ColumnPinning as y, ColumnSizing as F, ColumnVisibility as x, GlobalFaceting as h, GlobalFiltering as M, Headers as O, RowExpanding as E, RowPagination as P, RowPinning as v, RowSelection as G, RowSorting as $, _getVisibleLeafColumns as A, aggregationFns as V, buildHeaderGroups as j, createCell as k, createColumn as z, createRow as H, defaultColumnSizing as N, expandRows as T, filterFns as U, flattenBy as _, functionalUpdate as B, getCoreRowModel as L, getExpandedRowModel as q, getFilteredRowModel as D, getMemoOptions as I, getPaginationRowModel as J, getSortedRowModel as K, isFunction as Q, isNumberArray as W, isRowSelected as X, isSubRowSelected as Y, makeStateUpdater as Z, memo as ee, orderColumns as te, passiveEventSupported as ne, reSplitAlphaNumeric as oe, selectRowsFn as re, shouldAutoRemoveFilter as ie, sortingFns as ae } from "../../../../../../@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js";
4
+ /**
5
+ * react-table
6
+ *
7
+ * Copyright (c) TanStack
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE.md file in the root directory of this source tree.
11
+ *
12
+ * @license MIT
13
+ */
14
+ function f(e, t) {
15
+ return e ? s(e) ? /* @__PURE__ */ o.createElement(e, t) : e : null;
16
+ }
17
+ function s(e) {
18
+ return c(e) || typeof e == "function" || g(e);
19
+ }
20
+ function c(e) {
21
+ return typeof e == "function" && (() => {
22
+ const t = Object.getPrototypeOf(e);
23
+ return t.prototype && t.prototype.isReactComponent;
24
+ })();
25
+ }
26
+ function g(e) {
27
+ return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
28
+ }
29
+ function m(e) {
30
+ const t = {
31
+ state: {},
32
+ // Dummy state
33
+ onStateChange: () => {
34
+ },
35
+ // noop
36
+ renderFallbackValue: null,
37
+ ...e
38
+ }, [n] = o.useState(() => ({
39
+ current: u(t)
40
+ })), [i, a] = o.useState(() => n.current.initialState);
41
+ return n.current.setOptions((l) => ({
42
+ ...l,
43
+ ...e,
44
+ state: {
45
+ ...i,
46
+ ...e.state
47
+ },
48
+ // Similarly, we'll maintain both our internal state and any user-provided
49
+ // state.
50
+ onStateChange: (r) => {
51
+ a(r), e.onStateChange == null || e.onStateChange(r);
52
+ }
53
+ })), n.current;
54
+ }
55
+ export {
56
+ C as ColumnFaceting,
57
+ S as ColumnFiltering,
58
+ w as ColumnGrouping,
59
+ b as ColumnOrdering,
60
+ y as ColumnPinning,
61
+ F as ColumnSizing,
62
+ x as ColumnVisibility,
63
+ h as GlobalFaceting,
64
+ M as GlobalFiltering,
65
+ O as Headers,
66
+ E as RowExpanding,
67
+ P as RowPagination,
68
+ v as RowPinning,
69
+ G as RowSelection,
70
+ $ as RowSorting,
71
+ A as _getVisibleLeafColumns,
72
+ V as aggregationFns,
73
+ j as buildHeaderGroups,
74
+ k as createCell,
75
+ z as createColumn,
76
+ H as createRow,
77
+ u as createTable,
78
+ N as defaultColumnSizing,
79
+ T as expandRows,
80
+ U as filterFns,
81
+ _ as flattenBy,
82
+ f as flexRender,
83
+ B as functionalUpdate,
84
+ L as getCoreRowModel,
85
+ q as getExpandedRowModel,
86
+ D as getFilteredRowModel,
87
+ I as getMemoOptions,
88
+ J as getPaginationRowModel,
89
+ K as getSortedRowModel,
90
+ Q as isFunction,
91
+ W as isNumberArray,
92
+ X as isRowSelected,
93
+ Y as isSubRowSelected,
94
+ Z as makeStateUpdater,
95
+ ee as memo,
96
+ te as orderColumns,
97
+ ne as passiveEventSupported,
98
+ oe as reSplitAlphaNumeric,
99
+ re as selectRowsFn,
100
+ ie as shouldAutoRemoveFilter,
101
+ ae as sortingFns,
102
+ m as useReactTable
103
+ };
104
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@tanstack+react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.mjs"],"sourcesContent":["/**\n * react-table\n *\n * Copyright (c) TanStack\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */\nimport * as React from 'react';\nimport { createTable } from '@tanstack/table-core';\nexport * from '@tanstack/table-core';\n\n//\n\n/**\n * If rendering headers, cells, or footers with custom markup, use flexRender instead of `cell.getValue()` or `cell.renderValue()`.\n */\nfunction flexRender(Comp, props) {\n return !Comp ? null : isReactComponent(Comp) ? /*#__PURE__*/React.createElement(Comp, props) : Comp;\n}\nfunction isReactComponent(component) {\n return isClassComponent(component) || typeof component === 'function' || isExoticComponent(component);\n}\nfunction isClassComponent(component) {\n return typeof component === 'function' && (() => {\n const proto = Object.getPrototypeOf(component);\n return proto.prototype && proto.prototype.isReactComponent;\n })();\n}\nfunction isExoticComponent(component) {\n return typeof component === 'object' && typeof component.$$typeof === 'symbol' && ['react.memo', 'react.forward_ref'].includes(component.$$typeof.description);\n}\nfunction useReactTable(options) {\n // Compose in the generic options to the user options\n const resolvedOptions = {\n state: {},\n // Dummy state\n onStateChange: () => {},\n // noop\n renderFallbackValue: null,\n ...options\n };\n\n // Create a new table and store it in state\n const [tableRef] = React.useState(() => ({\n current: createTable(resolvedOptions)\n }));\n\n // By default, manage table state here using the table's initial state\n const [state, setState] = React.useState(() => tableRef.current.initialState);\n\n // Compose the default state above with any user state. This will allow the user\n // to only control a subset of the state if desired.\n tableRef.current.setOptions(prev => ({\n ...prev,\n ...options,\n state: {\n ...state,\n ...options.state\n },\n // Similarly, we'll maintain both our internal state and any user-provided\n // state.\n onStateChange: updater => {\n setState(updater);\n options.onStateChange == null || options.onStateChange(updater);\n }\n }));\n return tableRef.current;\n}\n\nexport { flexRender, useReactTable };\n//# sourceMappingURL=index.mjs.map\n"],"names":["flexRender","Comp","props","isReactComponent","React","component","isClassComponent","isExoticComponent","proto","useReactTable","options","resolvedOptions","tableRef","createTable","state","setState","prev","updater"],"mappings":";;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmBA,SAASA,EAAWC,GAAMC,GAAO;AAC/B,SAAQD,IAAcE,EAAiBF,CAAI,IAAiB,gBAAAG,EAAM,cA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