@pdg/react-table 1.0.132 → 1.0.133
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.
- package/dist/index.esm.js +9 -1
- package/dist/index.js +9 -1
- package/package.json +12 -12
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import*as React from'react';import React__default,{forwardRef,useContext,isValidElement,cloneElement,Children,useRef,useState,useCallback,useEffect,createContext,useMemo,useLayoutEffect,useId as useId$1}from'react';import {jsx as jsx$1,jsxs}from'react/jsx-runtime';import {useSensors,useSensor,MouseSensor,TouchSensor,KeyboardSensor,DndContext,closestCenter}from'@dnd-kit/core';import {useSortable,SortableContext,verticalListSortingStrategy,sortableKeyboardCoordinates,arrayMove}from'@dnd-kit/sortable';import*as ReactDOM from'react-dom';import ReactDOM__default from'react-dom';import {useInView}from'react-intersection-observer';import {Search,SearchGroup,FormHidden}from'@pdg/react-form'
|
|
1
|
+
import*as React from'react';import React__default,{forwardRef,useContext,isValidElement,cloneElement,Children,useRef,useState,useCallback,useEffect,createContext,useMemo,useLayoutEffect,useId as useId$1}from'react';import {jsx as jsx$1,jsxs}from'react/jsx-runtime';import {useSensors,useSensor,MouseSensor,TouchSensor,KeyboardSensor,DndContext,closestCenter}from'@dnd-kit/core';import {useSortable,SortableContext,verticalListSortingStrategy,sortableKeyboardCoordinates,arrayMove}from'@dnd-kit/sortable';import*as ReactDOM from'react-dom';import ReactDOM__default from'react-dom';import {useInView}from'react-intersection-observer';import {Search,SearchGroup,FormHidden}from'@pdg/react-form';function insertStyle(css) {
|
|
2
|
+
if (typeof window === 'undefined')
|
|
3
|
+
return;
|
|
4
|
+
const style = document.createElement('style');
|
|
5
|
+
style.setAttribute('type', 'text/css');
|
|
6
|
+
style.innerHTML = css;
|
|
7
|
+
document.head.appendChild(style);
|
|
8
|
+
return css;
|
|
9
|
+
}insertStyle(".simplebar-track.simplebar-vertical{width:8px !important}.simplebar-track.simplebar-vertical .simplebar-scrollbar.simplebar-visible:before{opacity:.3 !important}.Table .TableHead .TableHeadRow th{position:relative;transform:translateY(-100%)}.Table.sticky-header .TableHead .TableHeadRow th{position:sticky;transform:none}");/******************************************************************************
|
|
2
10
|
Copyright (c) Microsoft Corporation.
|
|
3
11
|
|
|
4
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
'use strict';var React=require('react'),jsxRuntime=require('react/jsx-runtime'),core=require('@dnd-kit/core'),sortable=require('@dnd-kit/sortable'),ReactDOM=require('react-dom'),reactIntersectionObserver=require('react-intersection-observer'),reactForm=require('@pdg/react-form');function _interopNamespaceDefault(e){var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var React__namespace=/*#__PURE__*/_interopNamespaceDefault(React);var ReactDOM__namespace=/*#__PURE__*/_interopNamespaceDefault(ReactDOM)
|
|
1
|
+
'use strict';var React=require('react'),jsxRuntime=require('react/jsx-runtime'),core=require('@dnd-kit/core'),sortable=require('@dnd-kit/sortable'),ReactDOM=require('react-dom'),reactIntersectionObserver=require('react-intersection-observer'),reactForm=require('@pdg/react-form');function _interopNamespaceDefault(e){var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var React__namespace=/*#__PURE__*/_interopNamespaceDefault(React);var ReactDOM__namespace=/*#__PURE__*/_interopNamespaceDefault(ReactDOM);function insertStyle(css) {
|
|
2
|
+
if (typeof window === 'undefined')
|
|
3
|
+
return;
|
|
4
|
+
const style = document.createElement('style');
|
|
5
|
+
style.setAttribute('type', 'text/css');
|
|
6
|
+
style.innerHTML = css;
|
|
7
|
+
document.head.appendChild(style);
|
|
8
|
+
return css;
|
|
9
|
+
}insertStyle(".simplebar-track.simplebar-vertical{width:8px !important}.simplebar-track.simplebar-vertical .simplebar-scrollbar.simplebar-visible:before{opacity:.3 !important}.Table .TableHead .TableHeadRow th{position:relative;transform:translateY(-100%)}.Table.sticky-header .TableHead .TableHeadRow th{position:sticky;transform:none}");/******************************************************************************
|
|
2
10
|
Copyright (c) Microsoft Corporation.
|
|
3
11
|
|
|
4
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pdg/react-table",
|
|
3
3
|
"title": "React Table",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.133",
|
|
5
5
|
"description": "React Table",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -46,30 +46,30 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@dnd-kit/core": "^6.3.1",
|
|
48
48
|
"@dnd-kit/sortable": "^10.0.0",
|
|
49
|
-
"@pdg/react-form": "^1.0.
|
|
49
|
+
"@pdg/react-form": "^1.0.155",
|
|
50
50
|
"react-intersection-observer": "^9.16.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
+
"@eslint/js": "^9.28.0",
|
|
53
54
|
"@rollup/plugin-commonjs": "^28.0.3",
|
|
54
55
|
"@rollup/plugin-eslint": "^9.0.5",
|
|
55
56
|
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
56
|
-
"@types/node": "^22.
|
|
57
|
+
"@types/node": "^22.15.29",
|
|
57
58
|
"@types/react": "^19.1.6",
|
|
58
|
-
"@typescript-eslint/
|
|
59
|
-
"
|
|
60
|
-
"eslint": "
|
|
61
|
-
"eslint-
|
|
62
|
-
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
63
|
-
"eslint-plugin-prettier": "^5.2.6",
|
|
59
|
+
"@typescript-eslint/parser": "^8.33.0",
|
|
60
|
+
"eslint": "9.28.0",
|
|
61
|
+
"eslint-config-prettier": "^10.1.5",
|
|
62
|
+
"eslint-plugin-prettier": "^5.4.1",
|
|
64
63
|
"eslint-plugin-react": "^7.37.5",
|
|
65
64
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
66
65
|
"prettier": "^3.5.3",
|
|
67
|
-
"rollup": "^4.
|
|
66
|
+
"rollup": "^4.41.1",
|
|
68
67
|
"rollup-plugin-delete": "^2.2.0",
|
|
69
68
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
70
69
|
"rollup-plugin-sass": "^1.15.2",
|
|
71
70
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
72
|
-
"sass": "^1.
|
|
73
|
-
"typescript": "^5.8.3"
|
|
71
|
+
"sass": "^1.89.1",
|
|
72
|
+
"typescript": "^5.8.3",
|
|
73
|
+
"typescript-eslint": "^8.33.0"
|
|
74
74
|
}
|
|
75
75
|
}
|