@melodicdev/components 1.0.2 → 1.0.4
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/README.md +4 -4
- package/assets/melodic-components.js +2 -0
- package/assets/melodic-components.js.map +1 -1
- package/assets/melodic-components.min.js +2 -0
- package/lib/components/data-display/data-grid/data-grid.styles.d.ts.map +1 -1
- package/lib/components/data-display/data-grid/data-grid.styles.js +2 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ Add a single `<link>` tag to your HTML. It includes design tokens (light + dark
|
|
|
26
26
|
> **Production tip:** Pin to a specific version and use the minified build to avoid unexpected changes:
|
|
27
27
|
> ```html
|
|
28
28
|
> <link melodic-styles rel="stylesheet"
|
|
29
|
-
> href="https://unpkg.com/@melodicdev/components@1.0.
|
|
29
|
+
> href="https://unpkg.com/@melodicdev/components@1.0.4/assets/melodic-components.min.css">
|
|
30
30
|
> ```
|
|
31
31
|
|
|
32
32
|
The `melodic-styles` attribute has no special browser meaning — it's just a convenient selector if you ever need to find or replace the element from JavaScript:
|
|
@@ -80,9 +80,9 @@ If you're not using a bundler, you can load everything — styles, fonts, and al
|
|
|
80
80
|
<html data-theme="light">
|
|
81
81
|
<head>
|
|
82
82
|
<link melodic-styles rel="stylesheet"
|
|
83
|
-
href="https://unpkg.com/@melodicdev/components@1.0.
|
|
83
|
+
href="https://unpkg.com/@melodicdev/components@1.0.4/assets/melodic-components.min.css">
|
|
84
84
|
<script type="module"
|
|
85
|
-
src="https://unpkg.com/@melodicdev/components@1.0.
|
|
85
|
+
src="https://unpkg.com/@melodicdev/components@1.0.4/assets/melodic-components.min.js"></script>
|
|
86
86
|
</head>
|
|
87
87
|
<body>
|
|
88
88
|
<ml-button>Hello</ml-button>
|
|
@@ -97,7 +97,7 @@ The theme API is available as a named export from the module:
|
|
|
97
97
|
|
|
98
98
|
```html
|
|
99
99
|
<script type="module">
|
|
100
|
-
import { applyTheme } from 'https://unpkg.com/@melodicdev/components@1.0.
|
|
100
|
+
import { applyTheme } from 'https://unpkg.com/@melodicdev/components@1.0.4/assets/melodic-components.min.js';
|
|
101
101
|
applyTheme('dark');
|
|
102
102
|
</script>
|
|
103
103
|
```
|
|
@@ -12348,6 +12348,7 @@ const dataGridStyles = () => css`
|
|
|
12348
12348
|
display: flex;
|
|
12349
12349
|
flex-direction: column;
|
|
12350
12350
|
height: 100%;
|
|
12351
|
+
min-width: 0;
|
|
12351
12352
|
font-family: var(--ml-font-sans);
|
|
12352
12353
|
}
|
|
12353
12354
|
|
|
@@ -12400,6 +12401,7 @@ const dataGridStyles = () => css`
|
|
|
12400
12401
|
overflow: auto;
|
|
12401
12402
|
position: relative;
|
|
12402
12403
|
min-height: 0;
|
|
12404
|
+
min-width: 0;
|
|
12403
12405
|
}
|
|
12404
12406
|
|
|
12405
12407
|
.ml-data-grid__viewport::-webkit-scrollbar {
|