@carto/meridian-ds 1.4.3-alpha-codemirror.5 → 1.4.3-alpha-codemirror.6

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.
Files changed (52) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/dist/Alert-ChcvNOU6.cjs +133 -0
  3. package/dist/Alert-CpgfD3bq.js +134 -0
  4. package/dist/ArrowDown-8fLj23Ge.cjs +31 -0
  5. package/dist/ArrowDown-CY_wMVJT.js +32 -0
  6. package/dist/MenuItem-Br2jY2lt.cjs +164 -0
  7. package/dist/MenuItem-CXnnE5lK.js +165 -0
  8. package/dist/OpenDiagonallyRight-5HZXh46V.js +59 -0
  9. package/dist/OpenDiagonallyRight-BrRyCV4Q.cjs +58 -0
  10. package/dist/SwatchSquare-DDi0beUM.js +51 -0
  11. package/dist/SwatchSquare-w-U8-O-P.cjs +50 -0
  12. package/dist/components/index.cjs +4402 -2
  13. package/dist/components/index.js +2779 -2398
  14. package/dist/custom-icons/index.cjs +5857 -1
  15. package/dist/custom-icons/index.js +2658 -2279
  16. package/dist/palette-CD5ph5A-.cjs +5872 -0
  17. package/dist/{TablePaginationActions-Cj_BbjKR.js → palette-DI1CmQ2J.js} +1276 -653
  18. package/dist/paletteUtils-DEHchy2r.cjs +93 -0
  19. package/dist/paletteUtils-DTaXyq2Z.js +77 -0
  20. package/dist/theme/index.cjs +3135 -1
  21. package/dist/theme/index.js +1049 -1011
  22. package/dist/types/components/organisms/CodeArea/CodeAreaInput.d.ts.map +1 -1
  23. package/dist/types/utils/chartConstants.d.ts +3 -3
  24. package/dist/types/utils/chartConstants.d.ts.map +1 -1
  25. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts +2 -2
  26. package/dist/types/widgets/CategoryWidgetUI/CategoryWidgetUI.d.ts.map +1 -1
  27. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts +2 -2
  28. package/dist/types/widgets/PieWidgetUI/PieWidgetUI.d.ts.map +1 -1
  29. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts +2 -2
  30. package/dist/types/widgets/PieWidgetUI/usePieCategories.d.ts.map +1 -1
  31. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts +2 -2
  32. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/ComparativeCategoryWidgetUI.d.ts.map +1 -1
  33. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts +2 -2
  34. package/dist/types/widgets/comparative/ComparativeCategoryWidgetUI/transposeCategoryData.d.ts.map +1 -1
  35. package/dist/types/widgets/index.d.ts +1 -0
  36. package/dist/types/widgets/index.d.ts.map +1 -1
  37. package/dist/widgets/index.cjs +7180 -21
  38. package/dist/widgets/index.js +5159 -3791
  39. package/package.json +1 -1
  40. package/dist/Alert-Bcn_9-oO.cjs +0 -4
  41. package/dist/Alert-mpNEqtBu.js +0 -130
  42. package/dist/ArrowDown-BD0WmQR3.cjs +0 -1
  43. package/dist/ArrowDown-CMhYkZ2p.js +0 -31
  44. package/dist/MenuItem-Cd34y6F3.js +0 -165
  45. package/dist/MenuItem-Dbss-WG1.cjs +0 -1
  46. package/dist/OpenDiagonallyRight-BkCaUpcr.js +0 -56
  47. package/dist/OpenDiagonallyRight-DqSU7b6o.cjs +0 -1
  48. package/dist/SwatchSquare-C34ayL4L.cjs +0 -1
  49. package/dist/SwatchSquare-CVpwEFFV.js +0 -48
  50. package/dist/TablePaginationActions-BfAn9gSh.cjs +0 -9
  51. package/dist/paletteUtils-BEwZhrLg.js +0 -262
  52. package/dist/paletteUtils-DLQVT9qo.cjs +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carto/meridian-ds",
3
- "version": "1.4.3-alpha-codemirror.5",
3
+ "version": "1.4.3-alpha-codemirror.6",
4
4
  "description": "CARTO Meridian Design System",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,4 +0,0 @@
1
- "use strict";const o=require("react/jsx-runtime"),c=require("./TablePaginationActions-BfAn9gSh.cjs"),l=require("@mui/material"),u=require("react"),T=l.styled(l.Alert,{shouldForwardProp:i=>!["isNeutral","content","hasCloseButton","hasAction","hasTitle","isSticky"].includes(i)})(({isNeutral:i,content:n,hasCloseButton:r,hasAction:e,hasTitle:t,isSticky:s,theme:a})=>({columnGap:a.spacing(1),minHeight:a.spacing(6),...e&&{display:"grid",gridTemplateAreas:n==="inline"||r?'"icon message actions"':`
2
- "icon message"
3
- "icon actions"
4
- `,gridTemplateColumns:r?`${c.ICON_SIZE_MEDIUM} 1fr ${a.spacing(3)}`:`${c.ICON_SIZE_MEDIUM}`},...i&&{backgroundColor:a.palette.default.background,color:a.palette.text.primary},...s&&{borderRadius:0},".MuiAlert-message":{flex:1,paddingTop:t?a.spacing(.25):a.spacing(.5),"& a":{color:a.palette.primary.main,textDecoration:"none","&:hover":{textDecoration:"underline"}},...e&&{gridArea:"message"},...i&&{"& :not(.MuiAlertTitle-root)":{color:a.palette.text.secondary},a:{color:`${a.palette.primary.main} !important`}}},".MuiAlert-icon":{height:t?a.spacing(2.5):a.spacing(3),marginRight:0,...e&&{gridArea:"icon"},...i&&{color:a.palette.text.primary}},".MuiAlert-action":{alignItems:n==="inline"&&!r?"center":"flex-start",margin:n==="block"&&!r?a.spacing(1.5,0,.5):0,marginLeft:n==="inline"||r?"auto":0,padding:0,...e&&{gridArea:"actions"},".MuiIconButton-root svg path":{fill:r?a.palette.text.secondary:void 0}}}));function v({title:i,action:n,severity:r="neutral",content:e="inline",variant:t="standard",children:s,onClose:a,open:p,isSticky:d,...A},x){const[f,y]=u.useState(p??!0),m=a?I=>{a(I),y(!1)}:void 0,g=r==="neutral",M=p??f;return o.jsx(l.Fade,{in:M,appear:!1,children:o.jsxs(T,{ref:x,severity:g?"info":r,isNeutral:g,content:e,action:n,onClose:m,hasCloseButton:!!a,hasAction:!!n,hasTitle:!!i,isSticky:d,variant:t,"data-name":"alert","data-sticky":d,"data-content":e,...A,children:[i&&o.jsx(l.AlertTitle,{children:i}),o.jsx(c.Typography,{variant:"caption",color:"inherit",component:"div",children:s})]})})}const b=u.forwardRef(v);exports.Alert=b;
@@ -1,130 +0,0 @@
1
- import { jsx as l, jsxs as x } from "react/jsx-runtime";
2
- import { b as d, T } from "./TablePaginationActions-Cj_BbjKR.js";
3
- import { styled as M, Alert as v, Fade as b, AlertTitle as I } from "@mui/material";
4
- import { forwardRef as $, useState as k } from "react";
5
- const D = M(v, {
6
- shouldForwardProp: (r) => ![
7
- "isNeutral",
8
- "content",
9
- "hasCloseButton",
10
- "hasAction",
11
- "hasTitle",
12
- "isSticky"
13
- ].includes(r)
14
- })(
15
- ({
16
- isNeutral: r,
17
- content: n,
18
- hasCloseButton: i,
19
- hasAction: o,
20
- hasTitle: e,
21
- isSticky: t,
22
- theme: a
23
- }) => ({
24
- columnGap: a.spacing(1),
25
- minHeight: a.spacing(6),
26
- ...o && {
27
- display: "grid",
28
- gridTemplateAreas: n === "inline" || i ? '"icon message actions"' : `
29
- "icon message"
30
- "icon actions"
31
- `,
32
- gridTemplateColumns: i ? `${d} 1fr ${a.spacing(3)}` : `${d}`
33
- },
34
- ...r && {
35
- backgroundColor: a.palette.default.background,
36
- color: a.palette.text.primary
37
- },
38
- ...t && {
39
- borderRadius: 0
40
- },
41
- ".MuiAlert-message": {
42
- flex: 1,
43
- paddingTop: e ? a.spacing(0.25) : a.spacing(0.5),
44
- "& a": {
45
- color: a.palette.primary.main,
46
- textDecoration: "none",
47
- "&:hover": {
48
- textDecoration: "underline"
49
- }
50
- },
51
- ...o && {
52
- gridArea: "message"
53
- },
54
- ...r && {
55
- "& :not(.MuiAlertTitle-root)": {
56
- color: a.palette.text.secondary
57
- },
58
- a: {
59
- color: `${a.palette.primary.main} !important`
60
- }
61
- }
62
- },
63
- ".MuiAlert-icon": {
64
- height: e ? a.spacing(2.5) : a.spacing(3),
65
- marginRight: 0,
66
- ...o && {
67
- gridArea: "icon"
68
- },
69
- ...r && {
70
- color: a.palette.text.primary
71
- }
72
- },
73
- ".MuiAlert-action": {
74
- alignItems: n === "inline" && !i ? "center" : "flex-start",
75
- margin: n === "block" && !i ? a.spacing(1.5, 0, 0.5) : 0,
76
- marginLeft: n === "inline" || i ? "auto" : 0,
77
- padding: 0,
78
- ...o && {
79
- gridArea: "actions"
80
- },
81
- ".MuiIconButton-root svg path": {
82
- fill: i ? a.palette.text.secondary : void 0
83
- }
84
- }
85
- })
86
- );
87
- function O({
88
- title: r,
89
- action: n,
90
- severity: i = "neutral",
91
- content: o = "inline",
92
- variant: e = "standard",
93
- children: t,
94
- onClose: a,
95
- open: s,
96
- isSticky: p,
97
- ...g
98
- }, u) {
99
- const [f, m] = k(s ?? !0), A = a ? (y) => {
100
- a(y), m(!1);
101
- } : void 0, c = i === "neutral";
102
- return /* @__PURE__ */ l(b, { in: s ?? f, appear: !1, children: /* @__PURE__ */ x(
103
- D,
104
- {
105
- ref: u,
106
- severity: c ? "info" : i,
107
- isNeutral: c,
108
- content: o,
109
- action: n,
110
- onClose: A,
111
- hasCloseButton: !!a,
112
- hasAction: !!n,
113
- hasTitle: !!r,
114
- isSticky: p,
115
- variant: e,
116
- "data-name": "alert",
117
- "data-sticky": p,
118
- "data-content": o,
119
- ...g,
120
- children: [
121
- r && /* @__PURE__ */ l(I, { children: r }),
122
- /* @__PURE__ */ l(T, { variant: "caption", color: "inherit", component: "div", children: t })
123
- ]
124
- }
125
- ) });
126
- }
127
- const E = $(O);
128
- export {
129
- E as A
130
- };
@@ -1 +0,0 @@
1
- "use strict";const o=require("react/jsx-runtime"),c=require("react"),l=require("@mui/material/utils"),i=()=>o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 12.17 8.83 9l-1.41 1.41L12 15l4.59-4.59L15.17 9z",clipRule:"evenodd"})}),w=l.createSvgIcon(i(),"ArrowDown");function u({width:e,height:r,sx:n,...s},t){return o.jsx(w,{ref:t,viewBox:"0 0 24 24",sx:{width:e,height:r||e,...n},...s})}const v=c.forwardRef(u);exports.ArrowDown=v;
@@ -1,31 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as c } from "react";
3
- import { createSvgIcon as w } from "@mui/material/utils";
4
- const i = () => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ o(
5
- "path",
6
- {
7
- fill: "currentColor",
8
- fillRule: "evenodd",
9
- d: "M12 12.17 8.83 9l-1.41 1.41L12 15l4.59-4.59L15.17 9z",
10
- clipRule: "evenodd"
11
- }
12
- ) }), s = w(i(), "ArrowDown");
13
- function f({ width: r, height: n, sx: e, ...l }, t) {
14
- return /* @__PURE__ */ o(
15
- s,
16
- {
17
- ref: t,
18
- viewBox: "0 0 24 24",
19
- sx: {
20
- width: r,
21
- height: n || r,
22
- ...e
23
- },
24
- ...l
25
- }
26
- );
27
- }
28
- const d = c(f);
29
- export {
30
- d as A
31
- };
@@ -1,165 +0,0 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { forwardRef as s } from "react";
3
- import { styled as c, MenuItem as g } from "@mui/material";
4
- const u = c(g, {
5
- shouldForwardProp: (o) => !["subtitle", "destructive", "extended", "fixed", "iconColor"].includes(
6
- o
7
- )
8
- })(
9
- ({
10
- theme: o,
11
- dense: t,
12
- subtitle: r,
13
- destructive: i,
14
- extended: a,
15
- fixed: p,
16
- iconColor: n = "primary"
17
- }) => ({
18
- ...r && {
19
- pointerEvents: "none",
20
- columnGap: 0,
21
- ...o.typography.caption,
22
- fontWeight: 500,
23
- color: o.palette.text.secondary,
24
- ".MuiListItemText-root .MuiTypography-root": {
25
- ...o.typography.caption,
26
- fontWeight: 500,
27
- color: o.palette.text.secondary
28
- },
29
- "&.MuiMenuItem-root": {
30
- minHeight: o.spacing(3),
31
- paddingTop: 0,
32
- paddingBottom: 0,
33
- marginTop: o.spacing(1),
34
- "&:not(:first-of-type)": {
35
- marginTop: o.spacing(2),
36
- "&::before": {
37
- content: '""',
38
- position: "absolute",
39
- top: o.spacing(-1),
40
- left: 0,
41
- right: 0,
42
- height: 1,
43
- backgroundColor: o.palette.divider
44
- }
45
- }
46
- }
47
- },
48
- ...n === "primary" && {
49
- ".MuiListItemIcon-root svg path": {
50
- fill: o.palette.text.primary
51
- },
52
- "&.Mui-selected .MuiListItemIcon-root svg path": {
53
- fill: o.palette.primary.main
54
- },
55
- '.MuiAutocomplete-listbox &[aria-selected="true"] svg path': {
56
- fill: o.palette.primary.main
57
- }
58
- },
59
- ...i && {
60
- color: o.palette.error.main,
61
- ".MuiTypography-root": {
62
- color: o.palette.error.main
63
- },
64
- "svg, & .MuiSvgIcon-root": {
65
- color: o.palette.error.main
66
- },
67
- ".MuiListItemIcon-root svg path": {
68
- fill: o.palette.error.main
69
- },
70
- "&.Mui-selected .MuiListItemIcon-root svg path": {
71
- fill: o.palette.error.main
72
- },
73
- "&:hover": {
74
- backgroundColor: o.palette.error.relatedLight
75
- },
76
- "&.Mui-selected": {
77
- color: o.palette.error.main,
78
- ".MuiTypography-root": {
79
- color: o.palette.error.main
80
- },
81
- "svg, & .MuiSvgIcon-root": {
82
- color: o.palette.error.main
83
- }
84
- },
85
- "&.Mui-disabled": {
86
- color: o.palette.text.disabled,
87
- ".MuiTypography-root": {
88
- color: o.palette.text.disabled
89
- },
90
- svg: {
91
- color: o.palette.text.disabled
92
- }
93
- }
94
- },
95
- ...a && {
96
- "&.MuiButtonBase-root.MuiMenuItem-root": {
97
- minHeight: o.spacing(6)
98
- }
99
- },
100
- ...p && {
101
- "&.MuiMenuItem-root": {
102
- position: "sticky",
103
- top: 0,
104
- left: 0,
105
- bottom: 0,
106
- right: 0,
107
- zIndex: 2,
108
- minHeight: o.spacing(6),
109
- marginBottom: o.spacing(1),
110
- padding: o.spacing(0.5, 1.5),
111
- backgroundColor: `${o.palette.background.paper} !important`,
112
- borderBottom: `1px solid ${o.palette.divider}`
113
- },
114
- ".MuiAutocomplete-listbox &.MuiAutocomplete-option:first-of-type": {
115
- minHeight: o.spacing(6),
116
- marginTop: 0,
117
- "&:hover": {
118
- backgroundColor: o.palette.background.paper
119
- }
120
- }
121
- },
122
- ...!p && {
123
- ".MuiList-root &:first-of-type": {
124
- marginTop: o.spacing(1)
125
- }
126
- },
127
- ...t && {
128
- "&.MuiButtonBase-root.MuiMenuItem-root": {
129
- minHeight: o.spacing(3),
130
- padding: o.spacing(0.25, 1.5)
131
- }
132
- }
133
- })
134
- );
135
- function d({
136
- disabled: o,
137
- subtitle: t,
138
- destructive: r,
139
- extended: i,
140
- fixed: a,
141
- iconColor: p = "primary",
142
- ...n
143
- }, e) {
144
- return /* @__PURE__ */ l(
145
- u,
146
- {
147
- "data-name": "menu-item",
148
- ...n,
149
- ref: e,
150
- disabled: o || t,
151
- subtitle: t,
152
- destructive: r,
153
- extended: i,
154
- fixed: a,
155
- color: p,
156
- "data-destructive": r,
157
- "data-extended": i,
158
- "data-fixed": a
159
- }
160
- );
161
- }
162
- const f = s(d);
163
- export {
164
- f as M
165
- };
@@ -1 +0,0 @@
1
- "use strict";const s=require("react/jsx-runtime"),c=require("react"),p=require("@mui/material"),u=p.styled(p.MenuItem,{shouldForwardProp:o=>!["subtitle","destructive","extended","fixed","iconColor"].includes(o)})(({theme:o,dense:t,subtitle:r,destructive:i,extended:a,fixed:e,iconColor:n="primary"})=>({...r&&{pointerEvents:"none",columnGap:0,...o.typography.caption,fontWeight:500,color:o.palette.text.secondary,".MuiListItemText-root .MuiTypography-root":{...o.typography.caption,fontWeight:500,color:o.palette.text.secondary},"&.MuiMenuItem-root":{minHeight:o.spacing(3),paddingTop:0,paddingBottom:0,marginTop:o.spacing(1),"&:not(:first-of-type)":{marginTop:o.spacing(2),"&::before":{content:'""',position:"absolute",top:o.spacing(-1),left:0,right:0,height:1,backgroundColor:o.palette.divider}}}},...n==="primary"&&{".MuiListItemIcon-root svg path":{fill:o.palette.text.primary},"&.Mui-selected .MuiListItemIcon-root svg path":{fill:o.palette.primary.main},'.MuiAutocomplete-listbox &[aria-selected="true"] svg path':{fill:o.palette.primary.main}},...i&&{color:o.palette.error.main,".MuiTypography-root":{color:o.palette.error.main},"svg, & .MuiSvgIcon-root":{color:o.palette.error.main},".MuiListItemIcon-root svg path":{fill:o.palette.error.main},"&.Mui-selected .MuiListItemIcon-root svg path":{fill:o.palette.error.main},"&:hover":{backgroundColor:o.palette.error.relatedLight},"&.Mui-selected":{color:o.palette.error.main,".MuiTypography-root":{color:o.palette.error.main},"svg, & .MuiSvgIcon-root":{color:o.palette.error.main}},"&.Mui-disabled":{color:o.palette.text.disabled,".MuiTypography-root":{color:o.palette.text.disabled},svg:{color:o.palette.text.disabled}}},...a&&{"&.MuiButtonBase-root.MuiMenuItem-root":{minHeight:o.spacing(6)}},...e&&{"&.MuiMenuItem-root":{position:"sticky",top:0,left:0,bottom:0,right:0,zIndex:2,minHeight:o.spacing(6),marginBottom:o.spacing(1),padding:o.spacing(.5,1.5),backgroundColor:`${o.palette.background.paper} !important`,borderBottom:`1px solid ${o.palette.divider}`},".MuiAutocomplete-listbox &.MuiAutocomplete-option:first-of-type":{minHeight:o.spacing(6),marginTop:0,"&:hover":{backgroundColor:o.palette.background.paper}}},...!e&&{".MuiList-root &:first-of-type":{marginTop:o.spacing(1)}},...t&&{"&.MuiButtonBase-root.MuiMenuItem-root":{minHeight:o.spacing(3),padding:o.spacing(.25,1.5)}}}));function g({disabled:o,subtitle:t,destructive:r,extended:i,fixed:a,iconColor:e="primary",...n},l){return s.jsx(u,{"data-name":"menu-item",...n,ref:l,disabled:o||t,subtitle:t,destructive:r,extended:i,fixed:a,color:e,"data-destructive":r,"data-extended":i,"data-fixed":a})}const d=c.forwardRef(g);exports.MenuItem=d;
@@ -1,56 +0,0 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import { forwardRef as r } from "react";
3
- import { createSvgIcon as g } from "@mui/material/utils";
4
- const s = () => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ l(
5
- "path",
6
- {
7
- fill: "currentColor",
8
- fillRule: "evenodd",
9
- d: "m6.121 19.293 2.877-2.877V19H11v-6l-6 .007v1.994l2.584.001-2.877 2.877zM13 11l6-.007V8.999h-2.585l2.878-2.878-1.414-1.414L15 7.585V5H13z",
10
- clipRule: "evenodd"
11
- }
12
- ) }), a = g(s(), "CloseDiagonallyRight");
13
- function c({ width: o, height: n, sx: e, ...i }, t) {
14
- return /* @__PURE__ */ l(
15
- a,
16
- {
17
- ref: t,
18
- viewBox: "0 0 24 24",
19
- sx: {
20
- width: o,
21
- height: n || o,
22
- ...e
23
- },
24
- ...i
25
- }
26
- );
27
- }
28
- const m = r(c), v = () => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ l(
29
- "path",
30
- {
31
- fill: "currentColor",
32
- fillRule: "evenodd",
33
- d: "m14.121 11.293 2.877-2.877V11H19V5l-6 .007v1.994l2.584.001-2.877 2.877zM5 19l6-.007v-1.994H8.415l2.878-2.878-1.414-1.414L7 15.585V13H5z",
34
- clipRule: "evenodd"
35
- }
36
- ) }), h = g(v(), "OpenDiagonallyRight");
37
- function f({ width: o, height: n, sx: e, ...i }, t) {
38
- return /* @__PURE__ */ l(
39
- h,
40
- {
41
- ref: t,
42
- viewBox: "0 0 24 24",
43
- sx: {
44
- width: o,
45
- height: n || o,
46
- ...e
47
- },
48
- ...i
49
- }
50
- );
51
- }
52
- const u = r(f);
53
- export {
54
- m as C,
55
- u as O
56
- };
@@ -1 +0,0 @@
1
- "use strict";const l=require("react/jsx-runtime"),s=require("react"),g=require("@mui/material/utils"),c=()=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",children:l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m6.121 19.293 2.877-2.877V19H11v-6l-6 .007v1.994l2.584.001-2.877 2.877zM13 11l6-.007V8.999h-2.585l2.878-2.878-1.414-1.414L15 7.585V5H13z",clipRule:"evenodd"})}),r=g.createSvgIcon(c(),"CloseDiagonallyRight");function a({width:e,height:n,sx:o,...i},t){return l.jsx(r,{ref:t,viewBox:"0 0 24 24",sx:{width:e,height:n||e,...o},...i})}const v=s.forwardRef(a),h=()=>l.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",children:l.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"m14.121 11.293 2.877-2.877V11H19V5l-6 .007v1.994l2.584.001-2.877 2.877zM5 19l6-.007v-1.994H8.415l2.878-2.878-1.414-1.414L7 15.585V13H5z",clipRule:"evenodd"})}),u=g.createSvgIcon(h(),"OpenDiagonallyRight");function R({width:e,height:n,sx:o,...i},t){return l.jsx(u,{ref:t,viewBox:"0 0 24 24",sx:{width:e,height:n||e,...o},...i})}const x=s.forwardRef(R);exports.CloseDiagonallyRight=v;exports.OpenDiagonallyRight=x;
@@ -1 +0,0 @@
1
- "use strict";const e=require("react/jsx-runtime"),s=require("react"),a=require("@mui/material/utils"),l=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",children:e.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11 4a7 7 0 0 1 5.386 11.472l3.089 3.089-1.414 1.414-3.161-3.161A7 7 0 1 1 11 4m0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10",clipRule:"evenodd"})}),i=a.createSvgIcon(l(),"Search");function u({width:r,height:c,sx:n,...t},o){return e.jsx(i,{ref:o,viewBox:"0 0 24 24",sx:{width:r,height:c||r,...n},...t})}const S=s.forwardRef(u),h=()=>e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",children:e.jsx("rect",{x:4,y:4,fill:"currentColor",rx:2})}),x=a.createSvgIcon(h(),"SwatchSquare");function w({width:r,height:c,sx:n,...t},o){return e.jsx(x,{ref:o,viewBox:"0 0 24 24",sx:{width:r,height:c||r,...n},...t})}const g=s.forwardRef(w);exports.Search=S;exports.SwatchSquare=g;
@@ -1,48 +0,0 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as l } from "react";
3
- import { createSvgIcon as a } from "@mui/material/utils";
4
- const s = () => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ o(
5
- "path",
6
- {
7
- fill: "currentColor",
8
- fillRule: "evenodd",
9
- d: "M11 4a7 7 0 0 1 5.386 11.472l3.089 3.089-1.414 1.414-3.161-3.161A7 7 0 1 1 11 4m0 2a5 5 0 1 0 0 10 5 5 0 0 0 0-10",
10
- clipRule: "evenodd"
11
- }
12
- ) }), i = a(s(), "Search");
13
- function h({ width: r, height: e, sx: n, ...c }, t) {
14
- return /* @__PURE__ */ o(
15
- i,
16
- {
17
- ref: t,
18
- viewBox: "0 0 24 24",
19
- sx: {
20
- width: r,
21
- height: e || r,
22
- ...n
23
- },
24
- ...c
25
- }
26
- );
27
- }
28
- const x = l(h), S = () => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", children: /* @__PURE__ */ o("rect", { x: 4, y: 4, fill: "currentColor", rx: 2 }) }), f = a(S(), "SwatchSquare");
29
- function w({ width: r, height: e, sx: n, ...c }, t) {
30
- return /* @__PURE__ */ o(
31
- f,
32
- {
33
- ref: t,
34
- viewBox: "0 0 24 24",
35
- sx: {
36
- width: r,
37
- height: e || r,
38
- ...n
39
- },
40
- ...c
41
- }
42
- );
43
- }
44
- const m = l(w);
45
- export {
46
- x as S,
47
- m as a
48
- };