@onehaul/ui 0.1.18 → 0.1.20
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
export interface ColoredIconProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
width?: number | string;
|
|
7
|
+
height?: number | string;
|
|
8
|
+
onClick?: (event: React.MouseEvent<SVGSVGElement>) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type ColoredIconComponent = React.FC<ColoredIconProps>;
|
|
12
|
+
|
|
13
|
+
export declare const Microsoft: ColoredIconComponent;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"react";import{jsxs as t,jsx as e}from"react/jsx-runtime";function r(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var o=function(r){return t("svg",n(n({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[e("rect",{x:"0",y:"0",width:"6.5",height:"6.5",fill:"#F25022"}),e("rect",{x:"7.5",y:"0",width:"6.5",height:"6.5",fill:"#7FBA00"}),e("rect",{x:"0",y:"7.5",width:"6.5",height:"6.5",fill:"#00A4EF"}),e("rect",{x:"7.5",y:"7.5",width:"6.5",height:"6.5",fill:"#FFB900"})]}))};export{o as Microsoft};
|
|
2
|
+
//# sourceMappingURL=index.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../src/icons/colored/Microsoft.jsx"],"sourcesContent":["import React from 'react';\n\nconst Microsoft = (props) => {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <rect x=\"0\" y=\"0\" width=\"6.5\" height=\"6.5\" fill=\"#F25022\" />\n <rect x=\"7.5\" y=\"0\" width=\"6.5\" height=\"6.5\" fill=\"#7FBA00\" />\n <rect x=\"0\" y=\"7.5\" width=\"6.5\" height=\"6.5\" fill=\"#00A4EF\" />\n <rect x=\"7.5\" y=\"7.5\" width=\"6.5\" height=\"6.5\" fill=\"#FFB900\" />\n </svg>\n );\n};\n\nexport default Microsoft;\n"],"names":["Microsoft$1","props","_jsxs","_objectSpread","width","height","viewBox","fill","xmlns","children","_jsx","x","y"],"mappings":"4jCAEA,IAkBAA,EAlBkB,SAACC,GACf,OACIC,EAAA,MAAAC,EAAAA,EAAA,CACIC,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BACFP,GAAK,GAAA,CAAAQ,UAETC,EAAA,OAAA,CAAMC,EAAE,IAAIC,EAAE,IAAIR,MAAM,MAAMC,OAAO,MAAME,KAAK,YAChDG,EAAA,OAAA,CAAMC,EAAE,MAAMC,EAAE,IAAIR,MAAM,MAAMC,OAAO,MAAME,KAAK,YAClDG,EAAA,OAAA,CAAMC,EAAE,IAAIC,EAAE,MAAMR,MAAM,MAAMC,OAAO,MAAME,KAAK,YAClDG,EAAA,OAAA,CAAMC,EAAE,MAAMC,EAAE,MAAMR,MAAM,MAAMC,OAAO,MAAME,KAAK,eAGhE"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("react");var e=require("react/jsx-runtime");function t(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function i(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?r(Object(n),!0).forEach((function(r){t(e,r,n[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var n=function(t){return e.jsxs("svg",i(i({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),{},{children:[e.jsx("rect",{x:"0",y:"0",width:"6.5",height:"6.5",fill:"#F25022"}),e.jsx("rect",{x:"7.5",y:"0",width:"6.5",height:"6.5",fill:"#7FBA00"}),e.jsx("rect",{x:"0",y:"7.5",width:"6.5",height:"6.5",fill:"#00A4EF"}),e.jsx("rect",{x:"7.5",y:"7.5",width:"6.5",height:"6.5",fill:"#FFB900"})]}))};exports.Microsoft=n;
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/icons/colored/Microsoft.jsx"],"sourcesContent":["import React from 'react';\n\nconst Microsoft = (props) => {\n return (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <rect x=\"0\" y=\"0\" width=\"6.5\" height=\"6.5\" fill=\"#F25022\" />\n <rect x=\"7.5\" y=\"0\" width=\"6.5\" height=\"6.5\" fill=\"#7FBA00\" />\n <rect x=\"0\" y=\"7.5\" width=\"6.5\" height=\"6.5\" fill=\"#00A4EF\" />\n <rect x=\"7.5\" y=\"7.5\" width=\"6.5\" height=\"6.5\" fill=\"#FFB900\" />\n </svg>\n );\n};\n\nexport default Microsoft;\n"],"names":["Microsoft$1","props","_jsxs","_objectSpread","width","height","viewBox","fill","xmlns","children","_jsx","jsx","x","y"],"mappings":"onCAEA,IAkBAA,EAlBkB,SAACC,GACf,OACIC,OAAA,MAAAC,EAAAA,EAAA,CACIC,MAAM,KACNC,OAAO,KACPC,QAAQ,YACRC,KAAK,OACLC,MAAM,8BACFP,GAAK,GAAA,CAAAQ,UAETC,EAAAC,IAAA,OAAA,CAAMC,EAAE,IAAIC,EAAE,IAAIT,MAAM,MAAMC,OAAO,MAAME,KAAK,YAChDG,EAAAC,IAAA,OAAA,CAAMC,EAAE,MAAMC,EAAE,IAAIT,MAAM,MAAMC,OAAO,MAAME,KAAK,YAClDG,EAAAC,IAAA,OAAA,CAAMC,EAAE,IAAIC,EAAE,MAAMT,MAAM,MAAMC,OAAO,MAAME,KAAK,YAClDG,EAAAC,IAAA,OAAA,CAAMC,EAAE,MAAMC,EAAE,MAAMT,MAAM,MAAMC,OAAO,MAAME,KAAK,eAGhE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onehaul/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Core UI components library designed and developed by OneHaul",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"require": "./dist/icons/index.js",
|
|
17
17
|
"types": "./dist/icons/index.d.ts"
|
|
18
18
|
},
|
|
19
|
+
"./icons/colored": {
|
|
20
|
+
"import": "./dist/icons/colored/index.esm.js",
|
|
21
|
+
"require": "./dist/icons/colored/index.js",
|
|
22
|
+
"types": "./dist/icons/colored/index.d.ts"
|
|
23
|
+
},
|
|
19
24
|
"./styles": "./dist/styles.css",
|
|
20
25
|
"./dist/index.css": "./dist/index.css",
|
|
21
26
|
"./dist/styles.css": "./dist/styles.css"
|