@dataloop-ai/components 0.20.122 → 0.20.123

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.20.122",
3
+ "version": "0.20.123",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -23,7 +23,7 @@
23
23
  "check-only": "if grep -E -H -r --exclude-dir=.git --exclude-dir=node_modules --exclude=*.json --exclude=*.yml '^(describe|it).only' .; then echo 'Found only in test files' && exit 1; fi"
24
24
  },
25
25
  "dependencies": {
26
- "@dataloop-ai/icons": "^3.1.13",
26
+ "@dataloop-ai/icons": "^3.1.15",
27
27
  "@types/flat": "^5.0.2",
28
28
  "@types/lodash": "^4.14.184",
29
29
  "@types/sortablejs": "^1.15.7",
@@ -201,7 +201,9 @@
201
201
  handleVisibleColumnsUpdate
202
202
  "
203
203
  >
204
- <dl-list>
204
+ <dl-list
205
+ :class="menuClass"
206
+ >
205
207
  <dl-option-group
206
208
  :model-value="
207
209
  computedVisibleCols
@@ -598,7 +600,9 @@
598
600
  handleVisibleColumnsUpdate
599
601
  "
600
602
  >
601
- <dl-list>
603
+ <dl-list
604
+ :class="menuClass"
605
+ >
602
606
  <dl-option-group
603
607
  :model-value="
604
608
  computedVisibleCols
@@ -1212,6 +1216,10 @@ export default defineComponent({
1212
1216
  type: [String, Array, Object],
1213
1217
  default: null as unknown as PropType<any[]>
1214
1218
  },
1219
+ menuClass: {
1220
+ type: [String, Array, Object],
1221
+ default: null as unknown as PropType<any[]>
1222
+ },
1215
1223
  noHover: Boolean,
1216
1224
  /**
1217
1225
  * Will add another column with a button opening a menu which lets the user choose the visible columns
@@ -1286,6 +1294,7 @@ export default defineComponent({
1286
1294
  tableClass,
1287
1295
  tableHeaderStyle,
1288
1296
  tableHeaderClass,
1297
+ menuClass,
1289
1298
  dense,
1290
1299
  draggable,
1291
1300
  virtualScroll,
@@ -249,6 +249,10 @@ export default defineComponent({
249
249
  type: [String, Array, Object],
250
250
  default: null as unknown as PropType<any[]>
251
251
  },
252
+ menuClass: {
253
+ type: [String, Array, Object],
254
+ default: null as unknown as PropType<any[]>
255
+ },
252
256
  noHover: Boolean,
253
257
  /**
254
258
  * Indicates the data is empty
@@ -922,6 +926,7 @@ export default defineComponent({
922
926
  'onUpdate:selected': this.updateSelected,
923
927
  onColUpdate: this.updateColumns,
924
928
  class: this.containerClass,
929
+ menuClass: this.menuClass,
925
930
  hideBottom: this.hideBottom,
926
931
  hideNoData: this.hideNoData,
927
932
  hideHeader: this.hideHeader,
@@ -204,6 +204,7 @@
204
204
  :rows="tableRows"
205
205
  :columns="tableColumns"
206
206
  title="Editable Columns"
207
+ menu-class="editable-menu-class"
207
208
  :visible-columns="tableColumns.slice(0, -1)"
208
209
  />
209
210
  </div>