vueless 0.0.536 → 0.0.537
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/ui.button/UButton.vue +1 -1
- package/ui.button/types.ts +1 -1
- package/ui.button-link/ULink.vue +1 -1
- package/ui.button-link/types.ts +1 -1
- package/ui.button-toggle/UToggle.vue +1 -1
- package/ui.button-toggle/types.ts +1 -1
- package/ui.button-toggle-item/UToggleItem.vue +1 -1
- package/ui.button-toggle-item/types.ts +1 -1
- package/ui.container-accordion/UAccordion.vue +1 -1
- package/ui.container-accordion/types.ts +1 -1
- package/ui.container-card/UCard.vue +1 -1
- package/ui.container-card/types.ts +1 -1
- package/ui.container-col/UCol.vue +1 -1
- package/ui.container-col/types.ts +1 -1
- package/ui.container-divider/UDivider.vue +1 -1
- package/ui.container-divider/types.ts +1 -1
- package/ui.container-group/UGroup.vue +1 -1
- package/ui.container-group/types.ts +1 -1
- package/ui.container-modal/UModal.vue +1 -1
- package/ui.container-modal/types.ts +1 -1
- package/ui.container-modal-confirm/UModalConfirm.vue +1 -1
- package/ui.container-modal-confirm/types.ts +1 -1
- package/ui.container-page/UPage.vue +1 -1
- package/ui.container-page/types.ts +1 -1
- package/ui.container-row/URow.vue +1 -1
- package/ui.container-row/types.ts +1 -1
- package/ui.data-table/UTable.vue +6 -6
- package/ui.data-table/config.ts +5 -4
- package/ui.data-table/useAttrs.ts +3 -2
- package/ui.form-checkbox/UCheckbox.vue +1 -1
- package/ui.form-checkbox/types.ts +1 -1
- package/ui.form-checkbox-group/UCheckboxGroup.vue +1 -1
- package/ui.form-checkbox-group/types.ts +1 -1
- package/ui.form-checkbox-multi-state/UCheckboxMultiState.vue +1 -1
- package/ui.form-checkbox-multi-state/types.ts +1 -1
- package/ui.form-select/config.js +3 -3
- package/ui.image-avatar/UAvatar.vue +1 -1
- package/ui.image-avatar/types.ts +1 -1
- package/ui.image-icon/UIcon.vue +1 -1
- package/ui.image-icon/types.ts +1 -1
- package/ui.loader/ULoader.vue +1 -1
- package/ui.loader/types.ts +1 -1
- package/ui.loader-overlay/ULoaderOverlay.vue +1 -1
- package/ui.loader-overlay/types.ts +1 -1
- package/ui.loader-progress/ULoaderProgress.vue +1 -1
- package/ui.loader-progress/types.ts +1 -1
- package/ui.navigation-pagination/UPagination.vue +1 -1
- package/ui.navigation-pagination/types.ts +1 -1
- package/ui.navigation-progress/StepperProgress.vue +1 -1
- package/ui.navigation-progress/UProgress.vue +1 -1
- package/ui.navigation-progress/types.ts +2 -2
- package/ui.navigation-tab/UTab.vue +1 -1
- package/ui.navigation-tab/types.ts +1 -1
- package/ui.navigation-tabs/UTabs.vue +1 -1
- package/ui.navigation-tabs/types.ts +1 -1
- package/ui.other-dot/UDot.vue +1 -1
- package/ui.other-dot/types.ts +1 -1
- package/ui.text-alert/UAlert.vue +1 -1
- package/ui.text-alert/types.ts +1 -1
- package/ui.text-badge/UBadge.vue +1 -1
- package/ui.text-badge/types.ts +1 -1
- package/ui.text-block/UText.vue +1 -1
- package/ui.text-block/types.ts +1 -1
- package/ui.text-empty/UEmpty.vue +1 -1
- package/ui.text-empty/types.ts +1 -1
- package/ui.text-file/UFile.vue +1 -1
- package/ui.text-file/types.ts +1 -1
- package/ui.text-files/UFiles.vue +1 -1
- package/ui.text-files/types.ts +1 -1
- package/ui.text-header/UHeader.vue +1 -1
- package/ui.text-header/types.ts +1 -1
- package/ui.text-money/UMoney.vue +1 -1
- package/ui.text-money/types.ts +1 -1
- package/ui.text-notify/UNotify.vue +1 -1
- package/ui.text-notify/types.ts +1 -1
- package/web-types.json +37 -145
package/package.json
CHANGED
package/ui.button/UButton.vue
CHANGED
package/ui.button/types.ts
CHANGED
package/ui.button-link/ULink.vue
CHANGED
package/ui.button-link/types.ts
CHANGED
package/ui.data-table/UTable.vue
CHANGED
|
@@ -205,14 +205,14 @@ const {
|
|
|
205
205
|
bodyRowDateDividerAttrs,
|
|
206
206
|
headerCellBaseAttrs,
|
|
207
207
|
headerCellCheckboxAttrs,
|
|
208
|
-
|
|
208
|
+
headerActionsCheckboxAttrs,
|
|
209
209
|
stickyHeaderCheckboxAttrs,
|
|
210
210
|
headerCheckboxAttrs,
|
|
211
211
|
headerCounterAttrs,
|
|
212
212
|
bodyEmptyStateAttrs,
|
|
213
213
|
bodyDateDividerAttrs,
|
|
214
214
|
bodyCellDateDividerAttrs,
|
|
215
|
-
|
|
215
|
+
headerActionsCounterAttrs,
|
|
216
216
|
stickyHeaderCounterAttrs,
|
|
217
217
|
stickyHeaderLoaderAttrs,
|
|
218
218
|
tableAttrs,
|
|
@@ -496,14 +496,14 @@ defineExpose({
|
|
|
496
496
|
v-model="selectAll"
|
|
497
497
|
size="md"
|
|
498
498
|
:partial="!isSelectedAllRows"
|
|
499
|
-
v-bind="
|
|
499
|
+
v-bind="headerActionsCheckboxAttrs"
|
|
500
500
|
:data-test="`${dataTest}-select-all`"
|
|
501
501
|
/>
|
|
502
502
|
</div>
|
|
503
503
|
|
|
504
504
|
<div
|
|
505
505
|
v-if="selectedRows.length"
|
|
506
|
-
v-bind="
|
|
506
|
+
v-bind="headerActionsCounterAttrs"
|
|
507
507
|
v-text="selectedRows.length"
|
|
508
508
|
/>
|
|
509
509
|
|
|
@@ -529,14 +529,14 @@ defineExpose({
|
|
|
529
529
|
v-model="selectAll"
|
|
530
530
|
size="md"
|
|
531
531
|
:partial="!isSelectedAllRows"
|
|
532
|
-
v-bind="
|
|
532
|
+
v-bind="headerActionsCheckboxAttrs"
|
|
533
533
|
:data-test="`${dataTest}-select-all`"
|
|
534
534
|
/>
|
|
535
535
|
</div>
|
|
536
536
|
|
|
537
537
|
<div
|
|
538
538
|
v-if="selectedRows.length"
|
|
539
|
-
v-bind="
|
|
539
|
+
v-bind="headerActionsCounterAttrs"
|
|
540
540
|
v-text="selectedRows.length"
|
|
541
541
|
/>
|
|
542
542
|
|
package/ui.data-table/config.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default /*tw*/ {
|
|
2
2
|
wrapper: "relative w-full overflow-auto",
|
|
3
3
|
headerCounterBase: "mr-1.5 pr-1.5 font-medium text-sm text-gray-900",
|
|
4
|
-
stickyHeader: "fixed top-0 flex items-center z-30 overflow-hidden rounded-none
|
|
4
|
+
stickyHeader: "fixed top-0 flex items-center z-30 overflow-hidden border rounded-none",
|
|
5
5
|
stickyHeaderRow: "border-gray-200 bg-white",
|
|
6
6
|
stickyHeaderCell: "flex-none whitespace-nowrap",
|
|
7
7
|
stickyHeaderCheckbox: "{UCheckbox}",
|
|
@@ -14,9 +14,10 @@ export default /*tw*/ {
|
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
16
|
stickyHeaderLoader: "{ULoaderProgress}",
|
|
17
|
-
stickyHeaderActions: "rounded-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
stickyHeaderActions: "rounded-none",
|
|
18
|
+
headerActions: "rounded-t-dynamic border-blue-200 bg-blue-50",
|
|
19
|
+
headerActionsCheckbox: "{UCheckbox}",
|
|
20
|
+
headerActionsCounter: "-ml-1.5",
|
|
20
21
|
tableWrapper: "border border-gray-200 rounded-dynamic bg-white",
|
|
21
22
|
table: "min-w-full border-none text-sm w-full table-auto",
|
|
22
23
|
header: "border-b border-gray-200",
|
|
@@ -25,6 +25,7 @@ export default function useAttrs(
|
|
|
25
25
|
|
|
26
26
|
const extendingKeys = [
|
|
27
27
|
"headerCounterBase",
|
|
28
|
+
"headerActions",
|
|
28
29
|
"stickyHeaderActions",
|
|
29
30
|
"stickyHeaderRow",
|
|
30
31
|
"stickyFooter",
|
|
@@ -42,7 +43,7 @@ export default function useAttrs(
|
|
|
42
43
|
const classes = [];
|
|
43
44
|
|
|
44
45
|
if (isShownActionsHeader.value) {
|
|
45
|
-
classes.push(extendingKeysClasses.
|
|
46
|
+
classes.push(extendingKeysClasses.headerActions.value);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
if (isShownActionsHeader.value && isHeaderSticky.value) {
|
|
@@ -65,7 +66,7 @@ export default function useAttrs(
|
|
|
65
66
|
stickyHeaderCounter: {
|
|
66
67
|
base: computed(() => [extendingKeysClasses.headerCounterBase.value]),
|
|
67
68
|
},
|
|
68
|
-
|
|
69
|
+
headerActionsCounter: {
|
|
69
70
|
base: computed(() => [extendingKeysClasses.headerCounterBase.value]),
|
|
70
71
|
},
|
|
71
72
|
headerCellCheckbox: {
|
package/ui.form-select/config.js
CHANGED
package/ui.image-avatar/types.ts
CHANGED
package/ui.image-icon/UIcon.vue
CHANGED
package/ui.image-icon/types.ts
CHANGED
package/ui.loader/ULoader.vue
CHANGED
package/ui.loader/types.ts
CHANGED
|
@@ -38,7 +38,7 @@ export interface UProgressProps {
|
|
|
38
38
|
/**
|
|
39
39
|
* Component config object.
|
|
40
40
|
*/
|
|
41
|
-
config?:
|
|
41
|
+
config?: Config;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* Data-test attribute for automated testing.
|
|
@@ -65,7 +65,7 @@ export interface StepperProgressProps {
|
|
|
65
65
|
/**
|
|
66
66
|
* Component config object.
|
|
67
67
|
*/
|
|
68
|
-
config?:
|
|
68
|
+
config?: Config;
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* Data-test attribute for automated testing.
|
package/ui.other-dot/UDot.vue
CHANGED
package/ui.other-dot/types.ts
CHANGED
package/ui.text-alert/UAlert.vue
CHANGED
package/ui.text-alert/types.ts
CHANGED
package/ui.text-badge/UBadge.vue
CHANGED
package/ui.text-badge/types.ts
CHANGED
package/ui.text-block/UText.vue
CHANGED