@dicebear/rings 8.0.0-rc.2 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -5,7 +5,7 @@ Licenses
5
5
  Applies to all design files in this package.
6
6
 
7
7
  Source: Rings (https://www.dicebear.com)
8
- Designer: Florian Körner (https://www.dicebear.com)
8
+ Designer: DiceBear (https://www.dicebear.com)
9
9
  License: CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/)
10
10
 
11
11
  # Code
@@ -13,7 +13,7 @@ Applies to all non-design files in this package.
13
13
 
14
14
  MIT License
15
15
 
16
- Copyright (c) 2023 Florian Körner
16
+ Copyright (c) 2024 Florian Körner
17
17
 
18
18
  Permission is hereby granted, free of charge, to any person obtaining a copy
19
19
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- <h1 align="center"><img src="https://dicebear.com/logo-readme.svg" width="96" /> <br />DiceBear Rings</h1>
1
+ <h1 align="center"><img src="https://www.dicebear.com/logo-readme.svg" width="96" /> <br />DiceBear Rings</h1>
2
2
  <p align="center">
3
- <strong>Avatar Style for <a href="https://dicebear.com/">DiceBear</a></strong><br />
4
- <a href="https://www.dicebear.com">Rings</a> by <a href="https://www.dicebear.com">Florian Körner</a>
3
+ <strong>Avatar Style for <a href="https://www.dicebear.com/">DiceBear</a></strong><br />
4
+ <a href="https://www.dicebear.com">Rings</a> by <a href="https://www.dicebear.com">DiceBear</a>
5
5
  </p>
6
6
 
7
7
  <p align="center">
@@ -15,16 +15,16 @@
15
15
  </p>
16
16
 
17
17
  <p align="center">
18
- The avatar style is based on <a href="https://www.dicebear.com">Rings</a> by
19
- <a href="https://www.dicebear.com">Florian Körner</a>, licensed under
20
- <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>. / Remix of the original.
18
+ <a href="https://www.dicebear.com">Rings</a> by
19
+ <a href="https://www.dicebear.com">DiceBear</a>, licensed under
20
+ <a href="https://creativecommons.org/publicdomain/zero/1.0/">CC0 1.0</a>.
21
21
  </p>
22
22
  <p align="center">
23
- See <a href="https://dicebear.com/licenses">license overview</a> for more information.
23
+ See <a href="https://www.dicebear.com/licenses">license overview</a> for more information.
24
24
  </p>
25
25
 
26
26
  <p align="center">
27
- <a href="https://dicebear.com/styles/rings">
27
+ <a href="https://www.dicebear.com/styles/rings">
28
28
  Read Documentation
29
29
  </a>
30
30
  </p>
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export { ring } from './ring.js';
8
8
  export { ringOne } from './ringOne.js';
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export { ring } from './ring.js';
8
8
  export { ringOne } from './ringOne.js';
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { ComponentGroup } from '../types.js';
8
8
  export declare const ring: ComponentGroup;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export const ring = {
8
8
  'container': (components, colors) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v; return `${(_b = (_a = components.ringOne) === null || _a === void 0 ? void 0 : _a.value(components, colors)) !== null && _b !== void 0 ? _b : ''}${(_d = (_c = components.ringTwo) === null || _c === void 0 ? void 0 : _c.value(components, colors)) !== null && _d !== void 0 ? _d : ''}${(_f = (_e = components.ringThree) === null || _e === void 0 ? void 0 : _e.value(components, colors)) !== null && _f !== void 0 ? _f : ''}${(_h = (_g = components.ringFour) === null || _g === void 0 ? void 0 : _g.value(components, colors)) !== null && _h !== void 0 ? _h : ''}${(_k = (_j = components.ringFive) === null || _j === void 0 ? void 0 : _j.value(components, colors)) !== null && _k !== void 0 ? _k : ''}<g transform="matrix(1 0 0 -1 0 100)">${(_m = (_l = components.ringOne) === null || _l === void 0 ? void 0 : _l.value(components, colors)) !== null && _m !== void 0 ? _m : ''}</g><g transform="matrix(1 0 0 -1 0 100)">${(_p = (_o = components.ringTwo) === null || _o === void 0 ? void 0 : _o.value(components, colors)) !== null && _p !== void 0 ? _p : ''}</g><g transform="matrix(1 0 0 -1 0 100)">${(_r = (_q = components.ringThree) === null || _q === void 0 ? void 0 : _q.value(components, colors)) !== null && _r !== void 0 ? _r : ''}</g><g transform="matrix(1 0 0 -1 0 100)">${(_t = (_s = components.ringFour) === null || _s === void 0 ? void 0 : _s.value(components, colors)) !== null && _t !== void 0 ? _t : ''}</g><g transform="matrix(1 0 0 -1 0 100)">${(_v = (_u = components.ringFive) === null || _u === void 0 ? void 0 : _u.value(components, colors)) !== null && _v !== void 0 ? _v : ''}</g><circle cx="50" cy="50" r="45" stroke="#fff" stroke-opacity=".25" stroke-width="10" style="mix-blend-mode:lighten"/><circle cx="50" cy="50" r="25" stroke="#fff" stroke-opacity=".25" stroke-width="10" style="mix-blend-mode:lighten"/><circle cx="50" cy="50" r="10" fill="#fff" fill-opacity=".25" style="mix-blend-mode:lighten"/>`; },
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { ComponentGroup } from '../types.js';
8
8
  export declare const ringFive: ComponentGroup;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { escape } from '@dicebear/core';
8
8
  export const ringFive = {
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { ComponentGroup } from '../types.js';
8
8
  export declare const ringFour: ComponentGroup;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { escape } from '@dicebear/core';
8
8
  export const ringFour = {
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { ComponentGroup } from '../types.js';
8
8
  export declare const ringOne: ComponentGroup;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { escape } from '@dicebear/core';
8
8
  export const ringOne = {
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { ComponentGroup } from '../types.js';
8
8
  export declare const ringThree: ComponentGroup;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { escape } from '@dicebear/core';
8
8
  export const ringThree = {
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { ComponentGroup } from '../types.js';
8
8
  export declare const ringTwo: ComponentGroup;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { escape } from '@dicebear/core';
8
8
  export const ringTwo = {
package/lib/index.d.ts CHANGED
@@ -2,15 +2,15 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  /*!
8
8
  * Rings (@dicebear/rings)
9
9
  *
10
10
  * Code licensed under MIT License.
11
- * Copyright (c) 2023 Florian Körner
11
+ * Copyright (c) 2024 Florian Körner
12
12
  *
13
- * Design "Rings" by Florian Körner licensed under CC0 1.0. / Remix of the original.
13
+ * Design "Rings" by DiceBear licensed under CC0 1.0.
14
14
  * Source: https://www.dicebear.com
15
15
  * Homepage: https://www.dicebear.com
16
16
  * License: https://creativecommons.org/publicdomain/zero/1.0/
package/lib/index.js CHANGED
@@ -2,13 +2,13 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { getComponents } from './utils/getComponents.js';
8
8
  import { getColors } from './utils/getColors.js';
9
9
  export const meta = {
10
10
  title: 'Rings',
11
- creator: 'Florian Körner',
11
+ creator: 'DiceBear',
12
12
  source: 'https://www.dicebear.com',
13
13
  homepage: 'https://www.dicebear.com',
14
14
  license: {
package/lib/schema.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { StyleSchema } from '@dicebear/core';
8
8
  export declare const schema: StyleSchema;
package/lib/schema.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export const schema = {
8
8
  "$schema": "http://json-schema.org/draft-07/schema#",
package/lib/types.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export interface Options {
8
8
  ring?: ('container')[];
package/lib/types.js CHANGED
@@ -2,6 +2,6 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export {};
@@ -2,6 +2,6 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export declare function convertColor(color: string): string;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  export function convertColor(color) {
8
8
  return 'transparent' === color ? color : `#${color}`;
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { Prng } from '@dicebear/core';
8
8
  import type { Options, ColorPickCollection } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { convertColor } from './convertColor.js';
8
8
  export function getColors({ prng, options }) {
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { Prng } from '@dicebear/core';
8
8
  import type { Options, ComponentPickCollection } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import { pickComponent } from './pickComponent.js';
8
8
  export function getComponents({ prng, options }) {
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import type { Prng } from '@dicebear/core';
8
8
  import type { ComponentPick } from '../types.js';
@@ -2,7 +2,7 @@
2
2
  * Do not change this file manually! This file was generated with the "Dicebear Exporter"-Plugin for Figma.
3
3
  *
4
4
  * Plugin: https://www.figma.com/community/plugin/1005765655729342787
5
- * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF/%40dicebear%2Frings
5
+ * File: https://www.figma.com/file/sK2mrFhCZwQu1qw4WqOBEF
6
6
  */
7
7
  import * as components from '../components/index.js';
8
8
  export function pickComponent({ prng, group, width, height, values = [], rotation, offsetX, offsetY }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dicebear/rings",
3
- "version": "8.0.0-rc.2",
3
+ "version": "8.0.1",
4
4
  "description": "Avatar style for DiceBear",
5
5
  "keywords": [
6
6
  "dicebear"
@@ -29,14 +29,14 @@
29
29
  "test": "uvu tests"
30
30
  },
31
31
  "devDependencies": {
32
- "@dicebear/core": "8.0.0-rc.2",
32
+ "@dicebear/core": "8.0.1",
33
33
  "@tsconfig/recommended": "^1.0.2",
34
34
  "del-cli": "^5.0.0",
35
35
  "typescript": "^5.1.6",
36
36
  "uvu": "^0.5.6"
37
37
  },
38
38
  "peerDependencies": {
39
- "@dicebear/core": "^8.0.0-rc.2"
39
+ "@dicebear/core": "^8.0.0"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=16.0.0"
@@ -44,5 +44,5 @@
44
44
  "publishConfig": {
45
45
  "access": "public"
46
46
  },
47
- "gitHead": "226c203a893f9e22401d35ab24c0418462d262c9"
47
+ "gitHead": "dc11ff0fa0328c521e5769fde4414ad5a6dc7d2d"
48
48
  }