@ardium-ui/ui 2.0.2 → 2.0.4
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/esm2022/lib/_internal/boolean-component.mjs +1 -1
- package/esm2022/lib/_internal/clear-button/clear-button.component.mjs +3 -3
- package/esm2022/lib/_internal/disablable-component.mjs +1 -1
- package/esm2022/lib/_internal/focusable-component.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/item-storages/simplest-item-storage.mjs +1 -1
- package/esm2022/lib/_internal/models/pagination.model.mjs +1 -1
- package/esm2022/lib/_internal/ngmodel-component.mjs +1 -1
- package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
- package/esm2022/lib/badge/badge.directive.mjs +1 -1
- package/esm2022/lib/badge/index.mjs +1 -1
- package/esm2022/lib/buttons/_button-base.mjs +1 -1
- package/esm2022/lib/buttons/button/button.component.mjs +5 -3
- package/esm2022/lib/buttons/button/index.mjs +1 -1
- package/esm2022/lib/buttons/fab/fab.component.mjs +5 -3
- package/esm2022/lib/buttons/fab/index.mjs +1 -1
- package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +5 -3
- package/esm2022/lib/buttons/icon-button/index.mjs +1 -1
- package/esm2022/lib/card/card.children.mjs +3 -3
- package/esm2022/lib/card/card.component.mjs +1 -1
- package/esm2022/lib/card/index.mjs +1 -1
- package/esm2022/lib/checkbox/checkbox.component.mjs +3 -3
- package/esm2022/lib/checkbox/index.mjs +1 -1
- package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +3 -3
- package/esm2022/lib/checkbox-list/index.mjs +1 -1
- package/esm2022/lib/chip/chip.component.mjs +3 -3
- package/esm2022/lib/chip/deletable-chip/deletable-chip.component.mjs +3 -3
- package/esm2022/lib/chip/index.mjs +1 -1
- package/esm2022/lib/chip/selectable-chip/selectable-chip.component.mjs +3 -3
- package/esm2022/lib/color/color-display/color-display.component.mjs +3 -3
- package/esm2022/lib/color/color-display/index.mjs +1 -1
- package/esm2022/lib/color/color-picker/color-picker.types.mjs +1 -1
- package/esm2022/lib/dialog/dialog.component.mjs +3 -3
- package/esm2022/lib/dialog/dialog.types.mjs +1 -1
- package/esm2022/lib/dialog/index.mjs +1 -1
- package/esm2022/lib/divider/divider.component.mjs +1 -1
- package/esm2022/lib/divider/index.mjs +1 -1
- package/esm2022/lib/dropdown-panel/dropdown-panel.component.mjs +4 -4
- package/esm2022/lib/dropdown-panel/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +3 -3
- package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.module.mjs +1 -1
- package/esm2022/lib/file-inputs/file-drop-area/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +3 -3
- package/esm2022/lib/file-inputs/file-input/index.mjs +1 -1
- package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
- package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +3 -3
- package/esm2022/lib/form-field-frame/index.mjs +1 -1
- package/esm2022/lib/icon/icon.component.mjs +3 -3
- package/esm2022/lib/icon/index.mjs +1 -1
- package/esm2022/lib/inputs/color-input/color-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +3 -3
- package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
- package/esm2022/lib/inputs/digit-input/index.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +3 -3
- package/esm2022/lib/inputs/hex-input/hex-input.module.mjs +1 -1
- package/esm2022/lib/inputs/hex-input/index.mjs +1 -1
- package/esm2022/lib/inputs/hex-input.model.mjs +1 -1
- package/esm2022/lib/inputs/input/index.mjs +1 -1
- package/esm2022/lib/inputs/input/input.component.mjs +3 -3
- package/esm2022/lib/inputs/input/input.directives.mjs +1 -1
- package/esm2022/lib/inputs/input/input.module.mjs +1 -1
- package/esm2022/lib/inputs/input-transformers.mjs +1 -1
- package/esm2022/lib/inputs/input-utils.mjs +1 -1
- package/esm2022/lib/inputs/number-input/index.mjs +1 -1
- package/esm2022/lib/inputs/number-input/number-input.component.mjs +3 -3
- package/esm2022/lib/inputs/password-input/index.mjs +1 -1
- package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
- package/esm2022/lib/inputs/password-input/password-input.types.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/index.mjs +1 -1
- package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +3 -3
- package/esm2022/lib/kbd/index.mjs +1 -1
- package/esm2022/lib/kbd/kbd.component.mjs +3 -3
- package/esm2022/lib/kbd-shortcut/index.mjs +1 -1
- package/esm2022/lib/kbd-shortcut/kbd-shortcut.component.mjs +3 -3
- package/esm2022/lib/modal/index.mjs +1 -1
- package/esm2022/lib/modal/modal.component.mjs +3 -3
- package/esm2022/lib/option/index.mjs +1 -1
- package/esm2022/lib/option/option.component.mjs +1 -1
- package/esm2022/lib/progress-bar/index.mjs +1 -1
- package/esm2022/lib/progress-bar/progress-bar.component.mjs +3 -3
- package/esm2022/lib/progress-bar/progress-bar.types.mjs +1 -1
- package/esm2022/lib/progress-circle/index.mjs +1 -1
- package/esm2022/lib/progress-circle/progress-circle.component.mjs +3 -3
- package/esm2022/lib/progress-circle/progress-circle.types.mjs +1 -1
- package/esm2022/lib/radio/index.mjs +1 -1
- package/esm2022/lib/radio/radio/radio.component.mjs +3 -3
- package/esm2022/lib/radio/radio-group.component.mjs +1 -1
- package/esm2022/lib/search-functions.mjs +1 -1
- package/esm2022/lib/segment/index.mjs +1 -1
- package/esm2022/lib/segment/segment.component.mjs +3 -3
- package/esm2022/lib/segment/segment.directives.mjs +1 -1
- package/esm2022/lib/select/index.mjs +1 -1
- package/esm2022/lib/select/select.component.mjs +3 -3
- package/esm2022/lib/select/select.directive.mjs +1 -1
- package/esm2022/lib/select/select.types.mjs +1 -1
- package/esm2022/lib/slide-toggle/index.mjs +1 -1
- package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +3 -3
- package/esm2022/lib/slide-toggle/slide-toggle.types.mjs +1 -1
- package/esm2022/lib/slider/index.mjs +1 -1
- package/esm2022/lib/slider/range-slider/range-slider.component.mjs +3 -3
- package/esm2022/lib/slider/slider.component.mjs +3 -3
- package/esm2022/lib/slider/slider.module.mjs +1 -1
- package/esm2022/lib/slider/slider.types.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar-ref.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.component.mjs +3 -3
- package/esm2022/lib/snackbar/snackbar.service.mjs +1 -1
- package/esm2022/lib/snackbar/snackbar.types.mjs +1 -1
- package/esm2022/lib/spinner/index.mjs +1 -1
- package/esm2022/lib/spinner/spinner.component.mjs +3 -3
- package/esm2022/lib/star/index.mjs +1 -1
- package/esm2022/lib/star/star-button/index.mjs +1 -1
- package/esm2022/lib/star/star-button/star-button.component.mjs +3 -3
- package/esm2022/lib/star/star-display/index.mjs +1 -1
- package/esm2022/lib/star/star-display/star-display.component.mjs +3 -3
- package/esm2022/lib/star/star-input/index.mjs +1 -1
- package/esm2022/lib/star/star-input/star-input.component.mjs +3 -3
- package/esm2022/lib/star/star.component.mjs +3 -3
- package/esm2022/lib/statebox/index.mjs +1 -1
- package/esm2022/lib/statebox/statebox.component.mjs +3 -3
- package/esm2022/lib/statebox/statebox.types.mjs +1 -1
- package/esm2022/lib/tabber/index.mjs +1 -1
- package/esm2022/lib/tabber/tab/tab.component.mjs +3 -3
- package/esm2022/lib/tabber/tabber.component.mjs +3 -3
- package/esm2022/lib/tabber/tabber.module.mjs +1 -1
- package/esm2022/lib/table/index.mjs +1 -1
- package/esm2022/lib/table/table-item-storage.mjs +1 -1
- package/esm2022/lib/table/table.component.mjs +3 -3
- package/esm2022/lib/table/table.directives.mjs +1 -1
- package/esm2022/lib/table-from-csv/index.mjs +1 -1
- package/esm2022/lib/table-from-csv/table-from-csv.component.mjs +3 -3
- package/esm2022/lib/table-pagination/index.mjs +1 -1
- package/esm2022/lib/table-pagination/table-pagination.component.mjs +3 -3
- package/esm2022/lib/types/button.types.mjs +6 -0
- package/esm2022/lib/types/item-storage.types.mjs +1 -1
- package/esm2022/lib/types/utility.types.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/ardium-ui-ui.mjs +102 -93
- package/fesm2022/ardium-ui-ui.mjs.map +1 -1
- package/lib/buttons/button/button.component.d.ts +3 -1
- package/lib/buttons/fab/fab.component.d.ts +3 -1
- package/lib/buttons/icon-button/icon-button.component.d.ts +3 -1
- package/lib/types/button.types.d.ts +6 -0
- package/package.json +2 -2
- package/prebuilt-themes/default/buttons/button.css +9 -0
- package/prebuilt-themes/default/buttons/button.css.map +1 -1
- package/prebuilt-themes/default/buttons/icon-button.css +4 -2
- package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
- package/prebuilt-themes/default/card.css +3 -0
- package/prebuilt-themes/default/card.css.map +1 -1
- package/themes/default/_clear-button.scss +73 -73
- package/themes/default/badge.scss +94 -94
- package/themes/default/buttons/button.scss +72 -62
- package/themes/default/buttons/fab.scss +74 -74
- package/themes/default/buttons/icon-button.scss +62 -59
- package/themes/default/card.scss +129 -126
- package/themes/default/chips.scss +200 -200
- package/themes/default/core.scss +99 -99
- package/themes/default/inputs/digit-input.scss +56 -56
- package/themes/default/inputs/file-input.scss +85 -85
- package/themes/default/inputs/hex-input.scss +27 -27
- package/themes/default/modal.scss +93 -93
- package/themes/default/segment.scss +340 -340
- package/themes/default/select.scss +255 -255
- package/themes/default/snackbar.scss +58 -58
- package/themes/default/tabber.scss +86 -86
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { SimpleOneAxisAlignment } from '../../types/alignment.types';
|
|
2
|
+
import { ButtonType } from '../../types/button.types';
|
|
2
3
|
import { _ButtonBase } from '../_button-base';
|
|
3
4
|
import { ButtonVariant } from '../general-button.types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ArdiumButtonComponent extends _ButtonBase {
|
|
6
7
|
readonly icon: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
7
9
|
readonly variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
8
10
|
readonly alignIcon: import("@angular/core").InputSignal<SimpleOneAxisAlignment>;
|
|
9
11
|
readonly vertical: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
10
12
|
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumButtonComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumButtonComponent, "ard-button", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignIcon": { "alias": "alignIcon"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumButtonComponent, "ard-button", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "alignIcon": { "alias": "alignIcon"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
13
15
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { ButtonType } from '../../types/button.types';
|
|
1
2
|
import { _ButtonBase } from '../_button-base';
|
|
2
3
|
import { FABSize } from '../general-button.types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ArdiumFabComponent extends _ButtonBase {
|
|
6
|
+
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
5
7
|
readonly size: import("@angular/core").InputSignal<FABSize>;
|
|
6
8
|
readonly extended: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
7
9
|
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumFabComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumFabComponent, "ard-fab", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "extended": { "alias": "extended"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
10
12
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { _FocusableComponentBase } from '../../_internal/focusable-component';
|
|
2
|
+
import { ButtonType } from '../../types/button.types';
|
|
2
3
|
import { ComponentColor } from '../../types/colors.types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ArdiumIconButtonComponent extends _FocusableComponentBase {
|
|
5
6
|
readonly wrapperClasses: import("@angular/core").InputSignal<string>;
|
|
7
|
+
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
6
8
|
readonly color: import("@angular/core").InputSignal<ComponentColor>;
|
|
7
9
|
readonly lightColoring: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
8
10
|
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, any>;
|
|
9
11
|
readonly ngClasses: import("@angular/core").Signal<string>;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumIconButtonComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconButtonComponent, "ard-icon-button", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "lightColoring": { "alias": "lightColoring"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumIconButtonComponent, "ard-icon-button", never, { "wrapperClasses": { "alias": "wrapperClasses"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "lightColoring": { "alias": "lightColoring"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
12
14
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ardium-ui/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=18.0.0",
|
|
6
6
|
"@angular/core": ">=18.0.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"tslib": "^2.3.0",
|
|
12
12
|
"first-last": "^1.1.1",
|
|
13
13
|
"more-rounding": "^4.2.2",
|
|
14
|
-
"resolve-object-path": "^1.1.
|
|
14
|
+
"resolve-object-path": "^1.1.2",
|
|
15
15
|
"@ardium-ui/devkit": "^1.3.10",
|
|
16
16
|
"simple-bool": "^3.0.1",
|
|
17
17
|
"color": "^4.2.3"
|
|
@@ -20,6 +20,10 @@ ard-button {
|
|
|
20
20
|
height: 2.5em;
|
|
21
21
|
padding: 0 1.2em;
|
|
22
22
|
letter-spacing: 0.5px;
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-width: max-content;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
margin: 0;
|
|
23
27
|
}
|
|
24
28
|
.ard-button.ard-color-none {
|
|
25
29
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
@@ -239,6 +243,11 @@ ard-button {
|
|
|
239
243
|
.ard-button.ard-appearance-transparent.ard-light-coloring .ard-focus-overlay {
|
|
240
244
|
background: var(--ard-cmpcl--overlay-colored-light);
|
|
241
245
|
}
|
|
246
|
+
.ard-button .ard-button-content {
|
|
247
|
+
display: flex;
|
|
248
|
+
align-items: center;
|
|
249
|
+
gap: 0.875rem;
|
|
250
|
+
}
|
|
242
251
|
.ard-button.ard-align-left {
|
|
243
252
|
flex-direction: row;
|
|
244
253
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;;;AAGF;ECFE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDJA;EACA;EACA;EACA;EACA;EACA;;
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;;;AAGF;ECFE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDJA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AEhBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA,yBACE;;AFeF;EERA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFCE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;EACA,YGjCY;;AHmCZ;EAEE,YGpCW;;AHsCb;EACE,YGtCW;;AHyCf;EACE,YG7EC;EH8ED;EACA;;AAEA;EACE;;AAGJ;EACE,YGtFC;EHuFD;EACA;EAMA,YACE;;AALF;EACE;;AAMF;EAGE;EACA;;AAKF;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;ADjGJ;EACE;EACA;EACA;;AAIF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;EACA;EACA;;AAEF;EAEE;;AAEF;EACE;;AAEF;EACE;;AAIF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;;;AAMJ;ECyDA;EACA;;AAEA;EACE;EACA;;AAKA;AAAA;EAEE;;AAEF;EACE","file":"button.css"}
|
|
@@ -25,7 +25,7 @@ ard-icon-button {
|
|
|
25
25
|
padding: 0;
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
font-weight: 600;
|
|
28
|
-
color: var(--ard-cmpcl--bg-colored)
|
|
28
|
+
color: var(--ard-cmpcl--bg-colored);
|
|
29
29
|
}
|
|
30
30
|
.ard-icon-button.ard-color-none {
|
|
31
31
|
--ard-cmpcl--bg: var(--ard-bg);
|
|
@@ -253,7 +253,6 @@ ard-icon-button {
|
|
|
253
253
|
.ard-icon-button .ard-button-content > ard-icon {
|
|
254
254
|
font-weight: 500;
|
|
255
255
|
font-size: 1.5rem;
|
|
256
|
-
font-variation-settings: "FILL" 1;
|
|
257
256
|
}
|
|
258
257
|
.ard-icon-button.ard-compact {
|
|
259
258
|
font-size: 0.75rem;
|
|
@@ -265,6 +264,9 @@ ard-icon-button {
|
|
|
265
264
|
.ard-icon-button.ard-compact .ard-button-content > ard-icon {
|
|
266
265
|
font-size: 1.25rem;
|
|
267
266
|
}
|
|
267
|
+
.ard-icon-button.ard-light-coloring {
|
|
268
|
+
color: var(--ard-cmpcl--bg-colored-light);
|
|
269
|
+
}
|
|
268
270
|
|
|
269
271
|
ard-icon-button.ard-disabled > .ard-icon-button {
|
|
270
272
|
pointer-events: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/icon-button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;EACA;EACA;;;AAGF;ECJE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDFA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AElBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA,yBACE;;AFeF;EERA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFCE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;EACA,YGjCY;;AHmCZ;EAEE,YGpCW;;AHsCb;EACE,YGtCW;;AHyCf;EACE,YG7EC;EH8ED;EACA;;AAEA;EACE;;AAGJ;EACE,YGtFC;EHuFD;EACA;EAMA,YACE;;AALF;EACE;;AAMF;EAGE;EACA;;AAKF;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;AD/FJ;EACE;EACA;EACA;;AAEA;EACE;EACA
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/buttons/icon-button.scss","../../../../../projects/ui/src/themes/default/buttons/_button-mixins.scss","../../../../../projects/ui/src/themes/default/_coloring.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;EACE;EACA;EACA;EACA;EACA;;;AAGF;ECJE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EDFA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AElBA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;ADrHF;EEdA;EACA;EACA,yBACE;;AFeF;EERA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EFCE;;AAIA;EACE;;AAKF;EACE;;AAIF;EACE;;AAIJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;EACA;EACA;;AAEA;EACE;;AAGJ;EAEE;EACA,YGjCY;;AHmCZ;EAEE,YGpCW;;AHsCb;EACE,YGtCW;;AHyCf;EACE,YG7EC;EH8ED;EACA;;AAEA;EACE;;AAGJ;EACE,YGtFC;EHuFD;EACA;EAMA,YACE;;AALF;EACE;;AAMF;EAGE;EACA;;AAKF;EACE;;AAEF;EACE;;AAIJ;EACE;;AAEA;EACE;;AD/FJ;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAKJ;EACE;EACA;;AAEA;EACE;;AAEA;EACE;;AAKN;EACE;;;AAKF;ECuEA;EACA;;AAEA;EACE;EACA;;AAKA;AAAA;EAEE;;AAEF;EACE;;ADnFF;EACE","file":"icon-button.css"}
|
|
@@ -29,6 +29,7 @@ ard-card-header {
|
|
|
29
29
|
display: flex;
|
|
30
30
|
align-items: center;
|
|
31
31
|
margin-bottom: 1em;
|
|
32
|
+
max-width: 100%;
|
|
32
33
|
}
|
|
33
34
|
ard-card-header .ard-card-header-title-container {
|
|
34
35
|
display: flex;
|
|
@@ -92,6 +93,7 @@ ard-card-header:first-child {
|
|
|
92
93
|
.ard-card-content {
|
|
93
94
|
padding: 0 1em;
|
|
94
95
|
display: block;
|
|
96
|
+
max-width: 100%;
|
|
95
97
|
}
|
|
96
98
|
.ard-card-content:first-child {
|
|
97
99
|
padding-top: 1em;
|
|
@@ -108,6 +110,7 @@ ard-card-header:first-child {
|
|
|
108
110
|
display: flex;
|
|
109
111
|
flex-direction: row;
|
|
110
112
|
align-items: center;
|
|
113
|
+
max-width: 100%;
|
|
111
114
|
}
|
|
112
115
|
.ard-card-action-buttons.ard-align-left {
|
|
113
116
|
justify-content: flex-start;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/card.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;EAEE;EACA,YCLG;EDMH;EACA;EACA;EACA;;AAGA;AAAA;EACE;;AAEF;AAAA;EACE,YCgBU;;ADbZ;AAAA;EACE;;AAEF;AAAA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;;;AAGJ;AAAA;EAEE;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA,
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/card.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAEA;AAAA;EAEE;EACA,YCLG;EDMH;EACA;EACA;EACA;;AAGA;AAAA;EACE;;AAEF;AAAA;EACE,YCgBU;;ADbZ;AAAA;EACE;;AAEF;AAAA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;EACA;;AAGF;EACE;;;AAGJ;AAAA;EAEE;EACA;EACA;EACA;;;AAEF;EACE;EACA;EACA,OC/CK;;;ADiDP;EACE;EACA;EACA,OClDM;EDmDN;;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;EACA;;AAEF;EACE;EACA;;;AAIJ;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAGF;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE","file":"card.css"}
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
@use './mixins' as defaultMixins;
|
|
2
|
-
@import '../variables';
|
|
3
|
-
|
|
4
|
-
@mixin clearButton() {
|
|
5
|
-
ard-clear-button {
|
|
6
|
-
height: $clear-button-size;
|
|
7
|
-
width: $clear-button-size;
|
|
8
|
-
position: relative;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ard-clear-btn-wrapper {
|
|
12
|
-
cursor: pointer;
|
|
13
|
-
font-size: medium;
|
|
14
|
-
color: $detail;
|
|
15
|
-
width: $clear-button-size;
|
|
16
|
-
height: $clear-button-size;
|
|
17
|
-
line-height: 1em;
|
|
18
|
-
border-radius: 999px;
|
|
19
|
-
border: none;
|
|
20
|
-
padding: 0;
|
|
21
|
-
background: transparent;
|
|
22
|
-
position: absolute;
|
|
23
|
-
left: 50%;
|
|
24
|
-
top: 50%;
|
|
25
|
-
transform: translate(-50%, -50%);
|
|
26
|
-
outline: none;
|
|
27
|
-
color: inherit;
|
|
28
|
-
|
|
29
|
-
.ard-hitbox {
|
|
30
|
-
position: absolute;
|
|
31
|
-
left: -1px;
|
|
32
|
-
right: -1px;
|
|
33
|
-
top: -1px;
|
|
34
|
-
bottom: -1px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.ard-focus-overlay {
|
|
38
|
-
@include defaultMixins.focus-overlay(1px);
|
|
39
|
-
background: currentColor;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ard-clear-btn {
|
|
43
|
-
position: absolute;
|
|
44
|
-
left: 50%;
|
|
45
|
-
top: 50%;
|
|
46
|
-
transform: translate(-50%, -50%);
|
|
47
|
-
|
|
48
|
-
&::before {
|
|
49
|
-
content: 'close';
|
|
50
|
-
@include defaultMixins.icon;
|
|
51
|
-
font-size: 70%;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&:hover {
|
|
56
|
-
.ard-focus-overlay {
|
|
57
|
-
opacity: 5%;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:focus {
|
|
62
|
-
.ard-focus-overlay {
|
|
63
|
-
opacity: 8%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:active {
|
|
68
|
-
.ard-focus-overlay {
|
|
69
|
-
opacity: 15%;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
@use './mixins' as defaultMixins;
|
|
2
|
+
@import '../variables';
|
|
3
|
+
|
|
4
|
+
@mixin clearButton() {
|
|
5
|
+
ard-clear-button {
|
|
6
|
+
height: $clear-button-size;
|
|
7
|
+
width: $clear-button-size;
|
|
8
|
+
position: relative;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ard-clear-btn-wrapper {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
font-size: medium;
|
|
14
|
+
color: $detail;
|
|
15
|
+
width: $clear-button-size;
|
|
16
|
+
height: $clear-button-size;
|
|
17
|
+
line-height: 1em;
|
|
18
|
+
border-radius: 999px;
|
|
19
|
+
border: none;
|
|
20
|
+
padding: 0;
|
|
21
|
+
background: transparent;
|
|
22
|
+
position: absolute;
|
|
23
|
+
left: 50%;
|
|
24
|
+
top: 50%;
|
|
25
|
+
transform: translate(-50%, -50%);
|
|
26
|
+
outline: none;
|
|
27
|
+
color: inherit;
|
|
28
|
+
|
|
29
|
+
.ard-hitbox {
|
|
30
|
+
position: absolute;
|
|
31
|
+
left: -1px;
|
|
32
|
+
right: -1px;
|
|
33
|
+
top: -1px;
|
|
34
|
+
bottom: -1px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ard-focus-overlay {
|
|
38
|
+
@include defaultMixins.focus-overlay(1px);
|
|
39
|
+
background: currentColor;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ard-clear-btn {
|
|
43
|
+
position: absolute;
|
|
44
|
+
left: 50%;
|
|
45
|
+
top: 50%;
|
|
46
|
+
transform: translate(-50%, -50%);
|
|
47
|
+
|
|
48
|
+
&::before {
|
|
49
|
+
content: 'close';
|
|
50
|
+
@include defaultMixins.icon;
|
|
51
|
+
font-size: 70%;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:hover {
|
|
56
|
+
.ard-focus-overlay {
|
|
57
|
+
opacity: 5%;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus {
|
|
62
|
+
.ard-focus-overlay {
|
|
63
|
+
opacity: 8%;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:active {
|
|
68
|
+
.ard-focus-overlay {
|
|
69
|
+
opacity: 15%;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
@use './coloring' as CM;
|
|
2
|
-
|
|
3
|
-
.ard-badge-host {
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
.ard-badge {
|
|
7
|
-
@include CM.typeColors();
|
|
8
|
-
position: absolute;
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
pointer-events: none;
|
|
12
|
-
|
|
13
|
-
//! colors
|
|
14
|
-
background: var(--ard-cmpcl--bg-colored);
|
|
15
|
-
color: var(--ard-cmpcl--on-bg-colored);
|
|
16
|
-
|
|
17
|
-
//! variants
|
|
18
|
-
&.ard-variant-pill {
|
|
19
|
-
border-radius: 9999px;
|
|
20
|
-
}
|
|
21
|
-
&.ard-variant-rounded {
|
|
22
|
-
border-radius: calc(var(--ard-_badge-size) * 0.25);
|
|
23
|
-
}
|
|
24
|
-
&.ard-variant-sharp {
|
|
25
|
-
border-radius: 0;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
//! hidden
|
|
29
|
-
&.ard-badge-hidden {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
//! sizes
|
|
34
|
-
font-size: var(--ard-_badge-size);
|
|
35
|
-
min-width: calc(var(--ard-_badge-size) * 1.375);
|
|
36
|
-
height: calc(var(--ard-_badge-size) * 1.375);
|
|
37
|
-
|
|
38
|
-
.ard-badge-content {
|
|
39
|
-
padding: 0 calc(var(--ard-_badge-size) * 0.5);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&.ard-badge-size-small {
|
|
43
|
-
--ard-_badge-size: 0.55rem;
|
|
44
|
-
font-weight: 400;
|
|
45
|
-
letter-spacing: 0.2px;
|
|
46
|
-
}
|
|
47
|
-
&.ard-badge-size-medium {
|
|
48
|
-
--ard-_badge-size: 0.667rem;
|
|
49
|
-
font-weight: 500;
|
|
50
|
-
letter-spacing: 0.2px;
|
|
51
|
-
}
|
|
52
|
-
&.ard-badge-size-large {
|
|
53
|
-
--ard-_badge-size: 0.8125rem;
|
|
54
|
-
font-weight: 600;
|
|
55
|
-
letter-spacing: 0.2px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
//! overlap
|
|
59
|
-
--ard-_badge-overlap-offset-x: 0.3em;
|
|
60
|
-
|
|
61
|
-
&.ard-badge-overlap {
|
|
62
|
-
--ard-_badge-overlap-offset-x: 50%;
|
|
63
|
-
}
|
|
64
|
-
&.ard-badge-position-above-before {
|
|
65
|
-
transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
|
|
66
|
-
}
|
|
67
|
-
&.ard-badge-position-above-after {
|
|
68
|
-
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
|
|
69
|
-
}
|
|
70
|
-
&.ard-badge-position-below-after {
|
|
71
|
-
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
|
|
72
|
-
}
|
|
73
|
-
&.ard-badge-position-below-before {
|
|
74
|
-
transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
//! positions
|
|
78
|
-
&.ard-badge-position-above-before,
|
|
79
|
-
&.ard-badge-position-below-before {
|
|
80
|
-
right: 100%;
|
|
81
|
-
}
|
|
82
|
-
&.ard-badge-position-above-after,
|
|
83
|
-
&.ard-badge-position-below-after {
|
|
84
|
-
left: 100%;
|
|
85
|
-
}
|
|
86
|
-
&.ard-badge-position-below-before,
|
|
87
|
-
&.ard-badge-position-below-after {
|
|
88
|
-
top: 100%;
|
|
89
|
-
}
|
|
90
|
-
&.ard-badge-position-above-before,
|
|
91
|
-
&.ard-badge-position-above-after {
|
|
92
|
-
bottom: 100%;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
1
|
+
@use './coloring' as CM;
|
|
2
|
+
|
|
3
|
+
.ard-badge-host {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
.ard-badge {
|
|
7
|
+
@include CM.typeColors();
|
|
8
|
+
position: absolute;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
pointer-events: none;
|
|
12
|
+
|
|
13
|
+
//! colors
|
|
14
|
+
background: var(--ard-cmpcl--bg-colored);
|
|
15
|
+
color: var(--ard-cmpcl--on-bg-colored);
|
|
16
|
+
|
|
17
|
+
//! variants
|
|
18
|
+
&.ard-variant-pill {
|
|
19
|
+
border-radius: 9999px;
|
|
20
|
+
}
|
|
21
|
+
&.ard-variant-rounded {
|
|
22
|
+
border-radius: calc(var(--ard-_badge-size) * 0.25);
|
|
23
|
+
}
|
|
24
|
+
&.ard-variant-sharp {
|
|
25
|
+
border-radius: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//! hidden
|
|
29
|
+
&.ard-badge-hidden {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
//! sizes
|
|
34
|
+
font-size: var(--ard-_badge-size);
|
|
35
|
+
min-width: calc(var(--ard-_badge-size) * 1.375);
|
|
36
|
+
height: calc(var(--ard-_badge-size) * 1.375);
|
|
37
|
+
|
|
38
|
+
.ard-badge-content {
|
|
39
|
+
padding: 0 calc(var(--ard-_badge-size) * 0.5);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.ard-badge-size-small {
|
|
43
|
+
--ard-_badge-size: 0.55rem;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
letter-spacing: 0.2px;
|
|
46
|
+
}
|
|
47
|
+
&.ard-badge-size-medium {
|
|
48
|
+
--ard-_badge-size: 0.667rem;
|
|
49
|
+
font-weight: 500;
|
|
50
|
+
letter-spacing: 0.2px;
|
|
51
|
+
}
|
|
52
|
+
&.ard-badge-size-large {
|
|
53
|
+
--ard-_badge-size: 0.8125rem;
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
letter-spacing: 0.2px;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
//! overlap
|
|
59
|
+
--ard-_badge-overlap-offset-x: 0.3em;
|
|
60
|
+
|
|
61
|
+
&.ard-badge-overlap {
|
|
62
|
+
--ard-_badge-overlap-offset-x: 50%;
|
|
63
|
+
}
|
|
64
|
+
&.ard-badge-position-above-before {
|
|
65
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), 50%);
|
|
66
|
+
}
|
|
67
|
+
&.ard-badge-position-above-after {
|
|
68
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), 50%);
|
|
69
|
+
}
|
|
70
|
+
&.ard-badge-position-below-after {
|
|
71
|
+
transform: translate(calc(-1 * var(--ard-_badge-overlap-offset-x)), -50%);
|
|
72
|
+
}
|
|
73
|
+
&.ard-badge-position-below-before {
|
|
74
|
+
transform: translate(var(--ard-_badge-overlap-offset-x), -50%);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
//! positions
|
|
78
|
+
&.ard-badge-position-above-before,
|
|
79
|
+
&.ard-badge-position-below-before {
|
|
80
|
+
right: 100%;
|
|
81
|
+
}
|
|
82
|
+
&.ard-badge-position-above-after,
|
|
83
|
+
&.ard-badge-position-below-after {
|
|
84
|
+
left: 100%;
|
|
85
|
+
}
|
|
86
|
+
&.ard-badge-position-below-before,
|
|
87
|
+
&.ard-badge-position-below-after {
|
|
88
|
+
top: 100%;
|
|
89
|
+
}
|
|
90
|
+
&.ard-badge-position-above-before,
|
|
91
|
+
&.ard-badge-position-above-after {
|
|
92
|
+
bottom: 100%;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -1,62 +1,72 @@
|
|
|
1
|
-
@use './button-mixins' as shared;
|
|
2
|
-
|
|
3
|
-
ard-button {
|
|
4
|
-
display: block;
|
|
5
|
-
width: max-content;
|
|
6
|
-
height: max-content;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ard-button {
|
|
10
|
-
@include shared.button;
|
|
11
|
-
background: transparent;
|
|
12
|
-
gap: 6px;
|
|
13
|
-
font-size: 0.875rem;
|
|
14
|
-
height: 2.5em;
|
|
15
|
-
padding: 0 1.2em;
|
|
16
|
-
letter-spacing: 0.5px;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
&.ard-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
1
|
+
@use './button-mixins' as shared;
|
|
2
|
+
|
|
3
|
+
ard-button {
|
|
4
|
+
display: block;
|
|
5
|
+
width: max-content;
|
|
6
|
+
height: max-content;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.ard-button {
|
|
10
|
+
@include shared.button;
|
|
11
|
+
background: transparent;
|
|
12
|
+
gap: 6px;
|
|
13
|
+
font-size: 0.875rem;
|
|
14
|
+
height: 2.5em;
|
|
15
|
+
padding: 0 1.2em;
|
|
16
|
+
letter-spacing: 0.5px;
|
|
17
|
+
width: 100%;
|
|
18
|
+
min-width: max-content;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
margin: 0;
|
|
21
|
+
|
|
22
|
+
.ard-button-content {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 0.875rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//! aligns
|
|
29
|
+
&.ard-align-left {
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
}
|
|
32
|
+
&.ard-align-right {
|
|
33
|
+
flex-direction: row-reverse;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//! button variants
|
|
37
|
+
&.ard-button-vertical {
|
|
38
|
+
height: max-content;
|
|
39
|
+
padding: 0.3em 1em;
|
|
40
|
+
gap: 2px;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
}
|
|
43
|
+
&.ard-variant-rounded,
|
|
44
|
+
&.ard-variant-pill.ard-button-vertical {
|
|
45
|
+
border-radius: 6px;
|
|
46
|
+
}
|
|
47
|
+
&.ard-variant-pill:not(.ard-button-vertical) {
|
|
48
|
+
border-radius: 9999px;
|
|
49
|
+
}
|
|
50
|
+
&.ard-variant-sharp {
|
|
51
|
+
border-radius: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
//! compact
|
|
55
|
+
&.ard-compact {
|
|
56
|
+
font-size: 0.75rem;
|
|
57
|
+
height: 2.25em;
|
|
58
|
+
padding: 0 0.9em;
|
|
59
|
+
|
|
60
|
+
&.ard-button-vertical {
|
|
61
|
+
height: max-content;
|
|
62
|
+
padding: 0.2em 0.8em;
|
|
63
|
+
gap: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
ard-button.ard-disabled {
|
|
69
|
+
> .ard-button {
|
|
70
|
+
@include shared.button-disabled;
|
|
71
|
+
}
|
|
72
|
+
}
|