@stachelock/ui 0.8.2 → 0.8.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/UiSlideOver.vue_vue_type_script_setup_true_lang-CjSduy9N.js +191 -0
- package/dist/index.js +1763 -1946
- package/dist/modals/UiSlideOver.d.ts +3 -0
- package/dist/modals/UiSlideOver.js +4 -0
- package/dist/src/components/modals/index.d.ts +1 -1
- package/package.json +1 -1
- package/scripts/generateRecursiveIndex.cjs +5 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as AlertModal } from './AlertModal';
|
|
2
2
|
export { default as BaseModal } from './BaseModal';
|
|
3
3
|
export { default as ImageCropperModal } from './ImageCropperModal';
|
|
4
|
-
export { default as
|
|
4
|
+
export { default as UiSlideOver } from './UiSlideOver';
|
package/package.json
CHANGED
|
@@ -16,6 +16,11 @@ function toPascalCase(str) {
|
|
|
16
16
|
|
|
17
17
|
// Function to generate export name for components
|
|
18
18
|
function generateComponentExportName(fileName, directoryName) {
|
|
19
|
+
// For modals directory, preserve the Ui prefix for UiSlideOver
|
|
20
|
+
if (directoryName === 'modals' && fileName.startsWith('Ui')) {
|
|
21
|
+
return fileName; // Keep original name (e.g., UiSlideOver)
|
|
22
|
+
}
|
|
23
|
+
|
|
19
24
|
const cleanFileName = fileName.replace(/^Ui/, '').replace(/^Sl/, '');
|
|
20
25
|
const pascalFileName = toPascalCase(cleanFileName);
|
|
21
26
|
|