vueless 0.0.96 → 0.0.98

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.96",
3
+ "version": "0.0.98",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -7,8 +7,8 @@ export default /*tw*/ {
7
7
  },
8
8
  },
9
9
  },
10
- headerCheckboxWrapper: "w-[3.75rem]",
11
- header: "border-b border-gray-200 ",
10
+ headerCheckboxWrapper: "",
11
+ header: "border-b border-gray-200",
12
12
  headerRow: "",
13
13
  headerCell: "p-4 text-sm font-normal text-gray-500 text-left",
14
14
  headerSelectAllCheckbox: "",
@@ -17,17 +17,10 @@ export default /*tw*/ {
17
17
  stickyHeaderLoader: "absolute top-[3.75rem] group-[]/table-compact:!top-[3.25rem]",
18
18
  stickyHeaderActive: "fixed top-0 border border-gray-200 bg-white rounded-none",
19
19
  stickyHeaderActions: "rounded-t-lg border border-blue-200 !bg-blue-50",
20
- stickyHeaderColumn: {
21
- base: "flex-none text-sm font-normal text-gray-500 px-[1.125rem] py-4 [&:nth-child(2)]:pl-0",
22
- variants: {
23
- compact: {
24
- true: "!p-4 [&:nth-child(2)]:!pl-0",
25
- },
26
- },
27
- },
20
+ stickyHeaderColumn: "flex-none text-sm font-normal text-gray-500 p-4",
28
21
  selectedRowsCount: "absolute left-11 pr-2 font-medium text-sm text-gray-900 bg-gradient-to-r from-white from-80%",
29
22
  selectAllCheckbox: "flex-none text-sm font-normal text-gray-500 pr-[1.125rem] pl-4 py-4 group-[]/table-compact:!px-4",
30
- innerWrapper: "overflow-auto rounded-lg border border-gray-200",
23
+ innerWrapper: "!overflow-visible rounded-lg border border-gray-200",
31
24
  innerWrapperSelected: "!rounded-t-none border-t-0",
32
25
  table: "min-w-full border-none text-sm w-full",
33
26
  tableLoader: "absolute !top-auto",
@@ -45,7 +38,7 @@ export default /*tw*/ {
45
38
  collapseIconName: "remove",
46
39
  body: "group/body divide-none",
47
40
  bodyRow: "hover:bg-gray-50",
48
- checkboxBodyWrapperCell: "w-[3.75rem] py-3 px-4 align-top",
41
+ checkboxBodyWrapperCell: "py-3 px-4 align-top",
49
42
  bodyCell: "",
50
43
  tableCheckbox: "",
51
44
  dateSeparator: "",
@@ -2,7 +2,7 @@ export default /*tw*/ {
2
2
  tableCell: {
3
3
  base: `
4
4
  p-[1.125rem] py-5 first:p-5 [&:nth-child(2)]:pl-0 group-[]/body:truncate group-[]/body:align-top
5
- group-[]/body:last:p-5
5
+ group-[]/body:last:p-5 !overflow-visible
6
6
  `,
7
7
  variants: {
8
8
  compact: {
@@ -7,8 +7,14 @@
7
7
  >
8
8
  <slot />
9
9
 
10
- <div v-bind="labelWrapperAttrs">
11
- <label :for="props.for" :data-cy="`${dataCy}-label`" v-bind="labelAttrs" v-text="label" />
10
+ <div v-if="label || error || description" v-bind="labelWrapperAttrs">
11
+ <label
12
+ v-if="label"
13
+ :for="props.for"
14
+ :data-cy="`${dataCy}-label`"
15
+ v-bind="labelAttrs"
16
+ v-text="label"
17
+ />
12
18
 
13
19
  <div
14
20
  v-if="error"
@@ -30,6 +36,7 @@
30
36
 
31
37
  <div v-else v-bind="wrapperAttrs">
32
38
  <label
39
+ v-if="label"
33
40
  ref="labelRef"
34
41
  :for="props.for"
35
42
  :data-cy="`${dataCy}-label`"
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.96",
4
+ "version": "0.0.98",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",