vueless 0.0.249 → 0.0.251
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 +1 -1
- package/service.ui/index.js +5 -5
- package/ui.data-table/index.vue +2 -0
- package/web-types.json +1 -1
package/package.json
CHANGED
package/service.ui/index.js
CHANGED
|
@@ -261,11 +261,11 @@ export default class UIService {
|
|
|
261
261
|
*/
|
|
262
262
|
setTheme = (config = {}) => {
|
|
263
263
|
const isDarkMode = this.setDarkMode(config);
|
|
264
|
-
const brand = config?.brand
|
|
265
|
-
const gray = config?.gray
|
|
266
|
-
const ring = config?.ring
|
|
267
|
-
const ringOffset = config?.ringOffset
|
|
268
|
-
const rounding =
|
|
264
|
+
const brand = config?.brand ?? vuelessConfig?.brand ?? DEFAULT_BRAND_COLOR;
|
|
265
|
+
const gray = config?.gray ?? vuelessConfig?.gray ?? DEFAULT_GRAY_COLOR;
|
|
266
|
+
const ring = config?.ring ?? vuelessConfig?.ring ?? DEFAULT_RING;
|
|
267
|
+
const ringOffset = config?.ringOffset ?? vuelessConfig?.ringOffset ?? DEFAULT_RING_OFFSET;
|
|
268
|
+
const rounding = config?.rounding ?? vuelessConfig?.rounding ?? DEFAULT_ROUNDING;
|
|
269
269
|
|
|
270
270
|
// eslint-disable-next-line prettier/prettier, vue/max-len
|
|
271
271
|
let brandColor = BRAND_COLORS.some((color) => color === brand) || brand === GRAYSCALE_COLOR ? brand : DEFAULT_BRAND_COLOR;
|
package/ui.data-table/index.vue
CHANGED
|
@@ -192,6 +192,7 @@
|
|
|
192
192
|
bodyCellNestedExpandIconAttrs,
|
|
193
193
|
bodyCellNestedAttrs,
|
|
194
194
|
bodyCellPrimaryAttrs,
|
|
195
|
+
bodyCheckboxAttrs,
|
|
195
196
|
}"
|
|
196
197
|
@click="onClickRow"
|
|
197
198
|
@toggle-row-visibility="onToggleRowVisibility"
|
|
@@ -511,6 +512,7 @@ const {
|
|
|
511
512
|
hasSlotContent,
|
|
512
513
|
headerAttrs,
|
|
513
514
|
bodyCellPrimaryAttrs,
|
|
515
|
+
bodyCheckboxAttrs,
|
|
514
516
|
} = useAttrs(props, {
|
|
515
517
|
tableRows,
|
|
516
518
|
isShownActionsHeader,
|