layered-ui-rails 0.2.3 → 0.2.5
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/README.md +4 -5
- data/app/assets/images/layered_ui/icon_youtube.svg +3 -0
- data/app/assets/tailwind/layered/ui/styles.css +6 -1
- data/lib/layered/ui/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: feb436fe39471f18e20438f335008dbd35eefa5035e7dc4c43b25bb410ad2dff
|
|
4
|
+
data.tar.gz: eff67adfb3a419be2b85077a00a17ac44c50edc7448f7190deff342002f41ed4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 69a5f98979872031872c93c9b2ff93060955810be38785ab882e275a5f07524834b97bde9a1907877450861f540e9a7dfa56b3d43e1282dfb0f7682c60f157a4
|
|
7
|
+
data.tar.gz: e857eb7b2476475e535e27c0902b2549ebf9cd28a4232b1dc39630827f3e9ace63d9e8e540477e632eda99a923c03265f97bd4f6dbd93b479c04f07d60cadc86
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. This project follows [Semantic Versioning](https://semver.org/).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## [0.2.5] - 2026-04-09
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Reduced form field text size from `text-base` (16px) to `text-sm` (14px) on desktop; remains 16px on mobile to prevent iOS auto-zoom
|
|
10
|
+
- Increased form hint text size from `text-xs` (12px) to `text-sm` (14px)
|
|
11
|
+
|
|
12
|
+
## [0.2.4] - 2026-04-06
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- YouTube social icon SVG bundled in the gem
|
|
6
17
|
|
|
7
18
|
## [0.2.3] - 2026-04-06
|
|
8
19
|
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://github.com/layered-ai-public/layered-ui-rails)
|
|
8
8
|
[](https://discord.gg/aCGqz9Bx)
|
|
9
9
|
|
|
10
|
-
An open source, Rails 8+ engine that provides WCAG 2.2 AA compliant design tokens, Tailwind CSS utilities, and Stimulus controllers for theme switching, mobile navigation, slide-out panels, modals, and tabs.
|
|
10
|
+
An open source, Rails 8+ engine that provides WCAG 2.2 AA compliant design tokens, Tailwind CSS utilities, and Stimulus controllers for theme switching, mobile navigation, slide-out panels, modals, and tabs. See the [live demo](https://layered-ui-rails.layered.ai).
|
|
11
11
|
|
|
12
12
|
<table align="center">
|
|
13
13
|
<tr>
|
|
@@ -106,7 +106,7 @@ For dynamic theming (e.g. per-tenant branding), use `content_for :l_ui_head` to
|
|
|
106
106
|
> <% end %>
|
|
107
107
|
> ```
|
|
108
108
|
|
|
109
|
-
See the [Colors documentation](https://layered-ui-rails.layered.ai/
|
|
109
|
+
See the [Colors documentation](https://layered-ui-rails.layered.ai/layout_colors) for the full list of tokens.
|
|
110
110
|
|
|
111
111
|
## Customising logos and icons
|
|
112
112
|
|
|
@@ -186,6 +186,8 @@ kamal deploy
|
|
|
186
186
|
|
|
187
187
|
This project is still in its early days. We welcome issues, feedback, and ideas - they genuinely help shape the direction of the project. That said, we're holding off on accepting pull requests until after the 1.0 release so we can stay focused on getting the core foundations right. Once we're there, we'd love to open things up to broader contributions. Thanks for your patience and interest!
|
|
188
188
|
|
|
189
|
+
- [CLA.md](CLA.md) - contributor license agreement
|
|
190
|
+
|
|
189
191
|
## License
|
|
190
192
|
|
|
191
193
|
Released under the [Apache 2.0 License](LICENSE).
|
|
@@ -196,6 +198,3 @@ Copyright 2026 LAYERED AI LIMITED (UK company number: 17056830). See [NOTICE](NO
|
|
|
196
198
|
|
|
197
199
|
The source code is fully open, but the layered.ai name, logo, and brand assets are trademarks of LAYERED AI LIMITED. The Apache 2.0 license does not grant rights to use the layered.ai branding. Forks and redistributions must use a distinct name. See [TRADEMARK.md](TRADEMARK.md) for the full policy.
|
|
198
200
|
|
|
199
|
-
## Contributing
|
|
200
|
-
|
|
201
|
-
- [CLA.md](CLA.md) - contributor license agreement
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814ZM9.545 15.568V8.432L15.818 12l-6.273 3.568Z" />
|
|
3
|
+
</svg>
|
|
@@ -901,16 +901,21 @@ pre.l-ui-surface {
|
|
|
901
901
|
|
|
902
902
|
.l-ui-form__hint {
|
|
903
903
|
@apply mt-2
|
|
904
|
-
text-
|
|
904
|
+
text-sm text-foreground-muted;
|
|
905
905
|
}
|
|
906
906
|
|
|
907
907
|
@utility form__field {
|
|
908
908
|
@apply block
|
|
909
909
|
w-full px-3 py-2.5 min-h-[44px]
|
|
910
|
+
/* text-base at mobile; text-sm at md+ */
|
|
910
911
|
text-base font-inter
|
|
911
912
|
text-foreground
|
|
912
913
|
border border-border-control rounded-sm
|
|
913
914
|
focus-ring;
|
|
915
|
+
|
|
916
|
+
@media (min-width: 768px) {
|
|
917
|
+
@apply text-sm;
|
|
918
|
+
}
|
|
914
919
|
}
|
|
915
920
|
|
|
916
921
|
.l-ui-form__field {
|
data/lib/layered/ui/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: layered-ui-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- layered.ai
|
|
@@ -151,8 +151,7 @@ dependencies:
|
|
|
151
151
|
version: '2.0'
|
|
152
152
|
description: An open source Rails 8+ engine that provides WCAG 2.2 AA compliant design
|
|
153
153
|
tokens, Tailwind CSS utilities, and Stimulus controllers for theme switching, mobile
|
|
154
|
-
navigation, slide-out panels, modals, and tabs.
|
|
155
|
-
dependencies beyond Rails and Tailwind CSS.
|
|
154
|
+
navigation, slide-out panels, modals, and tabs.
|
|
156
155
|
email:
|
|
157
156
|
- support@layered.ai
|
|
158
157
|
executables: []
|
|
@@ -184,6 +183,7 @@ files:
|
|
|
184
183
|
- app/assets/images/layered_ui/icon_moon.svg
|
|
185
184
|
- app/assets/images/layered_ui/icon_sun.svg
|
|
186
185
|
- app/assets/images/layered_ui/icon_x.svg
|
|
186
|
+
- app/assets/images/layered_ui/icon_youtube.svg
|
|
187
187
|
- app/assets/images/layered_ui/logo_dark.svg
|
|
188
188
|
- app/assets/images/layered_ui/logo_light.svg
|
|
189
189
|
- app/assets/images/layered_ui/panel_icon_dark.svg
|