fds-vue-core 4.10.1 → 4.12.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/README.md +17 -0
- package/components.d.ts +1 -1
- package/dist/fds-vue-core.cjs.js +853 -680
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +853 -680
- package/dist/fds-vue-core.es.js.map +1 -1
- package/package.json +37 -21
- package/src/components/Blocks/FdsBlockExpander/FdsBlockExpander.stories.ts +12 -8
- package/src/components/Blocks/FdsBlockExpander/FdsBlockExpander.vue +10 -4
- package/src/components/Blocks/FdsBlockExpander/types.ts +2 -1
- package/src/components/FdsExitModal/FdsExitModal.vue +22 -0
- package/src/components/FdsExitModal/types.ts +12 -0
- package/src/components/FdsPagination/FdsPagination.vue +4 -0
- package/src/components/FdsSearchSelectPro/FdsSearchSelectPro.stories.ts +20 -0
- package/src/components/FdsSearchSelectPro/FdsSearchSelectPro.vue +34 -7
- package/src/components/FdsSearchSelectPro/types.ts +2 -0
- package/src/components/FdsWizard/FdsWizard.vue +181 -101
- package/src/components/FdsWizard/types.ts +11 -1
- package/src/composables/useDownload.ts +5 -4
- package/src/composables/useExitConfirmationGuard.ts +248 -0
- package/src/composables/useRouteScrollPositions.ts +38 -0
- package/src/index.ts +26 -6
- package/src/components/FdsWizard/FdsWizard.stories.ts +0 -65
package/README.md
CHANGED
|
@@ -142,6 +142,23 @@ All components are fully typed. Type definitions are included in the package.
|
|
|
142
142
|
- [Configuration Files](./CONFIG.md) - TypeScript, ESLint, Prettier, and VS Code configuration
|
|
143
143
|
- [Storybook](./) - Component API documentation and examples (run `pnpm storybook`)
|
|
144
144
|
|
|
145
|
+
### Local development in another project (pnpm)
|
|
146
|
+
|
|
147
|
+
When you want to test `fds-vue-core` changes in another pnpm-based project **without** publishing to npm, use a local `file:` dependency instead of `yalc`:
|
|
148
|
+
|
|
149
|
+
In the consuming project, add the dependency pointing to your local checkout of `fds-vue-core`:
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
pnpm add file:../../fds-vue-core
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Adjust the relative path so it points to this repo from your consuming project. After that:
|
|
156
|
+
|
|
157
|
+
- Run `pnpm install` in the consuming project as usual.
|
|
158
|
+
- Rebuild `fds-vue-core` when you change it (for example `pnpm build` in this repo), then restart or reload the consuming app if needed.
|
|
159
|
+
|
|
160
|
+
> Note: `yalc` is not recommended together with pnpm in this setup; use `pnpm add file:...` instead.
|
|
161
|
+
|
|
145
162
|
### Publish to npm
|
|
146
163
|
|
|
147
164
|
After you are done editing the fds-vue-core project you want to publish your changes in order to be able to access the changes in the projects that are using fds-vue-core.
|
package/components.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ import type { FdsListHeadingProps } from './src/components/Typography/FdsListHea
|
|
|
43
43
|
import type { FdsMetaProps } from './src/components/Typography/FdsMeta/types'
|
|
44
44
|
|
|
45
45
|
// Global component declarations visible in consuming projects
|
|
46
|
-
declare module '
|
|
46
|
+
declare module 'vue' {
|
|
47
47
|
export interface GlobalComponents {
|
|
48
48
|
FdsTreeView: DefineComponent<WrapperProps>
|
|
49
49
|
FdsButtonPrimary: DefineComponent<FdsButtonBaseProps>
|