@ni/nimble-components 20.17.5 → 20.17.7

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.
@@ -16301,7 +16301,7 @@
16301
16301
 
16302
16302
  /**
16303
16303
  * Do not edit directly
16304
- * Generated on Tue, 16 Jan 2024 20:46:46 GMT
16304
+ * Generated on Wed, 17 Jan 2024 00:34:10 GMT
16305
16305
  */
16306
16306
 
16307
16307
  const Information100DarkUi = "#a46eff";
@@ -17694,6 +17694,7 @@
17694
17694
  }
17695
17695
  });
17696
17696
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleAnchorButton());
17697
+ const anchorButtonTag = 'nimble-anchor-button';
17697
17698
 
17698
17699
  const styles$T = css `
17699
17700
  ${display('grid')}
@@ -18334,10 +18335,15 @@
18334
18335
  --ni-private-tree-item-nested-width: 0;
18335
18336
  }
18336
18337
 
18338
+ :host([disabled]) {
18339
+ color: ${bodyDisabledFontColor};
18340
+ cursor: default;
18341
+ }
18342
+
18337
18343
  .control {
18338
18344
  display: flex;
18339
18345
  text-decoration: none;
18340
- color: ${bodyFontColor};
18346
+ color: inherit;
18341
18347
  }
18342
18348
 
18343
18349
  .control${focusVisible} {
@@ -18346,10 +18352,6 @@
18346
18352
  outline-offset: -2px;
18347
18353
  }
18348
18354
 
18349
- :host([disabled]) .control {
18350
- cursor: not-allowed;
18351
- }
18352
-
18353
18355
  .positioning-region {
18354
18356
  display: flex;
18355
18357
  position: relative;
@@ -18362,6 +18364,10 @@
18362
18364
  background: ${fillHoverColor};
18363
18365
  }
18364
18366
 
18367
+ :host([disabled]) .positioning-region:hover {
18368
+ background: transparent;
18369
+ }
18370
+
18365
18371
  :host([selected]) .positioning-region {
18366
18372
  background: ${fillSelectedColor};
18367
18373
  }
@@ -18390,11 +18396,6 @@
18390
18396
  margin-inline-start: ${iconSize};
18391
18397
  }
18392
18398
 
18393
- :host([disabled]) .content-region {
18394
- opacity: 0.5;
18395
- cursor: not-allowed;
18396
- }
18397
-
18398
18399
  ${
18399
18400
  /* this rule keeps children without an icon text aligned with parents */ ''}
18400
18401
  [part="start"] {
@@ -18404,12 +18405,12 @@
18404
18405
  ${ /* the start class is applied when the corresponding slot is filled */''}
18405
18406
  .start {
18406
18407
  display: flex;
18407
- fill: currentcolor;
18408
18408
  margin-inline-start: ${iconSize};
18409
18409
  margin-inline-end: ${iconSize};
18410
18410
  }
18411
18411
 
18412
18412
  slot[name='start']::slotted(*) {
18413
+ ${iconColor.cssCustomProperty}: currentcolor;
18413
18414
  width: ${iconSize};
18414
18415
  height: ${iconSize};
18415
18416
  }
@@ -42546,6 +42547,7 @@ img.ProseMirror-separator {
42546
42547
  /** Initial height of rich text editor with one line space when the footer is visible. */ ''}
42547
42548
  height: 82px;
42548
42549
  --ni-private-rich-text-editor-footer-section-height: 40px;
42550
+ --ni-private-rich-text-editor-footer-section-border-top-width: 2px;
42549
42551
  ${
42550
42552
  /** Minimum width is added to accommodate all the possible buttons in the toolbar and to support the mobile width. */ ''}
42551
42553
  min-width: 360px;
@@ -42739,8 +42741,11 @@ img.ProseMirror-separator {
42739
42741
  display: flex;
42740
42742
  justify-content: space-between;
42741
42743
  flex-shrink: 0;
42742
- border: ${borderWidth} solid transparent;
42743
- border-top-color: rgba(${borderRgbPartialColor}, 0.1);
42744
+ border: 0px;
42745
+ border-top: var(
42746
+ --ni-private-rich-text-editor-footer-section-border-top-width
42747
+ )
42748
+ solid rgba(${borderRgbPartialColor}, 0.1);
42744
42749
  height: var(--ni-private-rich-text-editor-footer-section-height);
42745
42750
  overflow: hidden;
42746
42751
  }
@@ -42749,15 +42754,23 @@ img.ProseMirror-separator {
42749
42754
  display: none;
42750
42755
  }
42751
42756
 
42752
- nimble-toolbar::part(positioning-region) {
42757
+ ${toolbarTag}::part(positioning-region) {
42753
42758
  background: transparent;
42754
42759
  padding-right: 8px;
42760
+ box-sizing: border-box;
42761
+ gap: 0px;
42762
+ height: var(--ni-private-rich-text-editor-footer-section-height);
42755
42763
  }
42756
42764
 
42757
- nimble-toolbar::part(start) {
42765
+ ${toolbarTag}::part(start) {
42758
42766
  gap: 8px;
42759
42767
  }
42760
42768
 
42769
+ ${buttonTag},
42770
+ ${toggleButtonTag} {
42771
+ height: ${controlSlimHeight};
42772
+ }
42773
+
42761
42774
  .footer-actions {
42762
42775
  display: flex;
42763
42776
  justify-content: flex-end;
@@ -42766,6 +42779,13 @@ img.ProseMirror-separator {
42766
42779
  place-items: center;
42767
42780
  }
42768
42781
 
42782
+ ::slotted(${buttonTag}),
42783
+ ::slotted(${toggleButtonTag}),
42784
+ ::slotted(${anchorButtonTag}),
42785
+ ::slotted(${menuButtonTag}) {
42786
+ height: ${controlSlimHeight};
42787
+ }
42788
+
42769
42789
  :host([error-visible]) .error-icon {
42770
42790
  display: none;
42771
42791
  }
@@ -67939,6 +67959,11 @@ img.ProseMirror-separator {
67939
67959
  --ni-private-tree-item-nested-width: 0;
67940
67960
  }
67941
67961
 
67962
+ :host([disabled]) {
67963
+ color: ${bodyDisabledFontColor};
67964
+ cursor: default;
67965
+ }
67966
+
67942
67967
  ${ /* this controls the side border */''}
67943
67968
  :host([${groupSelectedAttribute}])::after {
67944
67969
  background: ${borderHoverColor};
@@ -67980,6 +68005,10 @@ img.ProseMirror-separator {
67980
68005
  background: ${fillHoverSelectedColor};
67981
68006
  }
67982
68007
 
68008
+ :host([disabled]) .positioning-region:hover {
68009
+ background-color: transparent;
68010
+ }
68011
+
67983
68012
  .positioning-region::before {
67984
68013
  content: '';
67985
68014
  display: block;
@@ -68004,11 +68033,6 @@ img.ProseMirror-separator {
68004
68033
  outline: none;
68005
68034
  }
68006
68035
 
68007
- :host([disabled]) .content-region {
68008
- opacity: 0.5;
68009
- cursor: not-allowed;
68010
- }
68011
-
68012
68036
  .expand-collapse-button {
68013
68037
  background: none;
68014
68038
  border: none;
@@ -68018,7 +68042,6 @@ img.ProseMirror-separator {
68018
68042
  padding: 0px;
68019
68043
  justify-content: center;
68020
68044
  align-items: center;
68021
- cursor: pointer;
68022
68045
  margin-left: 10px;
68023
68046
  position: absolute;
68024
68047
  }
@@ -68041,12 +68064,12 @@ img.ProseMirror-separator {
68041
68064
  /* the start class is applied when the corresponding slots is filled */ ''}
68042
68065
  .start {
68043
68066
  display: flex;
68044
- fill: currentcolor;
68045
68067
  margin-inline-start: ${iconSize};
68046
68068
  margin-inline-end: ${iconSize};
68047
68069
  }
68048
68070
 
68049
68071
  slot[name='start']::slotted(*) {
68072
+ ${iconColor.cssCustomProperty}: currentcolor;
68050
68073
  width: ${iconSize};
68051
68074
  height: ${iconSize};
68052
68075
  }