@npm_leadtech/legal-lib-components 2.21.0 → 2.21.1

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.
@@ -1960,6 +1960,38 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1960
1960
  border-radius: 5px;
1961
1961
  font-family: "Inter", sans-serif; }
1962
1962
 
1963
+ .native-datepicker {
1964
+ max-width: 55%;
1965
+ width: 100%;
1966
+ display: flex;
1967
+ flex-flow: column;
1968
+ margin-bottom: 2rem; }
1969
+ .native-datepicker__inner {
1970
+ margin-bottom: 0.5rem; }
1971
+ .native-datepicker__label {
1972
+ font-weight: bold; }
1973
+ .native-datepicker input {
1974
+ color: var(--neutral-main);
1975
+ border-radius: 4px;
1976
+ font-size: 1rem;
1977
+ background-color: var(--neutral-neutral-4);
1978
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48IS0tR2VuZXJhdG9yOiBza2V0Y2h0b29sIDYwICgxMDEwMTApIC0gaHR0cHM6Ly9za2V0Y2guY29tLS0+PHRpdGxlPjNEODAzNjU0LUI3NjEtNEZEQy05MThDLTc1QzUwMjdEODcyMDwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPjxkZWZzPjxwYXRoIGQ9Ik0yMiwzIEwxOSwzIEwxOSwxIEwxNywxIEwxNywzIEw3LDMgTDcsMSBMNSwxIEw1LDMgTDIsMyBMMiwyMyBMMjIsMjMgTDIyLDMgWiBNMjAsMjEgTDQsMjEgTDQsOCBMMjAsOCBMMjAsMjEgWiIgaWQ9InBhdGgtMSIvPjwvZGVmcz48ZyBpZD0iQXNzZXQtQXJ0Ym9hcmQtUGFnZSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgaWQ9Imljb24vbmF2aWdhdGlvbi9leHBhbmRfbW9yZV8yNHB4LWljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiPjxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj48dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiLz48L21hc2s+PGcgaWQ9Imljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxnIGlkPSLihrMtQ29sb3ItY29sb3ItLy1JY29ucy0vLUJsYWNrLS8tSW5hY3RpdmUiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzQzNDM0MyI+PHJlY3QgaWQ9IlJlY3RhbmdsZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9nPjwvZz48L2c+PC9zdmc+);
1979
+ background-position: 95% 50%;
1980
+ background-repeat: no-repeat;
1981
+ height: 40px;
1982
+ width: 100%;
1983
+ padding: .75rem;
1984
+ padding-right: 1.8rem;
1985
+ transition: box-shadow .3s ease;
1986
+ box-shadow: 0 0 0 0 var(--primary-main-light-4);
1987
+ margin: .0005em;
1988
+ border: none; }
1989
+ .native-datepicker input::-webkit-calendar-picker-indicator {
1990
+ background: transparent; }
1991
+ .native-datepicker input:focus {
1992
+ outline: none;
1993
+ box-shadow: 0 0 0 2px var(--primary-main-light-1); }
1994
+
1963
1995
  .paypal-button {
1964
1996
  padding: 0;
1965
1997
  border: none;
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type NativeDatePickerProps } from './NativeDatePickerProps.types';
3
+ import './NativeDatePicker.scss';
4
+ export declare const NativeDatePicker: FC<NativeDatePickerProps>;
@@ -0,0 +1,13 @@
1
+ interface DateObject {
2
+ target: {
3
+ name: string;
4
+ value: Date;
5
+ };
6
+ }
7
+ export interface NativeDatePickerProps {
8
+ onChange: (dateObect: DateObject) => void;
9
+ name: string;
10
+ value?: string;
11
+ label?: string;
12
+ }
13
+ export {};
@@ -0,0 +1,2 @@
1
+ export { NativeDatePicker } from './NativeDatePicker';
2
+ export { type NativeDatePickerProps } from './NativeDatePickerProps.types';
@@ -22,6 +22,7 @@ export * from './Logo';
22
22
  export * from './LogoText';
23
23
  export * from './MenuItems';
24
24
  export * from './Message';
25
+ export * from './NativeDatePicker';
25
26
  export * from './PaypalButton';
26
27
  export * from './ProgressBar';
27
28
  export * from './Radio';