odaptos_design_system 1.4.152 → 1.4.154

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.
Files changed (28) hide show
  1. package/dist/Form/FormQuestions/FormQuestions.d.ts +21 -0
  2. package/dist/Form/QuestionButton/QuestionButton.d.ts +12 -0
  3. package/dist/LogoSlider/LogoSlider.d.ts +5 -1
  4. package/dist/PricingCard/PricingCard.d.ts +1 -2
  5. package/dist/SquareText/SquareText.d.ts +10 -0
  6. package/dist/index.d.ts +2 -0
  7. package/dist/odaptos_design_system.cjs.development.js +157 -64
  8. package/dist/odaptos_design_system.cjs.development.js.map +1 -1
  9. package/dist/odaptos_design_system.cjs.production.min.js +1 -1
  10. package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
  11. package/dist/odaptos_design_system.esm.js +143 -52
  12. package/dist/odaptos_design_system.esm.js.map +1 -1
  13. package/package.json +1 -1
  14. package/src/FeaturesTable/components/TableHeader/components/HeaderCell.tsx +2 -2
  15. package/src/Form/FormQuestions/FormQuestions.module.scss +45 -0
  16. package/src/Form/FormQuestions/FormQuestions.tsx +55 -0
  17. package/src/Form/QuestionButton/QuestionButton.module.scss +30 -0
  18. package/src/Form/QuestionButton/QuestionButton.tsx +26 -0
  19. package/src/Icons/Logos/ap-logo 1.svg +21 -0
  20. package/src/Icons/Partners/Partner2.tsx +40 -47
  21. package/src/LogoSlider/LogoSlider.module.scss +5 -7
  22. package/src/LogoSlider/LogoSlider.tsx +14 -2
  23. package/src/PricingCard/PricingCard.module.scss +2 -3
  24. package/src/PricingCard/PricingCard.tsx +2 -4
  25. package/src/SquareText/SquareText.module.scss +8 -0
  26. package/src/SquareText/SquareText.tsx +21 -0
  27. package/src/__mocks__/PricingPageData/pricingPageMockedData.js +1 -0
  28. package/src/index.ts +2 -0
@@ -0,0 +1,21 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ interface FormQuestionsProps extends HTMLAttributes<HTMLParagraphElement> {
3
+ /** Text display */
4
+ answers: {
5
+ text: string;
6
+ isSelected: boolean;
7
+ }[];
8
+ question: string;
9
+ hint: string;
10
+ optionText: string;
11
+ onClick: () => void;
12
+ nextAction?: () => void;
13
+ backAction?: () => void;
14
+ nextText?: string;
15
+ backText?: string;
16
+ }
17
+ /** This text should be use to display basic text
18
+ * Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=52-751&mode=dev
19
+ */
20
+ export declare const FormQuestions: ({ answers, question, hint, optionText, onClick, backAction, backText, nextAction, nextText, }: FormQuestionsProps) => React.JSX.Element;
21
+ export {};
@@ -0,0 +1,12 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ interface QuestionButtonProps extends HTMLAttributes<HTMLParagraphElement> {
3
+ /** Text display */
4
+ text: string;
5
+ onClick: () => void;
6
+ clicked?: boolean;
7
+ }
8
+ /** This text should be use to display basic text
9
+ * Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=52-751&mode=dev
10
+ */
11
+ export declare const QuestionButton: ({ text, onClick, clicked, }: QuestionButtonProps) => React.JSX.Element;
12
+ export {};
@@ -1,2 +1,6 @@
1
1
  import React from 'react';
2
- export declare const LogoSlider: () => React.JSX.Element;
2
+ export interface LogoSliderProps {
3
+ logoWidth?: number;
4
+ logoHeight?: number;
5
+ }
6
+ export declare const LogoSlider: ({ logoWidth, logoHeight, }: LogoSliderProps) => React.JSX.Element;
@@ -18,8 +18,7 @@ interface PricingCardProps {
18
18
  isHighlighted: boolean;
19
19
  highlightMessage?: string;
20
20
  onClick: () => void;
21
- currency?: string;
22
21
  tier: 1 | 2 | 3 | 4;
23
22
  }
24
- export declare const PricingCard: ({ cardInfo: { title, description, monthlyPrice, yearlyPrice }, cmsContent, isYearlyOrMonthly, interviewsNumber, featuresList, isDark, isHighlighted, highlightMessage, onClick, currency, tier, }: PricingCardProps) => React.JSX.Element;
23
+ export declare const PricingCard: ({ cardInfo: { title, description, monthlyPrice, yearlyPrice }, cmsContent, isYearlyOrMonthly, interviewsNumber, featuresList, isDark, isHighlighted, highlightMessage, onClick, tier, }: PricingCardProps) => React.JSX.Element;
25
24
  export {};
@@ -0,0 +1,10 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ interface SquareTextProps extends HTMLAttributes<HTMLParagraphElement> {
3
+ /** Text display */
4
+ text: string;
5
+ }
6
+ /** This text should be use to display basic text
7
+ * Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=52-751&mode=dev
8
+ */
9
+ export declare const SquareText: ({ text, }: SquareTextProps) => React.JSX.Element;
10
+ export {};
package/dist/index.d.ts CHANGED
@@ -56,4 +56,6 @@ export * from './Typography/TextForButton';
56
56
  export * from './Typography/TextForDropDownItem';
57
57
  export * from './Typography/TextWithLink';
58
58
  export * from './Typography/Title';
59
+ export * from './Form/FormQuestions/FormQuestions';
60
+ export * from './Form/QuestionButton/QuestionButton';
59
61
  export * from './utils/getIconSize';