@aortl/admin-css 0.13.1 → 0.14.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.
package/dist/admin.css CHANGED
@@ -4,9 +4,10 @@
4
4
  @layer theme, base, components, utilities;
5
5
  @layer theme {
6
6
  :root, :host {
7
- --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
8
- --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono",
9
- monospace;
7
+ --font-sans: "IBM Plex Sans", "IBM Plex Sans Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
8
+ Roboto, sans-serif;
9
+ --font-mono: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
10
+ Consolas, "Liberation Mono", monospace;
10
11
  --spacing: 0.25rem;
11
12
  --container-xs: 20rem;
12
13
  --text-xs: 0.75rem;
@@ -451,6 +452,10 @@
451
452
  --tw-numeric-spacing: tabular-nums;
452
453
  font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
453
454
  }
455
+ .ring {
456
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
457
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
458
+ }
454
459
  .select-all {
455
460
  -webkit-user-select: all;
456
461
  user-select: all;
@@ -460,7 +465,7 @@
460
465
  font-family: "IBM Plex Sans";
461
466
  font-style: normal;
462
467
  font-weight: 400 600;
463
- font-display: optional;
468
+ font-display: swap;
464
469
  src: url(https://fonts.gstatic.com/s/ibmplexsans/v23/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxQKYbABA.woff2) format("woff2");
465
470
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
466
471
  }
@@ -468,7 +473,7 @@
468
473
  font-family: "IBM Plex Sans";
469
474
  font-style: normal;
470
475
  font-weight: 400 600;
471
- font-display: optional;
476
+ font-display: swap;
472
477
  src: url(https://fonts.gstatic.com/s/ibmplexsans/v23/zYXzKVElMYYaJe8bpLHnCwDKr932-G7dytD-Dmu1syxeKYY.woff2) format("woff2");
473
478
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
474
479
  }
@@ -476,7 +481,7 @@
476
481
  font-family: "IBM Plex Mono";
477
482
  font-style: normal;
478
483
  font-weight: 400;
479
- font-display: optional;
484
+ font-display: swap;
480
485
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1iEq129k.woff2) format("woff2");
481
486
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
482
487
  }
@@ -484,7 +489,7 @@
484
489
  font-family: "IBM Plex Mono";
485
490
  font-style: normal;
486
491
  font-weight: 400;
487
- font-display: optional;
492
+ font-display: swap;
488
493
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F63fjptAgt5VM-kVkqdyU8n1i8q1w.woff2) format("woff2");
489
494
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
490
495
  }
@@ -492,7 +497,7 @@
492
497
  font-family: "IBM Plex Mono";
493
498
  font-style: normal;
494
499
  font-weight: 500;
495
- font-display: optional;
500
+ font-display: swap;
496
501
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwl5FgtIU.woff2) format("woff2");
497
502
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
498
503
  }
@@ -500,10 +505,25 @@
500
505
  font-family: "IBM Plex Mono";
501
506
  font-style: normal;
502
507
  font-weight: 500;
503
- font-display: optional;
508
+ font-display: swap;
504
509
  src: url(https://fonts.gstatic.com/s/ibmplexmono/v20/-F6qfjptAgt5VM-kVkqdyU8n3twJwlBFgg.woff2) format("woff2");
505
510
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
506
511
  }
512
+ @font-face {
513
+ font-family: "IBM Plex Sans Fallback";
514
+ src: local("Arial"), local("ArialMT");
515
+ ascent-override: 101.3184%;
516
+ descent-override: 27.183%;
517
+ line-gap-override: 0%;
518
+ size-adjust: 101.1663%;
519
+ }
520
+ @font-face {
521
+ font-family: "IBM Plex Mono Fallback";
522
+ src: local("Courier New"), local("CourierNewPSMT");
523
+ ascent-override: 102.5167%;
524
+ descent-override: 27.5045%;
525
+ size-adjust: 99.9837%;
526
+ }
507
527
  :root {
508
528
  color-scheme: light dark;
509
529
  }
@@ -660,10 +680,11 @@
660
680
  font-size: var(--text-sm);
661
681
  line-height: var(--tw-leading, var(--text-sm--line-height));
662
682
  color: var(--color-text);
683
+ overflow-wrap: break-word;
663
684
  }
664
685
  .alert:has(> :is(i, svg):first-child) {
665
686
  display: grid;
666
- grid-template-columns: auto 1fr;
687
+ grid-template-columns: auto minmax(0, 1fr);
667
688
  column-gap: 0.5rem;
668
689
  row-gap: 0.25rem;
669
690
  align-items: center;
@@ -681,6 +702,7 @@
681
702
  }
682
703
  .alert > :is(.alert-title, .alert-description) {
683
704
  grid-column: 2;
705
+ min-width: 0;
684
706
  }
685
707
  .alert-info {
686
708
  border-color: var(--color-info-muted);
@@ -1289,6 +1311,10 @@
1289
1311
  .property-list-value {
1290
1312
  gap: 0.5rem;
1291
1313
  min-width: 0;
1314
+ overflow-wrap: break-word;
1315
+ }
1316
+ .property-list-compact .property-list-title {
1317
+ margin-bottom: calc(var(--spacing) * 1);
1292
1318
  }
1293
1319
  .property-list-compact .property-list-label, .property-list-compact .property-list-value {
1294
1320
  padding: 0.125rem 0.5rem;
@@ -3989,6 +4015,220 @@
3989
4015
  word-wrap: normal;
3990
4016
  }
3991
4017
  }
4018
+ @layer components {
4019
+ .chart {
4020
+ --chart-max: 100;
4021
+ --chart-height: 8rem;
4022
+ --chart-size: 8rem;
4023
+ --chart-gap: 0.25rem;
4024
+ color: var(--color-primary);
4025
+ }
4026
+ .chart-success {
4027
+ color: var(--color-success);
4028
+ }
4029
+ .chart-warning {
4030
+ color: var(--color-warning);
4031
+ }
4032
+ .chart-danger {
4033
+ color: var(--color-danger);
4034
+ }
4035
+ .chart-info {
4036
+ color: var(--color-info);
4037
+ }
4038
+ .chart-bars {
4039
+ display: grid;
4040
+ grid-template-columns: auto 1fr auto;
4041
+ row-gap: var(--chart-gap);
4042
+ align-items: center;
4043
+ inline-size: 100%;
4044
+ }
4045
+ .chart-bar {
4046
+ display: grid;
4047
+ grid-template-columns: subgrid;
4048
+ grid-column: 1 / -1;
4049
+ align-items: center;
4050
+ }
4051
+ .chart-bar-label {
4052
+ font-size: var(--text-xs);
4053
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4054
+ color: var(--color-text-muted);
4055
+ grid-column: 1;
4056
+ text-align: end;
4057
+ padding-inline-end: 0.5rem;
4058
+ white-space: nowrap;
4059
+ }
4060
+ .chart-bar-track {
4061
+ grid-column: 2;
4062
+ min-inline-size: 0;
4063
+ }
4064
+ .chart-bar-fill {
4065
+ block-size: 0.75rem;
4066
+ inline-size: calc(var(--value) / var(--chart-max) * 100%);
4067
+ background: var(--bar-color, currentColor);
4068
+ border-radius: 2px;
4069
+ transition: inline-size 200ms ease, block-size 200ms ease;
4070
+ }
4071
+ .chart-bar-value {
4072
+ font-size: var(--text-xs);
4073
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4074
+ color: var(--color-text-muted);
4075
+ --tw-numeric-spacing: tabular-nums;
4076
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
4077
+ grid-column: 3;
4078
+ text-align: end;
4079
+ padding-inline-start: 0.5rem;
4080
+ white-space: nowrap;
4081
+ }
4082
+ .chart:not(.chart-values) .chart-bar-value {
4083
+ display: none;
4084
+ }
4085
+ .chart-bars-vertical {
4086
+ display: flex;
4087
+ flex-direction: row;
4088
+ align-items: stretch;
4089
+ gap: var(--chart-gap);
4090
+ block-size: var(--chart-height);
4091
+ inline-size: 100%;
4092
+ }
4093
+ .chart-bars-vertical .chart-bar {
4094
+ display: flex;
4095
+ flex-direction: column;
4096
+ flex: 1 1 0;
4097
+ min-inline-size: 0;
4098
+ align-items: stretch;
4099
+ gap: 0.25rem;
4100
+ }
4101
+ .chart-bars-vertical .chart-bar-value {
4102
+ order: 0;
4103
+ grid-column: auto;
4104
+ text-align: center;
4105
+ padding: 0;
4106
+ }
4107
+ .chart-bars-vertical .chart-bar-track {
4108
+ order: 1;
4109
+ flex: 1 1 auto;
4110
+ min-block-size: 0;
4111
+ display: flex;
4112
+ flex-direction: column;
4113
+ justify-content: end;
4114
+ }
4115
+ .chart-bars-vertical .chart-bar-fill {
4116
+ inline-size: 100%;
4117
+ block-size: calc(var(--value) / var(--chart-max) * 100%);
4118
+ }
4119
+ .chart-bars-vertical .chart-bar-label {
4120
+ order: 2;
4121
+ text-align: center;
4122
+ padding: 0;
4123
+ }
4124
+ .chart-stack {
4125
+ display: flex;
4126
+ flex-direction: row;
4127
+ inline-size: 100%;
4128
+ block-size: 0.75rem;
4129
+ border-radius: 9999px;
4130
+ overflow: hidden;
4131
+ background: var(--color-surface-strong);
4132
+ }
4133
+ .chart-segment {
4134
+ flex: var(--value) 1 0;
4135
+ min-inline-size: 0;
4136
+ background: var(--segment-color, currentColor);
4137
+ transition: flex-grow 200ms ease;
4138
+ }
4139
+ .chart-segment + .chart-segment {
4140
+ box-shadow: -1px 0 0 0 var(--color-surface);
4141
+ }
4142
+ .chart-donut-figure {
4143
+ position: relative;
4144
+ inline-size: var(--chart-size);
4145
+ aspect-ratio: 1;
4146
+ display: inline-grid;
4147
+ place-items: center;
4148
+ }
4149
+ .chart-donut {
4150
+ --donut-thickness: 33%;
4151
+ inline-size: var(--chart-size);
4152
+ aspect-ratio: 1;
4153
+ border-radius: 50%;
4154
+ background: conic-gradient(var(--donut-segments, currentColor 0 100%));
4155
+ -webkit-mask: radial-gradient( circle at center, transparent calc(50% - var(--donut-thickness)), #000 calc(50% - var(--donut-thickness)) );
4156
+ mask: radial-gradient( circle at center, transparent calc(50% - var(--donut-thickness)), #000 calc(50% - var(--donut-thickness)) );
4157
+ }
4158
+ .chart-donut-figure > .chart-donut {
4159
+ grid-area: 1 / 1;
4160
+ inline-size: 100%;
4161
+ }
4162
+ .chart-donut-pie {
4163
+ --donut-thickness: 50%;
4164
+ }
4165
+ .chart-donut-center {
4166
+ text-align: center;
4167
+ font-size: var(--text-sm);
4168
+ line-height: var(--tw-leading, var(--text-sm--line-height));
4169
+ --tw-leading: var(--leading-tight);
4170
+ line-height: var(--leading-tight);
4171
+ --tw-font-weight: var(--font-weight-semibold);
4172
+ font-weight: var(--font-weight-semibold);
4173
+ --tw-numeric-spacing: tabular-nums;
4174
+ font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
4175
+ grid-area: 1 / 1;
4176
+ z-index: 1;
4177
+ pointer-events: none;
4178
+ }
4179
+ .chart-legend {
4180
+ display: flex;
4181
+ flex-wrap: wrap;
4182
+ align-items: center;
4183
+ column-gap: calc(var(--spacing) * 3);
4184
+ row-gap: calc(var(--spacing) * 1);
4185
+ font-size: var(--text-xs);
4186
+ line-height: var(--tw-leading, var(--text-xs--line-height));
4187
+ color: var(--color-text-muted);
4188
+ list-style: none;
4189
+ margin: 0;
4190
+ padding: 0;
4191
+ }
4192
+ .chart-legend-item {
4193
+ display: inline-flex;
4194
+ align-items: center;
4195
+ gap: calc(var(--spacing) * 1.5);
4196
+ }
4197
+ .chart-legend-item::before {
4198
+ content: "";
4199
+ inline-size: 0.625rem;
4200
+ block-size: 0.625rem;
4201
+ border-radius: 2px;
4202
+ background: var(--legend-color, currentColor);
4203
+ flex-shrink: 0;
4204
+ }
4205
+ .chart-sm {
4206
+ --chart-height: 4rem;
4207
+ --chart-size: 4rem;
4208
+ }
4209
+ .chart-lg {
4210
+ --chart-height: 12rem;
4211
+ --chart-size: 12rem;
4212
+ }
4213
+ .chart-inline {
4214
+ display: inline-flex;
4215
+ vertical-align: middle;
4216
+ --chart-height: 1em;
4217
+ --chart-size: 1.25em;
4218
+ }
4219
+ .chart-inline .chart-stack {
4220
+ inline-size: 6em;
4221
+ block-size: 0.5em;
4222
+ }
4223
+ .chart-inline .chart-bars, .chart-inline.chart-bars {
4224
+ inline-size: 6em;
4225
+ }
4226
+ @media (prefers-reduced-motion: reduce) {
4227
+ .chart-bar-fill, .chart-segment {
4228
+ transition: none;
4229
+ }
4230
+ }
4231
+ }
3992
4232
  @property --tw-rotate-x {
3993
4233
  syntax: "*";
3994
4234
  inherits: false;
@@ -4029,28 +4269,6 @@
4029
4269
  syntax: "*";
4030
4270
  inherits: false;
4031
4271
  }
4032
- @property --tw-leading {
4033
- syntax: "*";
4034
- inherits: false;
4035
- }
4036
- @property --tw-font-weight {
4037
- syntax: "*";
4038
- inherits: false;
4039
- }
4040
- @property --tw-border-style {
4041
- syntax: "*";
4042
- inherits: false;
4043
- initial-value: solid;
4044
- }
4045
- @property --tw-outline-style {
4046
- syntax: "*";
4047
- inherits: false;
4048
- initial-value: solid;
4049
- }
4050
- @property --tw-duration {
4051
- syntax: "*";
4052
- inherits: false;
4053
- }
4054
4272
  @property --tw-shadow {
4055
4273
  syntax: "*";
4056
4274
  inherits: false;
@@ -4116,6 +4334,28 @@
4116
4334
  inherits: false;
4117
4335
  initial-value: 0 0 #0000;
4118
4336
  }
4337
+ @property --tw-leading {
4338
+ syntax: "*";
4339
+ inherits: false;
4340
+ }
4341
+ @property --tw-font-weight {
4342
+ syntax: "*";
4343
+ inherits: false;
4344
+ }
4345
+ @property --tw-border-style {
4346
+ syntax: "*";
4347
+ inherits: false;
4348
+ initial-value: solid;
4349
+ }
4350
+ @property --tw-outline-style {
4351
+ syntax: "*";
4352
+ inherits: false;
4353
+ initial-value: solid;
4354
+ }
4355
+ @property --tw-duration {
4356
+ syntax: "*";
4357
+ inherits: false;
4358
+ }
4119
4359
  @property --tw-translate-x {
4120
4360
  syntax: "*";
4121
4361
  inherits: false;
@@ -4148,11 +4388,6 @@
4148
4388
  --tw-numeric-figure: initial;
4149
4389
  --tw-numeric-spacing: initial;
4150
4390
  --tw-numeric-fraction: initial;
4151
- --tw-leading: initial;
4152
- --tw-font-weight: initial;
4153
- --tw-border-style: solid;
4154
- --tw-outline-style: solid;
4155
- --tw-duration: initial;
4156
4391
  --tw-shadow: 0 0 #0000;
4157
4392
  --tw-shadow-color: initial;
4158
4393
  --tw-shadow-alpha: 100%;
@@ -4167,6 +4402,11 @@
4167
4402
  --tw-ring-offset-width: 0px;
4168
4403
  --tw-ring-offset-color: #fff;
4169
4404
  --tw-ring-offset-shadow: 0 0 #0000;
4405
+ --tw-leading: initial;
4406
+ --tw-font-weight: initial;
4407
+ --tw-border-style: solid;
4408
+ --tw-outline-style: solid;
4409
+ --tw-duration: initial;
4170
4410
  --tw-translate-x: 0;
4171
4411
  --tw-translate-y: 0;
4172
4412
  --tw-translate-z: 0;