@ardium-ui/ui 5.0.0-alpha.75 → 5.0.0-alpha.77

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 (132) 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 +234 -234
  5. package/prebuilt-themes/default/badge.css.map +1 -1
  6. package/prebuilt-themes/default/buttons/button.css +324 -324
  7. package/prebuilt-themes/default/buttons/button.css.map +1 -1
  8. package/prebuilt-themes/default/buttons/fab.css +317 -319
  9. package/prebuilt-themes/default/buttons/fab.css.map +1 -1
  10. package/prebuilt-themes/default/buttons/icon-button.css +299 -300
  11. package/prebuilt-themes/default/buttons/icon-button.css.map +1 -1
  12. package/prebuilt-themes/default/calendar.css +390 -391
  13. package/prebuilt-themes/default/calendar.css.map +1 -1
  14. package/prebuilt-themes/default/card.css +151 -159
  15. package/prebuilt-themes/default/card.css.map +1 -1
  16. package/prebuilt-themes/default/checkbox-list.css +89 -88
  17. package/prebuilt-themes/default/checkbox-list.css.map +1 -1
  18. package/prebuilt-themes/default/checkbox.css +349 -349
  19. package/prebuilt-themes/default/checkbox.css.map +1 -1
  20. package/prebuilt-themes/default/chips.css +412 -412
  21. package/prebuilt-themes/default/chips.css.map +1 -1
  22. package/prebuilt-themes/default/color-display.css +34 -33
  23. package/prebuilt-themes/default/color-display.css.map +1 -1
  24. package/prebuilt-themes/default/color-picker.css +105 -103
  25. package/prebuilt-themes/default/color-picker.css.map +1 -1
  26. package/prebuilt-themes/default/core.css +108 -106
  27. package/prebuilt-themes/default/core.css.map +1 -1
  28. package/prebuilt-themes/default/dialog.css +19 -20
  29. package/prebuilt-themes/default/dialog.css.map +1 -1
  30. package/prebuilt-themes/default/divider.css +84 -83
  31. package/prebuilt-themes/default/divider.css.map +1 -1
  32. package/prebuilt-themes/default/dropdown-panel.css +42 -42
  33. package/prebuilt-themes/default/dropdown-panel.css.map +1 -1
  34. package/prebuilt-themes/default/file-drop-area.css +329 -329
  35. package/prebuilt-themes/default/file-drop-area.css.map +1 -1
  36. package/prebuilt-themes/default/form-field-frame.css +102 -102
  37. package/prebuilt-themes/default/form-field-frame.css.map +1 -1
  38. package/prebuilt-themes/default/form-field.css +148 -151
  39. package/prebuilt-themes/default/form-field.css.map +1 -1
  40. package/prebuilt-themes/default/inputs/autocomplete-input.css +183 -183
  41. package/prebuilt-themes/default/inputs/autocomplete-input.css.map +1 -1
  42. package/prebuilt-themes/default/inputs/color-input.css +99 -98
  43. package/prebuilt-themes/default/inputs/color-input.css.map +1 -1
  44. package/prebuilt-themes/default/inputs/date-input.css +134 -135
  45. package/prebuilt-themes/default/inputs/date-input.css.map +1 -1
  46. package/prebuilt-themes/default/inputs/digit-input.css +120 -122
  47. package/prebuilt-themes/default/inputs/digit-input.css.map +1 -1
  48. package/prebuilt-themes/default/inputs/file-input.css +385 -387
  49. package/prebuilt-themes/default/inputs/file-input.css.map +1 -1
  50. package/prebuilt-themes/default/inputs/hex-input.css +150 -149
  51. package/prebuilt-themes/default/inputs/hex-input.css.map +1 -1
  52. package/prebuilt-themes/default/inputs/input.css +137 -136
  53. package/prebuilt-themes/default/inputs/input.css.map +1 -1
  54. package/prebuilt-themes/default/inputs/number-input.css +213 -214
  55. package/prebuilt-themes/default/inputs/number-input.css.map +1 -1
  56. package/prebuilt-themes/default/inputs/password-input.css +120 -120
  57. package/prebuilt-themes/default/inputs/password-input.css.map +1 -1
  58. package/prebuilt-themes/default/kbd-shortcut.css +14 -13
  59. package/prebuilt-themes/default/kbd-shortcut.css.map +1 -1
  60. package/prebuilt-themes/default/kbd.css +26 -25
  61. package/prebuilt-themes/default/kbd.css.map +1 -1
  62. package/prebuilt-themes/default/modal.css +96 -95
  63. package/prebuilt-themes/default/modal.css.map +1 -1
  64. package/prebuilt-themes/default/progress-bar.css +250 -235
  65. package/prebuilt-themes/default/progress-bar.css.map +1 -1
  66. package/prebuilt-themes/default/progress-circle.css +178 -177
  67. package/prebuilt-themes/default/progress-circle.css.map +1 -1
  68. package/prebuilt-themes/default/radio.css +246 -248
  69. package/prebuilt-themes/default/radio.css.map +1 -1
  70. package/prebuilt-themes/default/segment.css +432 -431
  71. package/prebuilt-themes/default/segment.css.map +1 -1
  72. package/prebuilt-themes/default/select.css +302 -304
  73. package/prebuilt-themes/default/select.css.map +1 -1
  74. package/prebuilt-themes/default/slide-toggle.css +319 -319
  75. package/prebuilt-themes/default/slide-toggle.css.map +1 -1
  76. package/prebuilt-themes/default/slider.css +399 -399
  77. package/prebuilt-themes/default/slider.css.map +1 -1
  78. package/prebuilt-themes/default/snackbar.css +185 -185
  79. package/prebuilt-themes/default/snackbar.css.map +1 -1
  80. package/prebuilt-themes/default/spinner.css +161 -161
  81. package/prebuilt-themes/default/spinner.css.map +1 -1
  82. package/prebuilt-themes/default/stars.css +271 -275
  83. package/prebuilt-themes/default/stars.css.map +1 -1
  84. package/prebuilt-themes/default/tabber.css +250 -250
  85. package/prebuilt-themes/default/tabber.css.map +1 -1
  86. package/prebuilt-themes/default/table-pagination.css +57 -57
  87. package/prebuilt-themes/default/table-pagination.css.map +1 -1
  88. package/prebuilt-themes/default/table.css +464 -463
  89. package/prebuilt-themes/default/table.css.map +1 -1
  90. package/themes/default/badge.scss +112 -110
  91. package/themes/default/buttons/button.scss +91 -89
  92. package/themes/default/buttons/fab.scss +80 -76
  93. package/themes/default/buttons/icon-button.scss +73 -71
  94. package/themes/default/calendar.scss +246 -242
  95. package/themes/default/card.scss +161 -159
  96. package/themes/default/checkbox-list.scss +85 -83
  97. package/themes/default/checkbox.scss +68 -66
  98. package/themes/default/chips.scss +202 -195
  99. package/themes/default/color-display.scss +40 -38
  100. package/themes/default/color-picker.scss +95 -93
  101. package/themes/default/core.scss +124 -121
  102. package/themes/default/dialog.scss +21 -19
  103. package/themes/default/divider.scss +92 -90
  104. package/themes/default/dropdown-panel.scss +49 -47
  105. package/themes/default/file-drop-area.scss +197 -195
  106. package/themes/default/form-field-frame.scss +69 -67
  107. package/themes/default/form-field.scss +135 -133
  108. package/themes/default/inputs/autocomplete-input.scss +99 -97
  109. package/themes/default/inputs/color-input.scss +34 -32
  110. package/themes/default/inputs/date-input.scss +88 -86
  111. package/themes/default/inputs/digit-input.scss +103 -101
  112. package/themes/default/inputs/file-input.scss +158 -156
  113. package/themes/default/inputs/hex-input.scss +66 -64
  114. package/themes/default/inputs/input.scss +52 -50
  115. package/themes/default/inputs/number-input.scss +162 -160
  116. package/themes/default/inputs/password-input.scss +99 -97
  117. package/themes/default/kbd-shortcut.scss +15 -13
  118. package/themes/default/kbd.scss +34 -32
  119. package/themes/default/modal.scss +106 -104
  120. package/themes/default/progress-bar.scss +126 -102
  121. package/themes/default/progress-circle.scss +50 -48
  122. package/themes/default/radio.scss +110 -108
  123. package/themes/default/segment.scss +282 -277
  124. package/themes/default/select.scss +255 -253
  125. package/themes/default/slide-toggle.scss +173 -171
  126. package/themes/default/slider.scss +223 -217
  127. package/themes/default/snackbar.scss +49 -47
  128. package/themes/default/spinner.scss +23 -21
  129. package/themes/default/stars.scss +95 -93
  130. package/themes/default/tabber.scss +105 -103
  131. package/themes/default/table-pagination.scss +60 -59
  132. package/themes/default/table.scss +375 -373
@@ -1 +1 @@
1
- {"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/segment.scss","../../../../projects/ui/src/themes/default/_mixins.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAMA;EACE;EACA;EAGA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAIF;EAEE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;ECuCA;;ACzEA;EACE;EACA;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;EACA;;AAEF;EACE;EACA;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;EACA;;AAEF;EACE;EACA;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;EACA;;AAEF;EACE;EACA;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;;ADnGF;EACE;EACA;EACA;;AAEA;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAGJ;EACE;EACA;;AAEA;EACE;;AAEF;EACE;;AAGJ;EACE;EACA;;AAOF;EAEE;;AAEF;EACE;;AAEF;EACE;;AD3CF;EC9BA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EDuBE;;AAIF;EACE;EACA;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAEA;EACA;EACA;;AAEA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAQJ;EACE;;AAIF;EACE;;AAIF;EACE;;AAOA;EACE;;AAIF;EACE;;AAOR;EACE;;AAII;EACE;;AAGF;EACE;;AAKR;EAEE,YG/IC;EHgJD;;AAEA;EACE;;AAEA;EACE;EACA;;AAGJ;EAGE;;AAEA;EACE;;AAEA;EACE;;AAGF;EACE;;AAOF;EACE;;AAIE;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAMF;EACE;;AAEF;EACE;;AAEF;EACE;EACA;;AAMF;EACE;EACA;;AAEF;EACE;EACA;;AAEF;EACE;;AAQN;EACE;;AAEF;EACE;;AAMN;EACE;EACA;;AAGJ;EACE;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGJ;EACE;EACA;;AAGE;EACE;;AAEA;EACE;;AAGA;EACE;;AAGJ;EACE;EACA;;AAEA;EACE;;AAQV;EAGE;EACA;;AAGE;EACE;;AAON;EAEE;;AAGE;EACE;;AAIN;EAEE;;AAGE;EACE;;AAIN;EACE;;AAKA;EACE;EACA;;AAEA;EACE;EACA;;AAMJ;EACE;EACA;EACA;EACA;;AAKJ;EACE;EACA;;AAEA;EACE;;AAKA;AAAA;EAEE;;AAEF;EACE","file":"segment.css"}
1
+ {"version":3,"sourceRoot":"","sources":["../../../../projects/ui/src/themes/default/segment.scss","../../../../projects/ui/src/themes/default/_mixins.scss","../../../../projects/ui/src/themes/default/_coloring.scss","../../../../projects/ui/src/themes/_variables.scss"],"names":[],"mappings":"AAIA;EAGE;IACE;IACA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAIF;IAEE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;ICsCF;;ECzEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAEF;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EDnGF;IACE;IACA;IACA;;EAEA;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EAGJ;IACE;IACA;;EAEA;IACE;;EAEF;IACE;;EAGJ;IACE;IACA;;EAOF;IAEE;;EAEF;IACE;;EAEF;IACE;;ED1CA;IC/BF;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IAEA;IDwBI;;EAIF;IACE;IACA;IACA;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,YACE;IAIF;IACA;IACA;;EAEA;IACE;IACA;;EAGF;IACE;IACA;;EAGF;IACE;IACA;IACA;;EAEA;IACE;IACA;;EAQJ;IACE;;EAIF;IACE;;EAIF;IACE;;EAOA;IACE;;EAIF;IACE;;EAOR;IACE;;EAII;IACE;;EAGF;IACE;;EAKR;IAEE,YGnJD;IHoJC;;EAEA;IACE;;EAEA;IACE;IACA;;EAGJ;IAGE;;EAEA;IACE;;EAEA;IACE;;EAGF;IACE;;EAOF;IACE;;EAIE;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EAMF;IACE;;EAEF;IACE;;EAEF;IACE;IACA;;EAMF;IACE;IACA;;EAEF;IACE;IACA;;EAEF;IACE;;EAQN;IACE;;EAEF;IACE;;EAMN;IACE;IACA;;EAGJ;IACE;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAGJ;IACE;IACA;;EAGE;IACE;;EAEA;IACE;;EAGA;IACE;;EAGJ;IACE;IACA;;EAEA;IACE;;EAQV;IAGE;IACA;;EAGE;IACE;;EAON;IAEE;;EAGE;IACE;;EAIN;IAEE;;EAGE;IACE;;EAIN;IACE;;EAKA;IACE;IACA;;EAEA;IACE;IACA;;EAMJ;IACE;IACA;IACA;IACA;;EAKJ;IACE;IACA;;EAEA;IACE;;EAKA;AAAA;IAEE;;EAEF;IACE","file":"segment.css"}
@@ -1,308 +1,306 @@
1
- :root {
2
- --ard-select-gap: 0.625rem;
3
- --ard-select-gap-compact: 0.5rem;
4
- --ard-select-controls-gap: 0.625rem;
5
- --ard-select-controls-gap-compact: 0.5rem;
6
- --ard-select-padding: 0 1em 0 0.375em;
7
- --ard-select-padding-compact: 0 0.625em 0 0.375em;
8
- --ard-select-search-min-width: 10ch;
9
- --ard-select-dropdown-arrow-active-transform: rotate(180deg);
10
- --ard-select-dropdown-arrow-transition: 0.2s ease-in-out;
11
- --ard-select-multiselect-padding: 0.25em 0;
12
- --ard-select-multiselect-chip-gap: 0.375rem;
13
- --ard-select-dropdown-width: max-content;
14
- --ard-select-dropdown-max-width: max(25em, 100%);
15
- --ard-select-dropdown-min-width: 100%;
16
- --ard-select-dropdown-max-height: 15em;
17
- --ard-select-dropdown-padding: 0.375em 0.625em;
18
- --ard-select-dropdown-gap: 0;
19
- --ard-select-dropdown-optgroup-label-font-size: 0.875em;
20
- --ard-select-dropdown-optgroup-label-font-weight: 600;
21
- --ard-select-dropdown-optgroup-label-letter-spacing: 0.25px;
22
- --ard-select-dropdown-optgroup-label-padding: 0.375em 0.625em 0.0625em 0.625em;
23
- --ard-select-dropdown-option-padding: 0.375em 0.625em;
24
- --ard-select-dropdown-option-selected-font-weight: 500;
25
- --ard-select-dropdown-option-disabled-opacity: 50%;
26
- --ard-select-dropdown-add-custom-gap: 0.375rem;
27
- --ard-select-dropdown-add-custom-label-font-size: 85%;
28
- }
29
-
30
- .ard-select {
31
- box-sizing: border-box;
32
- width: 100%;
33
- min-height: var(--ard-select-height, var(--ard-form-field-height, 2.3125rem));
34
- display: grid;
35
- align-items: center;
36
- grid-template-columns: 1fr max-content;
37
- gap: var(--ard-select-gap, 0.625rem);
38
- padding: var(--ard-select-padding, 0 1em 0 0.375em);
39
- font-family: var(--ard-font-family);
40
- font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
41
- color: var(--ard-select-text-color, var(--ard-text, rgb(0, 0, 0)));
42
- }
43
- .ard-select ard-clear-button {
44
- height: var(--ard-clear-button-size);
45
- width: var(--ard-clear-button-size);
46
- position: relative;
47
- }
48
- .ard-select .ard-clear-btn-wrapper {
49
- cursor: pointer;
50
- font-size: medium;
51
- color: var(--ard-detail);
52
- width: var(--ard-clear-button-size);
53
- height: var(--ard-clear-button-size);
54
- line-height: 1em;
55
- border-radius: 999px;
56
- border: none;
57
- padding: 0;
58
- background: transparent;
59
- position: absolute;
60
- left: 50%;
61
- top: 50%;
62
- transform: translate(-50%, -50%);
63
- outline: none;
64
- color: inherit;
65
- }
66
- .ard-select .ard-clear-btn-wrapper .ard-hitbox {
67
- position: absolute;
68
- left: -1px;
69
- right: -1px;
70
- top: -1px;
71
- bottom: -1px;
72
- }
73
- .ard-select .ard-clear-btn-wrapper .ard-focus-overlay {
74
- position: absolute;
75
- top: calc(-1 * 1px);
76
- bottom: calc(-1 * 1px);
77
- left: calc(-1 * 1px);
78
- right: calc(-1 * 1px);
79
- opacity: 0;
80
- border-radius: inherit;
81
- pointer-events: none;
82
- transition: opacity 0.2s ease;
83
- background: currentColor;
84
- }
85
- .ard-select .ard-clear-btn-wrapper .ard-clear-btn {
86
- position: absolute;
87
- left: 50%;
88
- top: 50%;
89
- transform: translate(-50%, -50%);
90
- }
91
- .ard-select .ard-clear-btn-wrapper .ard-clear-btn::before {
92
- content: "close";
93
- font-family: "Material Symbols Outlined";
94
- font-size: 1.5em;
95
- font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
96
- font-size: 70%;
97
- }
98
- .ard-select .ard-clear-btn-wrapper:hover .ard-focus-overlay {
99
- opacity: 5%;
100
- }
101
- .ard-select .ard-clear-btn-wrapper:focus .ard-focus-overlay {
102
- opacity: 8%;
103
- }
104
- .ard-select .ard-clear-btn-wrapper:active .ard-focus-overlay {
105
- opacity: 15%;
106
- }
107
- .ard-select .ard-select-value-container {
108
- position: relative;
109
- height: 2em;
110
- display: flex;
111
- align-items: center;
112
- font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
113
- text-size-adjust: 100%;
114
- flex-grow: 1;
115
- overflow: hidden;
116
- }
117
- .ard-select .ard-select-value-container .ard-placeholder {
118
- font: inherit;
119
- position: absolute;
120
- color: var(--ard-select-placeholder-color, var(--ard-text3, rgba(0, 0, 0, 0.75)));
121
- white-space: nowrap;
122
- overflow: hidden;
123
- text-overflow: ellipsis;
124
- width: max-content;
125
- max-width: 100%;
126
- pointer-events: none;
127
- }
128
- .ard-select .ard-select-value-container .ard-search-input {
129
- width: 100%;
130
- max-width: 100%;
131
- }
132
- .ard-select .ard-select-value-container .ard-search-input input {
133
- border: none;
134
- background: transparent;
135
- outline: none;
136
- font: inherit;
137
- padding-left: 1px;
138
- display: block;
139
- width: 100%;
140
- max-width: 100%;
141
- }
142
- .ard-select .ard-select-controls {
143
- display: flex;
144
- align-items: center;
145
- gap: var(--ard-select-controls-gap, 0.625rem);
146
- width: max-content;
147
- }
148
- .ard-select.ard-singleselect .ard-value {
149
- width: max-content;
150
- white-space: nowrap;
151
- }
152
- .ard-select:not(.ard-searchable) .ard-search-input, .ard-select.ard-singleselect .ard-search-input {
153
- position: absolute;
154
- top: 50%;
155
- left: 0;
156
- transform: translateY(-50%) translateX(-1px);
157
- width: max-content;
158
- }
159
- .ard-select:not(.ard-searchable) .ard-search-input input, .ard-select.ard-singleselect .ard-search-input input {
160
- width: max-content;
161
- }
162
- .ard-select:not(.ard-searchable) .ard-search-input {
163
- pointer-events: none;
164
- }
165
- .ard-select.ard-multiselect {
166
- height: max-content;
167
- }
168
- .ard-select.ard-multiselect .ard-select-value-container {
169
- height: max-content;
170
- min-height: 1.5625em;
171
- padding: var(--ard-select-multiselect-padding, 0.25em 0);
172
- box-sizing: border-box;
173
- flex-wrap: wrap;
174
- gap: var(--ard-select-multiselect-chip-gap, 0.375rem);
175
- justify-content: stretch;
176
- }
177
- .ard-select.ard-multiselect .ard-select-value-container .ard-chip-wrapper {
178
- margin: 0;
179
- }
180
- .ard-select.ard-multiselect .ard-search-input {
181
- flex-grow: 1;
182
- width: unset !important;
183
- min-width: var(--ard-select-search-min-width, 10ch);
184
- }
185
- .ard-select.ard-multiselect .ard-search-input input {
186
- width: var(--ard-select-search-min-width, 10ch) !important;
187
- }
188
- .ard-select.ard-multiselect .ard-chip-wrapper {
189
- margin: 0;
190
- }
191
- .ard-select .ard-dropdown-arrow-wrapper {
192
- display: flex;
193
- align-items: center;
194
- height: max-content;
195
- width: max-content;
196
- background-color: transparent;
197
- border: none;
198
- cursor: pointer;
199
- transition: transform var(--ard-select-dropdown-arrow-transition, 0.2s ease-in-out);
200
- }
201
- .ard-select .ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
202
- border: calc(var(--ard-dropdown-button-size) / 2) solid transparent;
203
- position: relative;
204
- border-bottom-color: var(--ard-select-dropdown-arrow-color, var(--ard-detail));
205
- border-right-color: var(--ard-select-dropdown-arrow-color, var(--ard-detail));
206
- transform: rotate(45deg) translate(-17.67771%, -17.67771%);
207
- }
208
- .ard-select.ard-dropdown-open .ard-dropdown-arrow-wrapper {
209
- transform: var(--ard-select-dropdown-arrow-active-transform, rotate(180deg));
210
- }
211
- .ard-select.ard-compact {
212
- font-size: var(--ard-select-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
213
- min-height: var(--ard-select-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
214
- padding: var(--ard-select-padding-compact, 0 0.625em 0 0.375em);
215
- }
216
- .ard-select.ard-compact .ard-select-controls {
217
- gap: var(--ard-select-controls-gap-compact, 0.5rem);
218
- }
219
- .ard-select.ard-compact .ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
220
- border-width: calc(var(--ard-dropdown-button-size) / 2.4);
221
- }
222
-
223
- .ard-select-dropdown-panel {
224
- right: 0;
225
- width: var(--ard-select-dropdown-width, max-content);
226
- max-width: var(--ard-select-dropdown-max-width, max(25em, 100%));
227
- min-width: var(--ard-select-dropdown-min-width, 100%);
228
- font-size: var(--ard-select-dropdown-font-size, var(--ard-form-field-font-size, 1rem));
229
- }
230
- .ard-select-dropdown-panel .ard-dropdown-panel-content {
231
- padding: var(--ard-select-dropdown-padding, 0.375em 0.625em);
232
- max-height: var(--ard-select-dropdown-max-height, 15em);
233
- overflow: hidden auto;
234
- }
235
- .ard-select-dropdown-panel .ard-optgroup {
236
- display: flex;
237
- flex-direction: column;
238
- cursor: pointer;
239
- }
240
- .ard-select-dropdown-panel .ard-optgroup-children {
241
- cursor: default;
242
- }
243
- .ard-select-dropdown-panel .ard-optgroup-label {
244
- font-size: var(--ard-select-dropdown-optgroup-label-font-size, 0.875em);
245
- font-weight: var(--ard-select-dropdown-optgroup-label-font-weight, 600);
246
- letter-spacing: 0.25px;
247
- padding: var(--ard-select-dropdown-optgroup-label-padding, 0.375em 0.625em 0.0625em 0.625em);
248
- }
249
- .ard-select-dropdown-panel .ard-option {
250
- padding: var(--ard-select-dropdown-option-padding, 0.375em 0.625em);
251
- color: var(--ard-select-dropdown-option-text-color, var(--ard-text2, rgba(0, 0, 0, 0.87)));
252
- cursor: pointer;
253
- }
254
- .ard-select-dropdown-panel .ard-option.ard-option-highlighted {
255
- background: var(--ard-select-dropdown-option-highlighted-bg, var(--ard-darken-overlay-light));
256
- }
257
- .ard-select-dropdown-panel .ard-option.ard-option-selected {
258
- font-weight: var(--ard-select-dropdown-option-selected-font-weight, 500);
259
- background: var(--ard-select-dropdown-option-selected-bg, var(--ard-darken-overlay-medium));
260
- }
261
- .ard-select-dropdown-panel .ard-option.ard-option-selected.ard-option-highlighted {
262
- background: var(--ard-select-dropdown-option-selected-highlighted-bg, var(--ard-darken-overlay-medium-strong));
263
- }
264
- .ard-select-dropdown-panel .ard-option.ard-option-disabled {
265
- pointer-events: none;
266
- opacity: var(--ard-select-dropdown-option-disabled-opacity, 50%);
267
- }
268
- .ard-select-dropdown-panel hr.ard-divider {
269
- width: calc(100% - 1.25em);
270
- margin: 0.375em 0.625em;
271
- border: none;
272
- border-bottom: 1px solid var(--ard-darken-overlay-strong);
273
- }
274
- .ard-select-dropdown-panel .ard-optgroup:first-child > hr.ard-divider {
275
- display: none;
276
- }
277
- .ard-select-dropdown-panel .ard-add-custom {
278
- display: flex;
279
- align-items: flex-end;
280
- gap: var(--ard-select-dropdown-add-custom-gap, 0.375rem);
281
- }
282
- .ard-select-dropdown-panel .ard-add-custom .ard-add-custom-label {
283
- font-size: var(--ard-select-dropdown-add-custom-label-font-size, 85%);
284
- }
285
- .ard-select-dropdown-panel > .ard-compact {
286
- font-size: var(--ard-select-dropdown-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
287
- }
288
-
289
- .ard-simple-spinner {
290
- border-radius: 999px;
291
- border: 0.5em solid var(--ard-spinner-color);
292
- border-top-color: transparent;
293
- animation: spinner-anim 1s linear infinite;
294
- position: relative;
295
- }
296
- .ard-simple-spinner::after {
297
- content: "";
298
- position: absolute;
299
- top: 50%;
300
- left: 50%;
301
- transform: translate(-50%, -50%);
302
- border-radius: 999px;
303
- border: 0.35em solid var(--ard-bg);
1
+ @layer ard-theme {
2
+ :root {
3
+ --ard-select-gap: 0.625rem;
4
+ --ard-select-gap-compact: 0.5rem;
5
+ --ard-select-controls-gap: 0.625rem;
6
+ --ard-select-controls-gap-compact: 0.5rem;
7
+ --ard-select-padding: 0 1em 0 0.375em;
8
+ --ard-select-padding-compact: 0 0.625em 0 0.375em;
9
+ --ard-select-search-min-width: 10ch;
10
+ --ard-select-dropdown-arrow-active-transform: rotate(180deg);
11
+ --ard-select-dropdown-arrow-transition: 0.2s ease-in-out;
12
+ --ard-select-multiselect-padding: 0.25em 0;
13
+ --ard-select-multiselect-chip-gap: 0.375rem;
14
+ --ard-select-dropdown-width: max-content;
15
+ --ard-select-dropdown-max-width: max(25em, 100%);
16
+ --ard-select-dropdown-min-width: 100%;
17
+ --ard-select-dropdown-max-height: 15em;
18
+ --ard-select-dropdown-padding: 0.375em 0.625em;
19
+ --ard-select-dropdown-gap: 0;
20
+ --ard-select-dropdown-optgroup-label-font-size: 0.875em;
21
+ --ard-select-dropdown-optgroup-label-font-weight: 600;
22
+ --ard-select-dropdown-optgroup-label-letter-spacing: 0.25px;
23
+ --ard-select-dropdown-optgroup-label-padding: 0.375em 0.625em 0.0625em 0.625em;
24
+ --ard-select-dropdown-option-padding: 0.375em 0.625em;
25
+ --ard-select-dropdown-option-selected-font-weight: 500;
26
+ --ard-select-dropdown-option-disabled-opacity: 50%;
27
+ --ard-select-dropdown-add-custom-gap: 0.375rem;
28
+ --ard-select-dropdown-add-custom-label-font-size: 85%;
29
+ }
30
+ .ard-select {
31
+ box-sizing: border-box;
32
+ width: 100%;
33
+ min-height: var(--ard-select-height, var(--ard-form-field-height, 2.3125rem));
34
+ display: grid;
35
+ align-items: center;
36
+ grid-template-columns: 1fr max-content;
37
+ gap: var(--ard-select-gap, 0.625rem);
38
+ padding: var(--ard-select-padding, 0 1em 0 0.375em);
39
+ font-family: var(--ard-font-family);
40
+ font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
41
+ color: var(--ard-select-text-color, var(--ard-text, rgb(0, 0, 0)));
42
+ }
43
+ .ard-select ard-clear-button {
44
+ height: var(--ard-clear-button-size);
45
+ width: var(--ard-clear-button-size);
46
+ position: relative;
47
+ }
48
+ .ard-select .ard-clear-btn-wrapper {
49
+ cursor: pointer;
50
+ font-size: medium;
51
+ color: var(--ard-detail);
52
+ width: var(--ard-clear-button-size);
53
+ height: var(--ard-clear-button-size);
54
+ line-height: 1em;
55
+ border-radius: 999px;
56
+ border: none;
57
+ padding: 0;
58
+ background: transparent;
59
+ position: absolute;
60
+ left: 50%;
61
+ top: 50%;
62
+ transform: translate(-50%, -50%);
63
+ outline: none;
64
+ color: inherit;
65
+ }
66
+ .ard-select .ard-clear-btn-wrapper .ard-hitbox {
67
+ position: absolute;
68
+ left: -1px;
69
+ right: -1px;
70
+ top: -1px;
71
+ bottom: -1px;
72
+ }
73
+ .ard-select .ard-clear-btn-wrapper .ard-focus-overlay {
74
+ position: absolute;
75
+ top: calc(-1 * 1px);
76
+ bottom: calc(-1 * 1px);
77
+ left: calc(-1 * 1px);
78
+ right: calc(-1 * 1px);
79
+ opacity: 0;
80
+ border-radius: inherit;
81
+ pointer-events: none;
82
+ transition: opacity 0.2s ease;
83
+ background: currentColor;
84
+ }
85
+ .ard-select .ard-clear-btn-wrapper .ard-clear-btn {
86
+ position: absolute;
87
+ left: 50%;
88
+ top: 50%;
89
+ transform: translate(-50%, -50%);
90
+ }
91
+ .ard-select .ard-clear-btn-wrapper .ard-clear-btn::before {
92
+ content: "close";
93
+ font-family: "Material Symbols Outlined";
94
+ font-size: 1.5em;
95
+ font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 48;
96
+ font-size: 70%;
97
+ }
98
+ .ard-select .ard-clear-btn-wrapper:hover .ard-focus-overlay {
99
+ opacity: 5%;
100
+ }
101
+ .ard-select .ard-clear-btn-wrapper:focus .ard-focus-overlay {
102
+ opacity: 8%;
103
+ }
104
+ .ard-select .ard-clear-btn-wrapper:active .ard-focus-overlay {
105
+ opacity: 15%;
106
+ }
107
+ .ard-select .ard-select-value-container {
108
+ position: relative;
109
+ height: 2em;
110
+ display: flex;
111
+ align-items: center;
112
+ font-size: var(--ard-select-font-size, var(--ard-form-field-font-size, 1rem));
113
+ text-size-adjust: 100%;
114
+ flex-grow: 1;
115
+ overflow: hidden;
116
+ }
117
+ .ard-select .ard-select-value-container .ard-placeholder {
118
+ font: inherit;
119
+ position: absolute;
120
+ color: var(--ard-select-placeholder-color, var(--ard-text3, rgba(0, 0, 0, 0.75)));
121
+ white-space: nowrap;
122
+ overflow: hidden;
123
+ text-overflow: ellipsis;
124
+ width: max-content;
125
+ max-width: 100%;
126
+ pointer-events: none;
127
+ }
128
+ .ard-select .ard-select-value-container .ard-search-input {
129
+ width: 100%;
130
+ max-width: 100%;
131
+ }
132
+ .ard-select .ard-select-value-container .ard-search-input input {
133
+ border: none;
134
+ background: transparent;
135
+ outline: none;
136
+ font: inherit;
137
+ padding-left: 1px;
138
+ display: block;
139
+ width: 100%;
140
+ max-width: 100%;
141
+ }
142
+ .ard-select .ard-select-controls {
143
+ display: flex;
144
+ align-items: center;
145
+ gap: var(--ard-select-controls-gap, 0.625rem);
146
+ width: max-content;
147
+ }
148
+ .ard-select.ard-singleselect .ard-value {
149
+ width: max-content;
150
+ white-space: nowrap;
151
+ }
152
+ .ard-select:not(.ard-searchable) .ard-search-input, .ard-select.ard-singleselect .ard-search-input {
153
+ position: absolute;
154
+ top: 50%;
155
+ left: 0;
156
+ transform: translateY(-50%) translateX(-1px);
157
+ width: max-content;
158
+ }
159
+ .ard-select:not(.ard-searchable) .ard-search-input input, .ard-select.ard-singleselect .ard-search-input input {
160
+ width: max-content;
161
+ }
162
+ .ard-select:not(.ard-searchable) .ard-search-input {
163
+ pointer-events: none;
164
+ }
165
+ .ard-select.ard-multiselect {
166
+ height: max-content;
167
+ }
168
+ .ard-select.ard-multiselect .ard-select-value-container {
169
+ height: max-content;
170
+ min-height: 1.5625em;
171
+ padding: var(--ard-select-multiselect-padding, 0.25em 0);
172
+ box-sizing: border-box;
173
+ flex-wrap: wrap;
174
+ gap: var(--ard-select-multiselect-chip-gap, 0.375rem);
175
+ justify-content: stretch;
176
+ }
177
+ .ard-select.ard-multiselect .ard-select-value-container .ard-chip-wrapper {
178
+ margin: 0;
179
+ }
180
+ .ard-select.ard-multiselect .ard-search-input {
181
+ flex-grow: 1;
182
+ width: unset !important;
183
+ min-width: var(--ard-select-search-min-width, 10ch);
184
+ }
185
+ .ard-select.ard-multiselect .ard-search-input input {
186
+ width: var(--ard-select-search-min-width, 10ch) !important;
187
+ }
188
+ .ard-select.ard-multiselect .ard-chip-wrapper {
189
+ margin: 0;
190
+ }
191
+ .ard-select .ard-dropdown-arrow-wrapper {
192
+ display: flex;
193
+ align-items: center;
194
+ height: max-content;
195
+ width: max-content;
196
+ background-color: transparent;
197
+ border: none;
198
+ cursor: pointer;
199
+ transition: transform var(--ard-select-dropdown-arrow-transition, 0.2s ease-in-out);
200
+ }
201
+ .ard-select .ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
202
+ border: calc(var(--ard-dropdown-button-size) / 2) solid transparent;
203
+ position: relative;
204
+ border-bottom-color: var(--ard-select-dropdown-arrow-color, var(--ard-detail));
205
+ border-right-color: var(--ard-select-dropdown-arrow-color, var(--ard-detail));
206
+ transform: rotate(45deg) translate(-17.67771%, -17.67771%);
207
+ }
208
+ .ard-select.ard-dropdown-open .ard-dropdown-arrow-wrapper {
209
+ transform: var(--ard-select-dropdown-arrow-active-transform, rotate(180deg));
210
+ }
211
+ .ard-select.ard-compact {
212
+ font-size: var(--ard-select-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
213
+ min-height: var(--ard-select-height-compact, var(--ard-form-field-height-compact, 1.6875rem));
214
+ padding: var(--ard-select-padding-compact, 0 0.625em 0 0.375em);
215
+ }
216
+ .ard-select.ard-compact .ard-select-controls {
217
+ gap: var(--ard-select-controls-gap-compact, 0.5rem);
218
+ }
219
+ .ard-select.ard-compact .ard-dropdown-arrow-wrapper .ard-dropdown-arrow {
220
+ border-width: calc(var(--ard-dropdown-button-size) / 2.4);
221
+ }
222
+ .ard-select-dropdown-panel {
223
+ right: 0;
224
+ width: var(--ard-select-dropdown-width, max-content);
225
+ max-width: var(--ard-select-dropdown-max-width, max(25em, 100%));
226
+ min-width: var(--ard-select-dropdown-min-width, 100%);
227
+ font-size: var(--ard-select-dropdown-font-size, var(--ard-form-field-font-size, 1rem));
228
+ }
229
+ .ard-select-dropdown-panel .ard-dropdown-panel-content {
230
+ padding: var(--ard-select-dropdown-padding, 0.375em 0.625em);
231
+ max-height: var(--ard-select-dropdown-max-height, 15em);
232
+ overflow: hidden auto;
233
+ }
234
+ .ard-select-dropdown-panel .ard-optgroup {
235
+ display: flex;
236
+ flex-direction: column;
237
+ cursor: pointer;
238
+ }
239
+ .ard-select-dropdown-panel .ard-optgroup-children {
240
+ cursor: default;
241
+ }
242
+ .ard-select-dropdown-panel .ard-optgroup-label {
243
+ font-size: var(--ard-select-dropdown-optgroup-label-font-size, 0.875em);
244
+ font-weight: var(--ard-select-dropdown-optgroup-label-font-weight, 600);
245
+ letter-spacing: 0.25px;
246
+ padding: var(--ard-select-dropdown-optgroup-label-padding, 0.375em 0.625em 0.0625em 0.625em);
247
+ }
248
+ .ard-select-dropdown-panel .ard-option {
249
+ padding: var(--ard-select-dropdown-option-padding, 0.375em 0.625em);
250
+ color: var(--ard-select-dropdown-option-text-color, var(--ard-text2, rgba(0, 0, 0, 0.87)));
251
+ cursor: pointer;
252
+ }
253
+ .ard-select-dropdown-panel .ard-option.ard-option-highlighted {
254
+ background: var(--ard-select-dropdown-option-highlighted-bg, var(--ard-darken-overlay-light));
255
+ }
256
+ .ard-select-dropdown-panel .ard-option.ard-option-selected {
257
+ font-weight: var(--ard-select-dropdown-option-selected-font-weight, 500);
258
+ background: var(--ard-select-dropdown-option-selected-bg, var(--ard-darken-overlay-medium));
259
+ }
260
+ .ard-select-dropdown-panel .ard-option.ard-option-selected.ard-option-highlighted {
261
+ background: var(--ard-select-dropdown-option-selected-highlighted-bg, var(--ard-darken-overlay-medium-strong));
262
+ }
263
+ .ard-select-dropdown-panel .ard-option.ard-option-disabled {
264
+ pointer-events: none;
265
+ opacity: var(--ard-select-dropdown-option-disabled-opacity, 50%);
266
+ }
267
+ .ard-select-dropdown-panel hr.ard-divider {
268
+ width: calc(100% - 1.25em);
269
+ margin: 0.375em 0.625em;
270
+ border: none;
271
+ border-bottom: 1px solid var(--ard-darken-overlay-strong);
272
+ }
273
+ .ard-select-dropdown-panel .ard-optgroup:first-child > hr.ard-divider {
274
+ display: none;
275
+ }
276
+ .ard-select-dropdown-panel .ard-add-custom {
277
+ display: flex;
278
+ align-items: flex-end;
279
+ gap: var(--ard-select-dropdown-add-custom-gap, 0.375rem);
280
+ }
281
+ .ard-select-dropdown-panel .ard-add-custom .ard-add-custom-label {
282
+ font-size: var(--ard-select-dropdown-add-custom-label-font-size, 85%);
283
+ }
284
+ .ard-select-dropdown-panel > .ard-compact {
285
+ font-size: var(--ard-select-dropdown-font-size-compact, var(--ard-form-field-font-size-compact, 0.875rem));
286
+ }
287
+ .ard-simple-spinner {
288
+ border-radius: 999px;
289
+ border: 0.5em solid var(--ard-spinner-color);
290
+ border-top-color: transparent;
291
+ animation: spinner-anim 1s linear infinite;
292
+ position: relative;
293
+ }
294
+ .ard-simple-spinner::after {
295
+ content: "";
296
+ position: absolute;
297
+ top: 50%;
298
+ left: 50%;
299
+ transform: translate(-50%, -50%);
300
+ border-radius: 999px;
301
+ border: 0.35em solid var(--ard-bg);
302
+ }
304
303
  }
305
-
306
304
  @keyframes spinner-anim {
307
305
  0% {
308
306
  transform: rotate(0deg);