@jamsrui/data-grid 0.0.28 → 0.0.30
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/README.md +1 -3
- package/dist/data-grid-column-visibility.mjs +1 -1
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
**A comprehensive React UI component library designed for developers, with Tailwind CSS integration for seamless styling.**
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
## 📖 **Overview**
|
|
7
6
|
|
|
8
7
|
[JamsrUI](https://jamsr-ui.jamsrworld.com) is designed to help developers build modern, fast and visually appealing web applications with ease.
|
|
9
8
|
|
|
10
|
-
## 🚀 Getting Started
|
|
9
|
+
## 🚀 Getting Started
|
|
11
10
|
|
|
12
11
|
Boost & Build your websites using [JamsrUI](https://jamsr-ui.jamsrworld.com).
|
|
13
12
|
|
|
@@ -37,4 +36,3 @@ We welcome contributions from developers of all skill levels!
|
|
|
37
36
|
## ⭐ Support the Project
|
|
38
37
|
|
|
39
38
|
If you find **JamsrUI** helpful, consider giving it a ⭐ on [GitHub](https://github.com/jamsrworld/jamsr-ui).
|
|
40
|
-
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{jsx as i,jsxs as r}from"react/jsx-runtime";import{Button as o}from"@jamsrui/button";import{Settings2Icon as
|
|
1
|
+
"use client";import{jsx as i,jsxs as r}from"react/jsx-runtime";import{Button as o}from"@jamsrui/button";import{Settings2Icon as s}from"@jamsrui/icons";import{Menu as t}from"@jamsrui/menu";import{AnimatedTickIcon as l}from"@jamsrui/icons/animated";import{useDataGridContext as m}from"./data-grid-context.mjs";const c=()=>{const{table:a}=m();return r(t,{children:[i(t.Trigger,{children:r(o,{size:"sm",variant:"soft",children:[i(s,{}),"Column Visibility"]})}),i(t.Content,{children:a.getAllLeafColumns().filter(e=>e.getCanHide()).map(e=>{const n=e.columnDef.meta?.headerTitle??e.id;return r(t.Item,{preventCloseOnClick:!0,disabled:!e.getCanHide(),onClick:e.getToggleVisibilityHandler(),textValue:n,className:"capitalize",children:[i(l,{className:"text-primary",isSelected:e.getIsVisible()}),n]},e.id)})})]})};export{c as DataGridColumnVisibility};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jamsrui/data-grid",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@tanstack/react-table": ">=8",
|
|
6
6
|
"react": ">=19"
|
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
11
11
|
"@dnd-kit/sortable": "^10.0.0",
|
|
12
12
|
"@dnd-kit/utilities": "^3.2.2",
|
|
13
|
-
"@jamsrui/button": "^0.0.
|
|
14
|
-
"@jamsrui/core": "^0.0.
|
|
15
|
-
"@jamsrui/
|
|
16
|
-
"@jamsrui/
|
|
17
|
-
"@jamsrui/
|
|
18
|
-
"@jamsrui/
|
|
19
|
-
"@jamsrui/
|
|
20
|
-
"@jamsrui/
|
|
21
|
-
"@jamsrui/
|
|
22
|
-
"@jamsrui/
|
|
23
|
-
"@jamsrui/
|
|
24
|
-
"@jamsrui/
|
|
25
|
-
"@jamsrui/
|
|
26
|
-
"@jamsrui/
|
|
13
|
+
"@jamsrui/button": "^0.0.22",
|
|
14
|
+
"@jamsrui/core": "^0.0.16",
|
|
15
|
+
"@jamsrui/checkbox": "^0.0.21",
|
|
16
|
+
"@jamsrui/hooks": "^0.0.20",
|
|
17
|
+
"@jamsrui/icons": "^0.0.17",
|
|
18
|
+
"@jamsrui/input": "^0.0.23",
|
|
19
|
+
"@jamsrui/icon-button": "^0.0.20",
|
|
20
|
+
"@jamsrui/divider": "^0.0.20",
|
|
21
|
+
"@jamsrui/select": "^0.0.24",
|
|
22
|
+
"@jamsrui/label": "^0.0.14",
|
|
23
|
+
"@jamsrui/utils": "^0.0.20",
|
|
24
|
+
"@jamsrui/menu": "^0.0.23",
|
|
25
|
+
"@jamsrui/linear-progress": "^0.0.20",
|
|
26
|
+
"@jamsrui/table": "^0.0.21"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|