@aortl/admin-css 0.17.0 → 0.18.0

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.
@@ -168,20 +168,20 @@
168
168
  inherits: false;
169
169
  initial-value: 0 0 #0000;
170
170
  }
171
- @property --tw-leading {
171
+ @property --tw-outline-style {
172
172
  syntax: "*";
173
173
  inherits: false;
174
+ initial-value: solid;
174
175
  }
175
- @property --tw-font-weight {
176
+ @property --tw-leading {
176
177
  syntax: "*";
177
178
  inherits: false;
178
179
  }
179
- @property --tw-border-style {
180
+ @property --tw-font-weight {
180
181
  syntax: "*";
181
182
  inherits: false;
182
- initial-value: solid;
183
183
  }
184
- @property --tw-outline-style {
184
+ @property --tw-border-style {
185
185
  syntax: "*";
186
186
  inherits: false;
187
187
  initial-value: solid;
@@ -263,10 +263,10 @@
263
263
  --tw-ring-offset-width: 0px;
264
264
  --tw-ring-offset-color: #fff;
265
265
  --tw-ring-offset-shadow: 0 0 #0000;
266
+ --tw-outline-style: solid;
266
267
  --tw-leading: initial;
267
268
  --tw-font-weight: initial;
268
269
  --tw-border-style: solid;
269
- --tw-outline-style: solid;
270
270
  --tw-duration: initial;
271
271
  --tw-tracking: initial;
272
272
  --tw-translate-x: 0;
@@ -792,21 +792,27 @@
792
792
  row-gap: 0.25rem;
793
793
  align-items: center;
794
794
  }
795
- :scope._ao-alert:has(> ._ao-alert-action), :scope ._ao-alert:has(> ._ao-alert-action) {
795
+ :scope._ao-alert:has(> ._ao-alert-action), :scope ._ao-alert:has(> ._ao-alert-action), :scope._ao-alert:has(> ._ao-alert-dismiss), :scope ._ao-alert:has(> ._ao-alert-dismiss) {
796
796
  display: grid;
797
797
  grid-template-columns: minmax(0, 1fr) auto;
798
798
  column-gap: 0.5rem;
799
799
  row-gap: 0.25rem;
800
800
  align-items: center;
801
801
  }
802
- :scope._ao-alert:has(> :is(i, svg):first-child):has(> ._ao-alert-action), :scope ._ao-alert:has(> :is(i, svg):first-child):has(> ._ao-alert-action) {
802
+ :scope._ao-alert:has(> ._ao-alert-action):has(> ._ao-alert-dismiss), :scope ._ao-alert:has(> ._ao-alert-action):has(> ._ao-alert-dismiss) {
803
+ grid-template-columns: minmax(0, 1fr) auto auto;
804
+ }
805
+ :scope._ao-alert:has(> :is(i, svg):first-child):is(:has(> ._ao-alert-action), :has(> ._ao-alert-dismiss)), :scope ._ao-alert:has(> :is(i, svg):first-child):is(:has(> ._ao-alert-action), :has(> ._ao-alert-dismiss)) {
803
806
  grid-template-columns: auto minmax(0, 1fr) auto;
804
807
  }
808
+ :scope._ao-alert:has(> :is(i, svg):first-child):has(> ._ao-alert-action):has(> ._ao-alert-dismiss), :scope ._ao-alert:has(> :is(i, svg):first-child):has(> ._ao-alert-action):has(> ._ao-alert-dismiss) {
809
+ grid-template-columns: auto minmax(0, 1fr) auto auto;
810
+ }
805
811
  :scope._ao-alert > :is(i, svg):first-child, :scope ._ao-alert > :is(i, svg):first-child {
806
812
  font-size: 1rem;
807
813
  line-height: 1.25;
808
814
  }
809
- :scope._ao-alert:has(> ._ao-alert-title):is(:has(> :is(i, svg):first-child), :has(> ._ao-alert-action)), :scope ._ao-alert:has(> ._ao-alert-title):is(:has(> :is(i, svg):first-child), :has(> ._ao-alert-action)) {
815
+ :scope._ao-alert:has(> ._ao-alert-title):is( :has(> :is(i, svg):first-child), :has(> ._ao-alert-action), :has(> ._ao-alert-dismiss) ), :scope ._ao-alert:has(> ._ao-alert-title):is( :has(> :is(i, svg):first-child), :has(> ._ao-alert-action), :has(> ._ao-alert-dismiss) ) {
810
816
  grid-template-rows: auto auto;
811
817
  align-items: start;
812
818
  }
@@ -819,14 +825,22 @@
819
825
  :scope._ao-alert:has(> :is(i, svg):first-child) > :is(._ao-alert-title, ._ao-alert-description), :scope ._ao-alert:has(> :is(i, svg):first-child) > :is(._ao-alert-title, ._ao-alert-description) {
820
826
  grid-column: 2;
821
827
  }
828
+ :scope._ao-alert > :is(._ao-alert-action, ._ao-alert-dismiss), :scope ._ao-alert > :is(._ao-alert-action, ._ao-alert-dismiss) {
829
+ grid-row: 1 / -1;
830
+ justify-self: end;
831
+ align-self: center;
832
+ }
822
833
  :scope._ao-alert > ._ao-alert-action, :scope ._ao-alert > ._ao-alert-action {
823
834
  --tw-font-weight: var(--font-weight-medium);
824
835
  font-weight: var(--font-weight-medium);
825
836
  white-space: nowrap;
826
837
  grid-column: -2;
827
- grid-row: 1 / -1;
828
- justify-self: end;
829
- align-self: center;
838
+ }
839
+ :scope._ao-alert > ._ao-alert-dismiss, :scope ._ao-alert > ._ao-alert-dismiss {
840
+ grid-column: -2;
841
+ }
842
+ :scope._ao-alert:has(> ._ao-alert-dismiss) > ._ao-alert-action, :scope ._ao-alert:has(> ._ao-alert-dismiss) > ._ao-alert-action {
843
+ grid-column: -3;
830
844
  }
831
845
  :scope._ao-alert-info, :scope ._ao-alert-info {
832
846
  border-color: var(--color-info);
@@ -855,6 +869,39 @@
855
869
  :scope._ao-alert-description, :scope ._ao-alert-description {
856
870
  opacity: 0.85;
857
871
  }
872
+ :scope._ao-alert-dismiss, :scope ._ao-alert-dismiss {
873
+ margin-right: calc(var(--spacing) * -1);
874
+ display: inline-flex;
875
+ width: calc(var(--spacing) * 5);
876
+ height: calc(var(--spacing) * 5);
877
+ flex-shrink: 0;
878
+ cursor: pointer;
879
+ align-items: center;
880
+ justify-content: center;
881
+ border-radius: 0.25rem;
882
+ color: inherit;
883
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
884
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
885
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
886
+ --tw-duration: 150ms;
887
+ transition-duration: 150ms;
888
+ &:focus-visible {
889
+ outline-style: var(--tw-outline-style);
890
+ outline-width: 2px;
891
+ }
892
+ &:focus-visible {
893
+ outline-offset: 1px;
894
+ }
895
+ &:focus-visible {
896
+ outline-color: var(--color-focus);
897
+ }
898
+ }
899
+ :scope._ao-alert-dismiss:hover, :scope ._ao-alert-dismiss:hover {
900
+ background-color: currentColor;
901
+ @supports (color: color-mix(in lab, red, red)) {
902
+ background-color: color-mix(in oklab, currentColor 15%, transparent);
903
+ }
904
+ }
858
905
  :scope._ao-alert ._ao-link, :scope ._ao-alert ._ao-link {
859
906
  color: currentcolor;
860
907
  &:hover {
@@ -1182,6 +1229,13 @@
1182
1229
  :scope._ao-avatar-group > ._ao-avatar + ._ao-avatar, :scope ._ao-avatar-group > ._ao-avatar + ._ao-avatar {
1183
1230
  margin-inline-start: calc(var(--spacing) * -2);
1184
1231
  }
1232
+ :scope._ao-avatar-more, :scope ._ao-avatar-more {
1233
+ background-color: var(--color-surface-strong);
1234
+ --tw-font-weight: var(--font-weight-medium);
1235
+ font-weight: var(--font-weight-medium);
1236
+ color: var(--color-text-muted);
1237
+ font-variant-numeric: tabular-nums;
1238
+ }
1185
1239
  :scope._ao-kbd, :scope ._ao-kbd {
1186
1240
  display: inline-flex;
1187
1241
  height: 1.4em;
@@ -2148,18 +2202,190 @@
2148
2202
  :scope._ao-input-icon > :where(i, svg):first-child, :scope ._ao-input-icon > :where(i, svg):first-child {
2149
2203
  left: var(--input-icon-inset);
2150
2204
  }
2151
- :scope._ao-input-icon > ._ao-input ~ :where(i, svg), :scope ._ao-input-icon > ._ao-input ~ :where(i, svg) {
2205
+ :scope._ao-input-icon > ._ao-input ~ :where(i, svg, ._ao-input-action), :scope ._ao-input-icon > ._ao-input ~ :where(i, svg, ._ao-input-action) {
2152
2206
  right: var(--input-icon-inset);
2153
2207
  }
2154
2208
  :scope._ao-input-icon:has(> :where(i, svg):first-child) > ._ao-input, :scope ._ao-input-icon:has(> :where(i, svg):first-child) > ._ao-input {
2155
2209
  padding-left: var(--input-icon-pad);
2156
2210
  }
2157
- :scope._ao-input-icon:has(> ._ao-input ~ :where(i, svg)) > ._ao-input, :scope ._ao-input-icon:has(> ._ao-input ~ :where(i, svg)) > ._ao-input {
2211
+ :scope._ao-input-icon:has(> ._ao-input ~ :where(i, svg, ._ao-input-action)) > ._ao-input, :scope ._ao-input-icon:has(> ._ao-input ~ :where(i, svg, ._ao-input-action)) > ._ao-input {
2158
2212
  padding-right: var(--input-icon-pad);
2159
2213
  }
2160
2214
  :scope._ao-input-icon:has(> ._ao-input:disabled) > :where(i, svg), :scope ._ao-input-icon:has(> ._ao-input:disabled) > :where(i, svg) {
2161
2215
  opacity: 50%;
2162
2216
  }
2217
+ :scope._ao-input-action, :scope ._ao-input-action {
2218
+ position: absolute;
2219
+ top: calc(1 / 2 * 100%);
2220
+ display: inline-flex;
2221
+ width: calc(var(--spacing) * 5);
2222
+ height: calc(var(--spacing) * 5);
2223
+ --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
2224
+ translate: var(--tw-translate-x) var(--tw-translate-y);
2225
+ cursor: pointer;
2226
+ align-items: center;
2227
+ justify-content: center;
2228
+ border-radius: 0.25rem;
2229
+ border-style: var(--tw-border-style);
2230
+ border-width: 0px;
2231
+ background-color: transparent;
2232
+ color: var(--color-text-muted);
2233
+ &:hover {
2234
+ @media (hover: hover) {
2235
+ color: var(--color-text);
2236
+ }
2237
+ }
2238
+ &:focus-visible {
2239
+ outline-style: var(--tw-outline-style);
2240
+ outline-width: 2px;
2241
+ }
2242
+ &:focus-visible {
2243
+ outline-offset: 1px;
2244
+ }
2245
+ &:focus-visible {
2246
+ outline-color: var(--color-focus);
2247
+ }
2248
+ }
2249
+ :scope._ao-input-action:hover, :scope ._ao-input-action:hover {
2250
+ background-color: currentColor;
2251
+ @supports (color: color-mix(in lab, red, red)) {
2252
+ background-color: color-mix(in oklab, currentColor 12%, transparent);
2253
+ }
2254
+ }
2255
+ :scope._ao-input-icon:has(> ._ao-input:disabled) > ._ao-input-action, :scope ._ao-input-icon:has(> ._ao-input:disabled) > ._ao-input-action {
2256
+ pointer-events: none;
2257
+ opacity: 50%;
2258
+ }
2259
+ :scope._ao-number-input-root, :scope ._ao-number-input-root {
2260
+ display: contents;
2261
+ }
2262
+ :scope._ao-number-input, :scope ._ao-number-input {
2263
+ display: inline-flex;
2264
+ width: 100%;
2265
+ align-items: stretch;
2266
+ border-radius: var(--radius-lg);
2267
+ border-style: var(--tw-border-style);
2268
+ border-width: 1px;
2269
+ border-color: var(--color-border);
2270
+ background-color: var(--color-surface);
2271
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
2272
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
2273
+ transition-duration: var(--tw-duration, var(--default-transition-duration));
2274
+ --tw-duration: 150ms;
2275
+ transition-duration: 150ms;
2276
+ &:focus-within {
2277
+ outline-style: var(--tw-outline-style);
2278
+ outline-width: 2px;
2279
+ }
2280
+ &:focus-within {
2281
+ outline-offset: 2px;
2282
+ }
2283
+ &:focus-within {
2284
+ outline-color: var(--color-focus);
2285
+ }
2286
+ }
2287
+ :scope._ao-number-input:hover, :scope ._ao-number-input:hover {
2288
+ border-color: var(--color-border-strong);
2289
+ }
2290
+ :scope._ao-number-input-field, :scope ._ao-number-input-field {
2291
+ width: 100%;
2292
+ min-width: calc(var(--spacing) * 0);
2293
+ flex: 1;
2294
+ border-style: var(--tw-border-style);
2295
+ border-width: 0px;
2296
+ background-color: transparent;
2297
+ padding-inline: calc(var(--spacing) * 3);
2298
+ padding-block: calc(var(--spacing) * 2);
2299
+ text-align: right;
2300
+ font-size: var(--text-sm);
2301
+ line-height: var(--tw-leading, var(--text-sm--line-height));
2302
+ --tw-leading: 1;
2303
+ line-height: 1;
2304
+ color: var(--color-text);
2305
+ --tw-numeric-spacing: tabular-nums;
2306
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
2307
+ --tw-outline-style: none;
2308
+ outline-style: none;
2309
+ &::placeholder {
2310
+ color: var(--color-text-muted);
2311
+ }
2312
+ &:disabled {
2313
+ cursor: not-allowed;
2314
+ }
2315
+ &:disabled {
2316
+ opacity: 50%;
2317
+ }
2318
+ -moz-appearance: textfield;
2319
+ }
2320
+ :scope._ao-number-input-field::-webkit-inner-spin-button, :scope ._ao-number-input-field::-webkit-inner-spin-button, :scope._ao-number-input-field::-webkit-outer-spin-button, :scope ._ao-number-input-field::-webkit-outer-spin-button {
2321
+ -webkit-appearance: none;
2322
+ margin: 0;
2323
+ }
2324
+ :scope._ao-number-input-step, :scope ._ao-number-input-step {
2325
+ display: inline-flex;
2326
+ width: calc(var(--spacing) * 8);
2327
+ flex-shrink: 0;
2328
+ cursor: pointer;
2329
+ align-items: center;
2330
+ justify-content: center;
2331
+ border-style: var(--tw-border-style);
2332
+ border-width: 0px;
2333
+ background-color: transparent;
2334
+ color: var(--color-text-muted);
2335
+ -webkit-user-select: none;
2336
+ user-select: none;
2337
+ &:hover {
2338
+ @media (hover: hover) {
2339
+ background-color: var(--color-surface-muted);
2340
+ }
2341
+ }
2342
+ &:hover {
2343
+ @media (hover: hover) {
2344
+ color: var(--color-text);
2345
+ }
2346
+ }
2347
+ &:disabled {
2348
+ cursor: not-allowed;
2349
+ }
2350
+ &:disabled {
2351
+ opacity: 50%;
2352
+ }
2353
+ }
2354
+ :scope._ao-number-input-step:first-child, :scope ._ao-number-input-step:first-child {
2355
+ border-top-left-radius: var(--radius-lg);
2356
+ border-bottom-left-radius: var(--radius-lg);
2357
+ border-right-style: var(--tw-border-style);
2358
+ border-right-width: 1px;
2359
+ border-color: var(--color-border);
2360
+ }
2361
+ :scope._ao-number-input-step:last-child, :scope ._ao-number-input-step:last-child {
2362
+ border-top-right-radius: var(--radius-lg);
2363
+ border-bottom-right-radius: var(--radius-lg);
2364
+ border-left-style: var(--tw-border-style);
2365
+ border-left-width: 1px;
2366
+ border-color: var(--color-border);
2367
+ }
2368
+ :scope._ao-number-input-step > :is(i, svg), :scope ._ao-number-input-step > :is(i, svg) {
2369
+ font-size: 0.875rem;
2370
+ }
2371
+ :scope._ao-number-input-sm ._ao-number-input-field, :scope ._ao-number-input-sm ._ao-number-input-field {
2372
+ padding-inline: calc(var(--spacing) * 2.5);
2373
+ padding-block: calc(var(--spacing) * 1.5);
2374
+ font-size: var(--text-xs);
2375
+ line-height: var(--tw-leading, var(--text-xs--line-height));
2376
+ }
2377
+ :scope._ao-number-input-sm ._ao-number-input-step, :scope ._ao-number-input-sm ._ao-number-input-step {
2378
+ width: calc(var(--spacing) * 7);
2379
+ }
2380
+ :scope._ao-number-input-lg ._ao-number-input-field, :scope ._ao-number-input-lg ._ao-number-input-field {
2381
+ padding-inline: calc(var(--spacing) * 4);
2382
+ padding-block: calc(var(--spacing) * 2.5);
2383
+ font-size: var(--text-base);
2384
+ line-height: var(--tw-leading, var(--text-base--line-height));
2385
+ }
2386
+ :scope._ao-number-input-lg ._ao-number-input-step, :scope ._ao-number-input-lg ._ao-number-input-step {
2387
+ width: calc(var(--spacing) * 9);
2388
+ }
2163
2389
  :scope._ao-textarea, :scope ._ao-textarea {
2164
2390
  display: block;
2165
2391
  min-height: calc(var(--spacing) * 20);
@@ -2979,6 +3205,44 @@
2979
3205
  line-height: var(--tw-leading, var(--text-sm--line-height));
2980
3206
  color: var(--color-text-muted);
2981
3207
  }
3208
+ :scope._ao-stat-card-trend, :scope ._ao-stat-card-trend {
3209
+ display: inline-flex;
3210
+ align-items: center;
3211
+ gap: calc(var(--spacing) * 1);
3212
+ font-size: var(--text-sm);
3213
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3214
+ --tw-font-weight: var(--font-weight-medium);
3215
+ font-weight: var(--font-weight-medium);
3216
+ color: var(--color-text-muted);
3217
+ --tw-numeric-spacing: tabular-nums;
3218
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
3219
+ }
3220
+ :scope._ao-stat-card-trend::before, :scope ._ao-stat-card-trend::before {
3221
+ content: "";
3222
+ width: 0;
3223
+ height: 0;
3224
+ border-inline: 0.3em solid transparent;
3225
+ border-block-end: 0.42em solid currentColor;
3226
+ }
3227
+ :scope._ao-stat-card-trend[data-trend="down"]::before, :scope ._ao-stat-card-trend[data-trend="down"]::before {
3228
+ border-block-end: 0;
3229
+ border-block-start: 0.42em solid currentColor;
3230
+ }
3231
+ :scope._ao-stat-card-trend[data-trend="flat"]::before, :scope ._ao-stat-card-trend[data-trend="flat"]::before {
3232
+ width: 0.55em;
3233
+ border-inline: 0;
3234
+ border-block-end: 0;
3235
+ border-block-start: 0.16em solid currentColor;
3236
+ }
3237
+ :scope._ao-stat-card-trend[data-intent="positive"], :scope ._ao-stat-card-trend[data-intent="positive"] {
3238
+ color: var(--color-success);
3239
+ }
3240
+ :scope._ao-stat-card-trend[data-intent="negative"], :scope ._ao-stat-card-trend[data-intent="negative"] {
3241
+ color: var(--color-danger);
3242
+ }
3243
+ :scope._ao-stat-card-trend[data-intent="neutral"], :scope ._ao-stat-card-trend[data-intent="neutral"] {
3244
+ color: var(--color-text-muted);
3245
+ }
2982
3246
  :scope._ao-card-compact._ao-stat-card, :scope ._ao-card-compact._ao-stat-card {
2983
3247
  gap: calc(var(--spacing) * 0.5);
2984
3248
  padding: calc(var(--spacing) * 3);
@@ -2995,6 +3259,234 @@
2995
3259
  :scope._ao-card-danger ._ao-stat-card-value, :scope ._ao-card-danger ._ao-stat-card-value {
2996
3260
  color: var(--color-danger);
2997
3261
  }
3262
+ :scope._ao-item, :scope ._ao-item {
3263
+ display: flex;
3264
+ width: 100%;
3265
+ align-items: center;
3266
+ gap: calc(var(--spacing) * 3);
3267
+ padding-inline: calc(var(--spacing) * 3);
3268
+ padding-block: calc(var(--spacing) * 2);
3269
+ font-size: var(--text-sm);
3270
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3271
+ color: var(--color-text);
3272
+ }
3273
+ :scope._ao-item-media, :scope ._ao-item-media {
3274
+ display: flex;
3275
+ flex-shrink: 0;
3276
+ align-items: center;
3277
+ color: var(--color-text-muted);
3278
+ }
3279
+ :scope._ao-item-media > :is(i, svg), :scope ._ao-item-media > :is(i, svg) {
3280
+ font-size: 1.25rem;
3281
+ }
3282
+ :scope._ao-item-content, :scope ._ao-item-content {
3283
+ display: flex;
3284
+ min-width: calc(var(--spacing) * 0);
3285
+ flex: 1;
3286
+ flex-direction: column;
3287
+ gap: calc(var(--spacing) * 0.5);
3288
+ }
3289
+ :scope._ao-item-title, :scope ._ao-item-title {
3290
+ --tw-leading: var(--leading-tight);
3291
+ line-height: var(--leading-tight);
3292
+ --tw-font-weight: var(--font-weight-medium);
3293
+ font-weight: var(--font-weight-medium);
3294
+ overflow-wrap: break-word;
3295
+ }
3296
+ :scope._ao-item-description, :scope ._ao-item-description {
3297
+ --tw-leading: var(--leading-snug);
3298
+ line-height: var(--leading-snug);
3299
+ color: var(--color-text-muted);
3300
+ text-wrap: pretty;
3301
+ }
3302
+ :scope._ao-item-actions, :scope ._ao-item-actions {
3303
+ position: relative;
3304
+ z-index: 1;
3305
+ display: flex;
3306
+ flex-shrink: 0;
3307
+ align-items: center;
3308
+ gap: calc(var(--spacing) * 2);
3309
+ margin-inline-start: auto;
3310
+ }
3311
+ :scope._ao-item-outline, :scope ._ao-item-outline {
3312
+ border-radius: var(--radius-lg);
3313
+ border-style: var(--tw-border-style);
3314
+ border-width: 1px;
3315
+ border-color: var(--color-border);
3316
+ }
3317
+ :scope._ao-item-muted, :scope ._ao-item-muted {
3318
+ border-radius: var(--radius-lg);
3319
+ background-color: var(--color-surface-muted);
3320
+ }
3321
+ :scope._ao-item-sm, :scope ._ao-item-sm {
3322
+ gap: calc(var(--spacing) * 2);
3323
+ padding-inline: calc(var(--spacing) * 2);
3324
+ padding-block: calc(var(--spacing) * 1.5);
3325
+ font-size: var(--text-xs);
3326
+ line-height: var(--tw-leading, var(--text-xs--line-height));
3327
+ }
3328
+ :scope._ao-item-lg, :scope ._ao-item-lg {
3329
+ gap: calc(var(--spacing) * 4);
3330
+ padding-inline: calc(var(--spacing) * 4);
3331
+ padding-block: calc(var(--spacing) * 3);
3332
+ font-size: var(--text-base);
3333
+ line-height: var(--tw-leading, var(--text-base--line-height));
3334
+ }
3335
+ :scope._ao-item-group, :scope ._ao-item-group {
3336
+ display: flex;
3337
+ flex-direction: column;
3338
+ }
3339
+ :scope._ao-item-group > ._ao-item:not(:last-child), :scope ._ao-item-group > ._ao-item:not(:last-child) {
3340
+ border-bottom-style: var(--tw-border-style);
3341
+ border-bottom-width: 1px;
3342
+ border-color: var(--color-border);
3343
+ }
3344
+ :scope._ao-item-group-bordered, :scope ._ao-item-group-bordered {
3345
+ overflow: hidden;
3346
+ border-radius: var(--radius-lg);
3347
+ border-style: var(--tw-border-style);
3348
+ border-width: 1px;
3349
+ border-color: var(--color-border);
3350
+ }
3351
+ :scope._ao-item-link, :scope ._ao-item-link {
3352
+ position: relative;
3353
+ cursor: pointer;
3354
+ }
3355
+ :scope._ao-item-link:hover, :scope ._ao-item-link:hover {
3356
+ background-color: var(--color-surface-muted);
3357
+ }
3358
+ :scope._ao-item-link a:first-of-type::after, :scope ._ao-item-link a:first-of-type::after {
3359
+ content: "";
3360
+ position: absolute;
3361
+ inset: calc(var(--spacing) * 0);
3362
+ }
3363
+ :scope._ao-item-link:focus-within, :scope ._ao-item-link:focus-within {
3364
+ outline-style: var(--tw-outline-style);
3365
+ outline-width: 2px;
3366
+ outline-offset: calc(2px * -1);
3367
+ outline-color: var(--color-focus);
3368
+ }
3369
+ :scope._ao-timeline, :scope ._ao-timeline {
3370
+ list-style: none;
3371
+ margin: 0;
3372
+ padding: 0;
3373
+ }
3374
+ :scope._ao-timeline-item, :scope ._ao-timeline-item {
3375
+ display: grid;
3376
+ grid-template-columns: 1.5rem 1fr;
3377
+ column-gap: 0.75rem;
3378
+ padding-bottom: 1rem;
3379
+ position: relative;
3380
+ }
3381
+ :scope._ao-timeline-item:last-child, :scope ._ao-timeline-item:last-child {
3382
+ padding-bottom: 0;
3383
+ }
3384
+ :scope._ao-timeline-item:not(:last-child)::before, :scope ._ao-timeline-item:not(:last-child)::before {
3385
+ content: "";
3386
+ position: absolute;
3387
+ inset-block: 0.75rem 0;
3388
+ inset-inline-start: 0.75rem;
3389
+ width: 2px;
3390
+ transform: translateX(-50%);
3391
+ background-color: var(--color-border);
3392
+ }
3393
+ :scope._ao-timeline-indicator, :scope ._ao-timeline-indicator {
3394
+ grid-column: 1;
3395
+ align-self: start;
3396
+ display: flex;
3397
+ align-items: center;
3398
+ justify-content: center;
3399
+ height: 1.5rem;
3400
+ position: relative;
3401
+ z-index: 1;
3402
+ }
3403
+ :scope._ao-timeline-dot, :scope ._ao-timeline-dot {
3404
+ display: inline-block;
3405
+ width: 0.625rem;
3406
+ height: 0.625rem;
3407
+ border-radius: 9999px;
3408
+ background-color: var(--color-border-strong);
3409
+ box-shadow: 0 0 0 3px var(--color-surface);
3410
+ }
3411
+ :scope._ao-timeline-indicator > :is(i, svg), :scope ._ao-timeline-indicator > :is(i, svg) {
3412
+ font-size: 1rem;
3413
+ color: var(--color-text-muted);
3414
+ background-color: var(--color-surface);
3415
+ border-radius: 9999px;
3416
+ }
3417
+ :scope._ao-timeline-content, :scope ._ao-timeline-content {
3418
+ grid-column: 2;
3419
+ display: flex;
3420
+ flex-direction: column;
3421
+ gap: 0.125rem;
3422
+ min-width: 0;
3423
+ padding-block: 0.125rem 0;
3424
+ }
3425
+ :scope._ao-timeline-title, :scope ._ao-timeline-title {
3426
+ font-size: var(--text-sm);
3427
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3428
+ --tw-leading: var(--leading-tight);
3429
+ line-height: var(--leading-tight);
3430
+ --tw-font-weight: var(--font-weight-medium);
3431
+ font-weight: var(--font-weight-medium);
3432
+ color: var(--color-text);
3433
+ }
3434
+ :scope._ao-timeline-time, :scope ._ao-timeline-time {
3435
+ font-size: var(--text-xs);
3436
+ line-height: var(--tw-leading, var(--text-xs--line-height));
3437
+ color: var(--color-text-muted);
3438
+ --tw-numeric-spacing: tabular-nums;
3439
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
3440
+ }
3441
+ :scope._ao-timeline-description, :scope ._ao-timeline-description {
3442
+ font-size: var(--text-sm);
3443
+ line-height: var(--tw-leading, var(--text-sm--line-height));
3444
+ color: var(--color-text-muted);
3445
+ text-wrap: pretty;
3446
+ }
3447
+ :scope._ao-timeline-item-info ._ao-timeline-dot, :scope ._ao-timeline-item-info ._ao-timeline-dot {
3448
+ background-color: var(--color-info);
3449
+ }
3450
+ :scope._ao-timeline-item-success ._ao-timeline-dot, :scope ._ao-timeline-item-success ._ao-timeline-dot {
3451
+ background-color: var(--color-success);
3452
+ }
3453
+ :scope._ao-timeline-item-warning ._ao-timeline-dot, :scope ._ao-timeline-item-warning ._ao-timeline-dot {
3454
+ background-color: var(--color-warning);
3455
+ }
3456
+ :scope._ao-timeline-item-danger ._ao-timeline-dot, :scope ._ao-timeline-item-danger ._ao-timeline-dot {
3457
+ background-color: var(--color-danger);
3458
+ }
3459
+ :scope._ao-timeline-numbered ._ao-timeline-item, :scope ._ao-timeline-numbered ._ao-timeline-item {
3460
+ grid-template-columns: 1.75rem 1fr;
3461
+ }
3462
+ :scope._ao-timeline-numbered ._ao-timeline-item:not(:last-child)::before, :scope ._ao-timeline-numbered ._ao-timeline-item:not(:last-child)::before {
3463
+ inset-inline-start: 0.875rem;
3464
+ inset-block: 1.75rem 0;
3465
+ }
3466
+ :scope._ao-timeline-numbered ._ao-timeline-indicator, :scope ._ao-timeline-numbered ._ao-timeline-indicator {
3467
+ height: 1.75rem;
3468
+ }
3469
+ :scope._ao-timeline-marker, :scope ._ao-timeline-marker {
3470
+ display: inline-flex;
3471
+ width: calc(var(--spacing) * 7);
3472
+ height: calc(var(--spacing) * 7);
3473
+ align-items: center;
3474
+ justify-content: center;
3475
+ border-radius: calc(infinity * 1px);
3476
+ background-color: var(--color-surface-strong);
3477
+ font-size: var(--text-xs);
3478
+ line-height: var(--tw-leading, var(--text-xs--line-height));
3479
+ --tw-font-weight: var(--font-weight-semibold);
3480
+ font-weight: var(--font-weight-semibold);
3481
+ color: var(--color-text-muted);
3482
+ --tw-numeric-spacing: tabular-nums;
3483
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
3484
+ box-shadow: 0 0 0 3px var(--color-surface);
3485
+ }
3486
+ :scope._ao-timeline-item-success ._ao-timeline-marker, :scope ._ao-timeline-item-success ._ao-timeline-marker, :scope._ao-timeline-item-current ._ao-timeline-marker, :scope ._ao-timeline-item-current ._ao-timeline-marker {
3487
+ background-color: var(--color-primary);
3488
+ color: var(--color-primary-content);
3489
+ }
2998
3490
  :scope._ao-dialog, :scope ._ao-dialog {
2999
3491
  margin: auto;
3000
3492
  flex-direction: column;
@@ -3135,6 +3627,69 @@
3135
3627
  outline-color: var(--color-focus);
3136
3628
  }
3137
3629
  }
3630
+ :scope._ao-drawer, :scope ._ao-drawer {
3631
+ margin: 0;
3632
+ max-width: none;
3633
+ max-height: none;
3634
+ border-radius: 0;
3635
+ height: 100dvh;
3636
+ width: min(28rem, 100vw);
3637
+ margin-inline-start: auto;
3638
+ transform: translateX(100%);
3639
+ }
3640
+ :scope._ao-drawer[open], :scope ._ao-drawer[open] {
3641
+ transform: translateX(0);
3642
+ }
3643
+ @starting-style {
3644
+ :scope._ao-drawer[open], :scope ._ao-drawer[open] {
3645
+ transform: translateX(100%);
3646
+ }
3647
+ }
3648
+ :scope._ao-drawer-start, :scope ._ao-drawer-start {
3649
+ margin-inline-start: 0;
3650
+ margin-inline-end: auto;
3651
+ transform: translateX(-100%);
3652
+ }
3653
+ @starting-style {
3654
+ :scope._ao-drawer-start[open], :scope ._ao-drawer-start[open] {
3655
+ transform: translateX(-100%);
3656
+ }
3657
+ }
3658
+ :scope._ao-drawer-bottom, :scope ._ao-drawer-bottom {
3659
+ width: 100vw;
3660
+ height: auto;
3661
+ max-height: 85dvh;
3662
+ margin-block-start: auto;
3663
+ margin-inline: 0;
3664
+ transform: translateY(100%);
3665
+ }
3666
+ :scope._ao-drawer-bottom[open], :scope ._ao-drawer-bottom[open] {
3667
+ transform: translateY(0);
3668
+ }
3669
+ @starting-style {
3670
+ :scope._ao-drawer-bottom[open], :scope ._ao-drawer-bottom[open] {
3671
+ transform: translateY(100%);
3672
+ }
3673
+ }
3674
+ :scope._ao-drawer-sm, :scope ._ao-drawer-sm {
3675
+ width: min(20rem, 100vw);
3676
+ }
3677
+ :scope._ao-drawer-lg, :scope ._ao-drawer-lg {
3678
+ width: min(36rem, 100vw);
3679
+ }
3680
+ :scope._ao-drawer-bottom._ao-drawer-sm, :scope ._ao-drawer-bottom._ao-drawer-sm {
3681
+ width: 100vw;
3682
+ max-height: 50dvh;
3683
+ }
3684
+ :scope._ao-drawer-bottom._ao-drawer-lg, :scope ._ao-drawer-bottom._ao-drawer-lg {
3685
+ width: 100vw;
3686
+ max-height: 95dvh;
3687
+ }
3688
+ @media (prefers-reduced-motion: reduce) {
3689
+ :scope._ao-drawer, :scope ._ao-drawer {
3690
+ transition: display 150ms allow-discrete, overlay 150ms allow-discrete, opacity 150ms ease-out;
3691
+ }
3692
+ }
3138
3693
  :scope._ao-field, :scope ._ao-field {
3139
3694
  display: flex;
3140
3695
  flex-direction: column;
@@ -3538,6 +4093,20 @@
3538
4093
  :scope._ao-menu-trigger > :is(i, svg), :scope ._ao-menu-trigger > :is(i, svg), :scope._ao-menu-item > :is(i, svg), :scope ._ao-menu-item > :is(i, svg) {
3539
4094
  flex-shrink: 0;
3540
4095
  }
4096
+ :scope._ao-menu-item-indicator, :scope ._ao-menu-item-indicator {
4097
+ display: inline-flex;
4098
+ flex-shrink: 0;
4099
+ align-items: center;
4100
+ justify-content: center;
4101
+ inline-size: 1rem;
4102
+ block-size: 1rem;
4103
+ }
4104
+ :scope._ao-menu-item-indicator > :is(i, svg), :scope ._ao-menu-item-indicator > :is(i, svg) {
4105
+ opacity: 0;
4106
+ }
4107
+ :scope._ao-menu-item[aria-checked="true"] ._ao-menu-item-indicator > :is(i, svg), :scope ._ao-menu-item[aria-checked="true"] ._ao-menu-item-indicator > :is(i, svg) {
4108
+ opacity: 1;
4109
+ }
3541
4110
  :scope._ao-menu-separator, :scope ._ao-menu-separator {
3542
4111
  margin-block: calc(var(--spacing) * 1);
3543
4112
  height: 1px;
@@ -4405,6 +4974,40 @@
4405
4974
  outline-offset: calc(2px * -1);
4406
4975
  outline-color: var(--color-focus);
4407
4976
  }
4977
+ :scope._ao-table-compact :where(th, td), :scope ._ao-table-compact :where(th, td), :scope._ao-table-compact ._ao-table-cell, :scope ._ao-table-compact ._ao-table-cell, :scope._ao-table-compact ._ao-table-header-cell, :scope ._ao-table-compact ._ao-table-header-cell {
4978
+ padding-inline: calc(var(--spacing) * 2);
4979
+ padding-block: calc(var(--spacing) * 1);
4980
+ font-size: var(--text-xs);
4981
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4982
+ }
4983
+ :scope._ao-table :where(td)._ao-table-empty, :scope ._ao-table :where(td)._ao-table-empty, :scope._ao-table-empty, :scope ._ao-table-empty {
4984
+ padding-block: calc(var(--spacing) * 8);
4985
+ text-align: center;
4986
+ color: var(--color-text-muted);
4987
+ }
4988
+ :scope._ao-table tbody tr:has(> ._ao-table-empty):hover :where(td), :scope ._ao-table tbody tr:has(> ._ao-table-empty):hover :where(td) {
4989
+ background-color: transparent;
4990
+ }
4991
+ :scope._ao-table-pin-col :where(thead th, tbody td, tfoot :is(td, th)):first-child, :scope ._ao-table-pin-col :where(thead th, tbody td, tfoot :is(td, th)):first-child {
4992
+ position: sticky;
4993
+ inset-inline-start: 0;
4994
+ }
4995
+ :scope._ao-table-pin-col tbody td:first-child, :scope ._ao-table-pin-col tbody td:first-child {
4996
+ z-index: 1;
4997
+ background-color: var(--color-surface);
4998
+ }
4999
+ :scope._ao-table-pin-col :where(thead th):first-child, :scope ._ao-table-pin-col :where(thead th):first-child {
5000
+ z-index: 11;
5001
+ }
5002
+ :scope._ao-table-pin-col._ao-table-striped tbody tr:nth-child(even) td:first-child, :scope ._ao-table-pin-col._ao-table-striped tbody tr:nth-child(even) td:first-child {
5003
+ background-color: var(--color-surface-muted);
5004
+ }
5005
+ :scope._ao-table-pin-col tbody tr:hover td:first-child, :scope ._ao-table-pin-col tbody tr:hover td:first-child {
5006
+ background-color: var(--color-surface-muted);
5007
+ }
5008
+ :scope._ao-table-pin-col tbody tr:has(input[type="checkbox"]:checked) td:first-child, :scope ._ao-table-pin-col tbody tr:has(input[type="checkbox"]:checked) td:first-child, :scope._ao-table-pin-col tbody tr:has(._ao-checkbox[data-checked]) td:first-child, :scope ._ao-table-pin-col tbody tr:has(._ao-checkbox[data-checked]) td:first-child, :scope._ao-table-pin-col tbody tr[data-selected] td:first-child, :scope ._ao-table-pin-col tbody tr[data-selected] td:first-child {
5009
+ background-color: var(--color-primary-muted);
5010
+ }
4408
5011
  :scope._ao-tooltip, :scope ._ao-tooltip {
4409
5012
  pointer-events: none;
4410
5013
  display: inline-block;
@@ -4977,4 +5580,8 @@
4977
5580
  --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
4978
5581
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4979
5582
  }
5583
+ :scope._ao-outline, :scope ._ao-outline {
5584
+ outline-style: var(--tw-outline-style);
5585
+ outline-width: 1px;
5586
+ }
4980
5587
  }