@nar-bus/ui-kit 1.1.1 → 1.3.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.
@@ -3,6 +3,8 @@ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
3
3
  variant?: "success" | "warning" | "error" | "info" | "default" | "primary-subtle";
4
4
  size?: "sm" | "md";
5
5
  dot?: boolean;
6
+ /** Force the dot to pulse (error already pulses regardless). */
7
+ pulse?: boolean;
6
8
  }
7
9
  export declare const Badge: import('react').ForwardRefExoticComponent<BadgeProps & import('react').RefAttributes<HTMLSpanElement>>;
8
10
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/atoms/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,gBAAgB,CAAC;IAClF,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAgBD,eAAO,MAAM,KAAK,wGA+BjB,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../src/atoms/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,gBAAgB,CAAC;IAClF,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,gEAAgE;IAChE,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAgBD,eAAO,MAAM,KAAK,wGAgCjB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { HTMLAttributes } from 'react';
2
+ /**
3
+ * Card family — a generic, token-only surface container (shadcn grammar).
4
+ *
5
+ * Every part is a bare styled `<div>` with `forwardRef` + full
6
+ * `HTMLAttributes<HTMLDivElement>` passthrough and NO semantic props
7
+ * (no variant/padding/onClick/hoverable) — the legacy `@nar-bus/lena-ui-shared`
8
+ * Card the MDM call sites consume is a pure className surface (0 semantic-prop
9
+ * usage across the family's 82 tags / 16 files — 22 of them bare `<Card>`), so
10
+ * this is a drop-in for `{ Card, CardHeader, CardTitle, CardContent }` (separate
11
+ * exports, not compound). Padding lives on the sub-parts
12
+ * (header/content/footer), matching shadcn's composition so a bare
13
+ * `<Card><CardHeader>…</CardHeader><CardContent>…</CardContent></Card>` renders
14
+ * with correct spacing.
15
+ *
16
+ * This is distinct from `KpiCard` (rich hero KPI) and the glass `DetailTile` —
17
+ * Card is the plain general-purpose surface.
18
+ */
19
+ export type CardProps = HTMLAttributes<HTMLDivElement>;
20
+ export declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
21
+ export declare const CardHeader: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
22
+ export declare const CardTitle: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
23
+ export declare const CardDescription: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
24
+ export declare const CardContent: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
25
+ export declare const CardFooter: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
26
+ /** Right-aligned action slot for a CardHeader (e.g. a menu button). */
27
+ export declare const CardAction: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
28
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../src/atoms/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAGxD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvD,eAAO,MAAM,IAAI,sGASf,CAAC;AAGH,eAAO,MAAM,UAAU,sGASrB,CAAC;AAGH,eAAO,MAAM,SAAS,sGASpB,CAAC;AAGH,eAAO,MAAM,eAAe,sGAM1B,CAAC;AAGH,eAAO,MAAM,WAAW,sGAEtB,CAAC;AAGH,eAAO,MAAM,UAAU,sGAMrB,CAAC;AAGH,uEAAuE;AACvE,eAAO,MAAM,UAAU,sGAErB,CAAC"}
@@ -14,4 +14,5 @@ export { Skeleton, type SkeletonProps } from './Skeleton';
14
14
  export { Tooltip, type TooltipProps } from './Tooltip';
15
15
  export { Separator, type SeparatorProps } from './Separator';
16
16
  export { Textarea, type TextareaProps } from './Textarea';
17
+ export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, CardAction, type CardProps, } from './Card';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,W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,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,eAAe,EACf,WAAW,EACX,UAAU,EACV,UAAU,EACV,KAAK,SAAS,GACf,MAAM,QAAQ,CAAC"}
@@ -1,3 +1,2 @@
1
- import { default as i18n } from 'i18next';
2
- export { i18n };
1
+ export declare const i18n: import('i18next').i18n;
3
2
  //# sourceMappingURL=setup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/i18n/setup.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AA0B3B,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/i18n/setup.ts"],"names":[],"mappings":"AA4CA,eAAO,MAAM,IAAI,wBAAyB,CAAC"}