@ardium-ui/ui 4.0.0 → 4.1.1

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 (173) hide show
  1. package/esm2022/lib/_internal/boolean-component.mjs +1 -1
  2. package/esm2022/lib/_internal/disablable-component.mjs +1 -1
  3. package/esm2022/lib/_internal/focusable-component.mjs +1 -1
  4. package/esm2022/lib/_internal/item-storages/dropdown-item-storage.mjs +1 -1
  5. package/esm2022/lib/_internal/item-storages/simple-item-storage.mjs +1 -1
  6. package/esm2022/lib/_internal/ngmodel-component.mjs +2 -2
  7. package/esm2022/lib/_internal/public-api.mjs +1 -1
  8. package/esm2022/lib/_internal/selectable-list-component.mjs +1 -1
  9. package/esm2022/lib/buttons/_button-base.defaults.mjs +1 -1
  10. package/esm2022/lib/buttons/_button-base.mjs +4 -2
  11. package/esm2022/lib/buttons/button/button.component.mjs +1 -1
  12. package/esm2022/lib/buttons/fab/fab.component.mjs +1 -1
  13. package/esm2022/lib/buttons/icon-button/icon-button.component.mjs +1 -1
  14. package/esm2022/lib/buttons/icon-button/icon-button.module.mjs +1 -1
  15. package/esm2022/lib/calendar/calendar.component.mjs +3 -3
  16. package/esm2022/lib/calendar/calendar.defaults.mjs +1 -1
  17. package/esm2022/lib/calendar/calendar.internal-types.mjs +1 -1
  18. package/esm2022/lib/calendar/calendar.module.mjs +1 -1
  19. package/esm2022/lib/calendar/calendar.types.mjs +1 -1
  20. package/esm2022/lib/calendar/index.mjs +1 -1
  21. package/esm2022/lib/calendar/views/days-view/days-view.component.mjs +3 -3
  22. package/esm2022/lib/calendar/views/days-view/days-view.helpers.mjs +1 -1
  23. package/esm2022/lib/calendar/views/months-view/months-view.component.mjs +3 -3
  24. package/esm2022/lib/calendar/views/months-view/months-view.helpers.mjs +1 -1
  25. package/esm2022/lib/calendar/views/years-view/years-view.component.mjs +3 -3
  26. package/esm2022/lib/calendar/views/years-view/years-view.helpers.mjs +1 -1
  27. package/esm2022/lib/checkbox-list/checkbox-list.component.mjs +3 -3
  28. package/esm2022/lib/checkbox-list/checkbox-list.module.mjs +1 -1
  29. package/esm2022/lib/dialog/dialog.component.mjs +3 -3
  30. package/esm2022/lib/dialog/dialog.defaults.mjs +1 -1
  31. package/esm2022/lib/dialog/dialog.directives.mjs +1 -1
  32. package/esm2022/lib/dialog/dialog.module.mjs +1 -1
  33. package/esm2022/lib/dialog/dialog.types.mjs +1 -1
  34. package/esm2022/lib/file-inputs/file-drop-area/file-drop-area.component.mjs +3 -3
  35. package/esm2022/lib/file-inputs/file-input/file-input.component.mjs +3 -3
  36. package/esm2022/lib/file-inputs/file-input-base.mjs +1 -1
  37. package/esm2022/lib/form-field/error/error.component.mjs +1 -1
  38. package/esm2022/lib/form-field/error/error.directive.mjs +1 -1
  39. package/esm2022/lib/form-field/form-field.component.mjs +4 -4
  40. package/esm2022/lib/form-field/form-field.module.mjs +1 -1
  41. package/esm2022/lib/form-field/hint/hint.component.mjs +1 -1
  42. package/esm2022/lib/form-field/hint/hint.directive.mjs +1 -1
  43. package/esm2022/lib/form-field/horizontal-form-field.component.mjs +3 -3
  44. package/esm2022/lib/form-field/index.mjs +1 -1
  45. package/esm2022/lib/form-field-frame/form-field-frame.component.mjs +1 -1
  46. package/esm2022/lib/inputs/_simple-input-base.mjs +2 -2
  47. package/esm2022/lib/inputs/date-input/date-input.component.mjs +3 -3
  48. package/esm2022/lib/inputs/date-input/date-input.defaults.mjs +1 -1
  49. package/esm2022/lib/inputs/date-input/date-input.directive.mjs +1 -1
  50. package/esm2022/lib/inputs/date-input/date-input.module.mjs +1 -1
  51. package/esm2022/lib/inputs/date-input/date-input.serializers.mjs +1 -1
  52. package/esm2022/lib/inputs/date-input/date-input.types.mjs +1 -1
  53. package/esm2022/lib/inputs/date-input/index.mjs +1 -1
  54. package/esm2022/lib/inputs/digit-input/digit-input.component.mjs +3 -3
  55. package/esm2022/lib/inputs/digit-input/digit-input.defaults.mjs +1 -1
  56. package/esm2022/lib/inputs/digit-input/digit-input.model.mjs +1 -1
  57. package/esm2022/lib/inputs/digit-input/digit-input.module.mjs +1 -1
  58. package/esm2022/lib/inputs/digit-input/digit-input.types.mjs +1 -1
  59. package/esm2022/lib/inputs/digit-input/digit-input.utils.mjs +1 -1
  60. package/esm2022/lib/inputs/hex-input/hex-input.component.mjs +3 -3
  61. package/esm2022/lib/inputs/hex-input/hex-input.defaults.mjs +1 -1
  62. package/esm2022/lib/inputs/input/input.component.mjs +3 -3
  63. package/esm2022/lib/inputs/input/input.module.mjs +1 -1
  64. package/esm2022/lib/inputs/input-utils.mjs +3 -3
  65. package/esm2022/lib/inputs/number-input/number-input.component.mjs +13 -4
  66. package/esm2022/lib/inputs/number-input/number-input.defaults.mjs +1 -1
  67. package/esm2022/lib/inputs/password-input/password-input.component.mjs +3 -3
  68. package/esm2022/lib/inputs/password-input/password-input.defaults.mjs +1 -1
  69. package/esm2022/lib/inputs/simple-input/simple-input.component.mjs +5 -5
  70. package/esm2022/lib/inputs/simple-input/simple-input.defaults.mjs +1 -1
  71. package/esm2022/lib/modal/index.mjs +1 -1
  72. package/esm2022/lib/modal/modal.component.mjs +3 -3
  73. package/esm2022/lib/modal/modal.defaults.mjs +1 -1
  74. package/esm2022/lib/modal/modal.directives.mjs +1 -1
  75. package/esm2022/lib/modal/modal.module.mjs +1 -1
  76. package/esm2022/lib/radio/radio/radio.component.mjs +1 -1
  77. package/esm2022/lib/radio/radio/radio.defaults.mjs +1 -1
  78. package/esm2022/lib/radio/radio-group.component.mjs +1 -1
  79. package/esm2022/lib/segment/segment.component.mjs +3 -3
  80. package/esm2022/lib/select/select.component.mjs +3 -3
  81. package/esm2022/lib/select/select.defaults.mjs +1 -1
  82. package/esm2022/lib/slide-toggle/slide-toggle.component.mjs +1 -1
  83. package/esm2022/lib/slider/range-slider/range-slider.component.mjs +1 -1
  84. package/esm2022/lib/slider/slider.component.mjs +3 -3
  85. package/esm2022/lib/star/index.mjs +1 -1
  86. package/esm2022/lib/star/rating-display/index.mjs +1 -1
  87. package/esm2022/lib/star/rating-display/rating-display.component.mjs +3 -3
  88. package/esm2022/lib/star/rating-display/rating-display.defaults.mjs +1 -1
  89. package/esm2022/lib/star/rating-display/rating-display.directives.mjs +1 -1
  90. package/esm2022/lib/star/rating-display/rating-display.module.mjs +1 -1
  91. package/esm2022/lib/star/rating-display/rating-display.types.mjs +1 -1
  92. package/esm2022/lib/star/rating-input/index.mjs +1 -1
  93. package/esm2022/lib/star/rating-input/rating-input.component.mjs +3 -3
  94. package/esm2022/lib/star/rating-input/rating-input.defaults.mjs +1 -1
  95. package/esm2022/lib/star/rating-input/rating-input.directives.mjs +2 -2
  96. package/esm2022/lib/star/rating-input/rating-input.module.mjs +1 -1
  97. package/esm2022/lib/star/rating-input/rating-input.types.mjs +1 -1
  98. package/esm2022/lib/star/star-button/index.mjs +1 -1
  99. package/esm2022/lib/star/star-button/star-button.component.mjs +4 -4
  100. package/esm2022/lib/star/star-button/star-button.defaults.mjs +1 -1
  101. package/esm2022/lib/star/star-button/star-button.directives.mjs +2 -2
  102. package/esm2022/lib/star/star-button/star-button.module.mjs +1 -1
  103. package/esm2022/lib/star/star-button/star-button.types.mjs +1 -1
  104. package/esm2022/lib/star/star.component.mjs +3 -3
  105. package/esm2022/lib/star/star.defaults.mjs +1 -1
  106. package/esm2022/lib/star/star.directives.mjs +2 -2
  107. package/esm2022/lib/star/star.module.mjs +1 -1
  108. package/esm2022/lib/star/star.types.mjs +1 -1
  109. package/esm2022/lib/text-list/index.mjs +1 -1
  110. package/esm2022/lib/text-list/text-list.component.mjs +3 -3
  111. package/esm2022/lib/text-list/text-list.module.mjs +1 -1
  112. package/esm2022/lib/text-list/text-list.pipe.mjs +1 -1
  113. package/esm2022/public-api.mjs +1 -1
  114. package/fesm2022/ardium-ui-ui.mjs +70 -59
  115. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  116. package/lib/dialog/dialog.types.d.ts +1 -1
  117. package/lib/inputs/date-input/date-input.types.d.ts +1 -1
  118. package/lib/inputs/number-input/number-input.component.d.ts +3 -1
  119. package/lib/star/rating-input/rating-input.directives.d.ts +2 -2
  120. package/lib/star/rating-input/rating-input.types.d.ts +1 -1
  121. package/lib/star/star-button/star-button.directives.d.ts +2 -2
  122. package/lib/star/star-button/star-button.types.d.ts +1 -1
  123. package/lib/star/star.directives.d.ts +2 -2
  124. package/package.json +1 -1
  125. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  126. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  127. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  128. package/prebuilt-themes/default/calendar-OLD.css.map +1 -1
  129. package/prebuilt-themes/default/calendar.css.map +1 -1
  130. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  131. package/prebuilt-themes/default/checkbox.css.map +1 -1
  132. package/prebuilt-themes/default/chips.css.map +1 -1
  133. package/prebuilt-themes/default/form-field-frame.css.map +1 -1
  134. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  135. package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
  136. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  137. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  138. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  139. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  140. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  141. package/prebuilt-themes/default/inputs/search-bar.css.map +1 -1
  142. package/prebuilt-themes/default/inputs/simple-input.css.map +1 -1
  143. package/prebuilt-themes/default/radio.css.map +1 -1
  144. package/prebuilt-themes/default/segment.css.map +1 -1
  145. package/prebuilt-themes/default/select.css.map +1 -1
  146. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  147. package/prebuilt-themes/default/slider.css.map +1 -1
  148. package/prebuilt-themes/default/stars.css.map +1 -1
  149. package/prebuilt-themes/default/statebox.css.map +1 -1
  150. package/prebuilt-themes/default/tabber.css.map +1 -1
  151. package/themes/_variables.scss +121 -121
  152. package/themes/default/_mixins.scss +8 -2
  153. package/themes/default/buttons/_button-mixins.scss +3 -1
  154. package/themes/default/buttons/button.scss +79 -79
  155. package/themes/default/buttons/fab.scss +81 -81
  156. package/themes/default/buttons/icon-button.scss +62 -62
  157. package/themes/default/calendar-OLD.scss +183 -183
  158. package/themes/default/calendar.scss +4 -2
  159. package/themes/default/card.scss +135 -135
  160. package/themes/default/core.scss +102 -102
  161. package/themes/default/form-field-frame.scss +3 -1
  162. package/themes/default/form-field.scss +2 -2
  163. package/themes/default/inputs/_shared.scss +50 -50
  164. package/themes/default/inputs/date-input.scss +4 -5
  165. package/themes/default/inputs/digit-input.scss +3 -1
  166. package/themes/default/inputs/file-input.scss +79 -79
  167. package/themes/default/inputs/input.scss +1 -1
  168. package/themes/default/inputs/number-input.scss +131 -131
  169. package/themes/default/inputs/simple-input.scss +1 -1
  170. package/themes/default/kbd.scss +21 -21
  171. package/themes/default/modal.scss +94 -94
  172. package/themes/default/spinner.scss +21 -21
  173. package/themes/default/stars.scss +85 -85
@@ -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
+ }
@@ -43,4 +43,4 @@
43
43
  font-size: 0.9rem;
44
44
  }
45
45
  }
46
- }
46
+ }
@@ -1,131 +1,131 @@
1
- @use './shared' as inputMixin;
2
- @use '../mixins' as defaultMixins;
3
- @use '../../variables' as ARD;
4
-
5
- ard-number-input {
6
- width: 9.5rem;
7
-
8
- &:not(:has(.ard-quick-change-button)) {
9
- width: 6rem;
10
- }
11
- }
12
-
13
- .ard-number-input {
14
- @include inputMixin.genericInput();
15
- @include defaultMixins.formAppearances();
16
- min-height: 2.1875rem;
17
- height: 2.1875rem;
18
- gap: 0;
19
- width: 100%;
20
-
21
- .ard-input-container {
22
- height: 100%;
23
- max-width: 100%;
24
-
25
- & > input {
26
- width: 100%;
27
- }
28
- }
29
-
30
- .ard-quick-change-button {
31
- position: relative;
32
-
33
- .ard-button {
34
- height: 100%;
35
- aspect-ratio: 1;
36
- padding: 0;
37
- border-color: var(--ard-appearance-border-color);
38
- display: flex;
39
- justify-content: center;
40
- margin: 0;
41
- }
42
- &.ard-disabled .ard-focus-overlay {
43
- opacity: 0;
44
- }
45
-
46
- &.decrement {
47
- left: 1px;
48
-
49
- .ard-button {
50
- border-top-right-radius: 0;
51
- border-bottom-right-radius: 0;
52
- }
53
- }
54
- &.increment {
55
- right: 1px;
56
-
57
- .ard-button {
58
- border-top-left-radius: 0;
59
- border-bottom-left-radius: 0;
60
- }
61
- }
62
- }
63
-
64
- //! variants
65
- &.ard-variant-rounded {
66
- border-radius: 8px;
67
-
68
- &.ard-quick-change-false {
69
- .ard-input-container {
70
- border-radius: 8px;
71
- }
72
- }
73
- }
74
- &.ard-variant-sharp {
75
- border-radius: 0;
76
- }
77
- &.ard-variant-pill {
78
- border-radius: 9999px;
79
-
80
- .ard-button {
81
- border-radius: 9999px !important;
82
- height: 30px;
83
- width: 30px;
84
- margin: 0 2px;
85
- }
86
-
87
- &.ard-quick-change-false {
88
- .ard-input-container {
89
- border-radius: 9999px;
90
- }
91
- }
92
- }
93
-
94
- //! variant-specific appearances
95
- &.ard-variant-rounded,
96
- &.ard-variant-sharp {
97
- &:not(.ard-appearance-filled) .ard-input-container {
98
- box-sizing: border-box;
99
- background: var(--ard-appearance-background);
100
- border: var(--ard-appearance-border);
101
- }
102
- &.ard-appearance-filled {
103
- background: var(--ard-appearance-background);
104
- border: var(--ard-appearance-border);
105
- }
106
- }
107
- &.ard-variant-pill {
108
- background: var(--ard-appearance-background);
109
- border: var(--ard-appearance-border);
110
- }
111
-
112
- //! compact
113
- &.ard-compact {
114
- min-height: 1.6875rem;
115
- height: 1.6875rem;
116
- font-size: 0.925rem;
117
- }
118
- }
119
-
120
- .ard-disabled {
121
- > .ard-number-input {
122
- pointer-events: none;
123
- opacity: 50%;
124
-
125
- .ard-button .ard-focus-overlay {
126
- opacity: 0;
127
- }
128
-
129
- background: ARD.$bg-f;
130
- }
131
- }
1
+ @use './shared' as inputMixin;
2
+ @use '../mixins' as defaultMixins;
3
+ @use '../../variables' as ARD;
4
+
5
+ ard-number-input {
6
+ width: 9.5rem;
7
+
8
+ &:not(:has(.ard-quick-change-button)) {
9
+ width: 6rem;
10
+ }
11
+ }
12
+
13
+ .ard-number-input {
14
+ @include inputMixin.genericInput();
15
+ @include defaultMixins.formAppearances();
16
+ min-height: 2.1875rem;
17
+ height: 2.1875rem;
18
+ gap: 0;
19
+ width: 100%;
20
+
21
+ .ard-input-container {
22
+ height: 100%;
23
+ max-width: 100%;
24
+
25
+ & > input {
26
+ width: 100%;
27
+ }
28
+ }
29
+
30
+ .ard-quick-change-button {
31
+ position: relative;
32
+
33
+ .ard-button {
34
+ height: 100%;
35
+ aspect-ratio: 1;
36
+ padding: 0;
37
+ border-color: var(--ard-appearance-border-color);
38
+ display: flex;
39
+ justify-content: center;
40
+ margin: 0;
41
+ }
42
+ &.ard-disabled .ard-focus-overlay {
43
+ opacity: 0;
44
+ }
45
+
46
+ &.decrement {
47
+ left: 1px;
48
+
49
+ .ard-button {
50
+ border-top-right-radius: 0;
51
+ border-bottom-right-radius: 0;
52
+ }
53
+ }
54
+ &.increment {
55
+ right: 1px;
56
+
57
+ .ard-button {
58
+ border-top-left-radius: 0;
59
+ border-bottom-left-radius: 0;
60
+ }
61
+ }
62
+ }
63
+
64
+ //! variants
65
+ &.ard-variant-rounded {
66
+ border-radius: 8px;
67
+
68
+ &.ard-quick-change-false {
69
+ .ard-input-container {
70
+ border-radius: 8px;
71
+ }
72
+ }
73
+ }
74
+ &.ard-variant-sharp {
75
+ border-radius: 0;
76
+ }
77
+ &.ard-variant-pill {
78
+ border-radius: 9999px;
79
+
80
+ .ard-button {
81
+ border-radius: 9999px !important;
82
+ height: 30px;
83
+ width: 30px;
84
+ margin: 0 2px;
85
+ }
86
+
87
+ &.ard-quick-change-false {
88
+ .ard-input-container {
89
+ border-radius: 9999px;
90
+ }
91
+ }
92
+ }
93
+
94
+ //! variant-specific appearances
95
+ &.ard-variant-rounded,
96
+ &.ard-variant-sharp {
97
+ &:not(.ard-appearance-filled) .ard-input-container {
98
+ box-sizing: border-box;
99
+ background: var(--ard-appearance-background);
100
+ border: var(--ard-appearance-border);
101
+ }
102
+ &.ard-appearance-filled {
103
+ background: var(--ard-appearance-background);
104
+ border: var(--ard-appearance-border);
105
+ }
106
+ }
107
+ &.ard-variant-pill {
108
+ background: var(--ard-appearance-background);
109
+ border: var(--ard-appearance-border);
110
+ }
111
+
112
+ //! compact
113
+ &.ard-compact {
114
+ min-height: 1.6875rem;
115
+ height: 1.6875rem;
116
+ font-size: 0.925rem;
117
+ }
118
+ }
119
+
120
+ .ard-disabled {
121
+ > .ard-number-input {
122
+ pointer-events: none;
123
+ opacity: 50%;
124
+
125
+ .ard-button .ard-focus-overlay {
126
+ opacity: 0;
127
+ }
128
+
129
+ background: ARD.$bg-f;
130
+ }
131
+ }
@@ -9,4 +9,4 @@
9
9
  max-width: 100%;
10
10
 
11
11
  @include CB.clearButton();
12
- }
12
+ }
@@ -1,21 +1,21 @@
1
- @use '../variables' as ARD;
2
-
3
- .ard-kbd {
4
- border-radius: 0.2em;
5
- font-family: monospace;
6
- font-size: 0.9em;
7
- margin: 0 0.125em;
8
- color: ARD.$text2;
9
-
10
- //! appearance
11
- &.ard-appearance-outlined,
12
- &.ard-appearance-filled {
13
- border: 1px solid ARD.$detail-ultralight;
14
- box-shadow: inset 0 -1px 0 ARD.$darken-overlay;
15
- padding: 0.15em 0.35em;
16
- background-color: ARD.$bg;
17
- }
18
- &.ard-appearance-filled {
19
- background: ARD.$bg-d;
20
- }
21
- }
1
+ @use '../variables' as ARD;
2
+
3
+ .ard-kbd {
4
+ border-radius: 0.2em;
5
+ font-family: monospace;
6
+ font-size: 0.9em;
7
+ margin: 0 0.125em;
8
+ color: ARD.$text2;
9
+
10
+ //! appearance
11
+ &.ard-appearance-outlined,
12
+ &.ard-appearance-filled {
13
+ border: 1px solid ARD.$detail-ultralight;
14
+ box-shadow: inset 0 -1px 0 ARD.$darken-overlay;
15
+ padding: 0.15em 0.35em;
16
+ background-color: ARD.$bg;
17
+ }
18
+ &.ard-appearance-filled {
19
+ background: ARD.$bg-d;
20
+ }
21
+ }
@@ -1,94 +1,94 @@
1
- @use '../variables' as ARD;
2
-
3
- .ard-modal {
4
- position: fixed;
5
- top: 0;
6
- bottom: 0;
7
- left: 0;
8
- right: 0;
9
- display: grid;
10
- place-items: center;
11
-
12
- &.ard-modal-backdrop {
13
- background: ARD.$darken-overlay-strong;
14
- }
15
- .ard-modal-panel {
16
- padding: 1.25rem;
17
- padding-top: 1rem;
18
- background: ARD.$bg;
19
- max-width: calc(100vw - 4rem);
20
- position: relative;
21
- display: flex;
22
- flex-direction: column;
23
- align-items: flex-start;
24
- gap: 1.5rem;
25
-
26
- &.ard-modal-no-heading-text {
27
- gap: 0.25rem;
28
-
29
- .ard-modal-close-button {
30
- position: absolute;
31
- right: 0.5rem;
32
- top: 0.5rem;
33
- }
34
- }
35
- &.ard-modal-has-close-button {
36
- .ard-modal-heading {
37
- padding-right: 2rem;
38
- }
39
- }
40
- }
41
- .ard-modal-heading {
42
- display: flex;
43
- align-items: flex-start;
44
- justify-content: space-between;
45
-
46
- .ard-modal-heading-text {
47
- font-size: 1.25rem;
48
- color: ARD.$text;
49
- font-weight: 500;
50
- font-family: Roboto;
51
- }
52
- .ard-modal-close-button {
53
- position: absolute;
54
- right: 0.5rem;
55
- top: 0.5rem;
56
- }
57
- }
58
- //! appearances
59
- &.ard-appearance-raised {
60
- .ard-modal-panel {
61
- box-shadow: ARD.$simple-shadow2;
62
- }
63
- }
64
- //! variants
65
- &.ard-variant-rounded {
66
- .ard-modal-panel {
67
- border-radius: 8px;
68
- }
69
- }
70
- &.ard-variant-sharp {
71
- .ard-modal-panel {
72
- border-radius: 0;
73
- }
74
- }
75
-
76
- //! compact
77
- &.ard-compact {
78
- .ard-modal-panel {
79
- font-size: 90%;
80
- padding: 0.75rem 2rem 1rem 2rem;
81
- gap: 1rem;
82
-
83
- &.ard-modal-no-heading-text {
84
- gap: 0.25rem;
85
-
86
- .ard-modal-close-button {
87
- position: absolute;
88
- right: 0.25rem;
89
- top: 0.25rem;
90
- }
91
- }
92
- }
93
- }
94
- }
1
+ @use '../variables' as ARD;
2
+
3
+ .ard-modal {
4
+ position: fixed;
5
+ top: 0;
6
+ bottom: 0;
7
+ left: 0;
8
+ right: 0;
9
+ display: grid;
10
+ place-items: center;
11
+
12
+ &.ard-modal-backdrop {
13
+ background: ARD.$darken-overlay-strong;
14
+ }
15
+ .ard-modal-panel {
16
+ padding: 1.25rem;
17
+ padding-top: 1rem;
18
+ background: ARD.$bg;
19
+ max-width: calc(100vw - 4rem);
20
+ position: relative;
21
+ display: flex;
22
+ flex-direction: column;
23
+ align-items: flex-start;
24
+ gap: 1.5rem;
25
+
26
+ &.ard-modal-no-heading-text {
27
+ gap: 0.25rem;
28
+
29
+ .ard-modal-close-button {
30
+ position: absolute;
31
+ right: 0.5rem;
32
+ top: 0.5rem;
33
+ }
34
+ }
35
+ &.ard-modal-has-close-button {
36
+ .ard-modal-heading {
37
+ padding-right: 2rem;
38
+ }
39
+ }
40
+ }
41
+ .ard-modal-heading {
42
+ display: flex;
43
+ align-items: flex-start;
44
+ justify-content: space-between;
45
+
46
+ .ard-modal-heading-text {
47
+ font-size: 1.25rem;
48
+ color: ARD.$text;
49
+ font-weight: 500;
50
+ font-family: Roboto;
51
+ }
52
+ .ard-modal-close-button {
53
+ position: absolute;
54
+ right: 0.5rem;
55
+ top: 0.5rem;
56
+ }
57
+ }
58
+ //! appearances
59
+ &.ard-appearance-raised {
60
+ .ard-modal-panel {
61
+ box-shadow: ARD.$simple-shadow2;
62
+ }
63
+ }
64
+ //! variants
65
+ &.ard-variant-rounded {
66
+ .ard-modal-panel {
67
+ border-radius: 8px;
68
+ }
69
+ }
70
+ &.ard-variant-sharp {
71
+ .ard-modal-panel {
72
+ border-radius: 0;
73
+ }
74
+ }
75
+
76
+ //! compact
77
+ &.ard-compact {
78
+ .ard-modal-panel {
79
+ font-size: 90%;
80
+ padding: 0.75rem 2rem 1rem 2rem;
81
+ gap: 1rem;
82
+
83
+ &.ard-modal-no-heading-text {
84
+ gap: 0.25rem;
85
+
86
+ .ard-modal-close-button {
87
+ position: absolute;
88
+ right: 0.25rem;
89
+ top: 0.25rem;
90
+ }
91
+ }
92
+ }
93
+ }
94
+ }