Socket
Socket
Sign inDemoInstall

snd-lib

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.1.0

assets/sounds/sprite/03/audioSprite.ac3

2

dist/constant.d.ts

@@ -11,3 +11,3 @@ import { SoundKeys, DOMEventSound } from "./types";

declare const TAG_EVENT_SOUND: DOMEventSound;
export declare type KitKinds = "01" | "02";
export declare type KitKinds = "01" | "02" | "03";
declare const KITS: Readonly<{

@@ -14,0 +14,0 @@ [key: string]: KitKinds;

@@ -9,2 +9,3 @@ "use strict";

const _02_json_1 = __importDefault(require("./json/02.json"));
const _03_json_1 = __importDefault(require("./json/03.json"));
const BUTTON = "button";

@@ -142,3 +143,4 @@ const CAUTION = "caution";

SND01: "01",
SND02: "02"
SND02: "02",
SND03: "03",
};

@@ -150,10 +152,14 @@ const KITS = Object.freeze(_KITS);

json: _01_json_1.default,
audioSrc: "https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.0.0/assets/sounds/sprite/01/audioSprite.mp3",
audioSrc: "https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.1.0/assets/sounds/sprite/01/audioSprite.mp3",
},
[KITS.SND02]: {
json: _02_json_1.default,
audioSrc: "https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.0.0/assets/sounds/sprite/02/audioSprite.mp3",
audioSrc: "https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.1.0/assets/sounds/sprite/02/audioSprite.mp3",
},
[KITS.SND03]: {
json: _03_json_1.default,
audioSrc: "https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.1.0/assets/sounds/sprite//03/audioSprite.mp3",
},
};
const KIT_INFO = Object.freeze(_KIT_INFO);
exports.KIT_INFO = KIT_INFO;

@@ -1,7 +0,14 @@

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
/**
* @license
* Snd.js v1.1.0
* Released under the MIT License.
*/
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const snd_1 = __importDefault(require("./snd"));
const tslib_1 = require("tslib");
const snd_1 = (0, tslib_1.__importDefault)(require("./snd"));
exports.default = snd_1.default;
//# sourceMappingURL=index.js.map
{
"name": "snd-lib",
"version": "1.0.2",
"version": "1.1.0",
"description": "With the spread of smart speakers and wireless earphones, the importance of sound in interaction design is increasing day by day. However, compared to many researches and practices in the fields of visual design and animation in interaction design, it seems that not enough knowledge has been shared about interaction design with sound, except in some fields such as games.\nInteraction should not be limited to text and visuals, but should be richer than that. In order to make the intensity of interaction richer and stronger, we should have more discussion about sound.\nHowever, in the area of interaction design, there are fewer sound designers than visual designers and programmers, and there are certainly barriers to creating sound.\nTo encourage UX developers to further explore discussions in the area of interaction design with sound, we have developed UI sound assets that can be used for free without worrying about licensing.\nUI sound assets, developed in collaboration with multiple sound designers, are designed to fit the components used in many modern UIs. Each asset is individually designed with a different concept, so you can feel the change in texture and tone by switching the sounds.\nWe hope that you will use it as a resource to further refine the quality of UX for your apps, services, and products under development, and that it will help you to explore the field of sound design.\nAll UI sounds published on \"SND\" can be used for free, regardless of whether they are commercial or non-commercial. Therefore, you can use them not only for prototyping, but also for implementation in your services. *Please check the terms of use for details.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -40,3 +40,3 @@ # SND

```html
<script src="https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.0.0/dist/browser/snd.js?kit=01"></script>
<script src="https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.1.0/dist/browser/snd.js?kit=01"></script>
```

@@ -73,3 +73,3 @@

<!-- Load JavaScript file from CDN -->
<script src="https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.0.0/dist/browser/snd.js?kit=01"></script>
<script src="https://cdn.jsdelivr.net/gh/snd-lib/snd-lib@v1.1.0/dist/browser/snd.js?kit=01"></script>
</head>

@@ -316,6 +316,6 @@ <body>

| button | Unlike Tap sound, this sound is played to clearly indicate to the user that they have pressed a UI element that performs a specific function, such as a button. In combination with visual effects, it can provide the user the feeling that they have definitely pressed a specific button. |
| caution | This sound is played when you press a disabled button. The sound is not as strong as the Caution sound described below. The sound is simply to indicate that the button itself is invalid. |
| caution | A caution sound. This sound is played to indicate to the user that something is wrong, has a slightly more negative sound than Notification. |
| celebration | This is a sound to celebrate the moment when user have achieved the biggest goal of each application. For example, when user send an email in an email app, or when user has checked the last task in a task management app. It creates a climax in the app's UX. |
| disabled | This sound is played when you press a disabled button. The sound is not as strong as the Caution sound described below. The sound is simply to indicate that the button itself is invalid. |
| notification | A caution sound. This sound is played to indicate to the user that something is wrong, has a slightly more negative sound than Notification. |
| notification | Notification sound. This sound is played to alert the user when there is some kind of notification from the app. |
| progress_loop | This sound is played to clearly indicate that some task is being processed, such as loading, dragging, etc. It is designed to be played in a loop while the task is running. After the task is completed, it is a nice to play a sound to indicate that the work has been completed according to the type of task. However, if the processing time is expected to be very long, or if the processing occurs frequently, the sound will be played all the time, so consider carefully which task to assign the sound to. |

@@ -322,0 +322,0 @@ | ringtone_loop | This is the sound with the highest level of alert compared to Notification and Caution. It is designed to be played in a loop until the user takes action. It is intended to be used as a ringing sound or alarm sound. |

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc