@forgedevstack/grid-table 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@forgedevstack/grid-table",
3
- "version": "1.0.0",
4
- "description": "A powerful, headless grid table component for React with Tailwind CSS styling, drag-and-drop columns, filtering, sorting, and responsive mobile support",
3
+ "version": "1.0.2",
4
+ "description": "A powerful, headless grid table component for React with SCSS styling, drag-and-drop columns, filtering, sorting, and responsive mobile support",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -11,6 +11,7 @@
11
11
  "import": "./dist/index.mjs",
12
12
  "require": "./dist/index.js"
13
13
  },
14
+ "./grid-table.css": "./dist/grid-table.css",
14
15
  "./hooks": {
15
16
  "types": "./dist/hooks/index.d.ts",
16
17
  "import": "./dist/hooks/index.mjs",
@@ -25,10 +26,11 @@
25
26
  "files": [
26
27
  "dist",
27
28
  "README.md",
28
- "CHANGELOG.md"
29
+ "CHANGELOG.md",
30
+ "src/grid-table.scss"
29
31
  ],
30
32
  "scripts": {
31
- "build": "tsup src/index.ts --format cjs,esm --dts --clean",
33
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean && npx sass src/grid-table.scss dist/grid-table.css --style compressed --no-source-map",
32
34
  "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
33
35
  "lint": "eslint src --ext .ts,.tsx",
34
36
  "typecheck": "tsc --noEmit",
@@ -43,7 +45,7 @@
43
45
  "table",
44
46
  "grid",
45
47
  "data-table",
46
- "tailwind",
48
+ "scss",
47
49
  "typescript",
48
50
  "drag-drop",
49
51
  "sorting",
@@ -61,7 +63,7 @@
61
63
  "bugs": {
62
64
  "url": "https://github.com/yaghobieh/grid-table/issues"
63
65
  },
64
- "homepage": "https://forgestack.dev/table",
66
+ "homepage": "https://forgedevstack.dev/table",
65
67
  "peerDependencies": {
66
68
  "react": ">=16.8.0",
67
69
  "react-dom": ">=16.8.0"
@@ -79,6 +81,7 @@
79
81
  "@types/react-dom": "^18.2.0",
80
82
  "react": "^18.2.0",
81
83
  "react-dom": "^18.2.0",
84
+ "sass": "^1.77.0",
82
85
  "tsup": "^8.0.0",
83
86
  "typescript": "^5.3.0"
84
87
  }
@@ -0,0 +1,26 @@
1
+ /* Grid Table - Zero Config SCSS */
2
+ /* Import this file: import '@forgedevstack/grid-table/dist/grid-table.css' */
3
+
4
+ // Base
5
+ @import 'styles/base/variables';
6
+ @import 'styles/base/mixins';
7
+
8
+ // Components
9
+ @import 'styles/components/grid-table';
10
+ @import 'styles/components/header';
11
+ @import 'styles/components/body';
12
+ @import 'styles/components/row';
13
+ @import 'styles/components/cell';
14
+ @import 'styles/components/toolbar';
15
+ @import 'styles/components/pagination';
16
+ @import 'styles/components/filter-popup';
17
+ @import 'styles/components/mobile-drawer';
18
+ @import 'styles/components/skeleton';
19
+ @import 'styles/components/empty-state';
20
+
21
+ // Utilities
22
+ @import 'styles/utilities/utilities';
23
+ @import 'styles/utilities/theme-classes';
24
+
25
+ // Responsive
26
+ @import 'styles/responsive';