@akinon/akitable 0.4.0 → 0.5.0

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.
@@ -33,25 +33,23 @@
33
33
  border: none;
34
34
  }
35
35
 
36
- .akinon-table-row {
37
- /* Add background for alternate rows. */
38
- &:nth-child(odd) td {
39
- background-color: var(--color-neutral-100);
40
- }
36
+ /* Add background for alternate rows. */
37
+ .akinon-table-row:nth-child(odd) td {
38
+ background-color: var(--color-neutral-100);
41
39
  }
42
40
 
43
41
  .akinon-table-row.is-selectable {
44
42
  cursor: pointer;
43
+ }
45
44
 
46
- & td {
47
- transition: background-color 0.2s;
48
- }
45
+ .akinon-table-row.is-selectable td {
46
+ transition: background-color 0.2s;
47
+ }
49
48
 
50
- &:hover td {
51
- background-color: var(--color-blue-100) !important;
52
- }
49
+ .akinon-table-row.is-selectable:hover td {
50
+ background-color: var(--color-blue-100) !important;
51
+ }
53
52
 
54
- &:hover td[class*='akinon-table-cell-fix-'] {
55
- background-color: var(--color-blue-200) !important;
56
- }
53
+ .akinon-table-row.is-selectable:hover td[class*='akinon-table-cell-fix-'] {
54
+ background-color: var(--color-blue-200) !important;
57
55
  }
@@ -33,25 +33,23 @@
33
33
  border: none;
34
34
  }
35
35
 
36
- .akinon-table-row {
37
- /* Add background for alternate rows. */
38
- &:nth-child(odd) td {
39
- background-color: var(--color-neutral-100);
40
- }
36
+ /* Add background for alternate rows. */
37
+ .akinon-table-row:nth-child(odd) td {
38
+ background-color: var(--color-neutral-100);
41
39
  }
42
40
 
43
41
  .akinon-table-row.is-selectable {
44
42
  cursor: pointer;
43
+ }
45
44
 
46
- & td {
47
- transition: background-color 0.2s;
48
- }
45
+ .akinon-table-row.is-selectable td {
46
+ transition: background-color 0.2s;
47
+ }
49
48
 
50
- &:hover td {
51
- background-color: var(--color-blue-100) !important;
52
- }
49
+ .akinon-table-row.is-selectable:hover td {
50
+ background-color: var(--color-blue-100) !important;
51
+ }
53
52
 
54
- &:hover td[class*='akinon-table-cell-fix-'] {
55
- background-color: var(--color-blue-200) !important;
56
- }
53
+ .akinon-table-row.is-selectable:hover td[class*='akinon-table-cell-fix-'] {
54
+ background-color: var(--color-blue-200) !important;
57
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/akitable",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",
@@ -12,30 +12,30 @@
12
12
  "antd": "5.17.0",
13
13
  "clsx": "^2.0.0",
14
14
  "react-error-boundary": "^4.0.13",
15
- "@akinon/akilocale": "0.13.0",
16
- "@akinon/akiform": "0.8.0",
17
- "@akinon/icons": "0.5.0",
18
- "@akinon/ui-card": "0.4.0",
19
- "@akinon/ui-input": "0.5.0",
20
- "@akinon/ui-pagination": "0.4.0",
21
- "@akinon/ui-progress": "0.4.0",
22
- "@akinon/ui-result": "0.2.0",
23
- "@akinon/ui-button": "0.6.0",
24
- "@akinon/ui-select": "0.4.0",
25
- "@akinon/ui-skeleton": "0.4.0",
26
- "@akinon/ui-space": "0.4.0",
27
- "@akinon/ui-spin": "0.4.0",
28
- "@akinon/ui-steps": "0.4.0",
29
- "@akinon/ui-table": "0.4.0",
30
- "@akinon/ui-theme": "0.6.0",
31
- "@akinon/ui-typography": "0.4.0"
15
+ "@akinon/akiform": "0.9.0",
16
+ "@akinon/akilocale": "0.14.0",
17
+ "@akinon/icons": "0.6.0",
18
+ "@akinon/ui-card": "0.5.0",
19
+ "@akinon/ui-button": "0.7.0",
20
+ "@akinon/ui-select": "0.5.0",
21
+ "@akinon/ui-space": "0.5.0",
22
+ "@akinon/ui-progress": "0.5.0",
23
+ "@akinon/ui-result": "0.3.0",
24
+ "@akinon/ui-pagination": "0.5.0",
25
+ "@akinon/ui-skeleton": "0.5.0",
26
+ "@akinon/ui-theme": "0.7.0",
27
+ "@akinon/ui-input": "0.6.0",
28
+ "@akinon/ui-typography": "0.5.0",
29
+ "@akinon/ui-spin": "0.5.0",
30
+ "@akinon/ui-table": "0.5.0",
31
+ "@akinon/ui-steps": "0.5.0"
32
32
  },
33
33
  "devDependencies": {
34
34
  "clean-package": "2.2.0",
35
35
  "copyfiles": "^2.4.1",
36
36
  "rimraf": "^5.0.5",
37
37
  "typescript": "^5.2.2",
38
- "@akinon/typescript-config": "0.3.0"
38
+ "@akinon/typescript-config": "0.4.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": ">=18",
@@ -55,7 +55,7 @@
55
55
  "build": "pnpm run build:esm && pnpm run build:commonjs && pnpm run copy:files",
56
56
  "build:esm": "tsc --outDir dist/esm",
57
57
  "build:commonjs": "tsc --module commonjs --outDir dist/cjs",
58
- "copy:files": "copyfiles -u 1 src/*.css dist/esm && copyfiles -u 1 src/*.css dist/cjs && copyfiles -u 1 src/**/*.css dist/esm && copyfiles -u 1 src/**/*.css dist/cjs",
58
+ "copy:files": "copyfiles -u 1 \"src/**/*.!(ts|tsx)\" dist/esm && copyfiles -u 1 \"src/**/*.!(ts|tsx)\" dist/cjs",
59
59
  "clean": "rimraf dist/",
60
60
  "typecheck": "tsc --noEmit"
61
61
  }