@community-release/nx-ui 0.0.48 → 0.0.49

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
@@ -109,7 +109,11 @@ var defaultComponentsStyle = {
109
109
  "user-position-color": "var(--ui-color-primary)"
110
110
  },
111
111
  select: {
112
- "value-font-weight": "var(--ui-font-weight-medium)"
112
+ "value-font-weight": "var(--ui-font-weight-medium)",
113
+ "background-color": "var(--ui-color-surface)"
114
+ },
115
+ input: {
116
+ "background-color": "var(--ui-color-bg)"
113
117
  }
114
118
  };
115
119
 
package/dist/module.d.ts CHANGED
@@ -109,7 +109,11 @@ var defaultComponentsStyle = {
109
109
  "user-position-color": "var(--ui-color-primary)"
110
110
  },
111
111
  select: {
112
- "value-font-weight": "var(--ui-font-weight-medium)"
112
+ "value-font-weight": "var(--ui-font-weight-medium)",
113
+ "background-color": "var(--ui-color-surface)"
114
+ },
115
+ input: {
116
+ "background-color": "var(--ui-color-bg)"
113
117
  }
114
118
  };
115
119
 
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "ui",
3
3
  "configKey": "ui",
4
- "version": "0.0.48"
4
+ "version": "0.0.49"
5
5
  }
package/dist/module.mjs CHANGED
@@ -109,7 +109,11 @@ const defaultComponentsStyle = {
109
109
  "user-position-color": "var(--ui-color-primary)"
110
110
  },
111
111
  select: {
112
- "value-font-weight": "var(--ui-font-weight-medium)"
112
+ "value-font-weight": "var(--ui-font-weight-medium)",
113
+ "background-color": "var(--ui-color-surface)"
114
+ },
115
+ input: {
116
+ "background-color": "var(--ui-color-bg)"
113
117
  }
114
118
  };
115
119
 
@@ -99,6 +99,7 @@
99
99
  @com-color-gray-text: var(--ui-color-gray-text);
100
100
  @com-color-error: var(--ui-color-error);
101
101
 
102
+ @com-text-default: var(--ui-text-default);
102
103
  @com-text-medium: var(--ui-text-medium);
103
104
  @com-text-small: var(--ui-text-small);
104
105
 
@@ -119,7 +120,7 @@
119
120
 
120
121
  height: @com-input-height;
121
122
  line-height: @com-input-height;
122
- font-size: @com-text-small;
123
+ font-size: @com-text-default;
123
124
  font-weight: 500;
124
125
 
125
126
  color: @com-color-text;
@@ -122,6 +122,8 @@
122
122
  </script>
123
123
 
124
124
  <style lang="less">
125
+ @import '../styles/components.less';
126
+
125
127
  // Misc
126
128
  @com-ani-ease: var(--ui-ani-ease);
127
129
 
@@ -141,6 +143,7 @@
141
143
  // Color
142
144
  @com-color-border-bolder: var(--ui-color-border-bolder);
143
145
  @com-color-bg: var(--ui-color-bg);
146
+ @com-color-surface: @ui-input-background-color;
144
147
  @com-color-header-text: var(--ui-color-header-text);
145
148
  @com-color-gray-text: var(--ui-color-gray-text);
146
149
  @com-color-primary: var(--ui-color-primary);
@@ -167,7 +170,7 @@
167
170
  height: @com-input-height-default;
168
171
  border: 1px solid @com-color-border-bolder;
169
172
  border-radius: @com-border-radius-default;
170
- background: @com-color-bg;
173
+ background: @com-color-surface;
171
174
  cursor: text;
172
175
 
173
176
  .com-content {
@@ -99,6 +99,7 @@
99
99
 
100
100
  @com-input-height: var(--ui-input-height-default);
101
101
 
102
+ @com-text-default: var(--ui-text-default);
102
103
  @com-text-medium: var(--ui-text-medium);
103
104
  @com-text-small: var(--ui-text-small);
104
105
 
@@ -109,20 +110,6 @@
109
110
  position: relative;
110
111
  display: inline-block;
111
112
  text-align: left;
112
-
113
- .error-wrap {
114
- position: absolute;
115
- top: 100%;
116
- left: 0;
117
- padding: 0;
118
-
119
- font-size: 11px;
120
-
121
- color: @com-color-error;
122
- background: transparent;
123
-
124
- &:before, &:after { display: none; }
125
- }
126
113
 
127
114
  > label {
128
115
  position: relative;
@@ -134,7 +121,7 @@
134
121
 
135
122
  height: @com-input-height;
136
123
  line-height: @com-input-height;
137
- font-size: @com-text-small;
124
+ font-size: @com-text-default;
138
125
  font-weight: 500;
139
126
  color: @com-color-text;
140
127
 
@@ -170,7 +170,7 @@ onMounted(() => {
170
170
  @com-color-gray-text: var(--ui-color-gray-text);
171
171
  @com-color-header-text: var(--ui-color-header-text);
172
172
  @com-color-primary: var(--ui-color-primary);
173
- @com-color-surface: var(--ui-color-surface);
173
+ @com-color-surface: @ui-select-background-color;
174
174
  @com-color-red: var(--ui-color-red);
175
175
  @com-color-border: var(--ui-color-border-bolder);
176
176
  @com-color-error: var(--ui-color-error);
@@ -233,6 +233,7 @@ onMounted(() => {
233
233
  }
234
234
 
235
235
  strong {
236
+ padding: 0.1em 0;
236
237
  font-family: @com-font-header;
237
238
  font-weight: @com-value-font-weight;
238
239
  color: @com-color-header-text;
@@ -3,3 +3,5 @@
3
3
  @ui-button-border-radius: var(--ui-input-height-large);
4
4
  @ui-map-user-position-color: var(--color-primary);
5
5
  @ui-select-value-font-weight: var(--ui-font-weight-medium);
6
+ @ui-select-background-color: var(--ui-color-surface);
7
+ @ui-input-background-color: var(--ui-color-bg);
@@ -66,6 +66,7 @@
66
66
  @com-space-small: var(--ui-space-small);
67
67
  @com-space-mini: var(--ui-space-mini);
68
68
 
69
+ @com-text-default: var(--ui-text-default);
69
70
  @com-text-small: var(--ui-text-small);
70
71
 
71
72
  @com-color-border-bolder: var(--ui-color-border-bolder);
@@ -85,7 +86,7 @@
85
86
  padding: @com-space-mini;
86
87
  min-width: 200px;
87
88
  line-height: 1.3;
88
- font-size: @com-text-small;
89
+ font-size: @com-text-default;
89
90
  color: var(--ui-tooltip-text-color);
90
91
  background: var(--ui-tooltip-bg);
91
92
  border-radius: @com-border-radius-default;
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@community-release/nx-ui",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
+ "packageManager": "pnpm@10.14.0",
4
5
  "description": "nx-ui - Nuxt UI library",
5
6
  "repository": {
6
7
  "type": "git",