impact-nova 1.6.7 → 1.7.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.
- package/dist/components/ui/calendar.js +3 -2
- package/dist/components/ui/command-palette/command-palette.d.ts +3 -3
- package/dist/components/ui/command-palette/command-palette.js +193 -145
- package/dist/components/ui/data-table/data-table-column-list.js +107 -103
- package/dist/components/ui/data-table/data-table-column-state.d.ts +16 -0
- package/dist/components/ui/data-table/data-table-column-state.js +29 -0
- package/dist/components/ui/data-table/data-table-constants.d.ts +6 -3
- package/dist/components/ui/data-table/data-table-constants.js +3 -2
- package/dist/components/ui/data-table/data-table-view-menu.d.ts +16 -0
- package/dist/components/ui/data-table/data-table-view-menu.js +133 -0
- package/dist/components/ui/data-table/data-table.js +36 -27
- package/dist/components/ui/data-table/index.d.ts +1 -1
- package/dist/components/ui/data-table/index.js +24 -19
- package/dist/components/ui/dropdown-menu.js +10 -4
- package/dist/components/ui/filter-strip/filter-summary.js +198 -118
- package/dist/components/ui/sheet.js +57 -34
- package/dist/components/ui/tooltip.js +37 -26
- package/dist/i18n/defaultMessages.d.ts +2 -0
- package/dist/i18n/defaultMessages.js +6 -4
- package/dist/i18n/locales/de.js +2 -0
- package/dist/i18n/locales/es.js +2 -0
- package/dist/i18n/locales/hi.js +2 -0
- package/dist/i18n/locales/kn.js +2 -0
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +287 -282
- package/package.json +1 -1
- package/dist/components/ui/data-table/data-table-view-options.d.ts +0 -8
- package/dist/components/ui/data-table/data-table-view-options.js +0 -97
|
@@ -3,7 +3,10 @@ import * as m from "react";
|
|
|
3
3
|
import * as t from "@radix-ui/react-tooltip";
|
|
4
4
|
import { cva as c } from "class-variance-authority";
|
|
5
5
|
import { cn as n } from "../../lib/utils.js";
|
|
6
|
-
const f = t.Provider, x = ({
|
|
6
|
+
const f = t.Provider, x = ({
|
|
7
|
+
children: a,
|
|
8
|
+
...i
|
|
9
|
+
}) => /* @__PURE__ */ r(f, { children: /* @__PURE__ */ r(t.Root, { ...i, children: a }) }), h = t.Trigger, p = c(
|
|
7
10
|
"z-[100] overflow-hidden rounded-md px-4 py-2 text-sm animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
|
|
8
11
|
{
|
|
9
12
|
variants: {
|
|
@@ -17,31 +20,39 @@ const f = t.Provider, x = ({ children: a, ...i }) => /* @__PURE__ */ r(f, { chil
|
|
|
17
20
|
variant: "primary"
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
|
-
), g = m.forwardRef(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
23
|
+
), g = m.forwardRef(
|
|
24
|
+
({
|
|
25
|
+
className: a,
|
|
26
|
+
sideOffset: i = 4,
|
|
27
|
+
variant: o = "primary",
|
|
28
|
+
showArrow: d = !0,
|
|
29
|
+
...e
|
|
30
|
+
}, s) => /* @__PURE__ */ r(t.Portal, { children: /* @__PURE__ */ l(
|
|
31
|
+
t.Content,
|
|
32
|
+
{
|
|
33
|
+
ref: s,
|
|
34
|
+
sideOffset: i,
|
|
35
|
+
"data-component": "tooltip-content",
|
|
36
|
+
"data-variant": o ?? "primary",
|
|
37
|
+
className: n(p({ variant: o }), a),
|
|
38
|
+
...e,
|
|
39
|
+
children: [
|
|
40
|
+
e.children,
|
|
41
|
+
d && /* @__PURE__ */ r(
|
|
42
|
+
t.Arrow,
|
|
43
|
+
{
|
|
44
|
+
className: n(
|
|
45
|
+
"fill-current",
|
|
46
|
+
o === "primary" && "fill-brand",
|
|
47
|
+
o === "secondary" && "fill-background stroke-border",
|
|
48
|
+
o === "tertiary" && "fill-foreground"
|
|
49
|
+
)
|
|
50
|
+
}
|
|
51
|
+
)
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
) })
|
|
55
|
+
);
|
|
45
56
|
g.displayName = t.Content.displayName;
|
|
46
57
|
export {
|
|
47
58
|
x as Tooltip,
|
|
@@ -88,6 +88,8 @@ const e = {
|
|
|
88
88
|
densityDefault: "Default",
|
|
89
89
|
densityCompact: "Compact",
|
|
90
90
|
densityComfort: "Comfort",
|
|
91
|
+
tableExpand: "Table expand",
|
|
92
|
+
tableCollapse: "Table collapse",
|
|
91
93
|
loadingColumns: "Loading columns...",
|
|
92
94
|
fontSize: "Font size",
|
|
93
95
|
fontSmall: "Small",
|
|
@@ -145,7 +147,7 @@ const e = {
|
|
|
145
147
|
logout: "Logout"
|
|
146
148
|
}, f = {
|
|
147
149
|
stepOfTotal: "Step {{current}} of {{total}}"
|
|
148
|
-
},
|
|
150
|
+
}, p = {
|
|
149
151
|
title: "Advanced Filter",
|
|
150
152
|
currentColumn: "Current Column",
|
|
151
153
|
allFilters: "All Filters",
|
|
@@ -158,7 +160,7 @@ const e = {
|
|
|
158
160
|
addRule: "+ Add Rule",
|
|
159
161
|
deleteColumn: "Delete",
|
|
160
162
|
noValueNeeded: "No value needed"
|
|
161
|
-
},
|
|
163
|
+
}, S = {
|
|
162
164
|
activeFilter: "Active filter",
|
|
163
165
|
search: "Search",
|
|
164
166
|
selection: "Selection",
|
|
@@ -200,8 +202,8 @@ const e = {
|
|
|
200
202
|
prompt: i,
|
|
201
203
|
filterStrip: c,
|
|
202
204
|
filterPanel: u,
|
|
203
|
-
advancedFilter:
|
|
204
|
-
gridHeader:
|
|
205
|
+
advancedFilter: p,
|
|
206
|
+
gridHeader: S,
|
|
205
207
|
notificationPanel: d,
|
|
206
208
|
horizontalScroller: m,
|
|
207
209
|
sidebar: h,
|
package/dist/i18n/locales/de.js
CHANGED
|
@@ -94,6 +94,8 @@ const e = {
|
|
|
94
94
|
densityDefault: "Standard",
|
|
95
95
|
densityCompact: "Kompakt",
|
|
96
96
|
densityComfort: "Komfort",
|
|
97
|
+
tableExpand: "Tabelle erweitern",
|
|
98
|
+
tableCollapse: "Tabelle einklappen",
|
|
97
99
|
loadingColumns: "Spalten werden geladen...",
|
|
98
100
|
fontSize: "Schriftgröße",
|
|
99
101
|
fontSmall: "Klein",
|
package/dist/i18n/locales/es.js
CHANGED
|
@@ -94,6 +94,8 @@ const e = {
|
|
|
94
94
|
densityDefault: "Predeterminado",
|
|
95
95
|
densityCompact: "Compacto",
|
|
96
96
|
densityComfort: "Confort",
|
|
97
|
+
tableExpand: "Expandir tabla",
|
|
98
|
+
tableCollapse: "Contraer tabla",
|
|
97
99
|
loadingColumns: "Cargando columnas...",
|
|
98
100
|
fontSize: "Tamaño de fuente",
|
|
99
101
|
fontSmall: "Pequeño",
|
package/dist/i18n/locales/hi.js
CHANGED
|
@@ -94,6 +94,8 @@ const e = {
|
|
|
94
94
|
densityDefault: "डिफ़ॉल्ट",
|
|
95
95
|
densityCompact: "कॉम्पैक्ट",
|
|
96
96
|
densityComfort: "कम्फ़र्ट",
|
|
97
|
+
tableExpand: "टेबल विस्तारित करें",
|
|
98
|
+
tableCollapse: "टेबल संक्षिप्त करें",
|
|
97
99
|
loadingColumns: "कॉलम लोड हो रहे हैं...",
|
|
98
100
|
fontSize: "फ़ॉन्ट आकार",
|
|
99
101
|
fontSmall: "छोटा",
|
package/dist/i18n/locales/kn.js
CHANGED
|
@@ -94,6 +94,8 @@ const e = {
|
|
|
94
94
|
densityDefault: "ಡೀಫಾಲ್ಟ್",
|
|
95
95
|
densityCompact: "ಕಾಂಪ್ಯಾಕ್ಟ್",
|
|
96
96
|
densityComfort: "ಕಮ್ಫರ್ಟ್",
|
|
97
|
+
tableExpand: "ಟೇಬಲ್ ವಿಸ್ತರಿಸಿ",
|
|
98
|
+
tableCollapse: "ಟೇಬಲ್ ಕುಗ್ಗಿಸಿ",
|
|
97
99
|
loadingColumns: "ಕಾಲಮ್ಗಳನ್ನು ಲೋಡ್ ಮಾಡಲಾಗುತ್ತಿದೆ...",
|
|
98
100
|
fontSize: "ಫಾಂಟ್ ಗಾತ್ರ",
|
|
99
101
|
fontSmall: "ಸಣ್ಣ",
|