@ni/spright-components 6.23.2 → 6.24.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/dist/all-components-bundle.js +70 -0
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +5715 -5709
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +41 -41
- package/dist/custom-elements.md +8 -8
- package/package.json +3 -3
|
@@ -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);
|
|
@@ -18621,6 +18627,10 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18621
18627
|
name: 'arrow_partial_rotate_left_16_x_16',
|
|
18622
18628
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.988a3.086 3.086 0 0 0 3.143-3.025 3.08 3.08 0 0 0-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.62 4.62 0 0 1 4.572 4.53A4.63 4.63 0 0 1 8 13.5Z" class="cls-1"/></svg>`,
|
|
18623
18629
|
};
|
|
18630
|
+
const arrowRightArrowLeft16X16 = {
|
|
18631
|
+
name: 'arrow_right_arrow_left_16_x_16',
|
|
18632
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 4.167h5.173l-.99-2.084L15 4.983 9.182 7.917l.99-2.084H5zm6 6H5.827l.99-2.084L1 11.017l5.818 2.9-.99-2.084H11z"/></svg>`,
|
|
18633
|
+
};
|
|
18624
18634
|
const arrowRightThin16X16 = {
|
|
18625
18635
|
name: 'arrow_right_thin_16_x_16',
|
|
18626
18636
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.97 4.37-.68 1.12 3.09 1.86H2v1.3h8.38l-3.09 1.86.68 1.12L14 8z" class="cls-1"/></svg>`,
|
|
@@ -18837,6 +18847,18 @@ Defines an interaction area clip-path that leaves out the severity text so it is
|
|
|
18837
18847
|
name: 'circle_slash_16_x_16',
|
|
18838
18848
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.281 4.281 0 0 1 3.573 6.647L5.714 4.427a4.26 4.26 0 0 1 2.36-.713M3.789 8a4.26 4.26 0 0 1 .713-2.36l5.934 5.933A4.281 4.281 0 0 1 3.789 8" class="cls-1"/></svg>`,
|
|
18839
18849
|
};
|
|
18850
|
+
const circleSparkle16X16 = {
|
|
18851
|
+
name: 'circle_sparkle_16_x_16',
|
|
18852
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2C4.69 2 2 4.69 2 8s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6m1.138 7.133A3.98 3.98 0 0 0 8.003 11.5a3.98 3.98 0 0 0-1.136-2.37A4 4 0 0 0 4.5 7.998a4 4 0 0 0 2.362-1.131A3.98 3.98 0 0 0 7.997 4.5a3.98 3.98 0 0 0 1.136 2.37A4 4 0 0 0 11.5 8.002a4 4 0 0 0-2.362 1.131"/></svg>`,
|
|
18853
|
+
};
|
|
18854
|
+
const circleSparkleExclamation16X16 = {
|
|
18855
|
+
name: 'circle_sparkle_exclamation_16_x_16',
|
|
18856
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.29 6H1.93v-.89h1.36zM8.1 2h.01zM3.15 4.56 3.3 1H1.91l.15 3.56zM14.1 8c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-.34.04-.67.09-1h2.09l.04-3.65A6 6 0 0 1 8.106 2 6.005 6.005 0 0 1 14.1 8m-2.6.002A4 4 0 0 1 9.133 6.87 3.98 3.98 0 0 1 7.997 4.5a3.98 3.98 0 0 1-1.135 2.367A4 4 0 0 1 4.5 7.997 4 4 0 0 1 6.867 9.13a3.98 3.98 0 0 1 1.136 2.37 3.98 3.98 0 0 1 1.135-2.367 4 4 0 0 1 2.362-1.13"/></svg>`,
|
|
18857
|
+
};
|
|
18858
|
+
const circleSparkleTriangle16X16 = {
|
|
18859
|
+
name: 'circle_sparkle_triangle_16_x_16',
|
|
18860
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.96 4.975H1.01l1.98-3.96 1.98 3.96zm9.03 3.01c0 3.31-2.69 6-6 6s-6-2.69-6-6c0-.71.13-1.38.35-2.01h4.24l-1.59-3.18c.88-.51 1.91-.81 3-.81 3.31 0 6 2.69 6 6m-2.49.017A4 4 0 0 1 9.133 6.87 3.98 3.98 0 0 1 7.997 4.5a3.98 3.98 0 0 1-1.135 2.367A4 4 0 0 1 4.5 7.997 4 4 0 0 1 6.867 9.13a3.98 3.98 0 0 1 1.136 2.37 3.98 3.98 0 0 1 1.135-2.367 4 4 0 0 1 2.362-1.13"/></svg>`,
|
|
18861
|
+
};
|
|
18840
18862
|
const circleX16X16 = {
|
|
18841
18863
|
name: 'circle_x_16_x_16',
|
|
18842
18864
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.26 4.26 0 0 1 2.409.743l-2.37 2.37-2.4-2.4a4.26 4.26 0 0 1 2.36-.713M4.502 5.64l2.4 2.4-2.37 2.37a4.27 4.27 0 0 1-.03-4.77m3.573 6.647a4.26 4.26 0 0 1-2.31-.685l2.349-2.35 2.322 2.322a4.26 4.26 0 0 1-2.361.713m3.573-1.925L9.326 8.039l2.35-2.349a4.25 4.25 0 0 1-.028 4.67" class="cls-1"/></svg>`,
|
|
@@ -24165,6 +24187,18 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24165
24187
|
}
|
|
24166
24188
|
registerIconSvg('icon-arrow-partial-rotate-left', IconArrowPartialRotateLeft);
|
|
24167
24189
|
|
|
24190
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24191
|
+
// See generation source in nimble-components/build/generate-icons
|
|
24192
|
+
/**
|
|
24193
|
+
* The icon component for the 'arrowRightArrowLeft' icon
|
|
24194
|
+
*/
|
|
24195
|
+
class IconArrowRightArrowLeft extends IconSvg {
|
|
24196
|
+
constructor() {
|
|
24197
|
+
super(arrowRightArrowLeft16X16);
|
|
24198
|
+
}
|
|
24199
|
+
}
|
|
24200
|
+
registerIconSvg('icon-arrow-right-arrow-left', IconArrowRightArrowLeft);
|
|
24201
|
+
|
|
24168
24202
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24169
24203
|
// See generation source in nimble-components/build/generate-icons
|
|
24170
24204
|
/**
|
|
@@ -24791,6 +24825,42 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
24791
24825
|
}
|
|
24792
24826
|
registerIconSvg('icon-circle-slash', IconCircleSlash);
|
|
24793
24827
|
|
|
24828
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24829
|
+
// See generation source in nimble-components/build/generate-icons
|
|
24830
|
+
/**
|
|
24831
|
+
* The icon component for the 'circleSparkle' icon
|
|
24832
|
+
*/
|
|
24833
|
+
class IconCircleSparkle extends IconSvg {
|
|
24834
|
+
constructor() {
|
|
24835
|
+
super(circleSparkle16X16);
|
|
24836
|
+
}
|
|
24837
|
+
}
|
|
24838
|
+
registerIconSvg('icon-circle-sparkle', IconCircleSparkle);
|
|
24839
|
+
|
|
24840
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24841
|
+
// See generation source in nimble-components/build/generate-icons
|
|
24842
|
+
/**
|
|
24843
|
+
* The icon component for the 'circleSparkleExclamation' icon
|
|
24844
|
+
*/
|
|
24845
|
+
class IconCircleSparkleExclamation extends IconSvg {
|
|
24846
|
+
constructor() {
|
|
24847
|
+
super(circleSparkleExclamation16X16);
|
|
24848
|
+
}
|
|
24849
|
+
}
|
|
24850
|
+
registerIconSvg('icon-circle-sparkle-exclamation', IconCircleSparkleExclamation);
|
|
24851
|
+
|
|
24852
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24853
|
+
// See generation source in nimble-components/build/generate-icons
|
|
24854
|
+
/**
|
|
24855
|
+
* The icon component for the 'circleSparkleTriangle' icon
|
|
24856
|
+
*/
|
|
24857
|
+
class IconCircleSparkleTriangle extends IconSvg {
|
|
24858
|
+
constructor() {
|
|
24859
|
+
super(circleSparkleTriangle16X16);
|
|
24860
|
+
}
|
|
24861
|
+
}
|
|
24862
|
+
registerIconSvg('icon-circle-sparkle-triangle', IconCircleSparkleTriangle);
|
|
24863
|
+
|
|
24794
24864
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
24795
24865
|
// See generation source in nimble-components/build/generate-icons
|
|
24796
24866
|
/**
|