@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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +8 -1
- package/dist/cjs/src/components/atoms/ExpertCard/ExpertCardProps.types.d.ts +1 -0
- package/dist/cjs/src/components/atoms/ExpertCard/__stories__/ExpertCard.stories.d.ts +1 -0
- package/dist/cjs/src/components/atoms/SearchSelect/SearchSelect.d.ts +5 -0
- package/dist/cjs/src/components/atoms/SearchSelect/SearchSelectProps.types.d.ts +2 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +8 -1
- package/dist/esm/src/components/atoms/ExpertCard/ExpertCardProps.types.d.ts +1 -0
- package/dist/esm/src/components/atoms/ExpertCard/__stories__/ExpertCard.stories.d.ts +1 -0
- package/dist/esm/src/components/atoms/SearchSelect/SearchSelect.d.ts +5 -0
- package/dist/esm/src/components/atoms/SearchSelect/SearchSelectProps.types.d.ts +2 -0
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- /package/dist/cjs/src/components/atoms/BottomOverlayMenu/{__test__ → __tests__}/BottomOverlayMenu.test.d.ts +0 -0
- /package/dist/esm/src/components/atoms/BottomOverlayMenu/{__test__ → __tests__}/BottomOverlayMenu.test.d.ts +0 -0
|
@@ -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) {
|
|
@@ -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
|
File without changes
|
|
File without changes
|