@umamichi-ui/common-components 0.1.0 → 0.2.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umamichi-ui/common-components",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Reusable React UI components for Umamichi sites (overlay stack, dialogs, menus)",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -63,14 +63,14 @@
63
63
  "prepublishOnly": "npm run build"
64
64
  },
65
65
  "peerDependencies": {
66
- "@umamichi-ui/common-css": ">=0.8.0",
66
+ "@umamichi-ui/common-css": ">=0.16.0",
67
67
  "react": "^18.0.0 || ^19.0.0",
68
68
  "react-dom": "^18.0.0 || ^19.0.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@types/react": "^19.2.2",
72
72
  "@types/react-dom": "^19.2.2",
73
- "@umamichi-ui/common-css": "^0.8.0",
73
+ "@umamichi-ui/common-css": "^0.16.0",
74
74
  "@vitejs/plugin-react": "^5.1.0",
75
75
  "react": "^19.2.0",
76
76
  "react-dom": "^19.2.0",
@@ -16,14 +16,15 @@
16
16
  .about-dialog-app-name {
17
17
  margin: 0 0 6px;
18
18
  font-size: 1.05rem;
19
- font-weight: 600;
19
+ font-weight: var(--site-weight-regular);
20
20
  line-height: 1.35;
21
21
  }
22
22
 
23
23
  .about-dialog-version {
24
24
  margin: 0 0 10px;
25
25
  color: var(--site-muted-fg);
26
- font-size: 0.92rem;
26
+ font-size: 0.875rem;
27
+ font-weight: var(--site-weight-regular);
27
28
  line-height: 1.4;
28
29
  }
29
30
 
@@ -35,6 +36,7 @@
35
36
  margin: 0;
36
37
  color: var(--site-content-fg);
37
38
  font-size: 0.9rem;
39
+ font-weight: var(--site-weight-regular);
38
40
  line-height: 1.55;
39
41
  }
40
42
 
@@ -43,6 +45,7 @@
43
45
  text-align: center;
44
46
  color: var(--site-muted-fg);
45
47
  font-size: 0.86rem;
48
+ font-weight: var(--site-weight-regular);
46
49
  }
47
50
 
48
51
  .about-dialog-divider {
@@ -58,7 +61,7 @@
58
61
  .about-dialog-section-title {
59
62
  margin: 0 0 6px;
60
63
  font-size: 0.82rem;
61
- font-weight: 600;
64
+ font-weight: var(--site-weight-semibold);
62
65
  letter-spacing: 0.04em;
63
66
  color: var(--site-subtle-fg);
64
67
  text-transform: uppercase;
@@ -67,6 +70,7 @@
67
70
  .about-dialog-section-text {
68
71
  margin: 0;
69
72
  font-size: 0.9rem;
73
+ font-weight: var(--site-weight-regular);
70
74
  line-height: 1.55;
71
75
  color: var(--site-content-fg);
72
76
  }
@@ -80,7 +84,8 @@
80
84
  grid-template-columns: 5.5rem minmax(0, 1fr);
81
85
  gap: 8px 12px;
82
86
  align-items: baseline;
83
- font-size: 0.88rem;
87
+ font-size: 0.875rem;
88
+ font-weight: var(--site-weight-regular);
84
89
  line-height: 1.45;
85
90
  }
86
91
 
@@ -75,7 +75,7 @@
75
75
 
76
76
  .mobile-action-sheet-subheader-title {
77
77
  font-size: 1rem;
78
- font-weight: 600;
78
+ font-weight: var(--site-weight-regular);
79
79
  line-height: 1.35;
80
80
  }
81
81
 
@@ -103,6 +103,7 @@
103
103
  color: inherit;
104
104
  font: inherit;
105
105
  font-size: 1rem;
106
+ font-weight: var(--site-weight-regular);
106
107
  line-height: 1.35;
107
108
  text-align: left;
108
109
  cursor: pointer;