@ni/nimble-components 18.12.3 → 18.12.4
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 +72 -57
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1730 -1715
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/table/components/group-row/styles.js +29 -7
- package/dist/esm/table/components/group-row/styles.js.map +1 -1
- package/dist/esm/table/components/row/styles.js +45 -4
- package/dist/esm/table/components/row/styles.js.map +1 -1
- package/dist/esm/table/styles.js +7 -47
- package/dist/esm/table/styles.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.js +1 -1
- package/package.json +1 -1
|
@@ -16356,7 +16356,7 @@
|
|
|
16356
16356
|
|
|
16357
16357
|
/**
|
|
16358
16358
|
* Do not edit directly
|
|
16359
|
-
* Generated on
|
|
16359
|
+
* Generated on Tue, 25 Apr 2023 17:52:52 GMT
|
|
16360
16360
|
*/
|
|
16361
16361
|
const Information100DarkUi = "#a46eff";
|
|
16362
16362
|
const Information100LightUi = "#804ad9";
|
|
@@ -16834,7 +16834,7 @@
|
|
|
16834
16834
|
DesignToken.create(styleNameFromTokenName(tokenNames.modalBackdropColor)).withDefault((element) => getModalBackdropForTheme(element));
|
|
16835
16835
|
const popupBorderColor = DesignToken.create(styleNameFromTokenName(tokenNames.popupBorderColor)).withDefault((element) => hexToRgbaCssColor(getColorForTheme(element, Black91, Black15, White), 0.3));
|
|
16836
16836
|
DesignToken.create(styleNameFromTokenName(tokenNames.tooltipBackgroundColor)).withDefault((element) => getColorForTheme(element, Black15, Black85, ForestGreen));
|
|
16837
|
-
const tableRowBorderColor = DesignToken.create(styleNameFromTokenName(tokenNames.tableRowBorderColor)).withDefault((element) => getColorForTheme(element, Black15,
|
|
16837
|
+
const tableRowBorderColor = DesignToken.create(styleNameFromTokenName(tokenNames.tableRowBorderColor)).withDefault((element) => getColorForTheme(element, Black15, Black80, ForestGreen));
|
|
16838
16838
|
// Component Sizing Tokens
|
|
16839
16839
|
const controlHeight = DesignToken.create(styleNameFromTokenName(tokenNames.controlHeight)).withDefault('32px');
|
|
16840
16840
|
const controlSlimHeight = DesignToken.create(styleNameFromTokenName(tokenNames.controlSlimHeight)).withDefault('24px');
|
|
@@ -28179,6 +28179,7 @@
|
|
|
28179
28179
|
width: 100%;
|
|
28180
28180
|
position: relative;
|
|
28181
28181
|
top: var(--ni-private-table-row-container-top);
|
|
28182
|
+
background-color: ${tableRowBorderColor};
|
|
28182
28183
|
}
|
|
28183
28184
|
|
|
28184
28185
|
.header-container {
|
|
@@ -28221,61 +28222,20 @@
|
|
|
28221
28222
|
padding-left: 0px;
|
|
28222
28223
|
}
|
|
28223
28224
|
|
|
28224
|
-
.row {
|
|
28225
|
-
background: ${applicationBackgroundColor};
|
|
28225
|
+
.group-row {
|
|
28226
28226
|
position: relative;
|
|
28227
|
-
box-sizing: border-box;
|
|
28228
28227
|
}
|
|
28229
28228
|
|
|
28230
|
-
.row
|
|
28231
|
-
|
|
28232
|
-
width: 100%;
|
|
28233
|
-
height: 100%;
|
|
28234
|
-
position: absolute;
|
|
28235
|
-
pointer-events: none;
|
|
28236
|
-
}
|
|
28237
|
-
|
|
28238
|
-
:host([selection-mode='single']) .row:hover::before,
|
|
28239
|
-
:host([selection-mode='multiple']) .row:hover::before {
|
|
28240
|
-
background: ${fillHoverColor};
|
|
28241
|
-
}
|
|
28242
|
-
|
|
28243
|
-
:host([selection-mode='single']) .row[selected]::before,
|
|
28244
|
-
:host([selection-mode='multiple']) .row[selected]::before {
|
|
28245
|
-
background: ${fillSelectedColor};
|
|
28246
|
-
}
|
|
28247
|
-
|
|
28248
|
-
:host([selection-mode='single']) .row[selected]:hover::before,
|
|
28249
|
-
:host([selection-mode='multiple']) .row[selected]:hover::before {
|
|
28250
|
-
background: ${fillHoverSelectedColor};
|
|
28229
|
+
.row {
|
|
28230
|
+
position: relative;
|
|
28251
28231
|
}
|
|
28252
28232
|
`.withBehaviors(themeBehavior(Theme.color, css `
|
|
28253
|
-
.
|
|
28233
|
+
.table-row-container::before {
|
|
28254
28234
|
content: '';
|
|
28255
28235
|
width: 100%;
|
|
28256
28236
|
height: 100%;
|
|
28237
|
+
background-color: ${hexToRgbaCssColor(White, 0.1)};
|
|
28257
28238
|
position: absolute;
|
|
28258
|
-
background: ${fillHoverColor};
|
|
28259
|
-
pointer-events: none;
|
|
28260
|
-
}
|
|
28261
|
-
|
|
28262
|
-
.row::before {
|
|
28263
|
-
background: ${fillHoverColor};
|
|
28264
|
-
}
|
|
28265
|
-
|
|
28266
|
-
:host([selection-mode='single']) .row:hover::before,
|
|
28267
|
-
:host([selection-mode='multiple']) .row:hover::before {
|
|
28268
|
-
background: ${hexToRgbaCssColor(White, 0.15)};
|
|
28269
|
-
}
|
|
28270
|
-
|
|
28271
|
-
:host([selection-mode='single']) .row[selected]::before,
|
|
28272
|
-
:host([selection-mode='multiple']) .row[selected]::before {
|
|
28273
|
-
background: ${hexToRgbaCssColor(White, 0.25)};
|
|
28274
|
-
}
|
|
28275
|
-
|
|
28276
|
-
:host([selection-mode='single']) .row[selected]:hover::before,
|
|
28277
|
-
:host([selection-mode='multiple']) .row[selected]:hover::before {
|
|
28278
|
-
background: ${hexToRgbaCssColor(White, 0.2)};
|
|
28279
28239
|
}
|
|
28280
28240
|
`));
|
|
28281
28241
|
|
|
@@ -28358,10 +28318,35 @@
|
|
|
28358
28318
|
${display('flex')}
|
|
28359
28319
|
|
|
28360
28320
|
:host {
|
|
28361
|
-
height: calc(${controlHeight} + 2 * ${borderWidth});
|
|
28362
|
-
border-top: calc(2 * ${borderWidth}) solid ${tableRowBorderColor};
|
|
28363
28321
|
width: fit-content;
|
|
28364
28322
|
min-width: 100%;
|
|
28323
|
+
background-color: ${applicationBackgroundColor};
|
|
28324
|
+
height: calc(${controlHeight} + 2 * ${borderWidth});
|
|
28325
|
+
border-top: calc(2 * ${borderWidth}) solid transparent;
|
|
28326
|
+
box-sizing: border-box;
|
|
28327
|
+
background-clip: padding-box;
|
|
28328
|
+
}
|
|
28329
|
+
|
|
28330
|
+
:host::before {
|
|
28331
|
+
content: '';
|
|
28332
|
+
width: 100%;
|
|
28333
|
+
height: ${controlHeight};
|
|
28334
|
+
pointer-events: none;
|
|
28335
|
+
box-sizing: border-box;
|
|
28336
|
+
bottom: 0px;
|
|
28337
|
+
position: absolute;
|
|
28338
|
+
}
|
|
28339
|
+
|
|
28340
|
+
:host([selectable]:not([selected]):hover)::before {
|
|
28341
|
+
background-color: ${fillHoverColor};
|
|
28342
|
+
}
|
|
28343
|
+
|
|
28344
|
+
:host([selected])::before {
|
|
28345
|
+
background-color: ${fillSelectedColor};
|
|
28346
|
+
}
|
|
28347
|
+
|
|
28348
|
+
:host([selected]:hover)::before {
|
|
28349
|
+
background-color: ${fillHoverSelectedColor};
|
|
28365
28350
|
}
|
|
28366
28351
|
|
|
28367
28352
|
.checkbox-container {
|
|
@@ -28399,7 +28384,19 @@
|
|
|
28399
28384
|
:host([selected]) nimble-table-cell {
|
|
28400
28385
|
--ni-private-table-cell-action-menu-display: block;
|
|
28401
28386
|
}
|
|
28402
|
-
|
|
28387
|
+
`.withBehaviors(themeBehavior(Theme.color, css `
|
|
28388
|
+
:host([selectable]:not([selected]):hover)::before {
|
|
28389
|
+
background-color: ${hexToRgbaCssColor(White, 0.05)};
|
|
28390
|
+
}
|
|
28391
|
+
|
|
28392
|
+
:host([selected])::before {
|
|
28393
|
+
background-color: ${hexToRgbaCssColor(White, 0.25)};
|
|
28394
|
+
}
|
|
28395
|
+
|
|
28396
|
+
:host([selected]:hover)::before {
|
|
28397
|
+
background-color: ${hexToRgbaCssColor(White, 0.2)};
|
|
28398
|
+
}
|
|
28399
|
+
`));
|
|
28403
28400
|
|
|
28404
28401
|
const styles$d = css `
|
|
28405
28402
|
${display('grid')}
|
|
@@ -28695,11 +28692,8 @@
|
|
|
28695
28692
|
:host {
|
|
28696
28693
|
align-items: center;
|
|
28697
28694
|
height: calc(${controlHeight} + 2 * ${borderWidth});
|
|
28698
|
-
border-top: calc(2 * ${borderWidth}) solid ${
|
|
28699
|
-
|
|
28700
|
-
|
|
28701
|
-
:host(:hover) {
|
|
28702
|
-
background: ${fillHoverColor};
|
|
28695
|
+
border-top: calc(2 * ${borderWidth}) solid ${applicationBackgroundColor};
|
|
28696
|
+
box-sizing: border-box;
|
|
28703
28697
|
}
|
|
28704
28698
|
|
|
28705
28699
|
:host([expanded]) .animating,
|
|
@@ -28707,6 +28701,19 @@
|
|
|
28707
28701
|
transition: ${mediumDelay} ease-in-out;
|
|
28708
28702
|
}
|
|
28709
28703
|
|
|
28704
|
+
:host::before {
|
|
28705
|
+
content: '';
|
|
28706
|
+
width: 100%;
|
|
28707
|
+
height: ${controlHeight};
|
|
28708
|
+
pointer-events: none;
|
|
28709
|
+
bottom: 0px;
|
|
28710
|
+
position: absolute;
|
|
28711
|
+
}
|
|
28712
|
+
|
|
28713
|
+
:host(:hover)::before {
|
|
28714
|
+
background-color: ${fillHoverColor};
|
|
28715
|
+
}
|
|
28716
|
+
|
|
28710
28717
|
.expand-collapse-button {
|
|
28711
28718
|
margin-left: calc(
|
|
28712
28719
|
${smallPadding} * 2 + ${standardPadding} * 2 *
|
|
@@ -28760,7 +28767,15 @@
|
|
|
28760
28767
|
.selection-checkbox::part(label) {
|
|
28761
28768
|
padding-left: 0px;
|
|
28762
28769
|
}
|
|
28763
|
-
|
|
28770
|
+
`.withBehaviors(themeBehavior(Theme.color, css `
|
|
28771
|
+
:host(:hover)::before {
|
|
28772
|
+
background-color: ${hexToRgbaCssColor(White, 0.05)};
|
|
28773
|
+
}
|
|
28774
|
+
`), themeBehavior(Theme.dark, css `
|
|
28775
|
+
:host(:hover)::before {
|
|
28776
|
+
background-color: ${hexToRgbaCssColor(White, 0.1)};
|
|
28777
|
+
}
|
|
28778
|
+
`));
|
|
28764
28779
|
|
|
28765
28780
|
/* eslint-disable @typescript-eslint/indent */
|
|
28766
28781
|
// prettier-ignore
|