@cuby-ui/core 0.0.163 → 0.0.165
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 +24 -24
- package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
- package/components/accordion/accordion.component.d.ts +5 -5
- package/components/accordion/accordion.module.d.ts +11 -11
- package/components/accordion/index.d.ts +3 -3
- package/components/alert/alert.component.d.ts +13 -13
- package/components/alert/alert.interfaces.d.ts +9 -9
- package/components/alert/alert.module.d.ts +11 -11
- package/components/alert/alert.service.d.ts +7 -7
- package/components/alert/alert.tokens.d.ts +15 -15
- package/components/alert/alert.types.d.ts +3 -3
- package/components/alert/alerts.component.d.ts +17 -17
- package/components/alert/index.d.ts +8 -8
- package/components/badge/badge.component.d.ts +10 -10
- package/components/badge/badge.module.d.ts +8 -8
- package/components/badge/badge.options.d.ts +8 -8
- package/components/badge/index.d.ts +2 -2
- package/components/banner/banner.component.d.ts +21 -21
- package/components/banner/banner.module.d.ts +11 -11
- package/components/banner/banner.options.d.ts +13 -13
- package/components/banner/index.d.ts +3 -3
- package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
- package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
- package/components/breadcrumbs/index.d.ts +3 -3
- package/components/button/button.component.d.ts +30 -30
- package/components/button/button.module.d.ts +9 -9
- package/components/button/button.options.d.ts +9 -9
- package/components/button/index.d.ts +3 -3
- package/components/button-group/button-group.component.d.ts +5 -5
- package/components/button-group/button-group.module.d.ts +7 -7
- package/components/button-group/index.d.ts +2 -2
- package/components/checkbox/checkbox.component.d.ts +5 -5
- package/components/checkbox/checkbox.module.d.ts +7 -7
- package/components/checkbox/index.d.ts +2 -2
- package/components/context-menu/context-menu.component.d.ts +39 -39
- package/components/context-menu/context-menu.module.d.ts +9 -9
- package/components/context-menu/index.d.ts +2 -2
- package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
- package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
- package/components/dialog/dialog.component.d.ts +33 -33
- package/components/dialog/dialog.interfaces.d.ts +10 -10
- package/components/dialog/dialog.module.d.ts +14 -14
- package/components/dialog/dialog.service.d.ts +7 -7
- package/components/dialog/dialog.tokens.d.ts +8 -8
- package/components/dialog/dialogs.component.d.ts +18 -18
- package/components/dialog/index.d.ts +8 -8
- package/components/form-field/form-field.component.d.ts +5 -5
- package/components/form-field/form-field.module.d.ts +7 -7
- package/components/form-field/index.d.ts +2 -2
- package/components/hint/hint.component.d.ts +7 -7
- package/components/hint/hint.module.d.ts +7 -7
- package/components/hint/index.d.ts +2 -2
- package/components/icon-button/icon-button.component.d.ts +13 -13
- package/components/icon-button/icon-button.module.d.ts +9 -9
- package/components/icon-button/index.d.ts +2 -2
- package/components/index.d.ts +26 -26
- package/components/input-number/index.d.ts +2 -2
- package/components/input-number/input-number.component.d.ts +55 -55
- package/components/input-number/input-number.module.d.ts +11 -11
- package/components/input-number/input-number.options.d.ts +9 -9
- package/components/input-password/index.d.ts +2 -2
- package/components/input-password/input-password.component.d.ts +31 -31
- package/components/input-password/input-password.module.d.ts +11 -11
- package/components/input-text/index.d.ts +2 -2
- package/components/input-text/input-text.component.d.ts +31 -31
- package/components/input-text/input-text.module.d.ts +11 -11
- package/components/input-time/index.d.ts +3 -3
- package/components/input-time/input-time.component.d.ts +36 -36
- package/components/input-time/input-time.module.d.ts +12 -12
- package/components/input-time/input-time.options.d.ts +7 -7
- package/components/label/index.d.ts +2 -2
- package/components/label/label.component.d.ts +6 -6
- package/components/label/label.module.d.ts +8 -8
- package/components/notification/index.d.ts +3 -3
- package/components/notification/notification.component.d.ts +13 -13
- package/components/notification/notification.module.d.ts +10 -10
- package/components/notification/notification.options.d.ts +13 -13
- package/components/radio/index.d.ts +2 -2
- package/components/radio/radio.component.d.ts +5 -5
- package/components/radio/radio.module.d.ts +7 -7
- package/components/root/index.d.ts +3 -3
- package/components/root/root.component.d.ts +11 -11
- package/components/root/root.module.d.ts +10 -10
- package/components/root/root.options.d.ts +1 -1
- package/components/select/index.d.ts +2 -2
- package/components/select/select.component.d.ts +52 -52
- package/components/select/select.module.d.ts +10 -10
- package/components/svg/index.d.ts +2 -2
- package/components/svg/svg.component.d.ts +16 -16
- package/components/svg/svg.module.d.ts +8 -8
- package/components/tabs/index.d.ts +3 -3
- package/components/tabs/tab/index.d.ts +1 -1
- package/components/tabs/tab/tab.component.d.ts +8 -8
- package/components/tabs/tabs.component.d.ts +16 -16
- package/components/tabs/tabs.module.d.ts +8 -8
- package/components/textarea/index.d.ts +2 -2
- package/components/textarea/textarea.component.d.ts +10 -10
- package/components/textarea/textarea.module.d.ts +7 -7
- package/components/toggle/index.d.ts +2 -2
- package/components/toggle/toggle.component.d.ts +5 -5
- package/components/toggle/toggle.module.d.ts +7 -7
- package/directives/index.d.ts +1 -1
- package/directives/text-field-controller/index.d.ts +8 -8
- package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
- package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
- package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
- package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
- package/directives/text-field-controller/text-field.controller.d.ts +20 -20
- package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
- package/esm2020/components/accordion/accordion.component.mjs +11 -11
- package/esm2020/components/accordion/accordion.module.mjs +37 -37
- package/esm2020/components/accordion/index.mjs +4 -4
- package/esm2020/components/alert/alert.component.mjs +36 -36
- package/esm2020/components/alert/alert.interfaces.mjs +2 -2
- package/esm2020/components/alert/alert.module.mjs +40 -40
- package/esm2020/components/alert/alert.service.mjs +17 -17
- package/esm2020/components/alert/alert.tokens.mjs +19 -19
- package/esm2020/components/alert/alert.types.mjs +2 -2
- package/esm2020/components/alert/alerts.component.mjs +36 -36
- package/esm2020/components/alert/index.mjs +9 -9
- package/esm2020/components/badge/badge.component.mjs +31 -31
- package/esm2020/components/badge/badge.module.mjs +18 -18
- package/esm2020/components/badge/badge.options.mjs +8 -8
- package/esm2020/components/badge/index.mjs +3 -3
- package/esm2020/components/banner/banner.component.mjs +68 -68
- package/esm2020/components/banner/banner.module.mjs +31 -31
- package/esm2020/components/banner/banner.options.mjs +6 -6
- package/esm2020/components/banner/index.mjs +4 -4
- package/esm2020/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
- package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
- package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
- package/esm2020/components/breadcrumbs/index.mjs +4 -4
- package/esm2020/components/button/button.component.mjs +104 -104
- package/esm2020/components/button/button.module.mjs +24 -24
- package/esm2020/components/button/button.options.mjs +10 -10
- package/esm2020/components/button/index.mjs +4 -4
- package/esm2020/components/button-group/button-group.component.mjs +11 -11
- package/esm2020/components/button-group/button-group.module.mjs +16 -16
- package/esm2020/components/button-group/index.mjs +3 -3
- package/esm2020/components/checkbox/checkbox.component.mjs +11 -11
- package/esm2020/components/checkbox/checkbox.module.mjs +16 -16
- package/esm2020/components/checkbox/index.mjs +3 -3
- package/esm2020/components/context-menu/context-menu.component.mjs +146 -146
- package/esm2020/components/context-menu/context-menu.module.mjs +24 -24
- package/esm2020/components/context-menu/index.mjs +3 -3
- package/esm2020/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
- package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
- package/esm2020/components/dialog/dialog.component.mjs +64 -64
- package/esm2020/components/dialog/dialog.interfaces.mjs +2 -2
- package/esm2020/components/dialog/dialog.module.mjs +50 -50
- package/esm2020/components/dialog/dialog.service.mjs +17 -17
- package/esm2020/components/dialog/dialog.tokens.mjs +11 -11
- package/esm2020/components/dialog/dialogs.component.mjs +51 -51
- package/esm2020/components/dialog/index.mjs +9 -9
- package/esm2020/components/form-field/form-field.component.mjs +11 -11
- package/esm2020/components/form-field/form-field.module.mjs +16 -16
- package/esm2020/components/form-field/index.mjs +3 -3
- package/esm2020/components/hint/hint.component.mjs +19 -19
- package/esm2020/components/hint/hint.module.mjs +16 -16
- package/esm2020/components/hint/index.mjs +3 -3
- package/esm2020/components/icon-button/icon-button.component.mjs +32 -32
- package/esm2020/components/icon-button/icon-button.module.mjs +24 -24
- package/esm2020/components/icon-button/index.mjs +3 -3
- package/esm2020/components/index.mjs +27 -27
- package/esm2020/components/input-number/index.mjs +3 -3
- package/esm2020/components/input-number/input-number.component.mjs +204 -204
- package/esm2020/components/input-number/input-number.module.mjs +33 -33
- package/esm2020/components/input-number/input-number.options.mjs +11 -11
- package/esm2020/components/input-password/index.mjs +3 -3
- package/esm2020/components/input-password/input-password.component.mjs +89 -89
- package/esm2020/components/input-password/input-password.module.mjs +33 -33
- package/esm2020/components/input-text/index.mjs +3 -3
- package/esm2020/components/input-text/input-text.component.mjs +87 -87
- package/esm2020/components/input-text/input-text.module.mjs +33 -33
- package/esm2020/components/input-time/index.mjs +4 -4
- package/esm2020/components/input-time/input-time.component.mjs +99 -99
- package/esm2020/components/input-time/input-time.module.mjs +36 -36
- package/esm2020/components/input-time/input-time.options.mjs +8 -8
- package/esm2020/components/label/index.mjs +3 -3
- package/esm2020/components/label/label.component.mjs +17 -17
- package/esm2020/components/label/label.module.mjs +18 -18
- package/esm2020/components/notification/index.mjs +4 -4
- package/esm2020/components/notification/notification.component.mjs +51 -51
- package/esm2020/components/notification/notification.module.mjs +27 -27
- package/esm2020/components/notification/notification.options.mjs +6 -6
- package/esm2020/components/radio/index.mjs +3 -3
- package/esm2020/components/radio/radio.component.mjs +11 -11
- package/esm2020/components/radio/radio.module.mjs +16 -16
- package/esm2020/components/root/index.mjs +4 -4
- package/esm2020/components/root/root.component.mjs +31 -31
- package/esm2020/components/root/root.module.mjs +28 -28
- package/esm2020/components/root/root.options.mjs +1 -1
- package/esm2020/components/select/index.mjs +3 -3
- package/esm2020/components/select/select.component.mjs +167 -167
- package/esm2020/components/select/select.module.mjs +29 -29
- package/esm2020/components/svg/index.mjs +3 -3
- package/esm2020/components/svg/svg.component.mjs +50 -50
- package/esm2020/components/svg/svg.module.mjs +18 -18
- package/esm2020/components/tabs/index.mjs +4 -4
- package/esm2020/components/tabs/tab/index.mjs +1 -1
- package/esm2020/components/tabs/tab/tab.component.mjs +21 -21
- package/esm2020/components/tabs/tabs.component.mjs +49 -49
- package/esm2020/components/tabs/tabs.module.mjs +18 -18
- package/esm2020/components/textarea/index.mjs +3 -3
- package/esm2020/components/textarea/textarea.component.mjs +35 -35
- package/esm2020/components/textarea/textarea.module.mjs +16 -16
- package/esm2020/components/toggle/index.mjs +3 -3
- package/esm2020/components/toggle/toggle.component.mjs +11 -11
- package/esm2020/components/toggle/toggle.module.mjs +16 -16
- package/esm2020/cuby-ui-core.mjs +4 -4
- package/esm2020/directives/index.mjs +2 -2
- package/esm2020/directives/text-field-controller/index.mjs +9 -9
- package/esm2020/directives/text-field-controller/text-field-controller.module.mjs +40 -40
- package/esm2020/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-id.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
- package/esm2020/directives/text-field-controller/text-field-size.directive.mjs +24 -24
- package/esm2020/directives/text-field-controller/text-field.controller.mjs +25 -25
- package/esm2020/index.mjs +7 -7
- package/esm2020/interfaces/context-menu-item.mjs +2 -2
- package/esm2020/interfaces/index.mjs +3 -3
- package/esm2020/interfaces/option.mjs +2 -2
- package/esm2020/services/index.mjs +3 -3
- package/esm2020/services/theme.options.mjs +6 -6
- package/esm2020/services/theme.service.mjs +30 -30
- package/esm2020/types/appearance.mjs +2 -2
- package/esm2020/types/hint-type.mjs +2 -2
- package/esm2020/types/index.mjs +8 -8
- package/esm2020/types/position.mjs +2 -2
- package/esm2020/types/resizing.mjs +2 -2
- package/esm2020/types/shape.mjs +2 -2
- package/esm2020/types/size.mjs +2 -2
- package/esm2020/types/status.mjs +2 -2
- package/esm2020/utils/format/index.mjs +3 -3
- package/esm2020/utils/format/remove-spaces.mjs +4 -4
- package/esm2020/utils/format/replace.mjs +5 -5
- package/esm2020/utils/index.mjs +2 -2
- package/fesm2015/cuby-ui-core.mjs +2162 -2162
- package/fesm2015/cuby-ui-core.mjs.map +1 -1
- package/fesm2020/cuby-ui-core.mjs +2160 -2160
- package/fesm2020/cuby-ui-core.mjs.map +1 -1
- package/fonts/Inter-Bold.svg +25443 -25443
- package/fonts/Inter-Medium.svg +25400 -25400
- package/fonts/Inter-Regular.svg +24341 -24341
- package/fonts/Inter-SemiBold.svg +25459 -25459
- package/index.d.ts +6 -6
- package/interfaces/context-menu-item.d.ts +7 -7
- package/interfaces/index.d.ts +2 -2
- package/interfaces/option.d.ts +5 -5
- package/package.json +3 -3
- package/services/index.d.ts +2 -2
- package/services/theme.options.d.ts +5 -5
- package/services/theme.service.d.ts +12 -12
- package/styles/fonts.scss +51 -51
- package/styles/global.scss +9 -9
- package/styles/mixins/buttons.scss +13 -13
- package/styles/mixins/headings.scss +115 -115
- package/styles/mixins/inputs.scss +91 -91
- package/styles/mixins/lists.scss +5 -5
- package/styles/mixins/paddings.scss +35 -35
- package/styles/mixins/shadows.scss +38 -38
- package/styles/mixins/texts.scss +225 -225
- package/styles/theme.scss +385 -385
- package/styles/variables/colors.scss +253 -253
- package/types/appearance.d.ts +8 -8
- package/types/hint-type.d.ts +1 -1
- package/types/index.d.ts +7 -7
- package/types/position.d.ts +2 -2
- package/types/resizing.d.ts +2 -2
- package/types/shape.d.ts +1 -1
- package/types/size.d.ts +4 -4
- package/types/status.d.ts +1 -1
- package/utils/format/index.d.ts +2 -2
- package/utils/format/remove-spaces.d.ts +1 -1
- package/utils/format/replace.d.ts +1 -1
- package/utils/index.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from './components';
|
|
2
|
-
export * from './directives';
|
|
3
|
-
export * from './interfaces';
|
|
4
|
-
export * from './services';
|
|
5
|
-
export * from './types';
|
|
6
|
-
export * from './utils';
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './directives';
|
|
3
|
+
export * from './interfaces';
|
|
4
|
+
export * from './services';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export * from './utils';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CuiIcon } from '@cuby-ui/icons';
|
|
2
|
-
export interface CuiContextMenuItem {
|
|
3
|
-
readonly label: string;
|
|
4
|
-
readonly icon?: CuiIcon | string;
|
|
5
|
-
readonly color?: string;
|
|
6
|
-
readonly command?: () => void;
|
|
7
|
-
}
|
|
1
|
+
import type { CuiIcon } from '@cuby-ui/icons';
|
|
2
|
+
export interface CuiContextMenuItem {
|
|
3
|
+
readonly label: string;
|
|
4
|
+
readonly icon?: CuiIcon | string;
|
|
5
|
+
readonly color?: string;
|
|
6
|
+
readonly command?: () => void;
|
|
7
|
+
}
|
package/interfaces/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './context-menu-item';
|
|
2
|
-
export * from './option';
|
|
1
|
+
export * from './context-menu-item';
|
|
2
|
+
export * from './option';
|
package/interfaces/option.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface CuiOption {
|
|
2
|
-
readonly label: string;
|
|
3
|
-
readonly value: unknown;
|
|
4
|
-
readonly isDisabled?: boolean;
|
|
5
|
-
}
|
|
1
|
+
export interface CuiOption {
|
|
2
|
+
readonly label: string;
|
|
3
|
+
readonly value: unknown;
|
|
4
|
+
readonly isDisabled?: boolean;
|
|
5
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuby-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.165",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=15.0.0",
|
|
6
6
|
"@angular/core": ">=15.0.0",
|
|
7
7
|
"@angular/forms": ">=15.0.0",
|
|
8
|
-
"@cuby-ui/cdk": "^0.0.
|
|
9
|
-
"@cuby-ui/icons": "^0.0.
|
|
8
|
+
"@cuby-ui/cdk": "^0.0.165",
|
|
9
|
+
"@cuby-ui/icons": "^0.0.165",
|
|
10
10
|
"@maskito/angular": "^2.5.0",
|
|
11
11
|
"@maskito/core": "^2.5.0",
|
|
12
12
|
"@maskito/kit": "^2.5.0",
|
package/services/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './theme.options';
|
|
2
|
-
export * from './theme.service';
|
|
1
|
+
export * from './theme.options';
|
|
2
|
+
export * from './theme.service';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type CuiTheme = 'light' | 'dark';
|
|
2
|
-
export declare const CUI_THEME_STORAGE_DEFAULT_KEY = "cuiTheme";
|
|
3
|
-
export declare const CUI_DEFAULT_THEME: CuiTheme;
|
|
4
|
-
export declare const CUI_THEME_STORAGE_KEY: import("@angular/core").InjectionToken<string>;
|
|
5
|
-
export declare const CUI_THEME: import("@angular/core").InjectionToken<CuiTheme>;
|
|
1
|
+
export type CuiTheme = 'light' | 'dark';
|
|
2
|
+
export declare const CUI_THEME_STORAGE_DEFAULT_KEY = "cuiTheme";
|
|
3
|
+
export declare const CUI_DEFAULT_THEME: CuiTheme;
|
|
4
|
+
export declare const CUI_THEME_STORAGE_KEY: import("@angular/core").InjectionToken<string>;
|
|
5
|
+
export declare const CUI_THEME: import("@angular/core").InjectionToken<CuiTheme>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import type { CuiTheme } from './theme.options';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CuiThemeService extends BehaviorSubject<CuiTheme> {
|
|
5
|
-
private readonly localStorage;
|
|
6
|
-
private readonly key;
|
|
7
|
-
constructor();
|
|
8
|
-
next(theme: CuiTheme): void;
|
|
9
|
-
switch(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CuiThemeService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CuiThemeService>;
|
|
12
|
-
}
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import type { CuiTheme } from './theme.options';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiThemeService extends BehaviorSubject<CuiTheme> {
|
|
5
|
+
private readonly localStorage;
|
|
6
|
+
private readonly key;
|
|
7
|
+
constructor();
|
|
8
|
+
next(theme: CuiTheme): void;
|
|
9
|
+
switch(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiThemeService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuiThemeService>;
|
|
12
|
+
}
|
package/styles/fonts.scss
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-family: Inter;
|
|
3
|
-
font-style: normal;
|
|
4
|
-
font-weight: 400;
|
|
5
|
-
src: url('../fonts/Inter-Regular.eot');
|
|
6
|
-
src: url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
|
|
7
|
-
url('../fonts/Inter-Regular.woff2') format('woff2'),
|
|
8
|
-
url('../fonts/Inter-Regular.woff') format('woff'),
|
|
9
|
-
url('../fonts/Inter-Regular.ttf') format('truetype'),
|
|
10
|
-
url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
|
|
11
|
-
url('../fonts/Inter-Regular.otf') format('otf');
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@font-face {
|
|
15
|
-
font-family: Inter;
|
|
16
|
-
font-style: normal;
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
src: url('../fonts/Inter-Medium.eot');
|
|
19
|
-
src: url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
|
|
20
|
-
url('../fonts/Inter-Medium.woff2') format('woff2'),
|
|
21
|
-
url('../fonts/Inter-Medium.woff') format('woff'),
|
|
22
|
-
url('../fonts/Inter-Medium.ttf') format('truetype'),
|
|
23
|
-
url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
|
|
24
|
-
url('../fonts/Inter-Medium.otf') format('otf');
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@font-face {
|
|
28
|
-
font-family: Inter;
|
|
29
|
-
font-style: normal;
|
|
30
|
-
font-weight: 600;
|
|
31
|
-
src: url('../fonts/Inter-SemiBold.eot');
|
|
32
|
-
src: url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
|
|
33
|
-
url('../fonts/Inter-SemiBold.woff2') format('woff2'),
|
|
34
|
-
url('../fonts/Inter-SemiBold.woff') format('woff'),
|
|
35
|
-
url('../fonts/Inter-SemiBold.ttf') format('truetype'),
|
|
36
|
-
url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
|
|
37
|
-
url('../fonts/Inter-SemiBold.otf') format('otf');
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@font-face {
|
|
41
|
-
font-family: Inter;
|
|
42
|
-
font-style: normal;
|
|
43
|
-
font-weight: 700;
|
|
44
|
-
src: url('../fonts/Inter-Bold.eot');
|
|
45
|
-
src: url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
|
|
46
|
-
url('../fonts/Inter-Bold.woff2') format('woff2'),
|
|
47
|
-
url('../fonts/Inter-Bold.woff') format('woff'),
|
|
48
|
-
url('../fonts/Inter-Bold.ttf') format('truetype'),
|
|
49
|
-
url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
|
|
50
|
-
url('../fonts/Inter-Bold.otf') format('otf');
|
|
51
|
-
}
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: Inter;
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
src: url('../fonts/Inter-Regular.eot');
|
|
6
|
+
src: url('../fonts/Inter-Regular.eot?#iefix') format('embedded-opentype'),
|
|
7
|
+
url('../fonts/Inter-Regular.woff2') format('woff2'),
|
|
8
|
+
url('../fonts/Inter-Regular.woff') format('woff'),
|
|
9
|
+
url('../fonts/Inter-Regular.ttf') format('truetype'),
|
|
10
|
+
url('../fonts/Inter-Regular.svg#Inter-Regular') format('svg'),
|
|
11
|
+
url('../fonts/Inter-Regular.otf') format('otf');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: Inter;
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
src: url('../fonts/Inter-Medium.eot');
|
|
19
|
+
src: url('../fonts/Inter-Medium.eot?#iefix') format('embedded-opentype'),
|
|
20
|
+
url('../fonts/Inter-Medium.woff2') format('woff2'),
|
|
21
|
+
url('../fonts/Inter-Medium.woff') format('woff'),
|
|
22
|
+
url('../fonts/Inter-Medium.ttf') format('truetype'),
|
|
23
|
+
url('../fonts/Inter-Medium.svg#Inter-Medium') format('svg'),
|
|
24
|
+
url('../fonts/Inter-Medium.otf') format('otf');
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@font-face {
|
|
28
|
+
font-family: Inter;
|
|
29
|
+
font-style: normal;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
src: url('../fonts/Inter-SemiBold.eot');
|
|
32
|
+
src: url('../fonts/Inter-SemiBold.eot?#iefix') format('embedded-opentype'),
|
|
33
|
+
url('../fonts/Inter-SemiBold.woff2') format('woff2'),
|
|
34
|
+
url('../fonts/Inter-SemiBold.woff') format('woff'),
|
|
35
|
+
url('../fonts/Inter-SemiBold.ttf') format('truetype'),
|
|
36
|
+
url('../fonts/Inter-SemiBold.svg#Inter-SemiBold') format('svg'),
|
|
37
|
+
url('../fonts/Inter-SemiBold.otf') format('otf');
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: Inter;
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
src: url('../fonts/Inter-Bold.eot');
|
|
45
|
+
src: url('../fonts/Inter-Bold.eot?#iefix') format('embedded-opentype'),
|
|
46
|
+
url('../fonts/Inter-Bold.woff2') format('woff2'),
|
|
47
|
+
url('../fonts/Inter-Bold.woff') format('woff'),
|
|
48
|
+
url('../fonts/Inter-Bold.ttf') format('truetype'),
|
|
49
|
+
url('../fonts/Inter-Bold.svg#Inter-Bold') format('svg'),
|
|
50
|
+
url('../fonts/Inter-Bold.otf') format('otf');
|
|
51
|
+
}
|
package/styles/global.scss
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@forward 'mixins/buttons';
|
|
2
|
-
@forward 'mixins/headings';
|
|
3
|
-
@forward 'mixins/inputs';
|
|
4
|
-
@forward 'mixins/lists';
|
|
5
|
-
@forward 'mixins/paddings';
|
|
6
|
-
@forward 'mixins/shadows';
|
|
7
|
-
@forward 'mixins/texts';
|
|
8
|
-
@forward 'variables/colors';
|
|
9
|
-
@forward 'variables/fonts';
|
|
1
|
+
@forward 'mixins/buttons';
|
|
2
|
+
@forward 'mixins/headings';
|
|
3
|
+
@forward 'mixins/inputs';
|
|
4
|
+
@forward 'mixins/lists';
|
|
5
|
+
@forward 'mixins/paddings';
|
|
6
|
+
@forward 'mixins/shadows';
|
|
7
|
+
@forward 'mixins/texts';
|
|
8
|
+
@forward 'variables/colors';
|
|
9
|
+
@forward 'variables/fonts';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
@mixin cui-clear-button() {
|
|
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
|
-
}
|
|
1
|
+
@mixin cui-clear-button() {
|
|
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
|
+
}
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
@mixin cui-heading-xs {
|
|
2
|
-
font-size: 24px;
|
|
3
|
-
line-height: 32px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
@mixin cui-heading-xs-regular {
|
|
7
|
-
font-weight: 400;
|
|
8
|
-
font-size: 24px;
|
|
9
|
-
line-height: 32px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@mixin cui-heading-xs-medium {
|
|
13
|
-
font-weight: 500;
|
|
14
|
-
font-size: 24px;
|
|
15
|
-
line-height: 32px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@mixin cui-heading-xs-semi-bold {
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
font-size: 24px;
|
|
21
|
-
line-height: 32px;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin cui-heading-xs-bold {
|
|
25
|
-
font-weight: 700;
|
|
26
|
-
font-size: 24px;
|
|
27
|
-
line-height: 32px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@mixin cui-heading-sm {
|
|
31
|
-
font-size: 30px;
|
|
32
|
-
line-height: 38px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@mixin cui-heading-sm-regular {
|
|
36
|
-
font-weight: 400;
|
|
37
|
-
font-size: 30px;
|
|
38
|
-
line-height: 38px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@mixin cui-heading-sm-medium {
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
font-size: 30px;
|
|
44
|
-
line-height: 38px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
@mixin cui-heading-sm-semi-bold {
|
|
48
|
-
font-weight: 600;
|
|
49
|
-
font-size: 30px;
|
|
50
|
-
line-height: 38px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@mixin cui-heading-sm-bold {
|
|
54
|
-
font-weight: 700;
|
|
55
|
-
font-size: 30px;
|
|
56
|
-
line-height: 38px;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
@mixin cui-heading-md {
|
|
60
|
-
font-size: 36px;
|
|
61
|
-
line-height: 44px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@mixin cui-heading-md-regular {
|
|
65
|
-
font-weight: 400;
|
|
66
|
-
font-size: 36px;
|
|
67
|
-
line-height: 44px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@mixin cui-heading-md-medium {
|
|
71
|
-
font-weight: 500;
|
|
72
|
-
font-size: 36px;
|
|
73
|
-
line-height: 44px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@mixin cui-heading-md-semi-bold {
|
|
77
|
-
font-weight: 600;
|
|
78
|
-
font-size: 36px;
|
|
79
|
-
line-height: 44px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@mixin cui-heading-md-bold {
|
|
83
|
-
font-weight: 700;
|
|
84
|
-
font-size: 36px;
|
|
85
|
-
line-height: 44px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@mixin cui-heading-lg {
|
|
89
|
-
font-size: 48px;
|
|
90
|
-
line-height: 60px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
@mixin cui-heading-lg-regular {
|
|
94
|
-
font-weight: 400;
|
|
95
|
-
font-size: 48px;
|
|
96
|
-
line-height: 60px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@mixin cui-heading-lg-medium {
|
|
100
|
-
font-weight: 500;
|
|
101
|
-
font-size: 48px;
|
|
102
|
-
line-height: 60px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@mixin cui-heading-lg-semi-bold {
|
|
106
|
-
font-weight: 600;
|
|
107
|
-
font-size: 48px;
|
|
108
|
-
line-height: 60px;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@mixin cui-heading-lg-bold {
|
|
112
|
-
font-weight: 700;
|
|
113
|
-
font-size: 48px;
|
|
114
|
-
line-height: 60px;
|
|
115
|
-
}
|
|
1
|
+
@mixin cui-heading-xs {
|
|
2
|
+
font-size: 24px;
|
|
3
|
+
line-height: 32px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@mixin cui-heading-xs-regular {
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
font-size: 24px;
|
|
9
|
+
line-height: 32px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@mixin cui-heading-xs-medium {
|
|
13
|
+
font-weight: 500;
|
|
14
|
+
font-size: 24px;
|
|
15
|
+
line-height: 32px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin cui-heading-xs-semi-bold {
|
|
19
|
+
font-weight: 600;
|
|
20
|
+
font-size: 24px;
|
|
21
|
+
line-height: 32px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin cui-heading-xs-bold {
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
font-size: 24px;
|
|
27
|
+
line-height: 32px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin cui-heading-sm {
|
|
31
|
+
font-size: 30px;
|
|
32
|
+
line-height: 38px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin cui-heading-sm-regular {
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
font-size: 30px;
|
|
38
|
+
line-height: 38px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin cui-heading-sm-medium {
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
font-size: 30px;
|
|
44
|
+
line-height: 38px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin cui-heading-sm-semi-bold {
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
font-size: 30px;
|
|
50
|
+
line-height: 38px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@mixin cui-heading-sm-bold {
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
font-size: 30px;
|
|
56
|
+
line-height: 38px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@mixin cui-heading-md {
|
|
60
|
+
font-size: 36px;
|
|
61
|
+
line-height: 44px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin cui-heading-md-regular {
|
|
65
|
+
font-weight: 400;
|
|
66
|
+
font-size: 36px;
|
|
67
|
+
line-height: 44px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@mixin cui-heading-md-medium {
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
font-size: 36px;
|
|
73
|
+
line-height: 44px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@mixin cui-heading-md-semi-bold {
|
|
77
|
+
font-weight: 600;
|
|
78
|
+
font-size: 36px;
|
|
79
|
+
line-height: 44px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@mixin cui-heading-md-bold {
|
|
83
|
+
font-weight: 700;
|
|
84
|
+
font-size: 36px;
|
|
85
|
+
line-height: 44px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin cui-heading-lg {
|
|
89
|
+
font-size: 48px;
|
|
90
|
+
line-height: 60px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@mixin cui-heading-lg-regular {
|
|
94
|
+
font-weight: 400;
|
|
95
|
+
font-size: 48px;
|
|
96
|
+
line-height: 60px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@mixin cui-heading-lg-medium {
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
font-size: 48px;
|
|
102
|
+
line-height: 60px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@mixin cui-heading-lg-semi-bold {
|
|
106
|
+
font-weight: 600;
|
|
107
|
+
font-size: 48px;
|
|
108
|
+
line-height: 60px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@mixin cui-heading-lg-bold {
|
|
112
|
+
font-weight: 700;
|
|
113
|
+
font-size: 48px;
|
|
114
|
+
line-height: 60px;
|
|
115
|
+
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
@use '../variables/colors' as colors;
|
|
2
|
-
@use '../variables/fonts' as fonts;
|
|
3
|
-
@use './texts' as texts;
|
|
4
|
-
@use './paddings' as paddings;
|
|
5
|
-
@use './shadows' as shadows;
|
|
6
|
-
@use './buttons' as buttons;
|
|
7
|
-
|
|
8
|
-
@mixin cui-clear-input() {
|
|
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
|
-
}
|
|
20
|
-
|
|
21
|
-
@mixin cui-default-input() {
|
|
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
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.c-input {
|
|
73
|
-
@include cui-clear-input();
|
|
74
|
-
|
|
75
|
-
width: 100%;
|
|
76
|
-
|
|
77
|
-
&:disabled {
|
|
78
|
-
cursor: not-allowed;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&::placeholder {
|
|
82
|
-
color: colors.$cui-base-400;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.c-button {
|
|
87
|
-
@include buttons.cui-clear-button();
|
|
88
|
-
|
|
89
|
-
display: flex;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
@use '../variables/colors' as colors;
|
|
2
|
+
@use '../variables/fonts' as fonts;
|
|
3
|
+
@use './texts' as texts;
|
|
4
|
+
@use './paddings' as paddings;
|
|
5
|
+
@use './shadows' as shadows;
|
|
6
|
+
@use './buttons' as buttons;
|
|
7
|
+
|
|
8
|
+
@mixin cui-clear-input() {
|
|
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
|
+
}
|
|
20
|
+
|
|
21
|
+
@mixin cui-default-input() {
|
|
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
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.c-input {
|
|
73
|
+
@include cui-clear-input();
|
|
74
|
+
|
|
75
|
+
width: 100%;
|
|
76
|
+
|
|
77
|
+
&:disabled {
|
|
78
|
+
cursor: not-allowed;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&::placeholder {
|
|
82
|
+
color: colors.$cui-base-400;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.c-button {
|
|
87
|
+
@include buttons.cui-clear-button();
|
|
88
|
+
|
|
89
|
+
display: flex;
|
|
90
|
+
}
|
|
91
|
+
}
|