0.3.0 • Published 1 day ago

@digitalsilk/block-editor-components v0.3.0

Weekly downloads
-
License
GPL-2.0-or-later
Repository
github
Last release
1 day ago

Digital Silk Block Editor Components

A library of React components designed for use in the WordPress Block Editor.

Installation

Install the package using npm:

npm install --save @digitalsilk/block-editor-components

--OR--

Install the package using yarn:

yarn add @digitalsilk/block-editor-components

Usage

Import the desired component(s) into your theme or plugin block editor code. For example:

import { Image, Video, MediaPicker, getMedia } from "@digitalsilk/block-editor-components";

Components

The library provides a set of React components designed for seamless integration into the WordPress Block Editor. These components offer a range of functionalities, including controls for elements and display options for media such as images, icons, and videos. Easily enhance your block editor experience with these versatile components.

Available Components

Selectors

The library includes selectors that leverage the power of the useSelect hook from the @wordpress/data package. These selectors, such as getMedia, provide utilities for efficiently retrieving media details and resolution status from the WordPress core data store. Seamlessly integrate these selectors into your components to enhance data retrieval and state management within the block editor.

Available Selectors

0.2.10

1 day ago

0.3.0

1 day ago

0.2.9

1 day ago

0.2.7

17 days ago

0.2.8

17 days ago

0.2.6

23 days ago

0.2.5

1 month ago

0.2.3

1 month ago

0.2.4

1 month ago

0.1.10

1 month ago

0.2.1

1 month ago

0.2.0

1 month ago

0.2.2

1 month ago

0.1.9

2 months ago

0.1.8

2 months ago

0.1.7

2 months ago

0.1.6

2 months ago

0.1.5

2 months ago

0.1.0

2 months ago

0.1.2

2 months ago

0.1.1

2 months ago

0.1.4

2 months ago

0.1.3

2 months ago

0.0.9

3 months ago

0.0.8

3 months ago

0.0.7

3 months ago

0.0.6

3 months ago

0.0.5

3 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago

0.0.1

3 months ago