@ardium-ui/ui 3.3.0 → 3.4.2

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.
Files changed (32) hide show
  1. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
  2. package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
  3. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +1 -1
  4. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +3 -3
  5. package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
  6. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +84 -18
  7. package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +4 -1
  8. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +31 -7
  9. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +5 -4
  10. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  11. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  12. package/esm2022/lib/radio/radio/radio.component.mjs +1 -1
  13. package/esm2022/lib/radio/radio/radio.defaults.mjs +1 -1
  14. package/esm2022/lib/radio/radio-group.component.mjs +1 -1
  15. package/esm2022/lib/segment/segment.component.mjs +3 -3
  16. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +1 -1
  17. package/fesm2022/ardium-ui-ui.mjs +121 -28
  18. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  19. package/lib/inputs/digit-input/digit-input.component.d.ts +16 -4
  20. package/lib/inputs/digit-input/digit-input.defaults.d.ts +4 -1
  21. package/lib/inputs/digit-input/digit-input.model.d.ts +2 -0
  22. package/lib/inputs/digit-input/digit-input.module.d.ts +2 -1
  23. package/lib/inputs/digit-input/digit-input.types.d.ts +3 -1
  24. package/lib/inputs/digit-input/digit-input.utils.d.ts +2 -0
  25. package/lib/slider/range-slider/range-slider.component.d.ts +1 -1
  26. package/package.json +1 -1
  27. package/prebuilt-themes/default/inputs/digit-input.css +1 -0
  28. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  29. package/themes/default/inputs/digit-input.scss +1 -0
  30. package/themes/default/inputs/file-input.scss +79 -79
  31. package/themes/default/inputs/input.scss +45 -45
  32. package/themes/default/inputs/simple-input.scss +11 -11
@@ -1,15 +1,25 @@
1
- import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import { _FormFieldComponentBase } from '../../_internal/form-field-component';
4
4
  import { FormElementAppearance, FormElementVariant } from '../../types/theming.types';
5
5
  import { ArdDigitInputDefaults } from './digit-input.defaults';
6
- import { DigitInputConfig, DigitInputShape } from './digit-input.types';
6
+ import { DigitInputAutoFillParseFn, DigitInputConfig, DigitInputShape, DigitInputTransform } from './digit-input.types';
7
7
  import { DigitInputModelHost } from './digit-input.utils';
8
8
  import * as i0 from "@angular/core";
9
- export declare class ArdiumDigitInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, DigitInputModelHost, OnInit, AfterViewInit {
9
+ export declare class ArdiumDigitInputComponent extends _FormFieldComponentBase implements ControlValueAccessor, DigitInputModelHost, OnInit, AfterViewInit, OnDestroy {
10
10
  protected readonly _DEFAULTS: ArdDigitInputDefaults;
11
11
  constructor(defaults: ArdDigitInputDefaults);
12
+ private readonly _autoFillMonitor;
12
13
  readonly inputs: import("@angular/core").Signal<readonly ElementRef<HTMLInputElement>[]>;
14
+ readonly inputAttrs: import("@angular/core").InputSignal<Record<string, any>>;
15
+ private _setInputAttributes;
16
+ readonly autoFillParseFn: import("@angular/core").InputSignal<DigitInputAutoFillParseFn>;
17
+ readonly isAutofilled: import("@angular/core").WritableSignal<boolean>;
18
+ private readonly _wasAutofillValueRead;
19
+ private _autoFillSubs;
20
+ private _subscribeToAutoFillOnInputs;
21
+ private _unsubscribeFromAutoFill;
22
+ ngOnDestroy(): void;
13
23
  private readonly model;
14
24
  readonly appearance: import("@angular/core").InputSignal<FormElementAppearance>;
15
25
  readonly variant: import("@angular/core").InputSignal<FormElementVariant>;
@@ -18,6 +28,7 @@ export declare class ArdiumDigitInputComponent extends _FormFieldComponentBase i
18
28
  readonly ngClasses: import("@angular/core").Signal<string>;
19
29
  readonly config: import("@angular/core").InputSignalWithTransform<void, DigitInputConfig>;
20
30
  readonly configArrayData: import("@angular/core").Signal<import("./digit-input.utils").DigitInputConfigData[]>;
31
+ readonly transform: import("@angular/core").InputSignal<DigitInputTransform>;
21
32
  private _oldConfigArrayDataLength;
22
33
  readonly configArrayDataEffect: import("@angular/core").EffectRef;
23
34
  ngOnInit(): void;
@@ -38,6 +49,7 @@ export declare class ArdiumDigitInputComponent extends _FormFieldComponentBase i
38
49
  readonly blurIndexEvent: import("@angular/core").OutputEmitterRef<number>;
39
50
  onPaste(event: ClipboardEvent, index: number): void;
40
51
  onInput(event: Event, index: number): void;
52
+ private _handleMultiDigitChange;
41
53
  private _updateSingleInputValue;
42
54
  focusByIndex(index: number): boolean;
43
55
  focusByIndex(index: number, tryFocusingNext: boolean, direction: 1 | -1): boolean;
@@ -46,5 +58,5 @@ export declare class ArdiumDigitInputComponent extends _FormFieldComponentBase i
46
58
  protected _emitChange(): void;
47
59
  onKeydown(event: KeyboardEvent, index: number): void;
48
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDigitInputComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "outputAsString": { "alias": "outputAsString"; "required": false; "isSignal": true; }; "outputControlValueAccessorOnFinish": { "alias": "outputControlValueAccessorOnFinish"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<ArdiumDigitInputComponent, "ard-digit-input", never, { "inputAttrs": { "alias": "inputAttrs"; "required": false; "isSignal": true; }; "autoFillParseFn": { "alias": "autoFillParseFn"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "shape": { "alias": "shape"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "transform": { "alias": "transform"; "required": false; "isSignal": true; }; "outputAsString": { "alias": "outputAsString"; "required": false; "isSignal": true; }; "outputControlValueAccessorOnFinish": { "alias": "outputControlValueAccessorOnFinish"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; "finishedValue": "finishedValue"; "focusIndexEvent": "focusIndex"; "blurIndexEvent": "blurIndex"; }, never, never, false, never>;
50
62
  }
@@ -1,13 +1,16 @@
1
1
  import { InjectionToken, Provider } from '@angular/core';
2
2
  import { _FormFieldComponentDefaults } from '../../_internal/form-field-component';
3
3
  import { FormElementAppearance, FormElementVariant } from './../../types/theming.types';
4
- import { DigitInputShape } from './digit-input.types';
4
+ import { DigitInputAutoFillParseFn, DigitInputShape, DigitInputTransform } from './digit-input.types';
5
5
  export interface ArdDigitInputDefaults extends _FormFieldComponentDefaults {
6
6
  appearance: FormElementAppearance;
7
7
  variant: FormElementVariant;
8
8
  shape: DigitInputShape;
9
9
  compact: boolean;
10
10
  outputAsString: boolean;
11
+ transform: DigitInputTransform;
12
+ inputAttrs: Record<string, any>;
13
+ autoFillParseFn: DigitInputAutoFillParseFn;
11
14
  }
12
15
  export declare const ARD_DIGIT_INPUT_DEFAULTS: InjectionToken<ArdDigitInputDefaults>;
13
16
  export declare function provideDigitInputDefaults(config: Partial<ArdDigitInputDefaults>): Provider;
@@ -15,8 +15,10 @@ export declare class DigitInputModel {
15
15
  private _updateInputElements;
16
16
  setConfig(config: DigitInputConfig): void;
17
17
  private _setConfig;
18
+ resetInputValue(index: number): void;
18
19
  validateInputAndSetValue(input: string, index: number): null | {
19
20
  wasChanged: boolean;
21
+ wasValidChar: boolean;
20
22
  resultChar: string | null;
21
23
  };
22
24
  validateValueAndUpdate(): void;
@@ -1,8 +1,9 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./digit-input.component";
3
3
  import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/cdk/text-field";
4
5
  export declare class ArdiumDigitInputModule {
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumDigitInputModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumDigitInputModule, [typeof i1.ArdiumDigitInputComponent], [typeof i2.CommonModule], [typeof i1.ArdiumDigitInputComponent]>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ArdiumDigitInputModule, [typeof i1.ArdiumDigitInputComponent], [typeof i2.CommonModule, typeof i3.CdkAutofill], [typeof i1.ArdiumDigitInputComponent]>;
7
8
  static ɵinj: i0.ɵɵInjectorDeclaration<ArdiumDigitInputModule>;
8
9
  }
@@ -15,9 +15,10 @@ export declare const DigitInputPrimitiveOption: {
15
15
  readonly Special: "special";
16
16
  };
17
17
  export type DigitInputPrimitiveOption = (typeof DigitInputPrimitiveOption)[keyof typeof DigitInputPrimitiveOption];
18
+ export type DigitInputTransform = TransformType | ((char: string) => string) | null;
18
19
  export interface DigitInputAcceptObject {
19
20
  accept: string | RegExp | ((char: string, charsBefore: string) => boolean);
20
- transform?: TransformType | ((char: string) => string) | null;
21
+ transform?: DigitInputTransform;
21
22
  readonly?: boolean;
22
23
  placeholder?: string;
23
24
  }
@@ -26,3 +27,4 @@ export interface DigitInputStaticObject {
26
27
  }
27
28
  export type DigitInputOption = DigitInputAcceptObject | DigitInputStaticObject;
28
29
  export type DigitInputConfig = (DigitInputPrimitiveOption | DigitInputOption)[] | string | number;
30
+ export type DigitInputAutoFillParseFn = (autoFill: string) => string;
@@ -1,4 +1,5 @@
1
1
  import { ElementRef, Signal } from '@angular/core';
2
+ import { DigitInputTransform } from './digit-input.types';
2
3
  export interface DigitInputConfigData {
3
4
  type: DigitInputConfigDataType;
4
5
  char?: string;
@@ -9,6 +10,7 @@ export interface DigitInputConfigData {
9
10
  export interface DigitInputModelHost {
10
11
  readonly inputs: Signal<readonly ElementRef<HTMLInputElement>[]>;
11
12
  readonly outputAsString: Signal<boolean>;
13
+ readonly transform: Signal<DigitInputTransform>;
12
14
  }
13
15
  export declare const DigitInputConfigDataType: {
14
16
  readonly Input: "input";
@@ -26,7 +26,7 @@ export declare class ArdiumRangeSliderComponent extends _AbstractSlider<SliderRa
26
26
  onTrackHitboxPointerDown(event: MouseEvent | TouchEvent): void;
27
27
  onPointerMove(event: MouseEvent | TouchEvent): void;
28
28
  protected _percentValueToValue(percent: number, handleId: number): SliderRange;
29
- readonly currentHandle: import("@angular/core").WritableSignal<1 | 2 | null>;
29
+ readonly currentHandle: import("@angular/core").WritableSignal<2 | 1 | null>;
30
30
  onHandleFocus(event: FocusEvent, handleId: 1 | 2): void;
31
31
  onBlur(event: FocusEvent): void;
32
32
  static ɵfac: i0.ɵɵFactoryDeclaration<ArdiumRangeSliderComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ardium-ui/ui",
3
- "version": "3.3.0",
3
+ "version": "3.4.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18.0.0",
6
6
  "@angular/core": ">=18.0.0",
@@ -59,6 +59,7 @@ ard-digit-input {
59
59
  height: 100%;
60
60
  box-sizing: border-box;
61
61
  text-align: center;
62
+ color: var(--ard-text);
62
63
  caret-color: var(--ard-text3);
63
64
  background: var(--ard-appearance-background);
64
65
  border: var(--ard-appearance-border);
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/digit-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAEF;EAEE;EACA;;ACgBA;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;AD3CF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA,aE3BE;EF4BF;EACA;EACA;EACA;;AAEA;EACE,OElCA;EFmCA;;AAGF;EACE;;AAGJ;EACE;EACA;EACA;EACA;;AAIF;EACE;;AAIF;EACE;;AAEA;EACE;;AAMJ;EACE,cE2BO;;AFvBT;EACE,kBEVK;EFWL,cELM;;AFSV;EACE;;AAEF;EACE;;AAEF;EACE;;;AAIF;EACE;EACA","file":"digit-input.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../../../projects/ui/src/themes/default/inputs/digit-input.scss","../../../../../projects/ui/src/themes/default/_mixins.scss","../../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EACE;EACA;EACA;;;AAGF;AAAA;AAAA;AAAA;EAIE;EACA;;;AAEF;EAEE;EACA;;ACgBA;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;AD3CF;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA,OE7BC;EF8BD,aE5BE;EF6BF;EACA;EACA;EACA;;AAEA;EACE,OEnCA;EFoCA;;AAGF;EACE;;AAGJ;EACE;EACA;EACA;EACA;;AAIF;EACE;;AAIF;EACE;;AAEA;EACE;;AAMJ;EACE,cE0BO;;AFtBT;EACE,kBEXK;EFYL,cENM;;AFUV;EACE;;AAEF;EACE;;AAEF;EACE;;;AAIF;EACE;EACA","file":"digit-input.css"}
@@ -34,6 +34,7 @@ ard-digit-input {
34
34
  height: 100%;
35
35
  box-sizing: border-box;
36
36
  text-align: center;
37
+ color: ARD.$text;
37
38
  caret-color: ARD.$text3;
38
39
  background: var(--ard-appearance-background);
39
40
  border: var(--ard-appearance-border);
@@ -1,79 +1,79 @@
1
- @use './shared' as inputMixin;
2
- @use '../mixins' as defaultMixins;
3
- @use '../clear-button' as CB;
4
- @use '../coloring' as CM;
5
- @use '../../variables' as ARD;
6
-
7
- .ard-file-input-form-field-frame {
8
- .ard-form-field-overlay {
9
- display: none;
10
- }
11
- }
12
- .ard-file-input {
13
- @include CM.typeColors();
14
- @include inputMixin.genericInput();
15
- padding: 0 0 0 0.375rem;
16
- min-width: 10rem;
17
- max-width: 100%;
18
- gap: 0.125rem;
19
- cursor: default;
20
- border-radius: var(--ard-variant-border-radius);
21
-
22
- *:not(button):not(ard-clear-button) {
23
- pointer-events: none;
24
- user-select: none;
25
- }
26
-
27
- &.ard-state-dragover {
28
- outline: 2px solid var(--ard-cmpcl--content-light);
29
- }
30
-
31
- .ard-file-input__value {
32
- font-size: 92%;
33
- overflow: hidden;
34
- text-overflow: ellipsis;
35
- max-height: 1.25rem;
36
- }
37
- .ard-browse-button {
38
- cursor: pointer;
39
- height: calc(100% - 0.25rem);
40
- margin: 0.125rem;
41
- aspect-ratio: 1;
42
- border: none;
43
- background: none;
44
- padding: 0;
45
- position: relative;
46
- display: flex;
47
- justify-content: center;
48
- align-items: center;
49
- outline: none;
50
-
51
- .ard-focus-overlay {
52
- @include defaultMixins.focus-overlay();
53
- background: ARD.$overlay;
54
- border-radius: 9999px;
55
- }
56
- &:hover {
57
- .ard-focus-overlay {
58
- opacity: 4%;
59
- }
60
- }
61
- &:focus {
62
- .ard-focus-overlay {
63
- opacity: 8%;
64
- }
65
- }
66
- &:active {
67
- .ard-focus-overlay {
68
- opacity: 12%;
69
- }
70
- }
71
- &:focus-visible {
72
- .ard-focus-overlay {
73
- opacity: 16%;
74
- }
75
- }
76
- }
77
-
78
- @include CB.clearButton();
79
- }
1
+ @use './shared' as inputMixin;
2
+ @use '../mixins' as defaultMixins;
3
+ @use '../clear-button' as CB;
4
+ @use '../coloring' as CM;
5
+ @use '../../variables' as ARD;
6
+
7
+ .ard-file-input-form-field-frame {
8
+ .ard-form-field-overlay {
9
+ display: none;
10
+ }
11
+ }
12
+ .ard-file-input {
13
+ @include CM.typeColors();
14
+ @include inputMixin.genericInput();
15
+ padding: 0 0 0 0.375rem;
16
+ min-width: 10rem;
17
+ max-width: 100%;
18
+ gap: 0.125rem;
19
+ cursor: default;
20
+ border-radius: var(--ard-variant-border-radius);
21
+
22
+ *:not(button):not(ard-clear-button) {
23
+ pointer-events: none;
24
+ user-select: none;
25
+ }
26
+
27
+ &.ard-state-dragover {
28
+ outline: 2px solid var(--ard-cmpcl--content-light);
29
+ }
30
+
31
+ .ard-file-input__value {
32
+ font-size: 92%;
33
+ overflow: hidden;
34
+ text-overflow: ellipsis;
35
+ max-height: 1.25rem;
36
+ }
37
+ .ard-browse-button {
38
+ cursor: pointer;
39
+ height: calc(100% - 0.25rem);
40
+ margin: 0.125rem;
41
+ aspect-ratio: 1;
42
+ border: none;
43
+ background: none;
44
+ padding: 0;
45
+ position: relative;
46
+ display: flex;
47
+ justify-content: center;
48
+ align-items: center;
49
+ outline: none;
50
+
51
+ .ard-focus-overlay {
52
+ @include defaultMixins.focus-overlay();
53
+ background: ARD.$overlay;
54
+ border-radius: 9999px;
55
+ }
56
+ &:hover {
57
+ .ard-focus-overlay {
58
+ opacity: 4%;
59
+ }
60
+ }
61
+ &:focus {
62
+ .ard-focus-overlay {
63
+ opacity: 8%;
64
+ }
65
+ }
66
+ &:active {
67
+ .ard-focus-overlay {
68
+ opacity: 12%;
69
+ }
70
+ }
71
+ &:focus-visible {
72
+ .ard-focus-overlay {
73
+ opacity: 16%;
74
+ }
75
+ }
76
+ }
77
+
78
+ @include CB.clearButton();
79
+ }
@@ -1,46 +1,46 @@
1
- @use './shared' as inputMixin;
2
- @use '../mixins' as defaultMixins;
3
- @use '../clear-button' as CB;
4
- @use '../../variables' as ARD;
5
-
6
- .ard-input {
7
- @include inputMixin.genericInput();
8
- padding: 0 0.375rem;
9
- min-width: 10rem;
10
- max-width: 100%;
11
-
12
- @include CB.clearButton();
13
-
14
- .ard-autocomplete {
15
- opacity: 37.5%;
16
- }
17
- }
18
- //! suggestions
19
- .ard-input-suggestions-panel {
20
- .ard-option {
21
- padding: 0.375rem 0.625rem;
22
- font-size: 1rem;
23
- color: ARD.$text2;
24
- cursor: pointer;
25
-
26
- &.ard-option-highlighted {
27
- background: ARD.$darken-overlay-light;
28
- }
29
-
30
- &.ard-option-selected {
31
- font-weight: 500;
32
- background: ARD.$darken-overlay-medium;
33
- }
34
-
35
- &.ard-option-disabled {
36
- pointer-events: none;
37
- opacity: 50%;
38
- }
39
- }
40
- .ard-compact {
41
- .ard-option {
42
- padding: 0.25rem 0.5rem;
43
- font-size: 0.9rem;
44
- }
45
- }
1
+ @use './shared' as inputMixin;
2
+ @use '../mixins' as defaultMixins;
3
+ @use '../clear-button' as CB;
4
+ @use '../../variables' as ARD;
5
+
6
+ .ard-input {
7
+ @include inputMixin.genericInput();
8
+ padding: 0 0.375rem;
9
+ min-width: 10rem;
10
+ max-width: 100%;
11
+
12
+ @include CB.clearButton();
13
+
14
+ .ard-autocomplete {
15
+ opacity: 37.5%;
16
+ }
17
+ }
18
+ //! suggestions
19
+ .ard-input-suggestions-panel {
20
+ .ard-option {
21
+ padding: 0.375rem 0.625rem;
22
+ font-size: 1rem;
23
+ color: ARD.$text2;
24
+ cursor: pointer;
25
+
26
+ &.ard-option-highlighted {
27
+ background: ARD.$darken-overlay-light;
28
+ }
29
+
30
+ &.ard-option-selected {
31
+ font-weight: 500;
32
+ background: ARD.$darken-overlay-medium;
33
+ }
34
+
35
+ &.ard-option-disabled {
36
+ pointer-events: none;
37
+ opacity: 50%;
38
+ }
39
+ }
40
+ .ard-compact {
41
+ .ard-option {
42
+ padding: 0.25rem 0.5rem;
43
+ font-size: 0.9rem;
44
+ }
45
+ }
46
46
  }
@@ -1,12 +1,12 @@
1
- @use './shared' as inputMixin;
2
- @use '../mixins' as defaultMixins;
3
- @use '../clear-button' as CB;
4
-
5
- .ard-simple-input {
6
- @include inputMixin.genericInput();
7
- padding: 0 0.375rem;
8
- min-width: 10rem;
9
- max-width: 100%;
10
-
11
- @include CB.clearButton();
1
+ @use './shared' as inputMixin;
2
+ @use '../mixins' as defaultMixins;
3
+ @use '../clear-button' as CB;
4
+
5
+ .ard-simple-input {
6
+ @include inputMixin.genericInput();
7
+ padding: 0 0.375rem;
8
+ min-width: 10rem;
9
+ max-width: 100%;
10
+
11
+ @include CB.clearButton();
12
12
  }