@rocket.chat/fuselage 0.92.0 → 0.94.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.
@@ -5218,16 +5218,20 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
5218
5218
  font-size: 0.875rem;
5219
5219
  font-weight: 400;
5220
5220
  line-height: 1.25rem;
5221
+ border-width: 1px;
5222
+ border-style: solid;
5223
+ border-color: transparent;
5221
5224
  }
5222
5225
  .rcx-sidebar-item:focus-visible, .focus.focus-visible.rcx-sidebar-item {
5226
+ border-color: var(--rcx-color-stroke-highlight, #156ff5);
5223
5227
  border-radius: var(--rcx-border-radius-medium, 0.25rem);
5224
5228
  outline: 0;
5225
- box-shadow: inset 0 0 0 2px var(--rcx-color-stroke-highlight, #156ff5);
5229
+ box-shadow: none;
5226
5230
  }
5227
5231
  .rcx-sidebar-item {
5228
5232
  display: flex;
5229
5233
  align-items: center;
5230
- border-radius: var(--rcx-border-radius-medium, 0.25rem);
5234
+ border-radius: var(--rcx-border-radius-small, 0.125rem);
5231
5235
  }
5232
5236
 
5233
5237
  .rcx-sidebar-item:is(a), .rcx-sidebar-item:is(div[role=button]) {
@@ -5255,14 +5259,13 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
5255
5259
  text-overflow: ellipsis;
5256
5260
  justify-content: flex-start;
5257
5261
  align-items: center;
5258
- margin-inline: 0.25rem;
5259
- padding: 0.25rem;
5262
+ padding: calc(0.25rem - 1px) calc(1rem - 1px);
5260
5263
  white-space: nowrap;
5261
5264
  text-decoration: none;
5262
5265
  gap: 0.25rem;
5263
5266
  }
5264
5267
  .rcx-sidebar-item--level-2 {
5265
- padding: 0.25rem;
5268
+ padding-block: calc(0.5rem - 1px);
5266
5269
  }
5267
5270
  .rcx-sidebar-item:active {
5268
5271
  color: var(--rcx-sidebar-color-font-active, var(--rcx-color-font-titles-labels, #1f2329));
@@ -5409,12 +5412,23 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
5409
5412
  display: flex;
5410
5413
  flex-flow: row nowrap;
5411
5414
  align-items: center;
5415
+ min-height: 1.5rem;
5416
+ padding: calc(0.5rem - 1px) calc(1rem - 1px);
5412
5417
  text-align: start;
5418
+ background-color: var(--rcx-sidebar-color-surface-default, var(--rcx-color-surface-sidebar, #e4e7ea));
5413
5419
  -moz-column-gap: 0.25rem;
5414
5420
  column-gap: 0.25rem;
5415
5421
  }
5416
- .rcx-sidebar-collapse-group__title, .rcx-sidebar-accordion-item__title {
5422
+ .rcx-sidebar-collapse-group__heading, .rcx-sidebar-accordion-item__heading {
5423
+ display: flex;
5424
+ align-items: center;
5417
5425
  flex: 1 1 0;
5426
+ min-width: 0;
5427
+ -moz-column-gap: 0.25rem;
5428
+ column-gap: 0.25rem;
5429
+ }
5430
+ .rcx-sidebar-collapse-group__title, .rcx-sidebar-accordion-item__title {
5431
+ flex: 0 1 auto;
5418
5432
  margin: 0;
5419
5433
  white-space: nowrap;
5420
5434
  overflow: hidden;
@@ -5453,13 +5467,7 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
5453
5467
  padding-block: 0.25rem 0.5rem;
5454
5468
  }
5455
5469
  .rcx-sidebar-collapse-group__bar {
5456
- min-height: 1.75rem;
5457
- margin-block-start: 0.25rem;
5458
- margin-inline: 0.25rem;
5459
- padding: 0.25rem;
5460
5470
  color: var(--rcx-color-font-secondary-info, #6c737a);
5461
- border-radius: var(--rcx-border-radius-medium, 0.25rem);
5462
- background-color: var(--rcx-sidebar-color-surface-default, var(--rcx-color-surface-sidebar, #e4e7ea));
5463
5471
  }
5464
5472
  .rcx-sidebar-collapse-group__bar--empty {
5465
5473
  color: var(--rcx-color-font-disabled, #cbced1);
@@ -5489,20 +5497,19 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
5489
5497
  .rcx-sidebar-collapse-group__bar-button[tabindex].disabled, .rcx-sidebar-collapse-group__bar-button[tabindex]:disabled {
5490
5498
  cursor: not-allowed;
5491
5499
  }
5492
- .rcx-sidebar-collapse-group__heading {
5493
- display: flex;
5494
- align-items: center;
5495
- flex: 1 1 0;
5496
- min-width: 0;
5497
- }
5498
- .rcx-sidebar-collapse-group__title {
5499
- flex: 0 1 auto;
5500
+ .rcx-sidebar-collapse-group__bar-button[tabindex] {
5501
+ border-width: 1px;
5502
+ border-style: solid;
5503
+ border-color: transparent;
5500
5504
  }
5501
- .rcx-sidebar-collapse-group__bar:has(.rcx-sidebar-collapse-group__bar-button[tabindex]):hover, .rcx-sidebar-collapse-group__bar:has(.rcx-sidebar-collapse-group__bar-button[tabindex]).hover, .rcx-sidebar-collapse-group__bar:has(.rcx-sidebar-collapse-group__bar-button[tabindex]).is-hovered {
5502
- background-color: var(--rcx-color-surface-hover, #f2f3f5);
5505
+ .rcx-sidebar-collapse-group__bar-button[tabindex]:focus-visible, .rcx-sidebar-collapse-group__bar-button[tabindex].focus.focus-visible {
5506
+ border-color: var(--rcx-color-stroke-highlight, #156ff5);
5507
+ border-radius: var(--rcx-border-radius-medium, 0.25rem);
5508
+ outline: 0;
5509
+ box-shadow: none;
5503
5510
  }
5504
- .rcx-sidebar-collapse-group__bar:has(.rcx-sidebar-collapse-group__bar-button:focus-visible) {
5505
- box-shadow: inset 0 0 0 2px var(--rcx-color-stroke-highlight, #156ff5);
5511
+ .rcx-sidebar-collapse-group__bar:has(.rcx-sidebar-collapse-group__bar-button:hover) {
5512
+ background-color: var(--rcx-sidebar-color-surface-hover, var(--rcx-color-surface-hover, #f2f3f5));
5506
5513
  }
5507
5514
  .rcx-sidebar-collapse-group__panel--expanded {
5508
5515
  padding-block: 0;
@@ -5516,7 +5523,6 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
5516
5523
  position: sticky;
5517
5524
  z-index: 1;
5518
5525
  top: 0;
5519
- min-height: 1.5rem;
5520
5526
  padding: 0.75rem 1rem 0.75rem 0;
5521
5527
  color: var(--rcx-color-font-default, #2f343d);
5522
5528
  border-radius: var(--rcx-border-radius-small, 0.125rem);
@@ -6440,13 +6446,13 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
6440
6446
  }
6441
6447
  .rcx-tooltip--dir-left::after {
6442
6448
  inset-block-start: 50%;
6443
- inset-inline-end: -4px;
6449
+ right: -4px;
6444
6450
  margin-block-start: -4px;
6445
6451
  transform: rotate(-135deg);
6446
6452
  }
6447
6453
  .rcx-tooltip--dir-right::after {
6448
6454
  inset-block-start: 50%;
6449
- inset-inline-start: -4px;
6455
+ left: -4px;
6450
6456
  margin-block-start: -4px;
6451
6457
  transform: rotate(45deg);
6452
6458
  }
@@ -6459,15 +6465,15 @@ a:where(:active):where(:not(.rcx-button)), .rcx-tag--clickable:where(:active), .
6459
6465
  background-color: var(--rcx-tooltip-light-background-color, var(--rcx-color-surface-neutral, #e4e7ea));
6460
6466
  }
6461
6467
  .rcx-tooltip--pos-middle::after {
6462
- inset-inline-start: 50%;
6463
- margin-inline-start: -4px;
6468
+ left: 50%;
6469
+ margin-left: -4px;
6464
6470
  }
6465
6471
  .rcx-tooltip--pos-start::after {
6466
- inset-inline-start: 8px;
6472
+ left: 8px;
6467
6473
  margin: 0;
6468
6474
  }
6469
6475
  .rcx-tooltip--pos-end::after {
6470
- inset-inline-start: initial;
6471
- inset-inline-end: 8px;
6476
+ left: initial;
6477
+ right: 8px;
6472
6478
  margin: 0;
6473
6479
  }
@@ -6937,8 +6937,8 @@ if (process.env.NODE_ENV !== "production") (function() {
6937
6937
  //#endregion
6938
6938
  //#region src/components/Tooltip/Tooltip.tsx
6939
6939
  var parsePlacement = (placement) => {
6940
- const [direction, position] = placement ? placement.split("-") : [false, false];
6941
- if (direction === "right" || direction === "left") return [direction, false];
6940
+ const [direction, position] = placement ? placement.split("-") : [void 0, void 0];
6941
+ if (direction === "right" || direction === "left") return [direction, void 0];
6942
6942
  return [direction, position];
6943
6943
  };
6944
6944
  function Tooltip({ variation = "dark", placement, ...props }) {