@common-origin/design-system 1.11.3 → 1.12.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.
@@ -26,6 +26,14 @@
26
26
  "caret": {
27
27
  "path": "m14.77 11.808-4.458-3.715A.8.8 0 0 0 9 8.708v6.584a.8.8 0 0 0 1.312.614l4.458-3.714a.25.25 0 0 0 0-.384Z",
28
28
  "name": "caret"
29
+ },
30
+ "caretDown": {
31
+ "path": "M11.8079 14.7695L8.09345 10.3121C7.65923 9.79109 8.02975 9 8.70802 9L15.292 9C15.9702 9 16.3408 9.79109 15.9065 10.3121L12.192 14.7695C12.0921 14.8895 11.9079 14.8895 11.8079 14.7695Z",
32
+ "name": "caretDown"
33
+ },
34
+ "caretUp": {
35
+ "path": "M12.192 9.23058L15.9065 13.688C16.3408 14.209 15.9702 15.0001 15.292 15.0001H8.70802C8.02975 15.0001 7.65923 14.209 8.09345 13.688L11.8079 9.23058C11.9079 9.11064 12.0921 9.11064 12.192 9.23058Z",
36
+ "name": "caretUp"
29
37
  },
30
38
  "check": {
31
39
  "path": "M9.16699 18.375L4.40039 14.7998L5.59961 13.2002L8.83301 15.625L17.2256 5.36719L18.7744 6.63281L9.16699 18.375Z",
@@ -79,14 +87,14 @@
79
87
  "path": "M10 7C10.5523 7 11 7.44772 11 8C11 8.55228 10.5523 9 10 9H7C5.34315 9 4 10.3431 4 12C4 13.6569 5.34315 15 7 15H10C10.5523 15 11 15.4477 11 16C11 16.5523 10.5523 17 10 17H7C4.23858 17 2 14.7614 2 12C2 9.23858 4.23858 7 7 7H10Z M17 7C19.7614 7 22 9.23858 22 12C22 14.7614 19.7614 17 17 17H14C13.4477 17 13 16.5523 13 16C13 15.4477 13.4477 15 14 15H17C18.6569 15 20 13.6569 20 12C20 10.3431 18.6569 9 17 9H14C13.4477 9 13 8.55228 13 8C13 7.44772 13.4477 7 14 7H17Z M16 11C16.5523 11 17 11.4477 17 12C17 12.5523 16.5523 13 16 13H8C7.44772 13 7 12.5523 7 12C7 11.4477 7.44772 11 8 11H16Z",
80
88
  "name": "link"
81
89
  },
82
- "star": {
90
+ "star": {
83
91
  "path": "M12.1694 2.69385C12.9932 2.77396 13.4716 3.43132 13.7543 3.92432C14.0789 4.49022 14.4038 5.30605 14.7846 6.25537L14.8207 6.34619C15.0505 6.91906 15.1961 7.27937 15.3344 7.54248C15.4618 7.78468 15.545 7.86702 15.6088 7.91455C15.6727 7.96207 15.7762 8.01756 16.0454 8.06982C16.3371 8.12644 16.723 8.16226 17.3374 8.21729L17.5532 8.23682C18.4922 8.32092 19.3095 8.39132 19.9086 8.53271C20.4448 8.65928 21.1605 8.92163 21.4799 9.64404L21.5385 9.79443L21.5825 9.94971C21.7646 10.7185 21.3522 11.3598 21.0014 11.7847C20.6095 12.2594 20.0015 12.8094 19.3041 13.4438L18.8217 13.8833C18.4435 14.2274 18.2065 14.4438 18.0385 14.6255C17.8832 14.7936 17.8357 14.8811 17.812 14.9419C17.7962 14.9823 17.7833 15.0238 17.7729 15.0659C17.7573 15.1293 17.7457 15.2284 17.7758 15.4556C17.8084 15.7009 17.877 16.014 17.9877 16.5132L18.0541 16.814C18.2456 17.6769 18.4083 18.4052 18.4711 18.9624C18.5264 19.4519 18.5632 20.1921 18.0688 20.7427C17.8119 21.0287 17.4777 21.2343 17.1069 21.3354C16.393 21.5302 15.7481 21.166 15.3354 20.897C14.8658 20.5908 14.2881 20.1183 13.603 19.5601C13.1257 19.1711 12.8201 18.924 12.5707 18.7573C12.3364 18.6006 12.226 18.5671 12.1577 18.5562C12.0532 18.5395 11.9467 18.5395 11.8422 18.5562C11.7738 18.5671 11.6635 18.6006 11.4291 18.7573C11.1799 18.924 10.8752 19.1712 10.3979 19.5601C9.7126 20.1185 9.13421 20.5907 8.6645 20.897C8.2518 21.166 7.60685 21.5302 6.89301 21.3354C6.52221 21.2343 6.18793 21.0286 5.9311 20.7427C5.43682 20.1921 5.47353 19.4519 5.52876 18.9624C5.59163 18.4052 5.75429 17.6769 5.94575 16.814L6.01313 16.5132C6.12388 16.014 6.19251 15.7009 6.22505 15.4556C6.25517 15.2284 6.24262 15.1293 6.227 15.0659C6.21659 15.0238 6.20372 14.9823 6.18794 14.9419C6.16419 14.8811 6.11677 14.7936 5.96137 14.6255C5.79337 14.4437 5.55643 14.2274 5.17817 13.8833L4.69575 13.4438C3.9984 12.8094 3.39042 12.2594 2.99848 11.7847C2.62437 11.3315 2.17967 10.632 2.46137 9.79443L2.51997 9.64404C2.83942 8.92145 3.55601 8.65926 4.09223 8.53271C4.69142 8.39138 5.50869 8.32091 6.4477 8.23682L6.66255 8.21729C7.27717 8.16224 7.66376 8.12647 7.95551 8.06982C8.22431 8.01759 8.32719 7.96204 8.39106 7.91455C8.45493 7.86704 8.53808 7.78477 8.66548 7.54248C8.80378 7.27937 8.94936 6.91906 9.17915 6.34619L9.21528 6.25537C9.59606 5.3061 9.92105 4.49022 10.2456 3.92432C10.5472 3.39847 11.0719 2.68604 12.0004 2.68604L12.1694 2.69385ZM11.9809 4.91943C11.7432 5.334 11.4773 5.98839 11.0717 6.99951L11.0356 7.09131C10.8211 7.62611 10.633 8.09725 10.436 8.47217C10.2282 8.86755 9.97336 9.23085 9.58442 9.52002C9.19552 9.80914 8.77481 9.94855 8.33637 10.0337C7.9205 10.1144 7.41442 10.1581 6.84028 10.2095L6.62544 10.229C5.61908 10.3191 4.97689 10.3795 4.55122 10.48C4.54116 10.4824 4.53136 10.4845 4.52192 10.4868C4.52814 10.4945 4.53377 10.5031 4.54048 10.5112C4.81896 10.8485 5.29492 11.2843 6.04243 11.9644L6.52387 12.4038C6.87706 12.7251 7.18977 13.008 7.43012 13.2681C7.68276 13.5414 7.90359 13.8383 8.05024 14.2134C8.0979 14.3353 8.13804 14.4603 8.16938 14.5874C8.2658 14.9786 8.25641 15.3491 8.20747 15.7183C8.16092 16.0693 8.06871 16.4806 7.96528 16.9468L7.89887 17.2466C7.69668 18.1579 7.5641 18.7614 7.51606 19.187C7.5133 19.2115 7.51318 19.2347 7.51118 19.2563C7.52986 19.2447 7.55171 19.2349 7.5727 19.2212C7.9315 18.9872 8.41071 18.5988 9.13423 18.0093C9.58206 17.6444 9.97081 17.3257 10.3168 17.0942C10.6777 16.8529 11.0642 16.6555 11.5268 16.5815C11.8402 16.5315 12.1597 16.5315 12.4731 16.5815C12.9358 16.6554 13.3222 16.8529 13.6831 17.0942C14.0291 17.3256 14.4178 17.6444 14.8657 18.0093C15.5891 18.5988 16.0684 18.9872 16.4272 19.2212C16.4479 19.2347 16.4693 19.2448 16.4877 19.2563C16.4857 19.2348 16.4866 19.2115 16.4838 19.187C16.4358 18.7614 16.3042 18.1579 16.102 17.2466L16.0346 16.9468C15.9312 16.4806 15.839 16.0693 15.7924 15.7183C15.7435 15.3491 15.7341 14.9786 15.8305 14.5874C15.8619 14.4603 15.902 14.3353 15.9497 14.2134C16.0963 13.8383 16.3172 13.5414 16.5698 13.2681C16.8101 13.0081 17.1228 12.7251 17.476 12.4038L17.9584 11.9644C18.7057 11.2845 19.181 10.8485 19.4594 10.5112C19.466 10.5033 19.4709 10.4944 19.477 10.4868C19.4679 10.4846 19.4584 10.4823 19.4487 10.48C19.023 10.3795 18.3808 10.3191 17.3745 10.229L17.1596 10.2095C16.5855 10.1581 16.0794 10.1144 15.6635 10.0337C15.2251 9.94854 14.8043 9.80913 14.4155 9.52002C14.0266 9.23086 13.7717 8.86753 13.5639 8.47217C13.3669 8.09725 13.1788 7.62609 12.9643 7.09131L12.9282 6.99951C12.5226 5.98836 12.2567 5.33399 12.019 4.91943C12.0127 4.90849 12.0054 4.89835 11.9995 4.88818C11.9936 4.89819 11.9871 4.90868 11.9809 4.91943Z",
84
92
  "name": "star"
85
- },
86
- "starFilled": {
93
+ },
94
+ "starFilled": {
87
95
  "path": "M11.5842 3.72972C11.8583 3.67149 12.1421 3.67145 12.4162 3.72972C13.1456 3.88498 13.544 4.48698 13.7834 4.92601C14.0442 5.40446 14.3105 6.0721 14.6213 6.84691C14.81 7.31745 14.9297 7.61361 15.0402 7.83324C15.1428 8.03686 15.2072 8.11103 15.2541 8.15355C15.302 8.19691 15.3541 8.23544 15.4094 8.26878C15.4628 8.30094 15.5528 8.34217 15.7805 8.38207C16.0252 8.42491 16.3465 8.45463 16.8557 8.50023C17.6616 8.5724 18.3628 8.63331 18.8869 8.74632C19.3781 8.85232 20.055 9.06776 20.4065 9.72386C20.4855 9.87145 20.5453 10.0285 20.5852 10.1907L20.6184 10.3547L20.634 10.4905C20.6842 11.1591 20.3102 11.6897 20.0041 12.0471C19.6576 12.4515 19.14 12.9197 18.5481 13.4582L18.2072 13.7678C17.5764 14.3417 17.4619 14.467 17.3986 14.5911C17.349 14.6885 17.3156 14.7943 17.3 14.9026C17.2803 15.0404 17.3019 15.2079 17.4865 16.0403L17.5471 16.3108C17.6935 16.9706 17.8174 17.5288 17.8762 17.9612C17.9277 18.34 17.9788 18.9022 17.7053 19.3879C17.3677 19.9871 16.7457 20.3705 16.0588 20.4036C15.5019 20.4301 15.0217 20.1323 14.7063 19.9162C14.3463 19.6696 13.9031 19.3081 13.3791 18.8811C13.013 18.5827 12.779 18.393 12.5891 18.26C12.4096 18.1343 12.3248 18.1003 12.2756 18.0862C12.0957 18.0347 11.9047 18.0347 11.7248 18.0862C11.6757 18.1003 11.5909 18.1343 11.4113 18.26C11.2214 18.393 10.9873 18.5829 10.6213 18.8811C10.0973 19.308 9.65414 19.6696 9.29415 19.9162C8.97877 20.1322 8.49933 20.4299 7.94259 20.4036C7.25539 20.3707 6.63286 19.9873 6.29513 19.3879C6.02156 18.9022 6.07274 18.34 6.12423 17.9612C6.18305 17.5288 6.3079 16.9707 6.45431 16.3108L6.51388 16.0403C6.69854 15.208 6.72017 15.0404 6.7004 14.9026C6.68477 14.7943 6.65143 14.6886 6.60177 14.5911C6.53852 14.4669 6.42448 14.3422 5.79318 13.7678L5.45333 13.4582C4.86129 12.9196 4.34387 12.4516 3.99728 12.0471C3.67068 11.6659 3.26588 11.0877 3.38204 10.3547C3.41706 10.1341 3.48949 9.92077 3.59494 9.72386C3.94661 9.06767 4.62328 8.85224 5.11447 8.74632C5.63848 8.63339 6.33914 8.57238 7.14474 8.50023C7.65378 8.45464 7.97527 8.42491 8.21994 8.38207C8.44768 8.34214 8.53864 8.30095 8.59201 8.26878C8.64708 8.23552 8.69961 8.19675 8.74728 8.15355C8.79417 8.11093 8.859 8.03619 8.96115 7.83324C9.07161 7.61364 9.19046 7.31724 9.37912 6.84691C9.68989 6.07215 9.95619 5.40443 10.217 4.92601C10.4564 4.48697 10.8548 3.88493 11.5842 3.72972Z",
88
96
  "name": "starFilled"
89
- },
97
+ },
90
98
  "table": {
91
99
  "path": "M20 10H16V19H19C19.4995 19 19.7737 18.9982 19.9639 18.9727C19.9662 18.9724 19.9685 18.971 19.9707 18.9707C19.971 18.9685 19.9724 18.9662 19.9727 18.9639C19.9982 18.7737 20 18.4995 20 18V10ZM22 18C22 18.4431 22.0018 18.876 21.9541 19.2305C21.9026 19.6137 21.7773 20.0509 21.4141 20.4141C21.0509 20.7773 20.6137 20.9026 20.2305 20.9541C19.876 21.0018 19.4431 21 19 21H14V8.00001H22V18Z M10 8.00001V21H5.00001C4.55687 21 4.12397 21.0018 3.76954 20.9541C3.38634 20.9026 2.94916 20.7773 2.58595 20.4141C2.22273 20.0509 2.09743 19.6137 2.04591 19.2305C1.99825 18.876 2.00001 18.4431 2.00001 18V8.00001H10ZM4.00001 18C4.00001 18.4995 4.00181 18.7737 4.02735 18.9639C4.02766 18.9661 4.02803 18.9685 4.02833 18.9707C4.03085 18.9711 4.03351 18.9723 4.03614 18.9727C4.22633 18.9982 4.50051 19 5.00001 19H8.00001V10H4.00001V18Z M16 8.00001V21H8.00001V8.00001H16ZM10 19H14V10H10V19Z M20 6.00001C20 5.50051 19.9982 5.22633 19.9727 5.03614C19.9723 5.03351 19.9711 5.03085 19.9707 5.02833C19.9685 5.02803 19.9661 5.02766 19.9639 5.02735C19.7737 5.00181 19.4995 5.00001 19 5.00001H5.00001C4.50051 5.00001 4.22633 5.00181 4.03614 5.02735C4.03355 5.0277 4.03081 5.02798 4.02833 5.02833C4.02798 5.03081 4.0277 5.03355 4.02735 5.03614C4.00181 5.22633 4.00001 5.50051 4.00001 6.00001V8.00001H20V6.00001ZM22 10H2.00001V6.00001C2.00001 5.55687 1.99825 5.12397 2.04591 4.76954C2.09743 4.38634 2.22273 3.94916 2.58595 3.58595C2.94916 3.22273 3.38634 3.09743 3.76954 3.04591C4.12397 2.99825 4.55687 3.00001 5.00001 3.00001H19C19.4431 3.00001 19.876 2.99825 20.2305 3.04591C20.6137 3.09743 21.0509 3.22273 21.4141 3.58595C21.7773 3.94916 21.9026 4.38634 21.9541 4.76954C22.0018 5.12397 22 5.55687 22 6.00001V10Z",
92
100
  "name": "table"
@@ -343,7 +343,7 @@
343
343
  "backgroundColor": "#e9ecef",
344
344
  "textColor": "#212529",
345
345
  "borderRadius": "0.25rem",
346
- "padding": "0.25rem 0.5rem",
346
+ "padding": "2px 0.5rem",
347
347
  "font": "500 0.875rem/1.25rem 'Inter', sans-serif"
348
348
  },
349
349
  "variants": {
@@ -362,11 +362,11 @@
362
362
  },
363
363
  "sizes": {
364
364
  "small": {
365
- "padding": "0 0.25rem",
365
+ "padding": "2px 0.5rem",
366
366
  "font": "400 0.75rem/1rem 'Inter', sans-serif"
367
367
  },
368
368
  "medium": {
369
- "padding": "0.25rem 0.5rem",
369
+ "padding": "2px 0.5rem",
370
370
  "font": "500 0.875rem/1.25rem 'Inter', sans-serif"
371
371
  },
372
372
  "large": {
@@ -342,7 +342,7 @@ var component = {
342
342
  backgroundColor: "#e9ecef",
343
343
  textColor: "#212529",
344
344
  borderRadius: "0.25rem",
345
- padding: "0.25rem 0.5rem",
345
+ padding: "2px 0.5rem",
346
346
  font: "500 0.875rem/1.25rem 'Inter', sans-serif"
347
347
  },
348
348
  variants: {
@@ -361,11 +361,11 @@ var component = {
361
361
  },
362
362
  sizes: {
363
363
  small: {
364
- padding: "0 0.25rem",
364
+ padding: "2px 0.5rem",
365
365
  font: "400 0.75rem/1rem 'Inter', sans-serif"
366
366
  },
367
367
  medium: {
368
- padding: "0.25rem 0.5rem",
368
+ padding: "2px 0.5rem",
369
369
  font: "500 0.875rem/1.25rem 'Inter', sans-serif"
370
370
  },
371
371
  large: {
@@ -346,7 +346,7 @@ var component = {
346
346
  backgroundColor: "#e9ecef",
347
347
  textColor: "#212529",
348
348
  borderRadius: "0.25rem",
349
- padding: "0.25rem 0.5rem",
349
+ padding: "2px 0.5rem",
350
350
  font: "500 0.875rem/1.25rem 'Inter', sans-serif"
351
351
  },
352
352
  variants: {
@@ -365,11 +365,11 @@ var component = {
365
365
  },
366
366
  sizes: {
367
367
  small: {
368
- padding: "0 0.25rem",
368
+ padding: "2px 0.5rem",
369
369
  font: "400 0.75rem/1rem 'Inter', sans-serif"
370
370
  },
371
371
  medium: {
372
- padding: "0.25rem 0.5rem",
372
+ padding: "2px 0.5rem",
373
373
  font: "500 0.875rem/1.25rem 'Inter', sans-serif"
374
374
  },
375
375
  large: {
@@ -1,2 +1,2 @@
1
- export type IconName = 'add' | 'arrowDown' | 'arrowLeft' | 'arrowRight' | 'arrowUp' | 'back' | 'caret' | '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' | '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.11.3",
3
+ "version": "1.12.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",