@common-origin/design-system 1.12.1 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,5 +102,13 @@
102
102
  "userBox": {
103
103
  "path": "M12 6C14.2091 6 16 7.79086 16 10C16 12.2091 14.2091 14 12 14C9.79086 14 8 12.2091 8 10C8 7.79086 9.79086 6 12 6ZM12 8C10.8954 8 10 8.89543 10 10C10 11.1046 10.8954 12 12 12C13.1046 12 14 11.1046 14 10C14 8.89543 13.1046 8 12 8Z M14 2C17.7712 2 19.6566 2.0003 20.8281 3.17188C21.9997 4.34345 22 6.22876 22 10V14C22 17.7712 21.9997 19.6566 20.8281 20.8281C19.803 21.8533 18.2315 21.982 15.3281 21.998L14 22H10L8.67188 21.998C5.8719 21.9826 4.31033 21.8625 3.2832 20.9346L3.17188 20.8281C2.14675 19.803 2.01797 18.2315 2.00195 15.3281L2 14V10C2 6.34627 2 4.46248 3.06543 3.2832L3.17188 3.17188C4.34345 2.0003 6.22876 2 10 2H14ZM12 18C10.8577 18 9.76263 18.3153 8.88574 18.876C8.39459 19.1901 7.99492 19.5688 7.69043 19.9834C8.33459 19.9972 9.09233 20 10 20H14C14.9072 20 15.6646 19.9971 16.3086 19.9834C16.0041 19.5689 15.6052 19.19 15.1143 18.876C14.2374 18.3153 13.1423 18 12 18ZM10 4C8.05784 4 6.80197 4.00454 5.87695 4.12891C5.00986 4.24554 4.73816 4.43372 4.58594 4.58594C4.43372 4.73816 4.24554 5.00986 4.12891 5.87695C4.00454 6.80197 4 8.05784 4 10V14C4 15.9422 4.00454 17.198 4.12891 18.123C4.24554 18.9901 4.43372 19.2618 4.58594 19.4141C4.71234 19.5405 4.92163 19.6893 5.48535 19.8037C5.96679 18.7505 6.77822 17.8493 7.80859 17.1904C9.02742 16.4111 10.5007 16 12 16C13.4993 16 14.9726 16.4111 16.1914 17.1904C17.2217 17.8492 18.0322 18.7507 18.5137 19.8037C19.0781 19.6893 19.2876 19.5405 19.4141 19.4141C19.5663 19.2618 19.7545 18.9901 19.8711 18.123C19.9955 17.198 20 15.9422 20 14V10C20 8.05784 19.9955 6.80197 19.8711 5.87695C19.7545 5.00986 19.5663 4.73816 19.4141 4.58594C19.2618 4.43372 18.9901 4.24554 18.123 4.12891C17.198 4.00454 15.9422 4 14 4H10Z",
104
104
  "name": "userBox"
105
+ },
106
+ "eye": {
107
+ "path": "M12 5C7.52166 5 3.73301 7.94288 2.45825 12C3.73301 16.0571 7.52166 19 12 19C16.4783 19 20.267 16.0571 21.5417 12C20.267 7.94288 16.4783 5 12 5ZM12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12C17 14.7614 14.7614 17 12 17ZM12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9Z",
108
+ "name": "eye"
109
+ },
110
+ "eyeSlash": {
111
+ "path": "M3.70711 2.29289C3.31658 1.90237 2.68342 1.90237 2.29289 2.29289C1.90237 2.68342 1.90237 3.31658 2.29289 3.70711L6.70206 8.11628C5.35737 9.20465 4.27035 10.5612 3.54474 12.0722C4.83034 15.7743 8.14313 18.5 12 18.5C13.6923 18.5 15.2882 18.0602 16.6843 17.2822L20.2929 20.8908C20.6834 21.2813 21.3166 21.2813 21.7071 20.8908C22.0976 20.5003 22.0976 19.867 21.7071 19.4765L3.70711 2.29289ZM15.2279 15.8258L13.3042 13.9021C12.9314 14.2749 12.4394 14.5294 11.8995 14.6183C11.3596 14.7071 10.8078 14.6253 10.3142 14.3835C9.82059 14.1417 9.40848 13.7503 9.13119 13.2593C8.8539 12.7683 8.72446 12.2005 8.75906 11.6276L6.92963 9.79821C6.23474 10.5508 5.66408 11.4232 5.24853 12.3768C6.38454 15.2245 8.99611 17.2 12 17.2C13.1941 17.2 14.3152 16.9113 15.2279 15.8258ZM10.1061 12.9747C10.0982 13.2082 10.1471 13.4402 10.2489 13.6505C10.3507 13.8609 10.5022 14.0431 10.6912 14.1821C10.8802 14.3211 11.101 14.4126 11.3345 14.4485C11.568 14.4844 11.807 14.4636 12.0304 14.3879L10.1061 12.9747ZM12 5.5C10.3077 5.5 8.71178 5.93983 7.31572 6.71784L8.52938 7.93149C9.62166 7.34729 10.8421 7.03 12 7.03C15.0039 7.03 17.6155 9.00549 18.7515 11.8532C18.4306 12.5937 17.9993 13.2778 17.4748 13.8854L18.5983 15.0089C19.3126 14.2222 19.8991 13.2953 20.3245 12.2778C19.03 8.57569 15.8569 5.5 12 5.5Z",
112
+ "name": "eyeSlash"
105
113
  }
106
114
  }
@@ -1,2 +1,2 @@
1
- export type IconName = 'add' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'close' | 'copy' | 'directionRight' | 'export' | 'filter' | 'lineOut' | 'link' | 'menu' | 'message' | 'pause' | 'play' | 'playBack' | 'star' | 'starFilled' | 'table' | 'userBox';
1
+ export type IconName = 'add' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'caret' | 'caretDown' | 'caretUp' | 'check' | 'close' | 'copy' | 'directionRight' | 'export' | 'eye' | 'eyeSlash' | 'filter' | 'lineOut' | 'link' | 'menu' | 'message' | 'pause' | 'play' | 'playBack' | 'star' | 'starFilled' | 'table' | 'userBox';
2
2
  export { default as iconsData } from '../styles/icons.json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@common-origin/design-system",
3
- "version": "1.12.1",
3
+ "version": "1.14.0",
4
4
  "description": "Common Origin Design System - Atomic design components with comprehensive WCAG 2.2 AA testing",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export type ArtCardProps = {
3
- title: string;
4
- excerpt: string;
5
- tag: string;
6
- artist: string;
7
- labels: string[];
8
- coverImage: string;
9
- onImageClick?: () => void;
10
- imageHref?: string;
11
- };
12
- export declare const ArtCard: ({ title, excerpt, tag, artist, labels, coverImage, onImageClick, imageHref, }: ArtCardProps) => import("react").JSX.Element | null;
@@ -1 +0,0 @@
1
- export * from './ArtCard';
@@ -1,13 +0,0 @@
1
- import React from 'react';
2
- export type DesignCardProps = {
3
- title: string;
4
- excerpt: string;
5
- labels: string[];
6
- tag: string;
7
- coverImage: string;
8
- date: string;
9
- onReadMore?: () => void;
10
- readMoreHref?: string;
11
- readMoreText?: string;
12
- };
13
- export declare const DesignCard: React.FC<DesignCardProps>;
@@ -1 +0,0 @@
1
- export * from './DesignCard';
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- export type ReleaseCardProps = {
3
- title: string;
4
- coverImage?: string;
5
- artist?: string;
6
- date?: string;
7
- slug?: string;
8
- };
9
- export declare const ReleaseCard: React.FC<ReleaseCardProps>;
@@ -1 +0,0 @@
1
- export * from './ReleaseCard';