@arquimedes.co/eureka-forms 3.0.59 → 3.0.60-test

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 (49) hide show
  1. package/dist/App/App.module.css +34 -34
  2. package/dist/App/AppFunctions.d.ts +1 -1
  3. package/dist/App/AppHooks.d.ts +2 -2
  4. package/dist/Form/ConfirmationDialog/ConfirmationDialog.js +1 -1
  5. package/dist/Form/Form.js +1 -1
  6. package/dist/Form/FormTypes/ColumnForm/ColumnForm.module.css +19 -19
  7. package/dist/Form/Section/MaterialSection/MaterialSection.js +3 -7
  8. package/dist/Form/Section/MaterialSection/MaterialSection.module.css +6 -6
  9. package/dist/Form/Section/Section.js +1 -1
  10. package/dist/Form/Terms/Terms.js +1 -1
  11. package/dist/FormSteps/ApiSelectorStep/MaterialApiSelectorStep/MaterialApiSelectorStep.js +1 -1
  12. package/dist/FormSteps/CheckBoxStep/CheckBoxStep.mobileLabel.test.js +1 -3
  13. package/dist/FormSteps/CheckBoxStep/MaterialCheckBoxStep/MaterialCheckBoxStep.module.css +63 -63
  14. package/dist/FormSteps/CollapsibleStep/MaterialTitleStep/MaterialCollapsibleStep.module.css +68 -68
  15. package/dist/FormSteps/EntityValueStep/MaterialEntityValuePickerStep/MaterialEntityValuePickerStep.js +1 -1
  16. package/dist/FormSteps/FileUploadStep/MaterialFileUploadStep/MaterialFileUploadStep.js +1 -3
  17. package/dist/FormSteps/MapperStep/MaterialMapperStep/Element/PagedMapperElement/PagedMapperElement.js +1 -1
  18. package/dist/FormSteps/MapperStep/MaterialMapperStep/MaterialMapperStep.module.css +41 -41
  19. package/dist/FormSteps/RatingStep/MaterialRatingStep/MaterialRatingStep.module.css +30 -30
  20. package/dist/FormSteps/SelectorStep/MaterialSelectorStep/MaterialSelectorStep.module.css +9 -9
  21. package/dist/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.js +1 -3
  22. package/dist/FormSteps/SeparatorStep/MaterialSeparatorStep/MaterialSeparatorStep.module.css +7 -7
  23. package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaEditorStep.js +1 -1
  24. package/dist/FormSteps/TextAreaStep/MaterialTextAreaStep/MaterialTextAreaStep.module.css +113 -113
  25. package/dist/FormSteps/TextInputStep/MaterialTextInputStep/MaterialTextInputStep.module.css +9 -9
  26. package/dist/FormSteps/TitleStep/MaterialTitleStep/MaterialTitleStep.module.css +18 -18
  27. package/dist/FormSteps/Utils/@StepFiller/StepFiller.js +1 -1
  28. package/dist/Services/ApiSelectorService.d.ts +134 -134
  29. package/dist/Services/DraftService.d.ts +8 -8
  30. package/dist/Services/IntegrationService.d.ts +8 -8
  31. package/dist/Shared/CustomBtn/CustomBtn.js +1 -1
  32. package/dist/Shared/ErkDatePicker/ErkDatePicker.js +1 -3
  33. package/dist/Shared/ErkMenuItem.d.ts +1 -1
  34. package/dist/Shared/ErkSelect/ErkSelect.d.ts +3 -3
  35. package/dist/Shared/ErkSelect/ErkSelect.js +1 -1
  36. package/dist/Shared/ErkTimePicker/ErkTimePicker.js +1 -1
  37. package/dist/Shared/Loader/Loader.module.css +12 -12
  38. package/dist/Shared/Navbar/Navbar.js +1 -1
  39. package/dist/Shared/SmartDraftRenderer/FormDecorator.module.css +1 -6
  40. package/dist/States/SiteSlice.d.ts +2 -2
  41. package/dist/Utils/AxiosAPI.d.ts +4 -4
  42. package/dist/Utils/PhoneFunctions.js +1 -1
  43. package/dist/Utils/TestUtils.d.ts +7 -7
  44. package/dist/Utils/_api.d.ts +4 -4
  45. package/dist/Utils/store.d.ts +1 -1
  46. package/dist/constants/ConditionTypes.d.ts +2 -2
  47. package/dist/hooks.d.ts +1 -1
  48. package/dist/index.module.css +14 -14
  49. package/package.json +14 -21
@@ -1,34 +1,34 @@
1
- .curtain {
2
- position: absolute;
3
- width: 100%;
4
- height: 100%;
5
- max-width: 100%;
6
- display: flex;
7
- justify-content: center;
8
- align-items: center;
9
- background-color: white;
10
- z-index: 5000;
11
- }
12
-
13
- #widget:eureka {
14
- min-height: inherit;
15
- }
16
- .container {
17
- width: 100%;
18
- position: relative;
19
- }
20
-
21
- .widgetContainer {
22
- position: relative;
23
- max-width: 100%;
24
- height: 100%;
25
- min-height: inherit;
26
- }
27
-
28
- .container *,
29
- .container *::after,
30
- .container *::before {
31
- -webkit-box-sizing: content-box;
32
- -moz-box-sizing: content-box;
33
- box-sizing: content-box;
34
- }
1
+ .curtain {
2
+ position: absolute;
3
+ width: 100%;
4
+ height: 100%;
5
+ max-width: 100%;
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ background-color: white;
10
+ z-index: 5000;
11
+ }
12
+
13
+ #widget:eureka {
14
+ min-height: inherit;
15
+ }
16
+ .container {
17
+ width: 100%;
18
+ position: relative;
19
+ }
20
+
21
+ .widgetContainer {
22
+ position: relative;
23
+ max-width: 100%;
24
+ height: 100%;
25
+ min-height: inherit;
26
+ }
27
+
28
+ .container *,
29
+ .container *::after,
30
+ .container *::before {
31
+ -webkit-box-sizing: content-box;
32
+ -moz-box-sizing: content-box;
33
+ box-sizing: content-box;
34
+ }
@@ -20,4 +20,4 @@ export declare const mapOriginalValue: (orgInfo: {
20
20
  idOrganization?: string;
21
21
  countryCode?: CountryCode;
22
22
  }, step: FormStep, value: any, values: ValuesStore, form?: Readonly<Form>, path?: string) => Promise<any>;
23
- export declare const calcInitialSections: (form: Form) => Pick<SiteState, "previousSections" | "idCurrentSection" | "nextSections">;
23
+ export declare const calcInitialSections: (form: Form) => Pick<SiteState, 'previousSections' | 'idCurrentSection' | 'nextSections'>;
@@ -1,10 +1,10 @@
1
1
  import { Form, Organization } from '../@Types';
2
2
  import { AppProps } from './App';
3
3
  import { Branding } from '../@Types/Branding';
4
- export declare const useSetupApp: (isEmbedded: boolean, props: Omit<AppProps, "isWidget">) => {
4
+ export declare const useSetupApp: (isEmbedded: boolean, props: Omit<AppProps, 'isWidget'>) => {
5
5
  form: Form | undefined | null;
6
6
  organization: Organization | undefined | null;
7
7
  branding: Branding | undefined;
8
8
  reload: () => void;
9
9
  };
10
- export declare const useLogRocket: (organization: Organization | null | undefined, form: Form | null | undefined, { apiKey, internal, postview, preview }: Pick<AppProps, "apiKey" | "internal" | "postview" | "preview">) => void;
10
+ export declare const useLogRocket: (organization: Organization | null | undefined, form: Form | null | undefined, { apiKey, internal, postview, preview }: Pick<AppProps, 'apiKey' | 'internal' | 'postview' | 'preview'>) => void;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import styles from './ConfirmationDialog.module.css';
3
3
  import { Dialog } from '@mui/material';
4
4
  import { useAppSelector } from '../../hooks';
package/dist/Form/Form.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useCallback, useContext, useEffect, useRef, useState } from 'react';
3
3
  import Navbar from '../Shared/Navbar/Navbar';
4
4
  import styles from './Form.module.css';
@@ -1,19 +1,19 @@
1
- .container {
2
- width: fit-content;
3
- display: flex;
4
- flex-direction: column;
5
- align-items: center;
6
- max-width: 100%;
7
- position: relative;
8
- }
9
- .curtain {
10
- position: absolute;
11
- width: 100%;
12
- height: 100%;
13
- z-index: 2;
14
- }
15
- .submitBtnContainer {
16
- margin-top: 10px;
17
- width: 200px;
18
- max-width: calc(100% - 40px);
19
- }
1
+ .container {
2
+ width: fit-content;
3
+ display: flex;
4
+ flex-direction: column;
5
+ align-items: center;
6
+ max-width: 100%;
7
+ position: relative;
8
+ }
9
+ .curtain {
10
+ position: absolute;
11
+ width: 100%;
12
+ height: 100%;
13
+ z-index: 2;
14
+ }
15
+ .submitBtnContainer {
16
+ margin-top: 10px;
17
+ width: 200px;
18
+ max-width: calc(100% - 40px);
19
+ }
@@ -14,15 +14,11 @@ function MaterialSection({ idSection }) {
14
14
  if (!section)
15
15
  return _jsx(_Fragment, {});
16
16
  return (_jsx("div", { className: styles.container, style: {
17
- width: (form.size.blockSize + form.size.spacingSize) *
18
- form.size.blockNum,
19
- justifyContent: sendLabel !== undefined &&
20
- currentBreakPoint < form.size.blockNum
21
- ? 'center'
22
- : 'normal',
17
+ width: (form.size.blockSize + form.size.spacingSize) * form.size.blockNum,
18
+ justifyContent: sendLabel !== undefined && currentBreakPoint < form.size.blockNum ? 'center' : 'normal',
23
19
  }, children: section.steps?.map((idStep) => {
24
20
  const step = form.steps[idStep];
25
- return (_jsx(StepComponent, { editable: editable, step: step }, idStep));
21
+ return _jsx(StepComponent, { editable: editable, step: step }, idStep);
26
22
  }) }));
27
23
  }
28
24
  export default MaterialSection;
@@ -1,6 +1,6 @@
1
- .container {
2
- display: flex;
3
- flex-flow: row wrap;
4
- height: fit-content;
5
- max-width: 100%;
6
- }
1
+ .container {
2
+ display: flex;
3
+ flex-flow: row wrap;
4
+ height: fit-content;
5
+ max-width: 100%;
6
+ }
@@ -13,6 +13,6 @@ function SectionComponent(props) {
13
13
  }
14
14
  }
15
15
  };
16
- return (_jsx(SectionContext.Provider, { value: props.idSection, children: renderSectionType() }));
16
+ return _jsx(SectionContext.Provider, { value: props.idSection, children: renderSectionType() });
17
17
  }
18
18
  export default SectionComponent;
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useContext, useEffect, useState } from 'react';
3
3
  import styles from './Terms.module.css';
4
4
  import TermComponent from './Term/Term';
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
2
  import React, { useContext, useMemo } from 'react';
3
3
  import FormStepTypes, { ApiSelectorOptionTypes, ApiSelectorParamTypes } from '../../../constants/FormStepTypes';
4
4
  import StepComponent from '../../Step';
@@ -63,9 +63,7 @@ function Harness({ currentBreakPoint }) {
63
63
  }
64
64
  function getLabelDiv() {
65
65
  // the leaf div holding only the label text (the wrapping column also matches by textContent)
66
- return screen.getByText((_, element) => element?.tagName === 'DIV' &&
67
- element.children.length === 0 &&
68
- element.textContent === `${LONG_LABEL}:`);
66
+ return screen.getByText((_, element) => element?.tagName === 'DIV' && element.children.length === 0 && element.textContent === `${LONG_LABEL}:`);
69
67
  }
70
68
  /** Makes every element report a 2-line-clamped overflow (jsdom has no layout). */
71
69
  function mockLabelOverflow() {
@@ -1,63 +1,63 @@
1
- .container {
2
- display: flex;
3
- flex-direction: column;
4
- max-width: 100%;
5
- }
6
- .checkboxLbl,
7
- .overflowLbl {
8
- font-size: 18px;
9
- margin-right: 10px;
10
- margin-left: 10px;
11
- }
12
- .overflowLbl {
13
- white-space: nowrap;
14
- overflow: hidden;
15
- text-overflow: ellipsis;
16
- }
17
- .labelColumn {
18
- display: flex;
19
- flex-direction: column;
20
- align-items: flex-start;
21
- flex: 1 1 auto;
22
- min-width: 0;
23
- margin-right: 10px;
24
- margin-left: 10px;
25
- }
26
- .clampLbl,
27
- .expandedLbl {
28
- font-size: 18px;
29
- }
30
- .clampLbl {
31
- display: -webkit-box;
32
- -webkit-box-orient: vertical;
33
- -webkit-line-clamp: 2;
34
- line-clamp: 2;
35
- overflow: hidden;
36
- }
37
- .toggleLbl {
38
- background: none;
39
- border: none;
40
- padding: 0;
41
- margin-top: 2px;
42
- font-size: 13px;
43
- font-weight: 700;
44
- font-family: inherit;
45
- cursor: pointer;
46
- }
47
- .labelCheckBoxContainer {
48
- display: flex;
49
- align-items: center;
50
- flex-direction: row;
51
- align-items: center;
52
- }
53
-
54
- .descriptionPar {
55
- font-size: 0.75rem;
56
- margin-left: 14px;
57
- margin-top: 4px;
58
- font-weight: 400;
59
- line-height: 1.66;
60
- max-width: 100%;
61
- overflow: hidden;
62
- text-overflow: ellipsis;
63
- }
1
+ .container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ max-width: 100%;
5
+ }
6
+ .checkboxLbl,
7
+ .overflowLbl {
8
+ font-size: 18px;
9
+ margin-right: 10px;
10
+ margin-left: 10px;
11
+ }
12
+ .overflowLbl {
13
+ white-space: nowrap;
14
+ overflow: hidden;
15
+ text-overflow: ellipsis;
16
+ }
17
+ .labelColumn {
18
+ display: flex;
19
+ flex-direction: column;
20
+ align-items: flex-start;
21
+ flex: 1 1 auto;
22
+ min-width: 0;
23
+ margin-right: 10px;
24
+ margin-left: 10px;
25
+ }
26
+ .clampLbl,
27
+ .expandedLbl {
28
+ font-size: 18px;
29
+ }
30
+ .clampLbl {
31
+ display: -webkit-box;
32
+ -webkit-box-orient: vertical;
33
+ -webkit-line-clamp: 2;
34
+ line-clamp: 2;
35
+ overflow: hidden;
36
+ }
37
+ .toggleLbl {
38
+ background: none;
39
+ border: none;
40
+ padding: 0;
41
+ margin-top: 2px;
42
+ font-size: 13px;
43
+ font-weight: 700;
44
+ font-family: inherit;
45
+ cursor: pointer;
46
+ }
47
+ .labelCheckBoxContainer {
48
+ display: flex;
49
+ align-items: center;
50
+ flex-direction: row;
51
+ align-items: center;
52
+ }
53
+
54
+ .descriptionPar {
55
+ font-size: 0.75rem;
56
+ margin-left: 14px;
57
+ margin-top: 4px;
58
+ font-weight: 400;
59
+ line-height: 1.66;
60
+ max-width: 100%;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ }
@@ -1,68 +1,68 @@
1
- .container {
2
- display: flex;
3
- flex-direction: row;
4
- width: 900px;
5
- max-width: 100%;
6
- margin-top: 5px;
7
- margin-bottom: 10px;
8
- }
9
-
10
- .collapsibleLabel {
11
- margin-left: 10px;
12
- font-size: 20px;
13
- font-weight: 600;
14
- cursor: default;
15
- text-align: start;
16
- cursor: pointer;
17
- -webkit-touch-callout: none; /* iOS Safari */
18
- -webkit-user-select: none; /* Safari */
19
- -khtml-user-select: none; /* Konqueror HTML */
20
- -moz-user-select: none; /* Old versions of Firefox */
21
- -ms-user-select: none; /* Internet Explorer/Edge */
22
- -o-user-select: none;
23
- user-select: none; /* Non-prefixed version, currently */
24
- }
25
-
26
- .content {
27
- width: 100%;
28
- overflow: hidden;
29
- transition: height ease 0.9s;
30
- }
31
-
32
- .contentContainer {
33
- margin-left: auto;
34
- margin-right: auto;
35
- display: flex;
36
- flex-flow: row wrap;
37
- height: fit-content;
38
- max-width: 100%;
39
- width: 100%;
40
- overflow-x: hidden;
41
- overflow-y: hidden;
42
- }
43
- .expand {
44
- display: flex;
45
- justify-content: center;
46
- align-items: center;
47
- margin-left: 2px;
48
- }
49
- .expandIcon {
50
- height: 24px;
51
- width: 24px;
52
- font-size: 24px;
53
- cursor: pointer;
54
- }
55
-
56
- .separator {
57
- height: 1px;
58
- width: calc(100% - 20px);
59
- margin-left: 10px;
60
- margin-bottom: 10px;
61
- border-radius: 20px;
62
- }
63
-
64
- @media print {
65
- .content {
66
- height: auto !important;
67
- }
68
- }
1
+ .container {
2
+ display: flex;
3
+ flex-direction: row;
4
+ width: 900px;
5
+ max-width: 100%;
6
+ margin-top: 5px;
7
+ margin-bottom: 10px;
8
+ }
9
+
10
+ .collapsibleLabel {
11
+ margin-left: 10px;
12
+ font-size: 20px;
13
+ font-weight: 600;
14
+ cursor: default;
15
+ text-align: start;
16
+ cursor: pointer;
17
+ -webkit-touch-callout: none; /* iOS Safari */
18
+ -webkit-user-select: none; /* Safari */
19
+ -khtml-user-select: none; /* Konqueror HTML */
20
+ -moz-user-select: none; /* Old versions of Firefox */
21
+ -ms-user-select: none; /* Internet Explorer/Edge */
22
+ -o-user-select: none;
23
+ user-select: none; /* Non-prefixed version, currently */
24
+ }
25
+
26
+ .content {
27
+ width: 100%;
28
+ overflow: hidden;
29
+ transition: height ease 0.9s;
30
+ }
31
+
32
+ .contentContainer {
33
+ margin-left: auto;
34
+ margin-right: auto;
35
+ display: flex;
36
+ flex-flow: row wrap;
37
+ height: fit-content;
38
+ max-width: 100%;
39
+ width: 100%;
40
+ overflow-x: hidden;
41
+ overflow-y: hidden;
42
+ }
43
+ .expand {
44
+ display: flex;
45
+ justify-content: center;
46
+ align-items: center;
47
+ margin-left: 2px;
48
+ }
49
+ .expandIcon {
50
+ height: 24px;
51
+ width: 24px;
52
+ font-size: 24px;
53
+ cursor: pointer;
54
+ }
55
+
56
+ .separator {
57
+ height: 1px;
58
+ width: calc(100% - 20px);
59
+ margin-left: 10px;
60
+ margin-bottom: 10px;
61
+ border-radius: 20px;
62
+ }
63
+
64
+ @media print {
65
+ .content {
66
+ height: auto !important;
67
+ }
68
+ }
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useCallback, useContext, useMemo, useState } from 'react';
3
3
  import FormStepTypes, { EntityValueDataTypes, EntityValueOptionTypes } from '../../../constants/FormStepTypes';
4
4
  import SmartSelect from '../../SmartSelectStep/MaterialSmartSelectStep/MaterialSmartSelectStep';
@@ -138,9 +138,7 @@ function FileUploadStep({ step, editable }) {
138
138
  }
139
139
  return '';
140
140
  };
141
- return (_jsxs("div", { className: styles.container +
142
- (error || !!fieldError ? ' Erk-error' : '') +
143
- (dragging ? ' ' + styles.dragging : ''), style: {
141
+ return (_jsxs("div", { className: styles.container + (error || !!fieldError ? ' Erk-error' : '') + (dragging ? ' ' + styles.dragging : ''), style: {
144
142
  minHeight: editable === false || postview ? undefined : '100px',
145
143
  }, "data-testid": step.id, onDragOver: (e) => {
146
144
  if (!editable || postview)
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useCallback, useContext, useMemo } from 'react';
3
3
  import styles from './PagedMapperElement.module.css';
4
4
  import FormContext from '../../../../../Contexts/FormContext';
@@ -1,41 +1,41 @@
1
- .pillContainer {
2
- display: flex;
3
- flex-direction: column;
4
- width: calc(100% - 20px);
5
- max-width: calc(100% - 20px);
6
- padding: 5px 10px;
7
- }
8
-
9
- .listContainer {
10
- display: flex;
11
- flex-direction: column;
12
- padding: 5px 0px;
13
- }
14
-
15
- .titleLbl {
16
- font-size: 24px;
17
- font-weight: 600;
18
- white-space: nowrap;
19
- overflow: hidden;
20
- text-overflow: ellipsis;
21
- cursor: default;
22
- }
23
-
24
- .descriptionPar {
25
- font-size: 16px;
26
- white-space: pre-wrap;
27
- cursor: default;
28
- }
29
-
30
- .btnContainer {
31
- margin-top: 15px;
32
- margin-left: 15px;
33
- margin-bottom: 3px;
34
- width: fit-content;
35
- }
36
-
37
- .errorMsg {
38
- font-size: 0.75rem;
39
- margin-top: 5px;
40
- margin-left: 15px;
41
- }
1
+ .pillContainer {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: calc(100% - 20px);
5
+ max-width: calc(100% - 20px);
6
+ padding: 5px 10px;
7
+ }
8
+
9
+ .listContainer {
10
+ display: flex;
11
+ flex-direction: column;
12
+ padding: 5px 0px;
13
+ }
14
+
15
+ .titleLbl {
16
+ font-size: 24px;
17
+ font-weight: 600;
18
+ white-space: nowrap;
19
+ overflow: hidden;
20
+ text-overflow: ellipsis;
21
+ cursor: default;
22
+ }
23
+
24
+ .descriptionPar {
25
+ font-size: 16px;
26
+ white-space: pre-wrap;
27
+ cursor: default;
28
+ }
29
+
30
+ .btnContainer {
31
+ margin-top: 15px;
32
+ margin-left: 15px;
33
+ margin-bottom: 3px;
34
+ width: fit-content;
35
+ }
36
+
37
+ .errorMsg {
38
+ font-size: 0.75rem;
39
+ margin-top: 5px;
40
+ margin-left: 15px;
41
+ }
@@ -1,30 +1,30 @@
1
- .container {
2
- display: flex;
3
- flex-direction: column;
4
- width: 100%;
5
- max-width: calc(100% - 20px);
6
- padding: 5px 10px;
7
- padding-bottom: 15px;
8
- }
9
- .labelLabel {
10
- font-size: 16px;
11
- margin-bottom: 10px;
12
- text-align: center;
13
- }
14
- .ratingContainer {
15
- display: flex;
16
- align-items: center;
17
- justify-content: center;
18
- }
19
-
20
- .stepDescriptionLabel {
21
- font-size: 0.75rem;
22
- margin-top: 5px;
23
- font-weight: 400;
24
- line-height: 1.66;
25
- max-width: 100%;
26
- overflow: hidden;
27
- text-overflow: ellipsis;
28
- text-align: center;
29
- min-height: 20px;
30
- }
1
+ .container {
2
+ display: flex;
3
+ flex-direction: column;
4
+ width: 100%;
5
+ max-width: calc(100% - 20px);
6
+ padding: 5px 10px;
7
+ padding-bottom: 15px;
8
+ }
9
+ .labelLabel {
10
+ font-size: 16px;
11
+ margin-bottom: 10px;
12
+ text-align: center;
13
+ }
14
+ .ratingContainer {
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ }
19
+
20
+ .stepDescriptionLabel {
21
+ font-size: 0.75rem;
22
+ margin-top: 5px;
23
+ font-weight: 400;
24
+ line-height: 1.66;
25
+ max-width: 100%;
26
+ overflow: hidden;
27
+ text-overflow: ellipsis;
28
+ text-align: center;
29
+ min-height: 20px;
30
+ }
@@ -1,9 +1,9 @@
1
- .container {
2
- width: fit-content;
3
- max-width: calc(100% - 20px);
4
- display: flex;
5
- padding: 10px;
6
- padding-bottom: 0px;
7
- padding-top: 5px;
8
- margin-bottom: 0px;
9
- }
1
+ .container {
2
+ width: fit-content;
3
+ max-width: calc(100% - 20px);
4
+ display: flex;
5
+ padding: 10px;
6
+ padding-bottom: 0px;
7
+ padding-top: 5px;
8
+ margin-bottom: 0px;
9
+ }