@npm_leadtech/legal-lib-components 2.12.6 → 2.13.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.
@@ -2507,6 +2507,12 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2507
2507
  .search-select--small {
2508
2508
  max-width: 100%; } }
2509
2509
 
2510
+ .mobile-select-container {
2511
+ display: flex;
2512
+ flex-direction: row;
2513
+ align-items: flex-start;
2514
+ gap: 1.25rem; }
2515
+
2510
2516
  .width {
2511
2517
  width: 85%; }
2512
2518
  @media (min-width: 575px) {
@@ -1,5 +1,10 @@
1
1
  import { type FC } from 'react';
2
2
  import { type SearchSelectProps } from './SearchSelectProps.types';
3
3
  import './SearchSelect.scss';
4
+ export declare enum MenuPlacement {
5
+ top = "top",
6
+ bottom = "bottom",
7
+ auto = "auto"
8
+ }
4
9
  declare const SearchSelect: FC<SearchSelectProps>;
5
10
  export default SearchSelect;
@@ -1,4 +1,5 @@
1
1
  /// <reference types="react" />
2
+ import { type MenuPlacement } from './SearchSelect';
2
3
  export interface SearchSelectProps {
3
4
  id?: string;
4
5
  name: string;
@@ -19,4 +20,5 @@ export interface SearchSelectProps {
19
20
  defaultMenuIsOpen?: boolean;
20
21
  tooltipBesideLabel?: React.ReactNode;
21
22
  width?: boolean;
23
+ menuPlacement: MenuPlacement;
22
24
  }
package/dist/index.d.ts CHANGED
@@ -361,8 +361,14 @@ interface SearchSelectProps {
361
361
  defaultMenuIsOpen?: boolean;
362
362
  tooltipBesideLabel?: React.ReactNode;
363
363
  width?: boolean;
364
+ menuPlacement: MenuPlacement;
364
365
  }
365
366
 
367
+ declare enum MenuPlacement {
368
+ top = "top",
369
+ bottom = "bottom",
370
+ auto = "auto"
371
+ }
366
372
  declare const SearchSelect: FC<SearchSelectProps>;
367
373
 
368
374
  interface SideMenuTabProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.12.6",
3
+ "version": "2.13.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",