Skip to content

Commit e9cdfdc

Browse files
chore(deps-dev): bump xo from 0.60.0 to 1.1.1 (#4405)
* chore(deps-dev): bump xo from 0.60.0 to 1.1.1 Bumps [xo](https://github.com/xojs/xo) from 0.60.0 to 1.1.1. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](xojs/xo@v0.60.0...v1.1.1) --- updated-dependencies: - dependency-name: xo dependency-version: 1.1.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump xo from 0.60.0 to 1.1.1 Bumps [xo](https://github.com/xojs/xo) from 0.60.0 to 1.1.1. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](xojs/xo@v0.60.0...v1.1.1) --- updated-dependencies: - dependency-name: xo dependency-version: 1.1.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore(deps-dev): bump xo from 0.60.0 to 1.1.1 Bumps [xo](https://github.com/xojs/xo) from 0.60.0 to 1.1.1. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](xojs/xo@v0.60.0...v1.1.1) --- updated-dependencies: - dependency-name: xo dependency-version: 1.1.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: update xo --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas Merget <[email protected]>
1 parent 1831596 commit e9cdfdc

File tree

116 files changed

+1678
-1568
lines changed

Some content is hidden

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

116 files changed

+1678
-1568
lines changed

.config/.lintstagedrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
// In case that we're changing the stylelints configuration files content, we would need to validate it
44
'.stylelintrc.*': 'stylelint --validate --allow-empty-input',
55
'stylelint.config.*': 'stylelint --validate --allow-empty-input',
6-
// and elsewhere we don't, compare to https://github.com/stylelint/stylelint/pull/8009
6+
// And elsewhere we don't, compare to https://github.com/stylelint/stylelint/pull/8009
77
'*.{css,scss}': 'stylelint --fix --allow-empty-input --no-validate',
88
'*.{js,ts,tsx,jsx,mjs,cjs}': 'xo --fix'
99
};

.config/ignores.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
const ignoreFolders = [
2+
'node_modules/**/*',
3+
'build/**/*',
4+
'.config/**/*',
5+
'public/**/*',
6+
'out/**/*',
7+
'helpers/**/*',
8+
'dist/**/*',
9+
'packages/**/*',
10+
'showcases/patternhub/pages/components/**/*',
11+
'showcases/nuxt-showcase/**/*',
12+
'showcases/next-showcase/**/*',
13+
'showcases/angular-ssr-showcase/**/*',
14+
'build-outputs/**/*',
15+
'build-showcases/**/*',
16+
'output/**/*',
17+
'**/playwright.*.ts'
18+
];
19+
20+
export default ignoreFolders;

.eslintignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

.eslintrc.mjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/01-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616

1717
- name: ⚡ Run Lint
1818
run: |
19+
npm run postinstall --workspace=nuxt-showcase
1920
npm run build --workspace=@db-ux/core-stylelint
2021
npm run lint
2122

.github/workflows/02-e2e-regenerated-snapshots-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
if: inputs.foundations
4949
with:
5050
name: snapshots-foundations
51-
path: ./__snapshots__/
51+
path: ./__snapshots__/foundations
5252

5353
- name: ⏬ Download patternhub
5454
uses: actions/download-artifact@v4
5555
if: inputs.patternhub
5656
with:
5757
name: snapshots-patternhub
58-
path: ./__snapshots__/foundations
58+
path: ./__snapshots__/
5959

6060
- name: ⏬ Download showcase
6161
uses: actions/download-artifact@v4

.xo-config.cjs

Lines changed: 0 additions & 98 deletions
This file was deleted.

docs/how-to-develop-a-component.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ We use [Mitosis](https://github.com/BuilderIO/Mitosis/tree/main/docs) to develop
6363
3. Try to parameterize a lot: For example if your component includes an icon button you should give it a text for accessibility. You should provide a default text, so it can't be empty, but you should also let the user change it with a property e.g. `iconButtonText`.
6464
4. To enable some native functionalities for Vue and Angular (`v-model` and `[(ng-model)]`) you might need to add some extra code to your component. At the generation process you might select `formValue` anyhow, but otherwise take a look at the `input` to see what you need to add to make this work.
6565
5. Angular is pain... There are some issues with Angular and how this framework works:
66-
6766
1. Angular generates custom HTML tags as wrappers, which might influence your `css` selectors. For example if we have a button inside our component and we try to change the styling with `.db-button: {xxx:abc;}` it would not add the styling to the button. As a workaround you should write `.db-button, .db-button > button: {xxx:abc;}` to cover Angular as well:
6867

6968
```html
@@ -78,7 +77,6 @@ We use [Mitosis](https://github.com/BuilderIO/Mitosis/tree/main/docs) to develop
7877
</div>
7978
</db-my-awesome-component>
8079
```
81-
8280
2. You cannot use multiple slots with the same name. In other frameworks you can use the `<Slot name="bla">` multiple times like this `<div class="my-awesome-component"><Slot name="bla"><Slot name="bla"></div>` but in Angular only the last one would be shown in the DOM. As a workaround you have to create a `Directive`. We automate this via the `packages/components/scripts/post-build/components.js` as an example look at the `header` to see how it works.
8381

8482
## Test Frameworks with Showcases

docs/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
"scripts": {
1212
"generate:component-research": "node scripts/component-research/generate-component-research.js"
1313
},
14+
"devDependencies": {
15+
"inquirer": "12.6.3"
16+
},
1417
"publishConfig": {
1518
"registry": "https://registry.npmjs.org/",
1619
"access": "public"

docs/research/table.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Across the surveyed design systems, there is a kind of pattern for tables:
3232
This ensures maximum accessibility out of the box, since screen readers and keyboard users already understand native table structures.
3333

3434
2. **Progressive Enhancement of Interactivity**
35-
3635
- **Static by Default**: Some systems stick to purely static tables with CSS-based styling (striped rows, borders) and responsive wrappers for horizontal scrolling. Those have no built-in interactivity (sorting, pagination, etc.).
3736
- **Developer-Driven Features**: Several systems provide core table markup plus optional wrappers or slots for sorting, sticky headers, and scroll controls, leaving the actual user-driven logic to the implementer.
3837
- **Built-in Data Tables**: Other systems offer rich, pre-wired data table components with pagination, sorting, row selection, expandable rows, and more. These components manage state, callbacks, and ARIA attributes internally.

0 commit comments

Comments
 (0)