mayak-common-library 0.0.88 → 0.0.89

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.d.mts CHANGED
@@ -53,6 +53,7 @@ interface SelectProProps {
53
53
  small?: boolean;
54
54
  fullWidth?: boolean;
55
55
  freeChildWidth?: boolean;
56
+ disableCloseButton?: boolean;
56
57
  openUp?: boolean;
57
58
  intermediateChild?: ReactElement;
58
59
  accentBgColor?: true;
package/dist/index.d.ts CHANGED
@@ -53,6 +53,7 @@ interface SelectProProps {
53
53
  small?: boolean;
54
54
  fullWidth?: boolean;
55
55
  freeChildWidth?: boolean;
56
+ disableCloseButton?: boolean;
56
57
  openUp?: boolean;
57
58
  intermediateChild?: ReactElement;
58
59
  accentBgColor?: true;
package/dist/index.js CHANGED
@@ -332,6 +332,7 @@ var SelectPro = ({
332
332
  small = false,
333
333
  fullWidth = false,
334
334
  freeChildWidth = false,
335
+ disableCloseButton = false,
335
336
  openUp,
336
337
  intermediateChild,
337
338
  accentBgColor,
@@ -427,7 +428,7 @@ var SelectPro = ({
427
428
  className: `flex flex-col py-3 px-4 gap-2 shadow-sm`,
428
429
  sx: childContainerSx,
429
430
  children: [
430
- overButton ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
431
+ !disableCloseButton && overButton ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
431
432
  IconButton_default,
432
433
  {
433
434
  className: "bg-accent-silver p-1 self-end absolute",
package/dist/index.mjs CHANGED
@@ -273,6 +273,7 @@ var SelectPro = ({
273
273
  small = false,
274
274
  fullWidth = false,
275
275
  freeChildWidth = false,
276
+ disableCloseButton = false,
276
277
  openUp,
277
278
  intermediateChild,
278
279
  accentBgColor,
@@ -368,7 +369,7 @@ var SelectPro = ({
368
369
  className: `flex flex-col py-3 px-4 gap-2 shadow-sm`,
369
370
  sx: childContainerSx,
370
371
  children: [
371
- overButton ? /* @__PURE__ */ jsx7(
372
+ !disableCloseButton && overButton ? /* @__PURE__ */ jsx7(
372
373
  IconButton_default,
373
374
  {
374
375
  className: "bg-accent-silver p-1 self-end absolute",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mayak-common-library",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",