@dmsi/wedgekit-react 0.0.586 → 0.0.587

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.
@@ -1020,6 +1020,7 @@ var Stepper = (_a) => {
1020
1020
  var _b = _a, {
1021
1021
  error,
1022
1022
  disabled,
1023
+ hideButtons = false,
1023
1024
  value,
1024
1025
  setValue,
1025
1026
  onDecrease,
@@ -1031,6 +1032,7 @@ var Stepper = (_a) => {
1031
1032
  } = _b, props = __objRest(_b, [
1032
1033
  "error",
1033
1034
  "disabled",
1035
+ "hideButtons",
1034
1036
  "value",
1035
1037
  "setValue",
1036
1038
  "onDecrease",
@@ -1061,7 +1063,7 @@ var Stepper = (_a) => {
1061
1063
  "data-testid": testid,
1062
1064
  className: (0, import_clsx7.default)("flex items-center", componentGap),
1063
1065
  children: [
1064
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1066
+ !hideButtons && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1065
1067
  Button,
1066
1068
  {
1067
1069
  id: id ? `${id}-decrease-button` : void 0,
@@ -1105,7 +1107,7 @@ var Stepper = (_a) => {
1105
1107
  className: "!w-6 !h-4.5 !px-0 disabled:!text-text-on-action-primary-disabled disabled:!bg-background-action-secondary-disabled disabled:!border-border-primary-normal"
1106
1108
  })
1107
1109
  ) }),
1108
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1110
+ !hideButtons && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
1109
1111
  Button,
1110
1112
  {
1111
1113
  id: id ? `${id}-increase-button` : void 0,
@@ -28,6 +28,7 @@ var Stepper = (_a) => {
28
28
  var _b = _a, {
29
29
  error,
30
30
  disabled,
31
+ hideButtons = false,
31
32
  value,
32
33
  setValue,
33
34
  onDecrease,
@@ -39,6 +40,7 @@ var Stepper = (_a) => {
39
40
  } = _b, props = __objRest(_b, [
40
41
  "error",
41
42
  "disabled",
43
+ "hideButtons",
42
44
  "value",
43
45
  "setValue",
44
46
  "onDecrease",
@@ -69,7 +71,7 @@ var Stepper = (_a) => {
69
71
  "data-testid": testid,
70
72
  className: clsx("flex items-center", componentGap),
71
73
  children: [
72
- /* @__PURE__ */ jsx(
74
+ !hideButtons && /* @__PURE__ */ jsx(
73
75
  Button,
74
76
  {
75
77
  id: id ? `${id}-decrease-button` : void 0,
@@ -113,7 +115,7 @@ var Stepper = (_a) => {
113
115
  className: "!w-6 !h-4.5 !px-0 disabled:!text-text-on-action-primary-disabled disabled:!bg-background-action-secondary-disabled disabled:!border-border-primary-normal"
114
116
  })
115
117
  ) }),
116
- /* @__PURE__ */ jsx(
118
+ !hideButtons && /* @__PURE__ */ jsx(
117
119
  Button,
118
120
  {
119
121
  id: id ? `${id}-increase-button` : void 0,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dmsi/wedgekit-react",
3
3
  "private": false,
4
- "version": "0.0.586",
4
+ "version": "0.0.587",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "build": "tsup",