@narmi/design_system 4.21.0 → 4.22.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 08 May 2025 21:37:39 GMT
3
+ * Generated on Fri, 09 May 2025 14:25:28 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 08 May 2025 21:37:39 GMT
3
+ * Generated on Fri, 09 May 2025 14:25:28 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 08 May 2025 21:37:39 GMT
3
+ * Generated on Fri, 09 May 2025 14:25:28 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 08 May 2025 21:37:39 GMT
3
+ * Generated on Fri, 09 May 2025 14:25:28 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Thu May 08 2025 21:37:39 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Fri May 09 2025 14:25:28 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -3,6 +3,8 @@ export interface AvatarProps {
3
3
  label: string;
4
4
  /** Fixed height and width of the avatar. Default: "s". */
5
5
  size?: "xs" | "s" | "m";
6
+ /** Style variant of avatar */
7
+ kind?: "primary" | "tonal";
6
8
  /** String to display in the avatar. If imgurl is provided, this will be ignored. */
7
9
  initials?: string;
8
10
  /** Optional: URL of the image to display in the avatar. If provided, initials will be ignored. */
@@ -10,6 +12,6 @@ export interface AvatarProps {
10
12
  /** Optional: URL to navigate to when the avatar is clicked */
11
13
  linkurl?: string;
12
14
  }
13
- declare const Avatar: ({ label, size, initials, imgurl, linkurl, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
15
+ declare const Avatar: ({ label, size, kind, initials, imgurl, linkurl, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
14
16
  export default Avatar;
15
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Avatar/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,gDAMT,WAAW,4CAwBb,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Avatar/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,sDAOT,WAAW,4CAwBb,CAAC;AAEF,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narmi/design_system",
3
- "version": "4.21.0",
3
+ "version": "4.22.0",
4
4
  "description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
5
5
  "main": "dist/index.js",
6
6
  "files": [