@duskmoon-dev/core 1.21.0 → 1.21.2
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/README.md +1 -1
- package/dist/components/alert.css +3 -3
- package/dist/components/badge.css +2 -2
- package/dist/components/button.css +7 -7
- package/dist/components/chat.css +113 -2
- package/dist/components/chip.css +3 -2
- package/dist/components/filter-group.css +3 -2
- package/dist/components/index.css +128 -16
- package/dist/esm/components/alert.js +3 -3
- package/dist/esm/components/badge.js +2 -2
- package/dist/esm/components/button.js +7 -7
- package/dist/esm/components/chat.js +113 -2
- package/dist/esm/components/chip.js +3 -2
- package/dist/esm/components/filter-group.js +3 -2
- package/dist/index.css +128 -16
- package/dist/index.min.css +1 -1
- package/dist/standalone/duskmoonui-themes.css +1 -1
- package/dist/standalone/duskmoonui.css +130 -18
- package/dist/standalone/duskmoonui.js +6 -6
- package/dist/standalone/duskmoonui.mjs +6 -6
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @duskmoon-dev/core v1.21.
|
|
3
|
-
* @duskmoon-dev/css-art v1.21.
|
|
2
|
+
* @duskmoon-dev/core v1.21.2
|
|
3
|
+
* @duskmoon-dev/css-art v1.21.2
|
|
4
4
|
* Complete standalone DuskMoonUI styles
|
|
5
5
|
* https://github.com/duskmoon-dev/duskmoonui
|
|
6
6
|
* @license MIT
|
|
@@ -1272,14 +1272,14 @@ html {
|
|
|
1272
1272
|
|
|
1273
1273
|
.btn-outline.btn-neutral,
|
|
1274
1274
|
.btn-outlined.btn-neutral {
|
|
1275
|
-
--btn-text-color: var(--color-
|
|
1275
|
+
--btn-text-color: var(--color-on-surface);
|
|
1276
1276
|
border-color: currentColor;
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
1279
|
.btn-outline.btn-neutral:hover,
|
|
1280
1280
|
.btn-outlined.btn-neutral:hover {
|
|
1281
|
-
--btn-text-color: var(--color-
|
|
1282
|
-
background-color: var(--color-neutral);
|
|
1281
|
+
--btn-text-color: var(--color-on-surface);
|
|
1282
|
+
background-color: color-mix(in oklch, var(--color-neutral) 15%, var(--color-surface));
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
1285
|
.btn-outline.btn-base,
|
|
@@ -1386,7 +1386,7 @@ html {
|
|
|
1386
1386
|
.btn-ghost.btn-warning { --btn-text-color: var(--color-on-warning-container); }
|
|
1387
1387
|
.btn-ghost.btn-error { --btn-text-color: var(--color-on-error-container); }
|
|
1388
1388
|
.btn-ghost.btn-accent { --btn-text-color: light-dark(var(--color-accent-content), var(--color-accent)); }
|
|
1389
|
-
.btn-ghost.btn-neutral { --btn-text-color: var(--color-
|
|
1389
|
+
.btn-ghost.btn-neutral { --btn-text-color: var(--color-on-surface); }
|
|
1390
1390
|
.btn-ghost.btn-base { --btn-text-color: var(--color-base-content); }
|
|
1391
1391
|
|
|
1392
1392
|
.btn-ghost.btn-accent:hover {
|
|
@@ -1395,7 +1395,7 @@ html {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
1397
|
.btn-ghost.btn-neutral:hover {
|
|
1398
|
-
--btn-text-color: var(--color-
|
|
1398
|
+
--btn-text-color: var(--color-on-surface);
|
|
1399
1399
|
background-color: color-mix(in oklch, var(--color-neutral) 15%, var(--color-surface));
|
|
1400
1400
|
}
|
|
1401
1401
|
|
|
@@ -1468,7 +1468,7 @@ html {
|
|
|
1468
1468
|
.btn-text.btn-warning { --btn-text-color: var(--color-on-warning-container); }
|
|
1469
1469
|
.btn-text.btn-error { --btn-text-color: var(--color-on-error-container); }
|
|
1470
1470
|
.btn-text.btn-accent { --btn-text-color: light-dark(var(--color-accent-content), var(--color-accent)); }
|
|
1471
|
-
.btn-text.btn-neutral { --btn-text-color: var(--color-
|
|
1471
|
+
.btn-text.btn-neutral { --btn-text-color: var(--color-on-surface); }
|
|
1472
1472
|
.btn-text.btn-base { --btn-text-color: var(--color-base-content); }
|
|
1473
1473
|
|
|
1474
1474
|
.btn-text.btn-accent:hover {
|
|
@@ -1477,7 +1477,7 @@ html {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
1479
|
.btn-text.btn-neutral:hover {
|
|
1480
|
-
--btn-text-color: var(--color-
|
|
1480
|
+
--btn-text-color: var(--color-on-surface);
|
|
1481
1481
|
background-color: color-mix(in oklch, var(--color-neutral) 15%, var(--color-surface));
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
@@ -6108,8 +6108,8 @@ html {
|
|
|
6108
6108
|
|
|
6109
6109
|
.badge-outlined.badge-neutral,
|
|
6110
6110
|
.badge-outline.badge-neutral {
|
|
6111
|
-
color: var(--color-
|
|
6112
|
-
border-color:
|
|
6111
|
+
color: var(--color-on-surface);
|
|
6112
|
+
border-color: currentColor;
|
|
6113
6113
|
}
|
|
6114
6114
|
|
|
6115
6115
|
.badge-outlined.badge-base,
|
|
@@ -7000,7 +7000,7 @@ html {
|
|
|
7000
7000
|
display: block;
|
|
7001
7001
|
inline-size: 100%;
|
|
7002
7002
|
min-inline-size: 0;
|
|
7003
|
-
min-block-size:
|
|
7003
|
+
min-block-size: 1lh;
|
|
7004
7004
|
max-block-size: 16rem;
|
|
7005
7005
|
overflow: auto;
|
|
7006
7006
|
box-sizing: border-box;
|
|
@@ -7015,7 +7015,8 @@ html {
|
|
|
7015
7015
|
font-size: 0.9375rem;
|
|
7016
7016
|
line-height: 1.5;
|
|
7017
7017
|
overflow-wrap: anywhere;
|
|
7018
|
-
|
|
7018
|
+
field-sizing: content;
|
|
7019
|
+
resize: none;
|
|
7019
7020
|
}
|
|
7020
7021
|
|
|
7021
7022
|
.chat-composer-input::placeholder,
|
|
@@ -7222,6 +7223,116 @@ html {
|
|
|
7222
7223
|
max-inline-size: 100%;
|
|
7223
7224
|
}
|
|
7224
7225
|
|
|
7226
|
+
/* Opt into one compact control row without changing wrapping toolbars. */
|
|
7227
|
+
.chat-composer-toolbar-compact {
|
|
7228
|
+
flex-wrap: nowrap;
|
|
7229
|
+
gap: 0.25rem;
|
|
7230
|
+
}
|
|
7231
|
+
|
|
7232
|
+
.chat-composer-toolbar-compact > .btn {
|
|
7233
|
+
flex-shrink: 0;
|
|
7234
|
+
}
|
|
7235
|
+
|
|
7236
|
+
.chat-composer-toolbar-compact > .chat-composer-actions {
|
|
7237
|
+
flex: 1 1 auto;
|
|
7238
|
+
flex-wrap: nowrap;
|
|
7239
|
+
min-inline-size: 0;
|
|
7240
|
+
gap: 0.25rem;
|
|
7241
|
+
}
|
|
7242
|
+
|
|
7243
|
+
.chat-composer-actions > .btn.chat-composer-config {
|
|
7244
|
+
flex: 0 1 auto;
|
|
7245
|
+
min-inline-size: 0;
|
|
7246
|
+
padding-inline: 0.5rem;
|
|
7247
|
+
}
|
|
7248
|
+
|
|
7249
|
+
.chat-composer-config > svg {
|
|
7250
|
+
flex-shrink: 0;
|
|
7251
|
+
}
|
|
7252
|
+
|
|
7253
|
+
/* Selected media stays above the editor in a bounded, horizontal strip. */
|
|
7254
|
+
.chat-composer-thumbnails {
|
|
7255
|
+
display: flex;
|
|
7256
|
+
flex-wrap: nowrap;
|
|
7257
|
+
max-block-size: 7rem;
|
|
7258
|
+
}
|
|
7259
|
+
|
|
7260
|
+
.chat-composer-attachment-tile {
|
|
7261
|
+
position: relative;
|
|
7262
|
+
flex: 0 0 5.5rem;
|
|
7263
|
+
inline-size: 5.5rem;
|
|
7264
|
+
block-size: 5.5rem;
|
|
7265
|
+
box-sizing: border-box;
|
|
7266
|
+
padding: 0;
|
|
7267
|
+
overflow: hidden;
|
|
7268
|
+
border-radius: var(--radius-md);
|
|
7269
|
+
}
|
|
7270
|
+
|
|
7271
|
+
.chat-composer-attachment-tile > .chat-composer-preview {
|
|
7272
|
+
inline-size: 100%;
|
|
7273
|
+
block-size: 100%;
|
|
7274
|
+
border-radius: inherit;
|
|
7275
|
+
}
|
|
7276
|
+
|
|
7277
|
+
.chat-composer-attachment-tile > .chat-composer-attachment-remove {
|
|
7278
|
+
position: absolute;
|
|
7279
|
+
inset-block-start: 0.125rem;
|
|
7280
|
+
inset-inline-end: 0.125rem;
|
|
7281
|
+
background-color: var(--color-surface-container);
|
|
7282
|
+
color: var(--color-on-surface);
|
|
7283
|
+
}
|
|
7284
|
+
|
|
7285
|
+
/* Compose configuration menus with the native .popover and its menu items. */
|
|
7286
|
+
.popover.chat-composer-menu[popover] {
|
|
7287
|
+
position: fixed;
|
|
7288
|
+
inset: auto;
|
|
7289
|
+
inline-size: min(22rem, calc(100dvi - 2rem));
|
|
7290
|
+
min-inline-size: 0;
|
|
7291
|
+
max-inline-size: calc(100dvi - 2rem);
|
|
7292
|
+
max-block-size: min(24rem, calc(100dvb - 2rem));
|
|
7293
|
+
box-sizing: border-box;
|
|
7294
|
+
overflow: auto;
|
|
7295
|
+
overscroll-behavior: contain;
|
|
7296
|
+
margin: 0.5rem;
|
|
7297
|
+
position-area: block-start span-inline-end;
|
|
7298
|
+
position-try-fallbacks: flip-block, flip-inline, flip-block flip-inline;
|
|
7299
|
+
}
|
|
7300
|
+
|
|
7301
|
+
.popover.chat-composer-menu-end[popover] {
|
|
7302
|
+
position-area: block-start span-inline-start;
|
|
7303
|
+
}
|
|
7304
|
+
|
|
7305
|
+
.popover.chat-composer-menu[popover]:popover-open::backdrop {
|
|
7306
|
+
background-color: transparent;
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
.chat-composer-menu-option[aria-pressed="true"] {
|
|
7310
|
+
background-color: var(--color-surface-container-high);
|
|
7311
|
+
}
|
|
7312
|
+
|
|
7313
|
+
.chat-composer-menu .chat-composer-menu-option-warning {
|
|
7314
|
+
color: var(--color-on-warning-container);
|
|
7315
|
+
}
|
|
7316
|
+
|
|
7317
|
+
.chat-composer-menu .chat-composer-description {
|
|
7318
|
+
white-space: normal;
|
|
7319
|
+
}
|
|
7320
|
+
|
|
7321
|
+
.chat-composer-menu-row {
|
|
7322
|
+
display: flex;
|
|
7323
|
+
align-items: center;
|
|
7324
|
+
justify-content: space-between;
|
|
7325
|
+
gap: 0.75rem;
|
|
7326
|
+
padding: 0.5rem 0.75rem;
|
|
7327
|
+
font-size: 0.875rem;
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
.chat-composer-menu-field {
|
|
7331
|
+
display: grid;
|
|
7332
|
+
gap: 0.75rem;
|
|
7333
|
+
padding: 0.5rem 0.75rem;
|
|
7334
|
+
}
|
|
7335
|
+
|
|
7225
7336
|
.chat-composer-reference > .btn,
|
|
7226
7337
|
.chat-composer-attachment > .btn,
|
|
7227
7338
|
.chat-composer-actions > .btn {
|
|
@@ -7968,7 +8079,8 @@ html {
|
|
|
7968
8079
|
}
|
|
7969
8080
|
|
|
7970
8081
|
.chip-outlined.chip-neutral {
|
|
7971
|
-
color: var(--color-
|
|
8082
|
+
color: var(--color-on-surface);
|
|
8083
|
+
border-color: currentColor;
|
|
7972
8084
|
}
|
|
7973
8085
|
|
|
7974
8086
|
.chip-outlined.chip-neutral:hover {
|
|
@@ -8091,7 +8203,7 @@ html {
|
|
|
8091
8203
|
.chip-ghost.chip-warning { background-color: transparent; color: var(--color-on-warning-container); }
|
|
8092
8204
|
.chip-ghost.chip-error { background-color: transparent; color: var(--color-on-error-container); }
|
|
8093
8205
|
.chip-ghost.chip-accent { background-color: transparent; color: light-dark(var(--color-accent-content), var(--color-accent)); }
|
|
8094
|
-
.chip-ghost.chip-neutral { background-color: transparent; color: var(--color-
|
|
8206
|
+
.chip-ghost.chip-neutral { background-color: transparent; color: var(--color-on-surface); }
|
|
8095
8207
|
.chip-ghost.chip-base { background-color: transparent; color: var(--color-base-content); }
|
|
8096
8208
|
|
|
8097
8209
|
.chip-ghost.chip-primary:hover { background-color: var(--color-primary-container); }
|
|
@@ -15181,8 +15293,8 @@ html {
|
|
|
15181
15293
|
}
|
|
15182
15294
|
|
|
15183
15295
|
.alert-outlined.alert-neutral {
|
|
15184
|
-
border-color:
|
|
15185
|
-
color: var(--color-
|
|
15296
|
+
border-color: currentColor;
|
|
15297
|
+
color: var(--color-on-surface);
|
|
15186
15298
|
}
|
|
15187
15299
|
|
|
15188
15300
|
.alert-outlined.alert-base {
|
|
@@ -15204,7 +15316,7 @@ html {
|
|
|
15204
15316
|
.alert-ghost.alert-warning { color: var(--color-on-warning-container); }
|
|
15205
15317
|
.alert-ghost.alert-error { color: var(--color-on-error-container); }
|
|
15206
15318
|
.alert-ghost.alert-accent { color: light-dark(var(--color-accent-content), var(--color-accent)); }
|
|
15207
|
-
.alert-ghost.alert-neutral { color: var(--color-
|
|
15319
|
+
.alert-ghost.alert-neutral { color: var(--color-on-surface); }
|
|
15208
15320
|
.alert-ghost.alert-base { color: var(--color-base-content); }
|
|
15209
15321
|
|
|
15210
15322
|
/* Dismissible */
|