@vector-business-services/cristal-ds-web 0.7.0 → 0.8.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.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +9 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -321,6 +321,7 @@ function Drawer({
|
|
|
321
321
|
subtitle,
|
|
322
322
|
side = "right",
|
|
323
323
|
behavior = "full",
|
|
324
|
+
size = "small",
|
|
324
325
|
modal = true,
|
|
325
326
|
onBack,
|
|
326
327
|
backLabel = "Voltar",
|
|
@@ -368,7 +369,13 @@ function Drawer({
|
|
|
368
369
|
primeiro.focus();
|
|
369
370
|
}
|
|
370
371
|
};
|
|
371
|
-
const classes = [
|
|
372
|
+
const classes = [
|
|
373
|
+
"cr-drawer",
|
|
374
|
+
`cr-drawer--${side}`,
|
|
375
|
+
`cr-drawer--${behavior}`,
|
|
376
|
+
`cr-drawer--size-${size}`,
|
|
377
|
+
className
|
|
378
|
+
].filter(Boolean).join(" ");
|
|
372
379
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
373
380
|
sidebar.Sidebar,
|
|
374
381
|
{
|