opus-react 0.2.32 → 0.2.34
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/index.cjs +1931 -1792
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +211 -71
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +27 -3
- package/dist/index.d.ts +27 -3
- package/dist/index.js +1929 -1792
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1387,6 +1387,112 @@
|
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
|
+
/* components/fields/ChoiceChipsField/ChoiceChipsField.module.css */
|
|
1391
|
+
.opus_X6xFEA_shell {
|
|
1392
|
+
width: 100%;
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
.opus_X6xFEA_root {
|
|
1396
|
+
flex-wrap: wrap;
|
|
1397
|
+
align-items: center;
|
|
1398
|
+
gap: 8px;
|
|
1399
|
+
width: 100%;
|
|
1400
|
+
display: flex;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
.opus_X6xFEA_chip {
|
|
1404
|
+
--choice-chip-bg: var(--opus-input-bg);
|
|
1405
|
+
--choice-chip-border: var(--opus-border-strong);
|
|
1406
|
+
--choice-chip-color: var(--opus-text);
|
|
1407
|
+
min-height: var(--opus-control-height);
|
|
1408
|
+
padding: 0 var(--opus-control-padding-x, 14px);
|
|
1409
|
+
border: 1px solid var(--choice-chip-border);
|
|
1410
|
+
background: var(--choice-chip-bg);
|
|
1411
|
+
color: var(--choice-chip-color);
|
|
1412
|
+
font-family: inherit;
|
|
1413
|
+
font-size: var(--opus-control-font-size);
|
|
1414
|
+
cursor: pointer;
|
|
1415
|
+
border-radius: 999px;
|
|
1416
|
+
justify-content: center;
|
|
1417
|
+
align-items: center;
|
|
1418
|
+
gap: 7px;
|
|
1419
|
+
font-weight: 700;
|
|
1420
|
+
line-height: 1;
|
|
1421
|
+
transition: background .16s, border-color .16s, box-shadow .16s, color .16s, transform .16s;
|
|
1422
|
+
display: inline-flex;
|
|
1423
|
+
box-shadow: 0 12px 26px #00000012;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.opus_X6xFEA_chip:hover:not(:disabled) {
|
|
1427
|
+
border-color: color-mix(in srgb, var(--opus-accent) 42%, var(--opus-border-strong));
|
|
1428
|
+
transform: translateY(-1px);
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
.opus_X6xFEA_chip:focus-visible {
|
|
1432
|
+
box-shadow: 0 0 0 4px color-mix(in srgb, var(--opus-accent) 22%, transparent),
|
|
1433
|
+
0 12px 26px #00000012;
|
|
1434
|
+
outline: 0;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
.opus_X6xFEA_indicator {
|
|
1438
|
+
background: color-mix(in srgb, var(--opus-muted) 52%, transparent);
|
|
1439
|
+
width: .56rem;
|
|
1440
|
+
height: .56rem;
|
|
1441
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--opus-border-strong) 82%, transparent);
|
|
1442
|
+
border-radius: 999px;
|
|
1443
|
+
transition: background .16s, box-shadow .16s, transform .16s;
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
.opus_X6xFEA_selected .opus_X6xFEA_indicator {
|
|
1447
|
+
background: var(--opus-accent-contrast);
|
|
1448
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--opus-accent-contrast) 20%, transparent);
|
|
1449
|
+
transform: scale(1.08);
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.opus_X6xFEA_selected {
|
|
1453
|
+
--choice-chip-bg: var(--opus-accent);
|
|
1454
|
+
--choice-chip-border: color-mix(in srgb, var(--opus-accent) 82%, white);
|
|
1455
|
+
--choice-chip-color: var(--opus-accent-contrast);
|
|
1456
|
+
box-shadow: 0 14px 30px color-mix(in srgb, var(--opus-accent) 28%, transparent);
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
.opus_X6xFEA_disabled {
|
|
1460
|
+
opacity: .62;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
.opus_X6xFEA_optionDisabled {
|
|
1464
|
+
cursor: not-allowed;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
.opus_X6xFEA_root[data-choice-chip-variant="filled"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1468
|
+
--choice-chip-bg: color-mix(in srgb, var(--opus-text) 8%, var(--opus-input-bg));
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
.opus_X6xFEA_root[data-choice-chip-variant="outlined"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1472
|
+
--choice-chip-bg: transparent;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
.opus_X6xFEA_root[data-choice-chip-variant="soft"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1476
|
+
--choice-chip-bg: var(--opus-accent-soft);
|
|
1477
|
+
--choice-chip-border: color-mix(in srgb, var(--opus-accent) 34%, var(--opus-border-strong));
|
|
1478
|
+
--choice-chip-color: color-mix(in srgb, var(--opus-accent) 82%, var(--opus-text));
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
.opus_X6xFEA_root[data-choice-chip-variant="glass"] .opus_X6xFEA_chip:not(.opus_X6xFEA_selected) {
|
|
1482
|
+
--choice-chip-bg: color-mix(in srgb, var(--opus-input-bg) 58%, transparent);
|
|
1483
|
+
backdrop-filter: blur(10px);
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1487
|
+
.opus_X6xFEA_chip, .opus_X6xFEA_indicator {
|
|
1488
|
+
transition: none;
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
.opus_X6xFEA_chip:hover:not(:disabled) {
|
|
1492
|
+
transform: none;
|
|
1493
|
+
}
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1390
1496
|
/* components/fields/RangeField/RangeField.module.css */
|
|
1391
1497
|
.opus_iRHQuG_wrap {
|
|
1392
1498
|
gap: 10px;
|
|
@@ -14023,9 +14129,7 @@
|
|
|
14023
14129
|
|
|
14024
14130
|
/* components/Sidebar/Sidebar.module.css */
|
|
14025
14131
|
.opus_4Pogux_layout {
|
|
14026
|
-
|
|
14027
|
-
border-radius: var(--opus-input-radius-large);
|
|
14028
|
-
background: color-mix(in srgb, var(--opus-panel) 88%, transparent);
|
|
14132
|
+
background: none;
|
|
14029
14133
|
width: 100%;
|
|
14030
14134
|
min-height: 280px;
|
|
14031
14135
|
display: grid;
|
|
@@ -14033,11 +14137,11 @@
|
|
|
14033
14137
|
}
|
|
14034
14138
|
|
|
14035
14139
|
.opus_4Pogux_layout[data-side="left"] {
|
|
14036
|
-
grid-template-columns: minmax(0,
|
|
14140
|
+
grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
|
|
14037
14141
|
}
|
|
14038
14142
|
|
|
14039
14143
|
.opus_4Pogux_layout[data-side="right"] {
|
|
14040
|
-
grid-template-columns: minmax(0, 1fr) minmax(0,
|
|
14144
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
|
|
14041
14145
|
}
|
|
14042
14146
|
|
|
14043
14147
|
.opus_4Pogux_layout[data-collapsed="true"][data-side="left"] {
|
|
@@ -14049,16 +14153,18 @@
|
|
|
14049
14153
|
}
|
|
14050
14154
|
|
|
14051
14155
|
.opus_4Pogux_sidebar {
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14156
|
+
--sidebar-pad: 14px;
|
|
14157
|
+
--sidebar-gap: 4px;
|
|
14158
|
+
--sidebar-row-pad-block: 8px;
|
|
14159
|
+
--sidebar-row-pad-inline: 10px;
|
|
14160
|
+
background: color-mix(in srgb, var(--opus-panel) 90%, transparent);
|
|
14161
|
+
min-width: 0;
|
|
14055
14162
|
min-height: 0;
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
border-inline-start: 1px solid var(--opus-border);
|
|
14163
|
+
color: var(--opus-text);
|
|
14164
|
+
flex-direction: column;
|
|
14165
|
+
transition: background .22s, color .22s;
|
|
14166
|
+
display: flex;
|
|
14167
|
+
overflow: hidden;
|
|
14062
14168
|
}
|
|
14063
14169
|
|
|
14064
14170
|
.opus_4Pogux_sidebar[data-collapsed="true"] {
|
|
@@ -14072,32 +14178,20 @@
|
|
|
14072
14178
|
--sidebar-row-pad-inline: 8px;
|
|
14073
14179
|
}
|
|
14074
14180
|
|
|
14075
|
-
.opus_4Pogux_sidebar[data-density="comfortable"] {
|
|
14076
|
-
--sidebar-pad: 14px;
|
|
14077
|
-
--sidebar-gap: 4px;
|
|
14078
|
-
--sidebar-row-pad-block: 8px;
|
|
14079
|
-
--sidebar-row-pad-inline: 10px;
|
|
14080
|
-
}
|
|
14081
|
-
|
|
14082
14181
|
.opus_4Pogux_header, .opus_4Pogux_footer, .opus_4Pogux_body {
|
|
14083
14182
|
min-width: 0;
|
|
14084
14183
|
}
|
|
14085
14184
|
|
|
14086
|
-
.opus_4Pogux_header, .opus_4Pogux_footer {
|
|
14087
|
-
padding: var(--sidebar-pad);
|
|
14088
|
-
}
|
|
14089
|
-
|
|
14090
14185
|
.opus_4Pogux_header {
|
|
14091
|
-
|
|
14186
|
+
padding: 18px var(--sidebar-pad) 12px;
|
|
14187
|
+
background: color-mix(in srgb, var(--opus-panel) 90%, transparent);
|
|
14188
|
+
flex-shrink: 0;
|
|
14092
14189
|
}
|
|
14093
14190
|
|
|
14094
14191
|
.opus_4Pogux_footer {
|
|
14095
|
-
|
|
14096
|
-
padding: var(--sidebar-pad)
|
|
14097
|
-
var(--sidebar-pad)
|
|
14098
|
-
var(--sidebar-pad)
|
|
14099
|
-
calc(var(--sidebar-pad) + var(--sidebar-row-pad-inline));
|
|
14192
|
+
padding: 12px var(--sidebar-pad) 18px;
|
|
14100
14193
|
color: var(--opus-muted);
|
|
14194
|
+
flex-shrink: 0;
|
|
14101
14195
|
font-size: .78rem;
|
|
14102
14196
|
line-height: 1.4;
|
|
14103
14197
|
}
|
|
@@ -14110,25 +14204,26 @@
|
|
|
14110
14204
|
}
|
|
14111
14205
|
|
|
14112
14206
|
.opus_4Pogux_headerTitle {
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
letter-spacing: .04em;
|
|
14207
|
+
color: var(--opus-accent);
|
|
14208
|
+
letter-spacing: .12em;
|
|
14116
14209
|
text-transform: uppercase;
|
|
14117
14210
|
margin: 0;
|
|
14118
|
-
font-size: .
|
|
14119
|
-
font-weight:
|
|
14211
|
+
font-size: .78rem;
|
|
14212
|
+
font-weight: 700;
|
|
14213
|
+
line-height: 1;
|
|
14120
14214
|
}
|
|
14121
14215
|
|
|
14122
14216
|
.opus_4Pogux_body {
|
|
14123
|
-
|
|
14124
|
-
|
|
14217
|
+
min-height: 0;
|
|
14218
|
+
padding: 12px var(--sidebar-pad) 18px;
|
|
14219
|
+
flex: 1;
|
|
14220
|
+
overflow: hidden auto;
|
|
14125
14221
|
}
|
|
14126
14222
|
|
|
14127
14223
|
.opus_4Pogux_main {
|
|
14128
14224
|
min-width: 0;
|
|
14129
14225
|
color: var(--opus-muted);
|
|
14130
|
-
background:
|
|
14131
|
-
color-mix(in srgb, var(--opus-panel) 82%, transparent);
|
|
14226
|
+
background: none;
|
|
14132
14227
|
place-items: center;
|
|
14133
14228
|
padding: 24px;
|
|
14134
14229
|
font-size: .88rem;
|
|
@@ -14136,7 +14231,9 @@
|
|
|
14136
14231
|
}
|
|
14137
14232
|
|
|
14138
14233
|
.opus_4Pogux_nav {
|
|
14234
|
+
align-content: start;
|
|
14139
14235
|
gap: var(--sidebar-gap);
|
|
14236
|
+
min-height: 0;
|
|
14140
14237
|
display: grid;
|
|
14141
14238
|
}
|
|
14142
14239
|
|
|
@@ -14145,31 +14242,52 @@
|
|
|
14145
14242
|
padding: var(--sidebar-row-pad-block) var(--sidebar-row-pad-inline);
|
|
14146
14243
|
border-radius: var(--opus-input-radius);
|
|
14147
14244
|
color: var(--opus-muted);
|
|
14245
|
+
font: inherit;
|
|
14148
14246
|
text-align: left;
|
|
14149
14247
|
cursor: pointer;
|
|
14150
14248
|
background: none;
|
|
14151
|
-
border:
|
|
14152
|
-
|
|
14249
|
+
border: 1px solid #0000;
|
|
14250
|
+
align-items: center;
|
|
14251
|
+
gap: 8px;
|
|
14252
|
+
font-size: .84rem;
|
|
14153
14253
|
font-weight: 600;
|
|
14154
14254
|
line-height: 1.3;
|
|
14155
14255
|
text-decoration: none;
|
|
14156
|
-
transition: background .16s, color .16s;
|
|
14157
|
-
display:
|
|
14256
|
+
transition: background .16s, border-color .16s, color .16s;
|
|
14257
|
+
display: inline-flex;
|
|
14158
14258
|
}
|
|
14159
14259
|
|
|
14160
14260
|
.opus_4Pogux_sidebar[data-collapsed="true"] .opus_4Pogux_link {
|
|
14161
|
-
|
|
14261
|
+
justify-content: center;
|
|
14162
14262
|
padding-inline: 8px;
|
|
14163
14263
|
}
|
|
14164
14264
|
|
|
14165
14265
|
.opus_4Pogux_link:hover {
|
|
14166
|
-
|
|
14266
|
+
border-color: var(--opus-border);
|
|
14267
|
+
background: color-mix(in srgb, var(--opus-accent-soft) 70%, transparent);
|
|
14167
14268
|
color: var(--opus-text);
|
|
14168
14269
|
}
|
|
14169
14270
|
|
|
14170
14271
|
.opus_4Pogux_linkActive {
|
|
14171
|
-
|
|
14172
|
-
|
|
14272
|
+
border-color: color-mix(in srgb, var(--opus-accent) 45%, transparent);
|
|
14273
|
+
background: var(--opus-accent-soft);
|
|
14274
|
+
color: var(--opus-accent);
|
|
14275
|
+
}
|
|
14276
|
+
|
|
14277
|
+
.opus_4Pogux_icon {
|
|
14278
|
+
width: 14px;
|
|
14279
|
+
color: inherit;
|
|
14280
|
+
flex-shrink: 0;
|
|
14281
|
+
justify-content: center;
|
|
14282
|
+
align-items: center;
|
|
14283
|
+
line-height: 1;
|
|
14284
|
+
display: inline-flex;
|
|
14285
|
+
}
|
|
14286
|
+
|
|
14287
|
+
.opus_4Pogux_icon svg {
|
|
14288
|
+
width: 1em;
|
|
14289
|
+
height: 1em;
|
|
14290
|
+
display: block;
|
|
14173
14291
|
}
|
|
14174
14292
|
|
|
14175
14293
|
.opus_4Pogux_group {
|
|
@@ -14178,36 +14296,55 @@
|
|
|
14178
14296
|
}
|
|
14179
14297
|
|
|
14180
14298
|
.opus_4Pogux_groupHeader {
|
|
14181
|
-
padding: var(--sidebar-row-pad-block) var(--sidebar-row-pad-inline);
|
|
14182
|
-
justify-content: space-between;
|
|
14183
14299
|
align-items: center;
|
|
14184
|
-
gap:
|
|
14300
|
+
gap: 4px;
|
|
14185
14301
|
display: flex;
|
|
14186
14302
|
}
|
|
14187
14303
|
|
|
14188
14304
|
.opus_4Pogux_groupLabel {
|
|
14189
|
-
|
|
14190
|
-
|
|
14191
|
-
|
|
14305
|
+
min-width: 0;
|
|
14306
|
+
padding: var(--sidebar-row-pad-block) var(--sidebar-row-pad-inline);
|
|
14307
|
+
border-radius: var(--opus-input-radius);
|
|
14308
|
+
color: var(--opus-accent);
|
|
14309
|
+
letter-spacing: .04em;
|
|
14310
|
+
border: 1px solid #0000;
|
|
14311
|
+
flex: 1;
|
|
14312
|
+
align-items: center;
|
|
14313
|
+
gap: 8px;
|
|
14314
|
+
font-size: .84rem;
|
|
14315
|
+
font-weight: 700;
|
|
14316
|
+
line-height: 1.3;
|
|
14317
|
+
display: inline-flex;
|
|
14192
14318
|
}
|
|
14193
14319
|
|
|
14194
14320
|
.opus_4Pogux_groupToggle {
|
|
14195
|
-
border-radius: var(--opus-input-radius
|
|
14321
|
+
border-radius: var(--opus-input-radius);
|
|
14322
|
+
width: 32px;
|
|
14323
|
+
height: 32px;
|
|
14324
|
+
color: var(--opus-muted);
|
|
14196
14325
|
cursor: pointer;
|
|
14197
14326
|
background: none;
|
|
14198
|
-
border:
|
|
14199
|
-
|
|
14200
|
-
|
|
14201
|
-
|
|
14327
|
+
border: 1px solid #0000;
|
|
14328
|
+
flex-shrink: 0;
|
|
14329
|
+
justify-content: center;
|
|
14330
|
+
align-items: center;
|
|
14202
14331
|
padding: 0;
|
|
14203
|
-
|
|
14332
|
+
transition: background .16s, border-color .16s;
|
|
14333
|
+
display: inline-flex;
|
|
14334
|
+
}
|
|
14335
|
+
|
|
14336
|
+
.opus_4Pogux_groupToggle:hover {
|
|
14337
|
+
border-color: var(--opus-border);
|
|
14338
|
+
background: color-mix(in srgb, var(--opus-accent-soft) 50%, transparent);
|
|
14204
14339
|
}
|
|
14205
14340
|
|
|
14206
14341
|
.opus_4Pogux_groupChevron, .opus_4Pogux_groupChevronOpen {
|
|
14207
|
-
border-
|
|
14208
|
-
border-
|
|
14342
|
+
border-bottom: 1.5px solid;
|
|
14343
|
+
border-right: 1.5px solid;
|
|
14344
|
+
flex-shrink: 0;
|
|
14209
14345
|
width: 7px;
|
|
14210
14346
|
height: 7px;
|
|
14347
|
+
margin-top: 1px;
|
|
14211
14348
|
transition: transform .16s;
|
|
14212
14349
|
transform: rotate(-45deg);
|
|
14213
14350
|
}
|
|
@@ -14218,7 +14355,7 @@
|
|
|
14218
14355
|
|
|
14219
14356
|
.opus_4Pogux_groupItemsWrap {
|
|
14220
14357
|
grid-template-rows: 0fr;
|
|
14221
|
-
transition: grid-template-rows .
|
|
14358
|
+
transition: grid-template-rows .24s;
|
|
14222
14359
|
display: grid;
|
|
14223
14360
|
}
|
|
14224
14361
|
|
|
@@ -14227,13 +14364,13 @@
|
|
|
14227
14364
|
}
|
|
14228
14365
|
|
|
14229
14366
|
.opus_4Pogux_groupItems {
|
|
14230
|
-
gap: var(--sidebar-gap);
|
|
14231
|
-
min-height: 0;
|
|
14232
|
-
margin-left: var(--sidebar-row-pad-inline);
|
|
14233
|
-
padding-left: calc(var(--sidebar-row-pad-inline) + 6px);
|
|
14234
14367
|
opacity: 0;
|
|
14235
14368
|
border-left: 1px solid #0000;
|
|
14236
|
-
|
|
14369
|
+
gap: 2px;
|
|
14370
|
+
min-height: 0;
|
|
14371
|
+
margin-left: 10px;
|
|
14372
|
+
padding-left: 10px;
|
|
14373
|
+
transition: opacity .2s, border-color .24s;
|
|
14237
14374
|
display: grid;
|
|
14238
14375
|
overflow: hidden;
|
|
14239
14376
|
}
|
|
@@ -14260,13 +14397,16 @@
|
|
|
14260
14397
|
}
|
|
14261
14398
|
|
|
14262
14399
|
@media (width <= 640px) {
|
|
14263
|
-
.opus_4Pogux_layout {
|
|
14400
|
+
.opus_4Pogux_layout, .opus_4Pogux_layout[data-side="left"], .opus_4Pogux_layout[data-side="right"] {
|
|
14264
14401
|
grid-template-columns: minmax(0, 1fr);
|
|
14265
14402
|
}
|
|
14266
14403
|
|
|
14404
|
+
.opus_4Pogux_layout[data-side="right"] .opus_4Pogux_sidebar {
|
|
14405
|
+
grid-row: 1;
|
|
14406
|
+
}
|
|
14407
|
+
|
|
14267
14408
|
.opus_4Pogux_sidebar {
|
|
14268
|
-
|
|
14269
|
-
border-bottom: 1px solid var(--opus-border);
|
|
14409
|
+
max-height: 42vh;
|
|
14270
14410
|
}
|
|
14271
14411
|
}
|
|
14272
14412
|
|