@ni/nimble-components 33.9.0 → 33.11.0
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 +35 -3
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +4536 -4519
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/tabs-toolbar/index.d.ts +2 -0
- package/dist/esm/tabs-toolbar/index.js +12 -1
- package/dist/esm/tabs-toolbar/index.js.map +1 -1
- package/dist/esm/tabs-toolbar/styles.js +9 -0
- package/dist/esm/tabs-toolbar/styles.js.map +1 -1
- package/dist/esm/tabs-toolbar/template.d.ts +5 -1
- package/dist/esm/tabs-toolbar/template.js +17 -4
- package/dist/esm/tabs-toolbar/template.js.map +1 -1
- package/dist/esm/theme-provider/design-token-comments.js +1 -0
- package/dist/esm/theme-provider/design-token-comments.js.map +1 -1
- package/dist/esm/theme-provider/design-token-names.js +1 -0
- package/dist/esm/theme-provider/design-token-names.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.d.ts +1 -0
- package/dist/esm/theme-provider/design-tokens.js +1 -0
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/tokens-internal.scss +6 -0
- package/dist/tokens.scss +3 -0
- package/package.json +1 -1
|
@@ -16098,6 +16098,7 @@
|
|
|
16098
16098
|
calendarEventBackgroundHoverStaticColor: 'calendar-event-background-hover-static-color',
|
|
16099
16099
|
calendarEventBackgroundHoverDynamicColor: 'calendar-event-background-hover-dynamic-color',
|
|
16100
16100
|
calendarEventBackgroundHoverTransientColor: 'calendar-event-background-hover-transient-color',
|
|
16101
|
+
calendarEventOuterBorderHighlightedColor: 'calendar-event-outer-border-highlighted-color',
|
|
16101
16102
|
calendarRowBackgroundSelectedColor: 'calendar-row-background-selected-color',
|
|
16102
16103
|
calendarEventFillBlockedColor: 'calendar-event-fill-blocked-color',
|
|
16103
16104
|
calendarGrabHandleBackgroundColor: 'calendar-grab-handle-background-color',
|
|
@@ -16297,6 +16298,7 @@
|
|
|
16297
16298
|
DesignToken.create(styleNameFromTokenName(tokenNames.calendarEventBackgroundHoverStaticColor)).withDefault((element) => getColorForTheme(element, DigitalGreenLight30, PowerGreen30, PowerGreen30));
|
|
16298
16299
|
DesignToken.create(styleNameFromTokenName(tokenNames.calendarEventBackgroundHoverDynamicColor)).withDefault((element) => getColorForTheme(element, DigitalGreenDark110, DigitalGreenDark105, DigitalGreenDark105));
|
|
16299
16300
|
DesignToken.create(styleNameFromTokenName(tokenNames.calendarEventBackgroundHoverTransientColor)).withDefault((element) => getColorForTheme(element, DigitalGreenDark110, DigitalGreenDark105, DigitalGreenDark105));
|
|
16301
|
+
DesignToken.create(styleNameFromTokenName(tokenNames.calendarEventOuterBorderHighlightedColor)).withDefault((element) => getColorForTheme(element, Black88, hexToRgbaCssColor(White, 0.85), hexToRgbaCssColor(White, 0.85)));
|
|
16300
16302
|
DesignToken.create(styleNameFromTokenName(tokenNames.calendarRowBackgroundSelectedColor)).withDefault((element) => getColorForTheme(element, hexToRgbaCssColor(DigitalGreenLight, 0.2), hexToRgbaCssColor(PowerGreen, 0.2), hexToRgbaCssColor(PowerGreen, 0.2)));
|
|
16301
16303
|
DesignToken.create(styleNameFromTokenName(tokenNames.calendarEventFillBlockedColor)).withDefault((element) => getColorForTheme(element, hexToRgbaCssColor(Black91, 0.07), Black82, Black82));
|
|
16302
16304
|
DesignToken.create(styleNameFromTokenName(tokenNames.calendarGrabHandleBackgroundColor)).withDefault((element) => getColorForTheme(element, DigitalGreenLight, PowerGreen, PowerGreen));
|
|
@@ -74753,12 +74755,33 @@ focus outline in that case.
|
|
|
74753
74755
|
rgba(${borderRgbPartialColor}, 0.3);
|
|
74754
74756
|
margin: ${smallPadding} ${mediumPadding};
|
|
74755
74757
|
}
|
|
74758
|
+
|
|
74759
|
+
[part='start'] {
|
|
74760
|
+
display: none;
|
|
74761
|
+
}
|
|
74762
|
+
|
|
74763
|
+
[part='end'] {
|
|
74764
|
+
margin-left: auto;
|
|
74765
|
+
display: flex;
|
|
74766
|
+
}
|
|
74756
74767
|
`;
|
|
74757
74768
|
|
|
74758
|
-
|
|
74769
|
+
/* eslint-disable @typescript-eslint/indent */
|
|
74770
|
+
// prettier-ignore
|
|
74771
|
+
const template$6 = (context, definition) => html `
|
|
74759
74772
|
<template slot="end">
|
|
74760
|
-
|
|
74761
|
-
|
|
74773
|
+
${when(x => x.defaultSlottedElements.length > 0, html `
|
|
74774
|
+
<div class="separator"></div>
|
|
74775
|
+
`)}
|
|
74776
|
+
${startSlotTemplate(context, definition)}
|
|
74777
|
+
<slot
|
|
74778
|
+
${slotted({
|
|
74779
|
+
filter: (n) => n instanceof HTMLElement,
|
|
74780
|
+
property: 'defaultSlottedElements',
|
|
74781
|
+
})}
|
|
74782
|
+
>
|
|
74783
|
+
</slot>
|
|
74784
|
+
${endSlotTemplate(context, definition)}
|
|
74762
74785
|
</template>
|
|
74763
74786
|
`;
|
|
74764
74787
|
|
|
@@ -74766,13 +74789,22 @@ focus outline in that case.
|
|
|
74766
74789
|
* A nimble-styled container for toolbar content next to tabs.
|
|
74767
74790
|
*/
|
|
74768
74791
|
class TabsToolbar extends FoundationElement {
|
|
74792
|
+
constructor() {
|
|
74793
|
+
super(...arguments);
|
|
74794
|
+
/** @internal */
|
|
74795
|
+
this.defaultSlottedElements = [];
|
|
74796
|
+
}
|
|
74769
74797
|
}
|
|
74798
|
+
__decorate([
|
|
74799
|
+
observable
|
|
74800
|
+
], TabsToolbar.prototype, "defaultSlottedElements", void 0);
|
|
74770
74801
|
const nimbleTabsToolbar = TabsToolbar.compose({
|
|
74771
74802
|
baseName: 'tabs-toolbar',
|
|
74772
74803
|
template: template$6,
|
|
74773
74804
|
styles: styles$7
|
|
74774
74805
|
});
|
|
74775
74806
|
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTabsToolbar());
|
|
74807
|
+
applyMixins(TabsToolbar, StartEnd);
|
|
74776
74808
|
|
|
74777
74809
|
const TextAreaAppearance = {
|
|
74778
74810
|
outline: 'outline',
|