@ni/nimble-components 32.8.1 → 32.8.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 +29 -22
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +28 -21
- 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/package.json +1 -1
|
@@ -20371,12 +20371,11 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20371
20371
|
`;
|
|
20372
20372
|
|
|
20373
20373
|
const styles$L = css `
|
|
20374
|
-
${display('inline-
|
|
20374
|
+
${display('inline-grid')}
|
|
20375
20375
|
${styles$M}
|
|
20376
20376
|
|
|
20377
20377
|
:host {
|
|
20378
20378
|
font: ${bodyFont};
|
|
20379
|
-
align-items: center;
|
|
20380
20379
|
cursor: pointer;
|
|
20381
20380
|
outline: none;
|
|
20382
20381
|
${userSelectNone}
|
|
@@ -20387,8 +20386,14 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20387
20386
|
cursor: default;
|
|
20388
20387
|
}
|
|
20389
20388
|
|
|
20390
|
-
.container {
|
|
20389
|
+
.outer-container {
|
|
20390
|
+
height: 100%;
|
|
20391
|
+
display: flex;
|
|
20392
|
+
align-items: center;
|
|
20391
20393
|
position: relative;
|
|
20394
|
+
}
|
|
20395
|
+
|
|
20396
|
+
.container {
|
|
20392
20397
|
display: grid;
|
|
20393
20398
|
grid-template-columns: auto 1fr auto;
|
|
20394
20399
|
grid-template-rows: ${bodyFontLineHeight} auto;
|
|
@@ -20513,27 +20518,29 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
20513
20518
|
@click="${(x, c) => x.clickHandler(c.event)}"
|
|
20514
20519
|
class="${x => (x.readOnly ? 'readonly' : '')} ${x => (x.checked ? 'checked' : '')} ${x => (x.indeterminate ? 'indeterminate' : '')}"
|
|
20515
20520
|
>
|
|
20516
|
-
<div
|
|
20517
|
-
<div part="
|
|
20518
|
-
<
|
|
20519
|
-
|
|
20520
|
-
|
|
20521
|
-
|
|
20522
|
-
|
|
20523
|
-
|
|
20524
|
-
|
|
20525
|
-
|
|
20526
|
-
|
|
20527
|
-
|
|
20521
|
+
<div class="outer-container">
|
|
20522
|
+
<div part="container" class="container">
|
|
20523
|
+
<div part="control" class="control">
|
|
20524
|
+
<slot name="checked-indicator">
|
|
20525
|
+
${definition.checkedIndicator || ''}
|
|
20526
|
+
</slot>
|
|
20527
|
+
<slot name="indeterminate-indicator">
|
|
20528
|
+
${definition.indeterminateIndicator || ''}
|
|
20529
|
+
</slot>
|
|
20530
|
+
</div>
|
|
20531
|
+
<label
|
|
20532
|
+
part="label"
|
|
20533
|
+
class="${x => (x.defaultSlottedNodes?.length
|
|
20528
20534
|
? 'label'
|
|
20529
20535
|
: 'label label__hidden')}"
|
|
20530
|
-
|
|
20531
|
-
|
|
20532
|
-
|
|
20533
|
-
|
|
20534
|
-
|
|
20535
|
-
|
|
20536
|
-
|
|
20536
|
+
>
|
|
20537
|
+
<slot ${slotted('defaultSlottedNodes')}></slot>
|
|
20538
|
+
</label>
|
|
20539
|
+
<${iconExclamationMarkTag}
|
|
20540
|
+
severity="error"
|
|
20541
|
+
class="error-icon"
|
|
20542
|
+
></${iconExclamationMarkTag}>
|
|
20543
|
+
</div>
|
|
20537
20544
|
${errorTextTemplate}
|
|
20538
20545
|
</div>
|
|
20539
20546
|
</template>
|