@loomidev/centered-content 0.4.1 → 0.6.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/README.md +4 -4
- package/dist/generated/styles.css.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @loomidev/centered-content
|
|
2
2
|
|
|
3
|
-
`<loomi-centered-content>`
|
|
3
|
+
`<loomi-centered-content>` - vertically and horizontally centers its content. Great for
|
|
4
4
|
sign-in screens, empty pages and hero sections.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
@@ -61,15 +61,15 @@ screen.
|
|
|
61
61
|
|
|
62
62
|
## Accessibility
|
|
63
63
|
|
|
64
|
-
For the library-wide baseline, see [Foundations
|
|
64
|
+
For the library-wide baseline, see [Foundations - Accessibility](https://loomiui.com/foundations/#accessibility).
|
|
65
65
|
|
|
66
66
|
## Responsive behavior
|
|
67
67
|
|
|
68
|
-
For the shared container and viewport rules, see [Foundations
|
|
68
|
+
For the shared container and viewport rules, see [Foundations - Responsive behavior](https://loomiui.com/foundations/#responsive-behavior).
|
|
69
69
|
|
|
70
70
|
## Dark mode
|
|
71
71
|
|
|
72
|
-
For theme activation, token overrides, and contrast guidance, see [Foundations
|
|
72
|
+
For theme activation, token overrides, and contrast guidance, see [Foundations - Dark mode](https://loomiui.com/foundations/#dark-mode).
|
|
73
73
|
|
|
74
74
|
## Attributes
|
|
75
75
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by @loomidev/centered-content — do not edit by hand. Run `pnpm build` to regenerate.
|
|
2
2
|
import { unsafeCSS } from "lit";
|
|
3
3
|
/** Compiled, Shadow-DOM-scoped styles. Colors resolve via `var(--loomi-*)`. */
|
|
4
|
-
export const componentStyles = unsafeCSS("/*! tailwindcss v4.3.
|
|
4
|
+
export const componentStyles = unsafeCSS("/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */\n@layer theme,base,components,utilities;:host{display:block}:host([hidden]){display:none}.loomi-center{text-align:center;min-height:var(--loomi-center-min,60vh);flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex}.loomi-inner{width:100%;max-width:var(--loomi-center-max,28rem)}");
|
|
5
5
|
//# sourceMappingURL=styles.css.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loomidev/centered-content",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "<loomi-centered-content> — center content vertically and horizontally.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@loomidev/core": "^0.
|
|
33
|
+
"@loomidev/core": "^0.6.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"lit": "^3.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@tailwindcss/cli": "^4.
|
|
39
|
+
"@tailwindcss/cli": "^4.3.3",
|
|
40
40
|
"lit": "^3.3.3",
|
|
41
|
-
"tailwindcss": "^4.
|
|
41
|
+
"tailwindcss": "^4.3.3",
|
|
42
42
|
"typescript": "^5.6.3",
|
|
43
|
-
"@loomidev/theme": "^0.
|
|
43
|
+
"@loomidev/theme": "^0.6.0"
|
|
44
44
|
},
|
|
45
45
|
"keywords": [
|
|
46
46
|
"web-components",
|