layered-ui-rails 0.2.2 → 0.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/README.md +1 -1
- data/app/assets/images/layered_ui/icon_discord.svg +3 -0
- data/app/assets/images/layered_ui/icon_github.svg +3 -0
- data/app/assets/images/layered_ui/icon_globe.svg +5 -0
- data/app/assets/images/layered_ui/icon_linkedin.svg +3 -0
- data/app/assets/images/layered_ui/icon_mail.svg +3 -0
- data/app/assets/images/layered_ui/icon_x.svg +3 -0
- data/app/assets/images/layered_ui/icon_youtube.svg +3 -0
- data/app/assets/tailwind/layered/ui/styles.css +2 -2
- data/lib/layered/ui/version.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 272ff1df79793bfe6c59ed6b4ea2ae12a82e8a7b51b5efcc770987b7387ca2c0
|
|
4
|
+
data.tar.gz: 21bf4840c729bf7d56cbb0971ab49f45fc24d301166f046c31c1164deeea0c56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bba00f8ff4ff4e0b65b96c95ed438325ff50f93bd14c3f81d6274616d921cf196a0350c8780b85866609a4de090f51ba1434e0ee204d68fcb52b230edf72ab3
|
|
7
|
+
data.tar.gz: e31d63c421a1d3faa076c76f6a15b09f9465e2456fa9d04a024496e3e83790eb18e192193ec54842655382c81989789d36773dda3aa657f3cb27e23962653f07
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
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
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
## [0.2.4] - 2026-04-06
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- YouTube social icon SVG bundled in the gem
|
|
12
|
+
|
|
13
|
+
## [0.2.3] - 2026-04-06
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Social icon SVGs (globe, GitHub, X, LinkedIn, Discord, mail) bundled in the gem for reuse by host apps
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Pagy pagination links still showing underline despite previous fix - broadened page link exclusion to all `l-ui-` classes and added explicit `no-underline` to pagination items
|
|
22
|
+
|
|
5
23
|
## [0.2.2] - 2026-04-03
|
|
6
24
|
|
|
7
25
|
### Added
|
|
@@ -16,6 +34,7 @@ All notable changes to this project will be documented in this file. This projec
|
|
|
16
34
|
|
|
17
35
|
### Fixed
|
|
18
36
|
|
|
37
|
+
- Pagination links no longer inherit underline from global page link styles
|
|
19
38
|
- CSS `@apply` ordering now follows the documented convention (layout, spacing, typography, colours, effects) in `code`, `tabs__tab`, and `l-ui-scroll-to-bottom`
|
|
20
39
|
|
|
21
40
|
## [0.2.1] - 2026-04-01
|
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>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03ZM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.956 2.418-2.157 2.418Zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0 1 12 6.844a9.59 9.59 0 0 1 2.504.337c1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.02 10.02 0 0 0 22 12.017C22 6.484 17.522 2 12 2Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z" />
|
|
3
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M3.6 9h16.8M3.6 15h16.8" />
|
|
4
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3a15.3 15.3 0 0 1 4 9 15.3 15.3 0 0 1-4 9 15.3 15.3 0 0 1-4-9 15.3 15.3 0 0 1 4-9Z" />
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286ZM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065Zm1.782 13.019H3.555V9h3.564v11.452ZM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path stroke-linecap="round" stroke-linejoin="round" d="M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0-8.953 5.468a1.5 1.5 0 0 1-1.594 0L2.25 6.75" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.748l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117L17.083 19.77Z" />
|
|
3
|
+
</svg>
|
|
@@ -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>
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
@apply page;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
.l-ui-page a:not([class*="l-ui-
|
|
441
|
+
.l-ui-page a:not([class*="l-ui-"]) {
|
|
442
442
|
@apply underline
|
|
443
443
|
text-foreground hover:text-foreground-muted
|
|
444
444
|
focus-ring rounded-sm;
|
|
@@ -1221,7 +1221,7 @@ pre.l-ui-surface {
|
|
|
1221
1221
|
|
|
1222
1222
|
.l-ui-container--pagy .pagy.series-nav a,
|
|
1223
1223
|
.l-ui-container--pagy .pagy.series-nav span {
|
|
1224
|
-
@apply pagination__item;
|
|
1224
|
+
@apply pagination__item no-underline;
|
|
1225
1225
|
}
|
|
1226
1226
|
|
|
1227
1227
|
.l-ui-container--pagy .pagy.series-nav a[aria-current="page"] {
|
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.4
|
|
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: []
|
|
@@ -174,10 +173,17 @@ files:
|
|
|
174
173
|
- app/assets/images/layered_ui/icon_chevron_right.svg
|
|
175
174
|
- app/assets/images/layered_ui/icon_close.svg
|
|
176
175
|
- app/assets/images/layered_ui/icon_dark.svg
|
|
176
|
+
- app/assets/images/layered_ui/icon_discord.svg
|
|
177
|
+
- app/assets/images/layered_ui/icon_github.svg
|
|
178
|
+
- app/assets/images/layered_ui/icon_globe.svg
|
|
177
179
|
- app/assets/images/layered_ui/icon_hamburger.svg
|
|
178
180
|
- app/assets/images/layered_ui/icon_light.svg
|
|
181
|
+
- app/assets/images/layered_ui/icon_linkedin.svg
|
|
182
|
+
- app/assets/images/layered_ui/icon_mail.svg
|
|
179
183
|
- app/assets/images/layered_ui/icon_moon.svg
|
|
180
184
|
- app/assets/images/layered_ui/icon_sun.svg
|
|
185
|
+
- app/assets/images/layered_ui/icon_x.svg
|
|
186
|
+
- app/assets/images/layered_ui/icon_youtube.svg
|
|
181
187
|
- app/assets/images/layered_ui/logo_dark.svg
|
|
182
188
|
- app/assets/images/layered_ui/logo_light.svg
|
|
183
189
|
- app/assets/images/layered_ui/panel_icon_dark.svg
|