@db-ux/core-components 3.0.2-copilot3-1616965 → 3.0.2-copilot4-0defc04
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.
|
@@ -26,10 +26,6 @@
|
|
|
26
26
|
|
|
27
27
|
%full-horizontal {
|
|
28
28
|
&:not([data-width="full"]) {
|
|
29
|
-
/// Sets the maximum height of the drawer
|
|
30
|
-
/// @propertyname max-block-size
|
|
31
|
-
/// @cssprop --db-drawer-max-height
|
|
32
|
-
/// @default calc(100% - #{variables.$db-spacing-fixed-xl})
|
|
33
29
|
max-block-size: var(
|
|
34
30
|
--db-drawer-max-height,
|
|
35
31
|
calc(100% - #{variables.$db-spacing-fixed-xl})
|
|
@@ -91,10 +87,6 @@ $spacings: (
|
|
|
91
87
|
|
|
92
88
|
.db-drawer-header {
|
|
93
89
|
// We need this variable to overwrite it inside the header
|
|
94
|
-
/// Controls the bottom padding inside the drawer header
|
|
95
|
-
/// @propertyname padding-block-end
|
|
96
|
-
/// @cssprop --db-drawer-header-padding-block-end
|
|
97
|
-
/// @default #{map.get($spacing, "block")}
|
|
98
90
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
99
91
|
padding-block-end: var(
|
|
100
92
|
--db-drawer-header-padding-block-end,
|
|
@@ -105,10 +97,6 @@ $spacings: (
|
|
|
105
97
|
|
|
106
98
|
.db-drawer-content {
|
|
107
99
|
// We need this variable to overwrite it inside the header
|
|
108
|
-
/// Controls left/right padding inside the drawer content area
|
|
109
|
-
/// @propertyname padding-inline
|
|
110
|
-
/// @cssprop --db-drawer-content-padding-inline
|
|
111
|
-
/// @default #{map.get($spacing, "inline")}
|
|
112
100
|
/* stylelint-disable-next-line db-ux/use-spacings */
|
|
113
101
|
padding-inline: var(
|
|
114
102
|
--db-drawer-content-padding-inline,
|
|
@@ -146,19 +134,6 @@ $spacings: (
|
|
|
146
134
|
box-shadow: variables.$db-elevation-md;
|
|
147
135
|
|
|
148
136
|
&:not([data-width="full"]) {
|
|
149
|
-
/// Sets the maximum width of the drawer
|
|
150
|
-
/// and some default values for the drawer
|
|
151
|
-
/// @propertyname max-inline-size
|
|
152
|
-
/// @cssprop --db-drawer-max-width
|
|
153
|
-
/// @default calc(100% - #{variables.$db-spacing-fixed-xl})
|
|
154
|
-
///
|
|
155
|
-
/// @example css - Wide drawer
|
|
156
|
-
/// .db-drawer-wide {
|
|
157
|
-
/// --db-drawer-max-width: 800px;
|
|
158
|
-
/// }
|
|
159
|
-
/// <div class="db-drawer db-drawer-wide">
|
|
160
|
-
/// <!-- wide drawer -->
|
|
161
|
-
/// </div>
|
|
162
137
|
max-inline-size: var(
|
|
163
138
|
--db-drawer-max-width,
|
|
164
139
|
calc(100% - #{variables.$db-spacing-fixed-xl})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/core-components",
|
|
3
|
-
"version": "3.0.2-
|
|
3
|
+
"version": "3.0.2-copilot4-0defc04",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "",
|
|
6
6
|
"repository": {
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"author": "General technical components out of DB UX Design System (Version 3)",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"files": [
|
|
13
|
-
"agent",
|
|
14
13
|
"build"
|
|
15
14
|
],
|
|
16
15
|
"scripts": {
|
|
@@ -28,7 +27,6 @@
|
|
|
28
27
|
"compile:vue": "mitosis build --config configs/vue/mitosis.config.cjs && tsx scripts/exec/vue.ts && cpr ../../output/tmp/vue/src ../../output/vue/src --overwrite",
|
|
29
28
|
"copy-assets": "cpr ../foundations/assets build/assets -o",
|
|
30
29
|
"copy-output": "npm-run-all copy:*",
|
|
31
|
-
"copy:agent": "cpr agent ../../build-outputs/components/agent -o",
|
|
32
30
|
"copy:outputs": "cpr build ../../build-outputs/components/build --overwrite",
|
|
33
31
|
"copy:package.json": "cpr package.json ../../build-outputs/components/package.json --overwrite",
|
|
34
32
|
"copy:readme": "cpr README.md ../../build-outputs/components/README.md --overwrite",
|
|
@@ -38,14 +36,13 @@
|
|
|
38
36
|
"dev:scss": "npm run build-style:01_sass -- --watch --source-map",
|
|
39
37
|
"dev:stencil": "nodemon --watch src --watch scripts --ext tsx,ts --exec \"npm run compile:stencil\"",
|
|
40
38
|
"dev:vue": "nodemon --watch src --watch scripts --ext tsx,ts --exec \"npm run compile:vue\"",
|
|
41
|
-
"generate:agent": "mitosis build -c configs/mitosis.agent.config.cjs",
|
|
42
39
|
"generate:component": "hygen mitosis new",
|
|
43
40
|
"generate:docs": "hygen update-docs new",
|
|
44
41
|
"prepack": "npm run copy-assets",
|
|
45
42
|
"start": "nodemon --watch src --watch scripts --watch scripts --ext js,tsx,ts,scss,json --exec \"npm run build\""
|
|
46
43
|
},
|
|
47
44
|
"dependencies": {
|
|
48
|
-
"@db-ux/core-foundations": "3.0.2-
|
|
45
|
+
"@db-ux/core-foundations": "3.0.2-copilot4-0defc04"
|
|
49
46
|
},
|
|
50
47
|
"devDependencies": {
|
|
51
48
|
"@builder.io/eslint-plugin-mitosis": "0.0.17",
|
|
@@ -57,7 +54,6 @@
|
|
|
57
54
|
"hygen": "6.2.11",
|
|
58
55
|
"nodemon": "3.1.10",
|
|
59
56
|
"sass": "1.85.0",
|
|
60
|
-
"sassdoc": "^2.7.4",
|
|
61
57
|
"tsx": "4.20.3"
|
|
62
58
|
},
|
|
63
59
|
"publishConfig": {
|
package/agent/_instructions.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
## Common AI mistakes
|
|
2
|
-
|
|
3
|
-
### `DBButton` or `db-button`
|
|
4
|
-
|
|
5
|
-
- available variants are `outline`, `brand`, `filled`, `ghost`
|
|
6
|
-
- always use variant `outline` 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
|