@npm_leadtech/legal-lib-components 2.12.5 → 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.
@@ -1761,7 +1761,8 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1761
1761
  line-height: 24px;
1762
1762
  letter-spacing: -0.3px;
1763
1763
  text-align: center;
1764
- width: 75%; }
1764
+ width: 75%;
1765
+ text-decoration: none; }
1765
1766
  .expert-card__description {
1766
1767
  font-family: Inter;
1767
1768
  font-size: 16px;
@@ -2506,6 +2507,12 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2506
2507
  .search-select--small {
2507
2508
  max-width: 100%; } }
2508
2509
 
2510
+ .mobile-select-container {
2511
+ display: flex;
2512
+ flex-direction: row;
2513
+ align-items: flex-start;
2514
+ gap: 1.25rem; }
2515
+
2509
2516
  .width {
2510
2517
  width: 85%; }
2511
2518
  @media (min-width: 575px) {
@@ -2,5 +2,6 @@
2
2
  export interface ExpertCardProps {
3
3
  title: string;
4
4
  description: string;
5
+ url?: string | null;
5
6
  image: React.ReactNode;
6
7
  }
@@ -4,3 +4,4 @@ declare const meta: Meta<typeof ExpertCard>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof ExpertCard>;
6
6
  export declare const Default: Story;
7
+ export declare const NoUrl: Story;
@@ -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
@@ -174,6 +174,7 @@ declare const DocumentStatus: FC<DocumentStatusProps>;
174
174
  interface ExpertCardProps {
175
175
  title: string;
176
176
  description: string;
177
+ url?: string | null;
177
178
  image: React.ReactNode;
178
179
  }
179
180
 
@@ -360,8 +361,14 @@ interface SearchSelectProps {
360
361
  defaultMenuIsOpen?: boolean;
361
362
  tooltipBesideLabel?: React.ReactNode;
362
363
  width?: boolean;
364
+ menuPlacement: MenuPlacement;
363
365
  }
364
366
 
367
+ declare enum MenuPlacement {
368
+ top = "top",
369
+ bottom = "bottom",
370
+ auto = "auto"
371
+ }
365
372
  declare const SearchSelect: FC<SearchSelectProps>;
366
373
 
367
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.5",
3
+ "version": "2.13.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",