@capra/core 1.15.1 → 1.15.2
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/dist/index.cjs +4 -4
- package/dist/index.mjs +4 -4
- package/dist/style.css +11 -11
- package/docs/history-changelogs-capra-core--docs.md +6 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -45,10 +45,10 @@ var Alert_module_default = {
|
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region src/components/Button/Button.module.css
|
|
47
47
|
var Button_module_default = {
|
|
48
|
-
"base": "capra-Button-module-
|
|
49
|
-
"icon": "capra-Button-module-
|
|
50
|
-
"iconLayout": "capra-Button-module-
|
|
51
|
-
"textLayout": "capra-Button-module-
|
|
48
|
+
"base": "capra-Button-module-m0pNfq-base",
|
|
49
|
+
"icon": "capra-Button-module-m0pNfq-icon",
|
|
50
|
+
"iconLayout": "capra-Button-module-m0pNfq-iconLayout",
|
|
51
|
+
"textLayout": "capra-Button-module-m0pNfq-textLayout"
|
|
52
52
|
};
|
|
53
53
|
//#endregion
|
|
54
54
|
//#region src/utils/polymorphism.ts
|
package/dist/index.mjs
CHANGED
|
@@ -22,10 +22,10 @@ var Alert_module_default = {
|
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/components/Button/Button.module.css
|
|
24
24
|
var Button_module_default = {
|
|
25
|
-
"base": "capra-Button-module-
|
|
26
|
-
"icon": "capra-Button-module-
|
|
27
|
-
"iconLayout": "capra-Button-module-
|
|
28
|
-
"textLayout": "capra-Button-module-
|
|
25
|
+
"base": "capra-Button-module-m0pNfq-base",
|
|
26
|
+
"icon": "capra-Button-module-m0pNfq-icon",
|
|
27
|
+
"iconLayout": "capra-Button-module-m0pNfq-iconLayout",
|
|
28
|
+
"textLayout": "capra-Button-module-m0pNfq-textLayout"
|
|
29
29
|
};
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/utils/polymorphism.ts
|
package/dist/style.css
CHANGED
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
flex: 0 0 var(--cds2-dimension-component-sm);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
.capra-Button-module-
|
|
95
|
+
.capra-Button-module-m0pNfq-base {
|
|
96
96
|
all: unset;
|
|
97
97
|
box-sizing: border-box;
|
|
98
98
|
justify-content: center;
|
|
@@ -120,42 +120,42 @@
|
|
|
120
120
|
opacity: .35;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
&[data-size="xs"]:not(.capra-Button-module-
|
|
123
|
+
&[data-size="xs"]:not(.capra-Button-module-m0pNfq-icon) {
|
|
124
124
|
height: var(--cds2-dimension-component-xs);
|
|
125
125
|
min-width: calc(2 * var(--cds2-dimension-component-xs));
|
|
126
126
|
max-width: calc(10 * var(--cds2-dimension-component-xs));
|
|
127
127
|
padding-inline: var(--cds2-spacing-sm);
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
&[data-size="sm"]:not(.capra-Button-module-
|
|
130
|
+
&[data-size="sm"]:not(.capra-Button-module-m0pNfq-icon) {
|
|
131
131
|
height: var(--cds2-dimension-component-sm);
|
|
132
132
|
min-width: calc(2 * var(--cds2-dimension-component-sm));
|
|
133
133
|
max-width: calc(10 * var(--cds2-dimension-component-sm));
|
|
134
134
|
padding-inline: var(--cds2-spacing-md);
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
&[data-size="md"]:not(.capra-Button-module-
|
|
137
|
+
&[data-size="md"]:not(.capra-Button-module-m0pNfq-icon) {
|
|
138
138
|
height: var(--cds2-dimension-component-md);
|
|
139
139
|
min-width: calc(2 * var(--cds2-dimension-component-md));
|
|
140
140
|
max-width: calc(10 * var(--cds2-dimension-component-md));
|
|
141
141
|
padding-inline: var(--cds2-spacing-lg);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
&[data-size="lg"]:not(.capra-Button-module-
|
|
144
|
+
&[data-size="lg"]:not(.capra-Button-module-m0pNfq-icon) {
|
|
145
145
|
height: var(--cds2-dimension-component-lg);
|
|
146
146
|
min-width: calc(2 * var(--cds2-dimension-component-lg));
|
|
147
147
|
max-width: calc(10 * var(--cds2-dimension-component-lg));
|
|
148
148
|
padding-inline: var(--cds2-spacing-lg);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
&[data-size="xl"]:not(.capra-Button-module-
|
|
151
|
+
&[data-size="xl"]:not(.capra-Button-module-m0pNfq-icon) {
|
|
152
152
|
height: var(--cds2-dimension-component-xl);
|
|
153
153
|
min-width: calc(2 * var(--cds2-dimension-component-xl));
|
|
154
154
|
max-width: calc(10 * var(--cds2-dimension-component-xl));
|
|
155
155
|
padding-inline: var(--cds2-spacing-xl);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
&[data-display="block"]:not(.capra-Button-module-
|
|
158
|
+
&[data-display="block"]:not(.capra-Button-module-m0pNfq-icon) {
|
|
159
159
|
width: 100%;
|
|
160
160
|
max-width: unset;
|
|
161
161
|
display: flex;
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
|
|
185
185
|
&[data-variant="secondary"] {
|
|
186
186
|
color: var(--_secondary-color);
|
|
187
|
-
background-color: var(--cds2-color-background-
|
|
187
|
+
background-color: var(--cds2-color-background-panel-solid);
|
|
188
188
|
border: 1px solid var(--_secondary-border-color);
|
|
189
189
|
box-shadow: var(--cds2-shadow-button);
|
|
190
190
|
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
.capra-Button-module-
|
|
272
|
+
.capra-Button-module-m0pNfq-icon {
|
|
273
273
|
&[data-size="xs"] {
|
|
274
274
|
height: var(--cds2-dimension-component-xs);
|
|
275
275
|
width: var(--cds2-dimension-component-xs);
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
.capra-Button-module-
|
|
299
|
+
.capra-Button-module-m0pNfq-textLayout {
|
|
300
300
|
text-overflow: ellipsis;
|
|
301
301
|
white-space: nowrap;
|
|
302
302
|
min-width: 0;
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
overflow: hidden;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
|
-
.capra-Button-module-
|
|
307
|
+
.capra-Button-module-m0pNfq-iconLayout {
|
|
308
308
|
display: contents;
|
|
309
309
|
}
|
|
310
310
|
.capra-Text-module-JSrT1a-base {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capra/core",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Core React components for the Capra design system",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"storybook": "^10.4.6",
|
|
45
45
|
"tsdown": "^0.22.7",
|
|
46
46
|
"@capra/theme": "^1.6.0",
|
|
47
|
-
"@private/stories": "^0.0.0",
|
|
48
47
|
"@private/building": "^0.1.2",
|
|
49
48
|
"@private/linting": "^0.0.1",
|
|
49
|
+
"@private/stories": "^0.0.0",
|
|
50
50
|
"@private/testing": "^0.0.7"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|