Skip to content

Commit 54c28dd

Browse files
authored
Merge pull request #1294 from DNNCommunity/release/0.27.0
Released v0.27.0
2 parents 3630ca5 + 1ab971a commit 54c28dd

File tree

80 files changed

+5556
-6915
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+5556
-6915
lines changed

_build/Build.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
using Nuke.Common.Utilities;
1919
using Octokit;
2020
using static Nuke.Common.EnvironmentInfo;
21-
using static Nuke.Common.IO.FileSystemTasks;
2221
using static Nuke.Common.IO.PathConstruction;
2322
using static Nuke.Common.IO.TextTasks;
24-
using static Nuke.Common.IO.SerializationTasks;
2523
using static Nuke.Common.Tools.Git.GitTasks;
2624
using static Nuke.Common.Tools.GitHub.GitHubTasks;
2725
using static Nuke.Common.Tools.Npm.NpmTasks;

_build/_build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Nuke.Common" Version="9.0.3" />
14+
<PackageReference Include="Nuke.Common" Version="9.0.4" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"sdk": {
3-
"version": "9.0.100",
3+
"version": "9.0.202",
44
"rollForward": "latestMajor"
55
}
66
}

package-lock.json

Lines changed: 4155 additions & 5736 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
"test": "npx lerna run test"
1111
},
1212
"devDependencies": {
13-
"@types/node": "^22.2.0",
13+
"@types/node": "^22.14.0",
1414
"lerna": "^8.0.0",
1515
"typescript": "^5.0.3"
16-
},
17-
"version": "1.2.3",
18-
"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
16+
}
1917
}

packages/react-library/package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dnncommunity/dnn-elements-react",
3-
"version": "0.24.2-beta.1",
3+
"version": "0.26.0-alpha.2",
44
"description": "Dnn themed custom elements with react wrappers.",
55
"homepage": "https://github.com/valadas/dnn-elements",
66
"license": "MIT",
@@ -34,18 +34,10 @@
3434
"@babel/preset-env": "^7.21.4",
3535
"@babel/preset-react": "^7.18.6",
3636
"@babel/preset-typescript": "^7.21.4",
37-
"@storybook/addon-essentials": "^8.1.9",
38-
"@storybook/addon-interactions": "^8.1.9",
39-
"@storybook/addon-links": "^8.1.9",
40-
"@storybook/blocks": "^8.1.9",
41-
"@storybook/react": "^8.1.9",
42-
"@storybook/react-webpack5": "^8.1.9",
43-
"@storybook/testing-library": "^0.2.1",
4437
"@types/react": "^18.0.31",
4538
"prop-types": "^15.8.1",
4639
"react": "^18.2.0",
47-
"react-dom": "^18.2.0",
48-
"storybook": "^8.1.9",
40+
"react-dom": "^19.1.0",
4941
"typescript": "^5.0.3"
5042
}
5143
}

packages/stencil-library/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ $RECYCLE.BIN/
2727
Thumbs.db
2828
UserInterfaceState.xcuserstate
2929
.env
30+
31+
*storybook.log
Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,27 @@
1-
import { dirname, join } from "path";
2-
import type { StorybookConfig } from "@storybook/web-components-webpack5";
1+
import type { StorybookConfig } from '@storybook/web-components-vite';
32

3+
import { join, dirname } from "path"
4+
5+
/**
6+
* This function is used to resolve the absolute path of a package.
7+
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
8+
*/
9+
function getAbsolutePath(value: string): any {
10+
return dirname(require.resolve(join(value, 'package.json')))
11+
}
412
const config: StorybookConfig = {
5-
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
6-
addons: [
7-
getAbsolutePath("@storybook/addon-links"),
8-
getAbsolutePath("@storybook/addon-essentials"),
9-
getAbsolutePath("@storybook/addon-actions"),
10-
getAbsolutePath("@storybook/addon-a11y"),
11-
{
12-
name: "@storybook/addon-docs",
13-
options: {
14-
configureJSX: true,
15-
babelOptions: {},
16-
sourceLoaderOptions: null,
17-
transcludeMarkdown: true,
18-
},
19-
},
20-
getAbsolutePath("@storybook/addon-webpack5-compiler-babel"),
21-
getAbsolutePath("@chromatic-com/storybook")
13+
"stories": [
14+
"../src/**/*.mdx",
15+
"../src/**/*.stories.@(js|jsx|mjs|ts|tsx)",
16+
],
17+
"addons": [
18+
getAbsolutePath('@storybook/addon-essentials'),
19+
getAbsolutePath('@storybook/addon-a11y'),
2220
],
23-
framework: {
24-
name: getAbsolutePath("@storybook/web-components-webpack5"),
25-
options: {},
21+
"framework": {
22+
"name": getAbsolutePath('@storybook/web-components-vite'),
23+
"options": {}
2624
},
2725
staticDirs: [{ from: './assets', to: '/assets'}],
28-
docs: {},
2926
};
30-
export default config;
31-
32-
function getAbsolutePath(value: string): any {
33-
return dirname(require.resolve(join(value, "package.json")));
34-
}
27+
export default config;

packages/stencil-library/.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {addons} from '@storybook/addons';
1+
import {addons} from '@storybook/manager-api';
22
import {create} from '@storybook/theming';
33

44
const theme = create({

packages/stencil-library/.storybook/preview-head.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
<!-- <script type="module" src="assets/components/dnn/dnn.esm.js"></script>
2-
<script nomodule src="assets/components/dnn/dnn.js"></script> -->
31
<style type="text/css">
42
:root {
53
--dnn-color-primary: #3792ED;

0 commit comments

Comments
 (0)