@ni/nimble-components 20.14.1 → 20.14.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 -3
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3270 -3266
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/listbox/index.d.ts +12 -0
- package/dist/esm/listbox/index.js +15 -0
- package/dist/esm/listbox/index.js.map +1 -0
- package/dist/esm/listbox/styles.d.ts +1 -0
- package/dist/esm/listbox/styles.js +27 -0
- package/dist/esm/listbox/styles.js.map +1 -0
- package/dist/esm/menu/styles.js +2 -2
- package/dist/esm/menu/styles.js.map +1 -1
- package/dist/esm/rich-text-mention/base/view/index.d.ts +27 -0
- package/dist/esm/rich-text-mention/base/view/index.js +28 -0
- package/dist/esm/rich-text-mention/base/view/index.js.map +1 -0
- package/dist/esm/rich-text-mention/users/view/index.d.ts +7 -0
- package/dist/esm/rich-text-mention/users/view/index.js +19 -0
- package/dist/esm/rich-text-mention/users/view/index.js.map +1 -0
- package/dist/esm/rich-text-mention/users/view/styles.d.ts +1 -0
- package/dist/esm/rich-text-mention/users/view/styles.js +31 -0
- package/dist/esm/rich-text-mention/users/view/styles.js.map +1 -0
- package/dist/esm/rich-text-mention/users/view/template.d.ts +2 -0
- package/dist/esm/rich-text-mention/users/view/template.js +9 -0
- package/dist/esm/rich-text-mention/users/view/template.js.map +1 -0
- package/dist/esm/rich-text-mention/users/view/testing/rich-text-mention-users-view.pageobject.d.ts +9 -0
- package/dist/esm/rich-text-mention/users/view/testing/rich-text-mention-users-view.pageobject.js +13 -0
- package/dist/esm/rich-text-mention/users/view/testing/rich-text-mention-users-view.pageobject.js.map +1 -0
- package/dist/esm/theme-provider/design-token-comments.js +10 -1
- package/dist/esm/theme-provider/design-token-comments.js.map +1 -1
- package/dist/esm/theme-provider/design-token-names.d.ts +1 -1
- package/dist/esm/theme-provider/design-token-names.js +11 -1
- package/dist/esm/theme-provider/design-token-names.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.d.ts +2 -0
- package/dist/esm/theme-provider/design-tokens.js +2 -0
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/tokens-internal.scss +54 -0
- package/dist/tokens.scss +27 -0
- package/package.json +1 -1
|
@@ -16298,7 +16298,7 @@
|
|
|
16298
16298
|
|
|
16299
16299
|
/**
|
|
16300
16300
|
* Do not edit directly
|
|
16301
|
-
* Generated on
|
|
16301
|
+
* Generated on Mon, 13 Nov 2023 16:48:30 GMT
|
|
16302
16302
|
*/
|
|
16303
16303
|
|
|
16304
16304
|
const Information100DarkUi = "#a46eff";
|
|
@@ -16474,6 +16474,7 @@
|
|
|
16474
16474
|
dialogLargeWidth: 'dialog-large-width',
|
|
16475
16475
|
dialogLargeHeight: 'dialog-large-height',
|
|
16476
16476
|
dialogLargeMaxHeight: 'dialog-large-max-height',
|
|
16477
|
+
menuMinWidth: 'menu-min-width',
|
|
16477
16478
|
bannerGapSize: 'banner-gap-size',
|
|
16478
16479
|
spinnerSmallHeight: 'spinner-small-height',
|
|
16479
16480
|
spinnerMediumHeight: 'spinner-medium-height',
|
|
@@ -16646,7 +16647,15 @@
|
|
|
16646
16647
|
elevation1BoxShadow: 'elevation-1-box-shadow',
|
|
16647
16648
|
elevation2BoxShadow: 'elevation-2-box-shadow',
|
|
16648
16649
|
elevation3BoxShadow: 'elevation-3-box-shadow',
|
|
16649
|
-
graphGridlineColor: 'graph-gridline-color'
|
|
16650
|
+
graphGridlineColor: 'graph-gridline-color',
|
|
16651
|
+
mentionFont: 'mention-font',
|
|
16652
|
+
mentionFontColor: 'mention-font-color',
|
|
16653
|
+
mentionDisabledFontColor: 'mention-disabled-font-color',
|
|
16654
|
+
mentionFontFamily: 'mention-font-family',
|
|
16655
|
+
mentionFontSize: 'mention-font-size',
|
|
16656
|
+
mentionFontWeight: 'mention-font-weight',
|
|
16657
|
+
mentionFontLineHeight: 'mention-font-line-height',
|
|
16658
|
+
mentionFallbackFontFamily: 'mention-fallback-font-family'
|
|
16650
16659
|
};
|
|
16651
16660
|
const prefix = 'ni-nimble';
|
|
16652
16661
|
const styleNameFromTokenName = (tokenName) => `${prefix}-${tokenName}`;
|
|
@@ -16885,6 +16894,7 @@
|
|
|
16885
16894
|
DesignToken.create(styleNameFromTokenName(tokenNames.dialogLargeWidth)).withDefault('1024px');
|
|
16886
16895
|
DesignToken.create(styleNameFromTokenName(tokenNames.dialogLargeHeight)).withDefault('680px');
|
|
16887
16896
|
DesignToken.create(styleNameFromTokenName(tokenNames.dialogLargeMaxHeight)).withDefault('680px');
|
|
16897
|
+
const menuMinWidth = DesignToken.create(styleNameFromTokenName(tokenNames.menuMinWidth)).withDefault('176px');
|
|
16888
16898
|
DesignToken.create(styleNameFromTokenName(tokenNames.bannerGapSize)).withDefault('1px');
|
|
16889
16899
|
const spinnerSmallHeight = DesignToken.create(styleNameFromTokenName(tokenNames.spinnerSmallHeight)).withDefault('16px');
|
|
16890
16900
|
DesignToken.create(styleNameFromTokenName(tokenNames.spinnerMediumHeight)).withDefault('32px');
|
|
@@ -16914,6 +16924,7 @@
|
|
|
16914
16924
|
const [tooltipCaptionFont, tooltipCaptionFontColor, tooltipCaptionDisabledFontColor, tooltipCaptionFontFamily, tooltipCaptionFontWeight, tooltipCaptionFontSize, tooltipCaptionFontLineHeight, tooltipCaptionFallbackFontFamily] = createFontTokens(tokenNames.tooltipCaptionFont, (element) => getDefaultFontColorForTheme(element), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), TooltipCaptionFamily, TooltipCaptionWeight, TooltipCaptionSize, TooltipCaptionLineHeight, TooltipCaptionFallbackFontFamily);
|
|
16915
16925
|
const [errorTextFont, errorTextFontColor, errorTextDisabledFontColor, errorTextFontFamily, errorTextFontWeight, errorTextFontSize, errorTextFontLineHeight, errorTextFallbackFontFamily] = createFontTokens(tokenNames.errorTextFont, (element) => getFailColorForTheme(element), (element) => hexToRgbaCssColor(getFailColorForTheme(element), 0.3), ErrorLightUiFamily, ErrorLightUiWeight, ErrorLightUiSize, TooltipCaptionLineHeight, ErrorLightUiFallbackFontFamily);
|
|
16916
16926
|
const [tableHeaderFont, tableHeaderFontColor, tableHeaderDisabledFontColor, tableHeaderFontFamily, tableHeaderFontWeight, tableHeaderFontSize, tableHeaderFontLineHeight, tableHeaderFallbackFontFamily] = createFontTokens(tokenNames.tableHeaderFont, (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.6), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), GridHeaderFamily, GridHeaderWeight, GridHeaderSize, TooltipCaptionLineHeight, GridHeaderFallbackFontFamily);
|
|
16927
|
+
createFontTokens(tokenNames.mentionFont, (element) => getColorForTheme(element, DigitalGreenDark, PowerGreen, PowerGreen), (element) => hexToRgbaCssColor(getDefaultFontColorForTheme(element), 0.3), BodyFamily, BodyEmphasizedWeight, BodySize, BodyLineHeight, BodyFallbackFontFamily);
|
|
16917
16928
|
// Font Transform Tokens
|
|
16918
16929
|
const groupHeaderTextTransform = DesignToken.create(styleNameFromTokenName(tokenNames.groupHeaderTextTransform)).withDefault('uppercase');
|
|
16919
16930
|
// Animation Tokens
|
|
@@ -24207,7 +24218,7 @@
|
|
|
24207
24218
|
background: ${applicationBackgroundColor};
|
|
24208
24219
|
border: ${borderWidth} solid ${popupBorderColor};
|
|
24209
24220
|
margin: 0;
|
|
24210
|
-
min-width:
|
|
24221
|
+
min-width: ${menuMinWidth};
|
|
24211
24222
|
width: max-content;
|
|
24212
24223
|
box-shadow: ${elevation2BoxShadow};
|
|
24213
24224
|
}
|