@ni/ok-components 1.3.1 → 1.3.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.
- package/dist/all-components-bundle.js +39 -10
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3674 -3644
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/custom-elements.json +116 -116
- package/dist/custom-elements.md +24 -24
- package/dist/esm/fv/card/styles.js +28 -4
- package/dist/esm/fv/card/styles.js.map +1 -1
- package/dist/esm/fv/card/template.js +2 -6
- package/dist/esm/fv/card/template.js.map +1 -1
- package/package.json +3 -3
|
@@ -14903,6 +14903,15 @@
|
|
|
14903
14903
|
|
|
14904
14904
|
const styles$1x = css `
|
|
14905
14905
|
${display$2('contents')}
|
|
14906
|
+
|
|
14907
|
+
:host {
|
|
14908
|
+
color-scheme: light;
|
|
14909
|
+
}
|
|
14910
|
+
|
|
14911
|
+
:host([theme='dark']),
|
|
14912
|
+
:host([theme='color']) {
|
|
14913
|
+
color-scheme: dark;
|
|
14914
|
+
}
|
|
14906
14915
|
`;
|
|
14907
14916
|
|
|
14908
14917
|
/**
|
|
@@ -21124,7 +21133,6 @@ so this becomes the fallback color for the slot */ ''}
|
|
|
21124
21133
|
styles: styles$1g
|
|
21125
21134
|
});
|
|
21126
21135
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleCard());
|
|
21127
|
-
const cardTag = 'nimble-card';
|
|
21128
21136
|
|
|
21129
21137
|
const styles$1f = css `
|
|
21130
21138
|
${display$2('inline-flex')}
|
|
@@ -100043,8 +100051,10 @@ focus outline in that case.
|
|
|
100043
100051
|
}
|
|
100044
100052
|
|
|
100045
100053
|
.card-shell {
|
|
100046
|
-
display:
|
|
100054
|
+
display: grid;
|
|
100047
100055
|
width: 100%;
|
|
100056
|
+
height: 100%;
|
|
100057
|
+
min-height: inherit;
|
|
100048
100058
|
box-sizing: border-box;
|
|
100049
100059
|
padding: ${standardPadding};
|
|
100050
100060
|
border-radius: 8px;
|
|
@@ -100062,10 +100072,27 @@ focus outline in that case.
|
|
|
100062
100072
|
--ni-private-card-button-border-selected-color: transparent;
|
|
100063
100073
|
}
|
|
100064
100074
|
|
|
100075
|
+
.card-button-shell::part(control) {
|
|
100076
|
+
display: flex;
|
|
100077
|
+
flex-direction: column;
|
|
100078
|
+
align-items: stretch;
|
|
100079
|
+
}
|
|
100080
|
+
|
|
100081
|
+
.card-shell > .card-layout,
|
|
100082
|
+
.card-shell > .card-button-content,
|
|
100083
|
+
.card-button-content > .card-layout {
|
|
100084
|
+
height: 100%;
|
|
100085
|
+
}
|
|
100086
|
+
|
|
100087
|
+
.card-button-content {
|
|
100088
|
+
flex: 1 1 auto;
|
|
100089
|
+
}
|
|
100090
|
+
|
|
100065
100091
|
.card-layout {
|
|
100066
100092
|
display: grid;
|
|
100067
100093
|
grid-template-columns: minmax(0, 1fr);
|
|
100068
100094
|
align-items: start;
|
|
100095
|
+
min-height: 100%;
|
|
100069
100096
|
}
|
|
100070
100097
|
|
|
100071
100098
|
.card-layout.has-media {
|
|
@@ -100100,10 +100127,11 @@ focus outline in that case.
|
|
|
100100
100127
|
|
|
100101
100128
|
.main-region {
|
|
100102
100129
|
min-width: 0;
|
|
100103
|
-
display:
|
|
100104
|
-
|
|
100130
|
+
display: flex;
|
|
100131
|
+
flex-direction: column;
|
|
100105
100132
|
gap: ${mediumPadding};
|
|
100106
100133
|
text-align: left;
|
|
100134
|
+
align-self: stretch;
|
|
100107
100135
|
}
|
|
100108
100136
|
|
|
100109
100137
|
.header-row {
|
|
@@ -100164,6 +100192,7 @@ focus outline in that case.
|
|
|
100164
100192
|
align-items: center;
|
|
100165
100193
|
justify-content: space-between;
|
|
100166
100194
|
gap: ${mediumPadding};
|
|
100195
|
+
margin-top: auto;
|
|
100167
100196
|
font: ${tooltipCaptionFont};
|
|
100168
100197
|
color: ${tooltipCaptionFontColor};
|
|
100169
100198
|
text-transform: uppercase;
|
|
@@ -100190,7 +100219,10 @@ focus outline in that case.
|
|
|
100190
100219
|
display: block;
|
|
100191
100220
|
}
|
|
100192
100221
|
|
|
100193
|
-
::slotted([slot='badges'])
|
|
100222
|
+
::slotted([slot='badges']) {
|
|
100223
|
+
max-width: 100%;
|
|
100224
|
+
}
|
|
100225
|
+
|
|
100194
100226
|
::slotted([slot='footer-start']),
|
|
100195
100227
|
::slotted([slot='footer-end']) {
|
|
100196
100228
|
display: block;
|
|
@@ -100365,12 +100397,9 @@ focus outline in that case.
|
|
|
100365
100397
|
</div>
|
|
100366
100398
|
</${cardButtonTag}>
|
|
100367
100399
|
`, html `
|
|
100368
|
-
|
|
100369
|
-
class="card-shell card-static-shell"
|
|
100370
|
-
part="card-shell"
|
|
100371
|
-
>
|
|
100400
|
+
<div class="card-shell card-static-shell" part="card-shell">
|
|
100372
100401
|
${cardContentTemplate}
|
|
100373
|
-
|
|
100402
|
+
</div>
|
|
100374
100403
|
`)}
|
|
100375
100404
|
`;
|
|
100376
100405
|
|