@liiift-studio/mac-os9-ui 0.1.4 → 0.1.6
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/ATTRIBUTION.md +6 -6
- package/README.md +6 -5
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +195 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/ATTRIBUTION.md
CHANGED
|
@@ -28,7 +28,7 @@ Under the following terms:
|
|
|
28
28
|
|
|
29
29
|
## Implementation
|
|
30
30
|
|
|
31
|
-
This React/TypeScript component library (
|
|
31
|
+
This React/TypeScript component library (`@liiift-studio/mac-os9-ui`) implements Michael Feeney's designs as functional web components with:
|
|
32
32
|
|
|
33
33
|
- Pixel-accurate visual fidelity to the original designs
|
|
34
34
|
- Modern accessibility features (ARIA, keyboard navigation)
|
|
@@ -51,10 +51,10 @@ All visual design decisions remain faithful to Michael Feeney's original Mac OS
|
|
|
51
51
|
|
|
52
52
|
When using this library in your projects, please include attribution to both:
|
|
53
53
|
|
|
54
|
-
### 1. This Library (mac-os9-ui)
|
|
54
|
+
### 1. This Library (@liiift-studio/mac-os9-ui)
|
|
55
55
|
|
|
56
56
|
```
|
|
57
|
-
Built with mac-os9-ui component library
|
|
57
|
+
Built with @liiift-studio/mac-os9-ui component library
|
|
58
58
|
https://github.com/Liiift-Studio/Mac-OS-9-React
|
|
59
59
|
Licensed under MIT License
|
|
60
60
|
```
|
|
@@ -76,7 +76,7 @@ For websites or applications:
|
|
|
76
76
|
<!-- Footer or About section -->
|
|
77
77
|
<p>
|
|
78
78
|
UI components powered by
|
|
79
|
-
<a href="https://github.com/Liiift-Studio/Mac-OS-9-React"
|
|
79
|
+
<a href="https://github.com/Liiift-Studio/Mac-OS-9-React">@liiift-studio/mac-os9-ui</a>.
|
|
80
80
|
Original designs by
|
|
81
81
|
<a href="https://swallowmygraphicdesign.com/project/macostalgia">Michael Feeney</a>
|
|
82
82
|
licensed under
|
|
@@ -89,7 +89,7 @@ For documentation or README:
|
|
|
89
89
|
```markdown
|
|
90
90
|
## Credits
|
|
91
91
|
|
|
92
|
-
- UI Components: [mac-os9-ui](https://github.com/Liiift-Studio/Mac-OS-9-React) (MIT License)
|
|
92
|
+
- UI Components: [@liiift-studio/mac-os9-ui](https://github.com/Liiift-Studio/Mac-OS-9-React) (MIT License)
|
|
93
93
|
- Original Designs: [Michael Feeney - Mac OS 9 UI Kit](https://swallowmygraphicdesign.com/project/macostalgia) (CC BY 4.0)
|
|
94
94
|
```
|
|
95
95
|
|
|
@@ -97,4 +97,4 @@ For documentation or README:
|
|
|
97
97
|
|
|
98
98
|
Special thanks to Michael Feeney for creating and sharing this beautiful Mac OS 9 UI Kit with the design community. His work preserves an important piece of computing history and enables developers to bring that nostalgic aesthetic to modern web applications.
|
|
99
99
|
|
|
100
|
-
Visit his website to see more of his excellent work: https://swallowmygraphicdesign.com/
|
|
100
|
+
Visit his website to see more of his excellent work: https://swallowmygraphicdesign.com/
|
package/README.md
CHANGED
|
@@ -23,7 +23,6 @@ npm install @liiift-studio/mac-os9-ui
|
|
|
23
23
|
|
|
24
24
|
```tsx
|
|
25
25
|
import { Button, Window } from '@liiift-studio/mac-os9-ui';
|
|
26
|
-
import '@liiift-studio/mac-os9-ui/styles';
|
|
27
26
|
|
|
28
27
|
function App() {
|
|
29
28
|
return (
|
|
@@ -66,7 +65,6 @@ function App() {
|
|
|
66
65
|
|
|
67
66
|
```tsx
|
|
68
67
|
import { Window, MenuBar } from '@liiift-studio/mac-os9-ui';
|
|
69
|
-
import '@liiift-studio/mac-os9-ui/styles';
|
|
70
68
|
|
|
71
69
|
function MyApp() {
|
|
72
70
|
const menuItems = [
|
|
@@ -175,13 +173,16 @@ function MyComponent() {
|
|
|
175
173
|
|
|
176
174
|
## Styling
|
|
177
175
|
|
|
178
|
-
|
|
176
|
+
**Styles are automatically included** when you import any component from the library. No separate CSS import is required!
|
|
179
177
|
|
|
180
178
|
```tsx
|
|
181
|
-
import '@liiift-studio/mac-os9-ui
|
|
179
|
+
import { Button, Window } from '@liiift-studio/mac-os9-ui';
|
|
180
|
+
// Styles are automatically included ✓
|
|
182
181
|
```
|
|
183
182
|
|
|
184
|
-
|
|
183
|
+
All components use CSS Modules internally, so styles are scoped and won't conflict with your application's CSS. The theme variables and base styles are bundled with the component imports for maximum convenience.
|
|
184
|
+
|
|
185
|
+
> **Note:** For backwards compatibility, you can still explicitly import styles via `import '@liiift-studio/mac-os9-ui/styles'` if needed, but it's no longer necessary.
|
|
185
186
|
|
|
186
187
|
## TypeScript Support
|
|
187
188
|
|
package/dist/index.cjs
CHANGED
|
@@ -165,7 +165,7 @@ var IconButton = React4.forwardRef(
|
|
|
165
165
|
IconButton_default.iconButton,
|
|
166
166
|
IconButton_default[`iconButton--${variant}`],
|
|
167
167
|
IconButton_default[`iconButton--${size}`],
|
|
168
|
-
label && IconButton_default[
|
|
168
|
+
label && IconButton_default["iconButton--with-label"],
|
|
169
169
|
label && IconButton_default[`iconButton--label-${labelPosition}`],
|
|
170
170
|
disabled && IconButton_default["iconButton--disabled"],
|
|
171
171
|
className
|