@box/blueprint-web 6.15.4 → 6.17.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.
package/lib-esm/index.css CHANGED
@@ -5610,7 +5610,7 @@ table.inline_table_module_inlineTable--b023b tr:not(:last-child) td{
5610
5610
  --z-index-card-tooltip:2147483647;
5611
5611
  }
5612
5612
 
5613
- .toolbar_module_toolbarRoot--66b77{
5613
+ .toolbar_module_toolbarRoot--d025f{
5614
5614
  align-items:center;
5615
5615
  background:var(--surface-surface);
5616
5616
  border:var(--border-1) solid var(--border-card-border);
@@ -5621,19 +5621,20 @@ table.inline_table_module_inlineTable--b023b tr:not(:last-child) td{
5621
5621
  padding:calc(var(--space-1) - var(--border-1));
5622
5622
  }
5623
5623
 
5624
- .toolbar_module_separator--66b77{
5624
+ .toolbar_module_separator--d025f{
5625
5625
  background-color:var(--border-divider-border);
5626
5626
  border-radius:var(--radius-2);
5627
5627
  height:var(--size-6);
5628
5628
  width:1px;
5629
5629
  }
5630
5630
 
5631
- .toolbar_module_toggleGroup--66b77,.toolbar_module_toolbarItem--66b77{
5631
+ .toolbar_module_toggleGroup--d025f,.toolbar_module_toolbarItem--d025f{
5632
5632
  display:flex;
5633
5633
  gap:var(--space-1);
5634
5634
  }
5635
5635
 
5636
- .toolbar_module_toolbarItem--66b77{
5636
+ .toolbar_module_toolbarItem--d025f{
5637
+ --toolbar-item-hover-opacity:0.3;
5637
5638
  align-items:center;
5638
5639
  background:var(--toolbar-button-color, var(--surface-toggle-surface));
5639
5640
  border:var(--border-1) solid #0000;
@@ -5648,39 +5649,48 @@ table.inline_table_module_inlineTable--b023b tr:not(:last-child) td{
5648
5649
  -webkit-user-select:none;
5649
5650
  user-select:none;
5650
5651
  }
5651
- .toolbar_module_toolbarItem--66b77[data-disabled]{
5652
+ .toolbar_module_toolbarItem--d025f[data-disabled]{
5652
5653
  background:var(--surface-toggle-surface);
5653
- opacity:.3;
5654
+ opacity:var(--toolbar-item-hover-opacity);
5654
5655
  pointer-events:none;
5655
5656
  }
5656
- .toolbar_module_toolbarItem--66b77:not([data-disabled]):focus-visible{
5657
+ .toolbar_module_toolbarItem--d025f:not([data-disabled]):focus-visible{
5657
5658
  box-shadow:0 0 0 .0625rem #fff,0 0 0 .1875rem #2486fc;
5658
5659
  }
5659
- .toolbar_module_toolbarItem--66b77:not([data-disabled]):hover{
5660
+ .toolbar_module_toolbarItem--d025f:not([data-disabled]):hover{
5660
5661
  background:var(--toolbar-button-color, var(--surface-toggle-surface-hover));
5661
5662
  border:var(--border-1) solid var(--toolbar-button-color, var(--surface-toggle-surface-hover));
5662
5663
  }
5663
5664
 
5664
- .toolbar_module_toolbarToggle--66b77[data-state=on]{
5665
+ .toolbar_module_toolbarToggle--d025f[data-state=on]{
5665
5666
  background:var(--surface-toggle-surface-pressed);
5666
5667
  }
5667
- .toolbar_module_toolbarToggle--66b77[data-state=on] svg *{
5668
+ .toolbar_module_toolbarToggle--d025f[data-state=on] svg *{
5668
5669
  fill:var(--icon-icon-on-dark);
5669
5670
  }
5670
- .toolbar_module_toolbarToggle--66b77[data-state=on]:not([data-disabled]):hover{
5671
+ .toolbar_module_toolbarToggle--d025f[data-state=on]:not([data-disabled]):hover{
5671
5672
  background:var(--surface-toggle-surface-on-hover);
5672
5673
  border:var(--border-1) solid var(--surface-toggle-surface-on-hover);
5673
5674
  }
5674
5675
 
5675
- .toolbar_module_invertDropdownIndicator--66b77{
5676
+ .toolbar_module_dropdownIndicator--d025f.toolbar_module_invertCaret--d025f{
5676
5677
  transform:rotate(.5turn);
5677
5678
  }
5678
5679
 
5679
- .toolbar_module_triggerButtonSelectedWithColor--66b77[data-state=on]:hover{
5680
- opacity:.7;
5680
+ .toolbar_module_triggerButtonSelectedWithColor--d025f{
5681
+ --trigger-button-hover-opacity:0.7;
5682
+ }
5683
+ .toolbar_module_triggerButtonSelectedWithColor--d025f[data-state=on] .toolbar_module_dropdownIndicator--d025f path{
5684
+ fill:var(--icon-icon-on-light);
5685
+ }
5686
+ .toolbar_module_triggerButtonSelectedWithColor--d025f[data-state=on]:hover{
5687
+ opacity:var(--trigger-button-hover-opacity);
5688
+ }
5689
+ .toolbar_module_triggerButtonSelectedWithColor--d025f[data-state=on] [data-disabled] .toolbar_module_dropdownIndicator--d025f path,.toolbar_module_triggerButtonSelectedWithColor--d025f[data-state=on]:focus-visible .toolbar_module_dropdownIndicator--d025f path,.toolbar_module_triggerButtonSelectedWithColor--d025f[data-state=on]:hover .toolbar_module_dropdownIndicator--d025f path{
5690
+ fill:var(--icon-icon-on-light-tertiary);
5681
5691
  }
5682
5692
 
5683
- .toolbar_module_toolbarIcon--66b77{
5693
+ .toolbar_module_toolbarIcon--d025f{
5684
5694
  align-items:center;
5685
5695
  display:flex;
5686
5696
  height:var(--size-5);
@@ -13,8 +13,8 @@ const ToolbarDropdownIndicator = /*#__PURE__*/forwardRef(({
13
13
  return jsx(Caret, {
14
14
  ref: forwardedRef,
15
15
  className: clsx({
16
- [styles.invertDropdownIndicator]: direction === 'up'
17
- }, className),
16
+ [styles.invertCaret]: direction === 'up'
17
+ }, styles.dropdownIndicator, className),
18
18
  color: color,
19
19
  height: Size2,
20
20
  role: "presentation",
@@ -1,4 +1,4 @@
1
1
  import '../index.css';
2
- var styles = {"toolbarRoot":"toolbar_module_toolbarRoot--66b77","separator":"toolbar_module_separator--66b77","toggleGroup":"toolbar_module_toggleGroup--66b77","toolbarItem":"toolbar_module_toolbarItem--66b77","toolbarToggle":"toolbar_module_toolbarToggle--66b77","invertDropdownIndicator":"toolbar_module_invertDropdownIndicator--66b77","triggerButtonSelectedWithColor":"toolbar_module_triggerButtonSelectedWithColor--66b77","toolbarIcon":"toolbar_module_toolbarIcon--66b77"};
2
+ var styles = {"toolbarRoot":"toolbar_module_toolbarRoot--d025f","separator":"toolbar_module_separator--d025f","toggleGroup":"toolbar_module_toggleGroup--d025f","toolbarItem":"toolbar_module_toolbarItem--d025f","toolbarToggle":"toolbar_module_toolbarToggle--d025f","dropdownIndicator":"toolbar_module_dropdownIndicator--d025f","invertCaret":"toolbar_module_invertCaret--d025f","triggerButtonSelectedWithColor":"toolbar_module_triggerButtonSelectedWithColor--d025f","toolbarIcon":"toolbar_module_toolbarIcon--d025f"};
3
3
 
4
4
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "6.15.4",
3
+ "version": "6.17.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@box/storybook-utils": "^0.0.3"
59
59
  },
60
- "gitHead": "fcbb48c1948bf3f2e039a5047953764c4705ef61",
60
+ "gitHead": "27a55b8816fa467409faedf10420e08d5f2004cf",
61
61
  "module": "lib-esm/index.js",
62
62
  "main": "lib-esm/index.js",
63
63
  "exports": {