@ni/spright-components 6.23.2 → 6.23.3

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.
@@ -14916,6 +14916,7 @@
14916
14916
  linkActiveProminentFont: 'link-active-prominent-font',
14917
14917
  placeholderFont: 'placeholder-font',
14918
14918
  bodyFont: 'body-font',
14919
+ codeFont: 'code-font',
14919
14920
  bodyEmphasizedFont: 'body-emphasized-font',
14920
14921
  bodyPlus1Font: 'body-plus-1-font',
14921
14922
  bodyPlus1EmphasizedFont: 'body-plus-1-emphasized-font',
@@ -16324,6 +16325,8 @@
16324
16325
  const ControlLabel1Weight = "600";
16325
16326
  const BodyFamily = "Source Sans Pro";
16326
16327
  const BodyWeight = "400";
16328
+ const CodeFamily = "Noto Sans Mono";
16329
+ const CodeWeight = "400";
16327
16330
  const Body2Family = "Source Sans Pro";
16328
16331
  const Body2Weight = "400";
16329
16332
  const GroupLabel1Family = "Source Sans Pro";
@@ -16359,6 +16362,7 @@
16359
16362
  const Title2Size = "22px";
16360
16363
  const ControlLabel1Size = "11px";
16361
16364
  const BodySize = "14px";
16365
+ const CodeSize = "13px";
16362
16366
  const Body2Size = "16px";
16363
16367
  const GroupLabel1Size = "11px";
16364
16368
  const ButtonLabel1Size = "14px";
@@ -16537,6 +16541,7 @@
16537
16541
  ...createFont('linkActiveProminent', createThemeColor(DigitalGreenLight, DigitalGreenLight, hexToRgbaCssColor(White, 0.75)), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), LinkLightUiFamily, LinkLightUiWeight, LinkLightUiSize, LinkLineHeight),
16538
16542
  ...createFont('placeholder', hexToRgbaCssThemeColor(alias.defaultFontColor, 0.6, 0.6, 0.6), hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), PlaceholderFamily, PlaceholderWeight, PlaceholderSize, PlaceholderLineHeight),
16539
16543
  ...createFont('body', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyFamily, BodyWeight, BodySize, BodyLineHeight),
16544
+ ...createFont('code', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), CodeFamily, CodeWeight, CodeSize, BodyLineHeight),
16540
16545
  ...createFont('bodyEmphasized', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyEmphasizedFamily, BodyEmphasizedWeight, BodyEmphasizedSize, BodyEmphasizedLineHeight),
16541
16546
  ...createFont('bodyPlus1', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), Body2Family, Body2Weight, Body2Size, Body2LineHeight),
16542
16547
  ...createFont('bodyPlus1Emphasized', alias.defaultFontColor, hexToRgbaCssThemeColor(alias.defaultFontColor, 0.3, 0.3, 0.3), BodyEmphasized2Family, BodyEmphasized2Weight, BodyEmphasized2Size, BodyEmphasized2LineHeight),
@@ -16720,6 +16725,7 @@
16720
16725
  const [linkActiveProminentFont, linkActiveProminentFontColor] = createFontTokens(tokenNames.linkActiveProminentFont, tokenValues.linkActiveProminentFont, tokenValues.linkActiveProminentFontColor, tokenValues.linkActiveProminentDisabledFontColor, tokenValues.linkActiveProminentFontFamily, tokenValues.linkActiveProminentFontWeight, tokenValues.linkActiveProminentFontSize, tokenValues.linkActiveProminentFontLineHeight);
16721
16726
  const [placeholderFont, placeholderFontColor] = createFontTokens(tokenNames.placeholderFont, tokenValues.placeholderFont, tokenValues.placeholderFontColor, tokenValues.placeholderDisabledFontColor, tokenValues.placeholderFontFamily, tokenValues.placeholderFontWeight, tokenValues.placeholderFontSize, tokenValues.placeholderFontLineHeight);
16722
16727
  const [bodyFont, bodyFontColor, bodyDisabledFontColor, bodyFontFamily, bodyFontWeight, bodyFontSize, bodyFontLineHeight] = createFontTokens(tokenNames.bodyFont, tokenValues.bodyFont, tokenValues.bodyFontColor, tokenValues.bodyDisabledFontColor, tokenValues.bodyFontFamily, tokenValues.bodyFontWeight, tokenValues.bodyFontSize, tokenValues.bodyFontLineHeight);
16728
+ createFontTokens(tokenNames.codeFont, tokenValues.codeFont, tokenValues.codeFontColor, tokenValues.codeDisabledFontColor, tokenValues.codeFontFamily, tokenValues.codeFontWeight, tokenValues.codeFontSize, tokenValues.codeFontLineHeight);
16723
16729
  const [bodyEmphasizedFont, bodyEmphasizedFontColor, bodyEmphasizedDisabledFontColor, bodyEmphasizedFontFamily, bodyEmphasizedFontWeight] = createFontTokens(tokenNames.bodyEmphasizedFont, tokenValues.bodyEmphasizedFont, tokenValues.bodyEmphasizedFontColor, tokenValues.bodyEmphasizedDisabledFontColor, tokenValues.bodyEmphasizedFontFamily, tokenValues.bodyEmphasizedFontWeight, tokenValues.bodyEmphasizedFontSize, tokenValues.bodyEmphasizedFontLineHeight);
16724
16730
  createFontTokens(tokenNames.bodyPlus1Font, tokenValues.bodyPlus1Font, tokenValues.bodyPlus1FontColor, tokenValues.bodyPlus1DisabledFontColor, tokenValues.bodyPlus1FontFamily, tokenValues.bodyPlus1FontWeight, tokenValues.bodyPlus1FontSize, tokenValues.bodyPlus1FontLineHeight);
16725
16731
  createFontTokens(tokenNames.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFont, tokenValues.bodyPlus1EmphasizedFontColor, tokenValues.bodyPlus1EmphasizedDisabledFontColor, tokenValues.bodyPlus1EmphasizedFontFamily, tokenValues.bodyPlus1EmphasizedFontWeight, tokenValues.bodyPlus1EmphasizedFontSize, tokenValues.bodyPlus1EmphasizedFontLineHeight);