@ebertjendustries/cswrapper 1.0.3 → 1.0.4

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
@@ -1031,7 +1031,8 @@ function CSVEnumRatingView(props) {
1031
1031
  }
1032
1032
 
1033
1033
  // src/views/CSVNoItemsView.tsx
1034
- var import_components = require("@cloudscape-design/components");
1034
+ var import_box2 = __toESM(require("@cloudscape-design/components/box"));
1035
+ var import_space_between = __toESM(require("@cloudscape-design/components/space-between"));
1035
1036
  var import_jsx_runtime25 = require("react/jsx-runtime");
1036
1037
  var CSV_NO_ITEMS_VIEW_SPEC = (ns) => ViewSpec.create("CSVNoItemsView", ns, (spec) => ({
1037
1038
  boxHeading: spec.addField(new FieldSpec("boxHeading")),
@@ -1040,7 +1041,7 @@ var CSV_NO_ITEMS_VIEW_SPEC = (ns) => ViewSpec.create("CSVNoItemsView", ns, (spec
1040
1041
  function CSVNoItemsView(props) {
1041
1042
  const spec = props.viewSpec;
1042
1043
  const { elements } = spec;
1043
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { "data-testid": spec.getDataTestId(), children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components.Box, { textAlign: "center", color: "inherit", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components.SpaceBetween, { size: "xxs", direction: "vertical", children: [
1044
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { "data-testid": spec.getDataTestId(), children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_box2.default, { textAlign: "center", color: "inherit", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_space_between.default, { size: "xxs", direction: "vertical", children: [
1044
1045
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1045
1046
  CSBox,
1046
1047
  {
@@ -1195,7 +1196,7 @@ function CSVPriceInputView(props) {
1195
1196
  }
1196
1197
 
1197
1198
  // src/views/CSVSearchFilterView.tsx
1198
- var import_space_between = __toESM(require("@cloudscape-design/components/space-between"));
1199
+ var import_space_between2 = __toESM(require("@cloudscape-design/components/space-between"));
1199
1200
  var import_jsx_runtime27 = require("react/jsx-runtime");
1200
1201
  var CSV_SEARCH_FILTER_VIEW_SPEC = (parent, key) => ViewSpec.create(key, parent.ns, (spec) => ({
1201
1202
  inputSearch: spec.addField(new FieldSpec("inputSearch")),
@@ -1204,7 +1205,7 @@ var CSV_SEARCH_FILTER_VIEW_SPEC = (parent, key) => ViewSpec.create(key, parent.n
1204
1205
  function CSVSearchFilterView(props) {
1205
1206
  const spec = props.viewSpec;
1206
1207
  const { elements } = spec;
1207
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_space_between.default, { size: "s", direction: "horizontal", children: [
1208
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(import_space_between2.default, { size: "s", direction: "horizontal", children: [
1208
1209
  /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { style: { minWidth: "320px" }, children: props.inputSearch === void 0 || typeof props.inputSearch === "string" ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1209
1210
  CSInput,
1210
1211
  {
@@ -1235,7 +1236,9 @@ function CSVSearchFilterView(props) {
1235
1236
  }
1236
1237
 
1237
1238
  // src/views/CSVTextPromptModalView.tsx
1238
- var import_components2 = require("@cloudscape-design/components");
1239
+ var import_box3 = __toESM(require("@cloudscape-design/components/box"));
1240
+ var import_modal = __toESM(require("@cloudscape-design/components/modal"));
1241
+ var import_space_between3 = __toESM(require("@cloudscape-design/components/space-between"));
1239
1242
  var import_jsx_runtime28 = require("react/jsx-runtime");
1240
1243
  var CSV_TEXT_PROMPT_MODAL_VIEW_SPEC = (parent, key) => ViewSpec.create(key, parent.ns, (spec) => ({
1241
1244
  headerHeading: spec.addField(new FieldSpec("headerHeading")),
@@ -1257,7 +1260,7 @@ function CSVTextPromptModalView(props) {
1257
1260
  }
1258
1261
  ) : props.buttonSecondary : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_jsx_runtime28.Fragment, {});
1259
1262
  return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1260
- import_components2.Modal,
1263
+ import_modal.default,
1261
1264
  {
1262
1265
  "data-testid": props.viewSpec.getDataTestId(),
1263
1266
  onDismiss: props.onDismiss,
@@ -1270,7 +1273,7 @@ function CSVTextPromptModalView(props) {
1270
1273
  children: props.headerHeading
1271
1274
  }
1272
1275
  ) : props.headerHeading,
1273
- footer: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_components2.Box, { float: "right", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_components2.SpaceBetween, { direction: "horizontal", size: "l", children: [
1276
+ footer: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_box3.default, { float: "right", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_space_between3.default, { direction: "horizontal", size: "l", children: [
1274
1277
  props.buttonPrimary === void 0 || typeof props.buttonPrimary === "string" ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1275
1278
  CSButton,
1276
1279
  {
package/dist/index.mjs CHANGED
@@ -912,7 +912,8 @@ function CSVEnumRatingView(props) {
912
912
  }
913
913
 
914
914
  // src/views/CSVNoItemsView.tsx
915
- import { Box as Box2, SpaceBetween } from "@cloudscape-design/components";
915
+ import Box2 from "@cloudscape-design/components/box";
916
+ import SpaceBetween from "@cloudscape-design/components/space-between";
916
917
  import { jsx as jsx25, jsxs as jsxs3 } from "react/jsx-runtime";
917
918
  var CSV_NO_ITEMS_VIEW_SPEC = (ns) => ViewSpec.create("CSVNoItemsView", ns, (spec) => ({
918
919
  boxHeading: spec.addField(new FieldSpec("boxHeading")),
@@ -1116,7 +1117,9 @@ function CSVSearchFilterView(props) {
1116
1117
  }
1117
1118
 
1118
1119
  // src/views/CSVTextPromptModalView.tsx
1119
- import { Box as Box3, Modal, SpaceBetween as SpaceBetween3 } from "@cloudscape-design/components";
1120
+ import Box3 from "@cloudscape-design/components/box";
1121
+ import Modal from "@cloudscape-design/components/modal";
1122
+ import SpaceBetween3 from "@cloudscape-design/components/space-between";
1120
1123
  import { Fragment, jsx as jsx28, jsxs as jsxs6 } from "react/jsx-runtime";
1121
1124
  var CSV_TEXT_PROMPT_MODAL_VIEW_SPEC = (parent, key) => ViewSpec.create(key, parent.ns, (spec) => ({
1122
1125
  headerHeading: spec.addField(new FieldSpec("headerHeading")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebertjendustries/cswrapper",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",