@magiclabs/ui-components 1.20.0 → 1.20.1
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("@styled/tokens");const n=({color:l,title:t,titleId:r,...C})=>{const i=l||o.token("colors.text.primary");return e.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":r,...C,children:[t?e.jsx("title",{id:r,children:t}):null,e.jsx("path",{d:"
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("@styled/tokens");const n=({color:l,title:t,titleId:r,...C})=>{const i=l||o.token("colors.text.primary");return e.jsxs("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:i,"aria-labelledby":r,...C,children:[t?e.jsx("title",{id:r,children:t}):null,e.jsx("path",{d:"M11.8666 5.73325C11.3716 5.73325 10.8968 5.53659 10.5467 5.18653C10.1967 4.83647 10 4.36169 10 3.86663C10 3.37157 10.1967 2.89678 10.5467 2.54672C10.8968 2.19666 11.3716 2 11.8666 2C12.3617 2 12.8365 2.19666 13.1865 2.54672C13.5366 2.89678 13.7333 3.37157 13.7333 3.86663C13.7333 4.36169 13.5366 4.83647 13.1865 5.18653C12.8365 5.53659 12.3617 5.73325 11.8666 5.73325Z",fill:"currentColor"}),e.jsx("path",{d:"M11.8666 13.8665C11.3716 13.8665 10.8968 13.6699 10.5467 13.3198C10.1967 12.9697 10 12.495 10 11.9999C10 11.5048 10.1967 11.0301 10.5467 10.68C10.8968 10.3299 11.3716 10.1333 11.8666 10.1333C12.3617 10.1333 12.8365 10.3299 13.1865 10.68C13.5366 11.0301 13.7333 11.5048 13.7333 11.9999C13.7333 12.495 13.5366 12.9697 13.1865 13.3198C12.8365 13.6699 12.3617 13.8665 11.8666 13.8665Z",fill:"currentColor"}),e.jsx("path",{d:"M10 20.1334C10 20.6284 10.1967 21.1032 10.5467 21.4533C10.8968 21.8033 11.3716 22 11.8666 22C12.3617 22 12.8365 21.8033 13.1865 21.4533C13.5366 21.1032 13.7333 20.6284 13.7333 20.1334C13.7333 19.6383 13.5366 19.1635 13.1865 18.8135C12.8365 18.4634 12.3617 18.2668 11.8666 18.2668C11.3716 18.2668 10.8968 18.4634 10.5467 18.8135C10.1967 19.1635 10 19.6383 10 20.1334Z",fill:"currentColor"})]})};exports.default=n;
|
|
2
2
|
//# sourceMappingURL=ico-kebab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ico-kebab.js","sources":["../../../../src/components/icons/ico-kebab.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\nimport { token } from '@styled/tokens';\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nexport interface Props extends SVGRProps, SVGProps<SVGSVGElement> {\n /**\n * Configures icon color on monochrome svgs.\n */\n color?: string;\n}\nconst IcoKebab = ({ color: customColor, title, titleId, ...props }: Props) => {\n // Utilize dynamic primary text color by default\n const color = customColor || token('colors.text.primary');\n return (\n <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n color={color}\n aria-labelledby={titleId}\n {...props}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n <path\n d=\"
|
|
1
|
+
{"version":3,"file":"ico-kebab.js","sources":["../../../../src/components/icons/ico-kebab.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\nimport { token } from '@styled/tokens';\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nexport interface Props extends SVGRProps, SVGProps<SVGSVGElement> {\n /**\n * Configures icon color on monochrome svgs.\n */\n color?: string;\n}\nconst IcoKebab = ({ color: customColor, title, titleId, ...props }: Props) => {\n // Utilize dynamic primary text color by default\n const color = customColor || token('colors.text.primary');\n return (\n <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n color={color}\n aria-labelledby={titleId}\n {...props}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n <path\n d=\"M11.8666 5.73325C11.3716 5.73325 10.8968 5.53659 10.5467 5.18653C10.1967 4.83647 10 4.36169 10 3.86663C10 3.37157 10.1967 2.89678 10.5467 2.54672C10.8968 2.19666 11.3716 2 11.8666 2C12.3617 2 12.8365 2.19666 13.1865 2.54672C13.5366 2.89678 13.7333 3.37157 13.7333 3.86663C13.7333 4.36169 13.5366 4.83647 13.1865 5.18653C12.8365 5.53659 12.3617 5.73325 11.8666 5.73325Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M11.8666 13.8665C11.3716 13.8665 10.8968 13.6699 10.5467 13.3198C10.1967 12.9697 10 12.495 10 11.9999C10 11.5048 10.1967 11.0301 10.5467 10.68C10.8968 10.3299 11.3716 10.1333 11.8666 10.1333C12.3617 10.1333 12.8365 10.3299 13.1865 10.68C13.5366 11.0301 13.7333 11.5048 13.7333 11.9999C13.7333 12.495 13.5366 12.9697 13.1865 13.3198C12.8365 13.6699 12.3617 13.8665 11.8666 13.8665Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M10 20.1334C10 20.6284 10.1967 21.1032 10.5467 21.4533C10.8968 21.8033 11.3716 22 11.8666 22C12.3617 22 12.8365 21.8033 13.1865 21.4533C13.5366 21.1032 13.7333 20.6284 13.7333 20.1334C13.7333 19.6383 13.5366 19.1635 13.1865 18.8135C12.8365 18.4634 12.3617 18.2668 11.8666 18.2668C11.3716 18.2668 10.8968 18.4634 10.5467 18.8135C10.1967 19.1635 10 19.6383 10 20.1334Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\nexport default IcoKebab;\n"],"names":["IcoKebab","customColor","title","titleId","props","color","token","_jsxs","_jsx"],"mappings":"mIAYA,MAAMA,EAAW,CAAC,CAAE,MAAOC,EAAa,MAAAC,EAAO,QAAAC,EAAS,GAAGC,CAAK,IAAa,CAE3E,MAAMC,EAAQJ,GAAeK,EAAM,MAAA,qBAAqB,EACxD,OACEC,EAAAA,KACE,MAAA,CAAA,MAAO,GACP,OAAQ,GACR,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAOF,oBACUF,EAAO,GACpBC,EAAK,SAAA,CAERF,EAAQM,EAAAA,IAAA,QAAA,CAAO,GAAIL,EAAU,SAAAD,IAAiB,KAC/CM,EAAAA,IACE,OAAA,CAAA,EAAE,mXACF,KAAK,cAAc,CAAA,EAErBA,EACE,IAAA,OAAA,CAAA,EAAE,+XACF,KAAK,cAAc,CAAA,EAErBA,EACE,IAAA,OAAA,CAAA,EAAE,iXACF,KAAK,cACL,CAAA,CAAA,CAAA,CAAA,CAGR"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as i,jsx as C}from"react/jsx-runtime";import{token as n}from"@styled/tokens";const c=({color:r,title:l,titleId:t,...o})=>{const e=r||n("colors.text.primary");return i("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:e,"aria-labelledby":t,...o,children:[l?C("title",{id:t,children:l}):null,C("path",{d:"
|
|
1
|
+
import{jsxs as i,jsx as C}from"react/jsx-runtime";import{token as n}from"@styled/tokens";const c=({color:r,title:l,titleId:t,...o})=>{const e=r||n("colors.text.primary");return i("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",color:e,"aria-labelledby":t,...o,children:[l?C("title",{id:t,children:l}):null,C("path",{d:"M11.8666 5.73325C11.3716 5.73325 10.8968 5.53659 10.5467 5.18653C10.1967 4.83647 10 4.36169 10 3.86663C10 3.37157 10.1967 2.89678 10.5467 2.54672C10.8968 2.19666 11.3716 2 11.8666 2C12.3617 2 12.8365 2.19666 13.1865 2.54672C13.5366 2.89678 13.7333 3.37157 13.7333 3.86663C13.7333 4.36169 13.5366 4.83647 13.1865 5.18653C12.8365 5.53659 12.3617 5.73325 11.8666 5.73325Z",fill:"currentColor"}),C("path",{d:"M11.8666 13.8665C11.3716 13.8665 10.8968 13.6699 10.5467 13.3198C10.1967 12.9697 10 12.495 10 11.9999C10 11.5048 10.1967 11.0301 10.5467 10.68C10.8968 10.3299 11.3716 10.1333 11.8666 10.1333C12.3617 10.1333 12.8365 10.3299 13.1865 10.68C13.5366 11.0301 13.7333 11.5048 13.7333 11.9999C13.7333 12.495 13.5366 12.9697 13.1865 13.3198C12.8365 13.6699 12.3617 13.8665 11.8666 13.8665Z",fill:"currentColor"}),C("path",{d:"M10 20.1334C10 20.6284 10.1967 21.1032 10.5467 21.4533C10.8968 21.8033 11.3716 22 11.8666 22C12.3617 22 12.8365 21.8033 13.1865 21.4533C13.5366 21.1032 13.7333 20.6284 13.7333 20.1334C13.7333 19.6383 13.5366 19.1635 13.1865 18.8135C12.8365 18.4634 12.3617 18.2668 11.8666 18.2668C11.3716 18.2668 10.8968 18.4634 10.5467 18.8135C10.1967 19.1635 10 19.6383 10 20.1334Z",fill:"currentColor"})]})};export{c as default};
|
|
2
2
|
//# sourceMappingURL=ico-kebab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ico-kebab.js","sources":["../../../../src/components/icons/ico-kebab.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\nimport { token } from '@styled/tokens';\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nexport interface Props extends SVGRProps, SVGProps<SVGSVGElement> {\n /**\n * Configures icon color on monochrome svgs.\n */\n color?: string;\n}\nconst IcoKebab = ({ color: customColor, title, titleId, ...props }: Props) => {\n // Utilize dynamic primary text color by default\n const color = customColor || token('colors.text.primary');\n return (\n <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n color={color}\n aria-labelledby={titleId}\n {...props}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n <path\n d=\"
|
|
1
|
+
{"version":3,"file":"ico-kebab.js","sources":["../../../../src/components/icons/ico-kebab.tsx"],"sourcesContent":["import type { SVGProps } from 'react';\nimport { token } from '@styled/tokens';\ninterface SVGRProps {\n title?: string;\n titleId?: string;\n}\nexport interface Props extends SVGRProps, SVGProps<SVGSVGElement> {\n /**\n * Configures icon color on monochrome svgs.\n */\n color?: string;\n}\nconst IcoKebab = ({ color: customColor, title, titleId, ...props }: Props) => {\n // Utilize dynamic primary text color by default\n const color = customColor || token('colors.text.primary');\n return (\n <svg\n width={24}\n height={24}\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n color={color}\n aria-labelledby={titleId}\n {...props}\n >\n {title ? <title id={titleId}>{title}</title> : null}\n <path\n d=\"M11.8666 5.73325C11.3716 5.73325 10.8968 5.53659 10.5467 5.18653C10.1967 4.83647 10 4.36169 10 3.86663C10 3.37157 10.1967 2.89678 10.5467 2.54672C10.8968 2.19666 11.3716 2 11.8666 2C12.3617 2 12.8365 2.19666 13.1865 2.54672C13.5366 2.89678 13.7333 3.37157 13.7333 3.86663C13.7333 4.36169 13.5366 4.83647 13.1865 5.18653C12.8365 5.53659 12.3617 5.73325 11.8666 5.73325Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M11.8666 13.8665C11.3716 13.8665 10.8968 13.6699 10.5467 13.3198C10.1967 12.9697 10 12.495 10 11.9999C10 11.5048 10.1967 11.0301 10.5467 10.68C10.8968 10.3299 11.3716 10.1333 11.8666 10.1333C12.3617 10.1333 12.8365 10.3299 13.1865 10.68C13.5366 11.0301 13.7333 11.5048 13.7333 11.9999C13.7333 12.495 13.5366 12.9697 13.1865 13.3198C12.8365 13.6699 12.3617 13.8665 11.8666 13.8665Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M10 20.1334C10 20.6284 10.1967 21.1032 10.5467 21.4533C10.8968 21.8033 11.3716 22 11.8666 22C12.3617 22 12.8365 21.8033 13.1865 21.4533C13.5366 21.1032 13.7333 20.6284 13.7333 20.1334C13.7333 19.6383 13.5366 19.1635 13.1865 18.8135C12.8365 18.4634 12.3617 18.2668 11.8666 18.2668C11.3716 18.2668 10.8968 18.4634 10.5467 18.8135C10.1967 19.1635 10 19.6383 10 20.1334Z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\nexport default IcoKebab;\n"],"names":["IcoKebab","customColor","title","titleId","props","color","token","_jsxs","_jsx"],"mappings":"yFAYA,MAAMA,EAAW,CAAC,CAAE,MAAOC,EAAa,MAAAC,EAAO,QAAAC,EAAS,GAAGC,CAAK,IAAa,CAE3E,MAAMC,EAAQJ,GAAeK,EAAM,qBAAqB,EACxD,OACEC,EACE,MAAA,CAAA,MAAO,GACP,OAAQ,GACR,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,MAAOF,oBACUF,EAAO,GACpBC,EAAK,SAAA,CAERF,EAAQM,EAAA,QAAA,CAAO,GAAIL,EAAU,SAAAD,IAAiB,KAC/CM,EACE,OAAA,CAAA,EAAE,mXACF,KAAK,cAAc,CAAA,EAErBA,EACE,OAAA,CAAA,EAAE,+XACF,KAAK,cAAc,CAAA,EAErBA,EACE,OAAA,CAAA,EAAE,iXACF,KAAK,cACL,CAAA,CAAA,CAAA,CAAA,CAGR"}
|