@ni/spright-components 6.18.0 → 6.18.2
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 +21 -5
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +6 -5
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/icons/nigel-chat/icon-data.d.ts +1 -1
- package/dist/esm/icons/nigel-chat/icon-data.js +6 -3
- package/dist/esm/icons/nigel-chat/icon-data.js.map +1 -1
- package/package.json +2 -2
|
@@ -21421,7 +21421,7 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21421
21421
|
fill: ${borderColor};
|
|
21422
21422
|
}
|
|
21423
21423
|
|
|
21424
|
-
:host(.checked:not(.indeterminate)) slot[name='checked-indicator'] {
|
|
21424
|
+
:host(.checked:not(.indeterminate):not([appearance-indeterminate])) slot[name='checked-indicator'] {
|
|
21425
21425
|
display: contents;
|
|
21426
21426
|
}
|
|
21427
21427
|
|
|
@@ -21435,7 +21435,8 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21435
21435
|
overflow: visible;
|
|
21436
21436
|
}
|
|
21437
21437
|
|
|
21438
|
-
:host(.indeterminate) slot[name='indeterminate-indicator']
|
|
21438
|
+
:host(.indeterminate) slot[name='indeterminate-indicator'],
|
|
21439
|
+
:host([appearance-indeterminate]) slot[name='indeterminate-indicator'] {
|
|
21439
21440
|
display: contents;
|
|
21440
21441
|
}
|
|
21441
21442
|
|
|
@@ -21536,6 +21537,15 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21536
21537
|
* A nimble-styled checkbox control.
|
|
21537
21538
|
*/
|
|
21538
21539
|
class Checkbox extends mixinErrorPattern(Checkbox$1) {
|
|
21540
|
+
constructor() {
|
|
21541
|
+
super(...arguments);
|
|
21542
|
+
/**
|
|
21543
|
+
* @public
|
|
21544
|
+
* @remarks
|
|
21545
|
+
* HTML Attribute: appearance-indeterminate
|
|
21546
|
+
*/
|
|
21547
|
+
this.appearanceIndeterminate = false;
|
|
21548
|
+
}
|
|
21539
21549
|
/**
|
|
21540
21550
|
* @internal
|
|
21541
21551
|
*/
|
|
@@ -21547,6 +21557,9 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21547
21557
|
__decorate([
|
|
21548
21558
|
attr({ attribute: 'tabindex', converter: nullableNumberConverter })
|
|
21549
21559
|
], Checkbox.prototype, "tabIndex", void 0);
|
|
21560
|
+
__decorate([
|
|
21561
|
+
attr({ attribute: 'appearance-indeterminate', mode: 'boolean' })
|
|
21562
|
+
], Checkbox.prototype, "appearanceIndeterminate", void 0);
|
|
21550
21563
|
const nimbleCheckbox = Checkbox.compose({
|
|
21551
21564
|
baseName: 'checkbox',
|
|
21552
21565
|
baseClass: Checkbox$1,
|
|
@@ -99500,6 +99513,9 @@ focus outline in that case.
|
|
|
99500
99513
|
}
|
|
99501
99514
|
`;
|
|
99502
99515
|
|
|
99516
|
+
// Visual Design is iterating on this icon for NI Connect 2026; it's likely we will get different
|
|
99517
|
+
// icons for dark and light mode in future but for now they like the dark icon even on light background.
|
|
99518
|
+
// Both exports use the same visual but with unique IDs to avoid collisions when both are in the DOM.
|
|
99503
99519
|
const nigelChatLightData = `<?xml version="1.0" encoding="UTF-8"?>
|
|
99504
99520
|
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 16 16">
|
|
99505
99521
|
<defs>
|
|
@@ -99513,10 +99529,10 @@ focus outline in that case.
|
|
|
99513
99529
|
}
|
|
99514
99530
|
</style>
|
|
99515
99531
|
<linearGradient id="nigel-chat-gradient-light-1" x1="11.84" y1="6.19" x2="4.84" y2="13.18" gradientTransform="translate(0 18) scale(1 -1)" gradientUnits="userSpaceOnUse">
|
|
99516
|
-
<stop offset="0" stop-color="#
|
|
99517
|
-
<stop offset="1" stop-color="#
|
|
99532
|
+
<stop offset="0" stop-color="#00ad7c"/>
|
|
99533
|
+
<stop offset="1" stop-color="#32eb96"/>
|
|
99518
99534
|
</linearGradient>
|
|
99519
|
-
<linearGradient id="nigel-chat-gradient-light-0" x1="10.25" y1="-
|
|
99535
|
+
<linearGradient id="nigel-chat-gradient-light-0" x1="10.25" y1="-658.82" x2="6.95" y2="-662.11" gradientTransform="translate(0 668)" xlink:href="#nigel-chat-gradient-light-1"/>
|
|
99520
99536
|
</defs>
|
|
99521
99537
|
<path class="nigel-chat-light-1" d="M14.21,7.52l-.11-.06c-2.36-1.29-4.3-3.23-5.59-5.59l-.06-.11c-.19-.36-.7-.36-.9,0l-.06.11c-1.29,2.36-3.23,4.3-5.59,5.59l-.11.06c-.36.19-.36.7,0,.9l.11.06c2.36,1.29,4.3,3.23,5.59,5.59l.06.11c.19.36.7.36.9,0l.06-.11c1.29-2.36,3.23-4.3,5.59-5.59l.11-.06c.36-.19.36-.7,0-.9ZM12.5,7.88l-.08.04c-1.58.87-2.89,2.17-3.75,3.75l-.04.08c-.13.24-.47.24-.6,0l-.04-.08c-.87-1.58-2.17-2.89-3.75-3.75l-.08-.04c-.24-.13-.24-.47,0-.6l.08-.04c1.58-.87,2.89-2.17,3.75-3.75l.04-.08c.13-.24.47-.24.6,0l.04.08c.87,1.58,2.17,2.89,3.75,3.75l.08.04c.24.13.24.47,0,.6Z"/>
|
|
99522
99538
|
<path class="nigel-chat-light-0" d="M11.36,7.6l-.03.02c-1.12.61-2.04,1.53-2.65,2.65l-.02.03c-.1.18-.35.18-.45,0l-.02-.03c-.61-1.12-1.53-2.04-2.65-2.65l-.03-.02c-.18-.1-.18-.35,0-.45l.03-.02c1.12-.61,2.04-1.53,2.65-2.65l.02-.03c.1-.18.35-.18.45,0l.02.03c.61,1.12,1.53,2.04,2.65,2.65l.03.02c.18.1.18.35,0,.45Z"/>
|