vueless 0.0.507 → 0.0.508

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.507",
3
+ "version": "0.0.508",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
@@ -420,7 +420,7 @@ defineExpose({
420
420
  </script>
421
421
 
422
422
  <template>
423
- <div :data-test="dataTest" v-bind="wrapperAttrs">
423
+ <div v-bind="wrapperAttrs" :data-test="dataTest">
424
424
  <div
425
425
  v-show="isHeaderSticky || isShownActionsHeader"
426
426
  ref="sticky-header-row"
@@ -432,9 +432,10 @@ defineExpose({
432
432
  <UCheckbox
433
433
  v-if="selectable"
434
434
  v-model="selectAll"
435
+ size="md"
435
436
  :partial="!isSelectedAllRows"
436
- :data-test="`${dataTest}-select-all`"
437
437
  v-bind="stickyHeaderActionsCheckboxAttrs"
438
+ :data-test="`${dataTest}-select-all`"
438
439
  />
439
440
  </div>
440
441
 
@@ -456,9 +457,10 @@ defineExpose({
456
457
  <UCheckbox
457
458
  v-if="selectable"
458
459
  v-model="selectAll"
460
+ size="md"
459
461
  :partial="!isSelectedAllRows"
460
- :data-test="`${dataTest}-select-all`"
461
462
  v-bind="stickyHeaderCheckboxAttrs"
463
+ :data-test="`${dataTest}-select-all`"
462
464
  />
463
465
 
464
466
  <div
@@ -523,9 +525,10 @@ defineExpose({
523
525
  <th v-if="selectable" v-bind="headerCellCheckboxAttrs">
524
526
  <UCheckbox
525
527
  v-model="selectAll"
528
+ size="md"
526
529
  :partial="!isSelectedAllRows"
527
- :data-test="`${dataTest}-select-all`"
528
530
  v-bind="headerCheckboxAttrs"
531
+ :data-test="`${dataTest}-select-all`"
529
532
  />
530
533
 
531
534
  <div
@@ -594,13 +597,13 @@ defineExpose({
594
597
  <UTableRow
595
598
  v-model:selected-rows="selectedRows"
596
599
  :selectable="selectable"
597
- :data-test="`${dataTest}-row`"
598
600
  :row="row"
599
601
  :columns="normalizedColumns"
600
602
  :config="config"
601
603
  :attrs="tableRowAttrs as unknown as UTableRowAttrs"
602
604
  :nested-level="0"
603
605
  :empty-cell-label="emptyCellLabel"
606
+ :data-test="`${dataTest}-row`"
604
607
  @click="onClickRow"
605
608
  @click-cell="onClickCell"
606
609
  @toggle-row-visibility="onToggleRowVisibility"
@@ -652,8 +655,8 @@ defineExpose({
652
655
  <UEmpty
653
656
  size="md"
654
657
  :description="currentLocale.noData"
655
- :data-test="`${dataTest}-empty`"
656
658
  v-bind="bodyEmptyStateAttrs"
659
+ :data-test="`${dataTest}-empty`"
657
660
  />
658
661
  </slot>
659
662
  </td>
@@ -226,10 +226,11 @@ function getRowAttrs(rowId: string | number) {
226
226
  >
227
227
  <UCheckbox
228
228
  v-model="selectedRows"
229
- :data-id="row.id"
229
+ size="md"
230
230
  :value="row.id"
231
- :data-test="`${dataTest}-body-checkbox`"
232
231
  v-bind="attrs.bodyCheckboxAttrs.value"
232
+ :data-id="row.id"
233
+ :data-test="`${dataTest}-body-checkbox`"
233
234
  />
234
235
  </td>
235
236
 
@@ -266,8 +267,8 @@ function getRowAttrs(rowId: string | number) {
266
267
  <slot :name="`cell-${key}`" :value="value" :row="row" :index="index">
267
268
  <div
268
269
  v-if="value"
269
- v-bind="attrs.bodyCellContentAttrs.value"
270
270
  ref="cell"
271
+ v-bind="attrs.bodyCellContentAttrs.value"
271
272
  :class="
272
273
  cx([attrs.bodyCellContentAttrs.value.class, getCellContentClasses(row, String(key))])
273
274
  "
@@ -29,7 +29,7 @@ export default /*tw*/ {
29
29
  optionSelected: "font-bold",
30
30
  optionHighlighted: "bg-brand-50",
31
31
  group: {
32
- base: `pointer-events-none bg-transparent font-medium leading-none uppercasetext-gray-400 pt-4 pb-1
32
+ base: `pointer-events-none bg-transparent font-medium !leading-none uppercase text-gray-400 pt-4 pb-1
33
33
  group-first/item:pt-2`,
34
34
  variants: {
35
35
  size: {
@@ -40,7 +40,7 @@ export default /*tw*/ {
40
40
  },
41
41
  },
42
42
  subGroup: {
43
- base: "pointer-events-none bg-transparent font-medium leading-none uppercase text-gray-400 pt-2",
43
+ base: "pointer-events-none bg-transparent font-medium !leading-none uppercase text-gray-400 pt-2",
44
44
  variants: {
45
45
  size: {
46
46
  sm: "text-2xs",
@@ -26,7 +26,7 @@ export default /*tw*/ {
26
26
  passwordIcon: "{UIcon}",
27
27
  input: {
28
28
  base: `
29
- block w-full py-2 px-3 font-normal leading-none text-gray-900 bg-white
29
+ block w-full py-2 px-3 font-normal !leading-none text-gray-900 bg-white
30
30
  border-none rounded-dynamic transition focus:ring-0
31
31
  placeholder:font-normal placeholder-gray-400
32
32
  disabled:text-gray-700 disabled:bg-gray-100
@@ -39,7 +39,7 @@ export default /*tw*/ {
39
39
  selectedLabels: "flex flex-col col-span-2",
40
40
  selectedLabel: {
41
41
  base: `
42
- font-normal leading-none text-gray-900 relative truncate
42
+ font-normal !leading-none text-gray-900 relative truncate
43
43
  inline-flex items-center whitespace-nowrap mb-0 w-full
44
44
  `,
45
45
  variants: {
@@ -93,7 +93,7 @@ export default /*tw*/ {
93
93
  searchActive: "w-full",
94
94
  searchInput: {
95
95
  base: `
96
- p-0 font-normal leading-none text-gray-900 relative w-full border-none bg-transparent
96
+ p-0 font-normal !leading-none text-gray-900 relative w-full border-none bg-transparent
97
97
  focus:shadow-none focus:outline-none focus:ring-0
98
98
  placeholder:text-gray-400 placeholder:font-normal
99
99
  `,
@@ -29,7 +29,7 @@ export default /*tw*/ {
29
29
  },
30
30
  textarea: {
31
31
  base: `
32
- p-0 block w-full bg-transparent border-none font-normal text-gray-900
32
+ p-0 block w-full bg-transparent border-none !leading-none font-normal text-gray-900
33
33
  placeholder:font-normal placeholder:text-gray-400
34
34
  focus:border-none focus:outline-none focus:ring-0
35
35
  `,
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.507",
4
+ "version": "0.0.508",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",