open-index/open-npm huggingface dataset:
npm package: @hundg/auth
Description: Auth-[NgRx]Module for Angular apps
Author: heinrich+gretchen GmbH
Latest version: 0.0.16-1

@hundg/auth
=======

The sources for this package are in the main [hugdevs/platform](https://bitbucket.org/hugdevs/platform) repo. Please file issues and pull requests against that repo.

License: MIT
npm package: @hundh/contao-choices-bundle
Description: This package contains the frontend assets of the composer bundle heimrichhannot/contao-choices-bundle.
Author: Heimrich & Hannot GmbH
Latest version: 0.5.2

# Contao Choices Bundle Assets

This package contains the frontend assets of the composer bundle heimrichhannot/contao-choices-bundle.

## Install

Typicall this package comes with [Contao Choices Bundle](https://github.com/heimrichhannot/contao-choices-bundle). If you want to install it by yourself: 

```npm
yarn add @hundh/contao-choices-bundle
```

## Usage

If you want to use the bundle independent of Choices Bundle: 

```js
import ChoicesBundle from '@hundh/contao-choices-bundle'

ChoicesBundle.init();
```

Choices.js will be added to all select and text fields with attribute `data-choices=1`.

### Options
You can pass options to Choices constructor by adding them json_encoded to `data-choices-options` attribute.

### Translations
Translations can be passed as options to Choices. For callback translation (`addItemText`, `maxItemText`) two additional options added: `addItemTextString` and `maxItemTextString`.


## API

### init

Apply a choice instance to all inputs with attribute `data-choices=1`. 
You can pass additional options as json string in `data-choices-options` attribute.

### getChoiceInstances

Returns an array of objects containing element and choice instance.

```
[{element: HTMLElement, instance: ChoiceInstance},...]
```
npm package: @hundh/contao-multi-column-editor-bundle
Description: This package contains the frontend assets of the composer bundle heimrichhannot/contao-multi-column-editor-bundle.
Author: Heimrich & Hannot
Latest version: 1.2.3

# Contao Multi Column Editor Bundle Assets

This package contains the frontend assets of the composer bundle [heimrichhannot/contao-multi-column-editor-bundle](https://github.com/heimrichhannot/contao-multi-column-editor-bundle).
npm package: @hundh/contao-no-ui-slider-bundle
Description: This package contains the frontend assets of the composer bundle heimrichhannot/contao-no-ui-slider-bundle.
Author: Heimrich & Hannot
Latest version: 1.0.5

# Contao NoUiSlider Bundle Assets

This package contains the frontend assets of the composer bundle [heimrichhannot/contao-no-ui-slider-bundle](https://github.com/heimrichhannot/contao-no-ui-slider-bundle).
npm package: @hundh/contao-tiny-slider-bundle
Description: This package contains the frontend assets of the composer bundle heimrichhannot/contao-tiny-slider-bundle.
Author: Heimrich & Hannot
Latest version: 1.1.4

# Contao Tiny Slider Bundle Assets

This package contains the frontend assets of the composer bundle [heimrichhannot/contao-tiny-slider-bundle](https://github.com/heimrichhannot/contao-tiny-slider-bundle).
npm package: @hundh/contao-utils-bundle
Description: This package contains the frontend assets of the composer bundle heimrichhannot/contao-utils-bundle.
Author: Heimrich & Hannot
Latest version: 1.18.0

# Contao Utils Bundle Assets

This package contains the frontend assets of the composer bundle [heimrichhannot/contao-utils-bundle](https://github.com/heimrichhannot/contao-utils-bundle).

## Install

`yarn add @hundh/contao-utils-bundle`

## Usage

### Ajax Util

```js
import AjaxUtil from "@hundh/contao-utils-bundle/js/ajax-util";

let config = {
    headers: {'X-Requested-With': 'XMLHttpRequest'},
    responseType: undefined, // set XMLHttpRequest.responseType
    onSuccess: undefined, //on success callback
    onError: undefined, // on error callback
    beforeSubmit: undefined, //before submit callback
    afterSubmit: undefined // after submit callback
};

/**
* @var {string} url
* @var {FormData|object} data
* @var {Object} config
*/
AjaxUtil.get(url, data, config);
AjaxUtil.post(url, data, config);
```

### Webpack/Encore

Usage example:

```
import { DomUtil, ArrayUtil } from '@hundh/contao-utils-bundle';

DomUtil.scrollTo(myNode, 100);
```

Following imports possible:
* ArrayUtil
* DomUtil
* EventUtil
* GeneralUtil
* UrlUtil
* UtilsBundle

`UtilsBundle` holds all utilities classes:
* array
* dom
* event
* url
* util

Example usage: `UtilsBundle.util.isTruthy(value)`

### Legacy libraries

If you run the package code at least once, the `UtilsBundle` object will be written to `window.utilsBundle;`.

Usage example:
```
let UtilsBundle = window.utilsBundle;
```
npm package: @hundh/contao-youtube-bundle
Description: This package contains the frontend assets of the composer bundle heimrichhannot/contao-youtube-bundle.
Author: Heimrich & Hannot
Latest version: 1.0.5

# Contao YouTube Bundle Assets

This package contains the frontend assets of the composer bundle [heimrichhannot/contao-youtube-bundle](https://github.com/heimrichhannot/contao-youtube-bundle).
npm package: @hundh/scroll-toggle
Description: Simple javascript plugin to toggle elements on scroll.
Author: Heimrich & Hannot
Latest version: 1.1.1

# Scroll-Toggle

Simple javascript plugin to toggle elements on scroll. The styling to hide and show elements must be done by yourself.

![demo](https://raw.githubusercontent.com/heimrichhannot/scroll-toggle/master/docs/assets/scroll-toggle-demo.gif "Scroll Toggle Demo")

## Usage

Require the plugin itself.

`require('ScrollToggle');`

By default the plugin listens on elements with the `.scroll-toggle` css class.

```
<div class="nav-quick scroll-toggle" data-offset="#header" data-body-class="nav-quick-hidden" data-init-show="true">
</div>
```

In order to hide elements, you can use the following scss snippet and customize for your needs:

```
.scroll-toggle {
  transition: transform 250ms linear;
  transform: translateY(0);
  &.scroll-hide {
    transform: translateY(100%);
  }
}
```

## Additional Attributes

| Attributes  | Description  |
|---|---|
| data-offset | Set a minimum offset to start hide element (body scrollTop), can also be an valid CSS-Selector like `#header` |
| data-body-class | Define a custom CSS class that should be toggled on body element on hide/show element. |
| data-init-show | Set to false if you want to hide the element initially, if offset is below body scrollTop on load. |