@cuby-ui/core 0.0.387 → 0.0.388
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 +2 -1
- package/components/tabs/tabs.options.d.ts +2 -2
- package/components/tabs/tabs.provider.d.ts +2 -2
- package/editor/config/custom-elements.d.ts +1 -1
- package/editor/interfaces/editor-service.d.ts +1 -1
- package/editor/providers/editor-provider.options.d.ts +1 -1
- package/editor/providers/editor.provider.d.ts +1 -1
- package/editor/services/editor-base.service.d.ts +2 -2
- package/editor/services/editor-tools.service.d.ts +1 -1
- package/editor/utils/create-tools-data.d.ts +1 -1
- package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +1 -1
- package/esm2022/animations/animations.mjs +77 -121
- package/esm2022/animations/index.mjs +1 -1
- package/esm2022/classes/accessors.mjs +2 -2
- package/esm2022/classes/driver.mjs +2 -2
- package/esm2022/classes/index.mjs +1 -1
- package/esm2022/classes/vehicle.mjs +1 -1
- package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +3 -3
- package/esm2022/components/accordion/accordion.component.mjs +1 -1
- package/esm2022/components/accordion/accordion.directive.mjs +1 -1
- package/esm2022/components/accordion/accordion.module.mjs +6 -22
- package/esm2022/components/accordion/index.mjs +1 -1
- package/esm2022/components/alert/alert.component.mjs +3 -3
- package/esm2022/components/alert/alert.interfaces.mjs +1 -1
- package/esm2022/components/alert/alert.module.mjs +6 -25
- package/esm2022/components/alert/alert.service.mjs +1 -1
- package/esm2022/components/alert/alert.tokens.mjs +1 -1
- package/esm2022/components/alert/alert.types.mjs +1 -1
- package/esm2022/components/alert/alerts.component.mjs +5 -7
- package/esm2022/components/badge/badge.component.mjs +3 -3
- package/esm2022/components/badge/badge.module.mjs +1 -1
- package/esm2022/components/banner/banner.component.mjs +4 -4
- package/esm2022/components/banner/banner.module.mjs +4 -14
- package/esm2022/components/banner/banner.options.mjs +1 -1
- package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +1 -1
- package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
- package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +6 -19
- package/esm2022/components/breadcrumbs/index.mjs +1 -1
- package/esm2022/components/button/button.component.mjs +3 -3
- package/esm2022/components/button/button.module.mjs +4 -9
- package/esm2022/components/button/button.options.mjs +1 -1
- package/esm2022/components/button/index.mjs +1 -1
- package/esm2022/components/button-group/button-group.component.mjs +1 -1
- package/esm2022/components/button-group/button-group.module.mjs +1 -1
- package/esm2022/components/card-wrapper/card-wrapper.component.mjs +1 -1
- package/esm2022/components/checkbox/checkbox.component.mjs +1 -1
- package/esm2022/components/checkbox/checkbox.module.mjs +1 -1
- package/esm2022/components/checkbox/index.mjs +1 -1
- package/esm2022/components/context-menu/context-menu.component.mjs +6 -11
- package/esm2022/components/context-menu/context-menu.module.mjs +4 -9
- package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +3 -3
- package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +3 -3
- package/esm2022/components/dialog/dialog.component.mjs +5 -5
- package/esm2022/components/dialog/dialog.interfaces.mjs +1 -1
- package/esm2022/components/dialog/dialog.module.mjs +6 -31
- package/esm2022/components/dialog/dialog.service.mjs +1 -1
- package/esm2022/components/dialog/dialog.tokens.mjs +1 -1
- package/esm2022/components/dialog/dialogs.component.mjs +6 -8
- package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +3 -3
- package/esm2022/components/dropdown/dropdown.directive.mjs +2 -2
- package/esm2022/components/empty-state/empty-state.component.mjs +1 -1
- package/esm2022/components/form-field/form-field.component.mjs +1 -1
- package/esm2022/components/form-field/form-field.module.mjs +1 -1
- package/esm2022/components/hint/hint.component.mjs +1 -1
- package/esm2022/components/hint/hint.module.mjs +1 -1
- package/esm2022/components/icon-button/icon-button.component.mjs +3 -3
- package/esm2022/components/icon-button/icon-button.module.mjs +4 -9
- package/esm2022/components/icon-button/index.mjs +1 -1
- package/esm2022/components/input-number/input-number.component.mjs +3 -9
- package/esm2022/components/input-number/input-number.module.mjs +5 -19
- package/esm2022/components/input-password/input-password.component.mjs +3 -9
- package/esm2022/components/input-password/input-password.module.mjs +5 -17
- package/esm2022/components/input-text/input-text.component.mjs +3 -9
- package/esm2022/components/input-text/input-text.module.mjs +5 -17
- package/esm2022/components/input-time/index.mjs +1 -1
- package/esm2022/components/input-time/input-time.component.mjs +3 -9
- package/esm2022/components/input-time/input-time.module.mjs +5 -19
- package/esm2022/components/input-time/input-time.options.mjs +1 -1
- package/esm2022/components/label/label.component.mjs +3 -3
- package/esm2022/components/label/label.module.mjs +1 -1
- package/esm2022/components/layout/layout.component.mjs +1 -1
- package/esm2022/components/notification/notification.component.mjs +3 -3
- package/esm2022/components/notification/notification.module.mjs +4 -9
- package/esm2022/components/notification/notification.options.mjs +4 -4
- package/esm2022/components/radio/radio.component.mjs +1 -1
- package/esm2022/components/radio/radio.module.mjs +1 -1
- package/esm2022/components/root/root.component.mjs +4 -5
- package/esm2022/components/root/root.module.mjs +4 -14
- package/esm2022/components/root/root.options.mjs +1 -1
- package/esm2022/components/select/select.component.mjs +12 -13
- package/esm2022/components/select/select.module.mjs +5 -16
- package/esm2022/components/sidebar/index.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +1 -1
- package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +3 -3
- package/esm2022/components/sidebar/sidebar.options.mjs +1 -1
- package/esm2022/components/svg/svg.component.mjs +4 -6
- package/esm2022/components/svg/svg.module.mjs +1 -1
- package/esm2022/components/tab/tab.component.mjs +2 -2
- package/esm2022/components/tabs/services/tabs.service.mjs +1 -1
- package/esm2022/components/tabs/tabs.options.mjs +1 -1
- package/esm2022/components/tabs/tabs.provider.mjs +5 -5
- package/esm2022/components/textarea/textarea.component.mjs +1 -1
- package/esm2022/components/textarea/textarea.module.mjs +1 -1
- package/esm2022/components/toggle/index.mjs +1 -1
- package/esm2022/components/toggle/toggle.component.mjs +1 -1
- package/esm2022/components/toggle/toggle.module.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +1 -1
- package/esm2022/directives/text-field-controller/text-field.controller.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +4 -4
- package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +2 -2
- package/esm2022/directives/tooltip/tooltip-host.directive.mjs +2 -2
- package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +6 -9
- package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +2 -2
- package/esm2022/directives/tooltip/tooltip-options.directive.mjs +6 -6
- package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +5 -5
- package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +3 -3
- package/esm2022/directives/tooltip/tooltip-position.directive.mjs +6 -14
- package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +5 -5
- package/esm2022/directives/tooltip/tooltip.component.mjs +21 -25
- package/esm2022/directives/tooltip/tooltip.directive.mjs +9 -9
- package/esm2022/directives/tooltip/tooltip.mjs +2 -2
- package/esm2022/directives/tooltip/tooltip.providers.mjs +1 -1
- package/esm2022/directives/tooltip/tooltip.service.mjs +2 -2
- package/esm2022/directives/tooltip/tooltips.component.mjs +5 -5
- package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +3 -3
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +3 -3
- package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +1 -1
- package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +1 -1
- package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +3 -3
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +3 -3
- package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +1 -1
- package/esm2022/editor/components/index.mjs +1 -1
- package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +3 -3
- package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +1 -1
- package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +3 -3
- package/esm2022/editor/components/marker-select/marker-select.component.mjs +3 -3
- package/esm2022/editor/config/custom-elements.mjs +2 -2
- package/esm2022/editor/config/editor.provider.mjs +3 -3
- package/esm2022/editor/constants/editor.constants.mjs +2 -2
- package/esm2022/editor/editor.component.mjs +2 -2
- package/esm2022/editor/index.mjs +1 -1
- package/esm2022/editor/interfaces/blocks-request-data.mjs +1 -1
- package/esm2022/editor/interfaces/combined-block-adding-event.mjs +1 -1
- package/esm2022/editor/interfaces/combined-block-data.mjs +1 -1
- package/esm2022/editor/interfaces/combined-part-block-data.mjs +1 -1
- package/esm2022/editor/interfaces/editor-service.mjs +1 -1
- package/esm2022/editor/interfaces/file-response-data.mjs +1 -1
- package/esm2022/editor/interfaces/full-block-data.mjs +1 -1
- package/esm2022/editor/interfaces/index.mjs +1 -1
- package/esm2022/editor/interfaces/main-editor-config.mjs +1 -1
- package/esm2022/editor/interfaces/mutation-actions.mjs +1 -1
- package/esm2022/editor/interfaces/parent.mjs +1 -1
- package/esm2022/editor/interfaces/tune.mjs +1 -1
- package/esm2022/editor/providers/editor-provider.options.mjs +2 -2
- package/esm2022/editor/providers/editor.provider.mjs +2 -2
- package/esm2022/editor/services/editor-base.service.mjs +5 -5
- package/esm2022/editor/services/editor-tools.service.mjs +2 -2
- package/esm2022/editor/services/editor.service.mjs +1 -1
- package/esm2022/editor/services/jtext-api.service.mjs +1 -1
- package/esm2022/editor/tools/attaches.tool.mjs +1 -1
- package/esm2022/editor/tools/combined-text-block.tool.mjs +1 -1
- package/esm2022/editor/tools/custom-marker.tool.mjs +1 -1
- package/esm2022/editor/tools/image.tool.mjs +2 -2
- package/esm2022/editor/tools/link-marker.tool.mjs +1 -1
- package/esm2022/editor/tools/marker.tool.mjs +1 -1
- package/esm2022/editor/tools/selection-base.tool.mjs +1 -1
- package/esm2022/editor/tools/video.tool.mjs +2 -2
- package/esm2022/editor/utils/copy-text-to-clipboard.mjs +1 -1
- package/esm2022/editor/utils/create-tools-data.mjs +2 -2
- package/esm2022/editor/utils/file-uploader.mjs +1 -1
- package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +1 -1
- package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +2 -7
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +3 -3
- package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +1 -1
- package/esm2022/interfaces/context-menu-item.mjs +1 -1
- package/esm2022/interfaces/option.mjs +1 -1
- package/esm2022/services/auth.service.mjs +1 -1
- package/esm2022/services/index.mjs +1 -1
- package/esm2022/services/loader.options.mjs +1 -1
- package/esm2022/services/loader.service.mjs +1 -1
- package/esm2022/services/position.service.mjs +1 -1
- package/esm2022/services/theme.options.mjs +1 -1
- package/esm2022/services/theme.service.mjs +3 -3
- package/esm2022/services/token.service.mjs +3 -2
- package/esm2022/services/visual-viewport.service.mjs +3 -3
- package/esm2022/tokens/animations-speed.mjs +2 -2
- package/esm2022/tokens/index.mjs +1 -1
- package/esm2022/tokens/reduced-motion.mjs +2 -3
- package/esm2022/tokens/viewport.mjs +4 -4
- package/esm2022/types/point.mjs +1 -1
- package/esm2022/types/portal-item.mjs +1 -1
- package/esm2022/utils/default-validators/create-default-validators.options.mjs +1 -1
- package/esm2022/utils/default-validators/index.mjs +1 -1
- package/esm2022/utils/format/remove-spaces.mjs +1 -1
- package/esm2022/utils/format/replace.mjs +1 -1
- package/esm2022/utils/index.mjs +1 -1
- package/esm2022/utils/miscellaneous/is-obscured.mjs +1 -1
- package/esm2022/utils/miscellaneous/override-options.mjs +1 -1
- package/esm2022/utils/miscellaneous/to-animation-options.mjs +3 -3
- package/esm2022/widgets/categories/categories.component.mjs +1 -1
- package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/checklist-block.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +1 -1
- package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +3 -3
- package/esm2022/widgets/criterion-info-form/criterion-info-form.component.mjs +2 -2
- package/esm2022/widgets/criterion-readonly-info/criterion-readonly-info.component.mjs +3 -3
- package/esm2022/widgets/delete-modal/delete-modal.component.mjs +2 -2
- package/esm2022/widgets/instruction-info/instruction-info.component.mjs +1 -1
- package/esm2022/widgets/instruction-readonly-info/instruction-readonly-info.component.mjs +3 -3
- package/esm2022/widgets/loader/loader.component.mjs +1 -1
- package/esm2022/widgets/select-modal/components/select-modal-search/select-modal-search.component.mjs +3 -3
- package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +13 -10
- package/esm2022/widgets/user-action-context-menu/constants/index.mjs +1 -1
- package/esm2022/widgets/user-action-context-menu/constants/translations.mjs +2 -2
- package/esm2022/widgets/user-action-context-menu/services/activity-base.service.mjs +3 -2
- package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +3 -3
- package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +7 -9
- package/esm2022/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +5 -4
- package/esm2022/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +3 -2
- package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +3 -3
- package/esm2022/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +3 -2
- package/esm2022/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +2 -2
- package/esm2022/widgets/utility-modal/utility-modal.options.mjs +2 -2
- package/esm2022/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +1 -1
- package/fesm2022/cuby-ui-core.mjs +338 -610
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
- package/styles/fonts.scss +44 -40
- package/styles/mixins/buttons.scss +11 -11
- package/styles/mixins/flex.scss +13 -13
- package/styles/mixins/inputs.scss +70 -70
- package/styles/mixins/lists.scss +1 -1
- package/styles/mixins/paddings.scss +24 -24
- package/styles/mixins/shadows.scss +16 -12
- package/styles/mixins/texts.scss +102 -103
- package/styles/reset.scss +72 -72
- package/styles/theme.scss +135 -135
- package/styles/variables/colors.scss +1 -1
- package/styles/variables/fonts.scss +1 -1
- package/utils/default-validators/create-default-validators.options.d.ts +1 -1
- package/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +2 -2
- package/widgets/user-action-context-menu/activity-item/activity-item.component.d.ts +1 -1
- package/widgets/user-action-context-menu/constants/translations.d.ts +1 -1
- package/widgets/user-action-context-menu/services/activity-base.service.d.ts +1 -1
- package/widgets/user-action-context-menu/services/activity.service.d.ts +1 -1
- package/widgets/user-action-context-menu/user-action-context-menu.component.d.ts +0 -1
- package/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +1 -1
- package/widgets/utility-modal/utility-modal.options.d.ts +3 -3
package/styles/mixins/texts.scss
CHANGED
|
@@ -1,221 +1,220 @@
|
|
|
1
1
|
@mixin cui-text-regular() {
|
|
2
|
-
|
|
2
|
+
font-weight: 400;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
@mixin cui-text-medium() {
|
|
6
|
-
|
|
6
|
+
font-weight: 500;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
@mixin cui-text-semi-bold() {
|
|
10
|
-
|
|
10
|
+
font-weight: 600;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@mixin cui-text-bold() {
|
|
14
|
-
|
|
14
|
+
font-weight: 700;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
@mixin cui-text-xxxs() {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
font-size: 10px;
|
|
19
|
+
line-height: 12px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
@mixin cui-text-xxxs-regular() {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
font-size: 10px;
|
|
25
|
+
line-height: 12px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
@mixin cui-text-xxxs-medium() {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
font-size: 10px;
|
|
31
|
+
line-height: 12px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
@mixin cui-text-xxxs-semi-bold() {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
font-size: 10px;
|
|
37
|
+
line-height: 12px;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
@mixin cui-text-xxxs-bold() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
font-size: 10px;
|
|
43
|
+
line-height: 12px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
|
|
47
46
|
@mixin cui-text-xxs() {
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
font-size: 12px;
|
|
48
|
+
line-height: 14px;
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
@mixin cui-text-xxs-regular() {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
font-weight: 400;
|
|
53
|
+
font-size: 12px;
|
|
54
|
+
line-height: 14px;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
57
|
@mixin cui-text-xxs-medium() {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
font-size: 12px;
|
|
60
|
+
line-height: 14px;
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
@mixin cui-text-xxs-semi-bold() {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
font-weight: 600;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
line-height: 14px;
|
|
68
67
|
}
|
|
69
68
|
|
|
70
69
|
@mixin cui-text-xxs-bold() {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
font-weight: 700;
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
line-height: 14px;
|
|
74
73
|
}
|
|
75
74
|
|
|
76
75
|
@mixin cui-text-xs() {
|
|
77
|
-
|
|
78
|
-
|
|
76
|
+
font-size: 13px;
|
|
77
|
+
line-height: 16px;
|
|
79
78
|
}
|
|
80
79
|
|
|
81
80
|
@mixin cui-text-xs-regular() {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
font-weight: 400;
|
|
82
|
+
font-size: 13px;
|
|
83
|
+
line-height: 16px;
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
@mixin cui-text-xs-medium() {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
font-size: 13px;
|
|
89
|
+
line-height: 16px;
|
|
91
90
|
}
|
|
92
91
|
|
|
93
92
|
@mixin cui-text-xs-semi-bold() {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
font-weight: 600;
|
|
94
|
+
font-size: 13px;
|
|
95
|
+
line-height: 16px;
|
|
97
96
|
}
|
|
98
97
|
|
|
99
98
|
@mixin cui-text-xs-bold() {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
font-weight: 700;
|
|
100
|
+
font-size: 13px;
|
|
101
|
+
line-height: 16px;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
@mixin cui-text-sm() {
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
line-height: 20px;
|
|
108
107
|
}
|
|
109
108
|
|
|
110
109
|
@mixin cui-text-sm-regular() {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
font-weight: 400;
|
|
111
|
+
font-size: 14px;
|
|
112
|
+
line-height: 20px;
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
@mixin cui-text-sm-medium() {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
font-weight: 500;
|
|
117
|
+
font-size: 14px;
|
|
118
|
+
line-height: 20px;
|
|
120
119
|
}
|
|
121
120
|
|
|
122
121
|
@mixin cui-text-sm-semi-bold() {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
font-weight: 600;
|
|
123
|
+
font-size: 14px;
|
|
124
|
+
line-height: 20px;
|
|
126
125
|
}
|
|
127
126
|
|
|
128
127
|
@mixin cui-text-sm-bold() {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
font-weight: 700;
|
|
129
|
+
font-size: 14px;
|
|
130
|
+
line-height: 20px;
|
|
132
131
|
}
|
|
133
132
|
|
|
134
133
|
@mixin cui-text-md() {
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
font-size: 16px;
|
|
135
|
+
line-height: 24px;
|
|
137
136
|
}
|
|
138
137
|
|
|
139
138
|
@mixin cui-text-md-regular() {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
font-size: 16px;
|
|
141
|
+
line-height: 24px;
|
|
143
142
|
}
|
|
144
143
|
|
|
145
144
|
@mixin cui-text-md-medium() {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
font-weight: 500;
|
|
146
|
+
font-size: 16px;
|
|
147
|
+
line-height: 24px;
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
@mixin cui-text-md-semi-bold() {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
151
|
+
font-weight: 600;
|
|
152
|
+
font-size: 16px;
|
|
153
|
+
line-height: 24px;
|
|
155
154
|
}
|
|
156
155
|
|
|
157
156
|
@mixin cui-text-md-bold() {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
157
|
+
font-weight: 700;
|
|
158
|
+
font-size: 16px;
|
|
159
|
+
line-height: 24px;
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
@mixin cui-text-lg() {
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
font-size: 18px;
|
|
164
|
+
line-height: 28px;
|
|
166
165
|
}
|
|
167
166
|
|
|
168
167
|
@mixin cui-text-lg-regular() {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
font-size: 18px;
|
|
170
|
+
line-height: 28px;
|
|
172
171
|
}
|
|
173
172
|
|
|
174
173
|
@mixin cui-text-lg-medium() {
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
174
|
+
font-weight: 500;
|
|
175
|
+
font-size: 18px;
|
|
176
|
+
line-height: 28px;
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
@mixin cui-text-lg-semi-bold() {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
180
|
+
font-weight: 600;
|
|
181
|
+
font-size: 18px;
|
|
182
|
+
line-height: 28px;
|
|
184
183
|
}
|
|
185
184
|
|
|
186
185
|
@mixin cui-text-lg-bold() {
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
font-weight: 700;
|
|
187
|
+
font-size: 18px;
|
|
188
|
+
line-height: 28px;
|
|
190
189
|
}
|
|
191
190
|
|
|
192
191
|
@mixin cui-text-xl() {
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
font-size: 20px;
|
|
193
|
+
line-height: 30px;
|
|
195
194
|
}
|
|
196
195
|
|
|
197
196
|
@mixin cui-text-xl-regular() {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
197
|
+
font-weight: 400;
|
|
198
|
+
font-size: 20px;
|
|
199
|
+
line-height: 30px;
|
|
201
200
|
}
|
|
202
201
|
|
|
203
202
|
@mixin cui-text-xl-medium() {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
203
|
+
font-weight: 500;
|
|
204
|
+
font-size: 20px;
|
|
205
|
+
line-height: 30px;
|
|
207
206
|
}
|
|
208
207
|
|
|
209
208
|
@mixin cui-text-xl-semi-bold() {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
209
|
+
font-weight: 600;
|
|
210
|
+
font-size: 20px;
|
|
211
|
+
line-height: 30px;
|
|
213
212
|
}
|
|
214
213
|
|
|
215
214
|
@mixin cui-text-xl-bold() {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
215
|
+
font-weight: 700;
|
|
216
|
+
font-size: 20px;
|
|
217
|
+
line-height: 30px;
|
|
219
218
|
}
|
|
220
219
|
|
|
221
220
|
@mixin cui-text-overflow($wrap: nowrap) {
|
package/styles/reset.scss
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
/**
|
|
2
2
|
Нормализация блочной модели
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
*,
|
|
5
|
+
*::before,
|
|
6
|
+
*::after {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
/**
|
|
11
11
|
Убираем внутренние отступы слева тегам списков
|
|
12
12
|
*/
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
:where(ul, ol) {
|
|
14
|
+
padding-left: 0;
|
|
15
|
+
}
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
/**
|
|
18
18
|
Убираем внешние отступы body и двум другим тегам
|
|
19
19
|
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
body,
|
|
21
|
+
:where(blockquote, figure) {
|
|
22
|
+
margin: 0;
|
|
23
|
+
}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
/**
|
|
26
26
|
Убираем внешние отступы вертикали нужным тегам
|
|
27
27
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, hr) {
|
|
29
|
+
margin-block: 0;
|
|
30
|
+
}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
:where(dd) {
|
|
33
|
+
margin-left: 0;
|
|
34
|
+
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
:where(fieldset) {
|
|
37
|
+
margin-left: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
border: none;
|
|
40
|
+
}
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
/**
|
|
43
43
|
Убираем стандартный маркер маркированному списку
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
:where(ul) {
|
|
46
|
+
list-style: none;
|
|
47
|
+
}
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
/**
|
|
50
50
|
Упрощаем работу с изображениями
|
|
51
51
|
*/
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
img {
|
|
53
|
+
display: block;
|
|
54
|
+
max-width: 100%;
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
/**
|
|
58
58
|
Наследуем свойства шрифт для полей ввода
|
|
59
59
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
input,
|
|
61
|
+
textarea,
|
|
62
|
+
select,
|
|
63
|
+
button {
|
|
64
|
+
color: inherit;
|
|
65
|
+
font: inherit;
|
|
66
|
+
}
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
68
|
+
button {
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
background: none;
|
|
71
|
+
border: none;
|
|
72
|
+
}
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
74
|
+
a {
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
color: inherit;
|
|
77
|
+
text-decoration: none;
|
|
78
|
+
}
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
html {
|
|
81
|
+
/**
|
|
82
82
|
Пригодится в большинстве ситуаций
|
|
83
83
|
(когда, например, нужно будет "прижать" футер к низу сайта)
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
height: 100%;
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
/**
|
|
88
88
|
Плавный скролл
|
|
89
89
|
*/
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
scroll-behavior: smooth;
|
|
91
|
+
}
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
/**
|
|
94
94
|
Чиним баг задержки смены цвета при взаимодействии с svg-элементами
|
|
95
95
|
*/
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
svg * {
|
|
97
|
+
transition-property: fill, stroke;
|
|
98
|
+
}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
/**
|
|
101
101
|
Удаляем все анимации и переходы для людей,
|
|
102
102
|
которые предпочитают их не использовать
|
|
103
103
|
*/
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
@media (prefers-reduced-motion: reduce) {
|
|
105
|
+
* {
|
|
106
|
+
animation-duration: 0.01ms !important;
|
|
107
|
+
animation-iteration-count: 1 !important;
|
|
108
|
+
transition-duration: 0.01ms !important;
|
|
109
|
+
scroll-behavior: auto !important;
|
|
110
|
+
}
|
|
111
|
+
}
|