Add diagram and pattern glyphs as currentColor SVG components so a parent text class can recolor them.
No files matched your search
@@ -0,0 +1,159 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Figma: "Asset / Diagram Glyph" (25359:65776)
|
||||||
|
*/
|
||||||
|
|
||||||
|
import Image from "next/image";
|
||||||
|
import { memo } from "react";
|
||||||
|
import AdviceGlyph from "./advice.svg";
|
||||||
|
import AuthorityGlyph from "./authority.svg";
|
||||||
|
import ConflictGlyph from "./conflict.svg";
|
||||||
|
import ConsensusGlyph from "./consensus.svg";
|
||||||
|
import DiscussionGlyph from "./discussion.svg";
|
||||||
|
import GroupGlyph from "./group.svg";
|
||||||
|
import LadderGlyph from "./ladder.svg";
|
||||||
|
import MembraneGlyph from "./membrane.svg";
|
||||||
|
import MoneyGlyph from "./money.svg";
|
||||||
|
import PersonGlyph from "./person.svg";
|
||||||
|
import PodGlyph from "./pod.svg";
|
||||||
|
import PrivacyGlyph from "./privacy.svg";
|
||||||
|
import RecordsGlyph from "./records.svg";
|
||||||
|
import RotationGlyph from "./rotation.svg";
|
||||||
|
import SortitionGlyph from "./sortition.svg";
|
||||||
|
import TermGlyph from "./term.svg";
|
||||||
|
import VoteGlyph from "./vote.svg";
|
||||||
|
|
||||||
|
export const DIAGRAM_GLYPH_OPTIONS = [
|
||||||
|
"group",
|
||||||
|
"pod",
|
||||||
|
"membrane",
|
||||||
|
"person",
|
||||||
|
"authority",
|
||||||
|
"advice",
|
||||||
|
"rotation",
|
||||||
|
"ladder",
|
||||||
|
"conflict",
|
||||||
|
"consensus",
|
||||||
|
"vote",
|
||||||
|
"sortition",
|
||||||
|
"term",
|
||||||
|
"discussion",
|
||||||
|
"records",
|
||||||
|
"privacy",
|
||||||
|
"money",
|
||||||
|
] as const;
|
||||||
|
|
||||||
|
export type DiagramGlyphName = (typeof DIAGRAM_GLYPH_OPTIONS)[number];
|
||||||
|
|
||||||
|
export const DIAGRAM_GLYPH_SIZE_OPTIONS = [24, 48] as const;
|
||||||
|
export type DiagramGlyphSize = (typeof DIAGRAM_GLYPH_SIZE_OPTIONS)[number];
|
||||||
|
|
||||||
|
type SvgComponent =
|
||||||
|
| React.ComponentType<React.SVGProps<SVGSVGElement>>
|
||||||
|
| { default: React.ComponentType<React.SVGProps<SVGSVGElement>> };
|
||||||
|
|
||||||
|
const glyphMap: Record<DiagramGlyphName, SvgComponent> = {
|
||||||
|
group: GroupGlyph,
|
||||||
|
pod: PodGlyph,
|
||||||
|
membrane: MembraneGlyph,
|
||||||
|
person: PersonGlyph,
|
||||||
|
authority: AuthorityGlyph,
|
||||||
|
advice: AdviceGlyph,
|
||||||
|
rotation: RotationGlyph,
|
||||||
|
ladder: LadderGlyph,
|
||||||
|
conflict: ConflictGlyph,
|
||||||
|
consensus: ConsensusGlyph,
|
||||||
|
vote: VoteGlyph,
|
||||||
|
sortition: SortitionGlyph,
|
||||||
|
term: TermGlyph,
|
||||||
|
discussion: DiscussionGlyph,
|
||||||
|
records: RecordsGlyph,
|
||||||
|
privacy: PrivacyGlyph,
|
||||||
|
money: MoneyGlyph,
|
||||||
|
};
|
||||||
|
|
||||||
|
function resolveSvgComponent(module: SvgComponent) {
|
||||||
|
if (typeof module === "object" && module !== null && "default" in module) {
|
||||||
|
return (
|
||||||
|
module as {
|
||||||
|
default: React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||||
|
}
|
||||||
|
).default;
|
||||||
|
}
|
||||||
|
return module as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface DiagramGlyphProps {
|
||||||
|
glyph: DiagramGlyphName;
|
||||||
|
className?: string;
|
||||||
|
/** Width and height. Figma grid is 48; diagrams also use 24. */
|
||||||
|
size?: DiagramGlyphSize | number;
|
||||||
|
/**
|
||||||
|
* Accessible name when the glyph sits in a diagram. Omit for a decorative
|
||||||
|
* mark (empty alt / `aria-hidden`).
|
||||||
|
*/
|
||||||
|
title?: string;
|
||||||
|
/** Follows `title` when the glyph is named in a diagram. */
|
||||||
|
description?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
function DiagramGlyphComponent({
|
||||||
|
glyph,
|
||||||
|
className = "",
|
||||||
|
size = 48,
|
||||||
|
title,
|
||||||
|
description,
|
||||||
|
}: DiagramGlyphProps) {
|
||||||
|
const SvgModule = glyphMap[glyph];
|
||||||
|
if (!SvgModule) return null;
|
||||||
|
const resolved = resolveSvgComponent(SvgModule);
|
||||||
|
const decorative = !title;
|
||||||
|
const label = [title, description].filter(Boolean).join(". ");
|
||||||
|
|
||||||
|
if (typeof resolved === "string") {
|
||||||
|
return (
|
||||||
|
<Image
|
||||||
|
src={resolved}
|
||||||
|
width={size}
|
||||||
|
height={size}
|
||||||
|
className={className}
|
||||||
|
alt={decorative ? "" : label}
|
||||||
|
unoptimized
|
||||||
|
aria-hidden={decorative || undefined}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (resolved == null) return null;
|
||||||
|
|
||||||
|
const Svg = resolved as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||||
|
|
||||||
|
if (decorative) {
|
||||||
|
return (
|
||||||
|
<Svg
|
||||||
|
width={size}
|
||||||
|
height={size}
|
||||||
|
className={className}
|
||||||
|
aria-hidden
|
||||||
|
data-figma-node="25359:65776"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<span
|
||||||
|
role="img"
|
||||||
|
aria-label={label}
|
||||||
|
className={`inline-flex ${className}`.trim()}
|
||||||
|
data-figma-node="25359:65776"
|
||||||
|
>
|
||||||
|
<Svg width={size} height={size} aria-hidden />
|
||||||
|
</span>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const DiagramGlyph = memo(DiagramGlyphComponent);
|
||||||
|
DiagramGlyph.displayName = "DiagramGlyph";
|
||||||
|
|
||||||
|
export default DiagramGlyph;
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-advice)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M12.5 26.2C13.715 26.2 14.7 25.215 14.7 24C14.7 22.785 13.715 21.8 12.5 21.8C11.285 21.8 10.3 22.785 10.3 24C10.3 25.215 11.285 26.2 12.5 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M19 26.2C20.215 26.2 21.2 25.215 21.2 24C21.2 22.785 20.215 21.8 19 21.8C17.785 21.8 16.8 22.785 16.8 24C16.8 25.215 17.785 26.2 19 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M25.5 26.2C26.715 26.2 27.7 25.215 27.7 24C27.7 22.785 26.715 21.8 25.5 21.8C24.285 21.8 23.3 22.785 23.3 24C23.3 25.215 24.285 26.2 25.5 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M27 16.5L34.5 24L27 31.5" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-advice">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-authority)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M12.5 24H34M27 16.5L34.5 24L27 31.5" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-authority">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 641 B |
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-conflict)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M27.5 10.5L18 25H30L20.5 37.5" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-conflict">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 633 B |
@@ -0,0 +1,16 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M24 10.9H15.8V37.1H24H32.2V10.9H24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M10.9 24V32.2H37.1V24V15.8H10.9V24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M24 17.5C25.2 17.5 26.2 16.5 26.2 15.3C26.2 14.1 25.2 13.1 24 13.1C22.8 13.1 21.8 14.1 21.8 15.3C21.8 16.5 22.8 17.5 24 17.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M26.2 15.3H24V17.5V19.6C26.4 19.6 28.4 17.7 28.4 15.3H26.2ZM24 17.5V15.3H21.8H19.6C19.6 17.7 21.6 19.6 24 19.6V17.5ZM21.8 15.3H24V13.1V10.9C21.6 10.9 19.6 12.9 19.6 15.3H21.8ZM24 13.1V15.3H26.2H28.4C28.4 12.9 26.4 10.9 24 10.9V13.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M24 34.9C25.2 34.9 26.2 33.9 26.2 32.7C26.2 31.5 25.2 30.5 24 30.5C22.8 30.5 21.8 31.5 21.8 32.7C21.8 33.9 22.8 34.9 24 34.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_8" d="M26.2 32.7H24V34.9V37.1C26.4 37.1 28.4 35.1 28.4 32.7H26.2ZM24 34.9V32.7H21.8H19.6C19.6 35.1 21.6 37.1 24 37.1V34.9ZM21.8 32.7H24V30.5V28.4C21.6 28.4 19.6 30.3 19.6 32.7H21.8ZM24 30.5V32.7H26.2H28.4C28.4 30.3 26.4 28.4 24 28.4V30.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_9" d="M15.3 26.2C16.5 26.2 17.5 25.2 17.5 24C17.5 22.8 16.5 21.8 15.3 21.8C14.1 21.8 13.1 22.8 13.1 24C13.1 25.2 14.1 26.2 15.3 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_10" d="M17.5 24H15.3V26.2V28.4C17.7 28.4 19.6 26.4 19.6 24H17.5ZM15.3 26.2V24H13.1H10.9C10.9 26.4 12.9 28.4 15.3 28.4V26.2ZM13.1 24H15.3V21.8V19.6C12.9 19.6 10.9 21.6 10.9 24H13.1ZM15.3 21.8V24H17.5H19.6C19.6 21.6 17.7 19.6 15.3 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_11" d="M32.7 26.2C33.9 26.2 34.9 25.2 34.9 24C34.9 22.8 33.9 21.8 32.7 21.8C31.5 21.8 30.5 22.8 30.5 24C30.5 25.2 31.5 26.2 32.7 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_12" d="M34.9 24H32.7V26.2V28.4C35.1 28.4 37.1 26.4 37.1 24H34.9ZM32.7 26.2V24H30.5H28.4C28.4 26.4 30.3 28.4 32.7 28.4V26.2ZM30.5 24H32.7V21.8V19.6C30.3 19.6 28.4 21.6 28.4 24H30.5ZM32.7 21.8V24H34.9H37.1C37.1 21.6 35.1 19.6 32.7 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,13 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-discussion)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M17.5 13.5H30.5C33.5 13.5 35.5 15.5 35.5 18.5V24.5C35.5 27.5 33.5 29.5 30.5 29.5H22L16 35V29.5C14 29 12.5 27 12.5 24.5V18.5C12.5 15.5 14.5 13.5 17.5 13.5Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M19.5 23.7C20.715 23.7 21.7 22.715 21.7 21.5C21.7 20.285 20.715 19.3 19.5 19.3C18.285 19.3 17.3 20.285 17.3 21.5C17.3 22.715 18.285 23.7 19.5 23.7Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M28.5 23.7C29.715 23.7 30.7 22.715 30.7 21.5C30.7 20.285 29.715 19.3 28.5 19.3C27.285 19.3 26.3 20.285 26.3 21.5C26.3 22.715 27.285 23.7 28.5 23.7Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-discussion">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-group)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M24 35C30.0751 35 35 30.0751 35 24C35 17.9249 30.0751 13 24 13C17.9249 13 13 17.9249 13 24C13 30.0751 17.9249 35 24 35Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-group">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 717 B |
@@ -0,0 +1,10 @@
|
|||||||
|
export { default } from "./DiagramGlyph";
|
||||||
|
export {
|
||||||
|
DIAGRAM_GLYPH_OPTIONS,
|
||||||
|
DIAGRAM_GLYPH_SIZE_OPTIONS,
|
||||||
|
} from "./DiagramGlyph";
|
||||||
|
export type {
|
||||||
|
DiagramGlyphName,
|
||||||
|
DiagramGlyphProps,
|
||||||
|
DiagramGlyphSize,
|
||||||
|
} from "./DiagramGlyph";
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-ladder)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M18 12V36M30 12V36M18 18H30M18 24H30M18 30H30" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-ladder">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 645 B |
@@ -0,0 +1,8 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M34.46 27.4C33.9826 28.8659 33.2024 30.2151 32.17 31.36M26.29 34.76C24.7802 35.0813 23.2198 35.0813 21.71 34.76M15.83 31.36C14.7976 30.2151 14.0174 28.8659 13.54 27.4M13.54 20.6C14.0174 19.1341 14.7976 17.7849 15.83 16.64M21.71 13.24C23.2198 12.9187 24.7802 12.9187 26.29 13.24M32.17 16.64C33.2024 17.7849 33.9826 19.1341 34.46 20.6" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M24 27.6C25.9882 27.6 27.6 25.9882 27.6 24C27.6 22.0118 25.9882 20.4 24 20.4C22.0118 20.4 20.4 22.0118 20.4 24C20.4 25.9882 22.0118 27.6 24 27.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M36.2 26.6C37.6359 26.6 38.8 25.4359 38.8 24C38.8 22.5641 37.6359 21.4 36.2 21.4C34.7641 21.4 33.6 22.5641 33.6 24C33.6 25.4359 34.7641 26.6 36.2 26.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.2 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-money)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M34 16H14C12.3431 16 11 17.3431 11 19V29C11 30.6569 12.3431 32 14 32H34C35.6569 32 37 30.6569 37 29V19C37 17.3431 35.6569 16 34 16Z" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M24 28C26.2091 28 28 26.2091 28 24C28 21.7909 26.2091 20 24 20C21.7909 20 20 21.7909 20 24C20 26.2091 21.7909 28 24 28Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-money">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 895 B |
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-person)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M24 31C27.866 31 31 27.866 31 24C31 20.134 27.866 17 24 17C20.134 17 17 20.134 17 24C17 27.866 20.134 31 24 31Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-person">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 643 B |
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-pod)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M24 36C30.6274 36 36 30.6274 36 24C36 17.3726 30.6274 12 24 12C17.3726 12 12 17.3726 12 24C12 30.6274 17.3726 36 24 36Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M27 31.6C29.5405 31.6 31.6 29.5405 31.6 27C31.6 24.4595 29.5405 22.4 27 22.4C24.4595 22.4 22.4 24.4595 22.4 27C22.4 29.5405 24.4595 31.6 27 31.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-pod">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 905 B |
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-privacy)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M18.5 22V18.5C18.5 15.2 21 13 24 13C27 13 29.5 15.2 29.5 18.5V22" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" fill-rule="evenodd" clip-rule="evenodd" d="M17 21H31C32.7 21 34 22.3 34 24V33C34 34.7 32.7 36 31 36H17C15.3 36 14 34.7 14 33V24C14 22.3 15.3 21 17 21ZM24 26C22.8 26 21.8 27 21.8 28.2C21.8 29.1 22.3 29.8 23 30.2V32H25V30.2C25.7 29.8 26.2 29.1 26.2 28.2C26.2 27 25.2 26 24 26Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-privacy">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 984 B |
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-records)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M24 34C27 32 32 31.5 35.5 33V15.5C32 14 27 14.5 24 16.5C21 14.5 16 14 12.5 15.5V33C16 31.5 21 32 24 34ZM24 16.5V34" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-records">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 716 B |
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-rotation)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M29.5 14.47C31.4548 15.5986 33.0151 17.3012 33.9692 19.3468C34.9232 21.3924 35.2249 23.682 34.8333 25.905C34.4416 28.1279 33.3756 30.1766 31.7798 31.773C30.1841 33.3694 28.1359 34.4362 25.9131 34.8287C23.6903 35.2213 21.4006 34.9205 19.3545 33.9672C17.3085 33.014 15.6053 31.4544 14.476 29.5C13.3466 27.5457 12.8458 25.2912 13.0415 23.0426C13.2373 20.7939 14.12 18.6598 15.57 16.93" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M9.59 17.36L15.57 16.93L16.18 22.9" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-rotation">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,14 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape" clip-path="url(#clip-sortition)">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M30 13H18C15.2386 13 13 15.2386 13 18V30C13 32.7614 15.2386 35 18 35H30C32.7614 35 35 32.7614 35 30V18C35 15.2386 32.7614 13 30 13Z" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M19.2 21.7C20.5807 21.7 21.7 20.5807 21.7 19.2C21.7 17.8193 20.5807 16.7 19.2 16.7C17.8193 16.7 16.7 17.8193 16.7 19.2C16.7 20.5807 17.8193 21.7 19.2 21.7Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M24 26.5C25.3807 26.5 26.5 25.3807 26.5 24C26.5 22.6193 25.3807 21.5 24 21.5C22.6193 21.5 21.5 22.6193 21.5 24C21.5 25.3807 22.6193 26.5 24 26.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M28.8 31.3C30.1807 31.3 31.3 30.1807 31.3 28.8C31.3 27.4193 30.1807 26.3 28.8 26.3C27.4193 26.3 26.3 27.4193 26.3 28.8C26.3 30.1807 27.4193 31.3 28.8 31.3Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip-sortition">
|
||||||
|
<rect width="48" height="48" fill="currentColor"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.3 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M16 12.5H32M16 35.5H32" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M18 12.5C18 19 24 21.5 24 24M24 24C24 26.5 18 29 18 35.5M24 24C24 21.5 30 19 30 12.5M24 24C24 26.5 30 29 30 35.5" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_4" d="M24 29.5L19.8 35.5H28.2L24 29.5Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 792 B |
@@ -0,0 +1,7 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M24 45.8C36.0398 45.8 45.8 36.0398 45.8 24C45.8 11.9602 36.0398 2.2 24 2.2C11.9602 2.2 2.2 11.9602 2.2 24C2.2 36.0398 11.9602 45.8 24 45.8Z" stroke="currentColor" stroke-opacity="0.5" stroke-width="4.4"/>
|
||||||
|
<path id="Vector_2" d="M30.5 11.5H17.5C16.1193 11.5 15 12.6193 15 14V34C15 35.3807 16.1193 36.5 17.5 36.5H30.5C31.8807 36.5 33 35.3807 33 34V14C33 12.6193 31.8807 11.5 30.5 11.5Z" stroke="currentColor" stroke-width="3.3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
<path id="Vector_3" d="M19.5 24.5L22.8 28L29 20" stroke="currentColor" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 758 B |
@@ -0,0 +1,162 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Figma: "Asset / Pattern Glyph" (25449:199)
|
||||||
|
*/
|
||||||
|
|
||||||
|
import Image from "next/image";
|
||||||
|
import { memo } from "react";
|
||||||
|
import CircleProcessesGlyph from "./circle-processes.svg";
|
||||||
|
import ConflictCouncilGlyph from "./conflict-council.svg";
|
||||||
|
import ConsensusApprovalGlyph from "./consensus-approval.svg";
|
||||||
|
import ConsensusBuildingGlyph from "./consensus-building.svg";
|
||||||
|
import ConsensusSeekingWithDelegatesGlyph from "./consensus-seeking-with-delegates.svg";
|
||||||
|
import DeliberativePollingGlyph from "./deliberative-polling.svg";
|
||||||
|
import FacilitatedNegotiationGlyph from "./facilitated-negotiation.svg";
|
||||||
|
import FullConsensusGlyph from "./full-consensus.svg";
|
||||||
|
import LazyConsensusGlyph from "./lazy-consensus.svg";
|
||||||
|
import MembershipAgreementGlyph from "./membership-agreement.svg";
|
||||||
|
import ModifiedConsensusGlyph from "./modified-consensus.svg";
|
||||||
|
import OpenParticipationGlyph from "./open-participation.svg";
|
||||||
|
import PeerSponsorshipGlyph from "./peer-sponsorship.svg";
|
||||||
|
import ProvisionalMembershipGlyph from "./provisional-membership.svg";
|
||||||
|
import ScreenedReferralsGlyph from "./screened-referrals.svg";
|
||||||
|
import SociocracyCirclesGlyph from "./sociocracy-circles.svg";
|
||||||
|
import TieredMembershipGlyph from "./tiered-membership.svg";
|
||||||
|
import TrainingOrOrientationGlyph from "./training-or-orientation.svg";
|
||||||
|
|
||||||
|
export const PATTERN_GLYPH_OPTIONS = [
|
||||||
|
"lazy-consensus",
|
||||||
|
"full-consensus",
|
||||||
|
"consensus-seeking-with-delegates",
|
||||||
|
"modified-consensus",
|
||||||
|
"sociocracy-circles",
|
||||||
|
"deliberative-polling",
|
||||||
|
"open-participation",
|
||||||
|
"peer-sponsorship",
|
||||||
|
"consensus-approval",
|
||||||
|
"provisional-membership",
|
||||||
|
"membership-agreement",
|
||||||
|
"training-or-orientation",
|
||||||
|
"screened-referrals",
|
||||||
|
"tiered-membership",
|
||||||
|
"consensus-building",
|
||||||
|
"facilitated-negotiation",
|
||||||
|
"conflict-council",
|
||||||
|
"circle-processes",
|
||||||
|
] as const;
|
||||||
|
|
||||||
|
export type PatternGlyphName = (typeof PATTERN_GLYPH_OPTIONS)[number];
|
||||||
|
|
||||||
|
export const PATTERN_GLYPH_SIZE_OPTIONS = [24, 48] as const;
|
||||||
|
export type PatternGlyphSize = (typeof PATTERN_GLYPH_SIZE_OPTIONS)[number];
|
||||||
|
|
||||||
|
type SvgComponent =
|
||||||
|
| React.ComponentType<React.SVGProps<SVGSVGElement>>
|
||||||
|
| { default: React.ComponentType<React.SVGProps<SVGSVGElement>> };
|
||||||
|
|
||||||
|
const glyphMap: Record<PatternGlyphName, SvgComponent> = {
|
||||||
|
"lazy-consensus": LazyConsensusGlyph,
|
||||||
|
"full-consensus": FullConsensusGlyph,
|
||||||
|
"consensus-seeking-with-delegates": ConsensusSeekingWithDelegatesGlyph,
|
||||||
|
"modified-consensus": ModifiedConsensusGlyph,
|
||||||
|
"sociocracy-circles": SociocracyCirclesGlyph,
|
||||||
|
"deliberative-polling": DeliberativePollingGlyph,
|
||||||
|
"open-participation": OpenParticipationGlyph,
|
||||||
|
"peer-sponsorship": PeerSponsorshipGlyph,
|
||||||
|
"consensus-approval": ConsensusApprovalGlyph,
|
||||||
|
"provisional-membership": ProvisionalMembershipGlyph,
|
||||||
|
"membership-agreement": MembershipAgreementGlyph,
|
||||||
|
"training-or-orientation": TrainingOrOrientationGlyph,
|
||||||
|
"screened-referrals": ScreenedReferralsGlyph,
|
||||||
|
"tiered-membership": TieredMembershipGlyph,
|
||||||
|
"consensus-building": ConsensusBuildingGlyph,
|
||||||
|
"facilitated-negotiation": FacilitatedNegotiationGlyph,
|
||||||
|
"conflict-council": ConflictCouncilGlyph,
|
||||||
|
"circle-processes": CircleProcessesGlyph,
|
||||||
|
};
|
||||||
|
|
||||||
|
function resolveSvgComponent(module: SvgComponent) {
|
||||||
|
if (typeof module === "object" && module !== null && "default" in module) {
|
||||||
|
return (
|
||||||
|
module as {
|
||||||
|
default: React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||||
|
}
|
||||||
|
).default;
|
||||||
|
}
|
||||||
|
return module as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface PatternGlyphProps {
|
||||||
|
glyph: PatternGlyphName;
|
||||||
|
className?: string;
|
||||||
|
/** Width and height. Figma grid is 48; diagrams also use 24. */
|
||||||
|
size?: PatternGlyphSize | number;
|
||||||
|
/**
|
||||||
|
* Accessible name when the glyph sits in a diagram. Omit for a decorative
|
||||||
|
* mark (empty alt / `aria-hidden`).
|
||||||
|
*/
|
||||||
|
title?: string;
|
||||||
|
/** Follows `title` when the glyph is named in a diagram. */
|
||||||
|
description?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
function PatternGlyphComponent({
|
||||||
|
glyph,
|
||||||
|
className = "",
|
||||||
|
size = 48,
|
||||||
|
title,
|
||||||
|
description,
|
||||||
|
}: PatternGlyphProps) {
|
||||||
|
const SvgModule = glyphMap[glyph];
|
||||||
|
if (!SvgModule) return null;
|
||||||
|
const resolved = resolveSvgComponent(SvgModule);
|
||||||
|
const decorative = !title;
|
||||||
|
const label = [title, description].filter(Boolean).join(". ");
|
||||||
|
|
||||||
|
if (typeof resolved === "string") {
|
||||||
|
return (
|
||||||
|
<Image
|
||||||
|
src={resolved}
|
||||||
|
width={size}
|
||||||
|
height={size}
|
||||||
|
className={className}
|
||||||
|
alt={decorative ? "" : label}
|
||||||
|
unoptimized
|
||||||
|
aria-hidden={decorative || undefined}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (resolved == null) return null;
|
||||||
|
|
||||||
|
const Svg = resolved as React.ComponentType<React.SVGProps<SVGSVGElement>>;
|
||||||
|
|
||||||
|
if (decorative) {
|
||||||
|
return (
|
||||||
|
<Svg
|
||||||
|
width={size}
|
||||||
|
height={size}
|
||||||
|
className={className}
|
||||||
|
aria-hidden
|
||||||
|
data-figma-node="25449:199"
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<span
|
||||||
|
role="img"
|
||||||
|
aria-label={label}
|
||||||
|
className={`inline-flex ${className}`.trim()}
|
||||||
|
data-figma-node="25449:199"
|
||||||
|
>
|
||||||
|
<Svg width={size} height={size} aria-hidden />
|
||||||
|
</span>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
const PatternGlyph = memo(PatternGlyphComponent);
|
||||||
|
PatternGlyph.displayName = "PatternGlyph";
|
||||||
|
|
||||||
|
export default PatternGlyph;
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M30.5 24H28.4C28.4 26.4 26.4 28.4 24 28.4V30.5V32.7C28.8 32.7 32.7 28.8 32.7 24H30.5ZM24 30.5V28.4C21.6 28.4 19.6 26.4 19.6 24H17.5H15.3C15.3 28.8 19.2 32.7 24 32.7V30.5ZM17.5 24H19.6C19.6 21.6 21.6 19.6 24 19.6V17.5V15.3C19.2 15.3 15.3 19.2 15.3 24H17.5ZM24 17.5V19.6C26.4 19.6 28.4 21.6 28.4 24H30.5H32.7C32.7 19.2 28.8 15.3 24 15.3V17.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M24 17.5C25.2 17.5 26.2 16.5 26.2 15.3C26.2 14.1 25.2 13.1 24 13.1C22.8 13.1 21.8 14.1 21.8 15.3C21.8 16.5 22.8 17.5 24 17.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M26.2 15.3H24V17.5V19.6C26.4 19.6 28.4 17.7 28.4 15.3H26.2ZM24 17.5V15.3H21.8H19.6C19.6 17.7 21.6 19.6 24 19.6V17.5ZM21.8 15.3H24V13.1V10.9C21.6 10.9 19.6 12.9 19.6 15.3H21.8ZM24 13.1V15.3H26.2H28.4C28.4 12.9 26.4 10.9 24 10.9V13.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M15.3 30.5C16.5 30.5 17.5 29.6 17.5 28.4C17.5 27.2 16.5 26.2 15.3 26.2C14.1 26.2 13.1 27.2 13.1 28.4C13.1 29.6 14.1 30.5 15.3 30.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M17.5 28.4H15.3V30.5V32.7C17.7 32.7 19.6 30.8 19.6 28.4H17.5ZM15.3 30.5V28.4H13.1H10.9C10.9 30.8 12.9 32.7 15.3 32.7V30.5ZM13.1 28.4H15.3V26.2V24C12.9 24 10.9 26 10.9 28.4H13.1ZM15.3 26.2V28.4H17.5H19.6C19.6 26 17.7 24 15.3 24V26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_8" d="M32.7 30.5C33.9 30.5 34.9 29.6 34.9 28.4C34.9 27.2 33.9 26.2 32.7 26.2C31.5 26.2 30.5 27.2 30.5 28.4C30.5 29.6 31.5 30.5 32.7 30.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_9" d="M34.9 28.4H32.7V30.5V32.7C35.1 32.7 37.1 30.8 37.1 28.4H34.9ZM32.7 30.5V28.4H30.5H28.4C28.4 30.8 30.3 32.7 32.7 32.7V30.5ZM30.5 28.4H32.7V26.2V24C30.3 24 28.4 26 28.4 28.4H30.5ZM32.7 26.2V28.4H34.9H37.1C37.1 26 35.1 24 32.7 24V26.2Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M28.4 15.3H26.2C26.2 16.5 25.2 17.5 24 17.5V19.6V21.8C27.6 21.8 30.5 18.9 30.5 15.3H28.4ZM24 19.6V17.5C22.8 17.5 21.8 16.5 21.8 15.3H19.6H17.5C17.5 18.9 20.4 21.8 24 21.8V19.6ZM19.6 15.3H21.8C21.8 14.1 22.8 13.1 24 13.1V10.9V8.7C20.4 8.7 17.5 11.7 17.5 15.3H19.6ZM24 10.9V13.1C25.2 13.1 26.2 14.1 26.2 15.3H28.4H30.5C30.5 11.7 27.6 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M13.1 34.9C15.5 34.9 17.5 33 17.5 30.5C17.5 28.1 15.5 26.2 13.1 26.2C10.7 26.2 8.7 28.1 8.7 30.5C8.7 33 10.7 34.9 13.1 34.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M17.5 30.5H15.3C15.3 31.7 14.3 32.7 13.1 32.7V34.9V37.1C16.7 37.1 19.6 34.2 19.6 30.5H17.5ZM13.1 34.9V32.7C11.9 32.7 10.9 31.7 10.9 30.5H8.7H6.5C6.5 34.2 9.5 37.1 13.1 37.1V34.9ZM8.7 30.5H10.9C10.9 29.3 11.9 28.4 13.1 28.4V26.2V24C9.5 24 6.5 26.9 6.5 30.5H8.7ZM13.1 26.2V28.4C14.3 28.4 15.3 29.3 15.3 30.5H17.5H19.6C19.6 26.9 16.7 24 13.1 24V26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M34.9 34.9C37.3 34.9 39.3 33 39.3 30.5C39.3 28.1 37.3 26.2 34.9 26.2C32.5 26.2 30.5 28.1 30.5 30.5C30.5 33 32.5 34.9 34.9 34.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M39.3 30.5H37.1C37.1 31.7 36.1 32.7 34.9 32.7V34.9V37.1C38.5 37.1 41.4 34.2 41.4 30.5H39.3ZM34.9 34.9V32.7C33.7 32.7 32.7 31.7 32.7 30.5H30.5H28.4C28.4 34.2 31.3 37.1 34.9 37.1V34.9ZM30.5 30.5H32.7C32.7 29.3 33.7 28.4 34.9 28.4V26.2V24C31.3 24 28.4 26.9 28.4 30.5H30.5ZM34.9 26.2V28.4C36.1 28.4 37.1 29.3 37.1 30.5H39.3H41.4C41.4 26.9 38.5 24 34.9 24V26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M24.9 26C26 25.5 26.5 24.2 26 23.1C25.5 22 24.2 21.5 23.1 22L24 24L24.9 26ZM15.5 25.3C14.4 25.7 13.9 27 14.4 28.1C14.8 29.2 16.1 29.7 17.2 29.3L16.4 27.3L15.5 25.3ZM24 24L23.1 22L15.5 25.3L16.4 27.3L17.2 29.3L24.9 26L24 24Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_8" d="M24.9 22C23.7 21.5 22.5 22 22 23.1C21.5 24.2 22 25.5 23.1 26L24 24L24.9 22ZM30.8 29.3C31.9 29.7 33.2 29.2 33.6 28.1C34.1 27 33.6 25.7 32.5 25.3L31.6 27.3L30.8 29.3ZM24 24L23.1 26L30.8 29.3L31.6 27.3L32.5 25.3L24.9 22L24 24Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,16 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M15.3 15.3L13.7 16.8L31.2 34.3L32.7 32.7L34.3 31.2L16.8 13.7L15.3 15.3ZM32.7 15.3L31.2 13.7L13.7 31.2L15.3 32.7L16.8 34.3L34.3 16.8L32.7 15.3Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_3" d="M15.3 19.6C17.7 19.6 19.6 17.7 19.6 15.3C19.6 12.9 17.7 10.9 15.3 10.9C12.9 10.9 10.9 12.9 10.9 15.3C10.9 17.7 12.9 19.6 15.3 19.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M19.6 15.3H17.5C17.5 16.5 16.5 17.5 15.3 17.5V19.6V21.8C18.9 21.8 21.8 18.9 21.8 15.3H19.6ZM15.3 19.6V17.5C14.1 17.5 13.1 16.5 13.1 15.3H10.9H8.7C8.7 18.9 11.7 21.8 15.3 21.8V19.6ZM10.9 15.3H13.1C13.1 14.1 14.1 13.1 15.3 13.1V10.9V8.7C11.7 8.7 8.7 11.7 8.7 15.3H10.9ZM15.3 10.9V13.1C16.5 13.1 17.5 14.1 17.5 15.3H19.6H21.8C21.8 11.7 18.9 8.7 15.3 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M32.7 19.6C35.1 19.6 37.1 17.7 37.1 15.3C37.1 12.9 35.1 10.9 32.7 10.9C30.3 10.9 28.4 12.9 28.4 15.3C28.4 17.7 30.3 19.6 32.7 19.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M37.1 15.3H34.9C34.9 16.5 33.9 17.5 32.7 17.5V19.6V21.8C36.3 21.8 39.3 18.9 39.3 15.3H37.1ZM32.7 19.6V17.5C31.5 17.5 30.5 16.5 30.5 15.3H28.4H26.2C26.2 18.9 29.1 21.8 32.7 21.8V19.6ZM28.4 15.3H30.5C30.5 14.1 31.5 13.1 32.7 13.1V10.9V8.7C29.1 8.7 26.2 11.7 26.2 15.3H28.4ZM32.7 10.9V13.1C33.9 13.1 34.9 14.1 34.9 15.3H37.1H39.3C39.3 11.7 36.3 8.7 32.7 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M15.3 37.1C17.7 37.1 19.6 35.1 19.6 32.7C19.6 30.3 17.7 28.4 15.3 28.4C12.9 28.4 10.9 30.3 10.9 32.7C10.9 35.1 12.9 37.1 15.3 37.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_8" d="M19.6 32.7H17.5C17.5 33.9 16.5 34.9 15.3 34.9V37.1V39.3C18.9 39.3 21.8 36.3 21.8 32.7H19.6ZM15.3 37.1V34.9C14.1 34.9 13.1 33.9 13.1 32.7H10.9H8.7C8.7 36.3 11.7 39.3 15.3 39.3V37.1ZM10.9 32.7H13.1C13.1 31.5 14.1 30.5 15.3 30.5V28.4V26.2C11.7 26.2 8.7 29.1 8.7 32.7H10.9ZM15.3 28.4V30.5C16.5 30.5 17.5 31.5 17.5 32.7H19.6H21.8C21.8 29.1 18.9 26.2 15.3 26.2V28.4Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_9" d="M32.7 37.1C35.1 37.1 37.1 35.1 37.1 32.7C37.1 30.3 35.1 28.4 32.7 28.4C30.3 28.4 28.4 30.3 28.4 32.7C28.4 35.1 30.3 37.1 32.7 37.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_10" d="M37.1 32.7H34.9C34.9 33.9 33.9 34.9 32.7 34.9V37.1V39.3C36.3 39.3 39.3 36.3 39.3 32.7H37.1ZM32.7 37.1V34.9C31.5 34.9 30.5 33.9 30.5 32.7H28.4H26.2C26.2 36.3 29.1 39.3 32.7 39.3V37.1ZM28.4 32.7H30.5C30.5 31.5 31.5 30.5 32.7 30.5V28.4V26.2C29.1 26.2 26.2 29.1 26.2 32.7H28.4ZM32.7 28.4V30.5C33.9 30.5 34.9 31.5 34.9 32.7H37.1H39.3C39.3 29.1 36.3 26.2 32.7 26.2V28.4Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_11" d="M24 26.2C25.2 26.2 26.2 25.2 26.2 24C26.2 22.8 25.2 21.8 24 21.8C22.8 21.8 21.8 22.8 21.8 24C21.8 25.2 22.8 26.2 24 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_12" d="M26.2 24H24V26.2V28.4C26.4 28.4 28.4 26.4 28.4 24H26.2ZM24 26.2V24H21.8H19.6C19.6 26.4 21.6 28.4 24 28.4V26.2ZM21.8 24H24V21.8V19.6C21.6 19.6 19.6 21.6 19.6 24H21.8ZM24 21.8V24H26.2H28.4C28.4 21.6 26.4 19.6 24 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="48.4" height="48.4" viewBox="0 0 48.4 48.4" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M46.2 24.2H44C44 35.1 35.1 44 24.2 44V46.2V48.4C37.6 48.4 48.4 37.6 48.4 24.2H46.2ZM24.2 46.2V44C13.3 44 4.4 35.1 4.4 24.2H2.2H0C0 37.6 10.8 48.4 24.2 48.4V46.2ZM2.2 24.2H4.4C4.4 13.3 13.3 4.4 24.2 4.4V2.2V0C10.8 0 0 10.8 0 24.2H2.2ZM24.2 2.2V4.4C35.1 4.4 44 13.3 44 24.2H46.2H48.4C48.4 10.8 37.6 0 24.2 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M19.8 15.4H17.6C17.6 16.6 16.6 17.6 15.4 17.6V19.8V22C19 22 22 19 22 15.4H19.8ZM15.4 19.8V17.6C14.2 17.6 13.2 16.6 13.2 15.4H11H8.8C8.8 19 11.8 22 15.4 22V19.8ZM11 15.4H13.2C13.2 14.2 14.2 13.2 15.4 13.2V11V8.8C11.8 8.8 8.8 11.8 8.8 15.4H11ZM15.4 11V13.2C16.6 13.2 17.6 14.2 17.6 15.4H19.8H22C22 11.8 19 8.8 15.4 8.8V11Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M37.4 15.4H35.2C35.2 16.6 34.2 17.6 33 17.6V19.8V22C36.6 22 39.6 19 39.6 15.4H37.4ZM33 19.8V17.6C31.8 17.6 30.8 16.6 30.8 15.4H28.6H26.4C26.4 19 29.4 22 33 22V19.8ZM28.6 15.4H30.8C30.8 14.2 31.8 13.2 33 13.2V11V8.8C29.4 8.8 26.4 11.8 26.4 15.4H28.6ZM33 11V13.2C34.2 13.2 35.2 14.2 35.2 15.4H37.4H39.6C39.6 11.8 36.6 8.8 33 8.8V11Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M28.6 33H26.4C26.4 34.2 25.4 35.2 24.2 35.2V37.4V39.6C27.8 39.6 30.8 36.6 30.8 33H28.6ZM24.2 37.4V35.2C23 35.2 22 34.2 22 33H19.8H17.6C17.6 36.6 20.6 39.6 24.2 39.6V37.4ZM19.8 33H22C22 31.8 23 30.8 24.2 30.8V28.6V26.4C20.6 26.4 17.6 29.4 17.6 33H19.8ZM24.2 28.6V30.8C25.4 30.8 26.4 31.8 26.4 33H28.6H30.8C30.8 29.4 27.8 26.4 24.2 26.4V28.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M19.8 19.8L18.2 21.4C19.8 23 22.1 23.6 24.2 23.6C26.3 23.6 28.6 23 30.2 21.4L28.6 19.8L27 18.2C26.4 18.8 25.4 19.2 24.2 19.2C23 19.2 21.9 18.8 21.4 18.2L19.8 19.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M24.2 28.6H22V33H24.2H26.4V28.6H24.2Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M29.4 24H27.6C27.6 26 26 27.6 24 27.6V29.4V31.3C28 31.3 31.3 28 31.3 24H29.4ZM24 29.4V27.6C22 27.6 20.4 26 20.4 24H18.6H16.7C16.7 28 20 31.3 24 31.3V29.4ZM18.6 24H20.4C20.4 22 22 20.4 24 20.4V18.6V16.7C20 16.7 16.7 20 16.7 24H18.6ZM24 18.6V20.4C26 20.4 27.6 22 27.6 24H29.4H31.3C31.3 20 28 16.7 24 16.7V18.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_2" d="M38.2 21.2C38 20.2 37.1 19.5 36.1 19.7C35.1 19.9 34.5 20.9 34.7 21.9L36.5 21.5L38.2 21.2ZM33.1 17.9C33.6 18.8 34.7 19 35.6 18.4C36.4 17.9 36.6 16.8 36.1 15.9L34.6 16.9L33.1 17.9ZM32.1 11.9C31.2 11.4 30.1 11.6 29.5 12.4C29 13.3 29.2 14.4 30 14.9L31.1 13.4L32.1 11.9ZM26.1 13.3C27.1 13.5 28.1 12.9 28.3 11.9C28.5 10.9 27.8 10 26.8 9.8L26.5 11.5L26.1 13.3ZM21.2 9.8C20.2 10 19.5 10.9 19.7 11.9C19.9 12.9 20.9 13.5 21.9 13.3L21.5 11.5L21.2 9.8ZM17.9 14.9C18.8 14.4 19 13.3 18.4 12.4C17.9 11.6 16.8 11.4 15.9 11.9L16.9 13.4L17.9 14.9ZM11.9 15.9C11.4 16.8 11.6 17.9 12.4 18.4C13.3 19 14.4 18.8 14.9 17.9L13.4 16.9L11.9 15.9ZM13.3 21.9C13.5 20.9 12.9 19.9 11.9 19.7C10.9 19.5 10 20.2 9.8 21.2L11.5 21.5L13.3 21.9ZM9.8 26.8C10 27.8 10.9 28.5 11.9 28.3C12.9 28.1 13.5 27.1 13.3 26.1L11.5 26.5L9.8 26.8ZM14.9 30C14.4 29.2 13.3 29 12.4 29.5C11.6 30.1 11.4 31.2 11.9 32.1L13.4 31.1L14.9 30ZM15.9 36.1C16.8 36.6 17.9 36.4 18.4 35.6C19 34.7 18.8 33.6 17.9 33.1L16.9 34.6L15.9 36.1ZM21.9 34.7C20.9 34.5 19.9 35.1 19.7 36.1C19.5 37.1 20.2 38 21.2 38.2L21.5 36.5L21.9 34.7ZM26.8 38.2C27.8 38 28.5 37.1 28.3 36.1C28.1 35.1 27.1 34.5 26.1 34.7L26.5 36.5L26.8 38.2ZM30 33.1C29.2 33.6 29 34.7 29.5 35.6C30.1 36.4 31.2 36.6 32.1 36.1L31.1 34.6L30 33.1ZM36.1 32.1C36.6 31.2 36.4 30.1 35.6 29.5C34.7 29 33.6 29.2 33.1 30L34.6 31.1L36.1 32.1ZM34.7 26.1C34.5 27.1 35.1 28.1 36.1 28.3C37.1 28.5 38 27.8 38.2 26.8L36.5 26.5L34.7 26.1ZM36.7 24H38.5C38.5 23 38.4 22.1 38.2 21.2L36.5 21.5L34.7 21.9C34.8 22.6 34.9 23.3 34.9 24H36.7ZM34.6 16.9L36.1 15.9C35 14.3 33.6 13 32.1 11.9L31.1 13.4L30 14.9C31.2 15.7 32.3 16.8 33.1 17.9L34.6 16.9ZM26.5 11.5L26.8 9.8C25.9 9.6 25 9.5 24 9.5V11.3V13.1C24.7 13.1 25.4 13.2 26.1 13.3L26.5 11.5ZM24 11.3V9.5C23 9.5 22.1 9.6 21.2 9.8L21.5 11.5L21.9 13.3C22.6 13.2 23.3 13.1 24 13.1V11.3ZM16.9 13.4L15.9 11.9C14.3 13 13 14.3 11.9 15.9L13.4 16.9L14.9 17.9C15.7 16.8 16.8 15.7 17.9 14.9L16.9 13.4ZM11.5 21.5L9.8 21.2C9.6 22.1 9.5 23 9.5 24H11.3H13.1C13.1 23.3 13.2 22.6 13.3 21.9L11.5 21.5ZM11.3 24H9.5C9.5 25 9.6 25.9 9.8 26.8L11.5 26.5L13.3 26.1C13.2 25.4 13.1 24.7 13.1 24H11.3ZM13.4 31.1L11.9 32.1C13 33.6 14.3 35 15.9 36.1L16.9 34.6L17.9 33.1C16.8 32.3 15.7 31.2 14.9 30L13.4 31.1ZM21.5 36.5L21.2 38.2C22.1 38.4 23 38.5 24 38.5V36.7V34.9C23.3 34.9 22.6 34.8 21.9 34.7L21.5 36.5ZM24 36.7V38.5C25 38.5 25.9 38.4 26.8 38.2L26.5 36.5L26.1 34.7C25.4 34.8 24.7 34.9 24 34.9V36.7ZM31.1 34.6L32.1 36.1C33.6 35 35 33.6 36.1 32.1L34.6 31.1L33.1 30C32.3 31.2 31.2 32.3 30 33.1L31.1 34.6ZM36.5 26.5L38.2 26.8C38.4 25.9 38.5 25 38.5 24H36.7H34.9C34.9 24.7 34.8 25.4 34.7 26.1L36.5 26.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M45.4 19.8C45.2 18.8 44.2 18.1 43.2 18.3C42.2 18.5 41.6 19.5 41.8 20.5L43.6 20.1L45.4 19.8ZM39.1 13.9C39.6 14.7 40.8 15 41.6 14.4C42.4 13.9 42.7 12.7 42.1 11.9L40.6 12.9L39.1 13.9ZM36.1 5.9C35.3 5.3 34.1 5.6 33.6 6.4C33 7.2 33.2 8.3 34.1 8.9L35.1 7.4L36.1 5.9ZM27.5 6.2C28.5 6.4 29.5 5.7 29.7 4.8C29.9 3.8 29.2 2.8 28.2 2.6L27.9 4.4L27.5 6.2ZM19.8 2.6C18.8 2.8 18.1 3.8 18.3 4.8C18.5 5.7 19.5 6.4 20.5 6.2L20.1 4.4L19.8 2.6ZM13.9 8.9C14.7 8.3 15 7.2 14.4 6.4C13.9 5.6 12.7 5.3 11.9 5.9L12.9 7.4L13.9 8.9ZM5.9 11.9C5.3 12.7 5.6 13.9 6.4 14.4C7.2 15 8.3 14.7 8.9 13.9L7.4 12.9L5.9 11.9ZM6.2 20.5C6.4 19.5 5.7 18.5 4.8 18.3C3.8 18.1 2.8 18.8 2.6 19.8L4.4 20.1L6.2 20.5ZM2.6 28.2C2.8 29.2 3.8 29.9 4.8 29.7C5.7 29.5 6.4 28.5 6.2 27.5L4.4 27.9L2.6 28.2ZM8.9 34.1C8.3 33.2 7.2 33 6.4 33.6C5.6 34.1 5.3 35.3 5.9 36.1L7.4 35.1L8.9 34.1ZM11.9 42.1C12.7 42.7 13.9 42.4 14.4 41.6C15 40.8 14.7 39.6 13.9 39.1L12.9 40.6L11.9 42.1ZM20.5 41.8C19.5 41.6 18.5 42.2 18.3 43.2C18.1 44.2 18.8 45.2 19.8 45.4L20.1 43.6L20.5 41.8ZM28.2 45.4C29.2 45.2 29.9 44.2 29.7 43.2C29.5 42.2 28.5 41.6 27.5 41.8L27.9 43.6L28.2 45.4ZM34.1 39.1C33.2 39.6 33 40.8 33.6 41.6C34.1 42.4 35.3 42.7 36.1 42.1L35.1 40.6L34.1 39.1ZM42.1 36.1C42.7 35.3 42.4 34.1 41.6 33.6C40.8 33 39.6 33.2 39.1 34.1L40.6 35.1L42.1 36.1ZM41.8 27.5C41.6 28.5 42.2 29.5 43.2 29.7C44.2 29.9 45.2 29.2 45.4 28.2L43.6 27.9L41.8 27.5ZM44 24H45.8C45.8 22.5 45.6 21.1 45.4 19.8L43.6 20.1L41.8 20.5C42 21.6 42.1 22.8 42.1 24H44ZM40.6 12.9L42.1 11.9C40.5 9.5 38.5 7.5 36.1 5.9L35.1 7.4L34.1 8.9C36.1 10.2 37.8 11.9 39.1 13.9L40.6 12.9ZM27.9 4.4L28.2 2.6C26.9 2.4 25.5 2.2 24 2.2V4V5.9C25.2 5.9 26.4 6 27.5 6.2L27.9 4.4ZM24 4V2.2C22.5 2.2 21.1 2.4 19.8 2.6L20.1 4.4L20.5 6.2C21.6 6 22.8 5.9 24 5.9V4ZM12.9 7.4L11.9 5.9C9.5 7.5 7.5 9.5 5.9 11.9L7.4 12.9L8.9 13.9C10.2 11.9 11.9 10.2 13.9 8.9L12.9 7.4ZM4.4 20.1L2.6 19.8C2.4 21.1 2.2 22.5 2.2 24H4H5.9C5.9 22.8 6 21.6 6.2 20.5L4.4 20.1ZM4 24H2.2C2.2 25.5 2.4 26.9 2.6 28.2L4.4 27.9L6.2 27.5C6 26.4 5.9 25.2 5.9 24H4ZM7.4 35.1L5.9 36.1C7.5 38.5 9.5 40.5 11.9 42.1L12.9 40.6L13.9 39.1C11.9 37.8 10.2 36.1 8.9 34.1L7.4 35.1ZM20.1 43.6L19.8 45.4C21.1 45.6 22.5 45.8 24 45.8V44V42.1C22.8 42.1 21.6 42 20.5 41.8L20.1 43.6ZM24 44V45.8C25.5 45.8 26.9 45.6 28.2 45.4L27.9 43.6L27.5 41.8C26.4 42 25.2 42.1 24 42.1V44ZM35.1 40.6L36.1 42.1C38.5 40.5 40.5 38.5 42.1 36.1L40.6 35.1L39.1 34.1C37.8 36.1 36.1 37.8 34.1 39.1L35.1 40.6ZM43.6 27.9L45.4 28.2C45.6 26.9 45.8 25.5 45.8 24H44H42.1C42.1 25.2 42 26.4 41.8 27.5L43.6 27.9Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_4" d="M25.8 4C25.8 3 25 2.2 24 2.2C23 2.2 22.2 3 22.2 4H24H25.8ZM22.2 11.3C22.2 12.3 23 13.1 24 13.1C25 13.1 25.8 12.3 25.8 11.3H24H22.2ZM24 4H22.2V11.3H24H25.8V4H24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M25.8 36.7C25.8 35.7 25 34.9 24 34.9C23 34.9 22.2 35.7 22.2 36.7H24H25.8ZM22.2 44C22.2 45 23 45.8 24 45.8C25 45.8 25.8 45 25.8 44H24H22.2ZM24 36.7H22.2V44H24H25.8V36.7H24Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 5.9 KiB |
@@ -0,0 +1,14 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M30.5 24H28.4C28.4 26.4 26.4 28.4 24 28.4V30.5V32.7C28.8 32.7 32.7 28.8 32.7 24H30.5ZM24 30.5V28.4C21.6 28.4 19.6 26.4 19.6 24H17.5H15.3C15.3 28.8 19.2 32.7 24 32.7V30.5ZM17.5 24H19.6C19.6 21.6 21.6 19.6 24 19.6V17.5V15.3C19.2 15.3 15.3 19.2 15.3 24H17.5ZM24 17.5V19.6C26.4 19.6 28.4 21.6 28.4 24H30.5H32.7C32.7 19.2 28.8 15.3 24 15.3V17.5Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_3" d="M15.3 18.5C17.1 18.5 18.5 17.1 18.5 15.3C18.5 13.5 17.1 12 15.3 12C13.5 12 12 13.5 12 15.3C12 17.1 13.5 18.5 15.3 18.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M18.5 15.3H16.4C16.4 15.9 15.9 16.4 15.3 16.4V18.5V20.7C18.3 20.7 20.7 18.3 20.7 15.3H18.5ZM15.3 18.5V16.4C14.7 16.4 14.2 15.9 14.2 15.3H12H9.8C9.8 18.3 12.3 20.7 15.3 20.7V18.5ZM12 15.3H14.2C14.2 14.7 14.7 14.2 15.3 14.2V12V9.8C12.3 9.8 9.8 12.3 9.8 15.3H12ZM15.3 12V14.2C15.9 14.2 16.4 14.7 16.4 15.3H18.5H20.7C20.7 12.3 18.3 9.8 15.3 9.8V12Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M32.7 18.5C34.5 18.5 36 17.1 36 15.3C36 13.5 34.5 12 32.7 12C30.9 12 29.5 13.5 29.5 15.3C29.5 17.1 30.9 18.5 32.7 18.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M36 15.3H33.8C33.8 15.9 33.3 16.4 32.7 16.4V18.5V20.7C35.7 20.7 38.2 18.3 38.2 15.3H36ZM32.7 18.5V16.4C32.1 16.4 31.6 15.9 31.6 15.3H29.5H27.3C27.3 18.3 29.7 20.7 32.7 20.7V18.5ZM29.5 15.3H31.6C31.6 14.7 32.1 14.2 32.7 14.2V12V9.8C29.7 9.8 27.3 12.3 27.3 15.3H29.5ZM32.7 12V14.2C33.3 14.2 33.8 14.7 33.8 15.3H36H38.2C38.2 12.3 35.7 9.8 32.7 9.8V12Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M15.3 36C17.1 36 18.5 34.5 18.5 32.7C18.5 30.9 17.1 29.5 15.3 29.5C13.5 29.5 12 30.9 12 32.7C12 34.5 13.5 36 15.3 36Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_8" d="M18.5 32.7H16.4C16.4 33.3 15.9 33.8 15.3 33.8V36V38.2C18.3 38.2 20.7 35.7 20.7 32.7H18.5ZM15.3 36V33.8C14.7 33.8 14.2 33.3 14.2 32.7H12H9.8C9.8 35.7 12.3 38.2 15.3 38.2V36ZM12 32.7H14.2C14.2 32.1 14.7 31.6 15.3 31.6V29.5V27.3C12.3 27.3 9.8 29.7 9.8 32.7H12ZM15.3 29.5V31.6C15.9 31.6 16.4 32.1 16.4 32.7H18.5H20.7C20.7 29.7 18.3 27.3 15.3 27.3V29.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_9" d="M32.7 36C34.5 36 36 34.5 36 32.7C36 30.9 34.5 29.5 32.7 29.5C30.9 29.5 29.5 30.9 29.5 32.7C29.5 34.5 30.9 36 32.7 36Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_10" d="M36 32.7H33.8C33.8 33.3 33.3 33.8 32.7 33.8V36V38.2C35.7 38.2 38.2 35.7 38.2 32.7H36ZM32.7 36V33.8C32.1 33.8 31.6 33.3 31.6 32.7H29.5H27.3C27.3 35.7 29.7 38.2 32.7 38.2V36ZM29.5 32.7H31.6C31.6 32.1 32.1 31.6 32.7 31.6V29.5V27.3C29.7 27.3 27.3 29.7 27.3 32.7H29.5ZM32.7 29.5V31.6C33.3 31.6 33.8 32.1 33.8 32.7H36H38.2C38.2 29.7 35.7 27.3 32.7 27.3V29.5Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.0 KiB |
@@ -0,0 +1,16 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M24 6.5L25.3 4.8L24 3.8L22.7 4.8L24 6.5ZM24 41.4L22.7 43.2L24 44.2L25.3 43.2L24 41.4ZM24 6.5L22.7 8.3C24.4 9.6 25.8 11.8 26.8 14.6C27.8 17.4 28.4 20.7 28.4 24C28.4 27.3 27.8 30.6 26.8 33.4C25.8 36.2 24.4 38.4 22.7 39.7L24 41.4L25.3 43.2C27.9 41.2 29.8 38.2 31 34.9C32.1 31.5 32.7 27.8 32.7 24C32.7 20.2 32.1 16.4 31 13.1C29.8 9.8 27.9 6.8 25.3 4.8L24 6.5ZM24 41.4L25.3 39.7C23.6 38.4 22.1 36.2 21.1 33.4C20.1 30.6 19.6 27.3 19.6 24C19.6 20.7 20.1 17.4 21.1 14.6C22.1 11.8 23.6 9.6 25.3 8.3L24 6.5L22.7 4.8C20.1 6.8 18.2 9.8 17 13.1C15.8 16.4 15.3 20.2 15.3 24C15.3 27.8 15.8 31.5 17 34.9C18.2 38.2 20.1 41.2 22.7 43.2L24 41.4Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_3" d="M15.3 17.5C16.5 17.5 17.5 16.5 17.5 15.3C17.5 14.1 16.5 13.1 15.3 13.1C14.1 13.1 13.1 14.1 13.1 15.3C13.1 16.5 14.1 17.5 15.3 17.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M17.5 15.3H15.3V17.5V19.6C17.7 19.6 19.6 17.7 19.6 15.3H17.5ZM15.3 17.5V15.3H13.1H10.9C10.9 17.7 12.9 19.6 15.3 19.6V17.5ZM13.1 15.3H15.3V13.1V10.9C12.9 10.9 10.9 12.9 10.9 15.3H13.1ZM15.3 13.1V15.3H17.5H19.6C19.6 12.9 17.7 10.9 15.3 10.9V13.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M32.7 17.5C33.9 17.5 34.9 16.5 34.9 15.3C34.9 14.1 33.9 13.1 32.7 13.1C31.5 13.1 30.5 14.1 30.5 15.3C30.5 16.5 31.5 17.5 32.7 17.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M34.9 15.3H32.7V17.5V19.6C35.1 19.6 37.1 17.7 37.1 15.3H34.9ZM32.7 17.5V15.3H30.5H28.4C28.4 17.7 30.3 19.6 32.7 19.6V17.5ZM30.5 15.3H32.7V13.1V10.9C30.3 10.9 28.4 12.9 28.4 15.3H30.5ZM32.7 13.1V15.3H34.9H37.1C37.1 12.9 35.1 10.9 32.7 10.9V13.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M10.9 26.2C12.1 26.2 13.1 25.2 13.1 24C13.1 22.8 12.1 21.8 10.9 21.8C9.7 21.8 8.7 22.8 8.7 24C8.7 25.2 9.7 26.2 10.9 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_8" d="M13.1 24H10.9V26.2V28.4C13.3 28.4 15.3 26.4 15.3 24H13.1ZM10.9 26.2V24H8.7H6.5C6.5 26.4 8.5 28.4 10.9 28.4V26.2ZM8.7 24H10.9V21.8V19.6C8.5 19.6 6.5 21.6 6.5 24H8.7ZM10.9 21.8V24H13.1H15.3C15.3 21.6 13.3 19.6 10.9 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_9" d="M37.1 26.2C38.3 26.2 39.3 25.2 39.3 24C39.3 22.8 38.3 21.8 37.1 21.8C35.9 21.8 34.9 22.8 34.9 24C34.9 25.2 35.9 26.2 37.1 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_10" d="M39.3 24H37.1V26.2V28.4C39.5 28.4 41.4 26.4 41.4 24H39.3ZM37.1 26.2V24H34.9H32.7C32.7 26.4 34.7 28.4 37.1 28.4V26.2ZM34.9 24H37.1V21.8V19.6C34.7 19.6 32.7 21.6 32.7 24H34.9ZM37.1 21.8V24H39.3H41.4C41.4 21.6 39.5 19.6 37.1 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_11" d="M24 34.9C25.2 34.9 26.2 33.9 26.2 32.7C26.2 31.5 25.2 30.5 24 30.5C22.8 30.5 21.8 31.5 21.8 32.7C21.8 33.9 22.8 34.9 24 34.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_12" d="M26.2 32.7H24V34.9V37.1C26.4 37.1 28.4 35.1 28.4 32.7H26.2ZM24 34.9V32.7H21.8H19.6C19.6 35.1 21.6 37.1 24 37.1V34.9ZM21.8 32.7H24V30.5V28.4C21.6 28.4 19.6 30.3 19.6 32.7H21.8ZM24 30.5V32.7H26.2H28.4C28.4 30.3 26.4 28.4 24 28.4V30.5Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.4 KiB |
@@ -0,0 +1,16 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M24 10.9H15.8V37.1H24H32.2V10.9H24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M10.9 24V32.2H37.1V24V15.8H10.9V24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M24 17.5C25.2 17.5 26.2 16.5 26.2 15.3C26.2 14.1 25.2 13.1 24 13.1C22.8 13.1 21.8 14.1 21.8 15.3C21.8 16.5 22.8 17.5 24 17.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M26.2 15.3H24V17.5V19.6C26.4 19.6 28.4 17.7 28.4 15.3H26.2ZM24 17.5V15.3H21.8H19.6C19.6 17.7 21.6 19.6 24 19.6V17.5ZM21.8 15.3H24V13.1V10.9C21.6 10.9 19.6 12.9 19.6 15.3H21.8ZM24 13.1V15.3H26.2H28.4C28.4 12.9 26.4 10.9 24 10.9V13.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_7" d="M24 34.9C25.2 34.9 26.2 33.9 26.2 32.7C26.2 31.5 25.2 30.5 24 30.5C22.8 30.5 21.8 31.5 21.8 32.7C21.8 33.9 22.8 34.9 24 34.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_8" d="M26.2 32.7H24V34.9V37.1C26.4 37.1 28.4 35.1 28.4 32.7H26.2ZM24 34.9V32.7H21.8H19.6C19.6 35.1 21.6 37.1 24 37.1V34.9ZM21.8 32.7H24V30.5V28.4C21.6 28.4 19.6 30.3 19.6 32.7H21.8ZM24 30.5V32.7H26.2H28.4C28.4 30.3 26.4 28.4 24 28.4V30.5Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_9" d="M15.3 26.2C16.5 26.2 17.5 25.2 17.5 24C17.5 22.8 16.5 21.8 15.3 21.8C14.1 21.8 13.1 22.8 13.1 24C13.1 25.2 14.1 26.2 15.3 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_10" d="M17.5 24H15.3V26.2V28.4C17.7 28.4 19.6 26.4 19.6 24H17.5ZM15.3 26.2V24H13.1H10.9C10.9 26.4 12.9 28.4 15.3 28.4V26.2ZM13.1 24H15.3V21.8V19.6C12.9 19.6 10.9 21.6 10.9 24H13.1ZM15.3 21.8V24H17.5H19.6C19.6 21.6 17.7 19.6 15.3 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_11" d="M32.7 26.2C33.9 26.2 34.9 25.2 34.9 24C34.9 22.8 33.9 21.8 32.7 21.8C31.5 21.8 30.5 22.8 30.5 24C30.5 25.2 31.5 26.2 32.7 26.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_12" d="M34.9 24H32.7V26.2V28.4C35.1 28.4 37.1 26.4 37.1 24H34.9ZM32.7 26.2V24H30.5H28.4C28.4 26.4 30.3 28.4 32.7 28.4V26.2ZM30.5 24H32.7V21.8V19.6C30.3 19.6 28.4 21.6 28.4 24H30.5ZM32.7 21.8V24H34.9H37.1C37.1 21.6 35.1 19.6 32.7 19.6V21.8Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
export { default } from "./PatternGlyph";
|
||||||
|
export {
|
||||||
|
PATTERN_GLYPH_OPTIONS,
|
||||||
|
PATTERN_GLYPH_SIZE_OPTIONS,
|
||||||
|
} from "./PatternGlyph";
|
||||||
|
export type {
|
||||||
|
PatternGlyphName,
|
||||||
|
PatternGlyphProps,
|
||||||
|
PatternGlyphSize,
|
||||||
|
} from "./PatternGlyph";
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M43.6 24H40.9C40.9 33.3 33.3 40.9 24 40.9V43.6V46.3C36.3 46.3 46.3 36.3 46.3 24H43.6ZM24 43.6V40.9C14.7 40.9 7.1 33.3 7.1 24H4.4H1.7C1.7 36.3 11.7 46.3 24 46.3V43.6ZM4.4 24H7.1C7.1 14.7 14.7 7.1 24 7.1V4.4V1.7C11.7 1.7 1.7 11.7 1.7 24H4.4ZM24 4.4V7.1C33.3 7.1 40.9 14.7 40.9 24H43.6H46.3C46.3 11.7 36.3 1.7 24 1.7V4.4Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_2" d="M14.4 6.4L12.6 8.4C15.8 11.4 18.9 17.8 20.9 25C22.8 32.3 23.3 39.4 22 43.6L24.6 44.3L27.2 45.1C28.9 39.5 28.1 31.2 26.1 23.6C24.1 16.1 20.6 8.5 16.3 4.4L14.4 6.4Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_3" d="M7.1 18.6L7 21.3C11.5 21.5 15.5 23.9 18.4 27.7C21.3 31.5 22.9 36.5 22.7 41.3L25.4 41.4L28.1 41.5C28.4 35.4 26.3 29.2 22.7 24.4C19 19.6 13.7 16.1 7.2 15.8L7.1 18.6Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_4" d="M38.6 13.6L37.8 11C31.4 13 26.9 17.9 24.5 23.6C22.1 29.4 21.7 36.1 23.7 42.2L26.2 41.4L28.8 40.6C27.3 35.8 27.6 30.3 29.5 25.7C31.4 21.1 34.8 17.6 39.4 16.2L38.6 13.6Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M13.8 13.8V11.8H11.8V13.8H13.8ZM29.6 13.8H31.6V11.8H29.6V13.8ZM29.6 15.7V17.7H31.6V15.7H29.6ZM13.8 15.7H11.8V17.7H13.8V15.7ZM13.8 13.8V15.7H29.6V13.8V11.8H13.8V13.8ZM29.6 13.8H27.6V15.7H29.6H31.6V13.8H29.6ZM29.6 15.7V13.8H13.8V15.7V17.7H29.6V15.7ZM13.8 15.7H15.7V13.8H13.8H11.8V15.7H13.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M13.8 19.7V17.7H11.8V19.7H13.8ZM23.7 19.7H25.6V17.7H23.7V19.7ZM23.7 21.7V23.7H25.6V21.7H23.7ZM13.8 21.7H11.8V23.7H13.8V21.7ZM13.8 19.7V21.7H23.7V19.7V17.7H13.8V19.7ZM23.7 19.7H21.7V21.7H23.7H25.6V19.7H23.7ZM23.7 21.7V19.7H13.8V21.7V23.7H23.7V21.7ZM13.8 21.7H15.7V19.7H13.8H11.8V21.7H13.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M13.8 25.6V23.7H11.8V25.6H13.8ZM19.7 25.6H21.7V23.7H19.7V25.6ZM19.7 27.6V29.6H21.7V27.6H19.7ZM13.8 27.6H11.8V29.6H13.8V27.6ZM13.8 25.6V27.6H19.7V25.6V23.7H13.8V25.6ZM19.7 25.6H17.7V27.6H19.7H21.7V25.6H19.7ZM19.7 27.6V25.6H13.8V27.6V29.6H19.7V27.6ZM13.8 27.6H15.7V25.6H13.8H11.8V27.6H13.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M35.5 31.6H33.6C33.6 32.7 32.7 33.6 31.6 33.6V35.5V37.5C34.9 37.5 37.5 34.9 37.5 31.6H35.5ZM31.6 35.5V33.6C30.5 33.6 29.6 32.7 29.6 31.6H27.6H25.6C25.6 34.9 28.3 37.5 31.6 37.5V35.5ZM27.6 31.6H29.6C29.6 30.5 30.5 29.6 31.6 29.6V27.6V25.6C28.3 25.6 25.6 28.3 25.6 31.6H27.6ZM31.6 27.6V29.6C32.7 29.6 33.6 30.5 33.6 31.6H35.5H37.5C37.5 28.3 34.9 25.6 31.6 25.6V27.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,8 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M39 21C38.7 19.8 37.6 19.1 36.4 19.3C35.2 19.5 34.5 20.7 34.7 21.9L36.8 21.4L39 21ZM33.1 17.9C33.7 18.9 35.1 19.2 36.1 18.5C37.1 17.9 37.4 16.5 36.7 15.5L34.9 16.7L33.1 17.9ZM32.5 11.3C31.5 10.6 30.1 10.9 29.5 11.9C28.8 12.9 29.1 14.3 30.1 14.9L31.3 13.1L32.5 11.3ZM26.1 13.3C27.3 13.5 28.5 12.8 28.7 11.6C28.9 10.4 28.2 9.3 27 9L26.6 11.2L26.1 13.3ZM21 9C19.8 9.3 19.1 10.4 19.3 11.6C19.5 12.8 20.7 13.5 21.9 13.3L21.4 11.2L21 9ZM17.9 14.9C18.9 14.3 19.2 12.9 18.5 11.9C17.9 10.9 16.5 10.6 15.5 11.3L16.7 13.1L17.9 14.9ZM11.3 15.5C10.6 16.5 10.9 17.9 11.9 18.5C12.9 19.2 14.3 18.9 14.9 17.9L13.1 16.7L11.3 15.5ZM13.3 21.9C13.5 20.7 12.8 19.5 11.6 19.3C10.4 19.1 9.3 19.8 9 21L11.2 21.4L13.3 21.9ZM9 27C9.3 28.2 10.4 28.9 11.6 28.7C12.8 28.5 13.5 27.3 13.3 26.1L11.2 26.6L9 27ZM14.9 30.1C14.3 29.1 12.9 28.8 11.9 29.5C10.9 30.1 10.6 31.5 11.3 32.5L13.1 31.3L14.9 30.1ZM15.5 36.7C16.5 37.4 17.9 37.1 18.5 36.1C19.2 35.1 18.9 33.7 17.9 33.1L16.7 34.9L15.5 36.7ZM21.9 34.7C20.7 34.5 19.5 35.2 19.3 36.4C19.1 37.6 19.8 38.7 21 39L21.4 36.8L21.9 34.7ZM27 39C28.2 38.7 28.9 37.6 28.7 36.4C28.5 35.2 27.3 34.5 26.1 34.7L26.6 36.8L27 39ZM30.1 33.1C29.1 33.7 28.8 35.1 29.5 36.1C30.1 37.1 31.5 37.4 32.5 36.7L31.3 34.9L30.1 33.1ZM36.7 32.5C37.4 31.5 37.1 30.1 36.1 29.5C35.1 28.8 33.7 29.1 33.1 30.1L34.9 31.3L36.7 32.5ZM34.7 26.1C34.5 27.3 35.2 28.5 36.4 28.7C37.6 28.9 38.7 28.2 39 27L36.8 26.6L34.7 26.1ZM37.1 24H39.3C39.3 23 39.2 22 39 21L36.8 21.4L34.7 21.9C34.8 22.6 34.9 23.3 34.9 24H37.1ZM34.9 16.7L36.7 15.5C35.6 13.8 34.1 12.4 32.5 11.3L31.3 13.1L30.1 14.9C31.2 15.7 32.3 16.7 33.1 17.9L34.9 16.7ZM26.6 11.2L27 9C26 8.8 25 8.7 24 8.7V10.9V13.1C24.7 13.1 25.4 13.2 26.1 13.3L26.6 11.2ZM24 10.9V8.7C23 8.7 22 8.8 21 9L21.4 11.2L21.9 13.3C22.6 13.2 23.3 13.1 24 13.1V10.9ZM16.7 13.1L15.5 11.3C13.8 12.4 12.4 13.8 11.3 15.5L13.1 16.7L14.9 17.9C15.7 16.7 16.7 15.7 17.9 14.9L16.7 13.1ZM11.2 21.4L9 21C8.8 22 8.7 23 8.7 24H10.9H13.1C13.1 23.3 13.2 22.6 13.3 21.9L11.2 21.4ZM10.9 24H8.7C8.7 25 8.8 26 9 27L11.2 26.6L13.3 26.1C13.2 25.4 13.1 24.7 13.1 24H10.9ZM13.1 31.3L11.3 32.5C12.4 34.1 13.8 35.6 15.5 36.7L16.7 34.9L17.9 33.1C16.7 32.3 15.7 31.2 14.9 30.1L13.1 31.3ZM21.4 36.8L21 39C22 39.2 23 39.3 24 39.3V37.1V34.9C23.3 34.9 22.6 34.8 21.9 34.7L21.4 36.8ZM24 37.1V39.3C25 39.3 26 39.2 27 39L26.6 36.8L26.1 34.7C25.4 34.8 24.7 34.9 24 34.9V37.1ZM31.3 34.9L32.5 36.7C34.1 35.6 35.6 34.1 36.7 32.5L34.9 31.3L33.1 30.1C32.3 31.2 31.2 32.3 30.1 33.1L31.3 34.9ZM36.8 26.6L39 27C39.2 26 39.3 25 39.3 24H37.1H34.9C34.9 24.7 34.8 25.4 34.7 26.1L36.8 26.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M24 28.4C26.4 28.4 28.4 26.4 28.4 24C28.4 21.6 26.4 19.6 24 19.6C21.6 19.6 19.6 21.6 19.6 24C19.6 26.4 21.6 28.4 24 28.4Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M28.4 24H26.2C26.2 25.2 25.2 26.2 24 26.2V28.4V30.5C27.6 30.5 30.5 27.6 30.5 24H28.4ZM24 28.4V26.2C22.8 26.2 21.8 25.2 21.8 24H19.6H17.5C17.5 27.6 20.4 30.5 24 30.5V28.4ZM19.6 24H21.8C21.8 22.8 22.8 21.8 24 21.8V19.6V17.5C20.4 17.5 17.5 20.4 17.5 24H19.6ZM24 19.6V21.8C25.2 21.8 26.2 22.8 26.2 24H28.4H30.5C30.5 20.4 27.6 17.5 24 17.5V19.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,5 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2ZM45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 473 B |
@@ -0,0 +1,8 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M19.6 15.3V17.5H28.4V15.3V13.1H19.6V15.3ZM28.4 15.3V17.5C29.6 17.5 30.5 18.4 30.5 19.6H32.7H34.9C34.9 16 32 13.1 28.4 13.1V15.3ZM32.7 19.6H30.5V28.4H32.7H34.9V19.6H32.7ZM32.7 28.4H30.5C30.5 29.6 29.6 30.5 28.4 30.5V32.7V34.9C32 34.9 34.9 32 34.9 28.4H32.7ZM28.4 32.7V30.5H19.6V32.7V34.9H28.4V32.7ZM19.6 32.7V30.5C18.4 30.5 17.5 29.6 17.5 28.4H15.3H13.1C13.1 32 16 34.9 19.6 34.9V32.7ZM15.3 28.4H17.5V19.6H15.3H13.1V28.4H15.3ZM15.3 19.6H17.5C17.5 18.4 18.4 17.5 19.6 17.5V15.3V13.1C16 13.1 13.1 16 13.1 19.6H15.3Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M24 15.3H21.8V32.7H24H26.2V15.3H24ZM15.3 24V26.2H32.7V24V21.8H15.3V24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M28.4 24H26.2C26.2 25.2 25.2 26.2 24 26.2V28.4V30.5C27.6 30.5 30.5 27.6 30.5 24H28.4ZM24 28.4V26.2C22.8 26.2 21.8 25.2 21.8 24H19.6H17.5C17.5 27.6 20.4 30.5 24 30.5V28.4ZM19.6 24H21.8C21.8 22.8 22.8 21.8 24 21.8V19.6V17.5C20.4 17.5 17.5 20.4 17.5 24H19.6ZM24 19.6V21.8C25.2 21.8 26.2 22.8 26.2 24H28.4H30.5C30.5 20.4 27.6 17.5 24 17.5V19.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.5 KiB |
@@ -0,0 +1,7 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M26.2 10.9C26.2 9.7 25.2 8.7 24 8.7C22.8 8.7 21.8 9.7 21.8 10.9H24H26.2ZM24 24H21.8C21.8 24.8 22.3 25.6 23 26L24 24ZM31.7 30.3C32.8 30.9 34.1 30.4 34.7 29.3C35.2 28.3 34.8 26.9 33.7 26.4L32.7 28.4L31.7 30.3ZM24 10.9H21.8V24H24H26.2V10.9H24ZM24 24L23 26L31.7 30.3L32.7 28.4L33.7 26.4L25 22L24 24Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_3" d="M4.4 24C4.4 25.2 5.3 26.2 6.5 26.2C7.8 26.2 8.7 25.2 8.7 24H6.5H4.4ZM39.3 24C39.3 25.2 40.2 26.2 41.4 26.2C42.7 26.2 43.6 25.2 43.6 24H41.4H39.3ZM9 21C9.3 19.8 8.5 18.7 7.3 18.5C6.1 18.2 5 19 4.7 20.2L6.9 20.6L9 21ZM7.7 13.1C7 14.1 7.3 15.4 8.3 16.1C9.3 16.8 10.6 16.5 11.3 15.5L9.5 14.3L7.7 13.1ZM15.5 11.3C16.5 10.6 16.8 9.3 16.1 8.3C15.4 7.3 14.1 7 13.1 7.7L14.3 9.5L15.5 11.3ZM20.2 4.7C19 5 18.2 6.1 18.5 7.3C18.7 8.5 19.8 9.3 21 9L20.6 6.9L20.2 4.7ZM27 9C28.2 9.3 29.3 8.5 29.5 7.3C29.8 6.1 29 5 27.8 4.7L27.4 6.9L27 9ZM34.9 7.7C33.9 7 32.5 7.3 31.9 8.3C31.2 9.3 31.5 10.6 32.5 11.3L33.7 9.5L34.9 7.7ZM36.7 15.5C37.4 16.5 38.7 16.8 39.7 16.1C40.7 15.4 41 14.1 40.3 13.1L38.5 14.3L36.7 15.5ZM43.3 20.2C43 19 41.9 18.2 40.7 18.5C39.5 18.7 38.7 19.8 39 21L41.1 20.6L43.3 20.2ZM6.5 24H8.7C8.7 23 8.8 22 9 21L6.9 20.6L4.7 20.2C4.5 21.4 4.4 22.7 4.4 24H6.5ZM9.5 14.3L11.3 15.5C11.9 14.7 12.5 13.9 13.2 13.2L11.7 11.7L10.1 10.1C9.2 11 8.4 12 7.7 13.1L9.5 14.3ZM11.7 11.7L13.2 13.2C13.9 12.5 14.7 11.9 15.5 11.3L14.3 9.5L13.1 7.7C12 8.4 11 9.2 10.1 10.1L11.7 11.7ZM20.6 6.9L21 9C22 8.8 23 8.7 24 8.7V6.5V4.4C22.7 4.4 21.4 4.5 20.2 4.7L20.6 6.9ZM24 6.5V8.7C25 8.7 26 8.8 27 9L27.4 6.9L27.8 4.7C26.6 4.5 25.3 4.4 24 4.4V6.5ZM33.7 9.5L32.5 11.3C33.3 11.9 34.1 12.5 34.8 13.2L36.3 11.7L37.9 10.1C37 9.2 36 8.4 34.9 7.7L33.7 9.5ZM36.3 11.7L34.8 13.2C35.5 13.9 36.1 14.7 36.7 15.5L38.5 14.3L40.3 13.1C39.6 12 38.8 11 37.9 10.1L36.3 11.7ZM41.1 20.6L39 21C39.2 22 39.3 23 39.3 24H41.4H43.6C43.6 22.7 43.5 21.4 43.3 20.2L41.1 20.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.3 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M26.2 15.3H24C24 20.1 20.1 24 15.3 24V26.2V28.4C22.5 28.4 28.4 22.5 28.4 15.3H26.2ZM15.3 26.2V24C10.5 24 6.5 20.1 6.5 15.3H4.4H2.2C2.2 22.5 8 28.4 15.3 28.4V26.2ZM4.4 15.3H6.5C6.5 10.5 10.5 6.5 15.3 6.5V4.4V2.2C8 2.2 2.2 8 2.2 15.3H4.4ZM15.3 4.4V6.5C20.1 6.5 24 10.5 24 15.3H26.2H28.4C28.4 8 22.5 2.2 15.3 2.2V4.4Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M43.6 32.7H41.4C41.4 37.5 37.5 41.4 32.7 41.4V43.6V45.8C39.9 45.8 45.8 39.9 45.8 32.7H43.6ZM32.7 43.6V41.4C27.9 41.4 24 37.5 24 32.7H21.8H19.6C19.6 39.9 25.5 45.8 32.7 45.8V43.6ZM21.8 32.7H24C24 27.9 27.9 24 32.7 24V21.8V19.6C25.5 19.6 19.6 25.5 19.6 32.7H21.8ZM32.7 21.8V24C37.5 24 41.4 27.9 41.4 32.7H43.6H45.8C45.8 25.5 39.9 19.6 32.7 19.6V21.8Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_3" d="M15.3 19.6C17.7 19.6 19.6 17.7 19.6 15.3C19.6 12.9 17.7 10.9 15.3 10.9C12.9 10.9 10.9 12.9 10.9 15.3C10.9 17.7 12.9 19.6 15.3 19.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M19.6 15.3H17.5C17.5 16.5 16.5 17.5 15.3 17.5V19.6V21.8C18.9 21.8 21.8 18.9 21.8 15.3H19.6ZM15.3 19.6V17.5C14.1 17.5 13.1 16.5 13.1 15.3H10.9H8.7C8.7 18.9 11.7 21.8 15.3 21.8V19.6ZM10.9 15.3H13.1C13.1 14.1 14.1 13.1 15.3 13.1V10.9V8.7C11.7 8.7 8.7 11.7 8.7 15.3H10.9ZM15.3 10.9V13.1C16.5 13.1 17.5 14.1 17.5 15.3H19.6H21.8C21.8 11.7 18.9 8.7 15.3 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M32.7 37.1C35.1 37.1 37.1 35.1 37.1 32.7C37.1 30.3 35.1 28.4 32.7 28.4C30.3 28.4 28.4 30.3 28.4 32.7C28.4 35.1 30.3 37.1 32.7 37.1Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M37.1 32.7H34.9C34.9 33.9 33.9 34.9 32.7 34.9V37.1V39.3C36.3 39.3 39.3 36.3 39.3 32.7H37.1ZM32.7 37.1V34.9C31.5 34.9 30.5 33.9 30.5 32.7H28.4H26.2C26.2 36.3 29.1 39.3 32.7 39.3V37.1ZM28.4 32.7H30.5C30.5 31.5 31.5 30.5 32.7 30.5V28.4V26.2C29.1 26.2 26.2 29.1 26.2 32.7H28.4ZM32.7 28.4V30.5C33.9 30.5 34.9 31.5 34.9 32.7H37.1H39.3C39.3 29.1 36.3 26.2 32.7 26.2V28.4Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M29.5 11.2H27.3C27.3 13 25.8 14.5 24 14.5V16.7V18.9C28.2 18.9 31.6 15.5 31.6 11.2H29.5ZM24 16.7V14.5C22.2 14.5 20.7 13 20.7 11.2H18.5H16.4C16.4 15.5 19.8 18.9 24 18.9V16.7ZM18.5 11.2H20.7C20.7 9.4 22.2 8 24 8V5.8V3.6C19.8 3.6 16.4 7 16.4 11.2H18.5ZM24 5.8V8C25.8 8 27.3 9.4 27.3 11.2H29.5H31.6C31.6 7 28.2 3.6 24 3.6V5.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M18.5 30.9H16.4C16.4 32.7 14.9 34.1 13.1 34.1V36.3V38.5C17.3 38.5 20.7 35.1 20.7 30.9H18.5ZM13.1 36.3V34.1C11.3 34.1 9.8 32.7 9.8 30.9H7.6H5.5C5.5 35.1 8.9 38.5 13.1 38.5V36.3ZM7.6 30.9H9.8C9.8 29.1 11.3 27.6 13.1 27.6V25.4V23.2C8.9 23.2 5.5 26.7 5.5 30.9H7.6ZM13.1 25.4V27.6C14.9 27.6 16.4 29.1 16.4 30.9H18.5H20.7C20.7 26.7 17.3 23.2 13.1 23.2V25.4Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M40.4 30.9H38.2C38.2 32.7 36.7 34.1 34.9 34.1V36.3V38.5C39.1 38.5 42.5 35.1 42.5 30.9H40.4ZM34.9 36.3V34.1C33.1 34.1 31.6 32.7 31.6 30.9H29.5H27.3C27.3 35.1 30.7 38.5 34.9 38.5V36.3ZM29.5 30.9H31.6C31.6 29.1 33.1 27.6 34.9 27.6V25.4V23.2C30.7 23.2 27.3 26.7 27.3 30.9H29.5ZM34.9 25.4V27.6C36.7 27.6 38.2 29.1 38.2 30.9H40.4H42.5C42.5 26.7 39.1 23.2 34.9 23.2V25.4Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M18.5 27.6V29.8H29.5V27.6V25.4H18.5V27.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M27.9 29.1C28.8 30 30.1 30 31 29.1C31.8 28.3 31.8 26.9 31 26.1L29.5 27.6L27.9 29.1ZM25.5 20.6C24.7 19.8 23.3 19.8 22.5 20.6C21.6 21.5 21.6 22.8 22.5 23.7L24 22.1L25.5 20.6ZM29.5 27.6L31 26.1L25.5 20.6L24 22.1L22.5 23.7L27.9 29.1L29.5 27.6Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,9 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M37.1 24H34.9C34.9 30 30 34.9 24 34.9V37.1V39.3C32.4 39.3 39.3 32.4 39.3 24H37.1ZM24 37.1V34.9C18 34.9 13.1 30 13.1 24H10.9H8.7C8.7 32.4 15.6 39.3 24 39.3V37.1ZM10.9 24H13.1C13.1 18 18 13.1 24 13.1V10.9V8.7C15.6 8.7 8.7 15.6 8.7 24H10.9ZM24 10.9V13.1C30 13.1 34.9 18 34.9 24H37.1H39.3C39.3 15.6 32.4 8.7 24 8.7V10.9Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M28.4 24H26.2C26.2 25.2 25.2 26.2 24 26.2V28.4V30.5C27.6 30.5 30.5 27.6 30.5 24H28.4ZM24 28.4V26.2C22.8 26.2 21.8 25.2 21.8 24H19.6H17.5C17.5 27.6 20.4 30.5 24 30.5V28.4ZM19.6 24H21.8C21.8 22.8 22.8 21.8 24 21.8V19.6V17.5C20.4 17.5 17.5 20.4 17.5 24H19.6ZM24 19.6V21.8C25.2 21.8 26.2 22.8 26.2 24H28.4H30.5C30.5 20.4 27.6 17.5 24 17.5V19.6Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M26.2 2.2C26.2 1 25.2 0 24 0C22.8 0 21.8 1 21.8 2.2H24H26.2ZM21.8 10.9C21.8 12.1 22.8 13.1 24 13.1C25.2 13.1 26.2 12.1 26.2 10.9H24H21.8ZM26.2 19.6C26.2 18.4 25.2 17.5 24 17.5C22.8 17.5 21.8 18.4 21.8 19.6H24H26.2ZM21.8 28.4C21.8 29.6 22.8 30.5 24 30.5C25.2 30.5 26.2 29.6 26.2 28.4H24H21.8ZM26.2 37.1C26.2 35.9 25.2 34.9 24 34.9C22.8 34.9 21.8 35.9 21.8 37.1H24H26.2ZM21.8 41.4C21.8 42.7 22.8 43.6 24 43.6C25.2 43.6 26.2 42.7 26.2 41.4H24H21.8ZM24 2.2H21.8V10.9H24H26.2V2.2H24ZM24 19.6H21.8V28.4H24H26.2V19.6H24ZM24 37.1H21.8V41.4H24H26.2V37.1H24Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M2.2 21.8C1 21.8 0 22.8 0 24C0 25.2 1 26.2 2.2 26.2V24V21.8ZM10.9 26.2C12.1 26.2 13.1 25.2 13.1 24C13.1 22.8 12.1 21.8 10.9 21.8V24V26.2ZM19.6 21.8C18.4 21.8 17.5 22.8 17.5 24C17.5 25.2 18.4 26.2 19.6 26.2V24V21.8ZM28.4 26.2C29.6 26.2 30.5 25.2 30.5 24C30.5 22.8 29.6 21.8 28.4 21.8V24V26.2ZM37.1 21.8C35.9 21.8 34.9 22.8 34.9 24C34.9 25.2 35.9 26.2 37.1 26.2V24V21.8ZM41.4 26.2C42.7 26.2 43.6 25.2 43.6 24C43.6 22.8 42.7 21.8 41.4 21.8V24V26.2ZM2.2 24V26.2H10.9V24V21.8H2.2V24ZM19.6 24V26.2H28.4V24V21.8H19.6V24ZM37.1 24V26.2H41.4V24V21.8H37.1V24Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,10 @@
|
|||||||
|
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<g id="Shape">
|
||||||
|
<path id="Vector" d="M45.8 24H43.6C43.6 34.8 34.8 43.6 24 43.6V45.8V48C37.3 48 48 37.3 48 24H45.8ZM24 45.8V43.6C13.2 43.6 4.4 34.8 4.4 24H2.2H0C0 37.3 10.7 48 24 48V45.8ZM2.2 24H4.4C4.4 13.2 13.2 4.4 24 4.4V2.2V0C10.7 0 0 10.7 0 24H2.2ZM24 2.2V4.4C34.8 4.4 43.6 13.2 43.6 24H45.8H48C48 10.7 37.3 0 24 0V2.2Z" fill="currentColor" fill-opacity="0.5"/>
|
||||||
|
<path id="Vector_2" d="M12.8 13.7V12.4H11.4V13.7H12.8ZM27.9 35.7L26.9 36.6L29.2 39V35.7H27.9ZM12.8 32.9H11.4V34.3H12.8V32.9ZM12.8 13.7V15.1H22.4V13.7V12.4H12.8V13.7ZM22.4 13.7V15.1C23.3 15.1 24.4 15.6 25.2 16.4C26 17.2 26.5 18.3 26.5 19.2H27.9H29.2C29.2 17.4 28.4 15.7 27.1 14.5C25.9 13.3 24.2 12.4 22.4 12.4V13.7ZM27.9 19.2H26.5V35.7H27.9H29.2V19.2H27.9ZM27.9 35.7L28.8 34.7C27.5 33.3 25.7 31.5 22.4 31.5V32.9V34.3C24.5 34.3 25.6 35.3 26.9 36.6L27.9 35.7ZM22.4 32.9V31.5H12.8V32.9V34.3H22.4V32.9ZM12.8 32.9H14.2V13.7H12.8H11.4V32.9H12.8Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_3" d="M34.7 13.7H36.1V12.4H34.7V13.7ZM19.7 35.7H18.3V39L20.6 36.6L19.7 35.7ZM34.7 32.9V34.3H36.1V32.9H34.7ZM34.7 13.7V12.4H25.1V13.7V15.1H34.7V13.7ZM25.1 13.7V12.4C23.3 12.4 21.6 13.3 20.4 14.5C19.2 15.7 18.3 17.4 18.3 19.2H19.7H21C21 18.3 21.5 17.2 22.3 16.4C23.2 15.6 24.2 15.1 25.1 15.1V13.7ZM19.7 19.2H18.3V35.7H19.7H21V19.2H19.7ZM19.7 35.7L20.6 36.6C22 35.3 23 34.3 25.1 34.3V32.9V31.5C21.8 31.5 20.1 33.3 18.7 34.7L19.7 35.7ZM25.1 32.9V34.3H34.7V32.9V31.5H25.1V32.9ZM34.7 32.9H36.1V13.7H34.7H33.4V32.9H34.7Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_4" d="M23.8 24.7C25.3 24.7 26.5 23.5 26.5 22C26.5 20.4 25.3 19.2 23.8 19.2C22.3 19.2 21 20.4 21 22C21 23.5 22.3 24.7 23.8 24.7Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_5" d="M26.5 22H25.1C25.1 22.7 24.5 23.3 23.8 23.3V24.7V26.1C26 26.1 27.9 24.2 27.9 22H26.5ZM23.8 24.7V23.3C23 23.3 22.4 22.7 22.4 22H21H19.7C19.7 24.2 21.5 26.1 23.8 26.1V24.7ZM21 22H22.4C22.4 21.2 23 20.6 23.8 20.6V19.2V17.8C21.5 17.8 19.7 19.7 19.7 22H21ZM23.8 19.2V20.6C24.5 20.6 25.1 21.2 25.1 22H26.5H27.9C27.9 19.7 26 17.8 23.8 17.8V19.2Z" fill="currentColor"/>
|
||||||
|
<path id="Vector_6" d="M23.8 24.7H22.4V32.9H23.8H25.1V24.7H23.8Z" fill="currentColor"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.2 KiB |
@@ -208,6 +208,8 @@ Full folder map and PNG audit: **[guides/static-assets.md](./guides/static-asset
|
|||||||
|
|
||||||
- **Imports:** use **`asset/icon`** (named **`Icon`** component), **`asset/Logo`**, **`asset/Avatar`**, etc.—same rule as **`buttons/Button`**, no top-level **`asset/index.tsx`** barrel.
|
- **Imports:** use **`asset/icon`** (named **`Icon`** component), **`asset/Logo`**, **`asset/Avatar`**, etc.—same rule as **`buttons/Button`**, no top-level **`asset/index.tsx`** barrel.
|
||||||
- **`asset/icon/`** — **`Icon.tsx`** maps icon names to SVG modules beside it (`arrow_back.svg`, …); **`index.tsx`** re-exports **`Icon`** and **`ICON_NAME_OPTIONS`** / types.
|
- **`asset/icon/`** — **`Icon.tsx`** maps icon names to SVG modules beside it (`arrow_back.svg`, …); **`index.tsx`** re-exports **`Icon`** and **`ICON_NAME_OPTIONS`** / types.
|
||||||
|
- **`asset/DiagramGlyph/`** — Figma [**Asset / Diagram Glyph**](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=25359-65776) (25359:65776). 17 inline SVGs on a 48 viewBox; paths use `currentColor`.
|
||||||
|
- **`asset/PatternGlyph/`** — Figma [**Asset / Pattern Glyph**](https://www.figma.com/design/agv0VBLiBlcnSAaiAORgPR/Community-Rule-System?node-id=25449-199) (25449:199). 18 zine pattern marks; same `currentColor` contract.
|
||||||
- **`public/assets/`** — lowercase kebab-case folders: **`icons/`**, **`logos/`** (incl. **`logos/partners/`**), **`marketing/`**, **`case-study/`**, **`shapes/`**, **`vector/`**, **`template-mark/`**, **`share/`**. Use helpers in **`lib/assetUtils.ts`** (`ASSETS`, `partnerLogoPath`, `vectorMarkPath`, …).
|
- **`public/assets/`** — lowercase kebab-case folders: **`icons/`**, **`logos/`** (incl. **`logos/partners/`**), **`marketing/`**, **`case-study/`**, **`shapes/`**, **`vector/`**, **`template-mark/`**, **`share/`**. Use helpers in **`lib/assetUtils.ts`** (`ASSETS`, `partnerLogoPath`, `vectorMarkPath`, …).
|
||||||
- **`public/assets/vector/<slug>.svg`** — Figma Asset / Vector marks (same kebab **`slug`** convention as **`public/assets/template-mark/`**). Use **`vectorMarkPath(slug)`**.
|
- **`public/assets/vector/<slug>.svg`** — Figma Asset / Vector marks (same kebab **`slug`** convention as **`public/assets/template-mark/`**). Use **`vectorMarkPath(slug)`**.
|
||||||
- **`asset/Logo`** — Community Rule **`Logo`** component (folder PascalCase, like **`Avatar/`**); brand SVG at **`public/assets/logos/community-rule.svg`**.
|
- **`asset/Logo`** — Community Rule **`Logo`** component (folder PascalCase, like **`Avatar/`**); brand SVG at **`public/assets/logos/community-rule.svg`**.
|
||||||
|
|||||||
@@ -0,0 +1,78 @@
|
|||||||
|
import DiagramGlyph, {
|
||||||
|
DIAGRAM_GLYPH_OPTIONS,
|
||||||
|
DIAGRAM_GLYPH_SIZE_OPTIONS,
|
||||||
|
} from "../../app/components/asset/DiagramGlyph";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: "Components/Asset/DiagramGlyph",
|
||||||
|
component: DiagramGlyph,
|
||||||
|
parameters: {
|
||||||
|
layout: "centered",
|
||||||
|
docs: {
|
||||||
|
description: {
|
||||||
|
component:
|
||||||
|
"Diagram glyphs from Asset / Diagram Glyph. Paths use currentColor so a parent text class recolors the mark.",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
argTypes: {
|
||||||
|
glyph: {
|
||||||
|
control: { type: "select" },
|
||||||
|
options: [...DIAGRAM_GLYPH_OPTIONS],
|
||||||
|
},
|
||||||
|
size: {
|
||||||
|
control: { type: "select" },
|
||||||
|
options: [...DIAGRAM_GLYPH_SIZE_OPTIONS],
|
||||||
|
},
|
||||||
|
className: { control: "text" },
|
||||||
|
title: { control: "text" },
|
||||||
|
description: { control: "text" },
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Default = {
|
||||||
|
args: {
|
||||||
|
glyph: "group",
|
||||||
|
size: 48,
|
||||||
|
className: "text-[var(--color-content-default-primary)]",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Size24 = {
|
||||||
|
args: {
|
||||||
|
glyph: "vote",
|
||||||
|
size: 24,
|
||||||
|
className: "text-[var(--color-content-default-primary)]",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Recolor = {
|
||||||
|
args: {
|
||||||
|
glyph: "consensus",
|
||||||
|
size: 48,
|
||||||
|
className: "text-[var(--color-content-default-brand-primary)]",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const InDiagram = {
|
||||||
|
args: {
|
||||||
|
glyph: "rotation",
|
||||||
|
size: 48,
|
||||||
|
className: "text-[var(--color-content-default-primary)]",
|
||||||
|
title: "Rotation",
|
||||||
|
description: "Roles move on a set schedule so no one keeps the keys.",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const AllGlyphs = {
|
||||||
|
render: () => (
|
||||||
|
<div className="grid grid-cols-6 gap-4 text-[var(--color-content-default-primary)]">
|
||||||
|
{DIAGRAM_GLYPH_OPTIONS.map((glyph) => (
|
||||||
|
<div key={glyph} className="flex flex-col items-center gap-2">
|
||||||
|
<DiagramGlyph glyph={glyph} size={48} />
|
||||||
|
<span className="text-xx-small-paragraph">{glyph}</span>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
),
|
||||||
|
};
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
import PatternGlyph, {
|
||||||
|
PATTERN_GLYPH_OPTIONS,
|
||||||
|
PATTERN_GLYPH_SIZE_OPTIONS,
|
||||||
|
} from "../../app/components/asset/PatternGlyph";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: "Components/Asset/PatternGlyph",
|
||||||
|
component: PatternGlyph,
|
||||||
|
parameters: {
|
||||||
|
layout: "centered",
|
||||||
|
docs: {
|
||||||
|
description: {
|
||||||
|
component:
|
||||||
|
"Pattern glyphs from the Structure Before Crisis zine. Paths use currentColor so a parent text class recolors the mark.",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
argTypes: {
|
||||||
|
glyph: {
|
||||||
|
control: { type: "select" },
|
||||||
|
options: [...PATTERN_GLYPH_OPTIONS],
|
||||||
|
},
|
||||||
|
size: {
|
||||||
|
control: { type: "select" },
|
||||||
|
options: [...PATTERN_GLYPH_SIZE_OPTIONS],
|
||||||
|
},
|
||||||
|
className: { control: "text" },
|
||||||
|
title: { control: "text" },
|
||||||
|
description: { control: "text" },
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Default = {
|
||||||
|
args: {
|
||||||
|
glyph: "lazy-consensus",
|
||||||
|
size: 48,
|
||||||
|
className: "text-[var(--color-content-default-primary)]",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Size24 = {
|
||||||
|
args: {
|
||||||
|
glyph: "open-participation",
|
||||||
|
size: 24,
|
||||||
|
className: "text-[var(--color-content-default-primary)]",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const Recolor = {
|
||||||
|
args: {
|
||||||
|
glyph: "full-consensus",
|
||||||
|
size: 48,
|
||||||
|
className: "text-[var(--color-content-default-brand-primary)]",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const InDiagram = {
|
||||||
|
args: {
|
||||||
|
glyph: "conflict-council",
|
||||||
|
size: 48,
|
||||||
|
className: "text-[var(--color-content-default-primary)]",
|
||||||
|
title: "Conflict council",
|
||||||
|
description: "Named members hear what the first steps could not settle.",
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
export const AllGlyphs = {
|
||||||
|
render: () => (
|
||||||
|
<div className="grid grid-cols-6 gap-4 text-[var(--color-content-default-primary)]">
|
||||||
|
{PATTERN_GLYPH_OPTIONS.map((glyph) => (
|
||||||
|
<div key={glyph} className="flex flex-col items-center gap-2">
|
||||||
|
<PatternGlyph glyph={glyph} size={48} />
|
||||||
|
<span className="text-xx-small-paragraph text-center">{glyph}</span>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
|
),
|
||||||
|
};
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
import "@testing-library/jest-dom/vitest";
|
||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import { render, screen } from "@testing-library/react";
|
||||||
|
import DiagramGlyph, {
|
||||||
|
DIAGRAM_GLYPH_OPTIONS,
|
||||||
|
} from "../../app/components/asset/DiagramGlyph";
|
||||||
|
|
||||||
|
describe("DiagramGlyph", () => {
|
||||||
|
it("renders every glyph at 48 and 24", () => {
|
||||||
|
const { rerender } = render(
|
||||||
|
<DiagramGlyph glyph="group" size={48} />,
|
||||||
|
);
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("width", "48");
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("height", "48");
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||||
|
|
||||||
|
rerender(<DiagramGlyph glyph="group" size={24} />);
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("width", "24");
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("height", "24");
|
||||||
|
|
||||||
|
for (const glyph of DIAGRAM_GLYPH_OPTIONS) {
|
||||||
|
rerender(<DiagramGlyph glyph={glyph} />);
|
||||||
|
expect(document.querySelector("svg")).toBeInTheDocument();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
it("names a diagram glyph and keeps a decorative glyph unlabeled", () => {
|
||||||
|
const { rerender } = render(
|
||||||
|
<DiagramGlyph
|
||||||
|
glyph="rotation"
|
||||||
|
title="Rotation"
|
||||||
|
description="Roles move on a set schedule."
|
||||||
|
/>,
|
||||||
|
);
|
||||||
|
expect(
|
||||||
|
screen.getByRole("img", {
|
||||||
|
name: "Rotation. Roles move on a set schedule.",
|
||||||
|
}),
|
||||||
|
).toBeInTheDocument();
|
||||||
|
|
||||||
|
rerender(<DiagramGlyph glyph="rotation" />);
|
||||||
|
expect(screen.queryByRole("img")).not.toBeInTheDocument();
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("recolors with one text class", () => {
|
||||||
|
render(
|
||||||
|
<DiagramGlyph
|
||||||
|
glyph="consensus"
|
||||||
|
className="text-[var(--color-content-default-brand-primary)]"
|
||||||
|
/>,
|
||||||
|
);
|
||||||
|
expect(document.querySelector("svg")).toHaveClass(
|
||||||
|
"text-[var(--color-content-default-brand-primary)]",
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
import "@testing-library/jest-dom/vitest";
|
||||||
|
import { describe, expect, it } from "vitest";
|
||||||
|
import { render, screen } from "@testing-library/react";
|
||||||
|
import PatternGlyph, {
|
||||||
|
PATTERN_GLYPH_OPTIONS,
|
||||||
|
} from "../../app/components/asset/PatternGlyph";
|
||||||
|
|
||||||
|
describe("PatternGlyph", () => {
|
||||||
|
it("renders every glyph at 48 and 24", () => {
|
||||||
|
const { rerender } = render(
|
||||||
|
<PatternGlyph glyph="lazy-consensus" size={48} />,
|
||||||
|
);
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("width", "48");
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||||
|
|
||||||
|
rerender(<PatternGlyph glyph="lazy-consensus" size={24} />);
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("width", "24");
|
||||||
|
|
||||||
|
for (const glyph of PATTERN_GLYPH_OPTIONS) {
|
||||||
|
rerender(<PatternGlyph glyph={glyph} />);
|
||||||
|
expect(document.querySelector("svg")).toBeInTheDocument();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
it("names a diagram glyph and keeps a decorative glyph unlabeled", () => {
|
||||||
|
const { rerender } = render(
|
||||||
|
<PatternGlyph
|
||||||
|
glyph="conflict-council"
|
||||||
|
title="Conflict council"
|
||||||
|
description="Named members hear what the first steps could not settle."
|
||||||
|
/>,
|
||||||
|
);
|
||||||
|
expect(
|
||||||
|
screen.getByRole("img", {
|
||||||
|
name: "Conflict council. Named members hear what the first steps could not settle.",
|
||||||
|
}),
|
||||||
|
).toBeInTheDocument();
|
||||||
|
|
||||||
|
rerender(<PatternGlyph glyph="conflict-council" />);
|
||||||
|
expect(screen.queryByRole("img")).not.toBeInTheDocument();
|
||||||
|
expect(document.querySelector("svg")).toHaveAttribute("aria-hidden");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("recolors with one text class", () => {
|
||||||
|
render(
|
||||||
|
<PatternGlyph
|
||||||
|
glyph="full-consensus"
|
||||||
|
className="text-[var(--color-content-default-brand-primary)]"
|
||||||
|
/>,
|
||||||
|
);
|
||||||
|
expect(document.querySelector("svg")).toHaveClass(
|
||||||
|
"text-[var(--color-content-default-brand-primary)]",
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||