opus-react 0.3.0 → 0.3.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/dist/index.css CHANGED
@@ -2179,7 +2179,7 @@
2179
2179
  color: var(--opus-text);
2180
2180
  font-size: var(--opus-control-font-size);
2181
2181
  cursor: text;
2182
- grid-template-columns: auto minmax(0, 1fr);
2182
+ grid-template-columns: auto minmax(0, 1fr) auto;
2183
2183
  transition: border-color .16s, box-shadow .16s;
2184
2184
  display: grid;
2185
2185
  box-shadow: inset 0 1px #ffffff0d, 0 14px 30px #0000000f;
@@ -2195,6 +2195,15 @@
2195
2195
  border-color: color-mix(in srgb, var(--opus-error) 75%, transparent);
2196
2196
  }
2197
2197
 
2198
+ .opus_1Q5xBh_endAdornment {
2199
+ min-width: 0;
2200
+ color: var(--opus-muted);
2201
+ justify-content: center;
2202
+ align-items: center;
2203
+ line-height: 1;
2204
+ display: inline-flex;
2205
+ }
2206
+
2198
2207
  .opus_1Q5xBh_prefixIcon {
2199
2208
  width: var(--opus-control-prefix-size, 14px);
2200
2209
  height: var(--opus-control-prefix-size, 14px);
@@ -2426,6 +2435,9 @@
2426
2435
  min-height: var(--opus-control-height);
2427
2436
  border: 1px solid var(--opus-border-strong);
2428
2437
  background: color-mix(in srgb, var(--opus-input-bg) 88%, transparent);
2438
+ color: inherit;
2439
+ cursor: pointer;
2440
+ font: inherit;
2429
2441
  border-radius: 999px;
2430
2442
  padding: 2px;
2431
2443
  transition: background .22s, border-color .22s, box-shadow .22s;
@@ -2434,6 +2446,11 @@
2434
2446
  box-shadow: inset 0 1px #ffffff0d, 0 8px 20px #0000000f;
2435
2447
  }
2436
2448
 
2449
+ .opus_SwerMA_toggle:focus-visible {
2450
+ outline: 2px solid var(--opus-accent);
2451
+ outline-offset: 2px;
2452
+ }
2453
+
2437
2454
  .opus_SwerMA_indicator {
2438
2455
  z-index: 0;
2439
2456
  width: var(--theme-option-size);
@@ -2459,7 +2476,6 @@
2459
2476
  width: var(--theme-option-size);
2460
2477
  height: calc(var(--opus-control-height) - 4px);
2461
2478
  color: var(--opus-muted);
2462
- cursor: pointer;
2463
2479
  background: none;
2464
2480
  border: 0;
2465
2481
  border-radius: 999px;
@@ -9567,14 +9583,14 @@
9567
9583
 
9568
9584
  .opus_PaKREB_handle[data-orientation="vertical"] .opus_PaKREB_grip {
9569
9585
  flex-direction: column;
9570
- width: 12px;
9571
- height: 30px;
9586
+ width: 10px;
9587
+ height: 26px;
9572
9588
  }
9573
9589
 
9574
9590
  .opus_PaKREB_handle[data-orientation="horizontal"] .opus_PaKREB_grip {
9575
9591
  flex-direction: row;
9576
- width: 30px;
9577
- height: 12px;
9592
+ width: 26px;
9593
+ height: 10px;
9578
9594
  }
9579
9595
 
9580
9596
  .opus_PaKREB_dot {
@@ -15940,6 +15956,388 @@ button.opus_H9TUGj_root:hover, button.opus_H9TUGj_root:focus-visible {
15940
15956
  font-size: .68rem;
15941
15957
  }
15942
15958
 
15959
+ /* components/ApplicationHeader/ApplicationHeader.module.css */
15960
+ .opus_TjZbi8_root {
15961
+ --application-header-bg: var(--dashboard-section-bg, #070d18);
15962
+ --application-header-border: var(--dashboard-section-border, #60a5fa33);
15963
+ border: 1px solid var(--application-header-border);
15964
+ background: radial-gradient(110% 180% at 0 0, #6d28d97a, #0000 58%), radial-gradient(90% 140% at 22% 20%, #312e8142, #0000 62%), linear-gradient(#070c1a 0%, #06101d 100%);
15965
+ border-radius: 24px 24px 0 0;
15966
+ grid-template-columns: 242px minmax(0, 1fr);
15967
+ align-items: center;
15968
+ gap: 0;
15969
+ width: 100%;
15970
+ min-width: 0;
15971
+ min-height: 72px;
15972
+ padding: 0;
15973
+ display: grid;
15974
+ box-shadow: inset 0 1px #ffffff0f, 0 12px 28px #020617ad;
15975
+ container-type: inline-size;
15976
+ }
15977
+
15978
+ .opus_TjZbi8_root[data-connected="true"] {
15979
+ border-bottom-color: var(--application-header-border);
15980
+ border-radius: 14px;
15981
+ min-height: 82px;
15982
+ }
15983
+
15984
+ .opus_TjZbi8_brand {
15985
+ border-radius: 8px;
15986
+ align-items: center;
15987
+ width: 100%;
15988
+ max-width: none;
15989
+ height: 100%;
15990
+ padding: 6px 18px;
15991
+ display: inline-flex;
15992
+ }
15993
+
15994
+ .opus_TjZbi8_brand:focus-visible {
15995
+ outline: 2px solid var(--opus-accent);
15996
+ outline-offset: 4px;
15997
+ }
15998
+
15999
+ .opus_TjZbi8_logo {
16000
+ object-fit: contain;
16001
+ object-position: center;
16002
+ width: 178px;
16003
+ max-width: 100%;
16004
+ height: 58px;
16005
+ display: block;
16006
+ }
16007
+
16008
+ .opus_TjZbi8_search {
16009
+ --opus-control-height: 40px;
16010
+ --opus-control-font-size: .88rem;
16011
+ min-width: 0;
16012
+ }
16013
+
16014
+ .opus_TjZbi8_actions {
16015
+ justify-content: flex-end;
16016
+ align-items: center;
16017
+ gap: 8px;
16018
+ min-width: 0;
16019
+ display: flex;
16020
+ }
16021
+
16022
+ .opus_TjZbi8_actionGroup {
16023
+ align-items: center;
16024
+ gap: 8px;
16025
+ display: inline-flex;
16026
+ }
16027
+
16028
+ .opus_TjZbi8_actions > [role="separator"] {
16029
+ background: color-mix(in srgb, var(--opus-muted) 38%, transparent);
16030
+ flex: 0 0 1px;
16031
+ align-self: center;
16032
+ min-height: 30px;
16033
+ }
16034
+
16035
+ .opus_TjZbi8_createButton {
16036
+ border: 1px solid color-mix(in srgb, var(--opus-accent) 34%, var(--opus-border));
16037
+ background: color-mix(in srgb, var(--opus-accent) 10%, var(--opus-panel));
16038
+ width: 2.1rem;
16039
+ height: 2.1rem;
16040
+ color: color-mix(in srgb, var(--opus-accent) 78%, white);
16041
+ cursor: pointer;
16042
+ border-radius: 10px;
16043
+ flex: none;
16044
+ place-items: center;
16045
+ padding: 0;
16046
+ font-size: 1rem;
16047
+ transition: background .16s, border-color .16s, transform .16s;
16048
+ display: inline-grid;
16049
+ }
16050
+
16051
+ .opus_TjZbi8_createButton svg {
16052
+ width: .78rem;
16053
+ height: .78rem;
16054
+ }
16055
+
16056
+ .opus_TjZbi8_createButton:hover {
16057
+ border-color: color-mix(in srgb, var(--opus-accent) 72%, var(--opus-border));
16058
+ background: color-mix(in srgb, var(--opus-accent) 18%, var(--opus-panel));
16059
+ }
16060
+
16061
+ .opus_TjZbi8_createButton:active {
16062
+ transform: translateY(1px);
16063
+ }
16064
+
16065
+ .opus_TjZbi8_createButton:focus-visible {
16066
+ outline: 2px solid var(--opus-accent);
16067
+ outline-offset: 2px;
16068
+ }
16069
+
16070
+ .opus_TjZbi8_createMenuIcon {
16071
+ flex: 0 0 1rem;
16072
+ justify-content: center;
16073
+ align-items: center;
16074
+ width: 1rem;
16075
+ height: 1rem;
16076
+ display: inline-flex;
16077
+ }
16078
+
16079
+ .opus_TjZbi8_createMenuIcon svg {
16080
+ width: .875rem;
16081
+ height: .875rem;
16082
+ }
16083
+
16084
+ .opus_TjZbi8_profile {
16085
+ width: min(190px, 18vw);
16086
+ min-width: 150px;
16087
+ }
16088
+
16089
+ @container (width <= 1200px) {
16090
+ .opus_TjZbi8_profile {
16091
+ width: 46px;
16092
+ min-width: 46px;
16093
+ overflow: hidden;
16094
+ }
16095
+ }
16096
+
16097
+ .opus_TjZbi8_content {
16098
+ background: radial-gradient(75% 120% at 0 0, #1d4ed81a, #0000 60%), linear-gradient(#0e182b, #07111f);
16099
+ border: 1px solid #60a5fa2e;
16100
+ border-top-color: #797bf86b;
16101
+ border-radius: 22px 22px 0 0;
16102
+ grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
16103
+ align-items: center;
16104
+ gap: 16px;
16105
+ width: 100%;
16106
+ min-width: 0;
16107
+ height: calc(100% + 2px);
16108
+ min-height: 72px;
16109
+ margin-block: -1px;
16110
+ padding: 0 18px 0 16px;
16111
+ display: grid;
16112
+ box-shadow: inset 0 1px #ffffff0d, -10px 0 28px #02061742;
16113
+ }
16114
+
16115
+ .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content {
16116
+ border-color: #0000;
16117
+ border-left-color: var(--application-header-border);
16118
+ background: radial-gradient(75% 120% at 0 0, #1d4ed81a, #0000 60%), linear-gradient(90deg, #0d172a 0%, #07111f 66%, #0000 100%);
16119
+ border-right: 0;
16120
+ border-radius: 14px 0 0 14px;
16121
+ height: 62px;
16122
+ min-height: 62px;
16123
+ margin-block: 0;
16124
+ position: relative;
16125
+ }
16126
+
16127
+ .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content:before, .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content:after {
16128
+ background: linear-gradient(90deg,
16129
+ var(--application-header-border) 0%,
16130
+ var(--application-header-border) 66%,
16131
+ transparent 100%);
16132
+ content: "";
16133
+ pointer-events: none;
16134
+ height: 1px;
16135
+ position: absolute;
16136
+ left: 10px;
16137
+ right: 0;
16138
+ }
16139
+
16140
+ .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content:before {
16141
+ top: -1px;
16142
+ }
16143
+
16144
+ .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content:after {
16145
+ bottom: -1px;
16146
+ }
16147
+
16148
+ [data-shell-theme="light"] .opus_TjZbi8_root, [data-theme="light"] .opus_TjZbi8_root {
16149
+ --application-header-bg: #f7f8fffa;
16150
+ --application-header-border: #b4b3e8;
16151
+ --dashboard-section-bg: #f7f8fffa;
16152
+ --dashboard-section-panel: #fff;
16153
+ --dashboard-section-text: #17132f;
16154
+ --dashboard-section-muted: #655f83;
16155
+ color: #17132f;
16156
+ background: radial-gradient(110% 180% at 0 0, #7c3aed47, #0000 60%), radial-gradient(90% 140% at 22% 20%, #a78bfa38, #0000 64%), linear-gradient(#f5f3ff 0%, #eef2ff 100%);
16157
+ box-shadow: inset 0 1px #ffffffe6, 0 12px 28px #4338ca24;
16158
+ }
16159
+
16160
+ [data-shell-theme="light"] .opus_TjZbi8_content, [data-theme="light"] .opus_TjZbi8_content {
16161
+ background: radial-gradient(75% 120% at 0 0, #dbeafe8a, #0000 62%), linear-gradient(#fffffffa, #f5f7fffa);
16162
+ border-color: #b5aae4 #babbe6 #babbe6;
16163
+ box-shadow: inset 0 1px #fffffffa, -10px 0 28px #4338ca14;
16164
+ }
16165
+
16166
+ [data-shell-theme="light"] .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content, [data-theme="light"] .opus_TjZbi8_root[data-connected="true"] .opus_TjZbi8_content {
16167
+ border-color: #0000;
16168
+ border-left-color: var(--application-header-border);
16169
+ background: radial-gradient(75% 120% at 0 0, #dbeafe8a, #0000 62%), linear-gradient(90deg, #fffffffa 0%, #f5f7ff 66%, #0000 100%);
16170
+ border-right: 0;
16171
+ }
16172
+
16173
+ @media (width <= 1100px) {
16174
+ .opus_TjZbi8_root {
16175
+ grid-template-columns: 150px minmax(0, 1fr);
16176
+ }
16177
+
16178
+ .opus_TjZbi8_content {
16179
+ grid-template-columns: minmax(220px, 1fr) auto;
16180
+ }
16181
+
16182
+ .opus_TjZbi8_logo {
16183
+ width: 132px;
16184
+ max-width: 132px;
16185
+ height: 48px;
16186
+ }
16187
+
16188
+ .opus_TjZbi8_profile {
16189
+ width: 46px;
16190
+ min-width: 46px;
16191
+ overflow: hidden;
16192
+ }
16193
+ }
16194
+
16195
+ @media (width <= 780px) {
16196
+ .opus_TjZbi8_root {
16197
+ grid-template-columns: 120px minmax(0, 1fr);
16198
+ min-height: 64px;
16199
+ }
16200
+
16201
+ .opus_TjZbi8_content {
16202
+ grid-template-columns: minmax(0, 1fr) auto;
16203
+ min-height: 62px;
16204
+ }
16205
+
16206
+ .opus_TjZbi8_search {
16207
+ display: none;
16208
+ }
16209
+
16210
+ .opus_TjZbi8_actions {
16211
+ grid-column: 2;
16212
+ }
16213
+
16214
+ .opus_TjZbi8_actions > :nth-of-type(n+5) {
16215
+ display: none;
16216
+ }
16217
+ }
16218
+
16219
+ @media (width <= 520px) {
16220
+ .opus_TjZbi8_root {
16221
+ padding: 10px 12px;
16222
+ }
16223
+
16224
+ .opus_TjZbi8_actions {
16225
+ gap: 6px;
16226
+ }
16227
+
16228
+ .opus_TjZbi8_profile {
16229
+ display: none;
16230
+ }
16231
+ }
16232
+
16233
+ /* components/ApplicationFooter/ApplicationFooter.module.css */
16234
+ .opus_mphyzH_root {
16235
+ --application-footer-border: var(--dashboard-section-border, #60a5fa33);
16236
+ border: 1px solid var(--application-footer-border);
16237
+ width: 100%;
16238
+ min-width: 0;
16239
+ min-height: 58px;
16240
+ color: var(--dashboard-section-text, var(--opus-text));
16241
+ background: radial-gradient(110% 180% at 0 100%, #6d28d957, #0000 58%), radial-gradient(90% 140% at 22% 80%, #312e8138, #0000 62%), linear-gradient(#070c1a 0%, #06101d 100%);
16242
+ border-radius: 14px;
16243
+ grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
16244
+ align-items: center;
16245
+ padding: 8px 18px;
16246
+ display: grid;
16247
+ box-shadow: inset 0 1px #ffffff0f, 0 12px 28px #020617ad;
16248
+ }
16249
+
16250
+ .opus_mphyzH_brand, .opus_mphyzH_actions, .opus_mphyzH_actionSlot {
16251
+ align-items: center;
16252
+ display: flex;
16253
+ }
16254
+
16255
+ .opus_mphyzH_brand {
16256
+ gap: 8px;
16257
+ min-width: 0;
16258
+ }
16259
+
16260
+ .opus_mphyzH_logo {
16261
+ object-fit: contain;
16262
+ width: 86px;
16263
+ height: 34px;
16264
+ }
16265
+
16266
+ .opus_mphyzH_product {
16267
+ color: var(--opus-muted);
16268
+ font-weight: 650;
16269
+ }
16270
+
16271
+ .opus_mphyzH_version {
16272
+ color: var(--opus-muted);
16273
+ margin-left: 10px;
16274
+ font-size: .72rem;
16275
+ }
16276
+
16277
+ .opus_mphyzH_copyright {
16278
+ color: var(--opus-muted);
16279
+ text-align: center;
16280
+ }
16281
+
16282
+ .opus_mphyzH_actions {
16283
+ justify-content: flex-end;
16284
+ gap: 8px;
16285
+ }
16286
+
16287
+ .opus_mphyzH_actionSlot {
16288
+ gap: 8px;
16289
+ }
16290
+
16291
+ .opus_mphyzH_actionSlot [role="separator"] {
16292
+ height: 24px;
16293
+ }
16294
+
16295
+ .opus_mphyzH_action {
16296
+ width: 32px;
16297
+ height: 32px;
16298
+ color: var(--opus-muted);
16299
+ cursor: pointer;
16300
+ background: none;
16301
+ border: 0;
16302
+ border-radius: 8px;
16303
+ place-items: center;
16304
+ padding: 0;
16305
+ display: grid;
16306
+ }
16307
+
16308
+ .opus_mphyzH_action:hover, .opus_mphyzH_action:focus-visible {
16309
+ background: color-mix(in srgb, var(--opus-text) 7%, transparent);
16310
+ color: var(--opus-text);
16311
+ outline: none;
16312
+ }
16313
+
16314
+ .opus_mphyzH_action:focus-visible {
16315
+ outline: 2px solid var(--opus-accent);
16316
+ outline-offset: 2px;
16317
+ }
16318
+
16319
+ .opus_mphyzH_action svg {
16320
+ width: 15px;
16321
+ height: 15px;
16322
+ }
16323
+
16324
+ [data-shell-theme="light"] .opus_mphyzH_root, [data-theme="light"] .opus_mphyzH_root {
16325
+ --application-footer-border: #b4b3e8;
16326
+ color: #17132f;
16327
+ background: radial-gradient(110% 180% at 0 100%, #7c3aed3d, #0000 60%), radial-gradient(90% 140% at 22% 80%, #a78bfa2e, #0000 64%), linear-gradient(#f5f3ff 0%, #eef2ff 100%);
16328
+ box-shadow: inset 0 1px #ffffffe6, 0 12px 28px #4338ca24;
16329
+ }
16330
+
16331
+ @media (width <= 720px) {
16332
+ .opus_mphyzH_root {
16333
+ grid-template-columns: 1fr auto;
16334
+ }
16335
+
16336
+ .opus_mphyzH_copyright, .opus_mphyzH_version {
16337
+ display: none;
16338
+ }
16339
+ }
16340
+
15943
16341
  /* components/FontPicker/FontPicker.module.css */
15944
16342
  .opus_ub1fhz_field {
15945
16343
  align-items: center;