mayak-common-library 0.0.88 → 0.0.90
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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",
|
|
@@ -1327,7 +1328,7 @@ var ToggleButtonGroup = (props) => {
|
|
|
1327
1328
|
value,
|
|
1328
1329
|
onChange,
|
|
1329
1330
|
"aria-label": "text formatting",
|
|
1330
|
-
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap"}`,
|
|
1331
|
+
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap gap-2"}`,
|
|
1331
1332
|
children
|
|
1332
1333
|
})
|
|
1333
1334
|
);
|
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",
|
|
@@ -1282,7 +1283,7 @@ var ToggleButtonGroup = (props) => {
|
|
|
1282
1283
|
value,
|
|
1283
1284
|
onChange,
|
|
1284
1285
|
"aria-label": "text formatting",
|
|
1285
|
-
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap"}`,
|
|
1286
|
+
className: `flex flex-${flexDirection} ${textView ? "gap-1 flex-nowrap flex-col" : " flex-wrap gap-2"}`,
|
|
1286
1287
|
children
|
|
1287
1288
|
})
|
|
1288
1289
|
);
|