vueless 0.0.638 → 0.0.640

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.638",
3
+ "version": "0.0.640",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [
package/plugin-vite.js CHANGED
@@ -17,7 +17,7 @@ import { buildWebTypes } from "./utils/node/webTypes.js";
17
17
  export const VuelessUnpluginComponents = (options) =>
18
18
  UnpluginVueComponents({
19
19
  resolvers: [componentResolver, directiveResolver],
20
- dts: false,
20
+ dts: true,
21
21
  ...options,
22
22
  });
23
23
 
@@ -24,6 +24,7 @@ export default {
24
24
  title: "Buttons & Links / Toggle",
25
25
  component: UToggle,
26
26
  args: {
27
+ modelValue: "11",
27
28
  options: [
28
29
  { value: "11", label: "label 1" },
29
30
  { value: "12", label: "label 2" },
@@ -127,13 +127,11 @@ const sortedRows: ComputedRef<Row[]> = computed(() => {
127
127
  });
128
128
  });
129
129
 
130
- const isFooterSticky = computed(
131
- () =>
132
- window.innerHeight < tableHeight.value &&
133
- props.stickyFooter &&
134
- !isShownFooterPosition.value &&
135
- isCheckedMoreOneTableItems.value,
136
- );
130
+ const isFooterSticky = computed(() => {
131
+ return (
132
+ window.innerHeight < tableHeight.value && props.stickyFooter && !isShownFooterPosition.value
133
+ );
134
+ });
137
135
 
138
136
  const normalizedColumns = computed(() => normalizeColumns(props.columns));
139
137
 
@@ -72,7 +72,7 @@ export default /*tw*/ {
72
72
  },
73
73
  periodRow: "mb-1 flex min-w-64 gap-1",
74
74
  periodButton: "{UButton} h-[3.125rem] w-full",
75
- periodButtonActive: "{>periodButton} !bg-gray-800/20",
75
+ periodButtonActive: "{>periodButton} !bg-gray-700/15",
76
76
  rangeSwitchWrapper: "flex items-center justify-between py-2",
77
77
  rangeSwitchButton: "{UButton}",
78
78
  rangeSwitchTitle: "font-medium text-sm",