@narmi/design_system 4.7.0-beta.1 → 4.7.0-beta.3

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, 30 Jan 2025 21:25:36 GMT
3
+ * Generated on Thu, 30 Jan 2025 21:44:53 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 21:25:36 GMT
3
+ * Generated on Thu, 30 Jan 2025 21:44:53 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 30 Jan 2025 21:25:36 GMT
3
+ * Generated on Thu, 30 Jan 2025 21:44:53 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, 30 Jan 2025 21:25:36 GMT
3
+ * Generated on Thu, 30 Jan 2025 21:44:53 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 Jan 30 2025 16:25:36 GMT-0500 (Eastern Standard Time)
3
+ * Generated by style-dictionary on Thu Jan 30 2025 16:44:53 GMT-0500 (Eastern Standard Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -3,7 +3,7 @@ export interface DialogProps {
3
3
  /** Scrollable contents of the Dialog */
4
4
  children: React.ReactNode;
5
5
  /** Heading in the top of the Dialog */
6
- title: string;
6
+ title?: string;
7
7
  /** Optional notification content to render pinned under the header */
8
8
  notification?: React.ReactNode;
9
9
  /** Contents of Dialog footer, typically reserved for action buttons */
@@ -16,7 +16,7 @@ export interface DialogProps {
16
16
  * Callback to handle user taking an action to dismiss the modal
17
17
  * (click outside, Escape key, click close button)
18
18
  */
19
- onUserDismiss: () => void;
19
+ onUserDismiss?: () => void;
20
20
  /**
21
21
  * Sets a custom modal width.
22
22
  * Use the full CSS value with the unit (e.g. "400px")
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Dialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA0B3D,MAAM,WAAW,WAAW;IAC1B,wCAAwC;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,uCAAuC;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,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,CAAC;IACjB;;;OAGG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,QAAA,MAAM,MAAM,kGAUT,WAAW,4CAwHb,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Dialog/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AA0B3D,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,CAAC;IACjB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iDAAiD;IACjD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;GAKG;AACH,QAAA,MAAM,MAAM,kGAUT,WAAW,4CAwHb,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- type OptionType = Record<string, string> | string;
3
2
  interface RadioButtonsProps {
4
3
  /** Map of label strings to input values
5
4
  *
5
+ * TODO: restore this type when we can do it in a non-breaking way
6
6
  * ```
7
7
  * type OptionType = {
8
8
  * value: string;
@@ -11,7 +11,7 @@ interface RadioButtonsProps {
11
11
  * | string;
12
12
  * ```
13
13
  * */
14
- options: Record<string, OptionType>;
14
+ options?: object;
15
15
  /** name of radiogroup */
16
16
  name: string;
17
17
  /** initially selected option by input value (uncontrolled) */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/RadioButtons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC;AAElD,UAAU,iBAAiB;IACzB;;;;;;;;;SASK;IACL,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACpC,yBAAyB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;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D,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;;EAgBE;AACF,QAAA,MAAM,YAAY,gHAWf,iBAAiB,4CA2GnB,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narmi/design_system",
3
- "version": "4.7.0-beta.1",
3
+ "version": "4.7.0-beta.3",
4
4
  "description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
5
5
  "main": "dist/index.js",
6
6
  "files": [