@bahmni/design-system 0.0.1-dev.374 → 0.0.1-dev.377
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/atoms/iconButton/index.d.ts +3 -1
- package/dist/atoms/iconButton/index.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +23538 -20890
- package/dist/molecules/actionArea/ActionArea.d.ts +6 -1
- package/dist/molecules/actionArea/ActionArea.d.ts.map +1 -1
- package/dist/templates/actionAreaLayout/index.d.ts +1 -0
- package/dist/templates/actionAreaLayout/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { default as React, ReactNode } from 'react';
|
|
|
3
3
|
* ActionArea component props
|
|
4
4
|
*/
|
|
5
5
|
export interface ActionAreaProps {
|
|
6
|
-
title:
|
|
6
|
+
title: ReactNode;
|
|
7
7
|
primaryButtonText: string;
|
|
8
8
|
onPrimaryButtonClick: () => void;
|
|
9
9
|
isPrimaryButtonDisabled?: boolean;
|
|
@@ -18,6 +18,11 @@ export interface ActionAreaProps {
|
|
|
18
18
|
ariaLabel?: string;
|
|
19
19
|
buttonGroupAriaLabel?: string;
|
|
20
20
|
hidden?: boolean;
|
|
21
|
+
isExpanded?: boolean;
|
|
22
|
+
onToggleExpand?: () => void;
|
|
23
|
+
expandAriaLabel?: string;
|
|
24
|
+
collapseAriaLabel?: string;
|
|
25
|
+
headerActions?: ReactNode;
|
|
21
26
|
}
|
|
22
27
|
/**
|
|
23
28
|
* ActionArea component provides a rectangular container with 2-3 action buttons
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionArea.d.ts","sourceRoot":"","sources":["../../../src/molecules/actionArea/ActionArea.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionArea.d.ts","sourceRoot":"","sources":["../../../src/molecules/actionArea/ActionArea.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA4B,MAAM,OAAO,CAAC;AAMnE;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,SAAS,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,IAAI,CAAC;IACjC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,sBAAsB,CAAC,EAAE,MAAM,IAAI,CAAC;IACpC,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,OAAO,EAAE,SAAS,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B;AAED;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA+IhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/actionAreaLayout/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/actionAreaLayout/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAWzC,KAAK,aAAa,GAAG,SAAS,GAAG,UAAU,CAAC;AAE5C,UAAU,qBAAqB;IAC7B,cAAc,EAAE,SAAS,CAAC;IAC1B,WAAW,EAAE,SAAS,CAAC;IACvB,UAAU,EAAE,SAAS,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;;;;;GAWG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAmGrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|