@narmi/design_system 4.19.0-beta.5 → 4.19.1
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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +3 -3
- package/dist/style.css.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/js/colors.js +1 -1
- package/dist/tokens/js/manifest.js +140 -140
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/dist/types/ContentCard/index.d.ts +6 -2
- package/dist/types/ContentCard/index.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/.DS_Store +0 -0
- package/dist/icons/fonts/icomoon.woff2 +0 -0
- package/dist/types/Button/Spinner.d.ts +0 -17
- package/dist/types/Button/Spinner.d.ts.map +0 -1
|
@@ -37,14 +37,18 @@ interface ContentCardProps {
|
|
|
37
37
|
* Renders card in visually selected state with appropriate attributes.
|
|
38
38
|
*/
|
|
39
39
|
testId?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Error state for `toggle` and `button` variants
|
|
42
|
+
*/
|
|
43
|
+
error?: string;
|
|
40
44
|
}
|
|
41
45
|
/**
|
|
42
46
|
* Narmi style content containers, with support for rendering as an interactive button.
|
|
43
47
|
*/
|
|
44
48
|
declare const ContentCard: {
|
|
45
|
-
({ kind, paddingSize, onClick, isSelected, children, testId, radiusSize, }: ContentCardProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
({ kind, paddingSize, onClick, isSelected, children, testId, radiusSize, error, }: ContentCardProps): import("react/jsx-runtime").JSX.Element;
|
|
46
50
|
propTypes: {
|
|
47
|
-
onClick: (props: any, propName: any) =>
|
|
51
|
+
onClick: (props: any, propName: any) => any;
|
|
48
52
|
};
|
|
49
53
|
};
|
|
50
54
|
export default ContentCard;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ContentCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ContentCard/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,UAAU,gBAAgB;IACxB,sCAAsC;IACtC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,MAAM,CAAC;IACrD;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EACD,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,aAAa,CAAC;IAClB;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC7B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,GAAG,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;IAC9D;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,QAAA,MAAM,WAAW;uFASd,gBAAgB;;;;CAmDlB,CAAC;AA4BF,eAAe,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narmi/design_system",
|
|
3
|
-
"version": "4.19.
|
|
3
|
+
"version": "4.19.1",
|
|
4
4
|
"description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"@storybook/theming": "^8.6.0-alpha.0",
|
|
64
64
|
"@testing-library/jest-dom": "^6.6.3",
|
|
65
65
|
"@testing-library/react": "^16.2.0",
|
|
66
|
+
"@testing-library/user-event": "^14.6.1",
|
|
66
67
|
"@types/jest": "^27.0.2",
|
|
67
68
|
"@types/react": "^18.2.31",
|
|
68
69
|
"@types/react-dom": "^18.2.14",
|
package/dist/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface SpinnerProps {
|
|
2
|
-
/**
|
|
3
|
-
* Square size of spinner as unitless number
|
|
4
|
-
*/
|
|
5
|
-
size?: number;
|
|
6
|
-
/**
|
|
7
|
-
* Width of animated stroke
|
|
8
|
-
*/
|
|
9
|
-
strokeWidth?: number;
|
|
10
|
-
/**
|
|
11
|
-
* CSS color value
|
|
12
|
-
*/
|
|
13
|
-
color?: string | undefined;
|
|
14
|
-
}
|
|
15
|
-
declare const Spinner: ({ size, strokeWidth, color, }: SpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default Spinner;
|
|
17
|
-
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../src/Button/Spinner.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,OAAO,kCAIV,YAAY,4CAsBd,CAAC;AAEF,eAAe,OAAO,CAAC"}
|