impact-nova 1.6.7 → 1.7.1

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 (42) hide show
  1. package/README.md +15 -0
  2. package/dist/components/ui/calendar.js +3 -2
  3. package/dist/components/ui/command-palette/command-palette-context.js +19 -17
  4. package/dist/components/ui/command-palette/command-palette.d.ts +3 -3
  5. package/dist/components/ui/command-palette/command-palette.js +193 -145
  6. package/dist/components/ui/data-table/data-table-column-list.js +107 -103
  7. package/dist/components/ui/data-table/data-table-column-state.d.ts +16 -0
  8. package/dist/components/ui/data-table/data-table-column-state.js +29 -0
  9. package/dist/components/ui/data-table/data-table-constants.d.ts +6 -3
  10. package/dist/components/ui/data-table/data-table-constants.js +3 -2
  11. package/dist/components/ui/data-table/data-table-view-menu.d.ts +16 -0
  12. package/dist/components/ui/data-table/data-table-view-menu.js +133 -0
  13. package/dist/components/ui/data-table/data-table.js +36 -27
  14. package/dist/components/ui/data-table/index.d.ts +1 -1
  15. package/dist/components/ui/data-table/index.js +24 -19
  16. package/dist/components/ui/dropdown-menu.js +10 -4
  17. package/dist/components/ui/filter-strip/filter-summary.js +198 -118
  18. package/dist/components/ui/sheet.js +57 -34
  19. package/dist/components/ui/tooltip.js +37 -26
  20. package/dist/i18n/defaultMessages.d.ts +2 -0
  21. package/dist/i18n/defaultMessages.js +6 -4
  22. package/dist/i18n/locales/de.js +2 -0
  23. package/dist/i18n/locales/es.js +2 -0
  24. package/dist/i18n/locales/hi.js +2 -0
  25. package/dist/i18n/locales/kn.js +2 -0
  26. package/dist/impact-nova.css +1 -1
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +287 -282
  29. package/dist/llms/index.d.ts +10 -0
  30. package/dist/llms/index.js +75 -0
  31. package/dist/llms/rules/accessibility.js +1 -0
  32. package/dist/llms/rules/ag-grid.js +1 -0
  33. package/dist/llms/rules/best-practices.js +1 -0
  34. package/dist/llms/rules/command-palette.js +1 -0
  35. package/dist/llms/rules/installation.js +1 -0
  36. package/dist/llms/rules/migration.js +1 -0
  37. package/dist/llms/rules/real-world-patterns.js +1 -0
  38. package/dist/llms/rules/requirements.js +1 -0
  39. package/dist/llms/rules/troubleshooting.js +1 -0
  40. package/package.json +6 -2
  41. package/dist/components/ui/data-table/data-table-view-options.d.ts +0 -8
  42. 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 = ({ children: a, ...i }) => /* @__PURE__ */ r(f, { children: /* @__PURE__ */ r(t.Root, { ...i, children: a }) }), h = t.Trigger, p = c(
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(({ className: a, sideOffset: i = 4, variant: o = "primary", showArrow: d = !0, ...e }, s) => /* @__PURE__ */ r(t.Portal, { children: /* @__PURE__ */ l(
21
- t.Content,
22
- {
23
- ref: s,
24
- sideOffset: i,
25
- "data-component": "tooltip-content",
26
- "data-variant": o ?? "primary",
27
- className: n(p({ variant: o }), a),
28
- ...e,
29
- children: [
30
- e.children,
31
- d && /* @__PURE__ */ r(
32
- t.Arrow,
33
- {
34
- className: n(
35
- "fill-current",
36
- o === "primary" && "fill-brand",
37
- o === "secondary" && "fill-background stroke-border",
38
- o === "tertiary" && "fill-foreground"
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,
@@ -104,6 +104,8 @@ export interface DataTableMessages {
104
104
  densityDefault: string;
105
105
  densityCompact: string;
106
106
  densityComfort: string;
107
+ tableExpand: string;
108
+ tableCollapse: string;
107
109
  loadingColumns: string;
108
110
  fontSize: string;
109
111
  fontSmall: string;
@@ -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
- }, S = {
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
- }, p = {
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: S,
204
- gridHeader: p,
205
+ advancedFilter: p,
206
+ gridHeader: S,
205
207
  notificationPanel: d,
206
208
  horizontalScroller: m,
207
209
  sidebar: h,
@@ -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",
@@ -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",
@@ -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: "छोटा",
@@ -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: "ಸಣ್ಣ",