open-index/open-npm huggingface dataset:
npm package: @instant-ar/blockly-field-date-modified
Description: A Blockly date picker field that uses the Google Closure date picker.
Author: subham92
Latest version: 6.0.4

# blockly-field-date-modified [![Built on Blockly](https://tinyurl.com/built-on-blockly)](https://github.com/google/blockly)

A [Blockly](https://www.npmjs.com/package/blockly) date picker field that uses the Google Closure date picker ([goog.ui.DatePicker](https://google.github.io/closure-library/source/closure/goog/demos/)).

## Installation

### Yarn
```
yarn add blockly-field-date-modified
```

### npm
```
npm install blockly-field-date-modified --save
```

## Usage

### JavaScript
```js
import * as Blockly from 'blockly';
import FieldDate from 'blockly-field-date-modified';

Blockly.Blocks["test_fields_date"] = {
  init: function () {
    this.appendDummyInput()
      .appendField("date: ")
      .appendField(new FieldDate("2020-02-20"), "FIELDNAME");
  }
};
```
### JSON

```js
import * as Blockly from 'blockly';
import 'blockly-field-date-modified';

Blockly.defineBlocksWithJsonArray([
    {
        "type": "test_fields_date",
        "message0": "date: %1",
        "args0": [
            {
                "type": "field_date",
                "name": "FIELDNAME",
                "date": "2020-02-20"
            }
        ]
    }]);
```

[View the developer documentation](https://developers.google.com/blockly/guides/create-custom-blocks/fields/built-in-fields/date) for further usage examples.

## License

Apache 2.0
npm package: @instant-ar/blockly-plugin-workspace-search-modified
Description: A Blockly plugin that adds workspace search support.
Author: Blockly Team
Latest version: 5.0.24

# @blockly/plugin-workspace-search [![Built on Blockly](https://tinyurl.com/built-on-blockly)](https://github.com/google/blockly)

A [Blockly](https://www.npmjs.com/package/blockly) plugin that adds workspace search support.

## Installation

```
npm install @blockly/plugin-workspace-search --save
```

## Usage

### ES6 Imports
```js
import * as Blockly from 'blockly';
import { WorkspaceSearch } from '@blockly/plugin-workspace-search';

const workspace = Blockly.inject('blocklyDiv');
const workspaceSearch = new WorkspaceSearch(workspace);

workspaceSearch.init();
```
### Script Tag
```js
<script src="./node_modules/@blockly/plugin-workspace-search/dist/index.js"></script>
```

To open workspace search use either command + f or control + f. To close the search bar hit escape or the 'x' in the top right corner.

## API

- `init`: Initializes the workspace search bar.
- `dispose`: Disposes of workspace search.
- `open`: Opens the search bar.
- `close`: Closes the search bar.
- `previous`: Selects the previous block.
- `next`: Selects the next block.
- `setSearchPlaceholder`: Sets the placeholder text for the search bar text input.
- `addActionBtn`: Add a button to the action div. This must be called after the init function has been called.
- `clearBlocks`: Clears the selection group and current block.
- `searchAndHighlight`: Searches the workspace for the current search term and highlights matching blocks.

## License
Apache 2.0