@dataloop-ai/components 0.17.49 → 0.17.50

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.17.49",
3
+ "version": "0.17.50",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -123,15 +123,7 @@ export default defineComponent({
123
123
  : 'flex-end',
124
124
  '--option-group-width':
125
125
  this.leftLabel && !this.inline ? '100%' : 'auto',
126
- '--option-group-max-width': this.maxWidth,
127
- '--control-element-padding-left': this.leftLabel
128
- ? '10px'
129
- : this.inline
130
- ? '12px'
131
- : '0px',
132
- '--control-element-padding-right': this.leftLabel
133
- ? '0px'
134
- : '10px'
126
+ '--option-group-max-width': this.maxWidth
135
127
  }
136
128
  }
137
129
  },
@@ -160,6 +152,11 @@ export default defineComponent({
160
152
  </script>
161
153
 
162
154
  <style scoped lang="scss">
155
+ .control-element {
156
+ display: flex;
157
+ align-items: center;
158
+ }
159
+
163
160
  .tooltip-icon {
164
161
  color: var(--dl-color-medium);
165
162
  display: flex !important;
@@ -181,8 +178,9 @@ export default defineComponent({
181
178
  justify-content: var(--option-justify-content);
182
179
  font-size: var(--dl-font-size-body);
183
180
  user-select: none;
184
- height: 24px;
185
181
  color: var(--dl-color-darker);
182
+ margin: 10px 5px;
183
+ gap: 5px;
186
184
  }
187
185
 
188
186
  .disabled {
@@ -192,9 +190,4 @@ export default defineComponent({
192
190
  }
193
191
  color: var(--dl-color-disabled);
194
192
  }
195
-
196
- .control-element {
197
- padding-left: var(--control-element-padding-left);
198
- padding-right: var(--control-element-padding-right);
199
- }
200
193
  </style>
@@ -103,7 +103,7 @@ export default defineComponent({
103
103
  indeterminateValue: { type: ValueTypes, default: null },
104
104
  value: { type: ValueTypes, default: null },
105
105
  falseValue: { type: ValueTypes, default: false },
106
- padding: { type: String, default: '5px' },
106
+ padding: { type: String, default: '0' },
107
107
  trueValue: { type: ValueTypes, default: true },
108
108
  tabindex: { type: String, default: '0' },
109
109
  subLabelSize: { type: String, default: '10px' }
@@ -242,7 +242,7 @@ export default defineComponent({
242
242
  display: inline-flex;
243
243
  max-width: max-content;
244
244
  align-items: center;
245
- gap: 10px;
245
+ gap: 6px;
246
246
  padding: var(--dl-checkbox-padding);
247
247
  user-select: none;
248
248
  }
@@ -76,7 +76,7 @@ export default defineComponent({
76
76
  disabled: { type: Boolean, default: false },
77
77
  id: { type: [String, Number], default: null },
78
78
  label: { type: String, default: null },
79
- padding: { type: String, default: '5px' },
79
+ padding: { type: String, default: '0' },
80
80
  modelValue: { type: [String, Number, Boolean], required: true },
81
81
  value: { type: [String, Number, Boolean], required: true },
82
82
  tabindex: { type: String, default: '0' },