@linzjs/lui 17.27.0 → 17.28.2

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,18 @@
1
+ ## [17.28.2](https://github.com/linz/lui/compare/v17.28.1...v17.28.2) (2023-01-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * makes value optional, so you can have uncontrolled inputs ([#830](https://github.com/linz/lui/issues/830)) ([025d2e0](https://github.com/linz/lui/commit/025d2e0b979ec868fdf03101af4cef8b60b69f6e))
7
+
8
+ ## [17.28.1](https://github.com/linz/lui/compare/v17.28.0...v17.28.1) (2023-01-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * dry-run semantic-release ([#826](https://github.com/linz/lui/issues/826)) ([5862a1b](https://github.com/linz/lui/commit/5862a1be0a3b1aba1060c7305bc170e07ec886c4))
14
+ * Fixing release pipeline :tada: ([#827](https://github.com/linz/lui/issues/827)) ([208e32d](https://github.com/linz/lui/commit/208e32dbd3316c9368193d02538ea530bde9bd48))
15
+
1
16
  # [17.27.0](https://github.com/linz/lui/compare/v17.26.0...v17.27.0) (2023-01-20)
2
17
 
3
18
 
package/README.md CHANGED
@@ -42,7 +42,7 @@ We aim to make each component generic, extendable, accessible, and amazing.
42
42
  All styles are implemented in SCSS and compiled to plain CSS. This means any team can use the CSS. A ReactJS wrapper
43
43
  over the CSS is part of this project.
44
44
 
45
- There is lots to do in this project, often things will be left until there is demand. Please join the Slack channel
45
+ There are lots of things to do in this project, often things will be left until there is demand. Please join the Slack channel
46
46
  #cop-lui.
47
47
 
48
48
  ## Documentation
@@ -15,7 +15,7 @@ export interface LuiTextInputProps {
15
15
  */
16
16
  showPadlockIcon?: boolean;
17
17
  className?: string;
18
- value: string;
18
+ value?: string;
19
19
  icon?: JSX.Element;
20
20
  }
21
21
  export declare function useGenerateOrDefaultId(idFromProps?: string): string;
@@ -0,0 +1,22 @@
1
+ import React, { ReactNode, RefObject } from 'react';
2
+ import { MinSizes } from 'split-grid';
3
+ import '../../scss/Components/LuiResizableLayout/LuiResizableLayout.scss';
4
+ export declare enum SplitPanelState {
5
+ OPEN = 0,
6
+ CLOSED_LEFT = 1,
7
+ CLOSED_RIGHT = 2
8
+ }
9
+ export declare const LuiResizableLayout: React.FC<{
10
+ givenLeftRef?: RefObject<HTMLDivElement>;
11
+ givenRightRef?: RefObject<HTMLDivElement>;
12
+ leftContentComponent?: ReactNode;
13
+ rightContentComponent?: ReactNode;
14
+ givenGridTemplateColumns?: string;
15
+ givenColumnMinSizes?: MinSizes;
16
+ givenColumnSnapOffset?: number;
17
+ callbackOnSplitStateChange?: (currentSplitState: SplitPanelState, leftWidth: number, rightWidth: number) => void;
18
+ callbackOnDraging?: (newColumnPosition: string) => void;
19
+ splitStateChecker?: (leftWidth: number, rightWidth: number) => SplitPanelState;
20
+ callbackOnClickLeftArrowButton?: (leftWidth: number, rightWidth: number) => void;
21
+ callbackOnClickRightArrowButton?: (leftWidth: number, rightWidth: number) => void;
22
+ }>;
package/dist/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './contexts/LuiMessagingContextProvider';
6
6
  export { LuiButtonGroup } from './components/LuiButton/LuiButton';
7
7
  export { LuiExpandableBanner } from './components/LuiExpandableBanner/LuiExpandableBanner';
8
8
  export { LuiMenu, LuiControlledMenu } from './components/LuiMenu/LuiMenu';
9
+ export { LuiResizableLayout, SplitPanelState, } from './components/LuiResizableLayout/LuiResizableLayout';
9
10
  export { LuiSelectMenu, LuiSelectMenuItem, LuiSelectSubMenuItem, } from './components/LuiSelectMenu/LuiSelectMenu';
10
11
  export { LuiSelectDataMenu } from './components/LuiSelectMenu/LuiSelectDataMenu';
11
12
  export { LuiFilterMenu } from './components/LuiFilterMenu/LuiFilterMenu';