@allsorter/ui-components 0.0.367 → 0.0.370
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/fesm2022/allsorter-ui-components.mjs +2996 -1391
- package/fesm2022/allsorter-ui-components.mjs.map +1 -1
- package/images/Column left.svg +5 -0
- package/images/Move.svg +8 -0
- package/images/Success.svg +5 -0
- package/images/Table.svg +3 -0
- package/images/Vector-1.svg +3 -0
- package/images/Vector.svg +3 -0
- package/images/add-teble.svg +6 -0
- package/images/arrow_downward.svg +3 -0
- package/images/calendar_year.svg +4 -0
- package/images/column right.svg +5 -0
- package/images/delete -table.svg +6 -0
- package/images/delete row.svg +10 -0
- package/images/delete-column.svg +10 -0
- package/images/delete.svg +3 -0
- package/images/drag-drop-icon.svg +8 -0
- package/images/edit.svg +3 -0
- package/images/error.svg +5 -0
- package/images/row bottom.svg +5 -0
- package/images/row top.svg +5 -0
- package/images/search.svg +3 -0
- package/images/subrole.svg +3 -0
- package/images/visibility_off.svg +3 -0
- package/images/warning.svg +5 -0
- package/lib/app-toolbar/app-toolbar.component.d.ts +5 -8
- package/lib/app-toolbar/app-toolbar.module.d.ts +4 -4
- package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +3 -5
- package/lib/button/button.component.d.ts +30 -1
- package/lib/candidate-section/candidate-section.component.d.ts +8 -0
- package/lib/custom-editor/custom-editor.component.d.ts +110 -14
- package/lib/custom-editor/table/table.component.d.ts +5 -0
- package/lib/editable-form-wrapper/editable-form-wrapper.component.d.ts +48 -0
- package/lib/experience-section/experience-section.component.d.ts +4 -2
- package/lib/general-container/general-container.component.d.ts +5 -1
- package/lib/icon-button/icon-button.component.d.ts +16 -7
- package/lib/input/input.component.d.ts +41 -10
- package/lib/newresumeheader/newresumeheader.component.d.ts +43 -4
- package/lib/resume-entries/resume-entries.component.d.ts +7 -1
- package/lib/resume-header/resume-header.model.d.ts +11 -20
- package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +17 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.d.ts +34 -0
- package/lib/side-action-bar-wrapper/side-action-bar-wrapper.module.d.ts +12 -0
- package/lib/styles/border-radius.scss +11 -0
- package/lib/styles/button-mixins.scss +41 -0
- package/lib/styles/button.scss +117 -0
- package/lib/styles/colors.scss +221 -0
- package/lib/styles/elevation.scss +46 -0
- package/lib/styles/new-typography.scss +202 -0
- package/lib/styles/spacing.scss +39 -0
- package/lib/styles/typography-classes.scss +203 -0
- package/lib/utils/icon-utils.d.ts +51 -0
- package/lib/utils/image-utils.d.ts +54 -0
- package/package.json +15 -3
- package/public-api.d.ts +3 -3
- package/src/lib/ai-apply-bar/ai-apply-bar.component.html +43 -0
- package/src/lib/ai-apply-bar/ai-apply-bar.component.scss +182 -0
- package/src/lib/app-toolbar/app-toolbar.component.html +13 -0
- package/src/lib/app-toolbar/app-toolbar.component.scss +141 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.html +15 -0
- package/src/lib/app-toolbar-right/app-toolbar-right.component.scss +294 -0
- package/src/lib/button/button.component.html +127 -0
- package/src/lib/button/button.component.scss +1238 -0
- package/src/lib/candidate-section/candidate-section.component.html +91 -0
- package/src/lib/candidate-section/candidate-section.component.scss +154 -0
- package/src/lib/checkbox/checkbox.component.html +24 -0
- package/src/lib/checkbox/checkbox.component.scss +280 -0
- package/src/lib/custom-editor/custom-editor.component.html +129 -0
- package/src/lib/custom-editor/custom-editor.component.scss +441 -0
- package/src/lib/custom-editor/table/table.component.html +21 -0
- package/src/lib/date-range/date-range.component.html +33 -0
- package/src/lib/date-range/date-range.component.scss +284 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.html +12 -0
- package/src/lib/editable-form-wrapper/editable-form-wrapper.component.scss +227 -0
- package/src/lib/experience-section/experience-section.component.html +20 -0
- package/src/lib/experience-section/experience-section.component.scss +0 -0
- package/src/lib/field-placeholder/field-placeholder.component.html +17 -0
- package/src/lib/field-placeholder/field-placeholder.component.scss +119 -0
- package/src/lib/general-container/general-container.component.html +3 -0
- package/src/lib/general-container/general-container.component.scss +10 -0
- package/src/lib/icon-button/icon-button.component.html +12 -0
- package/src/lib/icon-button/icon-button.component.scss +77 -0
- package/src/lib/input/input.component.html +86 -0
- package/src/lib/input/input.component.scss +1337 -0
- package/src/lib/loader/loader.component.html +15 -0
- package/src/lib/loader/loader.component.scss +493 -0
- package/src/lib/new-typography/new-typography.component.html +10 -0
- package/src/lib/new-typography/new-typography.component.scss +200 -0
- package/src/lib/newresumeheader/newresumeheader.component.html +178 -0
- package/src/lib/newresumeheader/newresumeheader.component.scss +530 -0
- package/src/lib/radio/radio.component.html +23 -0
- package/src/lib/radio/radio.component.scss +253 -0
- package/src/lib/responsive-columns/responsive-columns.component.html +6 -0
- package/src/lib/responsive-columns/responsive-columns.component.scss +68 -0
- package/src/lib/responsive-layout/responsive-layout.component.html +1 -0
- package/src/lib/responsive-layout/responsive-layout.component.scss +47 -0
- package/src/lib/resume-entries/resume-entries.component.html +97 -0
- package/src/lib/resume-entries/resume-entries.component.scss +341 -0
- package/src/lib/resume-header/resume-header.component.html +167 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.html +99 -0
- package/src/lib/shared-popup-modal/shared-popup-modal.component.scss +223 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.html +17 -0
- package/src/lib/side-action-bar-wrapper/side-action-bar-wrapper.component.scss +58 -0
- package/src/lib/slide-toggle/slide-toggle.component.html +17 -0
- package/src/lib/slide-toggle/slide-toggle.component.scss +439 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.html +12 -0
- package/src/lib/storybook/testing-strip/testing-strip.component.scss +1 -0
- package/src/lib/styles/border-radius.scss +11 -0
- package/src/lib/styles/button-mixins.scss +41 -0
- package/src/lib/styles/button.scss +117 -0
- package/src/lib/styles/colors.scss +221 -0
- package/src/lib/styles/elevation.scss +46 -0
- package/src/lib/styles/new-typography.scss +202 -0
- package/src/lib/styles/spacing.scss +39 -0
- package/src/lib/styles/typography-classes.scss +203 -0
- package/src/lib/tabs/tabs.component.html +9 -0
- package/src/lib/tabs/tabs.component.scss +151 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.html +17 -0
- package/src/lib/toggle-buttons/toggle-buttons.component.scss +284 -0
- package/src/lib/tooltip/tooltip.component.html +6 -0
- package/src/lib/tooltip/tooltip.component.scss +8 -0
- package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +0 -36
- package/lib/resume-header/resume-header.component.d.ts +0 -69
- package/lib/resume-header/resume-header.module.d.ts +0 -8
|
@@ -54,6 +54,23 @@ export declare class ModalComponent implements AfterContentInit {
|
|
|
54
54
|
onSubmit(): void;
|
|
55
55
|
onRequestTemplate(): void;
|
|
56
56
|
onClose(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Dynamically determines the base path for assets
|
|
59
|
+
* Handles both root deployment and subdirectory deployment (e.g., /allsorter-lib/)
|
|
60
|
+
*/
|
|
61
|
+
private getBasePath;
|
|
62
|
+
/**
|
|
63
|
+
* Gets the image path for warning icon
|
|
64
|
+
*/
|
|
65
|
+
getWarningIconPath(): string;
|
|
66
|
+
/**
|
|
67
|
+
* Gets the image path for error icon
|
|
68
|
+
*/
|
|
69
|
+
getErrorIconPath(): string;
|
|
70
|
+
/**
|
|
71
|
+
* Gets the image path for success icon
|
|
72
|
+
*/
|
|
73
|
+
getSuccessIconPath(): string;
|
|
57
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, [{ optional: true; }, null]>;
|
|
58
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "al-modal", never, { "titleText": { "alias": "titleText"; "required": false; }; "userMessage": { "alias": "userMessage"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "closeIcon": { "alias": "closeIcon"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "submitLabel": { "alias": "submitLabel"; "required": false; }; "cancelCategory": { "alias": "cancelCategory"; "required": false; }; "submitCategory": { "alias": "submitCategory"; "required": false; }; "buttonSize": { "alias": "buttonSize"; "required": false; }; "cancelIcon": { "alias": "cancelIcon"; "required": false; }; "submitIcon": { "alias": "submitIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showSubmitButton": { "alias": "showSubmitButton"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "buttonAlignment": { "alias": "buttonAlignment"; "required": false; }; "messageAlignment": { "alias": "messageAlignment"; "required": false; }; "useCustomHeader": { "alias": "useCustomHeader"; "required": false; }; "customHeaderTitle": { "alias": "customHeaderTitle"; "required": false; }; "customHeaderDescription": { "alias": "customHeaderDescription"; "required": false; }; "customHeaderIcon": { "alias": "customHeaderIcon"; "required": false; }; "customActionLabel": { "alias": "customActionLabel"; "required": false; }; "customActionIcon": { "alias": "customActionIcon"; "required": false; }; "customActionRightIcon": { "alias": "customActionRightIcon"; "required": false; }; "templatingGuidePrefix": { "alias": "templatingGuidePrefix"; "required": false; }; "templatingGuideLabel": { "alias": "templatingGuideLabel"; "required": false; }; "templatingGuideHref": { "alias": "templatingGuideHref"; "required": false; }; "modalType": { "alias": "modalType"; "required": false; }; "feedbackVariant": { "alias": "feedbackVariant"; "required": false; }; "feedbackIcon": { "alias": "feedbackIcon"; "required": false; }; }, { "cancel": "cancel"; "submit": "submit"; "close": "close"; "requestTemplate": "requestTemplate"; "onHover": "onHover"; "onMouseLeave": "onMouseLeave"; "optionSelect": "optionSelect"; }, never, ["*"], true, never>;
|
|
59
76
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { AfterContentInit, EventEmitter, QueryList, OnInit } from '@angular/core';
|
|
2
|
+
import { ButtonComponent } from '../button/button.component';
|
|
3
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
4
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SideActionBarWrapperComponent implements AfterContentInit, OnInit {
|
|
7
|
+
private iconRegistry;
|
|
8
|
+
private sanitizer;
|
|
9
|
+
actionButtons: QueryList<ButtonComponent>;
|
|
10
|
+
showClose: boolean;
|
|
11
|
+
visible: boolean;
|
|
12
|
+
position: 'left' | 'right';
|
|
13
|
+
iconOutlined: boolean;
|
|
14
|
+
closeButtonTooltip: string;
|
|
15
|
+
closeButtonTooltipPosition: 'above' | 'below' | 'left' | 'right';
|
|
16
|
+
closeClick: EventEmitter<void>;
|
|
17
|
+
buttons: ButtonComponent[];
|
|
18
|
+
constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
private registerIcons;
|
|
21
|
+
ngAfterContentInit(): void;
|
|
22
|
+
/**
|
|
23
|
+
* Enforce wrapper defaults on projected buttons:
|
|
24
|
+
* - buttonType = 'icon-circle'
|
|
25
|
+
* - color = 'white' (unless explicitly set to gradient, grey, etc.)
|
|
26
|
+
* - outline = true (unless explicitly set to false for non-white colors)
|
|
27
|
+
* - size = 'sm' (unless explicitly set)
|
|
28
|
+
* - iconOnly = true (unless explicitly set to false)
|
|
29
|
+
* - iconOutlined = false (unless explicitly set to true)
|
|
30
|
+
*/
|
|
31
|
+
private applyDefaultsToButtons;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideActionBarWrapperComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SideActionBarWrapperComponent, "al-side-action-bar", never, { "showClose": { "alias": "showClose"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "position": { "alias": "position"; "required": false; }; "iconOutlined": { "alias": "iconOutlined"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "closeButtonTooltipPosition": { "alias": "closeButtonTooltipPosition"; "required": false; }; }, { "closeClick": "closeClick"; }, ["actionButtons"], ["*"], true, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./side-action-bar-wrapper.component";
|
|
3
|
+
/**
|
|
4
|
+
* Module for Side Action Bar Wrapper Component
|
|
5
|
+
* Note: This component is standalone, so this module is optional.
|
|
6
|
+
* It can be used if you need to import the component in a non-standalone module.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SideActionBarWrapperModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideActionBarWrapperModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SideActionBarWrapperModule, never, [typeof i1.SideActionBarWrapperComponent], [typeof i1.SideActionBarWrapperComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SideActionBarWrapperModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Border radius design tokens
|
|
2
|
+
// Aligns with Foundations/Round Corners story: 4px, 8px, 16px
|
|
3
|
+
|
|
4
|
+
$radius-4: 4px; // Small
|
|
5
|
+
$radius-8: 8px; // Medium
|
|
6
|
+
$radius-16: 16px; // Large
|
|
7
|
+
|
|
8
|
+
// Aliases (optional)
|
|
9
|
+
$radius-sm: $radius-4;
|
|
10
|
+
$radius-md: $radius-8;
|
|
11
|
+
$radius-lg: $radius-16;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@mixin button-theme($bg, $color, $hover, $active) {
|
|
2
|
+
background-color: $bg;
|
|
3
|
+
color: $color;
|
|
4
|
+
|
|
5
|
+
&:hover {
|
|
6
|
+
background-color: $hover;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:active {
|
|
10
|
+
background-color: $active;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin button-outline($color) {
|
|
15
|
+
background-color: #fff;
|
|
16
|
+
color: $color;
|
|
17
|
+
border: 1px solid $color;
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background-color: $color;
|
|
21
|
+
color: #fff;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:active {
|
|
25
|
+
background-color: darken($color, 10%);
|
|
26
|
+
color: #fff;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin gradient-button($bg, $hover, $active) {
|
|
31
|
+
background: $bg;
|
|
32
|
+
color: #fff;
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
background: $hover;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:active {
|
|
39
|
+
background: $active;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
@import './colors.scss';
|
|
2
|
+
|
|
3
|
+
// Base Colors
|
|
4
|
+
$color-blue: #5473E8;
|
|
5
|
+
$color-blue-hover: #6581EA;
|
|
6
|
+
$color-blue-active: #1E46DF;
|
|
7
|
+
|
|
8
|
+
$color-green: #37C1CE;
|
|
9
|
+
$color-green-hover: #4BC7D3;
|
|
10
|
+
$color-green-active: #299DA8;
|
|
11
|
+
|
|
12
|
+
$color-grey: $color-grey-600;
|
|
13
|
+
$color-grey-hover: #4B4F62;
|
|
14
|
+
$color-grey-active: #252831;
|
|
15
|
+
|
|
16
|
+
$color-error: #E854A4;
|
|
17
|
+
$color-error-hover: #EF87BF;
|
|
18
|
+
$color-error-active: #E22A8E;
|
|
19
|
+
|
|
20
|
+
$color-gradient: linear-gradient(275deg, #5473E8 -36.22%, #37C1CE 100.04%);
|
|
21
|
+
$color-gradient-hover: linear-gradient(0deg, rgba(250, 250, 253, 0.3), rgba(250, 250, 253, 0.3)),
|
|
22
|
+
linear-gradient(275deg, #2BBBAD 9.3%, #4A90E2 115.85%);
|
|
23
|
+
$color-gradient-active: linear-gradient(0deg, rgba(56, 59, 74, 0.5), rgba(56, 59, 74, 0.5)),
|
|
24
|
+
linear-gradient(275deg, #2BBBAD 9.3%, #4A90E2 115.85%);
|
|
25
|
+
|
|
26
|
+
// Outline variants
|
|
27
|
+
$color-outline-blue: #5473E8;
|
|
28
|
+
$color-outline-green: #37C1CE;
|
|
29
|
+
$color-outline-grey: #383B4A;
|
|
30
|
+
$color-outline-error: #E854A4;
|
|
31
|
+
|
|
32
|
+
$color-disabled-bg: #D1D3DB;
|
|
33
|
+
$color-disabled-text: #666;
|
|
34
|
+
|
|
35
|
+
@mixin button-theme($bg, $color, $hover, $active) {
|
|
36
|
+
background-color: $bg;
|
|
37
|
+
color: $color;
|
|
38
|
+
|
|
39
|
+
&:hover {
|
|
40
|
+
background-color: $hover;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:active {
|
|
44
|
+
background-color: $active;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@mixin button-outline($color) {
|
|
49
|
+
background-color: #fff;
|
|
50
|
+
color: $color;
|
|
51
|
+
border: 1px solid $color;
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
background-color: $color;
|
|
55
|
+
color: #fff;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:active {
|
|
59
|
+
background-color: darken($color, 10%);
|
|
60
|
+
color: #fff;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@mixin gradient-button($bg, $hover, $active) {
|
|
65
|
+
background: $bg;
|
|
66
|
+
color: #fff;
|
|
67
|
+
|
|
68
|
+
&:hover {
|
|
69
|
+
background: $hover;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&:active {
|
|
73
|
+
background: $active;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.btn-blue {
|
|
78
|
+
@include button-theme($color-blue, #fff, $color-blue-hover, $color-blue-active);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.btn-green {
|
|
82
|
+
@include button-theme($color-green, #fff, $color-green-hover, $color-green-active);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.btn-grey {
|
|
86
|
+
@include button-theme($color-grey, #fff, $color-grey-hover, $color-grey-active);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.btn-error {
|
|
90
|
+
@include button-theme($color-error, #fff, $color-error-hover, $color-error-active);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.btn-blue-no-outline {
|
|
94
|
+
@include button-outline($color-outline-blue);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.btn-green-no-outline {
|
|
98
|
+
@include button-outline($color-outline-green);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.btn-grey-no-outline {
|
|
102
|
+
@include button-outline($color-outline-grey);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.btn-error-no-outline {
|
|
106
|
+
@include button-outline($color-outline-error);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.btn-gradient {
|
|
110
|
+
@include gradient-button($color-gradient, $color-gradient-hover, $color-gradient-active);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.btn-disabled {
|
|
114
|
+
background-color: $color-disabled-bg !important;
|
|
115
|
+
color: $color-disabled-text !important;
|
|
116
|
+
cursor: not-allowed !important;
|
|
117
|
+
}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
// ============================================
|
|
2
|
+
// PRIMARY COLOR SCALE
|
|
3
|
+
// ============================================
|
|
4
|
+
|
|
5
|
+
// Primary Blue - Complete Scale
|
|
6
|
+
$color-blue-50: #E5E9FC; // Tints-50
|
|
7
|
+
$color-blue-100: #BBC7F6; // Tints-100
|
|
8
|
+
$color-blue-200: #98ABF1; // Tints-200
|
|
9
|
+
$color-blue-300: #768FED; // Tints-300
|
|
10
|
+
$color-blue-400: #6581EA; // Tints-400
|
|
11
|
+
$color-blue-500: #5473E8; // Base-Blue
|
|
12
|
+
$color-blue-600: #1E46DF; // Shades-600
|
|
13
|
+
$color-blue-700: #0F236F; // Shades-700
|
|
14
|
+
$color-blue-800: #071238; // Shades-800
|
|
15
|
+
$color-blue-900: #04091C; // Shades-900
|
|
16
|
+
|
|
17
|
+
// Primary Blue - Semantic Names (for backward compatibility)
|
|
18
|
+
$color-blue: $color-blue-500;
|
|
19
|
+
$color-blue-hover: $color-blue-400;
|
|
20
|
+
$color-blue-active: $color-blue-600;
|
|
21
|
+
|
|
22
|
+
// ============================================
|
|
23
|
+
// SECONDARY COLOR SCALE
|
|
24
|
+
// ============================================
|
|
25
|
+
|
|
26
|
+
// Primary Green - Complete Scale
|
|
27
|
+
$color-green-50: #D7F3F5; // Tints-50
|
|
28
|
+
$color-green-100: #AFE6EB; // Tints-100
|
|
29
|
+
$color-green-200: #87DAE2; // Tints-200
|
|
30
|
+
$color-green-300: #5FCDD8; // Tints-300
|
|
31
|
+
$color-green-400: #4BC7D3; // Tints-400
|
|
32
|
+
$color-green-500: #37C1CE; // Base-Green
|
|
33
|
+
$color-green-600: #299DA8; // Shades-600
|
|
34
|
+
$color-green-700: #1F767E; // Shades-700
|
|
35
|
+
$color-green-800: #154E54; // Shades-800
|
|
36
|
+
$color-green-900: #0A272A; // Shades-900
|
|
37
|
+
|
|
38
|
+
// Primary Green - Semantic Names (for backward compatibility)
|
|
39
|
+
$color-green: $color-green-500;
|
|
40
|
+
$color-green-hover: $color-green-400;
|
|
41
|
+
$color-green-active: $color-green-600;
|
|
42
|
+
|
|
43
|
+
// ============================================
|
|
44
|
+
// NEUTRAL COLOR SCALE
|
|
45
|
+
// ============================================
|
|
46
|
+
|
|
47
|
+
// Primary Grey - Complete Scale
|
|
48
|
+
$color-grey-50: #FAFBFB; // Tints-50
|
|
49
|
+
$color-grey-100: #ECEDF1; // Tints-100
|
|
50
|
+
$color-grey-200: #DEE0E6; // Tints-200
|
|
51
|
+
$color-grey-300: #D1D3DB; // Tints-300
|
|
52
|
+
$color-grey-400: #C3C5D1; // Tints-400
|
|
53
|
+
$color-grey-500: #A2A6B8; // Base-Grey
|
|
54
|
+
$color-grey-600: #717793; // Shades-600
|
|
55
|
+
$color-grey-700: #4B4F62; // Shades-700
|
|
56
|
+
$color-grey-800: #383B4A; // Shades-800
|
|
57
|
+
$color-grey-900: #252831; // Shades-900
|
|
58
|
+
|
|
59
|
+
// Primary Grey - Semantic Names (for backward compatibility)
|
|
60
|
+
$color-grey: $color-grey-800;
|
|
61
|
+
$color-grey-hover: $color-grey-700;
|
|
62
|
+
$color-grey-active: $color-grey-900;
|
|
63
|
+
|
|
64
|
+
// ============================================
|
|
65
|
+
// SEMANTIC COLOR SCALE
|
|
66
|
+
// ============================================
|
|
67
|
+
|
|
68
|
+
// Primary Error - Complete Scale
|
|
69
|
+
$color-error-50: #FDEEF6; // Tints-50
|
|
70
|
+
$color-error-100: #F9D4E8; // Tints-100
|
|
71
|
+
$color-error-200: #F6BBDB; // Tints-200
|
|
72
|
+
$color-error-300: #F2A1CD; // Tints-300
|
|
73
|
+
$color-error-400: #EF87BF; // Tints-400
|
|
74
|
+
$color-error-500: #E854A4; // Base-Error
|
|
75
|
+
$color-error-600: #E22A8E; // Shades-600
|
|
76
|
+
$color-error-700: #C31A75; // Shades-700
|
|
77
|
+
$color-error-800: #99155C; // Shades-800
|
|
78
|
+
$color-error-900: #6F0F43; // Shades-900
|
|
79
|
+
|
|
80
|
+
// Primary Error - Semantic Names (for backward compatibility)
|
|
81
|
+
$color-error: $color-error-500;
|
|
82
|
+
$color-error-hover: $color-error-400;
|
|
83
|
+
$color-error-active: $color-error-600;
|
|
84
|
+
|
|
85
|
+
// Primary Success - Complete Scale
|
|
86
|
+
$color-success-50: #E9F9F3; // Tints-50
|
|
87
|
+
$color-success-100: #C8F1E3; // Tints-100
|
|
88
|
+
$color-success-200: #9EE7CE; // Tints-200
|
|
89
|
+
$color-success-300: #6EDDB7; // Tints-300
|
|
90
|
+
$color-success-400: #3DD3A0; // Tints-400
|
|
91
|
+
$color-success-500: #00AD83; // Base-Success
|
|
92
|
+
$color-success-600: #009873; // Shades-600
|
|
93
|
+
$color-success-700: #007F61; // Shades-700
|
|
94
|
+
$color-success-800: #00654F; // Shades-800
|
|
95
|
+
$color-success-900: #003D30; // Shades-900
|
|
96
|
+
|
|
97
|
+
// Primary Success - Semantic Names (for backward compatibility)
|
|
98
|
+
$color-success: $color-success-500;
|
|
99
|
+
$color-success-hover: $color-success-600;
|
|
100
|
+
$color-success-active: $color-success-700;
|
|
101
|
+
|
|
102
|
+
$color-white-500: #fff;
|
|
103
|
+
|
|
104
|
+
// ============================================
|
|
105
|
+
// GRADIENTS
|
|
106
|
+
// ============================================
|
|
107
|
+
|
|
108
|
+
$color-gradient: linear-gradient(275deg, #5473E8 -36.22%, #37C1CE 100.04%);
|
|
109
|
+
$color-gradient-hover: linear-gradient(0deg, rgba(250, 250, 253, 0.3), rgba(250, 250, 253, 0.3)),
|
|
110
|
+
linear-gradient(275deg, #2BBBAD 9.3%, #4A90E2 115.85%);
|
|
111
|
+
$color-gradient-active: linear-gradient(0deg, rgba(56, 59, 74, 0.5), rgba(56, 59, 74, 0.5)),
|
|
112
|
+
linear-gradient(275deg, #2BBBAD 9.3%, #4A90E2 115.85%);
|
|
113
|
+
|
|
114
|
+
// ============================================
|
|
115
|
+
// OUTLINE VARIANTS
|
|
116
|
+
// ============================================
|
|
117
|
+
|
|
118
|
+
$color-outline-blue: $color-blue-500;
|
|
119
|
+
$color-outline-green: $color-green-500;
|
|
120
|
+
$color-outline-grey: $color-grey-800;
|
|
121
|
+
$color-outline-error: $color-error-500;
|
|
122
|
+
$color-outline-success: $color-success-500;
|
|
123
|
+
$color-outline-white: $color-white-500;
|
|
124
|
+
|
|
125
|
+
// ============================================
|
|
126
|
+
// UTILITY COLORS
|
|
127
|
+
// ============================================
|
|
128
|
+
|
|
129
|
+
$color-disabled-bg: $color-grey-300;
|
|
130
|
+
$color-disabled-text: $color-grey-500;
|
|
131
|
+
|
|
132
|
+
// ============================================
|
|
133
|
+
// CSS CUSTOM PROPERTIES
|
|
134
|
+
// ============================================
|
|
135
|
+
|
|
136
|
+
:root {
|
|
137
|
+
// Primary Blue Scale
|
|
138
|
+
--color-blue-50: #{$color-blue-50};
|
|
139
|
+
--color-blue-100: #{$color-blue-100};
|
|
140
|
+
--color-blue-200: #{$color-blue-200};
|
|
141
|
+
--color-blue-300: #{$color-blue-300};
|
|
142
|
+
--color-blue-400: #{$color-blue-400};
|
|
143
|
+
--color-blue-500: #{$color-blue-500};
|
|
144
|
+
--color-blue-600: #{$color-blue-600};
|
|
145
|
+
--color-blue-700: #{$color-blue-700};
|
|
146
|
+
--color-blue-800: #{$color-blue-800};
|
|
147
|
+
--color-blue-900: #{$color-blue-900};
|
|
148
|
+
|
|
149
|
+
// Primary Green Scale
|
|
150
|
+
--color-green-50: #{$color-green-50};
|
|
151
|
+
--color-green-100: #{$color-green-100};
|
|
152
|
+
--color-green-200: #{$color-green-200};
|
|
153
|
+
--color-green-300: #{$color-green-300};
|
|
154
|
+
--color-green-400: #{$color-green-400};
|
|
155
|
+
--color-green-500: #{$color-green-500};
|
|
156
|
+
--color-green-600: #{$color-green-600};
|
|
157
|
+
--color-green-700: #{$color-green-700};
|
|
158
|
+
--color-green-800: #{$color-green-800};
|
|
159
|
+
--color-green-900: #{$color-green-900};
|
|
160
|
+
|
|
161
|
+
// Primary Grey Scale
|
|
162
|
+
--color-grey-50: #{$color-grey-50};
|
|
163
|
+
--color-grey-100: #{$color-grey-100};
|
|
164
|
+
--color-grey-200: #{$color-grey-200};
|
|
165
|
+
--color-grey-300: #{$color-grey-300};
|
|
166
|
+
--color-grey-400: #{$color-grey-400};
|
|
167
|
+
--color-grey-500: #{$color-grey-500};
|
|
168
|
+
--color-grey-600: #{$color-grey-600};
|
|
169
|
+
--color-grey-700: #{$color-grey-700};
|
|
170
|
+
--color-grey-800: #{$color-grey-800};
|
|
171
|
+
--color-grey-900: #{$color-grey-900};
|
|
172
|
+
|
|
173
|
+
// Primary Error Scale
|
|
174
|
+
--color-error-50: #{$color-error-50};
|
|
175
|
+
--color-error-100: #{$color-error-100};
|
|
176
|
+
--color-error-200: #{$color-error-200};
|
|
177
|
+
--color-error-300: #{$color-error-300};
|
|
178
|
+
--color-error-400: #{$color-error-400};
|
|
179
|
+
--color-error-500: #{$color-error-500};
|
|
180
|
+
--color-error-600: #{$color-error-600};
|
|
181
|
+
--color-error-700: #{$color-error-700};
|
|
182
|
+
--color-error-800: #{$color-error-800};
|
|
183
|
+
--color-error-900: #{$color-error-900};
|
|
184
|
+
|
|
185
|
+
// Primary Success Scale
|
|
186
|
+
--color-success-50: #{$color-success-50};
|
|
187
|
+
--color-success-100: #{$color-success-100};
|
|
188
|
+
--color-success-200: #{$color-success-200};
|
|
189
|
+
--color-success-300: #{$color-success-300};
|
|
190
|
+
--color-success-400: #{$color-success-400};
|
|
191
|
+
--color-success-500: #{$color-success-500};
|
|
192
|
+
--color-success-600: #{$color-success-600};
|
|
193
|
+
--color-success-700: #{$color-success-700};
|
|
194
|
+
--color-success-800: #{$color-success-800};
|
|
195
|
+
--color-success-900: #{$color-success-900};
|
|
196
|
+
|
|
197
|
+
// Semantic Names
|
|
198
|
+
--color-blue: #{$color-blue};
|
|
199
|
+
--color-blue-hover: #{$color-blue-hover};
|
|
200
|
+
--color-blue-active: #{$color-blue-active};
|
|
201
|
+
|
|
202
|
+
--color-green: #{$color-green};
|
|
203
|
+
--color-green-hover: #{$color-green-hover};
|
|
204
|
+
--color-green-active: #{$color-green-active};
|
|
205
|
+
|
|
206
|
+
--color-grey: #{$color-grey};
|
|
207
|
+
--color-grey-hover: #{$color-grey-hover};
|
|
208
|
+
--color-grey-active: #{$color-grey-active};
|
|
209
|
+
|
|
210
|
+
--color-error: #{$color-error};
|
|
211
|
+
--color-error-hover: #{$color-error-hover};
|
|
212
|
+
--color-error-active: #{$color-error-active};
|
|
213
|
+
|
|
214
|
+
--color-success: #{$color-success};
|
|
215
|
+
--color-success-hover: #{$color-success-hover};
|
|
216
|
+
--color-success-active: #{$color-success-active};
|
|
217
|
+
|
|
218
|
+
// Utility Colors
|
|
219
|
+
--color-disabled-bg: #{$color-disabled-bg};
|
|
220
|
+
--color-disabled-text: #{$color-disabled-text};
|
|
221
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Elevation System
|
|
2
|
+
// Drop shadows for creating depth and hierarchy in the UI
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
// Elevation Level 1 - Subtle elevation for small components
|
|
6
|
+
--elevation-1: 0 1px 5px 1px rgba(113, 119, 147, 0.10);
|
|
7
|
+
|
|
8
|
+
// Elevation Level 2 - Light elevation for cards and panels
|
|
9
|
+
--elevation-2: 0 2px 10px 2px rgba(113, 119, 147, 0.10);
|
|
10
|
+
|
|
11
|
+
// Elevation Level 3 - Medium elevation for modals and overlays
|
|
12
|
+
--elevation-3: 0 4px 15px 3px rgba(113, 119, 147, 0.12);
|
|
13
|
+
|
|
14
|
+
// Elevation Level 4 - High elevation for dropdowns and popups
|
|
15
|
+
--elevation-4: 0 6px 10px 4px rgba(113, 119, 147, 0.15);
|
|
16
|
+
|
|
17
|
+
// Elevation Level 5 - Maximum elevation for tooltips and alerts
|
|
18
|
+
--elevation-5: 0 5px 15px 5px rgba(113, 119, 147, 0.20);
|
|
19
|
+
|
|
20
|
+
// Elevation Level 6 - Special elevation for borders and dividers
|
|
21
|
+
--elevation-6: 0 2px 4px 0 rgba(24, 43, 125, 0.15);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// SCSS Variables for use in components
|
|
25
|
+
$elevation-1: 0 1px 5px 1px rgba(113, 119, 147, 0.10);
|
|
26
|
+
$elevation-2: 0 2px 10px 2px rgba(113, 119, 147, 0.10);
|
|
27
|
+
$elevation-3: 0 4px 15px 3px rgba(113, 119, 147, 0.12);
|
|
28
|
+
$elevation-4: 0 6px 10px 4px rgba(113, 119, 147, 0.15);
|
|
29
|
+
$elevation-5: 0 5px 15px 5px rgba(113, 119, 147, 0.20);
|
|
30
|
+
$elevation-6: 0 2px 4px 0 rgba(24, 43, 125, 0.15);
|
|
31
|
+
|
|
32
|
+
// Utility Classes
|
|
33
|
+
.elevation-1 { box-shadow: var(--elevation-1); }
|
|
34
|
+
.elevation-2 { box-shadow: var(--elevation-2); }
|
|
35
|
+
.elevation-3 { box-shadow: var(--elevation-3); }
|
|
36
|
+
.elevation-4 { box-shadow: var(--elevation-4); }
|
|
37
|
+
.elevation-5 { box-shadow: var(--elevation-5); }
|
|
38
|
+
.elevation-6 { box-shadow: var(--elevation-6); }
|
|
39
|
+
|
|
40
|
+
// Mixins for easy use in SCSS
|
|
41
|
+
@mixin elevation-1 { box-shadow: $elevation-1; }
|
|
42
|
+
@mixin elevation-2 { box-shadow: $elevation-2; }
|
|
43
|
+
@mixin elevation-3 { box-shadow: $elevation-3; }
|
|
44
|
+
@mixin elevation-4 { box-shadow: $elevation-4; }
|
|
45
|
+
@mixin elevation-5 { box-shadow: $elevation-5; }
|
|
46
|
+
@mixin elevation-6 { box-shadow: $elevation-6; }
|