@ni/nimble-components 32.8.1 → 32.9.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 +45 -22
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3589 -3581
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/checkbox/styles.js +8 -3
- package/dist/esm/checkbox/styles.js.map +1 -1
- package/dist/esm/checkbox/template.js +21 -19
- package/dist/esm/checkbox/template.js.map +1 -1
- package/dist/esm/icons/all-icons.d.ts +1 -0
- package/dist/esm/icons/all-icons.js +1 -0
- package/dist/esm/icons/all-icons.js.map +1 -1
- package/dist/esm/icons/asterisk.d.ts +13 -0
- package/dist/esm/icons/asterisk.js +15 -0
- package/dist/esm/icons/asterisk.js.map +1 -0
- package/package.json +2 -2
|
@@ -18127,6 +18127,10 @@
|
|
|
18127
18127
|
name: 'arrows_repeat_16_x_16',
|
|
18128
18128
|
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.75 11.75 10 14l-6-3 6-3-1.25 2.25ZM8 11h1a4 4 0 0 0 4-4M7.25 5.75 6 8l6-3-6-3 1.25 2.25ZM8 5H7a4 4 0 0 0-4 4" class="cls-1"/></svg>`,
|
|
18129
18129
|
};
|
|
18130
|
+
const asterisk5X5 = {
|
|
18131
|
+
name: 'asterisk_5_x_5',
|
|
18132
|
+
data: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 5"><path d="m.721 4.076.813-1.372-1.429-.63.266-.84 1.527.349L2.05 0h.883l.154 1.583 1.541-.35.266.84-1.442.631.812 1.372-.715.519L2.5 3.376 1.435 4.595z" class="cls-1"/></svg>`,
|
|
18133
|
+
};
|
|
18130
18134
|
const at16X16 = {
|
|
18131
18135
|
name: 'at_16_x_16',
|
|
18132
18136
|
data: `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.139 3.621a5.5 5.5 0 0 1 1.206 1.845q.435 1.074.436 2.407 0 .961-.275 1.954t-.687 1.646H9.343l-.11-.536a4.6 4.6 0 0 1-.756.415q-.364.155-1.051.155-1.12 0-1.813-.924t-.694-2.49q0-.837.234-1.467.234-.628.639-1.095.377-.44.914-.687a2.5 2.5 0 0 1 1.064-.248q.453 0 .804.169.35.168.543.353v-.425h1.594v5.605h1.168q.248-.543.368-1.178.12-.636.12-1.22 0-1.161-.323-2.036-.322-.877-.892-1.453a3.7 3.7 0 0 0-1.366-.879 4.9 4.9 0 0 0-1.697-.289q-.871 0-1.657.343a4.6 4.6 0 0 0-1.383.928q-.61.598-.992 1.497c-.382.899-.381 1.257-.381 1.972q0 1.167.36 2.068.36.9.958 1.497.596.59 1.386.9a4.5 4.5 0 0 0 1.668.309q.583 0 1.328-.106a9 9 0 0 0 1.321-.279v1.333q-.64.144-1.271.22-.633.074-1.381.075a6.1 6.1 0 0 1-2.325-.433 5.4 5.4 0 0 1-1.852-1.23 5.6 5.6 0 0 1-1.212-1.91 6.7 6.7 0 0 1-.436-2.444q0-1.278.453-2.366a5.9 5.9 0 0 1 1.25-1.9A5.7 5.7 0 0 1 5.781 2.46 5.8 5.8 0 0 1 8.079 2q1.209 0 2.257.426a5.3 5.3 0 0 1 1.803 1.195M9.082 9.652V6.19a3 3 0 0 0-.522-.21 2 2 0 0 0-.543-.065q-.66 0-1.017.577c-.357.577-.357.912-.357 1.58q0 1.085.295 1.607.296.522.975.522.357 0 .625-.141.269-.14.544-.408"/></svg>`,
|
|
@@ -20371,12 +20375,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20371
20375
|
`;
|
|
20372
20376
|
|
|
20373
20377
|
const styles$L = css `
|
|
20374
|
-
${display('inline-
|
|
20378
|
+
${display('inline-grid')}
|
|
20375
20379
|
${styles$M}
|
|
20376
20380
|
|
|
20377
20381
|
:host {
|
|
20378
20382
|
font: ${bodyFont};
|
|
20379
|
-
align-items: center;
|
|
20380
20383
|
cursor: pointer;
|
|
20381
20384
|
outline: none;
|
|
20382
20385
|
${userSelectNone}
|
|
@@ -20387,8 +20390,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20387
20390
|
cursor: default;
|
|
20388
20391
|
}
|
|
20389
20392
|
|
|
20390
|
-
.container {
|
|
20393
|
+
.outer-container {
|
|
20394
|
+
height: 100%;
|
|
20395
|
+
display: flex;
|
|
20396
|
+
align-items: center;
|
|
20391
20397
|
position: relative;
|
|
20398
|
+
}
|
|
20399
|
+
|
|
20400
|
+
.container {
|
|
20392
20401
|
display: grid;
|
|
20393
20402
|
grid-template-columns: auto 1fr auto;
|
|
20394
20403
|
grid-template-rows: ${bodyFontLineHeight} auto;
|
|
@@ -20513,27 +20522,29 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20513
20522
|
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
20514
20523
|
class="${x => (x.readOnly ? 'readonly' : '')} ${x => (x.checked ? 'checked' : '')} ${x => (x.indeterminate ? 'indeterminate' : '')}"
|
|
20515
20524
|
>
|
|
20516
|
-
<div
|
|
20517
|
-
<div part="
|
|
20518
|
-
<
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
|
|
20525
|
+
<div class="outer-container">
|
|
20526
|
+
<div part="container" class="container">
|
|
20527
|
+
<div part="control" class="control">
|
|
20528
|
+
<slot name="checked-indicator">
|
|
20529
|
+
${definition.checkedIndicator || ''}
|
|
20530
|
+
</slot>
|
|
20531
|
+
<slot name="indeterminate-indicator">
|
|
20532
|
+
${definition.indeterminateIndicator || ''}
|
|
20533
|
+
</slot>
|
|
20534
|
+
</div>
|
|
20535
|
+
<label
|
|
20536
|
+
part="label"
|
|
20537
|
+
class="${x => (x.defaultSlottedNodes?.length
|
|
20528
20538
|
? 'label'
|
|
20529
20539
|
: 'label label__hidden')}"
|
|
20530
|
-
|
|
20531
|
-
|
|
20532
|
-
|
|
20533
|
-
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
|
|
20540
|
+
>
|
|
20541
|
+
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
20542
|
+
</label>
|
|
20543
|
+
<${iconExclamationMarkTag}
|
|
20544
|
+
severity="error"
|
|
20545
|
+
class="error-icon"
|
|
20546
|
+
></${iconExclamationMarkTag}>
|
|
20547
|
+
</div>
|
|
20537
20548
|
${errorTextTemplate}
|
|
20538
20549
|
</div>
|
|
20539
20550
|
</template>
|
|
@@ -22789,6 +22800,18 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
22789
22800
|
}
|
|
22790
22801
|
registerIcon('icon-arrows-repeat', IconArrowsRepeat);
|
|
22791
22802
|
|
|
22803
|
+
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22804
|
+
// See generation source in nimble-components/build/generate-icons
|
|
22805
|
+
/**
|
|
22806
|
+
* The icon component for the 'asterisk' icon
|
|
22807
|
+
*/
|
|
22808
|
+
class IconAsterisk extends Icon {
|
|
22809
|
+
constructor() {
|
|
22810
|
+
super(asterisk5X5);
|
|
22811
|
+
}
|
|
22812
|
+
}
|
|
22813
|
+
registerIcon('icon-asterisk', IconAsterisk);
|
|
22814
|
+
|
|
22792
22815
|
// AUTO-GENERATED FILE - DO NOT EDIT DIRECTLY
|
|
22793
22816
|
// See generation source in nimble-components/build/generate-icons
|
|
22794
22817
|
/**
|