@narmi/design_system 6.16.8 → 6.16.10

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, 09 Jul 2026 19:14:04 GMT
3
+ * Generated on Tue, 14 Jul 2026 23:04:55 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 09 Jul 2026 19:14:04 GMT
3
+ * Generated on Tue, 14 Jul 2026 23:04:55 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 09 Jul 2026 19:14:04 GMT
3
+ * Generated on Tue, 14 Jul 2026 23:04:55 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 09 Jul 2026 19:14:04 GMT
3
+ * Generated on Tue, 14 Jul 2026 23:04:55 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Thu Jul 09 2026 19:14:04 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Jul 14 2026 23:04:55 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 09 Jul 2026 19:14:04 GMT
3
+ * Generated on Tue, 14 Jul 2026 23:04:55 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 Jul 09 2026 19:14:04 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Jul 14 2026 23:04:55 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Thu Jul 09 2026 19:14:04 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Jul 14 2026 23:04:55 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Thu Jul 09 2026 19:14:04 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Tue Jul 14 2026 23:04:55 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { VALID_ICON_NAMES } from '../icons/iconNames';
2
3
  export interface ContextMenuItemProps {
3
4
  /** Display label for menu item */
4
5
  label: string;
@@ -9,7 +10,7 @@ export interface ContextMenuItemProps {
9
10
  /** Optional start icon for menu item */
10
11
  startIcon?: string;
11
12
  }
12
- export declare const VALID_ICON_NAMES: any;
13
+ export { VALID_ICON_NAMES };
13
14
  declare const ContextMenuItem: {
14
15
  (props: ContextMenuItemProps): React.JSX.Element;
15
16
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ContextMenuItem.d.ts","sourceRoot":"","sources":["../../../src/ContextMenu/ContextMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,oBAAoB;IACnC,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,KAE5B,CAAC;AAGF,QAAA,MAAM,eAAe;YAAW,oBAAoB;;CAAU,CAAC;AAI/D,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ContextMenuItem.d.ts","sourceRoot":"","sources":["../../../src/ContextMenu/ContextMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,WAAW,oBAAoB;IACnC,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,wBAAwB;IACxB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAG5B,QAAA,MAAM,eAAe;YAAW,oBAAoB;;CAAU,CAAC;AAI/D,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Dialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAyB3D,MAAM,WAAW,WAAW;IAC1B,wCAAwC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,uEAAuE;IACvE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,qCAAqC;IACrC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC9C,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO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1,3 @@
1
+ export declare const VALID_ICON_NAMES: string[];
2
+ export default VALID_ICON_NAMES;
3
+ //# sourceMappingURL=iconNames.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iconNames.d.ts","sourceRoot":"","sources":["../../../src/icons/iconNames.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAsVpC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narmi/design_system",
3
- "version": "6.16.8",
3
+ "version": "6.16.10",
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",
@@ -16,13 +16,15 @@
16
16
  "access": "public"
17
17
  },
18
18
  "scripts": {
19
+ "prepare": "husky install",
20
+ "build:icon-names": "node ./scripts/buildIconNames.mjs",
19
21
  "build:types": "node ./scripts/buildTypes.mjs",
20
22
  "build:jsdoc": "node ./scripts/jsDoc.mjs",
21
23
  "build:classdoc": "node ./scripts/classManifest.mjs",
22
24
  "build:tokens": "style-dictionary build --config=./tokens/config.js",
23
25
  "build:css": "sass src/index.scss dist/style.css --style=compressed --source-map",
24
26
  "build:components": "vite build && node ./scripts/copyAssets.mjs",
25
- "build": "npm run build:tokens && npx tsc && npm run build:css && npm run build:jsdoc && npm run build:components && npm run build:classdoc",
27
+ "build": "npm run build:icon-names && npm run build:tokens && npx tsc && npm run build:css && npm run build:jsdoc && npm run build:components && npm run build:classdoc",
26
28
  "build:clean": "rm -rf dist/ && npm run build",
27
29
  "prepublish": "npm run build",
28
30
  "test": "vitest run",