@ni/nimble-components 27.2.2 → 27.2.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 +14 -6
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +12 -5
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/anchor-menu-item/styles.js +8 -5
- package/dist/esm/anchor-menu-item/styles.js.map +1 -1
- package/dist/esm/menu/styles.js +6 -0
- package/dist/esm/menu/styles.js.map +1 -1
- package/package.json +5 -4
|
@@ -16333,7 +16333,7 @@
|
|
|
16333
16333
|
|
|
16334
16334
|
/**
|
|
16335
16335
|
* Do not edit directly
|
|
16336
|
-
* Generated on
|
|
16336
|
+
* Generated on Thu, 02 May 2024 18:40:05 GMT
|
|
16337
16337
|
*/
|
|
16338
16338
|
|
|
16339
16339
|
const Information100DarkUi = "#a46eff";
|
|
@@ -17732,11 +17732,6 @@
|
|
|
17732
17732
|
font: ${bodyFont};
|
|
17733
17733
|
}
|
|
17734
17734
|
|
|
17735
|
-
:host(:focus-within:not(:active)) {
|
|
17736
|
-
outline: 2px solid ${borderHoverColor};
|
|
17737
|
-
outline-offset: -2px;
|
|
17738
|
-
}
|
|
17739
|
-
|
|
17740
17735
|
:host(:hover) {
|
|
17741
17736
|
background: ${fillHoverColor};
|
|
17742
17737
|
}
|
|
@@ -17767,6 +17762,13 @@
|
|
|
17767
17762
|
cursor: pointer;
|
|
17768
17763
|
text-decoration: none;
|
|
17769
17764
|
outline: none;
|
|
17765
|
+
padding-left: 8px;
|
|
17766
|
+
padding-right: 8px;
|
|
17767
|
+
}
|
|
17768
|
+
|
|
17769
|
+
a${focusVisible} {
|
|
17770
|
+
outline: 2px solid ${borderHoverColor};
|
|
17771
|
+
outline-offset: -2px;
|
|
17770
17772
|
}
|
|
17771
17773
|
|
|
17772
17774
|
:host([disabled]) a {
|
|
@@ -17917,6 +17919,7 @@
|
|
|
17917
17919
|
DesignSystem.getOrCreate()
|
|
17918
17920
|
.withPrefix('nimble')
|
|
17919
17921
|
.register(nimbleAnchorMenuItem());
|
|
17922
|
+
const anchorMenuItemTag = 'nimble-anchor-menu-item';
|
|
17920
17923
|
|
|
17921
17924
|
const styles$T = css `
|
|
17922
17925
|
${display('inline-flex')}
|
|
@@ -25038,6 +25041,7 @@
|
|
|
25038
25041
|
|
|
25039
25042
|
:host([slot='submenu']) {
|
|
25040
25043
|
margin: 0 ${mediumPadding};
|
|
25044
|
+
cursor: default;
|
|
25041
25045
|
}
|
|
25042
25046
|
|
|
25043
25047
|
::slotted(*) {
|
|
@@ -25062,6 +25066,10 @@
|
|
|
25062
25066
|
padding-top: ${smallPadding};
|
|
25063
25067
|
padding-bottom: ${smallPadding};
|
|
25064
25068
|
}
|
|
25069
|
+
|
|
25070
|
+
::slotted(${anchorMenuItemTag}) {
|
|
25071
|
+
padding: 0px;
|
|
25072
|
+
}
|
|
25065
25073
|
`.withBehaviors(themeBehavior(Theme.color, css `
|
|
25066
25074
|
slot {
|
|
25067
25075
|
background: ${hexToRgbaCssColor(White, 0.15)};
|