@evixcard/evx-ui-kit 1.9.1 → 1.11.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.
@@ -18,6 +18,12 @@ declare const _default: <T extends Record<string, unknown> = Record<string, unkn
18
18
  row: T;
19
19
  value: unknown;
20
20
  }) => any>> & {
21
+ 'row-expansion'?(_: {
22
+ row: T;
23
+ }): any;
24
+ 'row-expansion'?(_: {
25
+ row: T;
26
+ }): any;
21
27
  empty?(_: {}): any;
22
28
  empty?(_: {}): any;
23
29
  card?(_: {
@@ -39,4 +39,11 @@ export interface EvDataTableProps<T extends Record<string, unknown> = Record<str
39
39
  * Defaults to `Select <rowKey value>`. The header select-all is always "Select all".
40
40
  */
41
41
  selectionLabel?: (row: T) => string;
42
+ /**
43
+ * Row-key of the currently expanded row (matched against the row's `rowKey`
44
+ * value). When set, an inline expansion row/panel is rendered directly under
45
+ * that row via the `#row-expansion` scoped slot, in both table and card view.
46
+ * `null`/omitted = nothing expanded (zero markup/behaviour change).
47
+ */
48
+ expandedKey?: string | number | null;
42
49
  }
@@ -0,0 +1 @@
1
+ export {};
@@ -5,6 +5,8 @@ export interface EvPopupClasses {
5
5
  panel?: string;
6
6
  header?: string;
7
7
  title?: string;
8
+ /** Overrides for the scrollable body region (the default slot wrapper). */
9
+ body?: string;
8
10
  }
9
11
  export interface EvPopupProps {
10
12
  isOpen: boolean;
@@ -21,8 +23,9 @@ export interface EvPopupProps {
21
23
  /** When `false`, the top-right close (X) button is hidden. Default: `true`. */
22
24
  showCloseButton?: boolean;
23
25
  /**
24
- * When `true`, the backdrop uses `bg-black/40 backdrop-blur-sm` instead of the
25
- * default `bg-black/30`. Pair with destructive or attention-demanding flows.
26
+ * Backdrop style. When `true` (default), the backdrop dims and blurs the page
27
+ * behind it (`bg-black/40 backdrop-blur-sm`). Set `false` to dim only
28
+ * (`bg-black/50`).
26
29
  */
27
30
  blur?: boolean;
28
31
  /** Per-element class overrides, merged over the defaults via `twMerge`. */
@@ -9,6 +9,12 @@ interface Props {
9
9
  * is ignored and the control stays a normal segmented selector.
10
10
  */
11
11
  toggle?: boolean;
12
+ /**
13
+ * Accessible name for the control. Useful for an icon-only toggle where the
14
+ * options carry no text label (otherwise the name is derived from the labels,
15
+ * falling back to "Toggle").
16
+ */
17
+ ariaLabel?: string;
12
18
  class?: string;
13
19
  }
14
20
  type __VLS_Props = Props;
@@ -22,5 +28,6 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
22
28
  }>, {
23
29
  size: "sm" | "md" | "lg";
24
30
  toggle: boolean;
31
+ ariaLabel: string;
25
32
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
33
  export default _default;