@db-ux/core-components 4.0.2 → 4.0.3
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/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Best Practise / Common AI mistakes
|
|
2
|
+
|
|
3
|
+
## `DBButton` or `db-button`
|
|
4
|
+
|
|
5
|
+
- available variants are `outlined`, `brand`, `filled`, `ghost`
|
|
6
|
+
- always use variant `outlined` as default
|
|
7
|
+
- use variant `brand` as CTA or primary action
|
|
8
|
+
- if `noText`/`no-text` property is used add a `DBTooltip` or `db-tooltip` inside the Button
|
|
9
|
+
- always add a `type` as property as best practise
|
|
10
|
+
- there is no `size=large` button
|
|
11
|
+
|
|
12
|
+
## `DBStack` or `db-stack`
|
|
13
|
+
|
|
14
|
+
- there is no property `gap="fix-md"`, available values are `small`, `medium`, etc.
|
|
15
|
+
- there is no property `direction="horizontal"`, available values are `row`, `column`, etc.
|
package/agent/_instructions.md
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
## Common AI mistakes
|
|
1
|
+
## Best Practise / Common AI mistakes
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
- available variants are `outlined`, `brand`, `filled`, `ghost`
|
|
6
|
-
- always use variant `outlined` as default
|
|
7
|
-
- use variant `brand` as CTA or primary action
|
|
8
|
-
- if `noText`/`no-text` property is used add a `DBTooltip` or `db-tooltip` inside the Button
|
|
9
|
-
- always add a `type` as property as best practise
|
|
10
|
-
|
|
11
|
-
### `DBStack` or `db-stack`
|
|
12
|
-
|
|
13
|
-
- there is no property `gap="fix-md"`, available values are `small`, `medium`, etc.
|
|
14
|
-
- there is no property `direction="horizontal"`, available values are `row`, `column`, etc.
|
|
3
|
+
- always read this file if you use Components: `**agent-path**/agent/Best-Practise_Common-AI-Mistakes.md`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/core-components",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "General technical components (styling, fonts and icons) out of DB UX Design System (Version 3)",
|
|
6
6
|
"repository": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"start": "nodemon --watch src --watch scripts --watch scripts --ext js,tsx,ts,scss,json --exec \"npm run build\""
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@db-ux/core-foundations": "4.0.
|
|
50
|
+
"@db-ux/core-foundations": "4.0.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@builder.io/eslint-plugin-mitosis": "0.0.17",
|