@linzjs/lui 20.0.2 → 20.1.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [20.1.0](https://github.com/linz/lui/compare/v20.0.3...v20.1.0) (2023-09-28)
2
+
3
+
4
+ ### Features
5
+
6
+ * Summary Open icon ([#1017](https://github.com/linz/lui/issues/1017)) ([9e0b25e](https://github.com/linz/lui/commit/9e0b25e9b2b3eb4943cb7af4658bdfe8a36e1d4a))
7
+
8
+ ## [20.0.3](https://github.com/linz/lui/compare/v20.0.2...v20.0.3) (2023-09-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **LuiExpandableBanner:** configure max-height ([#1014](https://github.com/linz/lui/issues/1014)) ([5a291c4](https://github.com/linz/lui/commit/5a291c483488b8abe5a5f0313727a34456719ff7))
14
+
1
15
  ## [20.0.2](https://github.com/linz/lui/compare/v20.0.1...v20.0.2) (2023-09-21)
2
16
 
3
17
 
@@ -1 +1 @@
1
- <svg viewBox="0 0 24 24"><path d="m3.575 18-2.95 2.95 1.425 1.4L5 19.4v2.25h2V16H1.35v2h2.225Z"/><path d="M4 14h2V4h7v5h5v11H9v2h9c.667 0 2-.4 2-2V8l-6-6H6c-.667 0-2 .4-2 2v10Z"/><path d="M9 16h7v2H9v-2Zm-1-4h8v2H8v-2Z"/></svg>
1
+ <svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m20.425 18 2.95 2.95-1.425 1.4L19 19.4v2.25h-2V16h5.65v2h-2.225ZM15 16H8v2h7v-2ZM16 12H8v2h8v-2Z" fill="#000"/><path d="M15 22v-2H6V4h7v5h5v5h2V8l-6-6H6C4.4 2 4 3.333 4 4v16c0 1.6 1.333 2 2 2h9Z" fill="#000"/></svg>
@@ -1351,10 +1351,9 @@ iconMap['ic_submit'] = (
1351
1351
  );
1352
1352
 
1353
1353
  iconMap['ic_summary_open'] = (
1354
- <svg viewBox="0 0 24 24">
1355
- <path d="m3.575 18-2.95 2.95 1.425 1.4L5 19.4v2.25h2V16H1.35v2h2.225Z" />
1356
- <path d="M4 14h2V4h7v5h5v11H9v2h9c.667 0 2-.4 2-2V8l-6-6H6c-.667 0-2 .4-2 2v10Z" />
1357
- <path d="M9 16h7v2H9v-2Zm-1-4h8v2H8v-2Z" />
1354
+ <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
1355
+ <path d="m20.425 18 2.95 2.95-1.425 1.4L19 19.4v2.25h-2V16h5.65v2h-2.225ZM15 16H8v2h7v-2ZM16 12H8v2h8v-2Z" />
1356
+ <path d="M15 22v-2H6V4h7v5h5v5h2V8l-6-6H6C4.4 2 4 3.333 4 4v16c0 1.6 1.333 2 2 2h9Z" />
1358
1357
  </svg>
1359
1358
  );
1360
1359
 
@@ -1,11 +1,19 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  declare type OverflowType = 'hidden' | 'auto' | 'inherit' | 'overlay' | 'revert' | 'scroll' | 'unset' | 'visible';
3
+ declare type MaxHeight = 'none' | ' max-content' | 'min-content' | string | number;
4
+ declare type ContentMaxHeight = {
5
+ type: 'calculated';
6
+ } | {
7
+ type: 'fixed';
8
+ maxHeight: MaxHeight;
9
+ };
3
10
  export interface Expandable {
4
11
  className?: string;
5
12
  label: ReactNode;
6
13
  labelPrefix?: ReactNode;
7
14
  start?: 'collapsed' | 'expanded';
8
15
  expandedOverflow?: OverflowType;
16
+ contentMaxHeight?: ContentMaxHeight;
9
17
  }
10
18
  export declare const LuiExpandableBanner: React.FC<React.PropsWithChildren<Expandable>>;
11
19
  export {};
@@ -9,7 +9,5 @@ interface LuiMiniSpinnerProps {
9
9
  }
10
10
  export declare const LuiMiniSpinner: (props: LuiMiniSpinnerProps) => JSX.Element;
11
11
  export declare const LuiLoadingSpinner: () => JSX.Element;
12
- export declare const LuiLoadingSpinnerEaster: () => JSX.Element;
13
- export declare const LuiLoadingSpinnerChristmas: () => JSX.Element;
14
12
  export declare function isChromatic(): boolean;
15
13
  export {};