Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
9f8c650
Bump form-data from 4.0.2 to 4.0.4
dependabot[bot] Jul 22, 2025
d338bb2
Bump @typescript-eslint/parser from 8.30.1 to 8.38.0
dependabot[bot] Aug 1, 2025
0e15aae
Bump @storybook/web-components-vite from 8.6.12 to 9.1.0
dependabot[bot] Aug 1, 2025
70ff298
Bump @storybook/addon-a11y from 8.6.12 to 9.1.0
dependabot[bot] Aug 1, 2025
3223c46
Merge pull request #1338 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 22, 2025
b3fde0e
Merge pull request #1339 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 22, 2025
a13ab79
Merge pull request #1340 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 22, 2025
9224538
Merge pull request #1337 from DNNCommunity/dependabot/npm_and_yarn/fo…
valadas Aug 22, 2025
408f079
Bump tmp and inquirer
dependabot[bot] Aug 22, 2025
04048e9
Bump lit from 3.3.0 to 3.3.1
dependabot[bot] Aug 22, 2025
c7104d2
Bump @typescript-eslint/rule-tester from 8.32.1 to 8.40.0
dependabot[bot] Aug 22, 2025
605080f
Bump @storybook/web-components from 8.6.12 to 9.1.3
dependabot[bot] Aug 22, 2025
d4dff7e
Merge pull request #1341 from DNNCommunity/dependabot/npm_and_yarn/mu…
valadas Aug 22, 2025
ec8639e
Merge pull request #1342 from DNNCommunity/dependabot/npm_and_yarn/li…
valadas Aug 22, 2025
88bd3cf
Merge pull request #1343 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 22, 2025
ef8f89b
Bump @typescript-eslint/utils from 8.30.1 to 8.40.0
dependabot[bot] Aug 22, 2025
38a0b2f
Merge pull request #1344 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 22, 2025
eadae16
Merge pull request #1348 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 22, 2025
12d8a79
Bump react-dom from 19.1.0 to 19.1.1
dependabot[bot] Aug 22, 2025
7a4dea2
Merge pull request #1346 from DNNCommunity/dependabot/npm_and_yarn/re…
valadas Aug 22, 2025
6e6a58c
Bump @storybook/addon-a11y from 9.1.0 to 9.1.3
dependabot[bot] Aug 22, 2025
92d7d95
Bump eslint from 9.27.0 to 9.34.0
dependabot[bot] Aug 22, 2025
f23cbba
Bump lerna from 8.2.1 to 8.2.3
dependabot[bot] Aug 22, 2025
24f2ddb
Merge pull request #1349 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 22, 2025
2d0a75a
Merge pull request #1350 from DNNCommunity/dependabot/npm_and_yarn/es…
valadas Aug 22, 2025
ce85714
Bump jiti from 2.4.2 to 2.5.1
dependabot[bot] Aug 22, 2025
64c7a43
Merge pull request #1351 from DNNCommunity/dependabot/npm_and_yarn/le…
valadas Aug 22, 2025
f7704a1
Bump @eslint/js from 9.27.0 to 9.34.0
dependabot[bot] Aug 22, 2025
81914f3
Merge pull request #1353 from DNNCommunity/dependabot/npm_and_yarn/ji…
valadas Aug 23, 2025
e9b5231
Merge pull request #1354 from DNNCommunity/dependabot/npm_and_yarn/es…
valadas Aug 23, 2025
d737971
Bump @chromatic-com/storybook from 3.2.6 to 4.1.1
dependabot[bot] Aug 23, 2025
113e5d0
Bump @storybook/web-components-vite from 9.1.0 to 9.1.3
dependabot[bot] Aug 23, 2025
c8a97de
Bump @typescript-eslint/eslint-plugin from 8.32.1 to 8.40.0
dependabot[bot] Aug 23, 2025
7e5929f
Merge pull request #1355 from DNNCommunity/dependabot/npm_and_yarn/ch…
valadas Aug 23, 2025
ef099a1
Merge pull request #1356 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
f38d7a5
Merge pull request #1357 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 23, 2025
75de8b4
Bump @babel/preset-env from 7.25.3 to 7.28.3
dependabot[bot] Aug 23, 2025
f480ef8
Bump @storybook/manager-api from 8.6.12 to 8.6.14
dependabot[bot] Aug 23, 2025
1f1ed2d
Bump @storybook/test from 8.6.12 to 8.6.14
dependabot[bot] Aug 23, 2025
720ea9a
Merge pull request #1358 from DNNCommunity/dependabot/npm_and_yarn/ba…
valadas Aug 23, 2025
84b9166
Merge pull request #1359 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
aa0c06a
Merge pull request #1360 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
b0d1e49
Add open-pull-request-limit to Dependabot config
valadas Aug 23, 2025
13056bf
Merge pull request #1361 from DNNCommunity/dependabot-10-prs
valadas Aug 23, 2025
1b7ec34
Fix typo in dependabot.yml for pull request limit
valadas Aug 23, 2025
732e4d3
Merge pull request #1362 from DNNCommunity/valadas-patch-1
valadas Aug 23, 2025
b722819
Bump @stencil/core from 4.31.0 to 4.36.3
dependabot[bot] Aug 23, 2025
d2bac21
Bump typescript from 5.8.3 to 5.9.2
dependabot[bot] Aug 23, 2025
f6a5547
Bump @types/node from 22.14.0 to 24.3.0
dependabot[bot] Aug 23, 2025
65d723e
Bump babel-loader from 9.2.1 to 10.0.0
dependabot[bot] Aug 23, 2025
f6a23b6
Merge pull request #1363 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
018fd6e
Merge pull request #1364 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 23, 2025
a6945f7
Merge pull request #1365 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 23, 2025
a6acd34
Merge pull request #1366 from DNNCommunity/dependabot/npm_and_yarn/ba…
valadas Aug 23, 2025
3194743
Bump vite from 6.3.5 to 7.1.3
dependabot[bot] Aug 23, 2025
5c62836
Bump eslint-plugin-storybook from 0.11.1 to 9.1.3
dependabot[bot] Aug 23, 2025
2556b0c
Bump @stencil/eslint-plugin from 1.0.0 to 1.1.0
dependabot[bot] Aug 23, 2025
b4f843c
Merge pull request #1367 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
081d0de
Merge pull request #1368 from DNNCommunity/dependabot/npm_and_yarn/es…
valadas Aug 23, 2025
85359c3
Merge pull request #1370 from DNNCommunity/dependabot/npm_and_yarn/vi…
valadas Aug 23, 2025
424fc3c
Bump typescript-eslint from 8.30.1 to 8.40.0
dependabot[bot] Aug 23, 2025
b039bf2
Bump storybook from 8.6.14 to 9.1.3
dependabot[bot] Aug 23, 2025
f8c7040
Bump @stencil/sass from 3.2.1 to 3.2.2
dependabot[bot] Aug 23, 2025
ec3a39d
Bump @babel/preset-react from 7.26.3 to 7.27.1
dependabot[bot] Aug 23, 2025
d227b59
Bump puppeteer from 24.9.0 to 24.17.0
dependabot[bot] Aug 23, 2025
6ac71b6
Merge pull request #1369 from DNNCommunity/dependabot/npm_and_yarn/ty…
valadas Aug 23, 2025
9b6c076
Merge pull request #1371 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
351eb18
Merge pull request #1374 from DNNCommunity/dependabot/npm_and_yarn/st…
valadas Aug 23, 2025
56729cd
Bump vitest from 3.1.4 to 3.2.4
dependabot[bot] Aug 23, 2025
9a230c3
Merge pull request #1373 from DNNCommunity/dependabot/npm_and_yarn/vi…
valadas Aug 23, 2025
22ce22d
Merge pull request #1376 from DNNCommunity/dependabot/npm_and_yarn/pu…
valadas Aug 23, 2025
8a6c454
Merge pull request #1375 from DNNCommunity/dependabot/npm_and_yarn/ba…
valadas Aug 23, 2025
fc90786
Migrated tests from `jest` to `vitest`
valadas Aug 23, 2025
a8f3f42
Merge pull request #1377 from valadas/vitest
valadas Aug 23, 2025
ec48e99
Probably fixed sotrybook usage on github pages
valadas Aug 23, 2025
b781ab7
Merge pull request #1378 from valadas/storybook-fix
valadas Aug 23, 2025
4faf864
Updated react-output target to modern standards
valadas Aug 23, 2025
0c25eae
Merge pull request #1379 from valadas/new-react-output
valadas Aug 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
open-pull-requests-limit: 10
schedule:
interval: "monthly"
- package-ecosystem: "nuget"
directory: "/_build"
open-pull-requests-limit: 10
schedule:
interval: "monthly"
1 change: 0 additions & 1 deletion .github/workflows/Publish_Site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ on:
branches:
- main
- master
- 'release/*'

jobs:
ubuntu-latest:
Expand Down
19,911 changes: 8,556 additions & 11,355 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "npx lerna run test"
},
"devDependencies": {
"@types/node": "^22.14.0",
"@types/node": "^24.3.0",
"lerna": "^8.0.0",
"typescript": "^5.0.3"
}
Expand Down
84 changes: 68 additions & 16 deletions packages/react-library/README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,76 @@
# `dnn-elements-react`
This is a collection of pure web components (custom elements) for use within DNN Platform or custom extensions for DNN. These can even be used in projects outside of the DNN purview, though some are unique for the DNN experience. The web components in `dnn-elements-react` are framework specific to React. For framework agnostic web components, you can use `dnn-elements`.
# DNN Elements React

## Usage
### npm
`npm install @dnncommunity/dnn-elements-react`
React wrapper components for DNN Elements using the latest Stencil React Output Target.

### yarn
`yarn add @dnncommunity/dnn-elements-react`
## Installation

```bash
npm install @dnncommunity/dnn-elements-react
```
// App.tsx
import { DnnButton, defineCustomElements } from '@dnncommunity/dnn-elements-react';

defineCustomElements();
## Usage

### Basic Setup

```tsx
import React, { useEffect } from 'react';
import { defineCustomElements } from '@dnncommunity/dnn-elements-react';

// Call this once in your app's main component or index file
function App() {
return (
<div className="App>
<DnnButton type="secondary">Secondary Button</DnnButton>
</div>
);
useEffect(() => {
defineCustomElements();
}, []);

return (
<div>
{/* Your app content */}
</div>
);
}
```
```

### Using Components

```tsx
import React, { useState } from 'react';
import { DnnButton, DnnInput, DnnCheckbox } from '@dnncommunity/dnn-elements-react';

function MyComponent() {
const [inputValue, setInputValue] = useState('');
const [checked, setChecked] = useState(false);

return (
<div>
<DnnButton
onClick={() => console.log('Button clicked!')}
>
Click me
</DnnButton>

<DnnInput
label="Your Name"
helpText="Enter your name..."
value={inputValue}
onValueChange={(e) => setInputValue(e.detail)}
/>

<DnnCheckbox
label="Agree to terms"
checked={checked}
onCheckedChange={(e) => setChecked(e.detail)}
/>
</div>
);
}
```

## TypeScript Support

This package includes full TypeScript definitions for all components with proper prop types and event handlers.

## Testing

A test React application is available in the `test-app/` directory to verify component functionality.

This is a collection of pure web components (custom elements) for use within DNN Platform or custom extensions for DNN. These can even be used in projects outside of the DNN purview, though some are unique for the DNN experience. The web components in `dnn-elements-react` are framework specific to React. For framework agnostic web components, you can use `dnn-elements`.
397 changes: 397 additions & 0 deletions packages/react-library/lib/components/stencil-generated/components.ts

Large diffs are not rendered by default.

36 changes: 0 additions & 36 deletions packages/react-library/lib/components/stencil-generated/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading