hrm_ui_lib 1.0.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/.babelrc +4 -0
- package/.eslintignore +5 -0
- package/.eslintrc.yml +43 -0
- package/.github/workflows/main.yml +71 -0
- package/.prettierrc +9 -0
- package/.releaserc +21 -0
- package/.storybook/main.ts +36 -0
- package/.storybook/preview-head.html +3 -0
- package/.storybook/preview.ts +7 -0
- package/.vscode/settings.json +16 -0
- package/CHANGELOG.md +0 -0
- package/bin/generate_svg_component.js +112 -0
- package/bin/import_all_svg_components.js +29 -0
- package/commitlint.config.js +3 -0
- package/package.json +143 -0
- package/rollup.config.js +149 -0
- package/slack-notification.yml +38 -0
- package/src/assets/images/ArCa.svg +3 -0
- package/src/assets/images/Avatar.png +0 -0
- package/src/assets/images/Mastercard.svg +5 -0
- package/src/assets/images/Visa.svg +3 -0
- package/src/assets/images/avatar.jpg +0 -0
- package/src/assets/images/cards-img.png +0 -0
- package/src/assets/images/illustrations.svg +15 -0
- package/src/assets/images/image-placeholder.png +0 -0
- package/src/assets/images/logo-closed.svg +8 -0
- package/src/assets/images/logo.svg +14 -0
- package/src/assets/images/no-result.svg +35 -0
- package/src/assets/styles/components/_alert.scss +85 -0
- package/src/assets/styles/components/_avatar.scss +268 -0
- package/src/assets/styles/components/_badge.scss +52 -0
- package/src/assets/styles/components/_breadcrumb.scss +43 -0
- package/src/assets/styles/components/_button-icon.scss +73 -0
- package/src/assets/styles/components/_button.scss +423 -0
- package/src/assets/styles/components/_card-body.scss +25 -0
- package/src/assets/styles/components/_card-item.scss +35 -0
- package/src/assets/styles/components/_card-select.scss +96 -0
- package/src/assets/styles/components/_chips.scss +267 -0
- package/src/assets/styles/components/_collapse.scss +62 -0
- package/src/assets/styles/components/_controllers.scss +333 -0
- package/src/assets/styles/components/_copy.scss +3 -0
- package/src/assets/styles/components/_counter.scss +15 -0
- package/src/assets/styles/components/_date-picker.scss +781 -0
- package/src/assets/styles/components/_divider.scss +28 -0
- package/src/assets/styles/components/_empty.scss +41 -0
- package/src/assets/styles/components/_error-message.scss +7 -0
- package/src/assets/styles/components/_file-upload.scss +89 -0
- package/src/assets/styles/components/_form-container.scss +7 -0
- package/src/assets/styles/components/_image.scss +15 -0
- package/src/assets/styles/components/_input.scss +225 -0
- package/src/assets/styles/components/_item-select.scss +115 -0
- package/src/assets/styles/components/_link.scss +27 -0
- package/src/assets/styles/components/_loader.scss +108 -0
- package/src/assets/styles/components/_modal.scss +178 -0
- package/src/assets/styles/components/_more.scss +4 -0
- package/src/assets/styles/components/_nested-menu.scss +46 -0
- package/src/assets/styles/components/_pagination.scss +130 -0
- package/src/assets/styles/components/_popover.scss +112 -0
- package/src/assets/styles/components/_progres-stepper.scss +263 -0
- package/src/assets/styles/components/_progress.scss +124 -0
- package/src/assets/styles/components/_radio-group.scss +60 -0
- package/src/assets/styles/components/_select.scss +287 -0
- package/src/assets/styles/components/_side-navigation.scss +224 -0
- package/src/assets/styles/components/_side-sheet.scss +113 -0
- package/src/assets/styles/components/_snackbar.scss +57 -0
- package/src/assets/styles/components/_status.scss +60 -0
- package/src/assets/styles/components/_svg-icons.scss +54 -0
- package/src/assets/styles/components/_switcher.scss +17 -0
- package/src/assets/styles/components/_tab.scss +203 -0
- package/src/assets/styles/components/_table.scss +99 -0
- package/src/assets/styles/components/_textarea.scss +122 -0
- package/src/assets/styles/components/_tooltip.scss +117 -0
- package/src/assets/styles/helpers/_classname.scss +606 -0
- package/src/assets/styles/helpers/_mixin.scss +718 -0
- package/src/assets/styles/helpers/_reset.scss +369 -0
- package/src/assets/styles/index.scss +59 -0
- package/src/assets/styles/tokens/_borders.scss +48 -0
- package/src/assets/styles/tokens/_colors.scss +208 -0
- package/src/assets/styles/tokens/_fonts.scss +107 -0
- package/src/assets/styles/tokens/_overlays.scss +36 -0
- package/src/assets/styles/tokens/_shadows.scss +53 -0
- package/src/assets/styles/tokens/_sizes.scss +58 -0
- package/src/assets/styles/tokens/_spaces.scss +54 -0
- package/src/components/Alert/Alert.tsx +69 -0
- package/src/components/Alert/consts.ts +17 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Alert/types.ts +18 -0
- package/src/components/Avatar/Avatar.tsx +60 -0
- package/src/components/Avatar/AvatarGroup.tsx +73 -0
- package/src/components/Avatar/index.ts +2 -0
- package/src/components/Avatar/types.ts +27 -0
- package/src/components/Badge/Badge.tsx +22 -0
- package/src/components/Badge/index.ts +1 -0
- package/src/components/Badge/types.ts +6 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +25 -0
- package/src/components/Breadcrumb/index.ts +1 -0
- package/src/components/Breadcrumb/types.ts +11 -0
- package/src/components/Button/Button.tsx +67 -0
- package/src/components/Button/consts.ts +18 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/Button/types.ts +24 -0
- package/src/components/ButtonIcon/ButtonIcon.tsx +39 -0
- package/src/components/ButtonIcon/index.ts +1 -0
- package/src/components/ButtonIcon/types.ts +18 -0
- package/src/components/CardBody/CardBody.tsx +28 -0
- package/src/components/CardBody/index.ts +1 -0
- package/src/components/CardBody/types.ts +12 -0
- package/src/components/CardSelect/CardSelect.tsx +73 -0
- package/src/components/CardSelect/CardSelectGroup.tsx +49 -0
- package/src/components/CardSelect/components/CardAdditionalInfo.tsx +34 -0
- package/src/components/CardSelect/components/CardChips.tsx +25 -0
- package/src/components/CardSelect/components/CardDescription.tsx +15 -0
- package/src/components/CardSelect/components/CardInput.tsx +12 -0
- package/src/components/CardSelect/components/index.ts +4 -0
- package/src/components/CardSelect/index.ts +2 -0
- package/src/components/CardSelect/types.ts +39 -0
- package/src/components/Cards/CardItem.tsx +45 -0
- package/src/components/Cards/index.tsx +1 -0
- package/src/components/Cards/types.ts +15 -0
- package/src/components/Checkbox/Checkbox.tsx +139 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/Checkbox/types.ts +19 -0
- package/src/components/Chips/Chips.tsx +70 -0
- package/src/components/Chips/consts.ts +15 -0
- package/src/components/Chips/index.ts +1 -0
- package/src/components/Chips/types.ts +30 -0
- package/src/components/Collapse/CollapseGroup/CollapseGroup.tsx +50 -0
- package/src/components/Collapse/CollapseItem/CollapseItem.tsx +86 -0
- package/src/components/Collapse/index.ts +2 -0
- package/src/components/Collapse/types.ts +43 -0
- package/src/components/Container/Container.tsx +8 -0
- package/src/components/Container/index.ts +1 -0
- package/src/components/Container/types.ts +5 -0
- package/src/components/Copy/Copy.tsx +38 -0
- package/src/components/Copy/index.ts +1 -0
- package/src/components/Copy/types.ts +6 -0
- package/src/components/Counter/Counter.tsx +82 -0
- package/src/components/Counter/index.ts +1 -0
- package/src/components/Counter/types.ts +9 -0
- package/src/components/DatePicker/CustomHeader/CustomHeader.tsx +87 -0
- package/src/components/DatePicker/CustomHeader/styles.scss +21 -0
- package/src/components/DatePicker/RangeDatePicker.tsx +126 -0
- package/src/components/DatePicker/SimpleDatePicker.tsx +105 -0
- package/src/components/DatePicker/TimePicker.tsx +85 -0
- package/src/components/DatePicker/hooks.ts +30 -0
- package/src/components/DatePicker/index.ts +3 -0
- package/src/components/DatePicker/types.ts +50 -0
- package/src/components/Divider/Divider.tsx +20 -0
- package/src/components/Divider/index.ts +1 -0
- package/src/components/Divider/types.ts +5 -0
- package/src/components/Empty/Empty.tsx +42 -0
- package/src/components/Empty/index.ts +1 -0
- package/src/components/Empty/types.ts +10 -0
- package/src/components/FileUpload/FileUpload.tsx +159 -0
- package/src/components/FileUpload/UploadItems.tsx +60 -0
- package/src/components/FileUpload/index.ts +2 -0
- package/src/components/FileUpload/types.ts +37 -0
- package/src/components/FormContainer/FormContainer.tsx +93 -0
- package/src/components/FormContainer/index.ts +1 -0
- package/src/components/FormContainer/types.ts +21 -0
- package/src/components/FormField/FormField.tsx +70 -0
- package/src/components/FormField/index.ts +1 -0
- package/src/components/FormField/types.ts +8 -0
- package/src/components/Heading/Heading.tsx +33 -0
- package/src/components/Heading/index.ts +1 -0
- package/src/components/Heading/types.ts +12 -0
- package/src/components/Image/Image.tsx +37 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/Image/types.ts +10 -0
- package/src/components/Input/Input.tsx +209 -0
- package/src/components/Input/index.ts +1 -0
- package/src/components/Input/types.ts +46 -0
- package/src/components/ItemSelect/ItemSelect.tsx +74 -0
- package/src/components/ItemSelect/ItemSelectGroup.tsx +35 -0
- package/src/components/ItemSelect/index.ts +2 -0
- package/src/components/ItemSelect/types.ts +23 -0
- package/src/components/Link/Link.tsx +51 -0
- package/src/components/Link/index.ts +1 -0
- package/src/components/Link/types.ts +10 -0
- package/src/components/Menu/Menu.tsx +99 -0
- package/src/components/Menu/NestedMenu.tsx +97 -0
- package/src/components/Menu/index.ts +2 -0
- package/src/components/Menu/types.ts +37 -0
- package/src/components/Modal/Modal.tsx +132 -0
- package/src/components/Modal/ModalConfirmation.tsx +108 -0
- package/src/components/Modal/index.ts +2 -0
- package/src/components/Modal/types.ts +41 -0
- package/src/components/More/More.tsx +38 -0
- package/src/components/More/index.ts +1 -0
- package/src/components/More/types.ts +11 -0
- package/src/components/Pagination/Pagination.tsx +50 -0
- package/src/components/Pagination/consts.ts +9 -0
- package/src/components/Pagination/index.ts +1 -0
- package/src/components/Pagination/types.ts +16 -0
- package/src/components/Popover/Popover.tsx +89 -0
- package/src/components/Popover/index.ts +1 -0
- package/src/components/Popover/types.ts +22 -0
- package/src/components/Progress/Progress.tsx +67 -0
- package/src/components/Progress/index.ts +1 -0
- package/src/components/Progress/types.ts +11 -0
- package/src/components/ProgressStep/ProgressStep.tsx +36 -0
- package/src/components/ProgressStep/Step.tsx +96 -0
- package/src/components/ProgressStep/consts.ts +6 -0
- package/src/components/ProgressStep/index.ts +1 -0
- package/src/components/ProgressStep/types.ts +34 -0
- package/src/components/Radio/Radio.tsx +64 -0
- package/src/components/Radio/RadioGroup.tsx +74 -0
- package/src/components/Radio/index.ts +2 -0
- package/src/components/Radio/types.ts +31 -0
- package/src/components/SVGIcons/IconAdd.tsx +35 -0
- package/src/components/SVGIcons/IconAddCircle.tsx +38 -0
- package/src/components/SVGIcons/IconAddCircleFilled.tsx +38 -0
- package/src/components/SVGIcons/IconAddFilled.tsx +35 -0
- package/src/components/SVGIcons/IconAlert.tsx +38 -0
- package/src/components/SVGIcons/IconAlertBadge.tsx +38 -0
- package/src/components/SVGIcons/IconAlertBadgeFilled.tsx +38 -0
- package/src/components/SVGIcons/IconAlertFilled.tsx +38 -0
- package/src/components/SVGIcons/IconAm.tsx +46 -0
- package/src/components/SVGIcons/IconAmd.tsx +35 -0
- package/src/components/SVGIcons/IconAmdFilled.tsx +35 -0
- package/src/components/SVGIcons/IconApple.tsx +38 -0
- package/src/components/SVGIcons/IconArrowDown.tsx +38 -0
- package/src/components/SVGIcons/IconArrowDownFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowDownLeft.tsx +38 -0
- package/src/components/SVGIcons/IconArrowDownLeftFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowDownload.tsx +38 -0
- package/src/components/SVGIcons/IconArrowDownloadFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowEnter.tsx +35 -0
- package/src/components/SVGIcons/IconArrowEnterFilled.tsx +35 -0
- package/src/components/SVGIcons/IconArrowExit.tsx +35 -0
- package/src/components/SVGIcons/IconArrowExitFilled.tsx +35 -0
- package/src/components/SVGIcons/IconArrowExportLeftToRight.tsx +38 -0
- package/src/components/SVGIcons/IconArrowExportLeftToRightFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowExportRightToLeft.tsx +38 -0
- package/src/components/SVGIcons/IconArrowExportRightToLeftFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowExportUp.tsx +38 -0
- package/src/components/SVGIcons/IconArrowExportUpFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowImport.tsx +38 -0
- package/src/components/SVGIcons/IconArrowImportFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowLeft.tsx +38 -0
- package/src/components/SVGIcons/IconArrowLeftFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowRepeatAll.tsx +38 -0
- package/src/components/SVGIcons/IconArrowRepeatAllFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowReset.tsx +38 -0
- package/src/components/SVGIcons/IconArrowResetFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowRight.tsx +38 -0
- package/src/components/SVGIcons/IconArrowRightFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowSort.tsx +35 -0
- package/src/components/SVGIcons/IconArrowSortFilled.tsx +35 -0
- package/src/components/SVGIcons/IconArrowSync.tsx +35 -0
- package/src/components/SVGIcons/IconArrowSyncFilled.tsx +35 -0
- package/src/components/SVGIcons/IconArrowUp.tsx +38 -0
- package/src/components/SVGIcons/IconArrowUpFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowUpLeft.tsx +38 -0
- package/src/components/SVGIcons/IconArrowUpLeftFilled.tsx +38 -0
- package/src/components/SVGIcons/IconArrowUpRight.tsx +38 -0
- package/src/components/SVGIcons/IconArrowUpRightFilled.tsx +38 -0
- package/src/components/SVGIcons/IconAttach.tsx +38 -0
- package/src/components/SVGIcons/IconAttachFilled.tsx +38 -0
- package/src/components/SVGIcons/IconBeach.tsx +35 -0
- package/src/components/SVGIcons/IconBeachFilled.tsx +35 -0
- package/src/components/SVGIcons/IconBook.tsx +38 -0
- package/src/components/SVGIcons/IconBookFilled.tsx +38 -0
- package/src/components/SVGIcons/IconBookmark.tsx +38 -0
- package/src/components/SVGIcons/IconBookmarkFilled.tsx +38 -0
- package/src/components/SVGIcons/IconBriefcase.tsx +38 -0
- package/src/components/SVGIcons/IconBriefcaseFilled.tsx +38 -0
- package/src/components/SVGIcons/IconBuilding.tsx +55 -0
- package/src/components/SVGIcons/IconBuildingBank.tsx +35 -0
- package/src/components/SVGIcons/IconBuildingBankFilled.tsx +35 -0
- package/src/components/SVGIcons/IconBuildingFilled.tsx +38 -0
- package/src/components/SVGIcons/IconBulletListAdd.tsx +38 -0
- package/src/components/SVGIcons/IconBulletListAddFilled.tsx +38 -0
- package/src/components/SVGIcons/IconCalculator.tsx +38 -0
- package/src/components/SVGIcons/IconCalculatorFilled.tsx +38 -0
- package/src/components/SVGIcons/IconCalendarClock.tsx +35 -0
- package/src/components/SVGIcons/IconCalendarClockFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCalendarDay.tsx +38 -0
- package/src/components/SVGIcons/IconCalendarDayFilled.tsx +38 -0
- package/src/components/SVGIcons/IconCalendarLeft.tsx +35 -0
- package/src/components/SVGIcons/IconCalendarLeftFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCalendarRight.tsx +35 -0
- package/src/components/SVGIcons/IconCalendarRightFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCall.tsx +38 -0
- package/src/components/SVGIcons/IconCallFilled.tsx +38 -0
- package/src/components/SVGIcons/IconCard.tsx +35 -0
- package/src/components/SVGIcons/IconCardFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCaretDown.tsx +35 -0
- package/src/components/SVGIcons/IconCaretDownFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCaretDownRight.tsx +35 -0
- package/src/components/SVGIcons/IconCaretDownRightFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCaretLeft.tsx +35 -0
- package/src/components/SVGIcons/IconCaretLeftFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCaretRight.tsx +35 -0
- package/src/components/SVGIcons/IconCaretRightFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCaretUp.tsx +35 -0
- package/src/components/SVGIcons/IconCaretUpFilled.tsx +35 -0
- package/src/components/SVGIcons/IconChat.tsx +35 -0
- package/src/components/SVGIcons/IconChatFilled.tsx +35 -0
- package/src/components/SVGIcons/IconChatMultiple.tsx +35 -0
- package/src/components/SVGIcons/IconChatMultipleFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCheckboxArrowRight.tsx +38 -0
- package/src/components/SVGIcons/IconCheckboxArrowRightFilled.tsx +38 -0
- package/src/components/SVGIcons/IconCheckmark.tsx +35 -0
- package/src/components/SVGIcons/IconCheckmarkCircle.tsx +35 -0
- package/src/components/SVGIcons/IconCheckmarkCircleFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCheckmarkFilled.tsx +35 -0
- package/src/components/SVGIcons/IconChevronDown.tsx +35 -0
- package/src/components/SVGIcons/IconChevronDownFilled.tsx +35 -0
- package/src/components/SVGIcons/IconChevronLeft.tsx +35 -0
- package/src/components/SVGIcons/IconChevronLeftFilled.tsx +35 -0
- package/src/components/SVGIcons/IconChevronRight.tsx +35 -0
- package/src/components/SVGIcons/IconChevronRightFilled.tsx +35 -0
- package/src/components/SVGIcons/IconChevronUp.tsx +35 -0
- package/src/components/SVGIcons/IconChevronUpDown.tsx +38 -0
- package/src/components/SVGIcons/IconChevronUpDownFilled.tsx +38 -0
- package/src/components/SVGIcons/IconChevronUpFilled.tsx +35 -0
- package/src/components/SVGIcons/IconClock.tsx +38 -0
- package/src/components/SVGIcons/IconClockDismiss.tsx +35 -0
- package/src/components/SVGIcons/IconClockDismissFilled.tsx +35 -0
- package/src/components/SVGIcons/IconClockFilled.tsx +38 -0
- package/src/components/SVGIcons/IconComment.tsx +38 -0
- package/src/components/SVGIcons/IconCommentFilled.tsx +38 -0
- package/src/components/SVGIcons/IconContractCard.tsx +35 -0
- package/src/components/SVGIcons/IconContractCardFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCopy.tsx +35 -0
- package/src/components/SVGIcons/IconCopyFilled.tsx +35 -0
- package/src/components/SVGIcons/IconCubeTree.tsx +35 -0
- package/src/components/SVGIcons/IconCubeTreeFilled.tsx +38 -0
- package/src/components/SVGIcons/IconDatabase.tsx +38 -0
- package/src/components/SVGIcons/IconDatabaseFilled.tsx +38 -0
- package/src/components/SVGIcons/IconDelete.tsx +35 -0
- package/src/components/SVGIcons/IconDeleteFilled.tsx +35 -0
- package/src/components/SVGIcons/IconDeviceMeetingRoom.tsx +35 -0
- package/src/components/SVGIcons/IconDeviceMeetingRoomFilled.tsx +35 -0
- package/src/components/SVGIcons/IconDismiss.tsx +35 -0
- package/src/components/SVGIcons/IconDismissCircle.tsx +38 -0
- package/src/components/SVGIcons/IconDismissCircleFilled.tsx +38 -0
- package/src/components/SVGIcons/IconDismissFilled.tsx +35 -0
- package/src/components/SVGIcons/IconDocument.tsx +35 -0
- package/src/components/SVGIcons/IconDocumentBulletList.tsx +38 -0
- package/src/components/SVGIcons/IconDocumentBulletListFilled.tsx +38 -0
- package/src/components/SVGIcons/IconDocumentEdit.tsx +35 -0
- package/src/components/SVGIcons/IconDocumentEditFilled.tsx +35 -0
- package/src/components/SVGIcons/IconDocumentFilled.tsx +35 -0
- package/src/components/SVGIcons/IconEdit.tsx +35 -0
- package/src/components/SVGIcons/IconEditFilled.tsx +35 -0
- package/src/components/SVGIcons/IconErrorCircle.tsx +35 -0
- package/src/components/SVGIcons/IconErrorCircleFilled.tsx +35 -0
- package/src/components/SVGIcons/IconEur.tsx +35 -0
- package/src/components/SVGIcons/IconEurFilled.tsx +35 -0
- package/src/components/SVGIcons/IconExpandUpLeft.tsx +38 -0
- package/src/components/SVGIcons/IconExpandUpLeftFilled.tsx +38 -0
- package/src/components/SVGIcons/IconExpandUpRight.tsx +38 -0
- package/src/components/SVGIcons/IconExpandUpRightFilled.tsx +38 -0
- package/src/components/SVGIcons/IconEyeOff.tsx +38 -0
- package/src/components/SVGIcons/IconEyeOffFilled.tsx +38 -0
- package/src/components/SVGIcons/IconEyeOn.tsx +38 -0
- package/src/components/SVGIcons/IconEyeOnFilled.tsx +38 -0
- package/src/components/SVGIcons/IconFacebook.tsx +43 -0
- package/src/components/SVGIcons/IconFilter.tsx +35 -0
- package/src/components/SVGIcons/IconFilterFilled.tsx +35 -0
- package/src/components/SVGIcons/IconFlag.tsx +38 -0
- package/src/components/SVGIcons/IconFlagFilled.tsx +38 -0
- package/src/components/SVGIcons/IconFolderLink.tsx +35 -0
- package/src/components/SVGIcons/IconFolderLinkFilled.tsx +35 -0
- package/src/components/SVGIcons/IconGb.tsx +68 -0
- package/src/components/SVGIcons/IconGlobe.tsx +35 -0
- package/src/components/SVGIcons/IconGlobeFilled.tsx +35 -0
- package/src/components/SVGIcons/IconGoogle.tsx +45 -0
- package/src/components/SVGIcons/IconHandOpenHeart.tsx +38 -0
- package/src/components/SVGIcons/IconHandOpenHeartFilled.tsx +38 -0
- package/src/components/SVGIcons/IconHeart.tsx +38 -0
- package/src/components/SVGIcons/IconHeartFilled.tsx +38 -0
- package/src/components/SVGIcons/IconHistory.tsx +38 -0
- package/src/components/SVGIcons/IconHistoryFilled.tsx +38 -0
- package/src/components/SVGIcons/IconHome.tsx +38 -0
- package/src/components/SVGIcons/IconHomeFilled.tsx +38 -0
- package/src/components/SVGIcons/IconImage.tsx +38 -0
- package/src/components/SVGIcons/IconImageFilled.tsx +38 -0
- package/src/components/SVGIcons/IconInfo.tsx +35 -0
- package/src/components/SVGIcons/IconInfoFilled.tsx +35 -0
- package/src/components/SVGIcons/IconInstagram.tsx +48 -0
- package/src/components/SVGIcons/IconKeyReset.tsx +38 -0
- package/src/components/SVGIcons/IconKeyResetFilled.tsx +38 -0
- package/src/components/SVGIcons/IconLink.tsx +38 -0
- package/src/components/SVGIcons/IconLinkFilled.tsx +38 -0
- package/src/components/SVGIcons/IconLinkedin.tsx +38 -0
- package/src/components/SVGIcons/IconList.tsx +35 -0
- package/src/components/SVGIcons/IconListFilled.tsx +38 -0
- package/src/components/SVGIcons/IconLocation.tsx +38 -0
- package/src/components/SVGIcons/IconLocationFilled.tsx +38 -0
- package/src/components/SVGIcons/IconLockClosed.tsx +38 -0
- package/src/components/SVGIcons/IconLockClosedFilled.tsx +38 -0
- package/src/components/SVGIcons/IconLockOpen.tsx +38 -0
- package/src/components/SVGIcons/IconLockOpenFilled.tsx +38 -0
- package/src/components/SVGIcons/IconMail.tsx +38 -0
- package/src/components/SVGIcons/IconMailAdd.tsx +38 -0
- package/src/components/SVGIcons/IconMailAddFilled.tsx +38 -0
- package/src/components/SVGIcons/IconMailArrowForward.tsx +38 -0
- package/src/components/SVGIcons/IconMailArrowForwardFilled.tsx +38 -0
- package/src/components/SVGIcons/IconMailFilled.tsx +38 -0
- package/src/components/SVGIcons/IconMailLink.tsx +38 -0
- package/src/components/SVGIcons/IconMailLinkFilled.tsx +38 -0
- package/src/components/SVGIcons/IconMedium.tsx +38 -0
- package/src/components/SVGIcons/IconMore.tsx +38 -0
- package/src/components/SVGIcons/IconMoreFilled.tsx +38 -0
- package/src/components/SVGIcons/IconMoreVertical.tsx +38 -0
- package/src/components/SVGIcons/IconMoreVerticalFilled.tsx +38 -0
- package/src/components/SVGIcons/IconNavigation.tsx +38 -0
- package/src/components/SVGIcons/IconNavigationFilled.tsx +38 -0
- package/src/components/SVGIcons/IconNotebook.tsx +38 -0
- package/src/components/SVGIcons/IconNotebookAdd.tsx +59 -0
- package/src/components/SVGIcons/IconNotebookAddFilled.tsx +55 -0
- package/src/components/SVGIcons/IconNotebookFilled.tsx +38 -0
- package/src/components/SVGIcons/IconOnlyEmployee.tsx +35 -0
- package/src/components/SVGIcons/IconOpen.tsx +38 -0
- package/src/components/SVGIcons/IconOpenFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPatient.tsx +35 -0
- package/src/components/SVGIcons/IconPatientFilled.tsx +35 -0
- package/src/components/SVGIcons/IconPeople.tsx +35 -0
- package/src/components/SVGIcons/IconPeopleAdd.tsx +38 -0
- package/src/components/SVGIcons/IconPeopleAddFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPeopleFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPercent.tsx +40 -0
- package/src/components/SVGIcons/IconPerson.tsx +38 -0
- package/src/components/SVGIcons/IconPersonAccount.tsx +35 -0
- package/src/components/SVGIcons/IconPersonAccountFilled.tsx +35 -0
- package/src/components/SVGIcons/IconPersonAdd.tsx +38 -0
- package/src/components/SVGIcons/IconPersonAddFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPersonFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPersonStar.tsx +38 -0
- package/src/components/SVGIcons/IconPersonStarFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPersonSubtract.tsx +38 -0
- package/src/components/SVGIcons/IconPersonSubtractFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPhone.tsx +38 -0
- package/src/components/SVGIcons/IconPhoneFilled.tsx +38 -0
- package/src/components/SVGIcons/IconPos.tsx +40 -0
- package/src/components/SVGIcons/IconPosFilled.tsx +40 -0
- package/src/components/SVGIcons/IconProhibited.tsx +38 -0
- package/src/components/SVGIcons/IconProhibitedFilled.tsx +38 -0
- package/src/components/SVGIcons/IconProjectProduct.tsx +35 -0
- package/src/components/SVGIcons/IconQuestion.tsx +38 -0
- package/src/components/SVGIcons/IconQuestionFilled.tsx +38 -0
- package/src/components/SVGIcons/IconRedo.tsx +38 -0
- package/src/components/SVGIcons/IconRedoFilled.tsx +38 -0
- package/src/components/SVGIcons/IconRu.tsx +63 -0
- package/src/components/SVGIcons/IconRub.tsx +35 -0
- package/src/components/SVGIcons/IconRubFilled.tsx +35 -0
- package/src/components/SVGIcons/IconSave.tsx +38 -0
- package/src/components/SVGIcons/IconSaveFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSavings.tsx +38 -0
- package/src/components/SVGIcons/IconSavingsFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSearch.tsx +38 -0
- package/src/components/SVGIcons/IconSearchFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSelectAllOff.tsx +38 -0
- package/src/components/SVGIcons/IconSelectAllOffFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSelectAllOn.tsx +38 -0
- package/src/components/SVGIcons/IconSelectAllOnFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSend.tsx +38 -0
- package/src/components/SVGIcons/IconSendFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSettings.tsx +35 -0
- package/src/components/SVGIcons/IconSettingsFilled.tsx +38 -0
- package/src/components/SVGIcons/IconShare.tsx +38 -0
- package/src/components/SVGIcons/IconShareAndroid.tsx +38 -0
- package/src/components/SVGIcons/IconShareAndroidFilled.tsx +38 -0
- package/src/components/SVGIcons/IconShareFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSignOut.tsx +38 -0
- package/src/components/SVGIcons/IconSignOutFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSpinner.tsx +38 -0
- package/src/components/SVGIcons/IconSpinnerFilled.tsx +38 -0
- package/src/components/SVGIcons/IconStatus.tsx +38 -0
- package/src/components/SVGIcons/IconStatusFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSubtract.tsx +38 -0
- package/src/components/SVGIcons/IconSubtractCircle.tsx +38 -0
- package/src/components/SVGIcons/IconSubtractCircleFilled.tsx +38 -0
- package/src/components/SVGIcons/IconSubtractFilled.tsx +38 -0
- package/src/components/SVGIcons/IconTableCellEdit.tsx +43 -0
- package/src/components/SVGIcons/IconTableCellEditFilled.tsx +51 -0
- package/src/components/SVGIcons/IconTelegram.tsx +45 -0
- package/src/components/SVGIcons/IconTimer.tsx +38 -0
- package/src/components/SVGIcons/IconTimerFilled.tsx +38 -0
- package/src/components/SVGIcons/IconTwitter.tsx +38 -0
- package/src/components/SVGIcons/IconUndo.tsx +38 -0
- package/src/components/SVGIcons/IconUndoFilled.tsx +38 -0
- package/src/components/SVGIcons/IconUnitsEmployee.tsx +35 -0
- package/src/components/SVGIcons/IconUsd.tsx +35 -0
- package/src/components/SVGIcons/IconUsdFilled.tsx +35 -0
- package/src/components/SVGIcons/IconVideo.tsx +35 -0
- package/src/components/SVGIcons/IconVideoFilled.tsx +35 -0
- package/src/components/SVGIcons/IconWallet.tsx +38 -0
- package/src/components/SVGIcons/IconWalletFilled.tsx +38 -0
- package/src/components/SVGIcons/IconWarning.tsx +35 -0
- package/src/components/SVGIcons/IconWarningFilled.tsx +35 -0
- package/src/components/SVGIcons/IconYoutube.tsx +38 -0
- package/src/components/SVGIcons/index.ts +286 -0
- package/src/components/SVGIcons/types.ts +38 -0
- package/src/components/Select/ButtonSelect/ButtonSelect.tsx +120 -0
- package/src/components/Select/FilterSelect/FilterDropdown.tsx +46 -0
- package/src/components/Select/FilterSelect/FilterGroupDropdown.tsx +22 -0
- package/src/components/Select/FilterSelect/FilterSelect.tsx +138 -0
- package/src/components/Select/MultiSelect/MultiBase/MultiBase.tsx +162 -0
- package/src/components/Select/MultiSelect/MultiSelect.tsx +147 -0
- package/src/components/Select/MultiSelect/MultiSelectGrouped/MultiSelectGrouped.tsx +219 -0
- package/src/components/Select/MultiSelect/MultiSelectWithTabs/MultiSelectWithTabs.tsx +177 -0
- package/src/components/Select/MultiSelect/OptionsWrapper.tsx +128 -0
- package/src/components/Select/NestedSelect/NestedSelect.tsx +124 -0
- package/src/components/Select/ProfileDropdown/index.tsx +90 -0
- package/src/components/Select/ProfileDropdown/styles.scss +47 -0
- package/src/components/Select/Select/Select.tsx +268 -0
- package/src/components/Select/SharedComponents/Actions.tsx +42 -0
- package/src/components/Select/SharedComponents/ButtonSelectWrapper/Button/Button.tsx +52 -0
- package/src/components/Select/SharedComponents/ButtonSelectWrapper/ButtonSelectWrapper.tsx +100 -0
- package/src/components/Select/SharedComponents/ContentTop.tsx +123 -0
- package/src/components/Select/SharedComponents/Footer.tsx +35 -0
- package/src/components/Select/SharedComponents/InputSelectWrapper/InputSelectWrapper.tsx +137 -0
- package/src/components/Select/SharedComponents/Loading.tsx +15 -0
- package/src/components/Select/SharedComponents/index.ts +6 -0
- package/src/components/Select/constants.ts +10 -0
- package/src/components/Select/index.ts +6 -0
- package/src/components/Select/types.ts +240 -0
- package/src/components/SideNavigation/Block.tsx +19 -0
- package/src/components/SideNavigation/NavigationItem/index.tsx +93 -0
- package/src/components/SideNavigation/NavigationItem/types.ts +26 -0
- package/src/components/SideNavigation/SideNavigation.tsx +46 -0
- package/src/components/SideNavigation/index.ts +2 -0
- package/src/components/SideNavigation/types.ts +19 -0
- package/src/components/SideSheet/Footer/Footer.tsx +59 -0
- package/src/components/SideSheet/SideSheet.tsx +168 -0
- package/src/components/SideSheet/index.ts +1 -0
- package/src/components/SideSheet/types.ts +37 -0
- package/src/components/Snackbar/Snackbar.tsx +75 -0
- package/src/components/Snackbar/consts.ts +17 -0
- package/src/components/Snackbar/index.ts +1 -0
- package/src/components/Snackbar/types.ts +22 -0
- package/src/components/Status/Status.tsx +50 -0
- package/src/components/Status/index.ts +1 -0
- package/src/components/Status/types.ts +24 -0
- package/src/components/Stepper/Stepper.tsx +45 -0
- package/src/components/Stepper/index.ts +1 -0
- package/src/components/Stepper/types.ts +15 -0
- package/src/components/Switcher/Switcher.tsx +75 -0
- package/src/components/Switcher/index.ts +1 -0
- package/src/components/Switcher/types.ts +11 -0
- package/src/components/Tab/Tab.tsx +29 -0
- package/src/components/Tab/TabItem.tsx +61 -0
- package/src/components/Tab/index.ts +1 -0
- package/src/components/Tab/types.ts +51 -0
- package/src/components/Table/Header.tsx +86 -0
- package/src/components/Table/IndeterminateCheckbox.tsx +31 -0
- package/src/components/Table/Row.tsx +48 -0
- package/src/components/Table/Table.tsx +134 -0
- package/src/components/Table/index.ts +1 -0
- package/src/components/Table/types.ts +45 -0
- package/src/components/Table/utils.tsx +27 -0
- package/src/components/Text/Text.tsx +38 -0
- package/src/components/Text/index.ts +1 -0
- package/src/components/Text/types.ts +33 -0
- package/src/components/Textarea/Textarea.tsx +100 -0
- package/src/components/Textarea/index.ts +1 -0
- package/src/components/Textarea/types.ts +17 -0
- package/src/components/Tooltip/Tooltip.tsx +88 -0
- package/src/components/Tooltip/index.ts +1 -0
- package/src/components/Tooltip/types.ts +23 -0
- package/src/consts/index.ts +85 -0
- package/src/context/FormContextProvider.tsx +12 -0
- package/src/context/index.ts +2 -0
- package/src/context/types.ts +41 -0
- package/src/helperComponents/AnimatePresenceWrapper/AnimatePresenceWrapper.tsx +19 -0
- package/src/helperComponents/AnimatePresenceWrapper/index.ts +1 -0
- package/src/helperComponents/CodeBlock/CodeBlock.tsx +20 -0
- package/src/helperComponents/CodeBlock/index.ts +2 -0
- package/src/helperComponents/ErrorMessage/ErrorMessage.tsx +23 -0
- package/src/helperComponents/ErrorMessage/index.ts +1 -0
- package/src/helperComponents/ErrorMessage/types.ts +6 -0
- package/src/helperComponents/IconDynamicComponent/IconDynamicComponent.tsx +31 -0
- package/src/helperComponents/IconDynamicComponent/constants.ts +16 -0
- package/src/helperComponents/IconDynamicComponent/index.ts +1 -0
- package/src/helperComponents/Label/Label.tsx +31 -0
- package/src/helperComponents/Label/index.ts +1 -0
- package/src/helperComponents/Label/types.ts +12 -0
- package/src/helperComponents/Loader/Loader.tsx +11 -0
- package/src/helperComponents/Loader/index.ts +1 -0
- package/src/helperComponents/Loader/types.ts +4 -0
- package/src/helperComponents/OptionItem/OptionItem.tsx +98 -0
- package/src/helperComponents/OptionItem/index.ts +1 -0
- package/src/helperComponents/OptionItem/types.ts +18 -0
- package/src/helperComponents/index.ts +6 -0
- package/src/hooks/index.ts +12 -0
- package/src/hooks/useChangePositionsOnScroll.tsx +37 -0
- package/src/hooks/useDispatchEventOnScroll.tsx +10 -0
- package/src/hooks/useFieldArray.ts +1 -0
- package/src/hooks/useFormContext.ts +14 -0
- package/src/hooks/useFormProps.ts +6 -0
- package/src/hooks/useGetElemPositions.ts +28 -0
- package/src/hooks/useGetElemSizes.ts +29 -0
- package/src/hooks/useGetHasBottomSpace.ts +35 -0
- package/src/hooks/useGetTooltipPosition.ts +81 -0
- package/src/hooks/useGetTooltipStyles.ts +71 -0
- package/src/hooks/useHideBodyScroll.ts +29 -0
- package/src/hooks/useHideOnScroll.ts +24 -0
- package/src/hooks/useOnOutsideClick.ts +58 -0
- package/src/hooks/useScreenSize.ts +36 -0
- package/src/index.ts +53 -0
- package/src/stories/Alert.stories.tsx +42 -0
- package/src/stories/Avatar.stories.tsx +100 -0
- package/src/stories/Badge.stories.tsx +29 -0
- package/src/stories/Breadcrumb.stories.tsx +37 -0
- package/src/stories/Button.stories.tsx +74 -0
- package/src/stories/ButtonIcon.stories.tsx +52 -0
- package/src/stories/CardBody.stories.tsx +32 -0
- package/src/stories/CardSelect.stories.tsx +192 -0
- package/src/stories/Cards.stories.tsx +42 -0
- package/src/stories/Checkbox.stories.tsx +40 -0
- package/src/stories/Chips.stories.tsx +40 -0
- package/src/stories/Collapse.stories.tsx +69 -0
- package/src/stories/Container.stories.tsx +28 -0
- package/src/stories/Copy.stories.tsx +18 -0
- package/src/stories/Counter.stories.tsx +27 -0
- package/src/stories/DatePicker.stories.tsx +99 -0
- package/src/stories/Divider.stories.tsx +30 -0
- package/src/stories/Empty.stories.tsx +33 -0
- package/src/stories/FileUpload.stories.tsx +43 -0
- package/src/stories/Form.stories.tsx +188 -0
- package/src/stories/Heading.stories.tsx +42 -0
- package/src/stories/Image.stories.tsx +44 -0
- package/src/stories/Input.stories.tsx +71 -0
- package/src/stories/ItemSelect.stories.tsx +94 -0
- package/src/stories/Link.stories.tsx +21 -0
- package/src/stories/Menu.stories.tsx +178 -0
- package/src/stories/Modal.stories.tsx +93 -0
- package/src/stories/More.stories.tsx +27 -0
- package/src/stories/NavigationItem.stories.tsx +24 -0
- package/src/stories/Pagination.stories.tsx +34 -0
- package/src/stories/Popover.stories.tsx +55 -0
- package/src/stories/Progress.stories.tsx +33 -0
- package/src/stories/ProgressStep.stories.tsx +84 -0
- package/src/stories/Radio.stories.tsx +57 -0
- package/src/stories/SVGIcons.stories.tsx +75 -0
- package/src/stories/Select.stories.tsx +600 -0
- package/src/stories/SideNavigation.stories.tsx +252 -0
- package/src/stories/SideSheet.stories.tsx +346 -0
- package/src/stories/Snackbar.stories.tsx +72 -0
- package/src/stories/Status.stories.tsx +71 -0
- package/src/stories/Stepper.stories.tsx +28 -0
- package/src/stories/Switcher.stories.tsx +32 -0
- package/src/stories/Tab.stories.tsx +77 -0
- package/src/stories/Table.stories.tsx +96 -0
- package/src/stories/Text.stories.tsx +62 -0
- package/src/stories/Textarea.stories.tsx +37 -0
- package/src/stories/Tooltip.stories.tsx +60 -0
- package/src/types.d.ts +192 -0
- package/src/utils/helpers.ts +94 -0
- package/svg-icons/add-circle-filled.svg +5 -0
- package/svg-icons/add-circle.svg +5 -0
- package/svg-icons/add-filled.svg +3 -0
- package/svg-icons/add.svg +3 -0
- package/svg-icons/alert-badge-filled.svg +5 -0
- package/svg-icons/alert-badge.svg +5 -0
- package/svg-icons/alert-filled.svg +5 -0
- package/svg-icons/alert.svg +5 -0
- package/svg-icons/am.svg +11 -0
- package/svg-icons/amd-filled.svg +3 -0
- package/svg-icons/amd.svg +3 -0
- package/svg-icons/apple.svg +5 -0
- package/svg-icons/arrow-down-filled.svg +5 -0
- package/svg-icons/arrow-down-left-filled.svg +5 -0
- package/svg-icons/arrow-down-left.svg +5 -0
- package/svg-icons/arrow-down.svg +5 -0
- package/svg-icons/arrow-download-filled.svg +5 -0
- package/svg-icons/arrow-download.svg +5 -0
- package/svg-icons/arrow-enter-filled.svg +3 -0
- package/svg-icons/arrow-enter.svg +3 -0
- package/svg-icons/arrow-exit-filled.svg +3 -0
- package/svg-icons/arrow-exit.svg +3 -0
- package/svg-icons/arrow-export-left-to-right-filled.svg +5 -0
- package/svg-icons/arrow-export-left-to-right.svg +5 -0
- package/svg-icons/arrow-export-right-to-left-filled.svg +5 -0
- package/svg-icons/arrow-export-right-to-left.svg +5 -0
- package/svg-icons/arrow-export-up-filled.svg +5 -0
- package/svg-icons/arrow-export-up.svg +5 -0
- package/svg-icons/arrow-import-filled.svg +5 -0
- package/svg-icons/arrow-import.svg +5 -0
- package/svg-icons/arrow-left-filled.svg +5 -0
- package/svg-icons/arrow-left.svg +5 -0
- package/svg-icons/arrow-repeat-all-filled.svg +5 -0
- package/svg-icons/arrow-repeat-all.svg +5 -0
- package/svg-icons/arrow-reset-filled.svg +5 -0
- package/svg-icons/arrow-reset.svg +5 -0
- package/svg-icons/arrow-right-filled.svg +5 -0
- package/svg-icons/arrow-right.svg +5 -0
- package/svg-icons/arrow-sort-filled.svg +3 -0
- package/svg-icons/arrow-sort.svg +3 -0
- package/svg-icons/arrow-sync-filled.svg +3 -0
- package/svg-icons/arrow-sync.svg +3 -0
- package/svg-icons/arrow-up-filled.svg +5 -0
- package/svg-icons/arrow-up-left-filled.svg +5 -0
- package/svg-icons/arrow-up-left.svg +5 -0
- package/svg-icons/arrow-up-right-filled.svg +5 -0
- package/svg-icons/arrow-up-right.svg +5 -0
- package/svg-icons/arrow-up.svg +5 -0
- package/svg-icons/attach-filled.svg +5 -0
- package/svg-icons/attach.svg +5 -0
- package/svg-icons/beach-filled.svg +3 -0
- package/svg-icons/beach.svg +3 -0
- package/svg-icons/book-filled.svg +5 -0
- package/svg-icons/book.svg +5 -0
- package/svg-icons/bookmark-filled.svg +5 -0
- package/svg-icons/bookmark.svg +5 -0
- package/svg-icons/briefcase-filled.svg +5 -0
- package/svg-icons/briefcase.svg +5 -0
- package/svg-icons/building-bank-filled.svg +3 -0
- package/svg-icons/building-bank.svg +3 -0
- package/svg-icons/building-filled.svg +5 -0
- package/svg-icons/building.svg +14 -0
- package/svg-icons/bullet-list-add-filled.svg +5 -0
- package/svg-icons/bullet-list-add.svg +5 -0
- package/svg-icons/calculator-filled.svg +5 -0
- package/svg-icons/calculator.svg +5 -0
- package/svg-icons/calendar-clock-filled.svg +3 -0
- package/svg-icons/calendar-clock.svg +3 -0
- package/svg-icons/calendar-day-filled.svg +5 -0
- package/svg-icons/calendar-day.svg +5 -0
- package/svg-icons/calendar-left-filled.svg +3 -0
- package/svg-icons/calendar-left.svg +3 -0
- package/svg-icons/calendar-right-filled.svg +3 -0
- package/svg-icons/calendar-right.svg +3 -0
- package/svg-icons/call-filled.svg +5 -0
- package/svg-icons/call.svg +5 -0
- package/svg-icons/card-filled.svg +3 -0
- package/svg-icons/card.svg +3 -0
- package/svg-icons/caret-down-filled.svg +3 -0
- package/svg-icons/caret-down-right-filled.svg +3 -0
- package/svg-icons/caret-down-right.svg +3 -0
- package/svg-icons/caret-down.svg +3 -0
- package/svg-icons/caret-left-filled.svg +3 -0
- package/svg-icons/caret-left.svg +3 -0
- package/svg-icons/caret-right-filled.svg +3 -0
- package/svg-icons/caret-right.svg +3 -0
- package/svg-icons/caret-up-filled.svg +3 -0
- package/svg-icons/caret-up.svg +3 -0
- package/svg-icons/chat-filled.svg +3 -0
- package/svg-icons/chat-multiple-filled.svg +3 -0
- package/svg-icons/chat-multiple.svg +3 -0
- package/svg-icons/chat.svg +3 -0
- package/svg-icons/checkbox-arrow-right-filled.svg +5 -0
- package/svg-icons/checkbox-arrow-right.svg +5 -0
- package/svg-icons/checkmark-circle-filled.svg +3 -0
- package/svg-icons/checkmark-circle.svg +3 -0
- package/svg-icons/checkmark-filled.svg +3 -0
- package/svg-icons/checkmark.svg +3 -0
- package/svg-icons/chevron-down.svg +3 -0
- package/svg-icons/chevron-left.svg +3 -0
- package/svg-icons/chevron-right.svg +3 -0
- package/svg-icons/chevron-up-down-filled.svg +5 -0
- package/svg-icons/chevron-up-down.svg +5 -0
- package/svg-icons/chevron-up.svg +3 -0
- package/svg-icons/clock-filled.svg +5 -0
- package/svg-icons/clock.svg +5 -0
- package/svg-icons/comment-filled.svg +5 -0
- package/svg-icons/comment.svg +5 -0
- package/svg-icons/contract-card-filled.svg +3 -0
- package/svg-icons/contract-card.svg +3 -0
- package/svg-icons/copy.svg +3 -0
- package/svg-icons/cube-tree-filled.svg +5 -0
- package/svg-icons/cube-tree.svg +3 -0
- package/svg-icons/database-filled.svg +5 -0
- package/svg-icons/database.svg +5 -0
- package/svg-icons/delete-filled.svg +3 -0
- package/svg-icons/delete.svg +3 -0
- package/svg-icons/device-meeting-room-filled.svg +3 -0
- package/svg-icons/device-meeting-room.svg +3 -0
- package/svg-icons/dismiss-circle-filled.svg +5 -0
- package/svg-icons/dismiss-circle.svg +5 -0
- package/svg-icons/dismiss-filled.svg +3 -0
- package/svg-icons/dismiss.svg +3 -0
- package/svg-icons/document-bullet-list-filled.svg +5 -0
- package/svg-icons/document-bullet-list.svg +5 -0
- package/svg-icons/document-edit-filled.svg +3 -0
- package/svg-icons/document-edit.svg +3 -0
- package/svg-icons/document-filled.svg +3 -0
- package/svg-icons/document.svg +3 -0
- package/svg-icons/edit-filled.svg +3 -0
- package/svg-icons/edit.svg +4 -0
- package/svg-icons/error-circle-filled.svg +3 -0
- package/svg-icons/error-circle.svg +3 -0
- package/svg-icons/eur-filled.svg +3 -0
- package/svg-icons/eur.svg +3 -0
- package/svg-icons/expand-up-left-filled.svg +5 -0
- package/svg-icons/expand-up-left.svg +5 -0
- package/svg-icons/expand-up-right-filled.svg +5 -0
- package/svg-icons/expand-up-right.svg +5 -0
- package/svg-icons/eye-off-filled.svg +5 -0
- package/svg-icons/eye-off.svg +5 -0
- package/svg-icons/eye-on-filled.svg +5 -0
- package/svg-icons/eye-on.svg +5 -0
- package/svg-icons/facebook.svg +10 -0
- package/svg-icons/filter-filled.svg +3 -0
- package/svg-icons/filter.svg +3 -0
- package/svg-icons/flag-filled.svg +5 -0
- package/svg-icons/flag.svg +5 -0
- package/svg-icons/folder-link-filled.svg +3 -0
- package/svg-icons/folder-link.svg +3 -0
- package/svg-icons/gb.svg +15 -0
- package/svg-icons/globe-filled.svg +3 -0
- package/svg-icons/globe.svg +3 -0
- package/svg-icons/google.svg +10 -0
- package/svg-icons/hand-open-heart-filled.svg +5 -0
- package/svg-icons/hand-open-heart.svg +5 -0
- package/svg-icons/heart-filled.svg +5 -0
- package/svg-icons/heart.svg +5 -0
- package/svg-icons/history-filled.svg +5 -0
- package/svg-icons/history.svg +5 -0
- package/svg-icons/home-filled.svg +5 -0
- package/svg-icons/home.svg +5 -0
- package/svg-icons/image-filled.svg +5 -0
- package/svg-icons/image.svg +5 -0
- package/svg-icons/info-filled.svg +3 -0
- package/svg-icons/info.svg +3 -0
- package/svg-icons/instagram.svg +7 -0
- package/svg-icons/key-reset-filled.svg +5 -0
- package/svg-icons/key-reset.svg +5 -0
- package/svg-icons/link-filled.svg +5 -0
- package/svg-icons/link.svg +5 -0
- package/svg-icons/linkedin.svg +5 -0
- package/svg-icons/list-filled.svg +5 -0
- package/svg-icons/list.svg +3 -0
- package/svg-icons/location-filled.svg +5 -0
- package/svg-icons/location.svg +5 -0
- package/svg-icons/lock-closed-filled.svg +5 -0
- package/svg-icons/lock-closed.svg +5 -0
- package/svg-icons/lock-open-filled.svg +5 -0
- package/svg-icons/lock-open.svg +5 -0
- package/svg-icons/mail-add-filled.svg +5 -0
- package/svg-icons/mail-add.svg +5 -0
- package/svg-icons/mail-arrow-forward-filled.svg +5 -0
- package/svg-icons/mail-arrow-forward.svg +5 -0
- package/svg-icons/mail-filled.svg +5 -0
- package/svg-icons/mail-link-filled.svg +5 -0
- package/svg-icons/mail-link.svg +5 -0
- package/svg-icons/mail.svg +5 -0
- package/svg-icons/medium.svg +5 -0
- package/svg-icons/more-filled.svg +5 -0
- package/svg-icons/more-vertical-filled.svg +5 -0
- package/svg-icons/more-vertical.svg +5 -0
- package/svg-icons/more.svg +5 -0
- package/svg-icons/navigation-filled.svg +5 -0
- package/svg-icons/navigation.svg +5 -0
- package/svg-icons/notebook-add-filled.svg +11 -0
- package/svg-icons/notebook-add.svg +12 -0
- package/svg-icons/notebook-filled.svg +5 -0
- package/svg-icons/notebook.svg +5 -0
- package/svg-icons/only-employee.svg +3 -0
- package/svg-icons/open-filled.svg +5 -0
- package/svg-icons/open.svg +5 -0
- package/svg-icons/patient-filled.svg +3 -0
- package/svg-icons/patient.svg +3 -0
- package/svg-icons/people-add-filled.svg +5 -0
- package/svg-icons/people-add.svg +5 -0
- package/svg-icons/people-filled.svg +5 -0
- package/svg-icons/people.svg +3 -0
- package/svg-icons/percent.svg +5 -0
- package/svg-icons/person-account-filled.svg +3 -0
- package/svg-icons/person-account.svg +3 -0
- package/svg-icons/person-add-filled.svg +5 -0
- package/svg-icons/person-add.svg +5 -0
- package/svg-icons/person-filled.svg +5 -0
- package/svg-icons/person-star-filled.svg +5 -0
- package/svg-icons/person-star.svg +5 -0
- package/svg-icons/person-subtract-filled.svg +5 -0
- package/svg-icons/person-subtract.svg +5 -0
- package/svg-icons/person.svg +5 -0
- package/svg-icons/phone-filled.svg +5 -0
- package/svg-icons/phone.svg +5 -0
- package/svg-icons/pos-filled.svg +5 -0
- package/svg-icons/pos.svg +5 -0
- package/svg-icons/prohibited-filled.svg +5 -0
- package/svg-icons/prohibited.svg +5 -0
- package/svg-icons/project-product.svg +3 -0
- package/svg-icons/question-filled.svg +5 -0
- package/svg-icons/question.svg +5 -0
- package/svg-icons/redo-filled.svg +5 -0
- package/svg-icons/redo.svg +5 -0
- package/svg-icons/ru.svg +10 -0
- package/svg-icons/rub-filled.svg +3 -0
- package/svg-icons/rub.svg +3 -0
- package/svg-icons/save-filled.svg +5 -0
- package/svg-icons/save.svg +5 -0
- package/svg-icons/savings-filled.svg +5 -0
- package/svg-icons/savings.svg +5 -0
- package/svg-icons/search-filled.svg +5 -0
- package/svg-icons/search.svg +5 -0
- package/svg-icons/select-all-off-filled.svg +5 -0
- package/svg-icons/select-all-off.svg +5 -0
- package/svg-icons/select-all-on-filled.svg +5 -0
- package/svg-icons/select-all-on.svg +5 -0
- package/svg-icons/send-filled.svg +5 -0
- package/svg-icons/send.svg +5 -0
- package/svg-icons/settings-filled.svg +5 -0
- package/svg-icons/settings.svg +3 -0
- package/svg-icons/share-android-filled.svg +5 -0
- package/svg-icons/share-android.svg +5 -0
- package/svg-icons/share-filled.svg +5 -0
- package/svg-icons/share.svg +5 -0
- package/svg-icons/sign-out-filled.svg +5 -0
- package/svg-icons/sign-out.svg +5 -0
- package/svg-icons/spinner-filled.svg +5 -0
- package/svg-icons/spinner.svg +5 -0
- package/svg-icons/status-filled.svg +5 -0
- package/svg-icons/status.svg +5 -0
- package/svg-icons/subtract-circle-filled.svg +5 -0
- package/svg-icons/subtract-circle.svg +5 -0
- package/svg-icons/subtract-filled.svg +5 -0
- package/svg-icons/subtract.svg +5 -0
- package/svg-icons/table-cell-edit-filled.svg +10 -0
- package/svg-icons/table-cell-edit.svg +8 -0
- package/svg-icons/telegram.svg +10 -0
- package/svg-icons/timer-filled.svg +5 -0
- package/svg-icons/timer.svg +5 -0
- package/svg-icons/twitter.svg +5 -0
- package/svg-icons/undo-filled.svg +5 -0
- package/svg-icons/undo.svg +5 -0
- package/svg-icons/units-employee.svg +3 -0
- package/svg-icons/usd-filled.svg +3 -0
- package/svg-icons/usd.svg +3 -0
- package/svg-icons/video-filled.svg +3 -0
- package/svg-icons/video.svg +3 -0
- package/svg-icons/wallet-filled.svg +5 -0
- package/svg-icons/wallet.svg +5 -0
- package/svg-icons/warning-filled.svg +3 -0
- package/svg-icons/warning.svg +3 -0
- package/svg-icons/youtube.svg +5 -0
- package/tsconfig.json +33 -0
|
@@ -0,0 +1,606 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:meta";
|
|
3
|
+
@use "mixin";
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
font-family: var(--ds-font-family);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
//***** font sizes *****//
|
|
10
|
+
|
|
11
|
+
.fs-10 { @include mixin.font('--font-size-10'); }
|
|
12
|
+
.fs-12 { @include mixin.font('--font-size-12'); }
|
|
13
|
+
.fs-14 { @include mixin.font('--font-size-14'); }
|
|
14
|
+
.fs-16 { @include mixin.font('--font-size-16'); }
|
|
15
|
+
.fs-20 { @include mixin.font('--font-size-20'); }
|
|
16
|
+
.fs-24 { @include mixin.font('--font-size-24'); }
|
|
17
|
+
.fs-32 { @include mixin.font('--font-size-32'); }
|
|
18
|
+
.fs-36 { @include mixin.font('--font-size-36'); }
|
|
19
|
+
.fs-40 { @include mixin.font('--font-size-40'); }
|
|
20
|
+
.fs-48 { @include mixin.font('--font-size-48'); }
|
|
21
|
+
.fs-64 { @include mixin.font('--font-size-64'); }
|
|
22
|
+
|
|
23
|
+
//***** font weight *******//
|
|
24
|
+
|
|
25
|
+
.fw-400 { @include mixin.font-weight('--font-weight-400'); }
|
|
26
|
+
.fw-500 { @include mixin.font-weight('--font-weight-500'); }
|
|
27
|
+
.fw-600 { @include mixin.font-weight('--font-weight-600'); }
|
|
28
|
+
.fw-700 { @include mixin.font-weight('--font-weight-700'); }
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
//***** margin and padding *****//
|
|
32
|
+
|
|
33
|
+
$space-values: (
|
|
34
|
+
0,
|
|
35
|
+
2,
|
|
36
|
+
4,
|
|
37
|
+
6,
|
|
38
|
+
8,
|
|
39
|
+
12,
|
|
40
|
+
16,
|
|
41
|
+
20,
|
|
42
|
+
24,
|
|
43
|
+
32,
|
|
44
|
+
40,
|
|
45
|
+
48,
|
|
46
|
+
56,
|
|
47
|
+
64,
|
|
48
|
+
80,
|
|
49
|
+
160,
|
|
50
|
+
240,
|
|
51
|
+
auto
|
|
52
|
+
)!default;
|
|
53
|
+
|
|
54
|
+
//shorthands
|
|
55
|
+
$space-prefixes: (
|
|
56
|
+
m : margin,
|
|
57
|
+
mt : margin-top,
|
|
58
|
+
mr : margin-right,
|
|
59
|
+
mb : margin-bottom,
|
|
60
|
+
ml : margin-left,
|
|
61
|
+
|
|
62
|
+
p : padding,
|
|
63
|
+
pt : padding-top,
|
|
64
|
+
pr : padding-right,
|
|
65
|
+
pb : padding-bottom,
|
|
66
|
+
pl : padding-left
|
|
67
|
+
) !default;
|
|
68
|
+
|
|
69
|
+
@mixin make-spaces() {
|
|
70
|
+
@each $attr-short, $attr-long in $space-prefixes {
|
|
71
|
+
@each $value in $space-values {
|
|
72
|
+
.#{$attr-short}-#{$value} {
|
|
73
|
+
@if $value == 'auto' { /*add the @if loop*/
|
|
74
|
+
#{$attr-long}: #{$value};
|
|
75
|
+
} @else {
|
|
76
|
+
#{$attr-long}: #{$value}#{'px'};
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
@include make-spaces();
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
//***** colors *******//
|
|
87
|
+
|
|
88
|
+
.text-color {
|
|
89
|
+
&.brand {
|
|
90
|
+
@include mixin.color(brand, 'base');
|
|
91
|
+
&.clr-900 { @include mixin.color( brand, '--color-900' ) }
|
|
92
|
+
&.clr-800 { @include mixin.color( brand, '--color-800' ) }
|
|
93
|
+
&.clr-700 { @include mixin.color( brand, '--color-700' ) }
|
|
94
|
+
&.clr-600 { @include mixin.color( brand, '--color-600' ) }
|
|
95
|
+
&.clr-500 { @include mixin.color( brand, '--color-500' ) }
|
|
96
|
+
&.clr-400 { @include mixin.color( brand, '--color-400' ) }
|
|
97
|
+
&.clr-300 { @include mixin.color( brand, '--color-300' ) }
|
|
98
|
+
&.clr-200 { @include mixin.color( brand, '--color-200' ) }
|
|
99
|
+
&.clr-100 { @include mixin.color( brand, '--color-100' ) }
|
|
100
|
+
&.clr-50 { @include mixin.color( brand, '--color-50' ) }
|
|
101
|
+
&.clr-40 { @include mixin.color( brand, '--color-40' ) }
|
|
102
|
+
&.clr-30 { @include mixin.color( brand, '--color-30' ) }
|
|
103
|
+
&.clr-20 { @include mixin.color( brand, '--color-20' ) }
|
|
104
|
+
}
|
|
105
|
+
&.green {
|
|
106
|
+
@include mixin.color(green, 'base');
|
|
107
|
+
&.clr-900 { @include mixin.color( green, '--color-900' ) }
|
|
108
|
+
&.clr-800 { @include mixin.color( green, '--color-800' ) }
|
|
109
|
+
&.clr-700 { @include mixin.color( green, '--color-700' ) }
|
|
110
|
+
&.clr-600 { @include mixin.color( green, '--color-600' ) }
|
|
111
|
+
&.clr-500 { @include mixin.color( green, '--color-500' ) }
|
|
112
|
+
&.clr-400 { @include mixin.color( green, '--color-400' ) }
|
|
113
|
+
&.clr-300 { @include mixin.color( green, '--color-300' ) }
|
|
114
|
+
&.clr-200 { @include mixin.color( green, '--color-200' ) }
|
|
115
|
+
&.clr-100 { @include mixin.color( green, '--color-100' ) }
|
|
116
|
+
&.clr-50 { @include mixin.color( green, '--color-50' ) }
|
|
117
|
+
}
|
|
118
|
+
&.blue {
|
|
119
|
+
@include mixin.color(blue, 'base');
|
|
120
|
+
&.clr-900 { @include mixin.color( blue, '--color-900' ) }
|
|
121
|
+
&.clr-800 { @include mixin.color( blue, '--color-800' ) }
|
|
122
|
+
&.clr-700 { @include mixin.color( blue, '--color-700' ) }
|
|
123
|
+
&.clr-600 { @include mixin.color( blue, '--color-600' ) }
|
|
124
|
+
&.clr-500 { @include mixin.color( blue, '--color-500' ) }
|
|
125
|
+
&.clr-400 { @include mixin.color( blue, '--color-400' ) }
|
|
126
|
+
&.clr-300 { @include mixin.color( blue, '--color-300' ) }
|
|
127
|
+
&.clr-200 { @include mixin.color( blue, '--color-200' ) }
|
|
128
|
+
&.clr-100 { @include mixin.color( blue, '--color-100' ) }
|
|
129
|
+
&.clr-50 { @include mixin.color( blue, '--color-50' ) }
|
|
130
|
+
}
|
|
131
|
+
&.purple {
|
|
132
|
+
@include mixin.color(purple, 'base');
|
|
133
|
+
&.clr-900 { @include mixin.color( purple, '--color-900' ) }
|
|
134
|
+
&.clr-800 { @include mixin.color( purple, '--color-800' ) }
|
|
135
|
+
&.clr-700 { @include mixin.color( purple, '--color-700' ) }
|
|
136
|
+
&.clr-600 { @include mixin.color( purple, '--color-600' ) }
|
|
137
|
+
&.clr-500 { @include mixin.color( purple, '--color-500' ) }
|
|
138
|
+
&.clr-400 { @include mixin.color( purple, '--color-400' ) }
|
|
139
|
+
&.clr-300 { @include mixin.color( purple, '--color-300' ) }
|
|
140
|
+
&.clr-200 { @include mixin.color( purple, '--color-200' ) }
|
|
141
|
+
&.clr-100 { @include mixin.color( purple, '--color-100' ) }
|
|
142
|
+
&.clr-50 { @include mixin.color( purple, '--color-50' ) }
|
|
143
|
+
}
|
|
144
|
+
&.pink {
|
|
145
|
+
@include mixin.color(pink, 'base');
|
|
146
|
+
&.clr-900 { @include mixin.color( pink, '--color-900' ) }
|
|
147
|
+
&.clr-800 { @include mixin.color( pink, '--color-800' ) }
|
|
148
|
+
&.clr-700 { @include mixin.color( pink, '--color-700' ) }
|
|
149
|
+
&.clr-600 { @include mixin.color( pink, '--color-600' ) }
|
|
150
|
+
&.clr-500 { @include mixin.color( pink, '--color-500' ) }
|
|
151
|
+
&.clr-400 { @include mixin.color( pink, '--color-400' ) }
|
|
152
|
+
&.clr-300 { @include mixin.color( pink, '--color-300' ) }
|
|
153
|
+
&.clr-200 { @include mixin.color( pink, '--color-200' ) }
|
|
154
|
+
&.clr-100 { @include mixin.color( pink, '--color-100' ) }
|
|
155
|
+
&.clr-50 { @include mixin.color( pink, '--color-50' ) }
|
|
156
|
+
}
|
|
157
|
+
&.red {
|
|
158
|
+
@include mixin.color(red, 'base');
|
|
159
|
+
&.clr-900 { @include mixin.color( red, '--color-900' ) }
|
|
160
|
+
&.clr-800 { @include mixin.color( red, '--color-800' ) }
|
|
161
|
+
&.clr-700 { @include mixin.color( red, '--color-700' ) }
|
|
162
|
+
&.clr-600 { @include mixin.color( red, '--color-600' ) }
|
|
163
|
+
&.clr-500 { @include mixin.color( red, '--color-500' ) }
|
|
164
|
+
&.clr-400 { @include mixin.color( red, '--color-400' ) }
|
|
165
|
+
&.clr-300 { @include mixin.color( red, '--color-300' ) }
|
|
166
|
+
&.clr-200 { @include mixin.color( red, '--color-200' ) }
|
|
167
|
+
&.clr-100 { @include mixin.color( red, '--color-100' ) }
|
|
168
|
+
&.clr-50 { @include mixin.color( red, '--color-50' ) }
|
|
169
|
+
}
|
|
170
|
+
&.yellow {
|
|
171
|
+
@include mixin.color(yellow, 'base');
|
|
172
|
+
&.clr-900 { @include mixin.color( yellow, '--color-900' ) }
|
|
173
|
+
&.clr-800 { @include mixin.color( yellow, '--color-800' ) }
|
|
174
|
+
&.clr-700 { @include mixin.color( yellow, '--color-700' ) }
|
|
175
|
+
&.clr-600 { @include mixin.color( yellow, '--color-600' ) }
|
|
176
|
+
&.clr-500 { @include mixin.color( yellow, '--color-500' ) }
|
|
177
|
+
&.clr-400 { @include mixin.color( yellow, '--color-400' ) }
|
|
178
|
+
&.clr-300 { @include mixin.color( yellow, '--color-300' ) }
|
|
179
|
+
&.clr-200 { @include mixin.color( yellow, '--color-200' ) }
|
|
180
|
+
&.clr-100 { @include mixin.color( yellow, '--color-100' ) }
|
|
181
|
+
&.clr-50 { @include mixin.color( yellow, '--color-50' ) }
|
|
182
|
+
}
|
|
183
|
+
&.grey {
|
|
184
|
+
@include mixin.color(grey, 'base');
|
|
185
|
+
&.clr-900 { @include mixin.color( grey, '--color-900' ) }
|
|
186
|
+
&.clr-800 { @include mixin.color( grey, '--color-800' ) }
|
|
187
|
+
&.clr-700 { @include mixin.color( grey, '--color-700' ) }
|
|
188
|
+
&.clr-600 { @include mixin.color( grey, '--color-600' ) }
|
|
189
|
+
&.clr-500 { @include mixin.color( grey, '--color-500' ) }
|
|
190
|
+
&.clr-400 { @include mixin.color( grey, '--color-400' ) }
|
|
191
|
+
&.clr-300 { @include mixin.color( grey, '--color-300' ) }
|
|
192
|
+
&.clr-200 { @include mixin.color( grey, '--color-200' ) }
|
|
193
|
+
&.clr-100 { @include mixin.color( grey, '--color-100' ) }
|
|
194
|
+
&.clr-50 { @include mixin.color( grey, '--color-50' ) }
|
|
195
|
+
&.clr-40 { @include mixin.color( grey, '--color-40' ) }
|
|
196
|
+
&.clr-30 { @include mixin.color( grey, '--color-30' ) }
|
|
197
|
+
&.clr-20 { @include mixin.color( grey, '--color-20' ) }
|
|
198
|
+
}
|
|
199
|
+
&.white {
|
|
200
|
+
@include mixin.color(white, 'base');
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
//***** background color ******//
|
|
206
|
+
|
|
207
|
+
.bg-color {
|
|
208
|
+
&.brand {
|
|
209
|
+
@include mixin.background-color(brand, 'base');
|
|
210
|
+
&.clr-900 { @include mixin.background-color( brand, '--color-900' ) }
|
|
211
|
+
&.clr-800 { @include mixin.background-color( brand, '--color-800' ) }
|
|
212
|
+
&.clr-700 { @include mixin.background-color( brand, '--color-700' ) }
|
|
213
|
+
&.clr-600 { @include mixin.background-color( brand, '--color-600' ) }
|
|
214
|
+
&.clr-500 { @include mixin.background-color( brand, '--color-500' ) }
|
|
215
|
+
&.clr-400 { @include mixin.background-color( brand, '--color-400' ) }
|
|
216
|
+
&.clr-300 { @include mixin.background-color( brand, '--color-300' ) }
|
|
217
|
+
&.clr-200 { @include mixin.background-color( brand, '--color-200' ) }
|
|
218
|
+
&.clr-100 { @include mixin.background-color( brand, '--color-100' ) }
|
|
219
|
+
&.clr-50 { @include mixin.background-color( brand, '--color-50' ) }
|
|
220
|
+
&.clr-40 { @include mixin.background-color( brand, '--color-40' ) }
|
|
221
|
+
&.clr-30 { @include mixin.background-color( brand, '--color-30' ) }
|
|
222
|
+
&.clr-20 { @include mixin.background-color( brand, '--color-20' ) }
|
|
223
|
+
}
|
|
224
|
+
&.green {
|
|
225
|
+
@include mixin.background-color(green, 'base');
|
|
226
|
+
&.clr-900 { @include mixin.background-color( green, '--color-900' ) }
|
|
227
|
+
&.clr-800 { @include mixin.background-color( green, '--color-800' ) }
|
|
228
|
+
&.clr-700 { @include mixin.background-color( green, '--color-700' ) }
|
|
229
|
+
&.clr-600 { @include mixin.background-color( green, '--color-600' ) }
|
|
230
|
+
&.clr-500 { @include mixin.background-color( green, '--color-500' ) }
|
|
231
|
+
&.clr-400 { @include mixin.background-color( green, '--color-400' ) }
|
|
232
|
+
&.clr-300 { @include mixin.background-color( green, '--color-300' ) }
|
|
233
|
+
&.clr-200 { @include mixin.background-color( green, '--color-200' ) }
|
|
234
|
+
&.clr-100 { @include mixin.background-color( green, '--color-100' ) }
|
|
235
|
+
&.clr-50 { @include mixin.background-color( green, '--color-50' ) }
|
|
236
|
+
}
|
|
237
|
+
&.blue {
|
|
238
|
+
@include mixin.background-color(blue, 'base');
|
|
239
|
+
&.clr-900 { @include mixin.background-color( blue, '--color-900' ) }
|
|
240
|
+
&.clr-800 { @include mixin.background-color( blue, '--color-800' ) }
|
|
241
|
+
&.clr-700 { @include mixin.background-color( blue, '--color-700' ) }
|
|
242
|
+
&.clr-600 { @include mixin.background-color( blue, '--color-600' ) }
|
|
243
|
+
&.clr-500 { @include mixin.background-color( blue, '--color-500' ) }
|
|
244
|
+
&.clr-400 { @include mixin.background-color( blue, '--color-400' ) }
|
|
245
|
+
&.clr-300 { @include mixin.background-color( blue, '--color-300' ) }
|
|
246
|
+
&.clr-200 { @include mixin.background-color( blue, '--color-200' ) }
|
|
247
|
+
&.clr-100 { @include mixin.background-color( blue, '--color-100' ) }
|
|
248
|
+
&.clr-50 { @include mixin.background-color( blue, '--color-50' ) }
|
|
249
|
+
}
|
|
250
|
+
&.purple {
|
|
251
|
+
@include mixin.background-color(purple, 'base');
|
|
252
|
+
&.clr-900 { @include mixin.background-color( purple, '--color-900' ) }
|
|
253
|
+
&.clr-800 { @include mixin.background-color( purple, '--color-800' ) }
|
|
254
|
+
&.clr-700 { @include mixin.background-color( purple, '--color-700' ) }
|
|
255
|
+
&.clr-600 { @include mixin.background-color( purple, '--color-600' ) }
|
|
256
|
+
&.clr-500 { @include mixin.background-color( purple, '--color-500' ) }
|
|
257
|
+
&.clr-400 { @include mixin.background-color( purple, '--color-400' ) }
|
|
258
|
+
&.clr-300 { @include mixin.background-color( purple, '--color-300' ) }
|
|
259
|
+
&.clr-200 { @include mixin.background-color( purple, '--color-200' ) }
|
|
260
|
+
&.clr-100 { @include mixin.background-color( purple, '--color-100' ) }
|
|
261
|
+
&.clr-50 { @include mixin.background-color( purple, '--color-50' ) }
|
|
262
|
+
}
|
|
263
|
+
&.pink {
|
|
264
|
+
@include mixin.background-color(pink, 'base');
|
|
265
|
+
&.clr-900 { @include mixin.background-color( pink, '--color-900' ) }
|
|
266
|
+
&.clr-800 { @include mixin.background-color( pink, '--color-800' ) }
|
|
267
|
+
&.clr-700 { @include mixin.background-color( pink, '--color-700' ) }
|
|
268
|
+
&.clr-600 { @include mixin.background-color( pink, '--color-600' ) }
|
|
269
|
+
&.clr-500 { @include mixin.background-color( pink, '--color-500' ) }
|
|
270
|
+
&.clr-400 { @include mixin.background-color( pink, '--color-400' ) }
|
|
271
|
+
&.clr-300 { @include mixin.background-color( pink, '--color-300' ) }
|
|
272
|
+
&.clr-200 { @include mixin.background-color( pink, '--color-200' ) }
|
|
273
|
+
&.clr-100 { @include mixin.background-color( pink, '--color-100' ) }
|
|
274
|
+
&.clr-50 { @include mixin.background-color( pink, '--color-50' ) }
|
|
275
|
+
}
|
|
276
|
+
&.red {
|
|
277
|
+
@include mixin.background-color(red, 'base');
|
|
278
|
+
&.clr-900 { @include mixin.background-color( red, '--color-900' ) }
|
|
279
|
+
&.clr-800 { @include mixin.background-color( red, '--color-800' ) }
|
|
280
|
+
&.clr-700 { @include mixin.background-color( red, '--color-700' ) }
|
|
281
|
+
&.clr-600 { @include mixin.background-color( red, '--color-600' ) }
|
|
282
|
+
&.clr-500 { @include mixin.background-color( red, '--color-500' ) }
|
|
283
|
+
&.clr-400 { @include mixin.background-color( red, '--color-400' ) }
|
|
284
|
+
&.clr-300 { @include mixin.background-color( red, '--color-300' ) }
|
|
285
|
+
&.clr-200 { @include mixin.background-color( red, '--color-200' ) }
|
|
286
|
+
&.clr-100 { @include mixin.background-color( red, '--color-100' ) }
|
|
287
|
+
&.clr-50 { @include mixin.background-color( red, '--color-50' ) }
|
|
288
|
+
}
|
|
289
|
+
&.yellow {
|
|
290
|
+
@include mixin.background-color(yellow, 'base');
|
|
291
|
+
&.clr-900 { @include mixin.background-color( yellow, '--color-900' ) }
|
|
292
|
+
&.clr-800 { @include mixin.background-color( yellow, '--color-800' ) }
|
|
293
|
+
&.clr-700 { @include mixin.background-color( yellow, '--color-700' ) }
|
|
294
|
+
&.clr-600 { @include mixin.background-color( yellow, '--color-600' ) }
|
|
295
|
+
&.clr-500 { @include mixin.background-color( yellow, '--color-500' ) }
|
|
296
|
+
&.clr-400 { @include mixin.background-color( yellow, '--color-400' ) }
|
|
297
|
+
&.clr-300 { @include mixin.background-color( yellow, '--color-300' ) }
|
|
298
|
+
&.clr-200 { @include mixin.background-color( yellow, '--color-200' ) }
|
|
299
|
+
&.clr-100 { @include mixin.background-color( yellow, '--color-100' ) }
|
|
300
|
+
&.clr-50 { @include mixin.background-color( yellow, '--color-50' ) }
|
|
301
|
+
}
|
|
302
|
+
&.grey {
|
|
303
|
+
@include mixin.background-color(grey, 'base');
|
|
304
|
+
&.clr-900 { @include mixin.background-color( grey, '--color-900' ) }
|
|
305
|
+
&.clr-800 { @include mixin.background-color( grey, '--color-800' ) }
|
|
306
|
+
&.clr-700 { @include mixin.background-color( grey, '--color-700' ) }
|
|
307
|
+
&.clr-600 { @include mixin.background-color( grey, '--color-600' ) }
|
|
308
|
+
&.clr-500 { @include mixin.background-color( grey, '--color-500' ) }
|
|
309
|
+
&.clr-400 { @include mixin.background-color( grey, '--color-400' ) }
|
|
310
|
+
&.clr-300 { @include mixin.background-color( grey, '--color-300' ) }
|
|
311
|
+
&.clr-200 { @include mixin.background-color( grey, '--color-200' ) }
|
|
312
|
+
&.clr-100 { @include mixin.background-color( grey, '--color-100' ) }
|
|
313
|
+
&.clr-50 { @include mixin.background-color( grey, '--color-50' ) }
|
|
314
|
+
&.clr-40 { @include mixin.background-color( grey, '--color-40' ) }
|
|
315
|
+
&.clr-30 { @include mixin.background-color( grey, '--color-30' ) }
|
|
316
|
+
&.clr-20 { @include mixin.background-color( grey, '--color-20' ) }
|
|
317
|
+
}
|
|
318
|
+
&.white {
|
|
319
|
+
@include mixin.color(white, 'base');
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
//headings
|
|
325
|
+
.heading {
|
|
326
|
+
$heading-type: (
|
|
327
|
+
xlarge: var(--ds-headline-xl),
|
|
328
|
+
large: var(--ds-headline-lg),
|
|
329
|
+
medium: var(--ds-headline-md),
|
|
330
|
+
standard: var(--ds-headline-std),
|
|
331
|
+
small: var(--ds-headline-sm),
|
|
332
|
+
xsmall: var(--ds-headline-xs),
|
|
333
|
+
);
|
|
334
|
+
|
|
335
|
+
font-family: var(--ds-font-family);
|
|
336
|
+
|
|
337
|
+
@each $type, $size in $heading-type {
|
|
338
|
+
&-#{$type} {
|
|
339
|
+
font-size: $size;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
//body text
|
|
345
|
+
|
|
346
|
+
.body {
|
|
347
|
+
$body-type: (
|
|
348
|
+
large: var(--ds-paragraph-lg),
|
|
349
|
+
medium: var(--ds-paragraph-md),
|
|
350
|
+
standard: var(--ds-paragraph-std),
|
|
351
|
+
small: var(--ds-paragraph-sm),
|
|
352
|
+
xsmall: var(--ds-paragraph-xs),
|
|
353
|
+
xxsmall: var(--ds-paragraph-xs),
|
|
354
|
+
);
|
|
355
|
+
|
|
356
|
+
font-family: var(--ds-font-family);
|
|
357
|
+
|
|
358
|
+
@each $type, $size in $body-type {
|
|
359
|
+
&-#{$type} {
|
|
360
|
+
font-size: $size;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
//weight
|
|
366
|
+
|
|
367
|
+
.regular { font-weight: var(--ds-font-weight-default); }
|
|
368
|
+
.semibold { font-weight: var(--ds-font-weight-active); }
|
|
369
|
+
.bold { font-weight: var(--ds-font-weight-heading); }
|
|
370
|
+
.bolder { font-weight: var(--ds-font-weight-strong); }
|
|
371
|
+
|
|
372
|
+
//line height
|
|
373
|
+
|
|
374
|
+
.lh {
|
|
375
|
+
$lineHeight-type: (
|
|
376
|
+
large: var(--ds-line-height-heading),
|
|
377
|
+
medium: var(--ds-line-height-caption),
|
|
378
|
+
small: var(--ds-line-height-tight),
|
|
379
|
+
xsmall: var(--ds-line-height-default),
|
|
380
|
+
);
|
|
381
|
+
|
|
382
|
+
@each $type, $size in $lineHeight-type {
|
|
383
|
+
&-#{$type} {
|
|
384
|
+
line-height: $size;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
//colors
|
|
390
|
+
|
|
391
|
+
.color {
|
|
392
|
+
$color-type: (
|
|
393
|
+
primary: var(--ds-color-text-primary),
|
|
394
|
+
secondary: var(--ds-color-text-secondary),
|
|
395
|
+
tertiary: var(--ds-color-text-tertiary),
|
|
396
|
+
disabled: var(--ds-color-text-disabled),
|
|
397
|
+
selected: var(--ds-color-text-selected),
|
|
398
|
+
inverse: var(--ds-color-text-inverse),
|
|
399
|
+
brand: var(--ds-color-text-brand),
|
|
400
|
+
success: var(--ds-color-text-success),
|
|
401
|
+
information: var(--ds-color-text-info),
|
|
402
|
+
warning: var(--ds-color-text-warning),
|
|
403
|
+
danger: var(--ds-color-text-danger),
|
|
404
|
+
discovery: var(--ds-color-text-discovery),
|
|
405
|
+
);
|
|
406
|
+
|
|
407
|
+
@each $type, $color in $color-type {
|
|
408
|
+
&-#{$type} {
|
|
409
|
+
color: $color;
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
//icons sizes
|
|
416
|
+
|
|
417
|
+
.icon {
|
|
418
|
+
--icon-xxl: var(--ds-size-48);
|
|
419
|
+
--icon-xl: var(--ds-size-32);
|
|
420
|
+
--icon-lg: var(--ds-size-28);
|
|
421
|
+
--icon-md: var(--ds-size-24);
|
|
422
|
+
--icon-sm: var(--ds-size-20);
|
|
423
|
+
--icon-xs: var(--ds-size-16);
|
|
424
|
+
--icon-xxs: var(--ds-size-12);
|
|
425
|
+
|
|
426
|
+
@include mixin.flexbox;
|
|
427
|
+
@include mixin.align-items(center);
|
|
428
|
+
@include mixin.justify-content(center);
|
|
429
|
+
|
|
430
|
+
&--xxsmall {
|
|
431
|
+
font-size: var(--icon-xxs);
|
|
432
|
+
}
|
|
433
|
+
&--xsmall {
|
|
434
|
+
font-size: var(--icon-xs);
|
|
435
|
+
}
|
|
436
|
+
&--small {
|
|
437
|
+
font-size: var(--icon-sm);
|
|
438
|
+
}
|
|
439
|
+
&--medium {
|
|
440
|
+
font-size: var(--icon-md);
|
|
441
|
+
}
|
|
442
|
+
&--large {
|
|
443
|
+
font-size: var(--icon-lg);
|
|
444
|
+
}
|
|
445
|
+
&--xlarge {
|
|
446
|
+
font-size: var(--icon-xl);
|
|
447
|
+
}
|
|
448
|
+
&--xxlarge {
|
|
449
|
+
font-size: var(--icon-xxl);
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
//scroll
|
|
454
|
+
|
|
455
|
+
.scrollbar {
|
|
456
|
+
overflow: hidden;
|
|
457
|
+
|
|
458
|
+
/* Works on Firefox */
|
|
459
|
+
@-moz-document url-prefix() {
|
|
460
|
+
scrollbar-width: thin;
|
|
461
|
+
scrollbar-color: var(--grey-50) transparent;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/* Works on Chrome, Edge, and Safari */
|
|
465
|
+
|
|
466
|
+
&::-webkit-scrollbar-track {
|
|
467
|
+
background: transparent;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
&::-webkit-scrollbar-thumb {
|
|
471
|
+
background-color: var(--grey-50);
|
|
472
|
+
border-radius: var(--border-radius-100);
|
|
473
|
+
|
|
474
|
+
&:hover {
|
|
475
|
+
background-color: var(--grey-100);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
&--vertical {
|
|
480
|
+
overflow-y: auto;
|
|
481
|
+
|
|
482
|
+
/* Works on Chrome, Edge, and Safari */
|
|
483
|
+
&::-webkit-scrollbar-track {
|
|
484
|
+
margin: var(--ds-space-8) 0;
|
|
485
|
+
}
|
|
486
|
+
&::-webkit-scrollbar {
|
|
487
|
+
width: var(--ds-size-4);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
&--horizontal {
|
|
492
|
+
overflow-x: auto;
|
|
493
|
+
|
|
494
|
+
/* Works on Chrome, Edge, and Safari */
|
|
495
|
+
&::-webkit-scrollbar-track {
|
|
496
|
+
margin: 0 var(--ds-space-8);
|
|
497
|
+
}
|
|
498
|
+
&::-webkit-scrollbar {
|
|
499
|
+
height: var(--ds-size-4);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
//flex
|
|
505
|
+
|
|
506
|
+
.flexbox {
|
|
507
|
+
@include mixin.flexbox;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.flex-direction {
|
|
511
|
+
&--column {
|
|
512
|
+
@include mixin.flex-direction(column);
|
|
513
|
+
}
|
|
514
|
+
&--column-reverse {
|
|
515
|
+
@include mixin.flex-direction(column-reverse);
|
|
516
|
+
}
|
|
517
|
+
&--row {
|
|
518
|
+
@include mixin.flex-direction(row);
|
|
519
|
+
}
|
|
520
|
+
&--row-reverse {
|
|
521
|
+
@include mixin.flex-direction(row-reverse);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.flex-wrap {
|
|
526
|
+
&--wrap {
|
|
527
|
+
@include mixin.flex-wrap(wrap);
|
|
528
|
+
}
|
|
529
|
+
&--nowrap {
|
|
530
|
+
@include mixin.flex-wrap(nowrap);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.align-items {
|
|
535
|
+
&--stretch {
|
|
536
|
+
@include mixin.align-items(stretch);
|
|
537
|
+
}
|
|
538
|
+
&--start {
|
|
539
|
+
@include mixin.align-items(flex-start);
|
|
540
|
+
}
|
|
541
|
+
&--center {
|
|
542
|
+
@include mixin.align-items(center);
|
|
543
|
+
}
|
|
544
|
+
&--end {
|
|
545
|
+
@include mixin.align-items(flex-end);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.align-self {
|
|
550
|
+
&--auto {
|
|
551
|
+
@include mixin.align-items(auto);
|
|
552
|
+
}
|
|
553
|
+
&--start {
|
|
554
|
+
@include mixin.align-items(flex-start);
|
|
555
|
+
}
|
|
556
|
+
&--center {
|
|
557
|
+
@include mixin.align-items(center);
|
|
558
|
+
}
|
|
559
|
+
&--end {
|
|
560
|
+
@include mixin.align-items(flex-end);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.justify-content {
|
|
565
|
+
&--start {
|
|
566
|
+
@include mixin.justify-content(flex-start);
|
|
567
|
+
}
|
|
568
|
+
&--between {
|
|
569
|
+
@include mixin.justify-content(space-between);
|
|
570
|
+
}
|
|
571
|
+
&--around {
|
|
572
|
+
@include mixin.justify-content(space-around);
|
|
573
|
+
}
|
|
574
|
+
&--end {
|
|
575
|
+
@include mixin.justify-content(flex-end);
|
|
576
|
+
}
|
|
577
|
+
&--center {
|
|
578
|
+
@include mixin.justify-content(center);
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
//width
|
|
583
|
+
|
|
584
|
+
.full-width {
|
|
585
|
+
width: 100%;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
//text alignment
|
|
589
|
+
|
|
590
|
+
.text-center {
|
|
591
|
+
text-align: center;
|
|
592
|
+
}
|
|
593
|
+
.text-left {
|
|
594
|
+
text-align: left;
|
|
595
|
+
}
|
|
596
|
+
.text-right {
|
|
597
|
+
text-align: right;
|
|
598
|
+
}
|
|
599
|
+
.text-justify {
|
|
600
|
+
text-align: justify;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
//
|
|
604
|
+
.text-truncate {
|
|
605
|
+
@include mixin.truncate(100%);
|
|
606
|
+
}
|