diff --git a/.github/workflows/storybook.yaml b/.github/workflows/storybook.yaml index 2c929ce45..a42272adc 100644 --- a/.github/workflows/storybook.yaml +++ b/.github/workflows/storybook.yaml @@ -27,7 +27,7 @@ jobs: with: version: 7 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '20' cache: 'pnpm' @@ -36,11 +36,11 @@ jobs: - name: Build run: pnpm run build-storybook - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: './storybook-static' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v3 + uses: actions/deploy-pages@v4 diff --git a/components-api-lock.json b/components-api-lock.json index b33716d17..0996b2d89 100644 --- a/components-api-lock.json +++ b/components-api-lock.json @@ -1466,8 +1466,8 @@ } }, { - "name": "description", - "description": "Use this props to set dialog description.", + "name": "content", + "description": "Use this props to set dialog content.", "required": false, "type": { "name": "string" @@ -1594,8 +1594,8 @@ } }, { - "name": "textDescriptionAttrs", - "description": "Use this props to pass attrs for description UiText", + "name": "textContentAttrs", + "description": "Use this props to pass attrs for content UiText", "required": false, "type": { "name": "TextAttrsProps" @@ -1652,6 +1652,13 @@ "func": false, "value": "() => ({ icon: 'close' })" } + }, + { + "name": "hasContent", + "defaultValue": { + "func": false, + "value": "false" + } } ], "events": [ @@ -1736,7 +1743,7 @@ "title": "binding" }, { - "name": "description", + "name": "content", "title": "binding" }, { @@ -1760,11 +1767,11 @@ "title": "binding" }, { - "name": "hasDescription", + "name": "hasContent", "title": "binding" }, { - "name": "textDescriptionAttrs", + "name": "textContentAttrs", "title": "binding" }, { @@ -1823,7 +1830,7 @@ "title": "binding" }, { - "name": "description", + "name": "content", "title": "binding" }, { @@ -1847,11 +1854,11 @@ "title": "binding" }, { - "name": "hasDescription", + "name": "hasContent", "title": "binding" }, { - "name": "textDescriptionAttrs", + "name": "textContentAttrs", "title": "binding" } ] @@ -1874,7 +1881,7 @@ "title": "binding" }, { - "name": "description", + "name": "content", "title": "binding" }, { @@ -1917,20 +1924,20 @@ ] }, { - "name": "description", + "name": "content", "scoped": true, - "description": "Use this slot to replace description template.", + "description": "Use this slot to replace content template.", "bindings": [ { - "name": "hasDescription", + "name": "hasContent", "title": "binding" }, { - "name": "textDescriptionAttrs", + "name": "textContentAttrs", "title": "binding" }, { - "name": "description", + "name": "content", "title": "binding" } ] @@ -1938,7 +1945,7 @@ { "name": "actions", "scoped": true, - "description": "Use this slot to replace actions template.", + "description": "Use this slot to replace header template.", "bindings": [ { "name": "hasActions", diff --git a/docs/releases/v1.9.x/v1.9.0/changelog.stories.mdx.mdx b/docs/releases/v1.9.x/v1.9.0/changelog.stories.mdx.mdx new file mode 100644 index 000000000..b54383ad7 --- /dev/null +++ b/docs/releases/v1.9.x/v1.9.0/changelog.stories.mdx.mdx @@ -0,0 +1,12 @@ +import { Meta } from '@storybook/blocks'; + + + +# 1.9.0 (July 10, 2024) + +## ⛔️ Breaking Changes +* rename `description` slot to `content` in `UiModal` and focus to the first focusable element to directive `focus-trap` ([#507](https://github.com/infermedica/component-library/pull/507)) + +## 🧹 Chores +* update pnpm/action-setup to fix GH actions ([#508](https://github.com/infermedica/component-library/pull/508)) + diff --git a/package.json b/package.json index 2a063ee5d..237905400 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@infermedica/component-library", - "version": "1.8.1", + "version": "1.9.0", "description": "Vue 3 UI library for healthcare and not only.", "license": "MIT", "sideEffects": [