@raketa-builder/image-input 0.4.0 → 0.5.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.
package/dist/index.js CHANGED
@@ -394,18 +394,8 @@ var require_dist = __commonJS({
394
394
  var import_react13 = __toESM2(require("react"));
395
395
  var import_jsx_runtime13 = require("react/jsx-runtime");
396
396
  var Stack3 = (_a) => {
397
- var _b = _a, { h, v, g, className } = _b, props = __objRest2(_b, ["h", "v", "g", "className"]);
398
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
399
- "div",
400
- __spreadValues2({
401
- style: {
402
- justifyContent: h || "flex-start",
403
- alignItems: v || "flex-start",
404
- gap: g || "1em"
405
- },
406
- className: cn7("r-stack", className)
407
- }, props)
408
- );
397
+ var _b = _a, { className } = _b, props = __objRest2(_b, ["className"]);
398
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", __spreadValues2({ className: cn7("r-stack", className) }, props));
409
399
  };
410
400
  var Stack_default = Stack3;
411
401
  var import_react14 = __toESM2(require("react"));
@@ -1140,7 +1130,7 @@ var BrowseTab = ({
1140
1130
  onSelect(newSelected);
1141
1131
  };
1142
1132
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_react4.default.Fragment, { children: [
1143
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui3.Stack, { v: "center", h: "flex-start", g: "0.5rem", children: [
1133
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui3.Stack, { className: "r-stack-align-center r-stack-justify-start", children: [
1144
1134
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1145
1135
  TextInput_default,
1146
1136
  {
@@ -1151,7 +1141,7 @@ var BrowseTab = ({
1151
1141
  ),
1152
1142
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_ui3.Button, { type: "button", variant: "secondary", onClick: () => onSearch(), children: "Search" })
1153
1143
  ] }),
1154
- /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui3.Stack, { g: "1rem", children: [
1144
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_ui3.Stack, { children: [
1155
1145
  /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(ImageList, { children: images.map((image) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
1156
1146
  ImageItem,
1157
1147
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-builder/image-input",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
@@ -143,7 +143,7 @@ const BrowseTab = ({
143
143
 
144
144
  return (
145
145
  <React.Fragment>
146
- <Stack v="center" h="flex-start" g="0.5rem">
146
+ <Stack className="r-stack-align-center r-stack-justify-start">
147
147
  <TextInput
148
148
  label="Search images"
149
149
  value={q}
@@ -155,7 +155,7 @@ const BrowseTab = ({
155
155
  </Button>
156
156
  </Stack>
157
157
 
158
- <Stack g="1rem">
158
+ <Stack>
159
159
  <ImageList>
160
160
  {images.map((image) => (
161
161
  <ImageItem