
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@dolbyio/media-uikit-react
Advanced tools
The Dolby.io Music Mastering UIKit for React is designed to help React developers reduce the complexity of building and embedding a Dolby.io Music Mastering solution for the web.
The package consists of the following element:
# Create a new React application
npx create-react-app my-app
# Change into the app directory
cd my-app
# Install the UI kit with yarn
yarn add @dolbyio/media-uikit-react
# Start the dev server
npm start
The following examples include a sample of the components available in the UIKit.
The Accordion component allows the user to show and hide sections of related content on a page.
import { Accordion } from '@dolbyio/media-uikit-react';
const MyComponent = (props) => {
return (
<div>
<Accordion expanded heading={<h3>Options</h3>}>
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
</Accordion>
</div>
);
};
The RadioGroup component allows users to make one selection out of a list of options and only number types are supported.
import { RadioGroup } from '@dolbyio/media-uikit-react';
const MyComponent = (props) => {
return (
<div>
<RadioGroup
defaultValue={3200}
name="Default"
onChangeValue={function noRefCheck() {}}
values={[16000, 32000, 44100, 48000]}
/>
</div>
);
};
The Slider component allows the user to set values on a continuous scale.
import { Slider } from '@dolbyio/media-uikit-react';
const MyComponent = (props) => {
return (
<div>
<Slider defaultValue={30} max={100} min={0} onChange={function noRefCheck() {}} />
</div>
);
};
The TextField component allows users to enter and edit text.
import { TextField } from '@dolbyio/media-uikit-react';
const MyComponent = (props) => {
return (
<div>
<TextField
caption="Info about the input content here."
label="Label title"
onChange={function noRefCheck() {}}
placeholder="Placeholder text"
value=""
/>
</div>
);
};
The Waveform component allows users to display a waveform of an audio track, choose a segment of the track for preview, select location of the playhead, adjust volume, and interact with transport controls and audio timeline bar.
import { Waveform } from '@dolbyio/media-uikit-react';
const MyComponent = (props) => {
return (
<div>
<Waveform previewActive url="/media/my-track.wav" />
</div>
);
};
The AudioConfigurator component provides controls for selecting audio characteristics such as sample rate, channel count, and sample size.
import { AudioConfigurator } from '@dolbyio/media-uikit-react';
const MyComponent = (props) => {
return (
<div>
<AudioConfigurator
channelCounts={[1, 2]}
defaultChannelCount={1}
defaultSampleRate={44100}
defaultSampleSize={16}
onChangeChannelCount={function noRefCheck() {}}
onChangeSampleRate={function noRefCheck() {}}
onChangeSampleSize={function noRefCheck() {}}
sampleRates={[44100, 48000]}
sampleSizes={[16, 24, 32]}
/>
</div>
);
};
FAQs
# Overview
We found that @dolbyio/media-uikit-react demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.