@registrucentras/rc-ses-react-components 1.3.1 → 1.4.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/README.md +3 -1
- package/dist/assets/IconProps.d.ts +4 -2
- package/dist/assets/icons/ArrowLeftIcon.d.ts +3 -0
- package/dist/assets/icons/ArrowRightIcon.d.ts +1 -1
- package/dist/assets/icons/BarcodeIcon.d.ts +3 -0
- package/dist/assets/icons/CalendarBlankIcon.d.ts +1 -1
- package/dist/assets/icons/CaretDoubleLeftBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CaretDoubleRightBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CaretDownBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CaretDownFill.d.ts +2 -2
- package/dist/assets/icons/CaretDownIcon.d.ts +1 -1
- package/dist/assets/icons/CaretLeftBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CaretLeftIcon.d.ts +1 -1
- package/dist/assets/icons/CaretRightBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CheckBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CheckCircleFillIcon.d.ts +2 -2
- package/dist/assets/icons/CheckUncheckedBoldIcon.d.ts +1 -1
- package/dist/assets/icons/CircleFilledIcon.d.ts +3 -0
- package/dist/assets/icons/CloseIcon.d.ts +1 -1
- package/dist/assets/icons/CollapseChevronsIcon.d.ts +1 -1
- package/dist/assets/icons/DotCircleFilledIcon.d.ts +3 -0
- package/dist/assets/icons/ExpandChevronsIcon.d.ts +1 -1
- package/dist/assets/icons/InfoFillIcon.d.ts +1 -1
- package/dist/assets/icons/MagnifyingGlassIcon.d.ts +2 -2
- package/dist/assets/icons/MapPinAreaIcon.d.ts +3 -0
- package/dist/assets/icons/MinusBoldIcon.d.ts +1 -1
- package/dist/assets/icons/PlusBoldIcon.d.ts +1 -1
- package/dist/assets/icons/QuestionFillIcon.d.ts +1 -1
- package/dist/assets/icons/QuestionIcon.d.ts +1 -1
- package/dist/assets/icons/ScalesIcon.d.ts +3 -0
- package/dist/assets/icons/ScrollIcon.d.ts +1 -1
- package/dist/assets/icons/SpinnerGapBoldIcon.d.ts +1 -1
- package/dist/assets/icons/UploadSimpleIcon.d.ts +1 -1
- package/dist/assets/icons/WarningDiamondFillIcon.d.ts +1 -1
- package/dist/assets/icons/WarningFillIcon.d.ts +1 -1
- package/dist/assets/icons/XCircleFillIcon.d.ts +2 -2
- package/dist/components/common/Button/index.d.ts +2 -2
- package/dist/components/common/Card/index.d.ts +31 -0
- package/dist/components/common/DataPagination/components/PaginationButton.d.ts +8 -0
- package/dist/components/common/DataPagination/index.d.ts +10 -0
- package/dist/components/layout/ServiceFormContainer/utils.d.ts +4 -0
- package/dist/components/layout/ServiceWizardStepper/StepConnector.d.ts +7 -0
- package/dist/components/layout/ServiceWizardStepper/StepperTypes.d.ts +7 -0
- package/dist/components/layout/ServiceWizardStepper/components/CustomStepIcon.d.ts +3 -0
- package/dist/components/layout/ServiceWizardStepper/components/DesktopStepper.d.ts +9 -0
- package/dist/components/layout/ServiceWizardStepper/components/HorizontalStepperButton.d.ts +6 -0
- package/dist/components/layout/ServiceWizardStepper/components/MobileStepper.d.ts +8 -0
- package/dist/components/layout/ServiceWizardStepper/components/StyledStepLabel.d.ts +11 -0
- package/dist/components/layout/ServiceWizardStepper/index.d.ts +6 -5
- package/dist/library/icons.d.ts +27 -3
- package/dist/library/index.d.ts +6 -2
- package/dist/registrucentras-rc-ses-react-components.cjs +12 -12
- package/dist/registrucentras-rc-ses-react-components.js +3882 -2672
- package/dist/stories/ServiceWizardStepper.stories.d.ts +7 -0
- package/dist/stories/components/Accordion.stories.d.ts +2 -2
- package/dist/stories/components/Card.stories.d.ts +24 -0
- package/dist/stories/components/DataPagination.stories.d.ts +47 -0
- package/dist/stories/components/Icons.stories.d.ts +6 -0
- package/dist/stories/components/buttons/Button.stories.d.ts +10 -0
- package/dist/stories/components/form/CheckboxFormControl.stories.d.ts +2 -2
- package/dist/stories/components/inputs/Checkbox.stories.d.ts +2 -2
- package/dist/stories/components/inputs/FileUpload.stories.d.ts +2 -2
- package/dist/stories/components/inputs/NumberStepper.stories.d.ts +2 -2
- package/dist/stories/components/inputs/SearchableField.stories.d.ts +60 -60
- package/dist/stories/components/inputs/Select.stories.d.ts +126 -126
- package/dist/stories/components/inputs/TextField.stories.d.ts +113 -113
- package/dist/theme/light/MuiPagination.d.ts +2 -1
- package/package.json +2 -1
- package/src/App.tsx +8 -0
- package/src/assets/IconProps.ts +5 -2
- package/src/assets/icons/ArrowLeftIcon.tsx +16 -0
- package/src/assets/icons/ArrowRightIcon.tsx +8 -13
- package/src/assets/icons/BarcodeIcon.tsx +9 -0
- package/src/assets/icons/CalendarBlankIcon.tsx +4 -16
- package/src/assets/icons/CaretDoubleLeftBoldIcon.tsx +14 -12
- package/src/assets/icons/CaretDoubleRightBoldIcon.tsx +14 -12
- package/src/assets/icons/CaretDownBoldIcon.tsx +9 -12
- package/src/assets/icons/CaretDownFill.tsx +11 -10
- package/src/assets/icons/CaretDownIcon.tsx +4 -16
- package/src/assets/icons/CaretLeftBoldIcon.tsx +9 -12
- package/src/assets/icons/CaretLeftIcon.tsx +4 -16
- package/src/assets/icons/CaretRightBoldIcon.tsx +9 -12
- package/src/assets/icons/CheckBoldIcon.tsx +9 -24
- package/src/assets/icons/CheckCircleFillIcon.tsx +10 -14
- package/src/assets/icons/CheckUncheckedBoldIcon.tsx +4 -23
- package/src/assets/icons/CircleFilledIcon.tsx +11 -0
- package/src/assets/icons/CloseIcon.tsx +4 -16
- package/src/assets/icons/CollapseChevronsIcon.tsx +9 -13
- package/src/assets/icons/DotCircleFilledIcon.tsx +23 -0
- package/src/assets/icons/ExpandChevronsIcon.tsx +9 -13
- package/src/assets/icons/InfoFillIcon.tsx +4 -14
- package/src/assets/icons/MagnifyingGlassIcon.tsx +5 -12
- package/src/assets/icons/MapPinAreaIcon.tsx +9 -0
- package/src/assets/icons/MinusBoldIcon.tsx +4 -14
- package/src/assets/icons/PlusBoldIcon.tsx +4 -14
- package/src/assets/icons/QuestionFillIcon.tsx +9 -13
- package/src/assets/icons/QuestionIcon.tsx +4 -16
- package/src/assets/icons/ScalesIcon.tsx +9 -0
- package/src/assets/icons/ScrollIcon.tsx +4 -16
- package/src/assets/icons/SpinnerGapBoldIcon.tsx +9 -12
- package/src/assets/icons/UploadSimpleIcon.tsx +4 -16
- package/src/assets/icons/WarningDiamondFillIcon.tsx +9 -13
- package/src/assets/icons/WarningFillIcon.tsx +9 -13
- package/src/assets/icons/XCircleFillIcon.tsx +11 -10
- package/src/components/common/Button/index.tsx +34 -3
- package/src/components/common/Card/index.test.tsx +136 -0
- package/src/components/common/Card/index.tsx +231 -0
- package/src/components/common/DataPagination/components/PaginationButton.tsx +63 -0
- package/src/components/common/DataPagination/index.test.tsx +122 -0
- package/src/components/common/DataPagination/index.tsx +70 -0
- package/src/components/form/inputs/CheckboxFormControl.tsx +1 -11
- package/src/components/form/inputs/PhoneInputFormControl/components/AutocompleteInput.tsx +1 -1
- package/src/components/form/inputs/PhoneInputFormControl/index.tsx +3 -4
- package/src/components/layout/ServiceFormContainer/index.tsx +5 -1
- package/src/components/layout/ServiceFormContainer/utils.ts +12 -0
- package/src/components/layout/ServiceWizardStepper/ServiceWizardStepper.css +69 -0
- package/src/components/layout/ServiceWizardStepper/StepConnector.tsx +29 -0
- package/src/components/layout/ServiceWizardStepper/StepperTypes.ts +7 -0
- package/src/components/layout/ServiceWizardStepper/components/CustomStepIcon.test.tsx +22 -0
- package/src/components/layout/ServiceWizardStepper/components/CustomStepIcon.tsx +41 -0
- package/src/components/layout/ServiceWizardStepper/components/DesktopStepper.test.tsx +40 -0
- package/src/components/layout/ServiceWizardStepper/components/DesktopStepper.tsx +48 -0
- package/src/components/layout/ServiceWizardStepper/components/HorizontalStepperButton.test.tsx +24 -0
- package/src/components/layout/ServiceWizardStepper/components/HorizontalStepperButton.tsx +46 -0
- package/src/components/layout/ServiceWizardStepper/components/MobileStepper.test.tsx +21 -0
- package/src/components/layout/ServiceWizardStepper/components/MobileStepper.tsx +54 -0
- package/src/components/layout/ServiceWizardStepper/components/StyledStepLabel.tsx +53 -0
- package/src/components/layout/ServiceWizardStepper/index.tsx +56 -37
- package/src/examples/HorizontalMultiStepForm/index.tsx +64 -0
- package/src/examples/ListWithPagination/index.tsx +44 -0
- package/src/library/icons.ts +51 -4
- package/src/library/index.ts +6 -2
- package/src/main.tsx +10 -0
- package/src/stories/ServiceWizardStepper.stories.tsx +39 -0
- package/src/stories/components/Card.stories.tsx +51 -0
- package/src/stories/components/Card.test.tsx +18 -0
- package/src/stories/components/DataPagination.stories.tsx +75 -0
- package/src/stories/components/Icons.stories.tsx +352 -0
- package/src/stories/components/buttons/Button.stories.tsx +30 -0
- package/src/theme/light/MuiAlert.tsx +10 -10
- package/src/theme/light/MuiButton.tsx +42 -15
- package/src/theme/light/MuiCard.tsx +2 -2
- package/src/theme/light/MuiPagination.ts +40 -12
- package/src/theme/light/index.tsx +2 -1
- package/src/types/buttons/ButtonProps.tsx +3 -1
- package/dist/assets/icons/CheckBoldDisabledIcon.d.ts +0 -3
- package/dist/components/layout/ServiceWizardStepper/components/ActiveStepIcon.d.ts +0 -2
- package/dist/components/layout/ServiceWizardStepper/components/CompletedStepIcon.d.ts +0 -2
- package/dist/components/layout/ServiceWizardStepper/components/PendingStepIcon.d.ts +0 -2
- package/src/assets/icons/CheckBoldDisabledIcon.tsx +0 -32
- package/src/components/layout/ServiceWizardStepper/components/ActiveStepIcon.tsx +0 -15
- package/src/components/layout/ServiceWizardStepper/components/CompletedStepIcon.tsx +0 -19
- package/src/components/layout/ServiceWizardStepper/components/PendingStepIcon.tsx +0 -15
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import IconProps from '../IconProps'
|
|
2
|
-
|
|
3
|
-
function CheckBoldDisabledIcon({ className = undefined }: IconProps) {
|
|
4
|
-
return (
|
|
5
|
-
<svg
|
|
6
|
-
className={className}
|
|
7
|
-
width='24'
|
|
8
|
-
height='24'
|
|
9
|
-
viewBox='0 0 24 24'
|
|
10
|
-
fill='none'
|
|
11
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
12
|
-
>
|
|
13
|
-
<rect x='1' y='1' width='22' height='22' rx='3.5' fill='#DCE0E5' />
|
|
14
|
-
<rect
|
|
15
|
-
className='checkbox-stroke'
|
|
16
|
-
x='1'
|
|
17
|
-
y='1'
|
|
18
|
-
width='22'
|
|
19
|
-
height='22'
|
|
20
|
-
rx='3.5'
|
|
21
|
-
stroke='#8E959E'
|
|
22
|
-
strokeWidth='2'
|
|
23
|
-
/>
|
|
24
|
-
<path
|
|
25
|
-
d='M18.5326 9.0313L10.5326 17.0313C10.4629 17.1012 10.3801 17.1567 10.2889 17.1946C10.1978 17.2324 10.1 17.2519 10.0013 17.2519C9.90259 17.2519 9.80485 17.2324 9.71369 17.1946C9.62252 17.1567 9.53973 17.1012 9.47005 17.0313L5.97005 13.5313C5.90029 13.4615 5.84495 13.3787 5.80719 13.2876C5.76943 13.1964 5.75 13.0987 5.75 13.0001C5.75 12.9014 5.76943 12.8037 5.80719 12.7125C5.84495 12.6214 5.90029 12.5386 5.97005 12.4688C6.03982 12.399 6.12264 12.3437 6.21379 12.3059C6.30494 12.2682 6.40264 12.2488 6.5013 12.2488C6.59996 12.2488 6.69766 12.2682 6.78881 12.3059C6.87996 12.3437 6.96279 12.399 7.03255 12.4688L10.0019 15.4382L17.4713 7.97005C17.6122 7.82915 17.8033 7.75 18.0026 7.75C18.2018 7.75 18.3929 7.82915 18.5338 7.97005C18.6747 8.11095 18.7539 8.30204 18.7539 8.5013C18.7539 8.70056 18.6747 8.89165 18.5338 9.03255L18.5326 9.0313Z'
|
|
26
|
-
fill='#a9afb8'
|
|
27
|
-
/>
|
|
28
|
-
</svg>
|
|
29
|
-
)
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export default CheckBoldDisabledIcon
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function ActiveStepIcon() {
|
|
2
|
-
return (
|
|
3
|
-
<svg
|
|
4
|
-
width='24'
|
|
5
|
-
height='24'
|
|
6
|
-
viewBox='0 0 24 24'
|
|
7
|
-
fill='none'
|
|
8
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
9
|
-
>
|
|
10
|
-
<circle cx='12' cy='12' r='6' fill='#1F2733' />
|
|
11
|
-
</svg>
|
|
12
|
-
)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default ActiveStepIcon
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
function CompletedStepIcon() {
|
|
2
|
-
return (
|
|
3
|
-
<svg
|
|
4
|
-
width='24'
|
|
5
|
-
height='24'
|
|
6
|
-
viewBox='0 0 24 24'
|
|
7
|
-
fill='none'
|
|
8
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
9
|
-
>
|
|
10
|
-
<circle cx='12' cy='12' r='12' fill='#00A879' />
|
|
11
|
-
<path
|
|
12
|
-
d='M18.5326 9.03032L10.5326 17.0303C10.4629 17.1002 10.3801 17.1557 10.2889 17.1936C10.1978 17.2314 10.1 17.2509 10.0013 17.2509C9.90259 17.2509 9.80485 17.2314 9.71369 17.1936C9.62252 17.1557 9.53973 17.1002 9.47005 17.0303L5.97005 13.5303C5.90029 13.4606 5.84495 13.3777 5.80719 13.2866C5.76943 13.1954 5.75 13.0977 5.75 12.9991C5.75 12.9004 5.76943 12.8027 5.80719 12.7116C5.84495 12.6204 5.90029 12.5376 5.97005 12.4678C6.03982 12.3981 6.12264 12.3427 6.21379 12.305C6.30494 12.2672 6.40264 12.2478 6.5013 12.2478C6.59996 12.2478 6.69766 12.2672 6.78881 12.305C6.87996 12.3427 6.96279 12.3981 7.03255 12.4678L10.0019 15.4372L17.4713 7.96907C17.6122 7.82818 17.8033 7.74902 18.0026 7.74902C18.2018 7.74902 18.3929 7.82818 18.5338 7.96907C18.6747 8.10997 18.7539 8.30107 18.7539 8.50032C18.7539 8.69958 18.6747 8.89068 18.5338 9.03157L18.5326 9.03032Z'
|
|
13
|
-
fill='white'
|
|
14
|
-
/>
|
|
15
|
-
</svg>
|
|
16
|
-
)
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export default CompletedStepIcon
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
function PendingStepIcon() {
|
|
2
|
-
return (
|
|
3
|
-
<svg
|
|
4
|
-
width='24'
|
|
5
|
-
height='24'
|
|
6
|
-
viewBox='0 0 24 24'
|
|
7
|
-
fill='none'
|
|
8
|
-
xmlns='http://www.w3.org/2000/svg'
|
|
9
|
-
>
|
|
10
|
-
<circle cx='12' cy='12' r='3' fill='#C5CAD1' />
|
|
11
|
-
</svg>
|
|
12
|
-
)
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export default PendingStepIcon
|