### Quick Start Commands Source: https://github.com/bullhorn/novo-elements/blob/next/README.md Commands to clone, install, and run the project locally. ```bash # Clone the project git clone git@github.com:bullhorn/novo-elements.git # Change directory cd novo-elements # Install npm ci # Start (you will need two terminals) npm run build (builds the library, alternatively you can use npm run build:watch for live-reload) npm start (starts the demo) # Access the Demo in your browser at http://localhost:4200/ ``` -------------------------------- ### Build Examples Source: https://github.com/bullhorn/novo-elements/blob/next/README.md Commands to compile markdown and manage example builds. ```bash # Compile markdown, generate routes, and AOT build the project npm run build:examples # Automatically rebuild changes to the examples project npm run build:examples:watch ``` -------------------------------- ### Pop Over Placement Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/pop-over/popover-examples.md Demonstrates the placement configuration for the Pop Over component. ```html ``` -------------------------------- ### Basic Quick Note Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/utils/quick-note/quick-note.md Implements a standard quick note component. ```html ``` -------------------------------- ### Formatted Picker Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/picker/picker.md Demonstrates a picker with formatted display options. ```html ``` -------------------------------- ### Start Development Server Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/home/home.md Launch the local development server to view the application. ```bash ng serve ``` -------------------------------- ### Tooltip Sizes Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Shows how to adjust the size of the tooltip container. ```html ``` -------------------------------- ### Install NOVO Elements Source: https://github.com/bullhorn/novo-elements/blob/next/README.md Command to add the library to an existing project. ```bash # Install the module from NPM npm install --save novo-elements ``` -------------------------------- ### Switch Usage Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/switch/switch.md Displays the standard implementation of the switch component. ```html ``` -------------------------------- ### Install Novo Elements Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/home/home.md Use the Angular CLI schematic to install the library and its dependencies. ```bash # Install ng add novo-elements ``` -------------------------------- ### Dynamic Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Demonstrates buttons with parameters that can be set dynamically at runtime. ```html ``` -------------------------------- ### Loading Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Shows the button component in a loading state with a spinner. ```html ``` -------------------------------- ### Implement a basic toolbar Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/toolbar/toolbar-examples.md Use the basic-toolbar example to render a standard toolbar component. ```html ``` -------------------------------- ### Pop Over Behavior Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/pop-over/popover-examples.md Demonstrates various interaction behaviors for the Pop Over component. ```html ``` -------------------------------- ### Icon Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Demonstrates the icon-only button theme. ```html ``` -------------------------------- ### Button Overview Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Displays the general overview of available button themes and configurations. ```html ``` -------------------------------- ### Date Time Picker Usage Examples Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/date-time-picker/date-time-picker-develop.md Examples showing the deprecated standalone input usage versus the preferred novo-field implementation. ```html ``` ```html Date of Birth ``` -------------------------------- ### Basic Picker Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/picker/picker.md Displays a standard picker component where options are selected from a list. ```html ``` -------------------------------- ### Example staging environment test run Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-e2e/README.md Demonstrates running tests against a staging URL using environment variables. ```bash E2E_BASE_URL=https://staging.example.com npm run e2e ``` ```bash export E2E_BASE_URL=https://staging.example.com npm run e2e npm run e2e:single button # Variable remains set for all subsequent commands ``` -------------------------------- ### Customizing Week Start Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/date-picker/date-picker-examples.md Displays a date picker with a customized week start day. ```html ``` -------------------------------- ### Implement Picker Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate picker components into a static form. ```html ``` -------------------------------- ### Tooltip Types Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Demonstrates different visual styles or types of tooltips. ```html ``` -------------------------------- ### Tooltip Options Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Configures various functional options for the tooltip component. ```html ``` -------------------------------- ### Initialize Highlight.js on page load Source: https://github.com/bullhorn/novo-elements/blob/next/projects/demo/assets/lib/hljs/README.md The standard setup requires linking the library and a stylesheet, then calling initHighlightingOnLoad. ```html ``` -------------------------------- ### Basic Select Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/select/select.md Displays a standard dropdown menu for selecting a single option. ```html ``` -------------------------------- ### Basic Tab Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/tabs/tabs-develop.md Demonstrates the standard setup using novo-nav and novo-nav-outlet to link navigation tabs with their respective content. ```html Overview Activity

Overview

Activity

``` -------------------------------- ### Implement File Input Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate file upload inputs into a static form. ```html ``` -------------------------------- ### Display Week Start Date Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/date-picker/week-start/week-start-example.html Displays the formatted week start date or 'N/A' if the value is null or undefined. ```html Value {{(weekStartDate | date) || 'N/A'}} ``` -------------------------------- ### Upgrade to Version 6 Source: https://github.com/bullhorn/novo-elements/blob/next/README.md Commands to install dependencies and run migrations for version 6. ```bash npm install --save timezone-support@2 novo-design-tokens@0 angular-imask@6 imask@6 npm install --save novo-elements@6 ng update novo-elements --migrate-only --from=0.0.0 --to=6.0.0 --force --allow-dirty ``` -------------------------------- ### Implement Address Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate address input fields into a static form. ```html ``` -------------------------------- ### Fab Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Shows the floating action button (Fab) theme. ```html ``` -------------------------------- ### Implement a context-aware menu Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/menu/menu-examples.md Use the menu-context example to pass context data for controlling visibility or callback actions. ```html ``` -------------------------------- ### Primary Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Demonstrates the primary button theme used for main calls-to-action. ```html ``` -------------------------------- ### Color Input Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/color-picker/color-picker.md Displays the color picker component configured as an input field. ```html ``` -------------------------------- ### Dynamic HTML in Pop Over Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/pop-over/popover-examples.md Demonstrates how to render dynamic HTML content within a Pop Over. ```html ``` -------------------------------- ### Implement a multi-row toolbar Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/toolbar/toolbar-examples.md Use the multi-row-toolbar example to render a toolbar with multiple rows. ```html ``` -------------------------------- ### Implement Card using config object and actions Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/cards/card-examples.md Utilize the card-config example component to render a card defined by a configuration object, including support for card-actions. ```html ``` -------------------------------- ### Implement Checkbox Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate checkbox inputs into a static form. ```html ``` -------------------------------- ### Search Usage Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/search/search.md Displays the standard implementation of the search component using the code-example tag. ```html ``` -------------------------------- ### Custom Triggers Quick Note Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/utils/quick-note/quick-note.md Implements a quick note component with custom trigger configurations. ```html ``` -------------------------------- ### Automatic Placement of Pop Over Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/pop-over/popover-examples.md Demonstrates the automatic placement functionality for the Pop Over component. ```html ``` -------------------------------- ### Basic Drag and Drop Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/utils/drag-drop/drag-drop.md Implements the drag-and-drop functionality using the novoDragDrop directive. ```html ``` -------------------------------- ### Basic Dynamic Form Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/dynamic-form/dynamic-form.md Use the basic dynamic form example to render a standard form structure. ```html ``` -------------------------------- ### Implement Calendar Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate date and calendar selection inputs into a static form. ```html ``` -------------------------------- ### Pop Over Horizontal Alignment Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/pop-over/popover-examples.md Demonstrates horizontal alignment options for the Pop Over component. ```html ``` -------------------------------- ### Tooltip Alignment Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Configures the alignment of the tooltip relative to the trigger element. ```html ``` -------------------------------- ### Pop Over Vertical Alignment Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/pop-over/popover-examples.md Demonstrates vertical alignment options for the Pop Over component. ```html ``` -------------------------------- ### Tooltip Placement Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Displays the tooltip in different positions relative to the target element. ```html ``` -------------------------------- ### Implement Basic Card using attributes Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/cards/card-examples.md Utilize the basic-card example component to render a standard card layout via attributes. ```html ``` -------------------------------- ### Standalone Time Picker Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/time-picker/time-picker-examples.md Displays a basic time picker component using the code-example directive. ```html ``` -------------------------------- ### Two-Icon Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Demonstrates a button configured with two icons on opposite sides. ```html ``` -------------------------------- ### Implement Card with Image Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/cards/card-examples.md Utilize the card-with-image example component to render a card that includes an image element. ```html ``` -------------------------------- ### Implement a nested menu Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/menu/menu-examples.md Use the nested-menu example to create sub-menus within menu items. ```html ``` -------------------------------- ### Custom Results Template Quick Note Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/utils/quick-note/quick-note.md Implements a quick note component using a custom template for displaying results. ```html ``` -------------------------------- ### Display Dot Spinner Loading Animation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/loading/loading-examples.md Use the loading-circle example to show an alternate spinner animation. ```html ``` -------------------------------- ### Implement Text-based Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate standard text input fields into a static form. ```html ``` -------------------------------- ### Tooltip Toggle Trigger Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Demonstrates using a toggle trigger to show or hide the tooltip. ```html ``` -------------------------------- ### Implement Number Range Controls Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/form/form.md Use this example to integrate number range inputs into a static form. ```html ``` -------------------------------- ### Dialogue Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Shows the dialogue button theme, which supports icons and side positioning. ```html ``` -------------------------------- ### Secondary Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Shows the secondary button theme for alternative or secondary actions. ```html ``` -------------------------------- ### Display Dot Line Loading Animation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/loading/loading-examples.md Use the loading-line example to show an indeterminate line animation. ```html ``` -------------------------------- ### Tooltip Overflow Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tooltip/tooltip-examples.md Handles tooltip display when content exceeds container boundaries. ```html ``` -------------------------------- ### Standard Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Displays the standard button theme, typically used for cancellation or stopping progress. ```html ``` -------------------------------- ### Inverse Secondary Button Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-examples.md Demonstrates the secondary button theme with the inverse attribute for colored backgrounds. ```html ``` -------------------------------- ### Console Logging Example Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/patterns/patterns-test.md A standard console log statement displayed within a preformatted code block. ```javascript // This logs a message to the console and check out the scrollbar.
console.log('Hello, world!') ``` -------------------------------- ### Feature Commit with Body Example Source: https://github.com/bullhorn/novo-elements/blob/next/CONTRIBUTING.md A commit message including a body to explain the motivation behind a new feature and a footer to reference a closed issue. ```text feat(DataTable): support multi-column sorting Allow holding shift while clicking column headers to sort by more than one column. Sort order is preserved when data is refreshed. Closes #1523 ``` -------------------------------- ### Simple Bug Fix Commit Example Source: https://github.com/bullhorn/novo-elements/blob/next/CONTRIBUTING.md A minimal commit message using only the header for a bug fix. ```text fix(Address): use sessions for search service to reduce cost ``` -------------------------------- ### Implement asynchronous chip loading Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/chips/chips-examples.md Demonstrates loading options asynchronously for the chip component. ```html ``` -------------------------------- ### Toast Options Configuration Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/toaster/toaster-examples.md Demonstrates how to configure various options for a toast notification. ```html ``` -------------------------------- ### Implement basic chip selection Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/chips/chips-examples.md Basic configuration where clicking the element triggers an options list for selection. ```html ``` -------------------------------- ### Basic Expansion Panel Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-elements/src/elements/expansion/expansion.md Displays a standard expansion panel with a title and description in the header. ```html This is the expansion title This is a summary of the content

This is the primary content of the panel.

``` -------------------------------- ### Standard List Component Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/list/list.md Displays a basic list structure using the code-example component. ```html ``` -------------------------------- ### Implement Agenda Component Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/agenda/agenda-examples.md Use the code-example tag to render the Agenda component in your application. ```html ``` -------------------------------- ### Initialize with jQuery Source: https://github.com/bullhorn/novo-elements/blob/next/projects/demo/assets/lib/hljs/README.md Manually trigger highlighting for code blocks using jQuery's each method. ```javascript $(document).ready(function() { $('pre code').each(function(i, block) { hljs.highlightBlock(block); }); }); ``` -------------------------------- ### Implement a Basic Record Header Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/header/header.md Displays entity record details and tabbed navigation. ```html ``` -------------------------------- ### Basic CK Editor Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/ck-editor/ck-editor.md Displays a standard HTML editor instance using the CK Editor component. ```html ``` -------------------------------- ### Implement Basic Query Builder Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/query-builder/query-builder-develop.md Basic usage of the novo-query-builder component requiring a controlName and configuration object. ```html ``` -------------------------------- ### Implement novo-tip-well component Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tip-well/tip-well-develop.md Basic usage of the novo-tip-well element with a name and icon. ```html Sed sodales ligula et fermentum bibendum. Aliquam tincidunt sagittis leo eget auctor. Fusce eu sagittis metus, ut viverra magna. Mauris mollis nisl nec libero tincidunt posuere. ``` -------------------------------- ### Basic Icon Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/icon/icon-examples.md Standard implementation of the icon component. ```html ``` -------------------------------- ### Configure custom block settings Source: https://github.com/bullhorn/novo-elements/blob/next/projects/demo/assets/lib/hljs/README.md Use configure to enable specific options like useBR when using non-standard containers. ```javascript hljs.configure({useBR: true}); $('div.code').each(function(i, block) { hljs.highlightBlock(block); }); ``` -------------------------------- ### Basic Criteria Builder Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/query-builder/query-builder-examples.md Displays a standard criteria builder for collecting multiple conditions joined by conjunctions. ```html ``` -------------------------------- ### Basic Color Picker Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/color-picker/color-picker.md Displays the standard color picker component implementation. ```html ``` -------------------------------- ### Basic Dropdown Menu Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/dropdown/dropdown-examples.md A standard implementation of the dropdown menu component. ```html ``` -------------------------------- ### Standard Expansion Panel Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/expansion/expansion.md Displays a basic expandable panel with a header and optional action bar. ```html ``` -------------------------------- ### Toaster Actions Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/toaster/toaster-examples.md Demonstrates how to add interactive actions to toast notifications. ```html ``` -------------------------------- ### Implement declarative card layout Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/cards/card-develop.md Recommended approach for creating card layouts using sub-components for header, content, and footer. ```html Title Any Content Can Go Here Action arrow-right ``` -------------------------------- ### Basic Toolbar Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/toolbar/toolbar-develop.md Displays a standard toolbar with a title, icon, and multiple action buttons. Requires the NovoToolbarModule to be imported. ```html company Taurus Industries ``` -------------------------------- ### Implement a Condensed Header Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/header/header.md A compact version of the record header. ```html ``` -------------------------------- ### Basic Tip Well Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tip-well/tip-well-examples.md Displays a standard tip well component. ```html ``` -------------------------------- ### Implement Basic Non Ideal State Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/non-ideal-state/non-ideal-state-develop.md Basic implementation of the component with an icon, title, description, and action button. ```html Upload ``` -------------------------------- ### Manual Release Commands Source: https://github.com/bullhorn/novo-elements/blob/next/RELEASE_PROCESS.md Use these commands to manually publish a release if the automated GitHub Action fails. ```bash # Manually update the projects/*/package.json to the version you want # TAG # npm test # npm run lint # npm run build # CD INTO EACH PROJECT IN DIST # npm publish ``` -------------------------------- ### Toaster Service Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/toaster/toaster-examples.md Illustrates the usage of the Toaster service to trigger notifications. ```html ``` -------------------------------- ### Themed List Component Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/list/list.md Displays a themed list structure using the code-example component. ```html ``` -------------------------------- ### Minimal CK Editor Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/ck-editor/ck-editor.md Displays a stripped-down version of the HTML editor for minimal interface requirements. ```html ``` -------------------------------- ### NovoAsideService.open(component, params) Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/aside/aside-develop.md Opens a slideout component. The component must be declared in the module's entryComponents. ```APIDOC ## open(component, params) ### Description Opens a slideout component. Use the params object to pass data to the component, which will be accessible via NovoAsideRef.params. ### Parameters - **component** (Class) - Required - The angular component to be opened. - **params** (Object) - Optional - Arguments injected into the slideout component's NovoAsideRef.params property. ``` -------------------------------- ### open(component, params) Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/query-builder/query-builder-develop.md Opens a modal using the provided component and optional parameters. ```APIDOC ## open(component, params) ### Description Used to open all modals via the service. Use `params` to pass values to your component. ### Parameters - **component** (Class) - Required - The angular component which represents the Modal to be opened. - **params** (Object) - Optional - Arguments that will be injected into `NovoAsideRef.params`. ``` -------------------------------- ### Basic Calendar Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/calendar/calendar-examples.md Displays the standard implementation of the calendar component. ```html ``` -------------------------------- ### Optimize module with r.js Source: https://github.com/bullhorn/novo-elements/blob/next/projects/demo/assets/lib/hljs/README.md Use the optimizer to define a module name when working with Almond. ```text r.js -o name=hljs paths.hljs=/path/to/highlight out=highlight.js ``` -------------------------------- ### Basic Chip List Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/chips/chips-develop.md A simple container for grouping multiple chip elements. ```html Celtics Bulls ``` -------------------------------- ### Async Picker with Infinite Scroll Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/picker/picker.md Implements a picker that loads options asynchronously and supports infinite scrolling. ```html ``` -------------------------------- ### Run E2E tests locally Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-e2e/README.md Execute the test suite in headless or headed modes using npm scripts. ```bash # Run tests in headless mode (default) npm run e2e # Run tests in headed mode (browser window visible) npm run e2e:headed # Run tests in headless mode (explicit) npm run e2e:headless ``` -------------------------------- ### Preferred Date Picker Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/date-picker/date-picker-develop.md Recommended implementation using novo-field, dateFormat directive, and novo-picker-toggle. ```html Date of Birth ``` -------------------------------- ### Implement basic chip usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/chips/chips-examples.md Standard implementation of the chip element for general multi-input scenarios. ```html ``` -------------------------------- ### Import NovoTipWellModule Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/tip-well/tip-well-develop.md Required module import for using Tip Well components. ```typescript import { NovoTipWellModule } from 'novo-elements'; ``` -------------------------------- ### Using the static data service Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/data-table/data-table.md Implement the static data service to manage table data within the component. ```html ``` -------------------------------- ### Open and Manage Aside via NovoAsideService Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/aside/aside-develop.md Use the NovoAsideService to open a component as a slideout and handle the close promise. ```typescript @Component({...}) class RandomComponent { constructor(private aside:NovoAsideService) {} handleAction() { const ref = this.aside.open(AddFormSlideout, { record: 123 }); /* you can listen to the close event */ ref.onClosed.then((result) => { /* result is the argument sent via the ref */ if (res === 'success') { /* perfom some action */ } }); /* close the slideout from the parent */ ref.close('success') } } ``` -------------------------------- ### Basic NovoLoading Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/loading/loading-develop.md Displays the linear loading dots component. ```html ``` -------------------------------- ### Lazy Expansion Panel Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/expansion/expansion.md Displays an expansion panel that loads its content lazily. ```html ``` -------------------------------- ### Basic Slide Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/slides/slides.md Displays a standard slide component for toggling information. ```html ``` -------------------------------- ### Apply Spacing via HTML Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/design/spacing/spacing.md Directly apply spacing variables to the novo-box component. ```html ... ``` -------------------------------- ### Basic NovoButton Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/buttons/button-develop.md Standard implementation of the novo-button element. ```html Save ``` -------------------------------- ### Run specific test files Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-e2e/README.md Execute a single test file by providing its name without the .e2e.ts extension. ```bash # Run a single test file by name npm run e2e:single button # This runs: projects/novo-e2e/src/e2e/button.e2e.ts # Run a single test file in headed mode (browser window visible) npm run e2e:single:headed button # This runs: projects/novo-e2e/src/e2e/button.e2e.ts ``` -------------------------------- ### Apply Spacing Variables Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/design/spacing/spacing.md Use theme-based variables for margin and padding to ensure consistency. ```html ``` -------------------------------- ### Implement Basic Breadcrumb Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/breadcrumb/breadcrumb-develop.md Standard HTML structure using novo-breadcrumb and novo-breadcrumb-item elements. ```html Home Components ``` -------------------------------- ### Basic Usage of NovoAgendaMonth Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/agenda/agenda-develop.md Implement the month view calendar by binding the viewDate and events, and handling day click events. ```html ``` -------------------------------- ### Basic Autocomplete Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/autocomplete/autocomplete-develop.md Implements a standard autocomplete dropdown within a novo-field container using static options. ```html Number One Two Three ``` -------------------------------- ### Implement grouped multi-picker chips Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/chips/chips-examples.md Uses custom templates to create a category-based multi-picker interface. ```html ``` -------------------------------- ### Render Address Fields Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/value/value.md Displays structured address data. ```html ``` -------------------------------- ### Dropdown Position Options Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/dropdown/dropdown-examples.md Demonstrates the use of the [side] input to control popup positioning and fallback locations. ```html ``` -------------------------------- ### Basic Field Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/field/field-examples.md Implementation of a standard field component. ```html ``` -------------------------------- ### Implement NovoField with Prefix and Suffix Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/field/field-develop.md Configures a horizontal field layout with input, prefix, suffix, and hint elements. ```html Amount .00 Enter some money ``` -------------------------------- ### Basic Static Grouped Multi Picker Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/chips/grouped-multi-picker/grouped-multi-picker-example.html Implements a fully static data source with an optional 'all' category enabled. ```html Selected Value: {{ groupedMultiPicker1Value }} ``` -------------------------------- ### Basic Checkbox Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/checkbox/checkbox.md Displays a standard checkbox component. ```html ``` -------------------------------- ### Basic NovoDropdown Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/dropdown/dropdown-develop.md Implement a dropdown menu using the novo-dropdown component with a trigger button and selectable options. ```html Actions Menu Item 1 Menu Item 2 ``` -------------------------------- ### Themed and Colored Icons Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/icon/icon-examples.md Implementation of icons with specific themes and color applications. ```html ``` -------------------------------- ### Basic MultiPicker Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/multi-picker/multi-picker.md Displays a standard multi-picker control where users can select multiple items from a list. ```html ``` -------------------------------- ### Configure Novo Title Size Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/design/typography/typography.md Apply dynamic sizing to the novo-title component using the size input property. ```html Creating an incredible customer experience ``` ```html xs sm md lg xl 2xl ``` -------------------------------- ### Basic Autocomplete Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/autocomplete/autocomplete-examples.md Standard implementation of the autocomplete component. ```html ``` -------------------------------- ### Define a Basic Menu Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/menu/menu-develop.md Use the novo-menu component to define a set of menu items and link it to a trigger element using the [menu] attribute. ```html preview View Details delete-o Delete Record Actions ``` -------------------------------- ### Basic SideNav Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/sidenav/sidenav.md Use the basic SideNav component via attributes for standard layout requirements. ```html ``` -------------------------------- ### Opening Modals with NovoModalService Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/modal/modal-develop.md Shows how to open a modal component and handle the close event using the service. ```typescript @Component({...}) class RandomComponent { constructor(private modal:NovoModalService) {} handleAction() { const ref = this.modal.open(ConfirmDeleteModal, { record: 123 }); /* you can listen to the close event */ ref.onClosed.then((result) => { /* result is the argument sent via the ref */ if (res === 'success') { /* perfom some action */ } }); /* close the modal from the parent */ ref.close('success') } } ``` -------------------------------- ### Basic NovoIcon Usage Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/components/icon/icon-develop.md Displays a standard icon using the novo-icon component. ```html bull ``` -------------------------------- ### Implement a basic NovoCard layout Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/cards/card-develop.md Use this structure to create a card with a header, content area, and footer. The content area can contain nested elements like lists and values. ```html Ferdinand the Bull PIN pin SHARE share ``` -------------------------------- ### Application Routing Tabs Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/layouts/tabs/tabs-examples.md Integrate tabs with application routing by manually applying classes and using router-outlet. ```html ``` -------------------------------- ### Implement Novo Title Component or Mixin Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/design/typography/typography.md Use the novo-title component or the novo-title-text SCSS mixin to apply standard title styling. ```html Creating an incredible customer experience ``` ```scss @include novo-title-text() ``` -------------------------------- ### Checkbox List Implementation Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-examples/src/form-controls/checkbox/checkbox.md Displays a list of checkbox components. ```html ``` -------------------------------- ### Disambiguate duplicate automation IDs Source: https://github.com/bullhorn/novo-elements/blob/next/projects/novo-e2e/AUTOMATION_STANDARDS.md Use the codeExample helper to scope selectors when multiple demo sections share the same automation ID. ```typescript // Both 'section-a' and 'section-b' have a button with automation ID 'submit-trigger' await click(`${codeExample('section-b')} ${automationId('submit-trigger')}`); ```