nntc-ui 0.0.9 → 0.0.10

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 (2) hide show
  1. package/index.js +8 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -19,6 +19,10 @@ import {
19
19
  SortUpIcon
20
20
  } from "./chunk-TKJ7MZJW.js";
21
21
 
22
+ // src/index.ts
23
+ import dayjs5 from "dayjs";
24
+ import utc from "dayjs/plugin/utc";
25
+
22
26
  // src/components/common/Button/Button.tsx
23
27
  import classnames from "classnames";
24
28
  import { forwardRef } from "react";
@@ -1688,7 +1692,6 @@ import { flexRender, getCoreRowModel, useReactTable } from "@tanstack/react-tabl
1688
1692
  import { defaultRangeExtractor, useVirtualizer } from "@tanstack/react-virtual";
1689
1693
  import classnames23 from "classnames";
1690
1694
  import dayjs4 from "dayjs";
1691
- import utc from "dayjs/plugin/utc";
1692
1695
  import { Fragment as Fragment7, useCallback as useCallback7, useEffect as useEffect9, useMemo as useMemo7, useRef as useRef10, useState as useState14 } from "react";
1693
1696
 
1694
1697
  // src/components/view/Tooltip/Tooltip.tsx
@@ -2555,8 +2558,6 @@ function VirtualTable(props) {
2555
2558
  scrollToBottom,
2556
2559
  useTableContainerAsRootForPopup
2557
2560
  } = props;
2558
- dayjs4.locale("ru");
2559
- dayjs4.extend(utc);
2560
2561
  const [filterBy, setFilterBy] = useState14([]);
2561
2562
  const [sortBy, setSortBy] = useState14([{ columnName: "isNew", direction: "desc" }]);
2562
2563
  const tableContainerRef = useRef10(null);
@@ -3179,6 +3180,10 @@ function Card(props) {
3179
3180
  /* @__PURE__ */ jsx39("div", { className: classNames6(classes?.body), children })
3180
3181
  ] });
3181
3182
  }
3183
+
3184
+ // src/index.ts
3185
+ dayjs5.locale("ru");
3186
+ dayjs5.extend(utc);
3182
3187
  export {
3183
3188
  Button,
3184
3189
  ButtonsGroup,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nntc-ui",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "React UI-kit for NNTC",
5
5
  "type": "module",
6
6
  "exports": {