@ni/nimble-components 29.7.4 → 29.7.5

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.
@@ -16280,7 +16280,7 @@
16280
16280
 
16281
16281
  /**
16282
16282
  * Do not edit directly
16283
- * Generated on Mon, 01 Jul 2024 22:51:48 GMT
16283
+ * Generated on Mon, 01 Jul 2024 23:50:55 GMT
16284
16284
  */
16285
16285
 
16286
16286
  const Information100DarkUi = "#a46eff";
@@ -20001,28 +20001,18 @@
20001
20001
  const styles$P = css `
20002
20002
  ${display('inline-block')}
20003
20003
 
20004
- :host {
20005
- font: ${linkFont};
20006
- --ni-private-breadcrumb-link-font-color: ${linkFontColor};
20007
- --ni-private-breadcrumb-link-active-font-color: ${linkActiveFontColor};
20008
- }
20009
-
20010
- :host([appearance='prominent']) {
20011
- --ni-private-breadcrumb-link-font-color: ${linkProminentFontColor};
20012
- --ni-private-breadcrumb-link-active-font-color: ${linkActiveProminentFontColor};
20013
- }
20014
-
20015
20004
  .list {
20016
20005
  display: flex;
20017
20006
  flex-wrap: wrap;
20018
20007
  }
20019
20008
 
20020
- ::slotted(*:first-child) {
20021
- padding-left: 0px;
20009
+ ::slotted(:last-child) {
20010
+ font: ${bodyEmphasizedFont};
20011
+ color: ${linkFontColor};
20022
20012
  }
20023
20013
 
20024
- ::slotted(*:not([href]):last-child) {
20025
- font: ${bodyEmphasizedFont};
20014
+ :host([appearance='prominent']) ::slotted(:last-child) {
20015
+ color: ${linkProminentFontColor};
20026
20016
  }
20027
20017
  `;
20028
20018
 
@@ -20043,70 +20033,90 @@
20043
20033
  DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleBreadcrumb());
20044
20034
 
20045
20035
  const styles$O = css `
20046
- ${display('inline-flex')}
20036
+ @layer base, hover, focusVisible, active, disabled;
20047
20037
 
20048
- :host {
20049
- height: ${controlHeight};
20050
- padding-left: calc(4px - ${borderWidth});
20038
+ @layer base {
20039
+ ${display('inline-flex')}
20051
20040
 
20052
- ${
20041
+ :host {
20042
+ height: ${controlHeight};
20043
+
20044
+ ${
20053
20045
  /* When href removed the .control element is also removed
20054
- so this becomes the fallback color for the slot */ ''}
20055
- color: ${bodyFontColor};
20056
- font: ${linkFont};
20057
- }
20046
+ so this becomes the fallback color for the slot */ ''}
20047
+ color: ${linkDisabledFontColor};
20048
+ font: ${linkFont};
20049
+ }
20058
20050
 
20059
- .listitem {
20060
- display: flex;
20061
- align-items: center;
20062
- }
20051
+ .listitem {
20052
+ display: flex;
20053
+ align-items: center;
20054
+ }
20063
20055
 
20064
- .control {
20065
- color: var(--ni-private-breadcrumb-link-font-color);
20066
- display: flex;
20067
- align-items: center;
20068
- justify-content: center;
20069
- border: ${borderWidth} solid transparent;
20070
- padding-right: calc(4px - ${borderWidth});
20071
- text-decoration: none;
20072
- }
20056
+ .control {
20057
+ color: ${linkFontColor};
20058
+ display: flex;
20059
+ align-items: center;
20060
+ justify-content: center;
20061
+ text-decoration: none;
20062
+ }
20073
20063
 
20074
- .control:hover {
20075
- text-decoration: underline;
20076
- }
20064
+ [part='start'] {
20065
+ display: none;
20066
+ }
20077
20067
 
20078
- .control${focusVisible} {
20079
- border: ${borderWidth} solid ${borderHoverColor};
20080
- outline: 2px solid ${borderHoverColor};
20081
- outline-offset: 1px;
20082
- }
20068
+ .content {
20069
+ pointer-events: none;
20070
+ }
20083
20071
 
20084
- .control:active {
20085
- color: var(--ni-private-breadcrumb-link-active-font-color);
20086
- text-decoration: none;
20087
- }
20072
+ [part='end'] {
20073
+ display: none;
20074
+ }
20088
20075
 
20089
- [part='start'] {
20090
- display: none;
20076
+ .separator {
20077
+ padding-left: ${mediumPadding};
20078
+ padding-right: ${mediumPadding};
20079
+ }
20080
+
20081
+ slot[name='separator'] {
20082
+ display: flex;
20083
+ align-items: center;
20084
+ }
20085
+
20086
+ slot[name='separator'] svg {
20087
+ width: ${iconSize};
20088
+ height: ${iconSize};
20089
+ fill: ${placeholderFontColor};
20090
+ }
20091
20091
  }
20092
20092
 
20093
- .content {
20094
- pointer-events: none;
20093
+ @layer hover {
20094
+ .control:any-link:hover {
20095
+ text-decoration: underline;
20096
+ }
20095
20097
  }
20096
20098
 
20097
- [part='end'] {
20098
- display: none;
20099
+ @layer focusVisible {
20100
+ .control${focusVisible} {
20101
+ outline: none;
20102
+ box-shadow: inset 0px -1px;
20103
+ text-decoration: underline;
20104
+ color: ${borderHoverColor};
20105
+ }
20099
20106
  }
20100
20107
 
20101
- slot[name='separator'] {
20102
- display: flex;
20103
- align-items: center;
20108
+ @layer active {
20109
+ .control:active {
20110
+ color: ${linkActiveFontColor};
20111
+ text-decoration: underline;
20112
+ box-shadow: none;
20113
+ }
20104
20114
  }
20105
20115
 
20106
- slot[name='separator'] svg {
20107
- width: ${iconSize};
20108
- height: ${iconSize};
20109
- fill: ${placeholderFontColor};
20116
+ @layer disabled {
20117
+ .control:not(:any-link) {
20118
+ color: ${linkDisabledFontColor};
20119
+ }
20110
20120
  }
20111
20121
  `;
20112
20122