@axinom/mosaic-ui 0.32.0-rc.12 → 0.32.0-rc.13

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.
@@ -9,6 +9,8 @@ export interface AccordionItemProps {
9
9
  allowLeftSpacing?: boolean;
10
10
  /** Sticky state of the current row. When used within the Accordion component, this prop will be overridden with the value from stickyRows. */
11
11
  sticky?: boolean;
12
+ /** CSS Class name for additional styles */
13
+ className?: string;
12
14
  }
13
15
  /**
14
16
  * Renders a single Accordion Item
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;IAEpB,sIAAsI;IACtI,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B,sHAAsH;IACtH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,6FAA6F;IAC7F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,8IAA8I;IAC9I,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAyDtD,CAAC"}
1
+ {"version":3,"file":"AccordionItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Accordion/AccordionItem/AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC;IAEpB,sIAAsI;IACtI,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B,sHAAsH;IACtH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,6FAA6F;IAC7F,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,8IAA8I;IAC9I,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0DtD,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
2
  export interface SectionProps {
3
- /** Section Title */
3
+ /** Section Title. If set, will allow the section to be expandable/collapsible */
4
4
  title?: string;
5
5
  /** Optional class */
6
6
  className?: string;
7
7
  /** Optional styles */
8
8
  style?: React.CSSProperties;
9
+ /** Whether the section should be expanded or collapsed intially (default: true)*/
10
+ expandedByDefault?: boolean;
9
11
  }
10
12
  export declare const Section: React.FC<SectionProps>;
11
13
  //# sourceMappingURL=Section.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoPanel/Section/Section.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,YAAY;IAC3B,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,sBAAsB;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA6C1C,CAAC"}
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoPanel/Section/Section.tsx"],"names":[],"mappings":"AACA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAKxC,MAAM,WAAW,YAAY;IAC3B,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,qBAAqB;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,sBAAsB;IACtB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgE1C,CAAC"}