@narmi/design_system 6.22.6 → 6.24.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.
@@ -12,75 +12,75 @@ export const ColorGreyMediumGrey = "#6c6c6c";
12
12
  export const ColorGreyDarkGrey = "#4c4c4c";
13
13
  export const ColorGreyBlack = "#333333";
14
14
  export const ColorGreyWhite = "#ffffff";
15
- export const ColorNarmiMoss100 = "#002921";
16
- export const ColorNarmiMoss200 = "#0F3C32";
17
- export const ColorNarmiMoss300 = "#005242";
18
- export const ColorNarmiMoss400 = "#006553";
19
- export const ColorNarmiMoss500 = "#3E8373";
20
- export const ColorNarmiMoss600 = "#6EA193";
21
- export const ColorNarmiMoss700 = "#9DC0B6";
22
- export const ColorNarmiMoss800 = "#CDDED9";
23
- export const ColorNarmiMoss = "#006553";
24
- export const ColorNarmiPine100 = "#041A14";
25
- export const ColorNarmiPine200 = "#062821";
26
- export const ColorNarmiPine300 = "#16362C";
27
- export const ColorNarmiPine400 = "#1A4338";
28
- export const ColorNarmiPine500 = "#44655B";
29
- export const ColorNarmiPine600 = "#708981";
30
- export const ColorNarmiPine700 = "#708981";
31
- export const ColorNarmiPine800 = "#CDD6D3";
32
- export const ColorNarmiPine = "#1A4338";
33
- export const ColorNarmiCove100 = "#002547";
34
- export const ColorNarmiCove200 = "#00376A";
35
- export const ColorNarmiCove300 = "#094895";
36
- export const ColorNarmiCove400 = "#005CB2";
37
- export const ColorNarmiCove500 = "#237CC3";
38
- export const ColorNarmiCove600 = "#66A2D6";
39
- export const ColorNarmiCove700 = "#A6CFF0";
40
- export const ColorNarmiCove800 = "#D4EDFF";
41
- export const ColorNarmiCove = "#005CB2";
42
- export const ColorNarmiAzul100 = "#001340";
43
- export const ColorNarmiAzul200 = "#00205E";
44
- export const ColorNarmiAzul300 = "#002C82";
45
- export const ColorNarmiAzul400 = "#003EA0";
46
- export const ColorNarmiAzul500 = "#3664B5";
47
- export const ColorNarmiAzul600 = "#6B89C7";
48
- export const ColorNarmiAzul700 = "#9CB1DE";
49
- export const ColorNarmiAzul800 = "#C9D8F2";
50
- export const ColorNarmiAzul = "#003EA0";
51
- export const ColorNarmiPistachio100 = "#485E3D";
52
- export const ColorNarmiPistachio200 = "#6B8C5A";
53
- export const ColorNarmiPistachio300 = "#90BB78";
54
- export const ColorNarmiPistachio400 = "#B5E995";
55
- export const ColorNarmiPistachio500 = "#CCF0B4";
56
- export const ColorNarmiPistachio600 = "#DAF4C8";
57
- export const ColorNarmiPistachio700 = "#E9F8DE";
58
- export const ColorNarmiPistachio800 = "#F7FCF3";
59
- export const ColorNarmiPistachio = "#B5E995";
60
- export const ColorNarmiCactus100 = "#324C23";
61
- export const ColorNarmiCactus200 = "#4B7137";
62
- export const ColorNarmiCactus300 = "#63964B";
63
- export const ColorNarmiCactus400 = "#7FBC5B";
64
- export const ColorNarmiCactus500 = "#99CA7A";
65
- export const ColorNarmiCactus600 = "#B3D79A";
66
- export const ColorNarmiCactus700 = "#CCE4BA";
67
- export const ColorNarmiCactus800 = "#E5F1DC";
68
- export const ColorNarmiCactus = "#7FBC5B";
69
- export const ColorNarmiSand100 = "#423329";
70
- export const ColorNarmiSand200 = "#684D41";
71
- export const ColorNarmiSand300 = "#947564";
72
- export const ColorNarmiSand400 = "#C4A08A";
73
- export const ColorNarmiSand500 = "#DCC1A3";
74
- export const ColorNarmiSand600 = "#EED6C3";
75
- export const ColorNarmiSand700 = "#F4E3D6";
76
- export const ColorNarmiSand800 = "#FCF0E9";
77
- export const ColorNarmiSand = "#DCC1A3";
78
- export const ColorNarmiAmethyst = "#5514B8";
79
- export const ColorNarmiBlack = "#333333";
80
- export const ColorNarmiGrey = "#6c6c6c";
81
- export const ColorNarmiMediumGrey = "#6c6c6c";
82
- export const ColorNarmiLightGrey = "#d9d9d9";
83
- export const ColorNarmiWhite = "#ffffff";
15
+ export const ColorNarmiMoss100 = "#002921"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
16
+ export const ColorNarmiMoss200 = "#0F3C32"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
17
+ export const ColorNarmiMoss300 = "#005242"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
18
+ export const ColorNarmiMoss400 = "#006553"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
19
+ export const ColorNarmiMoss500 = "#3E8373"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
20
+ export const ColorNarmiMoss600 = "#6EA193"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
21
+ export const ColorNarmiMoss700 = "#9DC0B6"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
22
+ export const ColorNarmiMoss800 = "#CDDED9"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
23
+ export const ColorNarmiMoss = "#006553"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
24
+ export const ColorNarmiPine100 = "#041A14"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
25
+ export const ColorNarmiPine200 = "#062821"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
26
+ export const ColorNarmiPine300 = "#16362C"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
27
+ export const ColorNarmiPine400 = "#1A4338"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
28
+ export const ColorNarmiPine500 = "#44655B"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
29
+ export const ColorNarmiPine600 = "#708981"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
30
+ export const ColorNarmiPine700 = "#708981"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
31
+ export const ColorNarmiPine800 = "#CDD6D3"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
32
+ export const ColorNarmiPine = "#1A4338"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
33
+ export const ColorNarmiCove100 = "#002547"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
34
+ export const ColorNarmiCove200 = "#00376A"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
35
+ export const ColorNarmiCove300 = "#094895"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
36
+ export const ColorNarmiCove400 = "#005CB2"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
37
+ export const ColorNarmiCove500 = "#237CC3"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
38
+ export const ColorNarmiCove600 = "#66A2D6"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
39
+ export const ColorNarmiCove700 = "#A6CFF0"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
40
+ export const ColorNarmiCove800 = "#D4EDFF"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
41
+ export const ColorNarmiCove = "#005CB2"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
42
+ export const ColorNarmiAzul100 = "#001340"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
43
+ export const ColorNarmiAzul200 = "#00205E"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
44
+ export const ColorNarmiAzul300 = "#002C82"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
45
+ export const ColorNarmiAzul400 = "#003EA0"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
46
+ export const ColorNarmiAzul500 = "#3664B5"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
47
+ export const ColorNarmiAzul600 = "#6B89C7"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
48
+ export const ColorNarmiAzul700 = "#9CB1DE"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
49
+ export const ColorNarmiAzul800 = "#C9D8F2"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
50
+ export const ColorNarmiAzul = "#003EA0"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
51
+ export const ColorNarmiPistachio100 = "#485E3D"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
52
+ export const ColorNarmiPistachio200 = "#6B8C5A"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
53
+ export const ColorNarmiPistachio300 = "#90BB78"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
54
+ export const ColorNarmiPistachio400 = "#B5E995"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
55
+ export const ColorNarmiPistachio500 = "#CCF0B4"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
56
+ export const ColorNarmiPistachio600 = "#DAF4C8"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
57
+ export const ColorNarmiPistachio700 = "#E9F8DE"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
58
+ export const ColorNarmiPistachio800 = "#F7FCF3"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
59
+ export const ColorNarmiPistachio = "#B5E995"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
60
+ export const ColorNarmiCactus100 = "#324C23"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
61
+ export const ColorNarmiCactus200 = "#4B7137"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
62
+ export const ColorNarmiCactus300 = "#63964B"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
63
+ export const ColorNarmiCactus400 = "#7FBC5B"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
64
+ export const ColorNarmiCactus500 = "#99CA7A"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
65
+ export const ColorNarmiCactus600 = "#B3D79A"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
66
+ export const ColorNarmiCactus700 = "#CCE4BA"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
67
+ export const ColorNarmiCactus800 = "#E5F1DC"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
68
+ export const ColorNarmiCactus = "#7FBC5B"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
69
+ export const ColorNarmiSand100 = "#423329"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
70
+ export const ColorNarmiSand200 = "#684D41"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
71
+ export const ColorNarmiSand300 = "#947564"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
72
+ export const ColorNarmiSand400 = "#C4A08A"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
73
+ export const ColorNarmiSand500 = "#DCC1A3"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
74
+ export const ColorNarmiSand600 = "#EED6C3"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
75
+ export const ColorNarmiSand700 = "#F4E3D6"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
76
+ export const ColorNarmiSand800 = "#FCF0E9"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
77
+ export const ColorNarmiSand = "#DCC1A3"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
78
+ export const ColorNarmiAmethyst = "#5514B8"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
79
+ export const ColorNarmiBlack = "#333333"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
80
+ export const ColorNarmiGrey = "#6c6c6c"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
81
+ export const ColorNarmiMediumGrey = "#6c6c6c"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
82
+ export const ColorNarmiLightGrey = "#d9d9d9"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
83
+ export const ColorNarmiWhite = "#ffffff"; // @deprecated brand color — not part of the public token API; prefer semantic theme tokens (--theme-*).
84
84
  export const ColorSystemSuccessDark = "#027A48";
85
85
  export const ColorSystemSuccessLight = "#ECFDF3";
86
86
  export const ColorSystemWarnDark = "#B54708";
@@ -23,6 +23,8 @@ export interface ButtonProps {
23
23
  type?: "submit" | "button" | "reset";
24
24
  /** size variant of button */
25
25
  size?: "xs" | "s" | "m";
26
+ /** horizontal alignment of button label content */
27
+ labelAlign?: "start" | "center" | "end";
26
28
  /** Name of Narmi icon to place at the start of the label */
27
29
  startIcon?: IconName | null;
28
30
  /** Name of Narmi icon to place at the end of the label */
@@ -40,7 +42,8 @@ export interface ButtonProps {
40
42
  children?: React.ReactNode | string | undefined;
41
43
  /**
42
44
  * Will take up full width of its parent container when `true`.
43
- * The label will align start with flex grow.
45
+ * Full-width buttons align label content to `start` by default; use `labelAlign`
46
+ * to override that alignment.
44
47
  */
45
48
  isFullWidth?: boolean;
46
49
  [x: string]: unknown;
@@ -54,6 +57,6 @@ export interface ButtonProps {
54
57
  * This component supports rest props; any additional props on button will be
55
58
  * passed through to the root node of `Button`.
56
59
  */
57
- declare const Button: ({ isLoading, disabled, kind, type, size, startIcon, endIcon, testId, children, label, onClick, as, ariaLabel, isFullWidth, ...otherProps }: ButtonProps) => React.JSX.Element;
60
+ declare const Button: ({ isLoading, disabled, kind, type, size, labelAlign, startIcon, endIcon, testId, children, label, onClick, as, ariaLabel, isFullWidth, ...otherProps }: ButtonProps) => React.JSX.Element;
58
61
  export default Button;
59
62
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":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IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC;IAChD;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,MAAM,GAAI,wJAiBb,WAAW,sBAkFb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,25 @@
1
+ export interface NavigationSelectionContextValue {
2
+ /**
3
+ * The `itemId` of the currently selected `NavigationItem`, resolved by the
4
+ * parent `Navigation` (from `selectedId` or its own uncontrolled state).
5
+ */
6
+ selectedId?: string;
7
+ /**
8
+ * Called with a `NavigationItem`'s `itemId` when it is clicked, so the parent
9
+ * can update selection.
10
+ */
11
+ onSelect?: (id: string) => void;
12
+ /**
13
+ * `true` when a `Navigation` provides this context. When managed, a
14
+ * `NavigationItem` derives its selected state from `itemId === selectedId`;
15
+ * otherwise it falls back to its own `isSelected` prop.
16
+ */
17
+ isManaged: boolean;
18
+ }
19
+ /**
20
+ * Internal context used by `Navigation` to coordinate single-selection across
21
+ * `NavigationItem` children. The default is unmanaged, so a `NavigationItem`
22
+ * used standalone falls back to its own `isSelected` prop.
23
+ */
24
+ export declare const NavigationSelectionContext: import('react').Context<NavigationSelectionContextValue>;
25
+ //# sourceMappingURL=context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/Navigation/context.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,+BAA+B;IAC9C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,0DAC+B,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { default as React, ReactNode, HTMLAttributes } from 'react';
2
+ export interface NavigationProps extends Omit<HTMLAttributes<HTMLElement>, "aria-label" | "className" | "onSelect"> {
3
+ /**
4
+ * Accessible name for the `nav` landmark; applied as `aria-label`.
5
+ *
6
+ * A sidebar usually has multiple `nav` landmarks; the label is what
7
+ * distinguishes them for assistive technology.
8
+ */
9
+ label: string;
10
+ /** `NavigationItem` children (or any content). */
11
+ children?: ReactNode;
12
+ /**
13
+ * The `itemId` of the currently selected `NavigationItem` (controlled).
14
+ *
15
+ * Providing this opts into coordinated single-selection and makes `Navigation`
16
+ * a controlled component: own this value in your app (typically derived from
17
+ * the router) and update it in `onSelect`.
18
+ */
19
+ selectedId?: string;
20
+ /**
21
+ * The initially selected `itemId` (uncontrolled). `Navigation` owns selection
22
+ * state internally and updates it as items are clicked. Use this for local,
23
+ * non-URL-driven selection; use `selectedId` when the router is the source of
24
+ * truth.
25
+ */
26
+ defaultSelectedId?: string;
27
+ /**
28
+ * Called with a `NavigationItem`'s `itemId` when it is clicked. Fires in both
29
+ * controlled and uncontrolled modes.
30
+ */
31
+ onSelect?: (id: string) => void;
32
+ /** Optional value for `data-testid` attribute */
33
+ testId?: string;
34
+ }
35
+ /**
36
+ * Sidebar navigation container. Renders a `nav` landmark whose accessible name
37
+ * comes from `label`.
38
+ *
39
+ * ## Selection
40
+ * `Navigation` coordinates single-selection across `NavigationItem` children by
41
+ * their `itemId`:
42
+ * - **Uncontrolled:** pass `defaultSelectedId`; `Navigation` owns the state and
43
+ * updates it as items are clicked.
44
+ * - **Controlled:** pass `selectedId` (with `onSelect`) and own the value in
45
+ * your app — the right choice when the router is the source of truth.
46
+ */
47
+ declare const Navigation: React.ForwardRefExoticComponent<NavigationProps & React.RefAttributes<HTMLElement>>;
48
+ export default Navigation;
49
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Navigation/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAGf,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,cAAc,CAAC,WAAW,CAAC,EAC3B,YAAY,GAAG,WAAW,GAAG,UAAU,CACxC;IACC;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,UAAU,qFAgCd,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -0,0 +1,72 @@
1
+ import { default as React, ReactNode, ElementType } from 'react';
2
+ export interface NavigationItemProps {
3
+ /**
4
+ * Called when the item is clicked. Fires in addition to a parent
5
+ * `Navigation`'s `onSelect` when selection is coordinated.
6
+ */
7
+ onClick?: React.MouseEventHandler<HTMLElement>;
8
+ /**
9
+ * Marks this item as the current page. Maps directly to
10
+ * `aria-current="page"` on the control, which also drives the selected
11
+ * visual (stripe + row background) in CSS so the two cannot drift apart.
12
+ *
13
+ * When this item is inside a `Navigation`, selection is coordinated by the
14
+ * parent and derived from `itemId`; `isSelected` is the fallback for
15
+ * standalone (unmanaged) use.
16
+ */
17
+ isSelected?: boolean;
18
+ /**
19
+ * Stable identity for coordinated selection. When the parent `Navigation`'s
20
+ * resolved selection matches this `itemId`, the item renders as selected, and
21
+ * clicking it reports this `itemId` to the parent's `onSelect`.
22
+ */
23
+ itemId?: string;
24
+ /**
25
+ * The element or component to render as the control. Defaults to `"a"` when
26
+ * `href` is set, otherwise `"button"`. Pass a router link component (e.g.
27
+ * `as={Link}`) and its props (e.g. `to`) to integrate with client routing.
28
+ */
29
+ as?: ElementType;
30
+ /**
31
+ * When set, the control renders as an anchor (unless `as` overrides it). The
32
+ * href is sanitized against unsafe protocols.
33
+ */
34
+ href?: string;
35
+ /** The control's primary text (its accessible label). */
36
+ label: string;
37
+ /** Optional secondary text rendered beneath the label. */
38
+ detail?: string;
39
+ /** Optional decorative content rendered before the control (e.g. an icon). */
40
+ startContent?: ReactNode;
41
+ /**
42
+ * Optional content rendered after the control as a grid sibling (e.g. a
43
+ * "more" action). Because it is a sibling of the control, not a child, it does
44
+ * not create invalid nested interactive elements.
45
+ */
46
+ endContent?: ReactNode;
47
+ /** Optional value for `data-testid` attribute */
48
+ testId?: string;
49
+ /**
50
+ * Additional props are spread onto the control (e.g. `id`, `aria-*`, or a
51
+ * router link's `to`).
52
+ */
53
+ [key: string]: unknown;
54
+ }
55
+ /**
56
+ * A single sidebar navigation control.
57
+ *
58
+ * **Wrap in a `<nav>` element or the `Navigation` component for accessibility.**
59
+ * This ensures your set of navigation items becomes a single navigation landmark.
60
+ *
61
+ * Renders a decorative grid wrapper `[stripe][startContent][control][endContent]`.
62
+ * The control is the only interactive element. By default it is a
63
+ * `<button type="button">`; set `href` (or `as`) to render an `<a>` or a custom
64
+ * link component for real navigation.
65
+ *
66
+ * ## Selection
67
+ * Give the item an `itemId` and let a parent `Navigation` coordinate selection.
68
+ * For standalone use, set `isSelected` to mark the selected item.
69
+ */
70
+ export declare const NavigationItem: ({ isSelected, itemId, as, href, label, detail, startContent, endContent, testId, onClick, ...rest }: NavigationItemProps) => React.JSX.Element;
71
+ export default NavigationItem;
72
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/NavigationItem/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,MAAM,OAAO,CAAC;AAI5E,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;IAC/C;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,EAAE,CAAC,EAAE,WAAW,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8EAA8E;IAC9E,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,GAAI,qGAY5B,mBAAmB,sBA8CrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -41,6 +41,8 @@ import { default as LoadingSkeleton } from './LoadingSkeleton';
41
41
  import { default as LoadingShim } from './LoadingShim';
42
42
  import { default as MenuButton } from './MenuButton';
43
43
  import { default as MultiSelect } from './MultiSelect';
44
+ import { default as Navigation } from './Navigation';
45
+ import { NavigationItem } from './NavigationItem';
44
46
  import { default as Table } from './Table';
45
47
  import { default as TableAutocomplete } from './TableAutocomplete';
46
48
  import { default as TableDateInput } from './TableDateInput';
@@ -109,6 +111,8 @@ export type { MenuButtonProps } from './MenuButton';
109
111
  export type { MultiSelectProps, MultiSelectSummaryFormatterArgs, } from './MultiSelect';
110
112
  export type { MultiSelectItemProps } from './MultiSelect/MultiSelectItem';
111
113
  export type { MenuButtonItemProps } from './MenuButton/MenuButtonItem';
114
+ export type { NavigationProps } from './Navigation';
115
+ export type { NavigationItemProps } from './NavigationItem';
112
116
  export type { PaginationProps } from './Pagination';
113
117
  export type { PopoverProps } from './Popover';
114
118
  export type { ProgressBarProps } from './ProgressBar';
@@ -154,5 +158,5 @@ export type { UseBreakpointsResult } from './hooks/useBreakpoints';
154
158
  export type { UseDropdownLayerResult, UseDropdownLayerOptions, } from './hooks/useDropdownLayer';
155
159
  export type { FormatDateStyle } from './formatters/formatDate';
156
160
  export type { FormatNumberStyle, FormatNumberSignDisplay, } from './formatters/formatNumber';
157
- export { Accordion, AccordionSet, AutocompleteModal, Avatar, Button, Checkbox, Chip, ContentCard, ContextMenu, Count, DisabledShim, Radio, RadioButtons, Row, SeparatorList, Slider, Snackbar, Alert, AnchoredDialog, CollapsibleCard, Combobox, DateInput, Dialog, Drawer, DropdownTrigger, Error, Field, FieldToken, FormSection, IconButton, Input, LoadingShim, LoadingSkeleton, MenuButton, MultiSelect, Pagination, ProgressBar, Popover, ResponsiveFlex, Select, Sidebar, Spinner, SplitButton, Table, TableAutocomplete, TableDateInput, TableInput, TableSelect, Tabs, Tag, TextInput, TimelineEvent, Toggle, TokenInput, Tooltip, TruncatedAccount, useBreakpoints, useDropdownLayer, useLockBodyScroll, useSupportsAnchorPositioning, formatNumber, formatDate, };
161
+ export { Accordion, AccordionSet, AutocompleteModal, Avatar, Button, Checkbox, Chip, ContentCard, ContextMenu, Count, DisabledShim, Radio, RadioButtons, Row, SeparatorList, Slider, Snackbar, Alert, AnchoredDialog, CollapsibleCard, Combobox, DateInput, Dialog, Drawer, DropdownTrigger, Error, Field, FieldToken, FormSection, IconButton, Input, LoadingShim, LoadingSkeleton, MenuButton, MultiSelect, Navigation, NavigationItem, Pagination, ProgressBar, Popover, ResponsiveFlex, Select, Sidebar, Spinner, SplitButton, Table, TableAutocomplete, TableDateInput, TableInput, TableSelect, Tabs, Tag, TextInput, TimelineEvent, Toggle, TokenInput, Tooltip, TruncatedAccount, useBreakpoints, useDropdownLayer, useLockBodyScroll, useSupportsAnchorPositioning, formatNumber, formatDate, };
158
162
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AACpD,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAC1C,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,WAAW,MAAM,e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E,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,YAAY,EACV,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EACV,iBAAiB,EACjB,uBAAuB,GACxB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,iBAAiB,EACjB,MAAM,EACN,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,WAAW,EACX,KAAK,EACL,YAAY,EACZ,KAAK,EACL,YAAY,EACZ,GAAG,EACH,aAAa,EACb,MAAM,EACN,QAAQ,EACR,KAAK,EACL,cAAc,EACd,eAAe,EACf,QAAQ,EACR,SAAS,EACT,MAAM,EACN,MAAM,EACN,eAAe,EACf,KAAK,EACL,KAAK,EACL,UAAU,EACV,WAAW,EACX,UAAU,EACV,KAAK,EACL,WAAW,EACX,eAAe,EACf,UAAU,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,UAAU,EACV,WAAW,EACX,OAAO,EACP,cAAc,EACd,MAAM,EACN,OAAO,EACP,OAAO,EACP,WAAW,EACX,KAAK,EACL,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,WAAW,EACX,IAAI,EACJ,GAAG,EACH,SAAS,EACT,aAAa,EACb,MAAM,EACN,UAAU,EACV,OAAO,EACP,gBAAgB,EAChB,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,4BAA4B,EAC5B,YAAY,EACZ,UAAU,GACX,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narmi/design_system",
3
- "version": "6.22.6",
3
+ "version": "6.24.0",
4
4
  "description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
5
5
  "main": "dist/index.js",
6
6
  "style": "dist/style.css",