@cuby-ui/core 0.0.386 → 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/index.d.ts +1 -0
- package/components/tabs/tabs.options.d.ts +2 -2
- package/components/tabs/tabs.provider.d.ts +3 -0
- 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/index.mjs +2 -1
- package/esm2022/components/tabs/services/tabs.service.mjs +1 -1
- package/esm2022/components/tabs/tabs.component.mjs +4 -4
- package/esm2022/components/tabs/tabs.options.mjs +1 -1
- package/esm2022/components/tabs/tabs.provider.mjs +10 -0
- 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 +347 -612
- 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/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.388",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
7
7
|
"@angular/elements": ">=18.0.0",
|
|
8
8
|
"@angular/forms": ">=18.0.0",
|
|
9
|
-
"@cuby-ui/api": "^0.0.
|
|
10
|
-
"@cuby-ui/cdk": "^0.0.
|
|
11
|
-
"@cuby-ui/icons": "^0.0.
|
|
9
|
+
"@cuby-ui/api": "^0.0.388",
|
|
10
|
+
"@cuby-ui/cdk": "^0.0.388",
|
|
11
|
+
"@cuby-ui/icons": "^0.0.388",
|
|
12
12
|
"@editorjs/editorjs": "2.29.1",
|
|
13
13
|
"@editorjs/header": "^2.8.1",
|
|
14
14
|
"@editorjs/list": "^1.9.0",
|
package/styles/fonts.scss
CHANGED
|
@@ -1,51 +1,55 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
font-family: Inter;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
src: url('../fonts/Inter-Regular.eot');
|
|
6
|
+
src:
|
|
7
|
+
url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
|
|
8
|
+
url('../fonts/Inter-Regular.woff2') format('woff2'),
|
|
9
|
+
url('../fonts/Inter-Regular.woff') format('woff'),
|
|
10
|
+
url('../fonts/Inter-Regular.ttf') format('truetype'),
|
|
11
|
+
url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
|
|
12
|
+
url('../fonts/Inter-Regular.otf') format('otf');
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
@font-face {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
16
|
+
font-family: Inter;
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
src: url('../fonts/Inter-Medium.eot');
|
|
20
|
+
src:
|
|
21
|
+
url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
|
|
22
|
+
url('../fonts/Inter-Medium.woff2') format('woff2'),
|
|
23
|
+
url('../fonts/Inter-Medium.woff') format('woff'),
|
|
24
|
+
url('../fonts/Inter-Medium.ttf') format('truetype'),
|
|
25
|
+
url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
|
|
26
|
+
url('../fonts/Inter-Medium.otf') format('otf');
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
@font-face {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
font-family: Inter;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
src: url('../fonts/Inter-SemiBold.eot');
|
|
34
|
+
src:
|
|
35
|
+
url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
|
|
36
|
+
url('../fonts/Inter-SemiBold.woff2') format('woff2'),
|
|
37
|
+
url('../fonts/Inter-SemiBold.woff') format('woff'),
|
|
38
|
+
url('../fonts/Inter-SemiBold.ttf') format('truetype'),
|
|
39
|
+
url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
|
|
40
|
+
url('../fonts/Inter-SemiBold.otf') format('otf');
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
@font-face {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
font-family: Inter;
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 700;
|
|
47
|
+
src: url('../fonts/Inter-Bold.eot');
|
|
48
|
+
src:
|
|
49
|
+
url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
|
|
50
|
+
url('../fonts/Inter-Bold.woff2') format('woff2'),
|
|
51
|
+
url('../fonts/Inter-Bold.woff') format('woff'),
|
|
52
|
+
url('../fonts/Inter-Bold.ttf') format('truetype'),
|
|
53
|
+
url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
|
|
54
|
+
url('../fonts/Inter-Bold.otf') format('otf');
|
|
51
55
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@mixin cui-clear-button() {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
2
|
+
padding: 0;
|
|
3
|
+
border: 0;
|
|
4
|
+
flex-shrink: 0;
|
|
5
|
+
outline: none;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
appearance: none;
|
|
8
|
+
color: inherit;
|
|
9
|
+
font: inherit;
|
|
10
|
+
background: inherit;
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
-webkit-tap-highlight-color: transparent;
|
|
13
13
|
}
|
package/styles/mixins/flex.scss
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
@mixin cui-flex($gap: 0, $direction: row) {
|
|
2
|
-
|
|
2
|
+
display: flex;
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
@if ($direction != row) {
|
|
5
|
+
flex-direction: $direction;
|
|
6
|
+
}
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
@if ($gap != 0) {
|
|
9
|
+
gap: $gap;
|
|
10
|
+
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
@mixin cui-flex-alignment($alignItems: stretch, $justifyContent: flex-start) {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
@if ($alignItems != stretch) {
|
|
15
|
+
align-items: $alignItems;
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
@if ($justifyContent != flex-start) {
|
|
19
|
+
justify-content: $justifyContent;
|
|
20
|
+
}
|
|
21
21
|
}
|
|
@@ -6,86 +6,86 @@
|
|
|
6
6
|
@use './buttons' as buttons;
|
|
7
7
|
|
|
8
8
|
@mixin cui-clear-input() {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
padding: 0;
|
|
10
|
+
outline: none;
|
|
11
|
+
margin: 0;
|
|
12
|
+
border-width: 0;
|
|
13
|
+
appearance: none;
|
|
14
|
+
caret-color: currentColor;
|
|
15
|
+
background: none;
|
|
16
|
+
color: inherit;
|
|
17
|
+
font: inherit;
|
|
18
|
+
line-height: inherit;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
@mixin cui-default-input() {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
22
|
+
:host {
|
|
23
|
+
$border-width: 1px;
|
|
24
|
+
|
|
25
|
+
@include paddings.cui-padding(horizontal, 1.75, $border-width);
|
|
26
|
+
@include texts.cui-text-sm-regular();
|
|
27
|
+
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 8px;
|
|
31
|
+
border: $border-width solid colors.$cui-base-200;
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
cursor: text;
|
|
34
|
+
background: colors.$cui-input;
|
|
35
|
+
color: colors.$cui-base-900;
|
|
36
|
+
font-family: fonts.$cui-main-font;
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
border-color: colors.$cui-base-300;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:focus-within {
|
|
43
|
+
@include shadows.cui-shadow-focused();
|
|
44
|
+
|
|
45
|
+
border-color: colors.$cui-info;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&[data-size='sm'] {
|
|
49
|
+
@include paddings.cui-padding(vertical, 1, $border-width);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&[data-size='md'] {
|
|
53
|
+
@include paddings.cui-padding(vertical, 1.125, $border-width);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&._disabled {
|
|
57
|
+
cursor: not-allowed;
|
|
58
|
+
opacity: 0.5;
|
|
59
|
+
background: colors.$cui-base-50;
|
|
60
|
+
border-color: colors.$cui-base-200;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&._with-error {
|
|
64
|
+
border-color: colors.$cui-danger;
|
|
65
|
+
|
|
66
|
+
&:focus-within {
|
|
67
|
+
@include shadows.cui-shadow-error-focused();
|
|
68
|
+
}
|
|
69
|
+
}
|
|
40
70
|
}
|
|
41
71
|
|
|
42
|
-
|
|
43
|
-
|
|
72
|
+
.c-input {
|
|
73
|
+
@include cui-clear-input();
|
|
44
74
|
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&[data-size='sm'] {
|
|
49
|
-
@include paddings.cui-padding(vertical, 1, $border-width);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&[data-size='md'] {
|
|
53
|
-
@include paddings.cui-padding(vertical, 1.125, $border-width);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&._disabled {
|
|
57
|
-
cursor: not-allowed;
|
|
58
|
-
opacity: 0.5;
|
|
59
|
-
background: colors.$cui-base-50;
|
|
60
|
-
border-color: colors.$cui-base-200;
|
|
61
|
-
}
|
|
75
|
+
width: 100%;
|
|
62
76
|
|
|
63
|
-
|
|
64
|
-
|
|
77
|
+
&:disabled {
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
}
|
|
65
80
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
81
|
+
&::placeholder {
|
|
82
|
+
color: colors.$cui-base-400;
|
|
83
|
+
}
|
|
69
84
|
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.c-input {
|
|
73
|
-
@include cui-clear-input();
|
|
74
|
-
|
|
75
|
-
width: 100%;
|
|
76
85
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
86
|
+
.c-button {
|
|
87
|
+
@include buttons.cui-clear-button();
|
|
80
88
|
|
|
81
|
-
|
|
82
|
-
color: colors.$cui-base-400;
|
|
89
|
+
display: flex;
|
|
83
90
|
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.c-button {
|
|
87
|
-
@include buttons.cui-clear-button();
|
|
88
|
-
|
|
89
|
-
display: flex;
|
|
90
|
-
}
|
|
91
91
|
}
|
package/styles/mixins/lists.scss
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
$space: 8px;
|
|
2
2
|
|
|
3
3
|
@mixin cui-padding($direction, $size, $offset: 0) {
|
|
4
|
-
|
|
4
|
+
$padding: $space * $size - $offset;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
@if ($direction == all) {
|
|
7
|
+
padding: $padding;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
@if ($direction == top) {
|
|
11
|
+
padding-top: $padding;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
@if ($direction == bottom) {
|
|
15
|
+
padding-bottom: $padding;
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
@if ($direction == vertical) {
|
|
19
|
+
padding-top: $padding;
|
|
20
|
+
padding-bottom: $padding;
|
|
21
|
+
}
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
@if ($direction == left) {
|
|
24
|
+
padding-left: $padding;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
@if ($direction == right) {
|
|
28
|
+
padding-right: $padding;
|
|
29
|
+
}
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
@if ($direction == horizontal) {
|
|
32
|
+
padding-right: $padding;
|
|
33
|
+
padding-left: $padding;
|
|
34
|
+
}
|
|
35
35
|
}
|
|
@@ -2,37 +2,41 @@
|
|
|
2
2
|
// TODO: вынести все цвета в перемнные
|
|
3
3
|
|
|
4
4
|
@mixin cui-shadow-10() {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
box-shadow:
|
|
6
|
+
0 1px 4px 0 rgba(0, 0, 0, 0.04),
|
|
7
|
+
0 1px 4px 0 rgba(0, 0, 0, 0.04);
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
@mixin cui-shadow-15() {
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
box-shadow:
|
|
12
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.06),
|
|
13
|
+
0 1px 3px 0 rgba(0, 0, 0, 0.1);
|
|
12
14
|
}
|
|
13
15
|
|
|
14
16
|
@mixin cui-shadow-20() {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
box-shadow:
|
|
18
|
+
0 2px 4px -1px rgba(0, 0, 0, 0.06),
|
|
19
|
+
0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
@mixin cui-shadow-25() {
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
box-shadow:
|
|
24
|
+
0 4px 6px -2px rgba(0, 0, 0, 0.05),
|
|
25
|
+
0 10px 15px -3px rgba(0, 0, 0, 0.1);
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
@mixin cui-shadow-right() {
|
|
25
|
-
|
|
29
|
+
box-shadow: 5px 0 4px 0 rgba(0, 0, 0, 0.05);
|
|
26
30
|
}
|
|
27
31
|
|
|
28
32
|
@mixin cui-shadow-left() {
|
|
29
|
-
|
|
33
|
+
box-shadow: -5px 0 4px 0 rgba(0, 0, 0, 0.05);
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
@mixin cui-shadow-focused() {
|
|
33
|
-
|
|
37
|
+
box-shadow: 0 0 0 2px colors.$cui-focus;
|
|
34
38
|
}
|
|
35
39
|
|
|
36
40
|
@mixin cui-shadow-error-focused() {
|
|
37
|
-
|
|
41
|
+
box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.25);
|
|
38
42
|
}
|