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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.249",
3
+ "version": "0.0.251",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -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 || 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 = Number(config?.rounding) || vuelessConfig?.rounding || DEFAULT_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;
@@ -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,
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.249",
4
+ "version": "0.0.251",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",