@duskmoon-dev/core 1.21.0 → 1.21.1
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/chat.css +113 -2
- package/dist/components/index.css +113 -2
- package/dist/esm/components/chat.js +113 -2
- package/dist/index.css +113 -2
- package/dist/index.min.css +1 -1
- package/dist/standalone/duskmoonui-themes.css +1 -1
- package/dist/standalone/duskmoonui.css +115 -4
- package/dist/standalone/duskmoonui.js +3 -3
- package/dist/standalone/duskmoonui.mjs +3 -3
- 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.1
|
|
3
|
+
* @duskmoon-dev/css-art v1.21.1
|
|
4
4
|
* Complete standalone DuskMoonUI styles
|
|
5
5
|
* https://github.com/duskmoon-dev/duskmoonui
|
|
6
6
|
* @license MIT
|
|
@@ -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 {
|