@dataloop-ai/components 0.16.56 → 0.16.57

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.16.56",
3
+ "version": "0.16.57",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -10,7 +10,7 @@
10
10
  :tabindex="tabIndex"
11
11
  :aria-disabled="disabled ? 'true' : 'false'"
12
12
  :disabled="disabled"
13
- :style="[cssButtonVars, computedStyles]"
13
+ :style="[computedStyles]"
14
14
  style="pointer-events: auto"
15
15
  class="dl-button"
16
16
  @click="onClick"
@@ -14,7 +14,7 @@
14
14
  :placeholder="placeholder"
15
15
  :auto-suggest-items="autoSuggestItems"
16
16
  :highlight-matches="highlightMatches"
17
- :without-root-padding="withoutRootPadding"
17
+ :dense="dense"
18
18
  :suggest-menu-width="suggestMenuWidth"
19
19
  @input="onChange"
20
20
  @focus="onFocus"
@@ -81,7 +81,7 @@ export default defineComponent({
81
81
  default: (): string[] => []
82
82
  },
83
83
  highlightMatches: { type: Boolean, default: false },
84
- withoutRootPadding: { type: Boolean, default: false },
84
+ dense: { type: Boolean, default: false },
85
85
  withSearchBtn: { type: Boolean, default: false },
86
86
  suggestMenuWidth: { type: String, default: 'auto' }
87
87
  },
@@ -90,13 +90,16 @@
90
90
  error-message="Error message is the strongest."
91
91
  />
92
92
  <p>input in a row with button</p>
93
- <div class="row">
93
+ <div
94
+ class="row"
95
+ style="align-items: center"
96
+ >
94
97
  <dl-input
95
98
  class="input-parts"
96
99
  style="width: 440px"
97
100
  placeholder="Select option"
98
101
  title="Min"
99
- without-root-padding
102
+ dense
100
103
  size="s"
101
104
  />
102
105
  <dl-button
@@ -69,7 +69,7 @@
69
69
  v-model="percentage"
70
70
  style="width: 60px; margin: 0 10px 0 15px"
71
71
  size="m"
72
- without-root-padding
72
+ dense
73
73
  disable-clear-btn
74
74
  />
75
75
  <dl-typography color="dl-color-medium">Items Limit</dl-typography>
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  <div class="inputs-container">
25
25
  <dl-input
26
- without-root-padding
26
+ dense
27
27
  required
28
28
  title="Name"
29
29
  />
@@ -58,7 +58,7 @@
58
58
  :options="['High', 'Medium', 'Low']"
59
59
  />
60
60
  <dl-input
61
- without-root-padding
61
+ dense
62
62
  title="Completion Due Date"
63
63
  placeholder="dd/mm/yy"
64
64
  />
@@ -3,7 +3,7 @@
3
3
  <div style="margin: 40px 0">
4
4
  <dl-checkbox
5
5
  v-model="switchState"
6
- without-root-padding
6
+ dense
7
7
  label="Disabled"
8
8
  />
9
9
  </div>