@ardium-ui/ui 5.0.0-alpha.76 → 5.0.0-alpha.78

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 (130) hide show
  1. package/fesm2022/ardium-ui-ui.mjs +106 -106
  2. package/fesm2022/ardium-ui-ui.mjs.map +1 -1
  3. package/package.json +1 -1
  4. package/prebuilt-themes/default/badge.css +15 -16
  5. package/prebuilt-themes/default/badge.css.map +1 -1
  6. package/prebuilt-themes/default/buttons/button.css +35 -36
  7. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  8. package/prebuilt-themes/default/buttons/fab.css +31 -32
  9. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  10. package/prebuilt-themes/default/buttons/icon-button.css +27 -28
  11. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  12. package/prebuilt-themes/default/calendar.css +36 -37
  13. package/prebuilt-themes/default/calendar.css.map +1 -1
  14. package/prebuilt-themes/default/card.css +22 -23
  15. package/prebuilt-themes/default/card.css.map +1 -1
  16. package/prebuilt-themes/default/checkbox-list.css +16 -17
  17. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  18. package/prebuilt-themes/default/checkbox.css +11 -12
  19. package/prebuilt-themes/default/checkbox.css.map +1 -1
  20. package/prebuilt-themes/default/chips.css +41 -42
  21. package/prebuilt-themes/default/chips.css.map +1 -1
  22. package/prebuilt-themes/default/color-display.css +7 -8
  23. package/prebuilt-themes/default/color-display.css.map +1 -1
  24. package/prebuilt-themes/default/color-picker.css +1 -1
  25. package/prebuilt-themes/default/core.css +105 -107
  26. package/prebuilt-themes/default/core.css.map +1 -1
  27. package/prebuilt-themes/default/dialog.css +5 -6
  28. package/prebuilt-themes/default/dialog.css.map +1 -1
  29. package/prebuilt-themes/default/divider.css +12 -13
  30. package/prebuilt-themes/default/divider.css.map +1 -1
  31. package/prebuilt-themes/default/dropdown-panel.css +8 -9
  32. package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
  33. package/prebuilt-themes/default/file-drop-area.css +47 -48
  34. package/prebuilt-themes/default/file-drop-area.css.map +1 -1
  35. package/prebuilt-themes/default/form-field-frame.css +1 -1
  36. package/prebuilt-themes/default/form-field.css +22 -23
  37. package/prebuilt-themes/default/form-field.css.map +1 -1
  38. package/prebuilt-themes/default/inputs/autocomplete-input.css +21 -22
  39. package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
  40. package/prebuilt-themes/default/inputs/color-input.css +1 -1
  41. package/prebuilt-themes/default/inputs/date-input.css +10 -11
  42. package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
  43. package/prebuilt-themes/default/inputs/digit-input.css +11 -12
  44. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  45. package/prebuilt-themes/default/inputs/file-input.css +29 -30
  46. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  47. package/prebuilt-themes/default/inputs/hex-input.css +11 -12
  48. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  49. package/prebuilt-themes/default/inputs/input.css +10 -11
  50. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  51. package/prebuilt-themes/default/inputs/number-input.css +10 -11
  52. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  53. package/prebuilt-themes/default/inputs/password-input.css +23 -24
  54. package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
  55. package/prebuilt-themes/default/kbd-shortcut.css +5 -6
  56. package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
  57. package/prebuilt-themes/default/kbd.css +10 -11
  58. package/prebuilt-themes/default/kbd.css.map +1 -1
  59. package/prebuilt-themes/default/modal.css +18 -19
  60. package/prebuilt-themes/default/modal.css.map +1 -1
  61. package/prebuilt-themes/default/progress-bar.css +20 -21
  62. package/prebuilt-themes/default/progress-bar.css.map +1 -1
  63. package/prebuilt-themes/default/progress-circle.css +9 -10
  64. package/prebuilt-themes/default/progress-circle.css.map +1 -1
  65. package/prebuilt-themes/default/radio.css +19 -20
  66. package/prebuilt-themes/default/radio.css.map +1 -1
  67. package/prebuilt-themes/default/segment.css +33 -34
  68. package/prebuilt-themes/default/segment.css.map +1 -1
  69. package/prebuilt-themes/default/select.css +29 -30
  70. package/prebuilt-themes/default/select.css.map +1 -1
  71. package/prebuilt-themes/default/slide-toggle.css +32 -33
  72. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  73. package/prebuilt-themes/default/slider.css +33 -34
  74. package/prebuilt-themes/default/slider.css.map +1 -1
  75. package/prebuilt-themes/default/snackbar.css +14 -15
  76. package/prebuilt-themes/default/snackbar.css.map +1 -1
  77. package/prebuilt-themes/default/spinner.css +7 -8
  78. package/prebuilt-themes/default/spinner.css.map +1 -1
  79. package/prebuilt-themes/default/stars.css +14 -15
  80. package/prebuilt-themes/default/stars.css.map +1 -1
  81. package/prebuilt-themes/default/tabber.css +18 -19
  82. package/prebuilt-themes/default/tabber.css.map +1 -1
  83. package/prebuilt-themes/default/table-pagination.css +12 -13
  84. package/prebuilt-themes/default/table-pagination.css.map +1 -1
  85. package/prebuilt-themes/default/table.css +31 -32
  86. package/prebuilt-themes/default/table.css.map +1 -1
  87. package/themes/default/badge.scss +23 -23
  88. package/themes/default/buttons/_button-mixins.scss +15 -15
  89. package/themes/default/buttons/button.scss +23 -23
  90. package/themes/default/buttons/fab.scss +18 -16
  91. package/themes/default/buttons/icon-button.scss +20 -20
  92. package/themes/default/calendar.scss +41 -41
  93. package/themes/default/card.scss +29 -29
  94. package/themes/default/checkbox-list.scss +16 -16
  95. package/themes/default/checkbox.scss +14 -14
  96. package/themes/default/chips.scss +49 -49
  97. package/themes/default/color-display.scss +10 -10
  98. package/themes/default/color-picker.scss +1 -1
  99. package/themes/default/core.scss +120 -122
  100. package/themes/default/dialog.scss +7 -7
  101. package/themes/default/divider.scss +15 -15
  102. package/themes/default/dropdown-panel.scss +13 -13
  103. package/themes/default/file-drop-area.scss +49 -49
  104. package/themes/default/form-field-frame.scss +1 -1
  105. package/themes/default/form-field.scss +27 -27
  106. package/themes/default/inputs/autocomplete-input.scss +39 -39
  107. package/themes/default/inputs/color-input.scss +1 -1
  108. package/themes/default/inputs/date-input.scss +26 -26
  109. package/themes/default/inputs/digit-input.scss +21 -21
  110. package/themes/default/inputs/file-input.scss +48 -48
  111. package/themes/default/inputs/hex-input.scss +28 -28
  112. package/themes/default/inputs/input.scss +26 -26
  113. package/themes/default/inputs/number-input.scss +27 -27
  114. package/themes/default/inputs/password-input.scss +40 -40
  115. package/themes/default/kbd-shortcut.scss +7 -7
  116. package/themes/default/kbd.scss +16 -16
  117. package/themes/default/modal.scss +28 -28
  118. package/themes/default/progress-bar.scss +25 -25
  119. package/themes/default/progress-circle.scss +12 -12
  120. package/themes/default/radio.scss +22 -22
  121. package/themes/default/segment.scss +38 -38
  122. package/themes/default/select.scss +50 -50
  123. package/themes/default/slide-toggle.scss +34 -34
  124. package/themes/default/slider.scss +42 -42
  125. package/themes/default/snackbar.scss +19 -19
  126. package/themes/default/spinner.scss +9 -9
  127. package/themes/default/stars.scss +16 -16
  128. package/themes/default/tabber.scss +21 -21
  129. package/themes/default/table-pagination.scss +14 -14
  130. package/themes/default/table.scss +41 -41
@@ -3,34 +3,34 @@
3
3
  @use '../clear-button' as CB;
4
4
  @use '../../variables' as ARD;
5
5
 
6
- // the variables are commented out intentionally
7
- // read more in docs/dev/css-variables.md
8
- :root {
9
- // --ard-input-height: ;
10
- // --ard-input-height-compact: ;
11
- --ard-input-gap: 0.625rem;
12
- // --ard-input-font-size: ;
13
- // --ard-input-font-size-compact: ;
14
- --ard-input-line-height: 1.25;
15
- --ard-input-line-height-compact: 1;
16
- --ard-input-font-weight: 400;
17
- // --ard-input-padding-left: ;
18
- // --ard-input-padding-right: ;
19
- // --ard-input-padding-top: ;
20
- // --ard-input-padding-bottom: ;
21
- // --ard-input-padding-left-compact: ;
22
- // --ard-input-padding-right-compact: ;
23
- // --ard-input-padding-top-compact: ;
24
- // --ard-input-padding-bottom-compact: ;
25
- // --ard-input-color: ;
26
- // --ard-input-placeholder-color: ;
27
- --ard-input-placeholder-opacity: 60%;
6
+ @layer ard-ui {
7
+ // the variables are commented out intentionally
8
+ // read more in docs/dev/css-variables.md
9
+ :root {
10
+ // --ard-input-height: ;
11
+ // --ard-input-height-compact: ;
12
+ --ard-input-gap: 0.625rem;
13
+ // --ard-input-font-size: ;
14
+ // --ard-input-font-size-compact: ;
15
+ --ard-input-line-height: 1.25;
16
+ --ard-input-line-height-compact: 1;
17
+ --ard-input-font-weight: 400;
18
+ // --ard-input-padding-left: ;
19
+ // --ard-input-padding-right: ;
20
+ // --ard-input-padding-top: ;
21
+ // --ard-input-padding-bottom: ;
22
+ // --ard-input-padding-left-compact: ;
23
+ // --ard-input-padding-right-compact: ;
24
+ // --ard-input-padding-top-compact: ;
25
+ // --ard-input-padding-bottom-compact: ;
26
+ // --ard-input-color: ;
27
+ // --ard-input-placeholder-color: ;
28
+ --ard-input-placeholder-opacity: 60%;
28
29
 
29
- --ard-input-min-width: 10rem;
30
- --ard-input-max-width: 100%;
31
- }
30
+ --ard-input-min-width: 10rem;
31
+ --ard-input-max-width: 100%;
32
+ }
32
33
 
33
- @layer ard-theme {
34
34
  .ard-input {
35
35
  @include inputMixin.genericInput(
36
36
  var(--ard-input-height, var(--ard-form-field-height, 2.3125rem)),
@@ -2,34 +2,34 @@
2
2
  @use '../mixins' as defaultMixins;
3
3
  @use '../../variables' as ARD;
4
4
 
5
- // the variables are commented out intentionally
6
- // read more in docs/dev/css-variables.md
7
- :root {
8
- // --ard-number-input-height: ;
9
- // --ard-number-input-height-compact: ;
10
- --ard-number-input-gap: 0.625rem;
11
- // --ard-number-input-font-size: ;
12
- // --ard-number-input-font-size-compact: ;
13
- --ard-number-input-line-height: 1.25;
14
- --ard-number-input-line-height-compact: 1;
15
- --ard-number-input-font-weight: 400;
16
- // --ard-number-input-padding-top: ;
17
- // --ard-number-input-padding-right: ;
18
- // --ard-number-input-padding-bottom: ;
19
- // --ard-number-input-padding-left: ;
20
- // --ard-number-input-padding-top-compact: ;
21
- // --ard-number-input-padding-right-compact: ;
22
- // --ard-number-input-padding-bottom-compact: ;
23
- // --ard-number-input-padding-left-compact: ;
24
- // --ard-number-input-color: ;
25
- // --ard-number-input-placeholder-color: ;
26
- --ard-number-input-placeholder-opacity: 60%;
27
- --ard-number-input-disabled-opacity: 50%;
28
- // --ard-number-input-width: ;
29
- --ard-number-input-rounded-border-radius: 8px;
30
- }
5
+ @layer ard-ui {
6
+ // the variables are commented out intentionally
7
+ // read more in docs/dev/css-variables.md
8
+ :root {
9
+ // --ard-number-input-height: ;
10
+ // --ard-number-input-height-compact: ;
11
+ --ard-number-input-gap: 0.625rem;
12
+ // --ard-number-input-font-size: ;
13
+ // --ard-number-input-font-size-compact: ;
14
+ --ard-number-input-line-height: 1.25;
15
+ --ard-number-input-line-height-compact: 1;
16
+ --ard-number-input-font-weight: 400;
17
+ // --ard-number-input-padding-top: ;
18
+ // --ard-number-input-padding-right: ;
19
+ // --ard-number-input-padding-bottom: ;
20
+ // --ard-number-input-padding-left: ;
21
+ // --ard-number-input-padding-top-compact: ;
22
+ // --ard-number-input-padding-right-compact: ;
23
+ // --ard-number-input-padding-bottom-compact: ;
24
+ // --ard-number-input-padding-left-compact: ;
25
+ // --ard-number-input-color: ;
26
+ // --ard-number-input-placeholder-color: ;
27
+ --ard-number-input-placeholder-opacity: 60%;
28
+ --ard-number-input-disabled-opacity: 50%;
29
+ // --ard-number-input-width: ;
30
+ --ard-number-input-rounded-border-radius: 8px;
31
+ }
31
32
 
32
- @layer ard-theme {
33
33
  ard-number-input {
34
34
  width: var(--ard-number-input-width, unset);
35
35
  }
@@ -3,48 +3,48 @@
3
3
  @use '../clear-button' as CB;
4
4
  @use '../../variables' as ARD;
5
5
 
6
- // the variables are commented out intentionally
7
- // read more in docs/dev/css-variables.md
8
- :root {
9
- // --ard-password-input-height: ;
10
- // --ard-password-input-height-compact: ;
11
- --ard-password-input-gap: 0.625rem;
12
- // --ard-password-input-font-size: ;
13
- // --ard-password-input-font-size-compact: ;
14
- --ard-password-input-line-height: 1.25;
15
- --ard-password-input-line-height-compact: 1;
16
- --ard-password-input-font-weight: 400;
17
- // --ard-password-input-padding-top: ;
18
- // --ard-password-input-padding-right: ;
19
- // --ard-password-input-padding-bottom: ;
20
- // --ard-password-input-padding-left: ;
21
- // --ard-password-input-padding-top-compact: ;
22
- // --ard-password-input-padding-right-compact: ;
23
- // --ard-password-input-padding-bottom-compact: ;
24
- // --ard-password-input-padding-left-compact: ;
25
- // --ard-password-input-color: ;
26
- // --ard-password-input-placeholder-color: ;
27
- --ard-password-input-placeholder-opacity: 60%;
6
+ @layer ard-ui {
7
+ // the variables are commented out intentionally
8
+ // read more in docs/dev/css-variables.md
9
+ :root {
10
+ // --ard-password-input-height: ;
11
+ // --ard-password-input-height-compact: ;
12
+ --ard-password-input-gap: 0.625rem;
13
+ // --ard-password-input-font-size: ;
14
+ // --ard-password-input-font-size-compact: ;
15
+ --ard-password-input-line-height: 1.25;
16
+ --ard-password-input-line-height-compact: 1;
17
+ --ard-password-input-font-weight: 400;
18
+ // --ard-password-input-padding-top: ;
19
+ // --ard-password-input-padding-right: ;
20
+ // --ard-password-input-padding-bottom: ;
21
+ // --ard-password-input-padding-left: ;
22
+ // --ard-password-input-padding-top-compact: ;
23
+ // --ard-password-input-padding-right-compact: ;
24
+ // --ard-password-input-padding-bottom-compact: ;
25
+ // --ard-password-input-padding-left-compact: ;
26
+ // --ard-password-input-color: ;
27
+ // --ard-password-input-placeholder-color: ;
28
+ --ard-password-input-placeholder-opacity: 60%;
28
29
 
29
- --ard-password-input-min-width: 10rem;
30
- --ard-password-input-max-width: 100%;
31
- --ard-password-input-disabled-opacity: 50%;
32
- --ard-password-input-reveal-button-margin: 0.125rem;
33
- --ard-password-input-reveal-button-font-size: 0.8rem;
34
- --ard-password-input-reveal-button-height: calc(100% - 0.25rem);
35
- --ard-password-input-reveal-button-width: unset;
36
- --ard-password-input-reveal-button-aspect-ratio: 1;
37
- --ard-password-input-reveal-button-padding: 0;
38
- // --ard-password-input-reveal-button-color: ;
39
- --ard-password-input-reveal-button-border-radius: 9999px;
40
- --ard-password-input-reveal-button-border: none;
41
- --ard-password-input-reveal-button-background: transparent;
42
- --ard-password-input-reveal-button-hover-background: rgba(0, 0, 0, 4%);
43
- --ard-password-input-reveal-button-focus-background: rgba(0, 0, 0, 12%);
44
- --ard-password-input-reveal-button-active-background: rgba(0, 0, 0, 20%);
45
- }
30
+ --ard-password-input-min-width: 10rem;
31
+ --ard-password-input-max-width: 100%;
32
+ --ard-password-input-disabled-opacity: 50%;
33
+ --ard-password-input-reveal-button-margin: 0.125rem;
34
+ --ard-password-input-reveal-button-font-size: 0.8rem;
35
+ --ard-password-input-reveal-button-height: calc(100% - 0.25rem);
36
+ --ard-password-input-reveal-button-width: unset;
37
+ --ard-password-input-reveal-button-aspect-ratio: 1;
38
+ --ard-password-input-reveal-button-padding: 0;
39
+ // --ard-password-input-reveal-button-color: ;
40
+ --ard-password-input-reveal-button-border-radius: 9999px;
41
+ --ard-password-input-reveal-button-border: none;
42
+ --ard-password-input-reveal-button-background: transparent;
43
+ --ard-password-input-reveal-button-hover-background: rgba(0, 0, 0, 4%);
44
+ --ard-password-input-reveal-button-focus-background: rgba(0, 0, 0, 12%);
45
+ --ard-password-input-reveal-button-active-background: rgba(0, 0, 0, 20%);
46
+ }
46
47
 
47
- @layer ard-theme {
48
48
  .ard-password-input {
49
49
  @include inputMixin.genericInput(
50
50
  var(--ard-password-input-height, var(--ard-form-field-height, 2.3125rem)),
@@ -1,13 +1,13 @@
1
1
  @use '../variables' as ARD;
2
2
 
3
- // the variables are commented out intentionally
4
- // read more in docs/dev/css-variables.md
5
- :root {
6
- --ard-kbd-shortcut-font-size: 0.875em;
7
- --ard-kbd-shortcut-transparent-font-size: 0.75em;
8
- }
3
+ @layer ard-ui {
4
+ // the variables are commented out intentionally
5
+ // read more in docs/dev/css-variables.md
6
+ :root {
7
+ --ard-kbd-shortcut-font-size: 0.875em;
8
+ --ard-kbd-shortcut-transparent-font-size: 0.75em;
9
+ }
9
10
 
10
- @layer ard-theme {
11
11
  .ard-kbd-shortcut {
12
12
  font-family: var(--ard-font-family-mono);
13
13
 
@@ -1,22 +1,22 @@
1
1
  @use '../variables' as ARD;
2
2
 
3
- // the variables are commented out intentionally
4
- // read more in docs/dev/css-variables.md
5
- :root {
6
- // --ard-kbd-font-size: ;
7
- --ard-kbd-border-radius: 0.1875em;
8
- --ard-kbd-margin: 0 0.125em;
9
- --ard-kbd-padding: 0.125em 0.375em;
10
- --ard-kbd-border-width: 1px;
11
- --ard-kbd-border-style: solid;
12
- --ard-kbd-border-color: ;
13
- --ard-kbd-box-shadow-settings: inset 0 -1px 0;
14
- // --ard-kbd-box-shadow-color: ;
15
- // --ard-kbd-bg: ;
16
- // --ard-kbd-filled-bg: ;
17
- }
3
+ @layer ard-ui {
4
+ // the variables are commented out intentionally
5
+ // read more in docs/dev/css-variables.md
6
+ :root {
7
+ // --ard-kbd-font-size: ;
8
+ --ard-kbd-border-radius: 0.1875em;
9
+ --ard-kbd-margin: 0 0.125em;
10
+ --ard-kbd-padding: 0.125em 0.375em;
11
+ --ard-kbd-border-width: 1px;
12
+ --ard-kbd-border-style: solid;
13
+ --ard-kbd-border-color: ;
14
+ --ard-kbd-box-shadow-settings: inset 0 -1px 0;
15
+ // --ard-kbd-box-shadow-color: ;
16
+ // --ard-kbd-bg: ;
17
+ // --ard-kbd-filled-bg: ;
18
+ }
18
19
 
19
- @layer ard-theme {
20
20
  .ard-kbd {
21
21
  border-radius: var(--ard-kbd-border-radius, 0.1875em);
22
22
  font-family: var(--ard-font-family-mono);
@@ -1,34 +1,34 @@
1
1
  @use '../variables' as ARD;
2
2
 
3
- // the variables are commented out intentionally
4
- // read more in docs/dev/css-variables.md
5
- :root {
6
- // --ard-modal-width: ;
7
- // --ard-modal-height: ;
8
- // --ard-modal-min-width: ;
9
- // --ard-modal-min-height: ;
10
- // --ard-modal-max-width: ;
11
- // --ard-modal-max-height: ;
12
- --ard-modal-viewport-spacing: 2rem;
13
- --ard-modal-padding: 1.25rem;
14
- --ard-modal-padding-top: 1rem;
15
- --ard-modal-gap: 1.5rem;
16
- // --ard-modal-bg: ;
17
- --ard-modal-no-heading-gap: 0.25rem;
18
- --ard-modal-close-button-offset: 0.5rem;
19
- --ard-modal-heading-padding-right: 2rem;
20
- --ard-modal-heading-font-size: 1.25rem;
21
- --ard-modal-heading-font-weight: 500;
22
- // --ard-modal-heading-color: ;
23
- --ard-modal-rounded-border-radius: 8px;
24
- --ard-modal-font-size: 1rem;
25
- --ard-modal-font-size-compact: 0.875rem;
26
- --ard-modal-padding-compact: 0.75rem 2rem 1rem 2rem;
27
- --ard-modal-gap-compact: 1rem;
28
- --ard-modal-close-button-offset-compact: 0.25rem;
29
- }
3
+ @layer ard-ui {
4
+ // the variables are commented out intentionally
5
+ // read more in docs/dev/css-variables.md
6
+ :root {
7
+ // --ard-modal-width: ;
8
+ // --ard-modal-height: ;
9
+ // --ard-modal-min-width: ;
10
+ // --ard-modal-min-height: ;
11
+ // --ard-modal-max-width: ;
12
+ // --ard-modal-max-height: ;
13
+ --ard-modal-viewport-spacing: 2rem;
14
+ --ard-modal-padding: 1.25rem;
15
+ --ard-modal-padding-top: 1rem;
16
+ --ard-modal-gap: 1.5rem;
17
+ // --ard-modal-bg: ;
18
+ --ard-modal-no-heading-gap: 0.25rem;
19
+ --ard-modal-close-button-offset: 0.5rem;
20
+ --ard-modal-heading-padding-right: 2rem;
21
+ --ard-modal-heading-font-size: 1.25rem;
22
+ --ard-modal-heading-font-weight: 500;
23
+ // --ard-modal-heading-color: ;
24
+ --ard-modal-rounded-border-radius: 8px;
25
+ --ard-modal-font-size: 1rem;
26
+ --ard-modal-font-size-compact: 0.875rem;
27
+ --ard-modal-padding-compact: 0.75rem 2rem 1rem 2rem;
28
+ --ard-modal-gap-compact: 1rem;
29
+ --ard-modal-close-button-offset-compact: 0.25rem;
30
+ }
30
31
 
31
- @layer ard-theme {
32
32
  .ard-modal {
33
33
  position: fixed;
34
34
  top: 0;
@@ -1,26 +1,26 @@
1
1
  @use './coloring' as CM;
2
2
  @use '../variables' as ARD;
3
3
 
4
- // the variables are commented out intentionally
5
- // read more in docs/dev/css-variables.md
6
- :root {
7
- --ard-progress-bar-width: 100%;
8
- --ard-progress-bar-height: 0.25rem;
9
- --ard-progress-bar-margin: 0.5rem 0;
10
- // --ard-progress-bar-foreground-color: ;
11
- // --ard-progress-bar-background-color: ;
12
- // --ard-progress-bar-buffer-color: ;
13
- --ard-progress-bar-background-opacity: 30%;
14
- --ard-progress-bar-buffer-opacity: 100%;
15
- --ard-progress-bar-transition-duration: 0.1s;
16
- --ard-progress-bar-indeterminate-animation-duration: 2.1s;
17
- --ard-progress-bar-buffer-animation-distance: 0.5rem;
18
- --ard-progress-bar-buffer-animation-duration: 0.4s;
19
- --ard-progress-bar-currentColor-background-opacity: 22.5%;
20
- --ard-progress-bar-currentColor-overlay-buffer-opacity: 30%;
21
- }
4
+ @layer ard-ui {
5
+ // the variables are commented out intentionally
6
+ // read more in docs/dev/css-variables.md
7
+ :root {
8
+ --ard-progress-bar-width: 100%;
9
+ --ard-progress-bar-height: 0.25rem;
10
+ --ard-progress-bar-margin: 0.5rem 0;
11
+ // --ard-progress-bar-foreground-color: ;
12
+ // --ard-progress-bar-background-color: ;
13
+ // --ard-progress-bar-buffer-color: ;
14
+ --ard-progress-bar-background-opacity: 30%;
15
+ --ard-progress-bar-buffer-opacity: 100%;
16
+ --ard-progress-bar-transition-duration: 0.1s;
17
+ --ard-progress-bar-indeterminate-animation-duration: 2.1s;
18
+ --ard-progress-bar-buffer-animation-distance: 0.5rem;
19
+ --ard-progress-bar-buffer-animation-duration: 0.4s;
20
+ --ard-progress-bar-currentColor-background-opacity: 22.5%;
21
+ --ard-progress-bar-currentColor-overlay-buffer-opacity: 30%;
22
+ }
22
23
 
23
- @layer ard-theme {
24
24
  .ard-progress-bar {
25
25
  @include CM.typeColors();
26
26
  width: var(--ard-progress-bar-width, 100%);
@@ -30,13 +30,13 @@
30
30
  .ard-progress-bar__background,
31
31
  .ard-progress-bar__overlay {
32
32
  position: absolute;
33
- background-color: var(--ard-progress-bar-foreground-color, var(--ard-cmpcl--bg-colored));
33
+ background-color: var(--ard-progress-bar-foreground-color, var(--ard-uicl--bg-colored));
34
34
  top: 0;
35
35
  bottom: 0;
36
36
  left: 0;
37
37
  }
38
38
  .ard-progress-bar__background {
39
- background-color: var(--ard-progress-bar-background-color, var(--ard-cmpcl--bg-colored-light));
39
+ background-color: var(--ard-progress-bar-background-color, var(--ard-uicl--bg-colored-light));
40
40
  top: 0;
41
41
  bottom: 0;
42
42
  left: 0;
@@ -112,11 +112,11 @@
112
112
  bottom: 0;
113
113
  width: 9999px;
114
114
  animation: buffer var(--ard-progress-bar-buffer-animation-duration, 0.4s) linear infinite;
115
- border-bottom: var(--ard-progress-bar-height, 0.25rem) dotted var(--ard-cmpcl--bg-colored);
115
+ border-bottom: var(--ard-progress-bar-height, 0.25rem) dotted var(--ard-uicl--bg-colored);
116
116
  }
117
117
  }
118
118
  .ard-progress-bar__overlay-buffer {
119
- background: var(--ard-progress-bar-buffer-color, var(--ard-cmpcl--bg-colored-light));
119
+ background: var(--ard-progress-bar-buffer-color, var(--ard-uicl--bg-colored-light));
120
120
  opacity: var(--ard-progress-bar-buffer-opacity, 100%);
121
121
  position: absolute;
122
122
  left: 0;
@@ -140,11 +140,11 @@
140
140
  &.ard-color-currentColor {
141
141
  .ard-progress-bar__background {
142
142
  opacity: var(--ard-progress-bar-currentColor-background-opacity, 22.5%);
143
- background: var(--ard-cmpcl--bg-colored);
143
+ background: var(--ard-uicl--bg-colored);
144
144
  }
145
145
  .ard-progress-bar__overlay-buffer {
146
146
  opacity: var(--ard-progress-bar-currentColor-overlay-buffer-opacity, 30%);
147
- background: var(--ard-cmpcl--bg-colored);
147
+ background: var(--ard-uicl--bg-colored);
148
148
  }
149
149
  }
150
150
  }
@@ -1,23 +1,23 @@
1
1
  @use './coloring' as coloringMixins;
2
2
  @use '../variables' as ARD;
3
3
 
4
- // the variables are commented out intentionally
5
- // read more in docs/dev/css-variables.md
6
- :root {
7
- --ard-progress-circle-size: 3em;
8
- // --ard-progress-circle-colorless-background-color: ;
9
- --ard-progress-circle-colorless-background-opacity: 100%;
10
- --ard-progress-circle-colored-background-opacity: 100%;
11
- --ard-progress-circle-value-font-size: 0.875em;
12
- }
4
+ @layer ard-ui {
5
+ // the variables are commented out intentionally
6
+ // read more in docs/dev/css-variables.md
7
+ :root {
8
+ --ard-progress-circle-size: 3em;
9
+ // --ard-progress-circle-colorless-background-color: ;
10
+ --ard-progress-circle-colorless-background-opacity: 100%;
11
+ --ard-progress-circle-colored-background-opacity: 100%;
12
+ --ard-progress-circle-value-font-size: 0.875em;
13
+ }
13
14
 
14
- @layer ard-theme {
15
15
  .ard-progress-circle {
16
16
  @include coloringMixins.typeColors;
17
17
  width: var(--ard-progress-circle-size, 3em);
18
18
  height: var(--ard-progress-circle-size, 3em);
19
19
 
20
- --ard-_progress-circle-fill-color: var(--ard-cmpcl--bg-colored);
20
+ --ard-_progress-circle-fill-color: var(--ard-uicl--bg-colored);
21
21
 
22
22
  //! appearances
23
23
  &.ard-appearance-transparent {
@@ -34,7 +34,7 @@
34
34
  &.ard-appearance-colored {
35
35
  .ard-progress-circle-background {
36
36
  opacity: var(--ard-progress-circle-colored-background-opacity, 100%);
37
- background: var(--ard-cmpcl--bg-colored);
37
+ background: var(--ard-uicl--bg-colored);
38
38
  }
39
39
  }
40
40
  //! ring variant
@@ -2,26 +2,26 @@
2
2
  @use './mixins' as GM;
3
3
  @use '../variables' as ARD;
4
4
 
5
- // the variables are commented out intentionally
6
- // read more in docs/dev/css-variables.md
7
- :root {
8
- // --ard-radio-font-size: ;
9
- --ard-radio-group-gap: 0.5rem 1rem;
10
- --ard-radio-gap: 0.75rem;
11
- --ard-radio-size: 1.25em;
12
- --ard-radio-outer-border-width: 0.125em;
13
- --ard-radio-border-radius: 9999px;
14
- --ard-radio-inner-circle-inset: 25%;
15
- --ard-radio-focus-overlay-size: 0.375em;
16
- --ard-radio-hitbox-offset: -0.375em;
17
- --ard-radio-hover-overlay-opacity: 7.5%;
18
- --ard-radio-focus-overlay-opacity: 15%;
19
- --ard-radio-active-overlay-opacity: 25%;
20
- --ard-radio-transition-duration: 0.2s;
21
- --ard-radio-disabled-opacity: 50%;
22
- }
5
+ @layer ard-ui {
6
+ // the variables are commented out intentionally
7
+ // read more in docs/dev/css-variables.md
8
+ :root {
9
+ // --ard-radio-font-size: ;
10
+ --ard-radio-group-gap: 0.5rem 1rem;
11
+ --ard-radio-gap: 0.75rem;
12
+ --ard-radio-size: 1.25em;
13
+ --ard-radio-outer-border-width: 0.125em;
14
+ --ard-radio-border-radius: 9999px;
15
+ --ard-radio-inner-circle-inset: 25%;
16
+ --ard-radio-focus-overlay-size: 0.375em;
17
+ --ard-radio-hitbox-offset: -0.375em;
18
+ --ard-radio-hover-overlay-opacity: 7.5%;
19
+ --ard-radio-focus-overlay-opacity: 15%;
20
+ --ard-radio-active-overlay-opacity: 25%;
21
+ --ard-radio-transition-duration: 0.2s;
22
+ --ard-radio-disabled-opacity: 50%;
23
+ }
23
24
 
24
- @layer ard-theme {
25
25
  ard-radio-group {
26
26
  display: flex;
27
27
  gap: var(--ard-radio-group-gap, 0.5rem 1rem);
@@ -66,7 +66,7 @@
66
66
  right: var(--ard-radio-inner-circle-inset, 25%);
67
67
  top: var(--ard-radio-inner-circle-inset, 25%);
68
68
  bottom: var(--ard-radio-inner-circle-inset, 25%);
69
- background: var(--ard-cmpcl--bg-colored);
69
+ background: var(--ard-uicl--bg-colored);
70
70
  border-radius: var(--ard-radio-border-radius, 9999px);
71
71
  transform: scale(0);
72
72
  transition: transform var(--ard-radio-transition-duration, 0.2s) ARD.$timing-fn;
@@ -99,13 +99,13 @@
99
99
  &.ard-radio-selected {
100
100
  > .ard-radio-circles {
101
101
  > .ard-radio-outer-circle {
102
- border-color: var(--ard-cmpcl--bg-colored);
102
+ border-color: var(--ard-uicl--bg-colored);
103
103
  }
104
104
  > .ard-radio-inner-circle {
105
105
  transform: scale(1);
106
106
  }
107
107
  > .ard-focus-overlay {
108
- background-color: var(--ard-cmpcl--bg-colored);
108
+ background-color: var(--ard-uicl--bg-colored);
109
109
  }
110
110
  }
111
111
  }