@mapfirst.ai/react 0.0.99 → 0.1.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.
package/dist/index.js CHANGED
@@ -74,22 +74,22 @@ var import_react = __toESM(require("react"));
74
74
 
75
75
  // src/components/Icons.tsx
76
76
  var import_jsx_runtime = require("react/jsx-runtime");
77
- var SearchIcon = ({ className, style }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
77
+ var SearchIcon = ({ className, style }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
78
78
  "svg",
79
79
  {
80
- xmlns: "http://www.w3.org/2000/svg",
81
80
  viewBox: "0 0 24 24",
82
- fill: "none",
83
- stroke: "currentColor",
84
- strokeWidth: "2",
85
- strokeLinecap: "round",
86
- strokeLinejoin: "round",
81
+ "aria-hidden": "true",
82
+ fill: "currentColor",
87
83
  className,
88
84
  style: { width: "1em", height: "1em", ...style },
89
- children: [
90
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", { cx: "11", cy: "11", r: "8" }),
91
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "m21 21-4.35-4.35" })
92
- ]
85
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
86
+ "path",
87
+ {
88
+ fillRule: "evenodd",
89
+ clipRule: "evenodd",
90
+ d: "M10.12 4.14a5.99 5.99 0 1 0 0 11.98 5.99 5.99 0 0 0 0-11.98m-7.49 5.99a7.49 7.49 0 1 1 13.299 4.728L21.37 20.3l-1.06 1.061-5.44-5.44A7.49 7.49 0 0 1 2.63 10.13"
91
+ }
92
+ )
93
93
  }
94
94
  );
95
95
  var CloseIcon = ({ className, style }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
@@ -113,18 +113,19 @@ var CloseIcon = ({ className, style }) => /* @__PURE__ */ (0, import_jsx_runtime
113
113
  var EditIcon = ({ className, style }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
114
114
  "svg",
115
115
  {
116
- xmlns: "http://www.w3.org/2000/svg",
117
116
  viewBox: "0 0 24 24",
118
- fill: "none",
119
- stroke: "currentColor",
120
- strokeWidth: "2",
121
- strokeLinecap: "round",
122
- strokeLinejoin: "round",
123
117
  className,
124
118
  style: { width: "1em", height: "1em", ...style },
125
119
  children: [
126
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
127
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
120
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { width: "24", height: "24", fill: "none" }),
121
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
122
+ "path",
123
+ {
124
+ d: "M.75,17.5A.751.751,0,0,1,0,16.75V12.569a.755.755,0,0,1,.22-.53L11.461.8a2.72,2.72,0,0,1,3.848,0L16.7,2.191a2.72,2.72,0,0,1,0,3.848L5.462,17.28a.747.747,0,0,1-.531.22ZM1.5,12.879V16h3.12l7.91-7.91L9.41,4.97ZM13.591,7.03l2.051-2.051a1.223,1.223,0,0,0,0-1.727L14.249,1.858a1.222,1.222,0,0,0-1.727,0L10.47,3.91Z",
125
+ transform: "translate(3.25 3.25)",
126
+ fill: "#141124"
127
+ }
128
+ )
128
129
  ]
129
130
  }
130
131
  );
@@ -1304,6 +1305,7 @@ var FilterChips = ({
1304
1305
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1305
1306
  "button",
1306
1307
  {
1308
+ className: "mapfirst-clear-all-button",
1307
1309
  style: {
1308
1310
  flexShrink: 0,
1309
1311
  padding: "4px 16px",
package/dist/index.mjs CHANGED
@@ -28,22 +28,22 @@ import React from "react";
28
28
 
29
29
  // src/components/Icons.tsx
30
30
  import { jsx, jsxs } from "react/jsx-runtime";
31
- var SearchIcon = ({ className, style }) => /* @__PURE__ */ jsxs(
31
+ var SearchIcon = ({ className, style }) => /* @__PURE__ */ jsx(
32
32
  "svg",
33
33
  {
34
- xmlns: "http://www.w3.org/2000/svg",
35
34
  viewBox: "0 0 24 24",
36
- fill: "none",
37
- stroke: "currentColor",
38
- strokeWidth: "2",
39
- strokeLinecap: "round",
40
- strokeLinejoin: "round",
35
+ "aria-hidden": "true",
36
+ fill: "currentColor",
41
37
  className,
42
38
  style: { width: "1em", height: "1em", ...style },
43
- children: [
44
- /* @__PURE__ */ jsx("circle", { cx: "11", cy: "11", r: "8" }),
45
- /* @__PURE__ */ jsx("path", { d: "m21 21-4.35-4.35" })
46
- ]
39
+ children: /* @__PURE__ */ jsx(
40
+ "path",
41
+ {
42
+ fillRule: "evenodd",
43
+ clipRule: "evenodd",
44
+ d: "M10.12 4.14a5.99 5.99 0 1 0 0 11.98 5.99 5.99 0 0 0 0-11.98m-7.49 5.99a7.49 7.49 0 1 1 13.299 4.728L21.37 20.3l-1.06 1.061-5.44-5.44A7.49 7.49 0 0 1 2.63 10.13"
45
+ }
46
+ )
47
47
  }
48
48
  );
49
49
  var CloseIcon = ({ className, style }) => /* @__PURE__ */ jsxs(
@@ -67,18 +67,19 @@ var CloseIcon = ({ className, style }) => /* @__PURE__ */ jsxs(
67
67
  var EditIcon = ({ className, style }) => /* @__PURE__ */ jsxs(
68
68
  "svg",
69
69
  {
70
- xmlns: "http://www.w3.org/2000/svg",
71
70
  viewBox: "0 0 24 24",
72
- fill: "none",
73
- stroke: "currentColor",
74
- strokeWidth: "2",
75
- strokeLinecap: "round",
76
- strokeLinejoin: "round",
77
71
  className,
78
72
  style: { width: "1em", height: "1em", ...style },
79
73
  children: [
80
- /* @__PURE__ */ jsx("path", { d: "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7" }),
81
- /* @__PURE__ */ jsx("path", { d: "M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z" })
74
+ /* @__PURE__ */ jsx("rect", { width: "24", height: "24", fill: "none" }),
75
+ /* @__PURE__ */ jsx(
76
+ "path",
77
+ {
78
+ d: "M.75,17.5A.751.751,0,0,1,0,16.75V12.569a.755.755,0,0,1,.22-.53L11.461.8a2.72,2.72,0,0,1,3.848,0L16.7,2.191a2.72,2.72,0,0,1,0,3.848L5.462,17.28a.747.747,0,0,1-.531.22ZM1.5,12.879V16h3.12l7.91-7.91L9.41,4.97ZM13.591,7.03l2.051-2.051a1.223,1.223,0,0,0,0-1.727L14.249,1.858a1.222,1.222,0,0,0-1.727,0L10.47,3.91Z",
79
+ transform: "translate(3.25 3.25)",
80
+ fill: "#141124"
81
+ }
82
+ )
82
83
  ]
83
84
  }
84
85
  );
@@ -1267,6 +1268,7 @@ var FilterChips = ({
1267
1268
  /* @__PURE__ */ jsx10(
1268
1269
  "button",
1269
1270
  {
1271
+ className: "mapfirst-clear-all-button",
1270
1272
  style: {
1271
1273
  flexShrink: 0,
1272
1274
  padding: "4px 16px",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapfirst.ai/react",
3
- "version": "0.0.99",
3
+ "version": "0.1.1",
4
4
  "description": "React hooks for MapFirst SDK - Reactive state management for map properties",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",