@community-release/nx-ui 0.0.79 → 0.0.80
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/module.d.mts
CHANGED
|
@@ -106,7 +106,8 @@ var defaultComponentsStyle = {
|
|
|
106
106
|
"text-font-size": "var(--ui-text-m)"
|
|
107
107
|
},
|
|
108
108
|
button: {
|
|
109
|
-
"border-radius": "var(--ui-input-size-2xl)"
|
|
109
|
+
"border-radius": "var(--ui-input-size-2xl)",
|
|
110
|
+
"font-weight": "var(--ui-font-weight-medium)"
|
|
110
111
|
},
|
|
111
112
|
map: {
|
|
112
113
|
"user-position-color": "var(--ui-color-primary)"
|
|
@@ -125,7 +126,7 @@ var defaultComponentsStyle = {
|
|
|
125
126
|
};
|
|
126
127
|
|
|
127
128
|
var generateComponentsDefaults = (options) => {
|
|
128
|
-
let result = "";
|
|
129
|
+
let result = "// This file is generated, do not edit. Styles can be edit in default.components.js\n";
|
|
129
130
|
const components = options?.componentsStyle ? options.componentsStyle : {};
|
|
130
131
|
for (let name in defaultComponentsStyle) {
|
|
131
132
|
const style = Object.assign(defaultComponentsStyle[name], components[name] ? components[name] : {});
|
package/dist/module.d.ts
CHANGED
|
@@ -106,7 +106,8 @@ var defaultComponentsStyle = {
|
|
|
106
106
|
"text-font-size": "var(--ui-text-m)"
|
|
107
107
|
},
|
|
108
108
|
button: {
|
|
109
|
-
"border-radius": "var(--ui-input-size-2xl)"
|
|
109
|
+
"border-radius": "var(--ui-input-size-2xl)",
|
|
110
|
+
"font-weight": "var(--ui-font-weight-medium)"
|
|
110
111
|
},
|
|
111
112
|
map: {
|
|
112
113
|
"user-position-color": "var(--ui-color-primary)"
|
|
@@ -125,7 +126,7 @@ var defaultComponentsStyle = {
|
|
|
125
126
|
};
|
|
126
127
|
|
|
127
128
|
var generateComponentsDefaults = (options) => {
|
|
128
|
-
let result = "";
|
|
129
|
+
let result = "// This file is generated, do not edit. Styles can be edit in default.components.js\n";
|
|
129
130
|
const components = options?.componentsStyle ? options.componentsStyle : {};
|
|
130
131
|
for (let name in defaultComponentsStyle) {
|
|
131
132
|
const style = Object.assign(defaultComponentsStyle[name], components[name] ? components[name] : {});
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -106,7 +106,8 @@ const defaultComponentsStyle = {
|
|
|
106
106
|
"text-font-size": "var(--ui-text-m)"
|
|
107
107
|
},
|
|
108
108
|
button: {
|
|
109
|
-
"border-radius": "var(--ui-input-size-2xl)"
|
|
109
|
+
"border-radius": "var(--ui-input-size-2xl)",
|
|
110
|
+
"font-weight": "var(--ui-font-weight-medium)"
|
|
110
111
|
},
|
|
111
112
|
map: {
|
|
112
113
|
"user-position-color": "var(--ui-color-primary)"
|
|
@@ -125,7 +126,7 @@ const defaultComponentsStyle = {
|
|
|
125
126
|
};
|
|
126
127
|
|
|
127
128
|
const generateComponentsDefaults = (options) => {
|
|
128
|
-
let result = "";
|
|
129
|
+
let result = "// This file is generated, do not edit. Styles can be edit in default.components.js\n";
|
|
129
130
|
const components = options?.componentsStyle ? options.componentsStyle : {};
|
|
130
131
|
for (let name in defaultComponentsStyle) {
|
|
131
132
|
const style = Object.assign(defaultComponentsStyle[name], components[name] ? components[name] : {});
|
|
@@ -173,6 +173,8 @@
|
|
|
173
173
|
</script>
|
|
174
174
|
|
|
175
175
|
<style lang="less">
|
|
176
|
+
@import (less) '../styles/components.less';
|
|
177
|
+
|
|
176
178
|
.component-ui-button {
|
|
177
179
|
--button-hover-text-color: #fff;
|
|
178
180
|
--button-hover-background: #fff;
|
|
@@ -220,6 +222,7 @@
|
|
|
220
222
|
|
|
221
223
|
// Font
|
|
222
224
|
@com-font-header: var(--ui-font-header);
|
|
225
|
+
@com-font-weight: @ui-button-font-weight;
|
|
223
226
|
|
|
224
227
|
// Box shadow
|
|
225
228
|
@com-bs-1: var(--ui-bs-1);
|
|
@@ -269,7 +272,7 @@
|
|
|
269
272
|
|
|
270
273
|
position: relative;
|
|
271
274
|
height: 100%;
|
|
272
|
-
font-weight:
|
|
275
|
+
font-weight: @com-font-weight;
|
|
273
276
|
font-family: @com-font-header;
|
|
274
277
|
|
|
275
278
|
.slot-default {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
// This file is generated, do not edit. Styles can be edit in default.components.js
|
|
1
2
|
@ui-accordion-title-font-size: var(--ui-text-l);
|
|
2
3
|
@ui-accordion-text-font-size: var(--ui-text-m);
|
|
3
4
|
@ui-button-border-radius: var(--ui-input-size-2xl);
|
|
5
|
+
@ui-button-font-weight: var(--ui-font-weight-medium);
|
|
4
6
|
@ui-map-user-position-color: var(--color-primary);
|
|
5
7
|
@ui-select-value-font-weight: var(--ui-font-weight-medium);
|
|
6
8
|
@ui-select-background-color: var(--ui-color-surface);
|