@ultraviolet/icons 2.5.5 → 2.7.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.
@@ -5,6 +5,9 @@ import capitalize from '../../utils/capitalize.js';
5
5
  import { jsx, jsxs, Fragment } from '@emotion/react/jsx-runtime';
6
6
 
7
7
  const ICONS = {
8
+ address: () => jsx("path", {
9
+ d: "M7.66667 4C8.10869 4 8.53262 4.17559 8.84518 4.48816C9.15774 4.80072 9.33333 5.22464 9.33333 5.66667C9.33333 5.88554 9.29022 6.10226 9.20647 6.30447C9.12271 6.50668 8.99994 6.69041 8.84518 6.84518C8.69041 6.99994 8.50668 7.12271 8.30447 7.20647C8.10226 7.29022 7.88554 7.33333 7.66667 7.33333C7.22464 7.33333 6.80072 7.15774 6.48816 6.84518C6.17559 6.53262 6 6.10869 6 5.66667C6 5.22464 6.17559 4.80072 6.48816 4.48816C6.80072 4.17559 7.22464 4 7.66667 4ZM7.66667 1C8.90434 1 10.0913 1.49167 10.9665 2.36683C11.8417 3.242 12.3333 4.42899 12.3333 5.66667C12.3333 9.16667 7.66667 14.3333 7.66667 14.3333C7.66667 14.3333 3 9.16667 3 5.66667C3 4.42899 3.49167 3.242 4.36683 2.36683C5.242 1.49167 6.42899 1 7.66667 1ZM7.66667 2.33333C6.78261 2.33333 5.93477 2.68452 5.30964 3.30964C4.68452 3.93477 4.33333 4.78261 4.33333 5.66667C4.33333 6.33333 4.33333 7.66667 7.66667 12.14C11 7.66667 11 6.33333 11 5.66667C11 4.78261 10.6488 3.93477 10.0237 3.30964C9.39857 2.68452 8.55072 2.33333 7.66667 2.33333Z"
10
+ }),
8
11
  alert: () => jsx("path", {
9
12
  d: "M11 15H13V17H11V15ZM11 7H13V13H11V7ZM12 2C6.47 2 2 6.5 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C5.85752 19.9997 6.95991 20.7362 8.17317 21.2388C9.38642 21.7413 10.6868 22 12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2ZM12 20C9.87827 20 7.84344 19.1571 6.34315 17.6569C4.84285 16.1566 4 14.1217 4 12C4 9.87827 4.84285 7.84344 6.34315 6.34315C7.84344 4.84285 9.87827 4 12 4C14.1217 4 16.1566 4.84285 17.6569 6.34315C19.1571 7.84344 20 9.87827 20 12C20 14.1217 19.1571 16.1566 17.6569 17.6569C16.1566 19.1571 14.1217 20 12 20Z"
10
13
  }),
@@ -319,7 +322,7 @@ const ICONS = {
319
322
  })
320
323
  };
321
324
  const customViewBoxes = [{
322
- icons: ['arrow-left-double', 'arrow-right-double', 'arrow-left', 'arrow-right', 'arrow-down', 'arrow-up', 'credentials', 'logout', 'organization', 'privacy', 'profile', 'support', 'switch_orga', 'credit-card', 'progress-check', 'id', 'reboot'],
325
+ icons: ['address', 'arrow-left-double', 'arrow-right-double', 'arrow-left', 'arrow-right', 'arrow-down', 'arrow-up', 'credentials', 'logout', 'organization', 'privacy', 'profile', 'support', 'switch_orga', 'credit-card', 'progress-check', 'id', 'reboot'],
323
326
  viewBox: '0 0 16 16'
324
327
  }, {
325
328
  icons: ['members'],
@@ -3063,6 +3063,57 @@ const PRODUCT_ICONS = {
3063
3063
  className: "fillStrong"
3064
3064
  })]
3065
3065
  })]
3066
+ }),
3067
+ apiKey: /*#__PURE__*/jsxs("g", {
3068
+ className: "API-Key",
3069
+ children: [/*#__PURE__*/jsx("g", {
3070
+ className: ".Square",
3071
+ children: /*#__PURE__*/jsx("path", {
3072
+ fill: "#F1EEFC",
3073
+ d: "M0 16C0 7.163 7.163 0 16 0h32c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H16C7.163 64 0 56.837 0 48V16Z",
3074
+ className: "fillWeak"
3075
+ })
3076
+ }), /*#__PURE__*/jsxs("g", {
3077
+ className: "Icon",
3078
+ children: [/*#__PURE__*/jsx("path", {
3079
+ fill: "#A060F6",
3080
+ fillRule: "evenodd",
3081
+ d: "M30.064 8.203a2.87 2.87 0 0 1 2.118 0l18.247 7.251a2.852 2.852 0 0 1 1.808 2.663c-.036 8.918-.822 28.016-19.854 37.586a2.822 2.822 0 0 1-2.52 0C10.818 46.133 10.035 27.035 10 18.117a2.853 2.853 0 0 1 1.808-2.663l18.256-7.251Zm1.283 2.1a.609.609 0 0 0-.45 0l-18.255 7.251a.593.593 0 0 0-.382.554c.035 8.908.869 26.657 18.617 35.576.15.075.341.075.49 0 17.737-8.919 18.574-26.669 18.61-35.576a.593.593 0 0 0-.382-.554l-18.248-7.251Z",
3082
+ className: "fillStrong",
3083
+ clipRule: "evenodd"
3084
+ }), /*#__PURE__*/jsx("path", {
3085
+ fill: "#F1EEFC",
3086
+ d: "m30.874 43.234 5.32-5.393a1.5 1.5 0 0 0 .047-2.056l-5.649-6.287a1.5 1.5 0 0 0-2.197-.037L12.682 45.809a1.5 1.5 0 0 0-.415 1.133l.262 4.208a1.5 1.5 0 0 0 1.59 1.403l6.131-.383a1.5 1.5 0 0 0 1.406-1.44l.067-1.804a1.5 1.5 0 0 1 .46-1.026l3.775-3.62a1.5 1.5 0 0 1 .945-.415l2.996-.187a1.5 1.5 0 0 0 .975-.444Z",
3087
+ className: "fillWeak"
3088
+ }), /*#__PURE__*/jsxs("g", {
3089
+ className: "fill",
3090
+ children: [/*#__PURE__*/jsx("path", {
3091
+ fill: "#521094",
3092
+ fillRule: "evenodd",
3093
+ d: "M29.848 30.166a.5.5 0 0 0-.732-.012L13.403 46.502a.5.5 0 0 0-.138.377l.262 4.208a.5.5 0 0 0 .53.468l6.131-.383a.5.5 0 0 0 .469-.48l.067-1.803a2.5 2.5 0 0 1 .768-1.711l3.774-3.62a2.5 2.5 0 0 1 1.574-.691l2.997-.188a.5.5 0 0 0 .325-.147l5.32-5.393a.5.5 0 0 0 .016-.686l-5.65-6.287Zm-2.174-1.398a2.5 2.5 0 0 1 3.662.061l5.65 6.288a2.5 2.5 0 0 1-.08 3.426l-5.32 5.393a2.5 2.5 0 0 1-1.624.74l-2.997.187a.5.5 0 0 0-.315.138l-3.774 3.62a.5.5 0 0 0-.154.342l-.067 1.803a2.5 2.5 0 0 1-2.342 2.402l-6.13.383a2.5 2.5 0 0 1-2.652-2.34l-.263-4.207a2.5 2.5 0 0 1 .693-1.888l15.713-16.348Z",
3094
+ clipRule: "evenodd"
3095
+ }), /*#__PURE__*/jsx("path", {
3096
+ fill: "#521094",
3097
+ fillRule: "evenodd",
3098
+ d: "M30.707 33.293a1 1 0 0 1 0 1.414l-17 17a1 1 0 0 1-1.414-1.414l17-17a1 1 0 0 1 1.414 0Z",
3099
+ clipRule: "evenodd"
3100
+ })]
3101
+ }), /*#__PURE__*/jsx("path", {
3102
+ fill: "#F1EEFC",
3103
+ d: "M25.134 30.381a1 1 0 0 1 .37-1.368l2.008-1.147a.3.3 0 0 0 .141-.34 11.378 11.378 0 0 1-.009-5.887.3.3 0 0 0-.141-.339l-1.997-1.139a1 1 0 0 1-.371-1.369l1.73-2.997a1 1 0 0 1 1.37-.364l1.998 1.165a.3.3 0 0 0 .364-.047 11.408 11.408 0 0 1 2.346-1.814c.834-.481 1.757-.86 2.745-1.126a.3.3 0 0 0 .223-.292l-.01-2.313a1 1 0 0 1 1-1.004h3.461a1 1 0 0 1 1 1.005l-.012 2.3a.3.3 0 0 0 .223.291 11.38 11.38 0 0 1 5.094 2.952.3.3 0 0 0 .364.047l1.998-1.164a1 1 0 0 1 1.37.364l1.73 2.997a1 1 0 0 1-.37 1.369l-2.008 1.147a.3.3 0 0 0-.141.338c.52 1.937.523 3.973.009 5.889a.3.3 0 0 0 .141.338l1.997 1.14a1 1 0 0 1 .371 1.368l-1.73 2.998a1 1 0 0 1-1.37.363l-1.998-1.165a.3.3 0 0 0-.364.047 11.4 11.4 0 0 1-2.346 1.815c-.833.48-1.757.86-2.745 1.126a.3.3 0 0 0-.223.292l.01 2.311a1 1 0 0 1-1 1.005h-3.46a1 1 0 0 1-1-1.005l.012-2.3a.3.3 0 0 0-.223-.291 11.376 11.376 0 0 1-5.095-2.952.3.3 0 0 0-.364-.047l-1.997 1.165a1 1 0 0 1-1.37-.364l-1.731-2.998Z",
3104
+ className: "fillWeak"
3105
+ }), /*#__PURE__*/jsx("path", {
3106
+ fill: "#521094",
3107
+ fillRule: "evenodd",
3108
+ d: "M30.597 32.625a.3.3 0 0 0-.364-.047l-1.998 1.165a1 1 0 0 1-1.37-.364l-1.73-2.998a1 1 0 0 1 .37-1.368l2.007-1.147a.3.3 0 0 0 .142-.34 11.379 11.379 0 0 1-.01-5.887.3.3 0 0 0-.14-.34l-1.998-1.138a1 1 0 0 1-.37-1.369l1.73-2.997a1 1 0 0 1 1.37-.364l1.997 1.165a.3.3 0 0 0 .364-.047 11.399 11.399 0 0 1 2.347-1.814 11.43 11.43 0 0 1 2.745-1.126.3.3 0 0 0 .223-.292l-.01-2.313a1 1 0 0 1 1-1.004h3.46a1 1 0 0 1 1 1.005l-.012 2.3a.3.3 0 0 0 .223.291 11.38 11.38 0 0 1 5.095 2.952.3.3 0 0 0 .364.047l1.997-1.164a1 1 0 0 1 1.37.364l1.73 2.997a1 1 0 0 1-.37 1.368l-2.007 1.148a.3.3 0 0 0-.142.338c.52 1.937.523 3.973.01 5.888a.3.3 0 0 0 .14.34l1.998 1.138a1 1 0 0 1 .37 1.369l-1.73 2.998a1 1 0 0 1-1.37.363l-1.997-1.165a.3.3 0 0 0-.364.047 11.4 11.4 0 0 1-2.347 1.815 11.44 11.44 0 0 1-2.745 1.126.3.3 0 0 0-.223.291l.011 2.312a1 1 0 0 1-1 1.005h-3.461a1 1 0 0 1-1-1.005l.012-2.3a.3.3 0 0 0-.222-.291 11.376 11.376 0 0 1-5.095-2.952Zm3.31 4.475a13.388 13.388 0 0 1-3.74-2.169l-.924.54a3 3 0 0 1-4.11-1.092l-1.73-2.998a3 3 0 0 1 1.11-4.105l.928-.53a13.388 13.388 0 0 1-.008-4.324l-.918-.524a3 3 0 0 1-1.112-4.106l1.73-2.997a3 3 0 0 1 4.11-1.091l.923.537a13 13 0 0 1 1.778-1.239c.62-.358 1.277-.665 1.962-.92l-.005-1.069a3 3 0 0 1 3-3.013h3.461a3 3 0 0 1 3 3.016l-.005 1.057a13.391 13.391 0 0 1 3.74 2.169l.924-.539a3 3 0 0 1 4.11 1.091l1.73 2.998a3 3 0 0 1-1.11 4.105l-.928.53a13.38 13.38 0 0 1 .008 4.324l.918.524a3 3 0 0 1 1.112 4.106l-1.731 2.997a3 3 0 0 1-4.11 1.092l-.922-.538c-.563.465-1.157.88-1.778 1.239-.62.358-1.277.665-1.962.92l.005 1.068a3 3 0 0 1-3 3.014h-3.461a3 3 0 0 1-3-3.016l.005-1.057Zm14.175-21.966Zm-12.914-3.456.003-.001.518 1.932-.52-1.931Zm-5.985 22.36Zm12.916 3.457-.006.001-.518-1.931.52 1.93m-12.911-22.36Z",
3109
+ className: "fill",
3110
+ clipRule: "evenodd"
3111
+ }), /*#__PURE__*/jsx("path", {
3112
+ fill: "#521094",
3113
+ d: "M35.299 27.368h-3.128l-.517 1.496H30L32.824 21h1.834l2.824 7.864h-1.666l-.517-1.496Zm-.428-1.26-1.136-3.285-1.136 3.285h2.273Zm9.393-2.667c0 .42-.102.814-.304 1.181-.195.368-.506.664-.934.89-.42.224-.952.337-1.598.337h-1.316v3.015h-1.575V21.01h2.892c.607 0 1.125.105 1.552.315.428.21.746.499.956.866.218.368.327.784.327 1.25Zm-2.903 1.137c.435 0 .758-.098.968-.293.21-.203.315-.484.315-.844 0-.765-.428-1.147-1.283-1.147h-1.249v2.284h1.249Zm5.596-3.567v7.853h-1.575V21.01h1.575Z",
3114
+ className: "fill"
3115
+ })]
3116
+ })]
3066
3117
  })
3067
3118
  };
3068
3119
 
package/dist/index.d.ts CHANGED
@@ -9,7 +9,7 @@ type Color = Extract<keyof typeof consoleLightTheme.colors, 'primary' | 'seconda
9
9
  */
10
10
  declare const Icon: react.ForwardRefExoticComponent<{
11
11
  size?: string | number | undefined;
12
- name?: "alert" | "anchor" | "arrow-down" | "arrow-left" | "arrow-left-double" | "arrow-right" | "arrow-right-bottom" | "arrow-right-double" | "arrow-up" | "asterisk" | "auto-fix" | "bullhorn" | "burger" | "book-open-outline" | "calculator" | "calendar-range" | "cancel" | "id" | "check" | "checkbox-circle-outline" | "clock-outline" | "close" | "close-circle-outline" | "copy-content" | "credentials" | "credit-card" | "database" | "delete" | "detach" | "doc" | "dots-horizontal" | "dots-vertical" | "download" | "drag-variant" | "drag-vertical" | "east" | "email-outline" | "expand" | "eye" | "eye-off" | "filter" | "github" | "help-circle-outline" | "information-outline" | "lock" | "logout" | "members" | "minus" | "moon" | "open-in-new" | "organization" | "pencil" | "play-circle-outline" | "plus" | "privacy" | "profile" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rocket" | "search" | "send" | "settings" | "sort" | "sun" | "support" | "switch_orga" | "unlock" | "upload" | "view" | "weather-night" | "attach" | "phone" | "earth" | "email-remove-outline" | "expand-more" | "console" | "equal" | "youtube" | "x" | "slack" | "rss" | "linkedIn" | "instagram" | undefined;
12
+ name?: "address" | "alert" | "anchor" | "arrow-down" | "arrow-left" | "arrow-left-double" | "arrow-right" | "arrow-right-bottom" | "arrow-right-double" | "arrow-up" | "asterisk" | "auto-fix" | "bullhorn" | "burger" | "book-open-outline" | "calculator" | "calendar-range" | "cancel" | "id" | "check" | "checkbox-circle-outline" | "clock-outline" | "close" | "close-circle-outline" | "copy-content" | "credentials" | "credit-card" | "database" | "delete" | "detach" | "doc" | "dots-horizontal" | "dots-vertical" | "download" | "drag-variant" | "drag-vertical" | "east" | "email-outline" | "expand" | "eye" | "eye-off" | "filter" | "github" | "help-circle-outline" | "information-outline" | "lock" | "logout" | "members" | "minus" | "moon" | "open-in-new" | "organization" | "pencil" | "play-circle-outline" | "plus" | "privacy" | "profile" | "progress-check" | "ray-end-arrow" | "ray-start-arrow" | "ray-start-end" | "ray-top-arrow" | "reboot" | "restore" | "revoke" | "rocket" | "search" | "send" | "settings" | "sort" | "sun" | "support" | "switch_orga" | "unlock" | "upload" | "view" | "weather-night" | "attach" | "phone" | "earth" | "email-remove-outline" | "expand-more" | "console" | "equal" | "youtube" | "x" | "slack" | "rss" | "linkedIn" | "instagram" | undefined;
13
13
  prominence?: "strong" | "stronger" | "weak" | "default" | undefined;
14
14
  color?: Color | undefined;
15
15
  'data-testid'?: string | undefined;
@@ -142,6 +142,7 @@ declare const PRODUCT_ICONS: {
142
142
  readonly ipfsNaming: _emotion_react_jsx_runtime.JSX.Element;
143
143
  readonly file: _emotion_react_jsx_runtime.JSX.Element;
144
144
  readonly folder: _emotion_react_jsx_runtime.JSX.Element;
145
+ readonly apiKey: _emotion_react_jsx_runtime.JSX.Element;
145
146
  };
146
147
 
147
148
  type Variants = 'primary' | 'danger' | 'warning';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultraviolet/icons",
3
- "version": "2.5.5",
3
+ "version": "2.7.0",
4
4
  "description": "Ultraviolet Icons",
5
5
  "homepage": "https://github.com/scaleway/ultraviolet#readme",
6
6
  "repository": {
@@ -38,10 +38,10 @@
38
38
  "react-dom": "18.2.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@babel/core": "7.23.3",
41
+ "@babel/core": "7.23.5",
42
42
  "@emotion/babel-plugin": "11.11.0",
43
- "@types/react": "18.2.37",
44
- "@types/react-dom": "18.2.15"
43
+ "@types/react": "18.2.43",
44
+ "@types/react-dom": "18.2.17"
45
45
  },
46
46
  "dependencies": {
47
47
  "@ultraviolet/themes": "1.5.0"