odaptos_design_system 2.0.214 → 2.0.217
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/Molecules/PricingCard/PricingCard.d.ts +2 -1
- package/dist/Organisms/DateTimePicker/DateTimePicker.d.ts +28 -0
- package/dist/Organisms/SingleSelect/SingleSelect.d.ts +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/odaptos_design_system.cjs.development.js +611 -553
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +810 -753
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/DesignTokens/Animations/lotties/flyin_dude.json +1 -4756
- package/src/Molecules/Notifications/Banner.modules.scss +15 -0
- package/src/Molecules/PricingCard/PricingCard.tsx +10 -6
- package/src/Organisms/DateTimePicker/DateTimePicker.module.scss +68 -0
- package/src/Organisms/DateTimePicker/DateTimePicker.tsx +280 -0
- package/src/Organisms/SingleSelect/SingleSelect.tsx +7 -2
- package/src/index.ts +1 -0
|
@@ -19,7 +19,8 @@ interface PricingCardProps {
|
|
|
19
19
|
yourPlanText?: string;
|
|
20
20
|
className?: string;
|
|
21
21
|
isYearly?: boolean;
|
|
22
|
+
isFreeTrialDisplayed?: boolean;
|
|
22
23
|
currency?: '$' | '€';
|
|
23
24
|
}
|
|
24
|
-
export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, }: PricingCardProps) => React.JSX.Element;
|
|
25
|
+
export declare const PricingCard: ({ cardInfo: { title, monthlyPrice, yearlyPrice, featuredSectionTitle }, cmsContent, featuresList, isHighlighted, highlightMessage, onClick, tier, yourPlanText, className, isYearly, currency, isFreeTrialDisplayed, }: PricingCardProps) => React.JSX.Element;
|
|
25
26
|
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DateTimePickerProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
label?: string;
|
|
5
|
+
topLabel?: string | undefined;
|
|
6
|
+
topLabelWeight?: 'semi-bold' | 'bold' | 'regular';
|
|
7
|
+
topLabelSize?: 'xs' | 'sm' | 'base' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
|
|
8
|
+
value?: Date | null;
|
|
9
|
+
openTo?: 'day' | 'month' | 'year';
|
|
10
|
+
format?: string;
|
|
11
|
+
helperText?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
disableFuture?: boolean;
|
|
14
|
+
disablePast?: boolean;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
locale?: 'enUS' | 'fr' | 'it' | 'de' | 'es';
|
|
17
|
+
maxDate?: Date | undefined;
|
|
18
|
+
minDate?: Date | undefined;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
error?: boolean;
|
|
22
|
+
errorText?: string;
|
|
23
|
+
views?: Array<'day' | 'month' | 'year' | 'hours' | 'minutes'>;
|
|
24
|
+
renderLoading?: () => React.ReactNode;
|
|
25
|
+
onChange?: (date: Date | null) => void;
|
|
26
|
+
onBlur?: () => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const DateTimePicker: React.FC<DateTimePickerProps>;
|
|
@@ -17,6 +17,7 @@ interface SingleSelectProps {
|
|
|
17
17
|
canAddNewOption?: boolean;
|
|
18
18
|
defaultValue: any;
|
|
19
19
|
options: any[];
|
|
20
|
+
fullOptions?: any[];
|
|
20
21
|
onChange: (value: any) => void;
|
|
21
22
|
onBlur?: () => void;
|
|
22
23
|
noWidth?: boolean;
|
|
@@ -24,5 +25,5 @@ interface SingleSelectProps {
|
|
|
24
25
|
/**
|
|
25
26
|
* Use this component for single selection !!
|
|
26
27
|
*/
|
|
27
|
-
export declare const SingleSelect: ({ options, label, placeholder, name, className, onChange, disabled, defaultValue, topLabel, topLabelWeight, topLabelSize, id, inputId, required, error, helperText, errorText, canAddNewOption, onBlur, noWidth, ...props }: SingleSelectProps) => React.JSX.Element;
|
|
28
|
+
export declare const SingleSelect: ({ options, fullOptions, label, placeholder, name, className, onChange, disabled, defaultValue, topLabel, topLabelWeight, topLabelSize, id, inputId, required, error, helperText, errorText, canAddNewOption, onBlur, noWidth, ...props }: SingleSelectProps) => React.JSX.Element;
|
|
28
29
|
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export * from './Molecules/Thematic/Thematic';
|
|
|
57
57
|
export * from './Molecules/ToggleTab/ToggleTab';
|
|
58
58
|
export * from './Molecules/UserIndicator/UserIndicator';
|
|
59
59
|
export * from './Organisms/DatePicker/DatePicker';
|
|
60
|
+
export * from './Organisms/DateTimePicker/DateTimePicker';
|
|
60
61
|
export * from './Organisms/FormQuestions/FormQuestions';
|
|
61
62
|
export * from './Organisms/Modal/Modal';
|
|
62
63
|
export * from './Organisms/MultiSelect/MultiSelect';
|