UNPKG

@jupyter-notebook/web-components

Version:

A component library for building extensions in Jupyter frontends.

31 lines (30 loc) 1.04 kB
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { BaseProgress as Progress, progressTemplate as template } from '@microsoft/fast-foundation'; import { progressStyles as styles } from '@microsoft/fast-components'; /** * A function that returns a {@link @microsoft/fast-foundation#BaseProgress} registration for configuring the component with a DesignSystem. * Implements {@link @microsoft/fast-foundation#progressTemplate} * * * @public * @remarks * Generates HTML Element: `<jp-progress>` */ export const jpProgress = Progress.compose({ baseName: 'progress', template, styles, indeterminateIndicator1: /* html */ ` <span class="indeterminate-indicator-1" part="indeterminate-indicator-1"></span> `, indeterminateIndicator2: /* html */ ` <span class="indeterminate-indicator-2" part="indeterminate-indicator-2"></span> ` }); /** * Base class for Progress * @public */ export { Progress }; export { styles as progressStyles };