@ascentgl/ads-ui 20.0.1 → 20.0.3
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 +7 -7
- package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-error-page-error-page-code.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-header.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-logo-primary-logo.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-bar.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-indicator-spinner.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-progress-indicators-progress-spinner.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-shell-layout.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs +2 -2
- package/fesm2022/ascentgl-ads-ui-src-lib-components-tags-tag-container.mjs.map +1 -1
- package/fesm2022/ascentgl-ads-ui.mjs +474 -201
- package/fesm2022/ascentgl-ads-ui.mjs.map +1 -1
- package/index.d.ts +99 -24
- package/package.json +7 -7
- package/src/assets/sass/ads-ui/abstracts/_functions.scss +18 -18
- package/src/assets/sass/ads-ui/abstracts/_mixins.scss +90 -90
- package/src/assets/sass/ads-ui/abstracts/_variables.scss +125 -125
- package/src/assets/sass/ads-ui/base/_reset.scss +19 -19
- package/src/assets/sass/ads-ui/base/_typography.scss +179 -179
- package/src/assets/sass/ads-ui/base/_utilities.scss +104 -104
- package/src/assets/sass/ads-ui/main.scss +8 -8
- package/src/assets/sass/ads-ui/overrides/_angular-material.scss +8 -8
- package/src/assets/sass/ads-ui/overrides/angular-material/_bottom-sheet.scss +12 -12
- package/src/assets/sass/ads-ui/overrides/angular-material/_datetimepicker.scss +248 -248
- package/src/assets/sass/ads-ui/overrides/angular-material/_dropdown.scss +31 -31
- package/src/assets/sass/ads-ui/overrides/angular-material/_html.scss +16 -14
- package/src/assets/sass/ads-ui/overrides/angular-material/_mat-list.scss +47 -47
- package/src/assets/sass/ads-ui/overrides/angular-material/_menu.scss +89 -89
- package/src/assets/sass/ads-ui/overrides/angular-material/_search-dropdown-modal.scss +34 -34
- package/src/assets/sass/ads-ui/overrides/angular-material/_snackbar.scss +40 -40
- package/src/assets/sass/ads-ui/overrides/angular-material/_tooltip.scss +76 -76
- package/src/assets/sass/ads-ui/themes/_ads-palette.scss +98 -98
package/index.d.ts
CHANGED
|
@@ -27,16 +27,16 @@ import * as i5$2 from '@angular/material/input';
|
|
|
27
27
|
import * as i10 from '@angular/material/icon';
|
|
28
28
|
import * as i13 from '@angular/material/autocomplete';
|
|
29
29
|
import { MatAutocomplete, MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
30
|
-
import * as
|
|
31
|
-
import * as i3$
|
|
32
|
-
import * as i3$
|
|
30
|
+
import * as i3$4 from 'ngx-mask';
|
|
31
|
+
import * as i3$5 from '@angular/material/divider';
|
|
32
|
+
import * as i3$6 from '@angular/material/datepicker';
|
|
33
33
|
import { MatDatetimepickerType } from '@mat-datetimepicker/core/datetimepicker/datetimepicker-type';
|
|
34
34
|
import * as i5$3 from '@mat-datetimepicker/core';
|
|
35
35
|
import { MatDatetimepickerComponent, MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
|
|
36
36
|
import { MatCalendarView } from '@mat-datetimepicker/core/datetimepicker/calendar';
|
|
37
37
|
import * as i4$4 from '@angular/material/radio';
|
|
38
38
|
import * as i4$5 from '@angular/material/slider';
|
|
39
|
-
import * as i3$
|
|
39
|
+
import * as i3$7 from '@angular/material/snack-bar';
|
|
40
40
|
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
41
41
|
import { BreakpointState, BreakpointObserver } from '@angular/cdk/layout';
|
|
42
42
|
import * as i2$1 from '@angular/material/dialog';
|
|
@@ -51,8 +51,8 @@ import { MatMenu } from '@angular/material/menu';
|
|
|
51
51
|
import * as i4$8 from 'angular-split';
|
|
52
52
|
import { SplitComponent, SplitGutterInteractionEvent } from 'angular-split';
|
|
53
53
|
import * as i9 from '@angular/material/tooltip';
|
|
54
|
-
import * as i12
|
|
55
|
-
import * as i3$
|
|
54
|
+
import * as i12 from '@angular/material/toolbar';
|
|
55
|
+
import * as i3$8 from '@angular/material/bottom-sheet';
|
|
56
56
|
import { MatBottomSheet } from '@angular/material/bottom-sheet';
|
|
57
57
|
import * as i4$9 from '@angular/material/list';
|
|
58
58
|
import * as i2$2 from '@angular/material/tabs';
|
|
@@ -128,6 +128,9 @@ declare enum BadgeColor {
|
|
|
128
128
|
alert = "alert"
|
|
129
129
|
}
|
|
130
130
|
declare class AdsNumericBadgeComponent extends AdsIconHoverComponent {
|
|
131
|
+
private registry;
|
|
132
|
+
/** @ignore **/
|
|
133
|
+
constructor(registry: AdsIconRegistry);
|
|
131
134
|
/** choose badge color mode "primary" or "alert" **/
|
|
132
135
|
color: i0.InputSignal<BadgeColor>;
|
|
133
136
|
/** provide icon name. NOTE: the icon must be registered in icon registry **/
|
|
@@ -1058,11 +1061,11 @@ declare abstract class AbstractBaseComponent implements OnChanges, AfterViewInit
|
|
|
1058
1061
|
/** @ignore */
|
|
1059
1062
|
valueControl: FormControl;
|
|
1060
1063
|
/** @ignore */
|
|
1061
|
-
|
|
1064
|
+
protected readonly genericError: string;
|
|
1062
1065
|
/** @ignore */
|
|
1063
1066
|
protected readonly defaultErrorMessages: GENERIC_COLLECTION<string>;
|
|
1064
1067
|
/** @ignore */
|
|
1065
|
-
|
|
1068
|
+
protected readonly requiredErrorMessage: string;
|
|
1066
1069
|
constructor();
|
|
1067
1070
|
ngOnChanges(changes: {
|
|
1068
1071
|
immediateValidation: SimpleChange;
|
|
@@ -1159,6 +1162,12 @@ declare class AdsDropdownComponent extends AbstractDropdownComponent implements
|
|
|
1159
1162
|
checkSelected: boolean;
|
|
1160
1163
|
/** Contains dropdown options */
|
|
1161
1164
|
options?: DropdownComponentOptions;
|
|
1165
|
+
/** Custom Option Template */
|
|
1166
|
+
optionTemplate?: TemplateRef<unknown>;
|
|
1167
|
+
/** Custom Trigger Template */
|
|
1168
|
+
triggerTemplate?: TemplateRef<unknown>;
|
|
1169
|
+
/** Custom Panel Class */
|
|
1170
|
+
panelClass?: string;
|
|
1162
1171
|
/** @ignore */
|
|
1163
1172
|
panel?: MatSelect;
|
|
1164
1173
|
/** @ignore */
|
|
@@ -1202,8 +1211,10 @@ declare class AdsDropdownComponent extends AbstractDropdownComponent implements
|
|
|
1202
1211
|
toggleOption(option: DropdownComponentOption): void;
|
|
1203
1212
|
/** @ignore */
|
|
1204
1213
|
onCheckboxChange(option: DropdownComponentOption): void;
|
|
1214
|
+
/** @ignore */
|
|
1215
|
+
get panelClassList(): string;
|
|
1205
1216
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsDropdownComponent, never>;
|
|
1206
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdsDropdownComponent, "ads-dropdown", never, { "displayValueFormatter": { "alias": "displayValueFormatter"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "hasEmptyValue": { "alias": "hasEmptyValue"; "required": false; }; "checkSelected": { "alias": "checkSelected"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, {}, never, never, false, never>;
|
|
1217
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsDropdownComponent, "ads-dropdown", never, { "displayValueFormatter": { "alias": "displayValueFormatter"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "hasEmptyValue": { "alias": "hasEmptyValue"; "required": false; }; "checkSelected": { "alias": "checkSelected"; "required": false; }; "options": { "alias": "options"; "required": false; }; "optionTemplate": { "alias": "optionTemplate"; "required": false; }; "triggerTemplate": { "alias": "triggerTemplate"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; }, {}, never, never, false, never>;
|
|
1207
1218
|
}
|
|
1208
1219
|
|
|
1209
1220
|
declare class AdsInputTooltipComponent {
|
|
@@ -1350,7 +1361,7 @@ declare class AdsInputComponent extends AbstractInputComponent implements OnInit
|
|
|
1350
1361
|
|
|
1351
1362
|
declare class AdsInputModule {
|
|
1352
1363
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputModule, never>;
|
|
1353
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsInputModule, [typeof AdsInputComponent], [typeof i2.CommonModule, typeof i4$3.MatFormFieldModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i4.AdsIconModule, typeof AdsInputTooltipComponent, typeof i3$1.MatIconButton, typeof AdsSuccessComponent, typeof AdsErrorComponent, typeof AdsHintComponent, typeof
|
|
1364
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsInputModule, [typeof AdsInputComponent], [typeof i2.CommonModule, typeof i4$3.MatFormFieldModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i4.AdsIconModule, typeof AdsInputTooltipComponent, typeof i3$1.MatIconButton, typeof AdsSuccessComponent, typeof AdsErrorComponent, typeof AdsHintComponent, typeof i3$4.NgxMaskDirective, typeof i13.MatAutocompleteTrigger], [typeof AdsInputComponent]>;
|
|
1354
1365
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsInputModule>;
|
|
1355
1366
|
}
|
|
1356
1367
|
|
|
@@ -1379,7 +1390,7 @@ declare class AdsPhoneFieldComponent extends AbstractInputComponent implements O
|
|
|
1379
1390
|
|
|
1380
1391
|
declare class AdsPhoneFieldModule {
|
|
1381
1392
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsPhoneFieldModule, never>;
|
|
1382
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsPhoneFieldModule, [typeof AdsPhoneFieldComponent], [typeof i2.CommonModule, typeof
|
|
1393
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsPhoneFieldModule, [typeof AdsPhoneFieldComponent], [typeof i2.CommonModule, typeof i3$4.NgxMaskDirective, typeof AdsInputModule], [typeof AdsPhoneFieldComponent]>;
|
|
1383
1394
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsPhoneFieldModule>;
|
|
1384
1395
|
}
|
|
1385
1396
|
|
|
@@ -1456,7 +1467,7 @@ declare class AdsInputDropdownComponent extends AbstractInputComponent implement
|
|
|
1456
1467
|
|
|
1457
1468
|
declare class AdsInputDropdownModule {
|
|
1458
1469
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsInputDropdownModule, never>;
|
|
1459
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsInputDropdownModule, [typeof AdsInputDropdownComponent], [typeof i2.CommonModule, typeof i3$
|
|
1470
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsInputDropdownModule, [typeof AdsInputDropdownComponent], [typeof i2.CommonModule, typeof i3$5.MatDividerModule, typeof i4$3.MatFormFieldModule, typeof i5$1.MatSelectModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i4.AdsIconModule, typeof AdsInputModule, typeof AdsDropdownModule, typeof AdsInputTooltipComponent, typeof AdsErrorComponent, typeof AdsHintComponent, typeof AdsSuccessComponent, typeof i3$4.NgxMaskDirective], [typeof AdsInputDropdownComponent]>;
|
|
1460
1471
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsInputDropdownModule>;
|
|
1461
1472
|
}
|
|
1462
1473
|
|
|
@@ -1674,7 +1685,7 @@ declare class AdsSearchDropdownHighlighterPipeModule {
|
|
|
1674
1685
|
|
|
1675
1686
|
declare class AdsSearchDropdownModule {
|
|
1676
1687
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSearchDropdownModule, never>;
|
|
1677
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsSearchDropdownModule, [typeof AdsSearchDropdownComponent], [typeof i2.CommonModule, typeof i4$3.MatFormFieldModule, typeof i4.AdsIconModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i13.MatAutocompleteModule, typeof i5$1.MatSelectModule, typeof AdsSearchDropdownHighlighterPipeModule, typeof i3$
|
|
1688
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsSearchDropdownModule, [typeof AdsSearchDropdownComponent], [typeof i2.CommonModule, typeof i4$3.MatFormFieldModule, typeof i4.AdsIconModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i13.MatAutocompleteModule, typeof i5$1.MatSelectModule, typeof AdsSearchDropdownHighlighterPipeModule, typeof i3$6.MatDatepickerModule, typeof i3$1.MatIconButton, typeof AdsInputTooltipComponent, typeof AdsErrorComponent, typeof AdsHintComponent, typeof AdsSuccessComponent], [typeof AdsSearchDropdownComponent]>;
|
|
1678
1689
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsSearchDropdownModule>;
|
|
1679
1690
|
}
|
|
1680
1691
|
|
|
@@ -1852,7 +1863,7 @@ declare class DateTimePickerFormatDirectiveModule {
|
|
|
1852
1863
|
|
|
1853
1864
|
declare class AdsDatetimepickerModule {
|
|
1854
1865
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsDatetimepickerModule, never>;
|
|
1855
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsDatetimepickerModule, [typeof AdsDatetimepickerComponent], [typeof i2.CommonModule, typeof i3$
|
|
1866
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsDatetimepickerModule, [typeof AdsDatetimepickerComponent], [typeof i2.CommonModule, typeof i3$6.MatDatepickerModule, typeof i4$3.MatFormFieldModule, typeof i5$3.MatNativeDatetimeModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i4.AdsIconModule, typeof i5$3.MatDatetimepickerModule, typeof i10.MatIconModule, typeof DateTimePickerFormatDirectiveModule, typeof i3$1.MatIconButton, typeof AdsInputTooltipComponent, typeof AdsErrorComponent, typeof AdsHintComponent, typeof AdsSuccessComponent], [typeof AdsDatetimepickerComponent]>;
|
|
1856
1867
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsDatetimepickerModule>;
|
|
1857
1868
|
}
|
|
1858
1869
|
|
|
@@ -1879,7 +1890,7 @@ declare class AdsDatepickerComponent extends AdsDatetimepickerComponent {
|
|
|
1879
1890
|
|
|
1880
1891
|
declare class AdsDatepickerModule {
|
|
1881
1892
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsDatepickerModule, never>;
|
|
1882
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsDatepickerModule, [typeof AdsDatepickerComponent], [typeof i2.CommonModule, typeof i3$
|
|
1893
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsDatepickerModule, [typeof AdsDatepickerComponent], [typeof i2.CommonModule, typeof i3$6.MatDatepickerModule, typeof i4$3.MatFormFieldModule, typeof i5$2.MatInputModule, typeof i6.MatNativeDateModule, typeof i5$3.MatNativeDatetimeModule, typeof i3$3.ReactiveFormsModule, typeof i4.AdsIconModule, typeof i5$3.MatDatetimepickerModule, typeof i10.MatIconModule, typeof DateTimePickerFormatDirectiveModule, typeof AdsInputTooltipComponent, typeof i3$1.MatIconButton, typeof AdsErrorComponent, typeof AdsHintComponent, typeof AdsSuccessComponent], [typeof AdsDatepickerComponent]>;
|
|
1883
1894
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsDatepickerModule>;
|
|
1884
1895
|
}
|
|
1885
1896
|
|
|
@@ -1907,7 +1918,7 @@ declare class AdsTimepickerComponent extends AdsDatetimepickerComponent {
|
|
|
1907
1918
|
|
|
1908
1919
|
declare class AdsTimepickerModule {
|
|
1909
1920
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsTimepickerModule, never>;
|
|
1910
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTimepickerModule, [typeof AdsTimepickerComponent], [typeof i2.CommonModule, typeof i5$3.MatDatetimepickerModule, typeof i3$
|
|
1921
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTimepickerModule, [typeof AdsTimepickerComponent], [typeof i2.CommonModule, typeof i5$3.MatDatetimepickerModule, typeof i3$6.MatDatepickerModule, typeof i4$3.MatFormFieldModule, typeof i5$3.MatNativeDatetimeModule, typeof i6.MatNativeDateModule, typeof i5$2.MatInputModule, typeof i3$3.ReactiveFormsModule, typeof i4.AdsIconModule, typeof i10.MatIconModule, typeof DateTimePickerFormatDirectiveModule, typeof i3$1.MatIconButton, typeof AdsInputTooltipComponent, typeof AdsErrorComponent, typeof AdsHintComponent, typeof AdsSuccessComponent], [typeof AdsTimepickerComponent]>;
|
|
1911
1922
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsTimepickerModule>;
|
|
1912
1923
|
}
|
|
1913
1924
|
|
|
@@ -2029,7 +2040,7 @@ declare enum PanelClass {
|
|
|
2029
2040
|
|
|
2030
2041
|
declare class AdsSnackbarModule {
|
|
2031
2042
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSnackbarModule, never>;
|
|
2032
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsSnackbarModule, [typeof AdsSnackbarComponent], [typeof AdsButtonModule, typeof i3$
|
|
2043
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsSnackbarModule, [typeof AdsSnackbarComponent], [typeof AdsButtonModule, typeof i3$7.MatSnackBarModule, typeof i2.CommonModule], [typeof AdsSnackbarComponent]>;
|
|
2033
2044
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsSnackbarModule>;
|
|
2034
2045
|
}
|
|
2035
2046
|
|
|
@@ -2195,7 +2206,7 @@ declare class AdsChipModule {
|
|
|
2195
2206
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsChipModule>;
|
|
2196
2207
|
}
|
|
2197
2208
|
|
|
2198
|
-
declare class AdsExpansionPanelComponent {
|
|
2209
|
+
declare class AdsExpansionPanelComponent implements AfterContentInit {
|
|
2199
2210
|
private registry;
|
|
2200
2211
|
constructor(registry: AdsIconRegistry);
|
|
2201
2212
|
/** The unique id of the chip */
|
|
@@ -2214,11 +2225,18 @@ declare class AdsExpansionPanelComponent {
|
|
|
2214
2225
|
disabled: i0.InputSignal<boolean>;
|
|
2215
2226
|
/** Component width. Must include units of measure: px, %, em, rem, etc. */
|
|
2216
2227
|
width: i0.InputSignal<string>;
|
|
2228
|
+
/** The Chevron Icon size () */
|
|
2229
|
+
chevronSize: i0.InputSignal<"base" | "xs">;
|
|
2230
|
+
/** Header padding size size () */
|
|
2231
|
+
headerPadding: i0.InputSignal<string>;
|
|
2232
|
+
/** Content padding size size () */
|
|
2233
|
+
contentPadding: i0.InputSignal<string>;
|
|
2217
2234
|
/** @ignore */
|
|
2218
2235
|
panel: MatExpansionPanel;
|
|
2219
2236
|
get expanded(): boolean;
|
|
2237
|
+
ngAfterContentInit(): void;
|
|
2220
2238
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsExpansionPanelComponent, never>;
|
|
2221
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdsExpansionPanelComponent, "ads-expansion-panel", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "chevronColor": { "alias": "chevronColor"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "headerTemplateData": { "alias": "headerTemplateData"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
2239
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsExpansionPanelComponent, "ads-expansion-panel", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "header": { "alias": "header"; "required": false; "isSignal": true; }; "chevronColor": { "alias": "chevronColor"; "required": false; "isSignal": true; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; "isSignal": true; }; "headerTemplateData": { "alias": "headerTemplateData"; "required": false; "isSignal": true; }; "isExpanded": { "alias": "isExpanded"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "chevronSize": { "alias": "chevronSize"; "required": false; "isSignal": true; }; "headerPadding": { "alias": "headerPadding"; "required": false; "isSignal": true; }; "contentPadding": { "alias": "contentPadding"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
2222
2240
|
}
|
|
2223
2241
|
|
|
2224
2242
|
declare class AdsExpansionPanelModule {
|
|
@@ -2342,6 +2360,8 @@ type NavItem = {
|
|
|
2342
2360
|
declare abstract class AbstractSideNavBarComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
2343
2361
|
/** The default expanded width for the sidebar */
|
|
2344
2362
|
defaultExpandedWidth: i0.InputSignal<number>;
|
|
2363
|
+
/** The max expanded width for the sidebar */
|
|
2364
|
+
maxExpandedWidth: i0.InputSignal<number>;
|
|
2345
2365
|
/** @ignore */
|
|
2346
2366
|
isCollapsed: i0.WritableSignal<boolean>;
|
|
2347
2367
|
/** @ignore */
|
|
@@ -2377,7 +2397,7 @@ declare abstract class AbstractSideNavBarComponent implements OnInit, AfterViewI
|
|
|
2377
2397
|
/** @ignore */
|
|
2378
2398
|
ngOnDestroy(): void;
|
|
2379
2399
|
static ɵfac: i0.ɵɵFactoryDeclaration<AbstractSideNavBarComponent, never>;
|
|
2380
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSideNavBarComponent, never, never, { "defaultExpandedWidth": { "alias": "defaultExpandedWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2400
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractSideNavBarComponent, never, never, { "defaultExpandedWidth": { "alias": "defaultExpandedWidth"; "required": false; "isSignal": true; }; "maxExpandedWidth": { "alias": "maxExpandedWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
2381
2401
|
}
|
|
2382
2402
|
|
|
2383
2403
|
declare class AdsSideNavBarComponent extends AbstractSideNavBarComponent {
|
|
@@ -2459,7 +2479,7 @@ declare class AdsScmsSideNavBarComponent extends AbstractSideNavBarComponent {
|
|
|
2459
2479
|
|
|
2460
2480
|
declare class AdsScmsSideNavBarModule {
|
|
2461
2481
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsScmsSideNavBarModule, never>;
|
|
2462
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsScmsSideNavBarModule, [typeof AdsScmsSideNavBarComponent], [typeof i2.CommonModule, typeof i4$8.SplitComponent, typeof i4$8.SplitAreaComponent, typeof i3$2.RouterLink, typeof i3$2.RouterLinkActive, typeof i4.AdsIconModule, typeof AdsDividerModule, typeof i7.MatAccordion, typeof i7.MatExpansionPanel, typeof i7.MatExpansionPanelDescription, typeof i7.MatExpansionPanelHeader, typeof i7.MatExpansionPanelTitle, typeof AdsAscentLogoModule, typeof i9.MatTooltip, typeof AdsBreadcrumbModule, typeof i4$7.MatMenu, typeof i12
|
|
2482
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsScmsSideNavBarModule, [typeof AdsScmsSideNavBarComponent], [typeof i2.CommonModule, typeof i4$8.SplitComponent, typeof i4$8.SplitAreaComponent, typeof i3$2.RouterLink, typeof i3$2.RouterLinkActive, typeof i4.AdsIconModule, typeof AdsDividerModule, typeof i7.MatAccordion, typeof i7.MatExpansionPanel, typeof i7.MatExpansionPanelDescription, typeof i7.MatExpansionPanelHeader, typeof i7.MatExpansionPanelTitle, typeof AdsAscentLogoModule, typeof i9.MatTooltip, typeof AdsBreadcrumbModule, typeof i4$7.MatMenu, typeof i12.MatToolbar, typeof i4$7.MatMenuTrigger, typeof i3$1.MatIconButton, typeof i3$2.RouterOutlet], [typeof AdsScmsSideNavBarComponent]>;
|
|
2463
2483
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsScmsSideNavBarModule>;
|
|
2464
2484
|
}
|
|
2465
2485
|
|
|
@@ -2566,7 +2586,7 @@ declare class AdsProfileDisplayModule {
|
|
|
2566
2586
|
|
|
2567
2587
|
declare class AdsMainMenuModule {
|
|
2568
2588
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsMainMenuModule, never>;
|
|
2569
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuModule, [typeof AdsMainMenuComponent], [typeof i2.CommonModule, typeof i3$
|
|
2589
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsMainMenuModule, [typeof AdsMainMenuComponent], [typeof i2.CommonModule, typeof i3$8.MatBottomSheetModule, typeof i4$9.MatListModule, typeof i4$7.MatMenuModule, typeof i4.AdsIconModule, typeof AdsMainMenuItemsModule, typeof AdsProfileDisplayModule, typeof i3$2.RouterModule], [typeof AdsMainMenuComponent]>;
|
|
2570
2590
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsMainMenuModule>;
|
|
2571
2591
|
}
|
|
2572
2592
|
|
|
@@ -2766,7 +2786,7 @@ declare class AdsTimeFieldComponent extends AdsInputDropdownComponent implements
|
|
|
2766
2786
|
|
|
2767
2787
|
declare class AdsTimeFieldModule {
|
|
2768
2788
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsTimeFieldModule, never>;
|
|
2769
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTimeFieldModule, [typeof AdsTimeFieldComponent], [typeof i2.CommonModule, typeof AdsInputDropdownModule, typeof i4.AdsIconModule, typeof i3$1.MatIconButton, typeof
|
|
2789
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsTimeFieldModule, [typeof AdsTimeFieldComponent], [typeof i2.CommonModule, typeof AdsInputDropdownModule, typeof i4.AdsIconModule, typeof i3$1.MatIconButton, typeof i3$4.NgxMaskDirective, typeof i3$3.ReactiveFormsModule, typeof AdsInputModule], [typeof AdsTimeFieldComponent]>;
|
|
2770
2790
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsTimeFieldModule>;
|
|
2771
2791
|
}
|
|
2772
2792
|
|
|
@@ -2944,5 +2964,60 @@ declare class AdsTabsModule {
|
|
|
2944
2964
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdsTabsModule>;
|
|
2945
2965
|
}
|
|
2946
2966
|
|
|
2947
|
-
|
|
2967
|
+
interface Option {
|
|
2968
|
+
name: string;
|
|
2969
|
+
code: string;
|
|
2970
|
+
iso: string;
|
|
2971
|
+
}
|
|
2972
|
+
declare class AdsInternationalPhoneFieldComponent extends AbstractInputComponent implements OnInit, AfterViewInit {
|
|
2973
|
+
/** Optional "id" attribute for dropdown field */
|
|
2974
|
+
dropdownId: string;
|
|
2975
|
+
wrapperRef: ElementRef;
|
|
2976
|
+
/** @ignore */
|
|
2977
|
+
phoneMask: string;
|
|
2978
|
+
/** @ignore */
|
|
2979
|
+
countryOptions: Option[];
|
|
2980
|
+
/** @ignore */
|
|
2981
|
+
flagBase64: {
|
|
2982
|
+
US: string;
|
|
2983
|
+
CA: string;
|
|
2984
|
+
MX: string;
|
|
2985
|
+
};
|
|
2986
|
+
/** @ignore */
|
|
2987
|
+
dropdownControl: FormControl;
|
|
2988
|
+
/** @ignore */
|
|
2989
|
+
inputControl: FormControl;
|
|
2990
|
+
/** @ignore */
|
|
2991
|
+
getNorthAmericanCountry(phone: string): Option;
|
|
2992
|
+
/** @ignore */
|
|
2993
|
+
ngOnInit(): void;
|
|
2994
|
+
/** @ignore */
|
|
2995
|
+
private parsePhoneNumber;
|
|
2996
|
+
/** @ignore */
|
|
2997
|
+
ngAfterViewInit(): void;
|
|
2998
|
+
/** @ignore */
|
|
2999
|
+
getFlag(option: Option): string;
|
|
3000
|
+
/** @ignore */
|
|
3001
|
+
onBlur: () => void;
|
|
3002
|
+
/** @ignore */
|
|
3003
|
+
protected validatePhoneNumber: () => void;
|
|
3004
|
+
/** @ignore */
|
|
3005
|
+
private provideValueToTheValueControl;
|
|
3006
|
+
/** @ignore */
|
|
3007
|
+
canShowError(): boolean;
|
|
3008
|
+
/** @ignore */
|
|
3009
|
+
canShowSuccess(): boolean;
|
|
3010
|
+
/** @ignore */
|
|
3011
|
+
displayFirstError(control?: FormControl): string;
|
|
3012
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsInternationalPhoneFieldComponent, never>;
|
|
3013
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsInternationalPhoneFieldComponent, "ads-international-phone-field", never, { "dropdownId": { "alias": "dropdownId"; "required": false; }; }, {}, never, never, false, never>;
|
|
3014
|
+
}
|
|
3015
|
+
|
|
3016
|
+
declare class AdsInternationalPhoneFieldModule {
|
|
3017
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdsInternationalPhoneFieldModule, never>;
|
|
3018
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdsInternationalPhoneFieldModule, [typeof AdsInternationalPhoneFieldComponent], [typeof i2.CommonModule, typeof i3$4.NgxMaskDirective, typeof AdsInputModule, typeof AdsDropdownModule, typeof AdsErrorComponent, typeof AdsHintComponent, typeof AdsInputTooltipComponent, typeof AdsSuccessComponent], [typeof AdsInternationalPhoneFieldComponent]>;
|
|
3019
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AdsInternationalPhoneFieldModule>;
|
|
3020
|
+
}
|
|
3021
|
+
|
|
3022
|
+
export { AdsAscentLogoComponent, AdsAscentLogoModule, AdsAvatarComponent, AdsAvatarModule, AdsBreadcrumbComponent, AdsBreadcrumbModule, AdsBubbleComponent, AdsBubbleModule, AdsButtonComponent, AdsButtonContainerComponent, AdsButtonContainerModule, AdsButtonModule, AdsCardComponent, AdsCardModule, AdsCheckboxComponent, AdsCheckboxModule, AdsChipComponent, AdsChipModule, AdsCreateTagComponent, AdsCreateTagModule, AdsDatepickerComponent, AdsDatepickerModule, AdsDatetimepickerComponent, AdsDatetimepickerModule, AdsDividerModule, AdsDragAndDropListComponent, AdsDragAndDropListModule, AdsDropdownComponent, AdsDropdownModule, AdsErrorPageCodeComponent, AdsErrorPageCodeModule, AdsErrorPageComponent, AdsErrorPageModule, AdsExpansionPanelComponent, AdsExpansionPanelModule, AdsFooterComponent, AdsFooterContainerComponent, AdsFooterContainerModule, AdsFooterModule, AdsHeaderComponent, AdsHeaderContainerComponent, AdsHeaderContainerModule, AdsHeaderModule, AdsHorizontalNavBarComponent, AdsHorizontalNavBarModule, AdsIconButtonComponent, AdsIconButtonModule, AdsIconHoverComponent, AdsIconHoverModule, AdsInputComponent, AdsInputDropdownComponent, AdsInputDropdownModule, AdsInputModule, AdsInternationalPhoneFieldComponent, AdsInternationalPhoneFieldModule, AdsLinkButtonComponent, AdsLinkButtonModule, AdsMainMenuComponent, AdsMainMenuModule, AdsModalComponent, AdsModalModule, AdsMultiSelectDropdownComponent, AdsMultiSelectDropdownModule, AdsNavMenuComponent, AdsNavMenuModule, AdsNavigationCollapseHandleComponent, AdsNavigationCollapseHandleModule, AdsNavigationComponent, AdsNavigationHeaderComponent, AdsNavigationHeaderModule, AdsNavigationItemComponent, AdsNavigationItemModule, AdsNavigationItemsContainerComponent, AdsNavigationItemsContainerModule, AdsNavigationModule, AdsNumericBadgeComponent, AdsNumericBadgeModule, AdsNumericStepperComponent, AdsNumericStepperModule, AdsOrgDisplayTextComponent, AdsOrgDisplayTextModule, AdsPeakEssentialsLogoComponent, AdsPeakEssentialsLogoModule, AdsPeakMarketplaceLogoComponent, AdsPeakMarketplaceLogoModule, AdsPeakOrderManagementLogoComponent, AdsPeakOrderManagementLogoModule, AdsPhoneFieldComponent, AdsPhoneFieldModule, AdsPrimaryLogoComponent, AdsPrimaryLogoModule, AdsProgressBarComponent, AdsProgressBarModule, AdsProgressIndicatorSpinnerComponent, AdsProgressIndicatorSpinnerModule, AdsProgressSpinnerComponent, AdsProgressSpinnerModule, AdsRadioButtonComponent, AdsRadioButtonModule, AdsScmsLogoComponent, AdsScmsLogoModule, AdsScmsSideNavBarComponent, AdsScmsSideNavBarModule, AdsSearchDropdownComponent, AdsSearchDropdownModule, AdsSearchInputComponent, AdsSearchInputModule, AdsShellLayoutModule, AdsSideNavBarComponent, AdsSideNavBarModule, AdsSlideToggle, AdsSlideToggleComponent, AdsSliderComponent, AdsSliderModule, AdsSnackbarComponent, AdsSnackbarModule, AdsSplashPageComponent, AdsSplashPageModule, AdsStepperComponent, AdsStepperModule, AdsTableComponent, AdsTableModule, AdsTabsComponent, AdsTabsModule, AdsTagComponent, AdsTagContainerComponent, AdsTagContainerModule, AdsTagModule, AdsTextareaComponent, AdsTextareaModule, AdsTimeFieldComponent, AdsTimeFieldModule, AdsTimepickerComponent, AdsTimepickerModule, AdsWizardStepperComponent, AdsWizardStepperModule, BadgeColor, Colors, CustomDatetimeAdapter, DividerComponent, ErrorPageDefault, MainMenuService, ModalActionType, ModalPanelClass, PanelClass, ShellLayoutComponent, SpinnerSize, StepStatus, TableBreakpoint, ViewportService, WindowService, WizardStepStatus };
|
|
2948
3023
|
export type { AdsModalData, Breadcrumb, Copyright, DROP_CALLBACK_INDEXES, DividerStyle, ErrorPageConfig, ErrorPageInfoColumn, HorizontalNavLink, IconButtonSize, Link, MainMenuItem, NavItem, NavMenuItem, NumericStep, ScmsNavItem, ScmsNavSubItem, Size, Step, Tab, Tag, UNSUBSCRIBE_FUNCTIONS_COLLECTION, Variant, WizardStep };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ascentgl/ads-ui",
|
|
3
|
-
"version": "20.0.
|
|
3
|
+
"version": "20.0.3",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@ascentgl/ads-icons": ">=
|
|
6
|
-
"@ascentgl/ads-utils": ">=
|
|
5
|
+
"@ascentgl/ads-icons": ">=20.0.1",
|
|
6
|
+
"@ascentgl/ads-utils": ">=20.0.1",
|
|
7
7
|
"@jsverse/transloco": ">=7.0.0",
|
|
8
8
|
"ag-grid-angular": "33.0.3",
|
|
9
9
|
"ag-grid-community": "33.0.3",
|
|
@@ -32,10 +32,6 @@
|
|
|
32
32
|
"types": "./src/lib/components/avatar/index.d.ts",
|
|
33
33
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-avatar.mjs"
|
|
34
34
|
},
|
|
35
|
-
"./src/lib/components/drag-and-drop-list": {
|
|
36
|
-
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
37
|
-
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
38
|
-
},
|
|
39
35
|
"./src/lib/components/footer": {
|
|
40
36
|
"types": "./src/lib/components/footer/index.d.ts",
|
|
41
37
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-footer.mjs"
|
|
@@ -52,6 +48,10 @@
|
|
|
52
48
|
"types": "./src/lib/components/splash-page/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-splash-page.mjs"
|
|
54
50
|
},
|
|
51
|
+
"./src/lib/components/drag-and-drop-list": {
|
|
52
|
+
"types": "./src/lib/components/drag-and-drop-list/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-drag-and-drop-list.mjs"
|
|
54
|
+
},
|
|
55
55
|
"./src/lib/components/buttons/button-container": {
|
|
56
56
|
"types": "./src/lib/components/buttons/button-container/index.d.ts",
|
|
57
57
|
"default": "./fesm2022/ascentgl-ads-ui-src-lib-components-buttons-button-container.mjs"
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'variables' as *;
|
|
3
|
-
|
|
4
|
-
@function color($key) {
|
|
5
|
-
@return var(--color- + $key);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@function font-weight($key) {
|
|
9
|
-
@return map.get($font-weights, $key);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@function font-size($key) {
|
|
13
|
-
@return map.get($font-sizes, $key);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@function spacing($key) {
|
|
17
|
-
@return map.get($spacings, $key);
|
|
18
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use 'variables' as *;
|
|
3
|
+
|
|
4
|
+
@function color($key) {
|
|
5
|
+
@return var(--color- + $key);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@function font-weight($key) {
|
|
9
|
+
@return map.get($font-weights, $key);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@function font-size($key) {
|
|
13
|
+
@return map.get($font-sizes, $key);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@function spacing($key) {
|
|
17
|
+
@return map.get($spacings, $key);
|
|
18
|
+
}
|
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
// Media Queries
|
|
2
|
-
@use 'functions' as *;
|
|
3
|
-
|
|
4
|
-
@mixin breakpoint($breakpoint) {
|
|
5
|
-
@if $breakpoint == xs {
|
|
6
|
-
@media screen and (min-width: 320px) and (max-width: 480px) {
|
|
7
|
-
@content;
|
|
8
|
-
}
|
|
9
|
-
} @else if $breakpoint == sm {
|
|
10
|
-
@media screen and (min-width: 481px) and (max-width: 768px) {
|
|
11
|
-
@content;
|
|
12
|
-
}
|
|
13
|
-
} @else if $breakpoint == md {
|
|
14
|
-
@media screen and (min-width: 769px) and (max-width: 1024px) {
|
|
15
|
-
@content;
|
|
16
|
-
}
|
|
17
|
-
} @else if $breakpoint == lg {
|
|
18
|
-
@media screen and (min-width: 1025px) and (max-width: 1200px) {
|
|
19
|
-
@content;
|
|
20
|
-
}
|
|
21
|
-
} @else if $breakpoint == xl {
|
|
22
|
-
@media screen and (min-width: 1201px) {
|
|
23
|
-
@content;
|
|
24
|
-
}
|
|
25
|
-
} @else if $breakpoint == lt-sm {
|
|
26
|
-
@media screen and (max-width: 480px) {
|
|
27
|
-
@content;
|
|
28
|
-
}
|
|
29
|
-
} @else if $breakpoint == lt-md {
|
|
30
|
-
@media screen and (max-width: 768px) {
|
|
31
|
-
@content;
|
|
32
|
-
}
|
|
33
|
-
} @else if $breakpoint == lt-lg {
|
|
34
|
-
@media screen and (max-width: 1024px) {
|
|
35
|
-
@content;
|
|
36
|
-
}
|
|
37
|
-
} @else if $breakpoint == lt-xl {
|
|
38
|
-
@media screen and (max-width: 1200px) {
|
|
39
|
-
@content;
|
|
40
|
-
}
|
|
41
|
-
} @else if $breakpoint == gt-xs {
|
|
42
|
-
@media screen and (min-width: 481px) {
|
|
43
|
-
@content;
|
|
44
|
-
}
|
|
45
|
-
} @else if $breakpoint == gt-sm {
|
|
46
|
-
@media screen and (min-width: 769px) {
|
|
47
|
-
@content;
|
|
48
|
-
}
|
|
49
|
-
} @else if $breakpoint == gt-md {
|
|
50
|
-
@media screen and (min-width: 1025px) {
|
|
51
|
-
@content;
|
|
52
|
-
}
|
|
53
|
-
} @else if $breakpoint == gt-lg {
|
|
54
|
-
@media screen and (min-width: 1201px) {
|
|
55
|
-
@content;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@mixin font-size($breakpoint: base) {
|
|
61
|
-
@if $breakpoint == xs {
|
|
62
|
-
font-size: 0.75rem;
|
|
63
|
-
} @else if $breakpoint == sm {
|
|
64
|
-
font-size: 0.875rem;
|
|
65
|
-
} @else if $breakpoint == base {
|
|
66
|
-
font-size: 1rem;
|
|
67
|
-
} @else if $breakpoint == lg {
|
|
68
|
-
font-size: 1.125rem;
|
|
69
|
-
} @else if $breakpoint == xl {
|
|
70
|
-
font-size: 1.25rem;
|
|
71
|
-
} @else if $breakpoint == 2xl {
|
|
72
|
-
font-size: 1.5rem;
|
|
73
|
-
} @else if $breakpoint == 3xl {
|
|
74
|
-
font-size: 1.875rem;
|
|
75
|
-
} @else if $breakpoint == 4xl {
|
|
76
|
-
font-size: 2.25rem;
|
|
77
|
-
} @else if $breakpoint == 5xl {
|
|
78
|
-
font-size: 3rem;
|
|
79
|
-
} @else if $breakpoint == 6xl {
|
|
80
|
-
font-size: 4rem;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@mixin background-color($theme: primary) {
|
|
85
|
-
background-color: color($theme);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@mixin color($theme: dark) {
|
|
89
|
-
color: color($theme);
|
|
90
|
-
}
|
|
1
|
+
// Media Queries
|
|
2
|
+
@use 'functions' as *;
|
|
3
|
+
|
|
4
|
+
@mixin breakpoint($breakpoint) {
|
|
5
|
+
@if $breakpoint == xs {
|
|
6
|
+
@media screen and (min-width: 320px) and (max-width: 480px) {
|
|
7
|
+
@content;
|
|
8
|
+
}
|
|
9
|
+
} @else if $breakpoint == sm {
|
|
10
|
+
@media screen and (min-width: 481px) and (max-width: 768px) {
|
|
11
|
+
@content;
|
|
12
|
+
}
|
|
13
|
+
} @else if $breakpoint == md {
|
|
14
|
+
@media screen and (min-width: 769px) and (max-width: 1024px) {
|
|
15
|
+
@content;
|
|
16
|
+
}
|
|
17
|
+
} @else if $breakpoint == lg {
|
|
18
|
+
@media screen and (min-width: 1025px) and (max-width: 1200px) {
|
|
19
|
+
@content;
|
|
20
|
+
}
|
|
21
|
+
} @else if $breakpoint == xl {
|
|
22
|
+
@media screen and (min-width: 1201px) {
|
|
23
|
+
@content;
|
|
24
|
+
}
|
|
25
|
+
} @else if $breakpoint == lt-sm {
|
|
26
|
+
@media screen and (max-width: 480px) {
|
|
27
|
+
@content;
|
|
28
|
+
}
|
|
29
|
+
} @else if $breakpoint == lt-md {
|
|
30
|
+
@media screen and (max-width: 768px) {
|
|
31
|
+
@content;
|
|
32
|
+
}
|
|
33
|
+
} @else if $breakpoint == lt-lg {
|
|
34
|
+
@media screen and (max-width: 1024px) {
|
|
35
|
+
@content;
|
|
36
|
+
}
|
|
37
|
+
} @else if $breakpoint == lt-xl {
|
|
38
|
+
@media screen and (max-width: 1200px) {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
} @else if $breakpoint == gt-xs {
|
|
42
|
+
@media screen and (min-width: 481px) {
|
|
43
|
+
@content;
|
|
44
|
+
}
|
|
45
|
+
} @else if $breakpoint == gt-sm {
|
|
46
|
+
@media screen and (min-width: 769px) {
|
|
47
|
+
@content;
|
|
48
|
+
}
|
|
49
|
+
} @else if $breakpoint == gt-md {
|
|
50
|
+
@media screen and (min-width: 1025px) {
|
|
51
|
+
@content;
|
|
52
|
+
}
|
|
53
|
+
} @else if $breakpoint == gt-lg {
|
|
54
|
+
@media screen and (min-width: 1201px) {
|
|
55
|
+
@content;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@mixin font-size($breakpoint: base) {
|
|
61
|
+
@if $breakpoint == xs {
|
|
62
|
+
font-size: 0.75rem;
|
|
63
|
+
} @else if $breakpoint == sm {
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
} @else if $breakpoint == base {
|
|
66
|
+
font-size: 1rem;
|
|
67
|
+
} @else if $breakpoint == lg {
|
|
68
|
+
font-size: 1.125rem;
|
|
69
|
+
} @else if $breakpoint == xl {
|
|
70
|
+
font-size: 1.25rem;
|
|
71
|
+
} @else if $breakpoint == 2xl {
|
|
72
|
+
font-size: 1.5rem;
|
|
73
|
+
} @else if $breakpoint == 3xl {
|
|
74
|
+
font-size: 1.875rem;
|
|
75
|
+
} @else if $breakpoint == 4xl {
|
|
76
|
+
font-size: 2.25rem;
|
|
77
|
+
} @else if $breakpoint == 5xl {
|
|
78
|
+
font-size: 3rem;
|
|
79
|
+
} @else if $breakpoint == 6xl {
|
|
80
|
+
font-size: 4rem;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@mixin background-color($theme: primary) {
|
|
85
|
+
background-color: color($theme);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin color($theme: dark) {
|
|
89
|
+
color: color($theme);
|
|
90
|
+
}
|