naqsh 0.0.1
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 +7 -0
- data/CHANGELOG.md +5 -0
- data/LICENSE +21 -0
- data/README.md +13 -0
- data/Rakefile +3 -0
- data/app/assets/stylesheets/naqsh/application.css +15 -0
- data/app/controllers/naqsh/application_controller.rb +4 -0
- data/app/helpers/naqsh/application_helper.rb +4 -0
- data/app/views/layouts/naqsh/application.html.erb +17 -0
- data/config/routes.rb +2 -0
- data/lib/naqsh/engine.rb +5 -0
- data/lib/naqsh/version.rb +3 -0
- data/lib/naqsh.rb +6 -0
- data/lib/tasks/naqsh_tasks.rake +4 -0
- metadata +73 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: dd8173686a8bdffcd40879e32b243ef2847fb46bbfd41b543fe7fa0bb1df093f
|
|
4
|
+
data.tar.gz: 942a817f9c3aa88cc35da6e13d9b0da9c24cc6a759fb20df63eec9cb2bb39631
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 4b872c6777cfb59aa31a88187a956994db9554c5aef31e3b72bf7e6efc1a7f8df9d5682ab4ad9397602ba620b53cc7396e5e175cf10c8711ab3ec08642eb6cb6
|
|
7
|
+
data.tar.gz: b060f40ab13cf83fac17f787a758790e6af13104bc3010a1271207d88e17fc30fb526a23ff7c26124ca6ed0906075393642ef57e3490e6c8b5a2c80f1eb26209
|
data/CHANGELOG.md
ADDED
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Muhammad Ahmed Cheema
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Naqsh
|
|
2
|
+
|
|
3
|
+
Naqsh (نقش): imprint, engraving, design.
|
|
4
|
+
|
|
5
|
+
Naqsh is a UI component system for Ruby on Rails. Server-rendered ERB components you copy into your app and own, a versioned Hotwire behavior layer built on modern platform primitives, a shadcn-compatible theming contract in OKLCH, and accessibility verified per component in CI.
|
|
6
|
+
|
|
7
|
+
## Status
|
|
8
|
+
|
|
9
|
+
Version 0.0.1 reserves the gem name. The first component wave is in development. Nothing here is ready for use yet.
|
|
10
|
+
|
|
11
|
+
## License
|
|
12
|
+
|
|
13
|
+
MIT. See [LICENSE](LICENSE).
|
data/Rakefile
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
+
* listed below.
|
|
4
|
+
*
|
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
|
7
|
+
*
|
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
|
11
|
+
* It is generally better to create a new file per style scope.
|
|
12
|
+
*
|
|
13
|
+
*= require_tree .
|
|
14
|
+
*= require_self
|
|
15
|
+
*/
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>Naqsh</title>
|
|
5
|
+
<%= csrf_meta_tags %>
|
|
6
|
+
<%= csp_meta_tag %>
|
|
7
|
+
|
|
8
|
+
<%= yield :head %>
|
|
9
|
+
|
|
10
|
+
<%= stylesheet_link_tag "naqsh/application", media: "all" %>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
|
|
14
|
+
<%= yield %>
|
|
15
|
+
|
|
16
|
+
</body>
|
|
17
|
+
</html>
|
data/config/routes.rb
ADDED
data/lib/naqsh/engine.rb
ADDED
data/lib/naqsh.rb
ADDED
metadata
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: naqsh
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Muhammad Ahmed Cheema
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: railties
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '8.0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '8.0'
|
|
26
|
+
description: 'Naqsh is a UI component system for Rails: server-rendered ERB components
|
|
27
|
+
you copy into your app and own, powered by a versioned Hotwire behavior layer, a
|
|
28
|
+
shadcn-compatible theming contract, and accessibility gates in CI. This release
|
|
29
|
+
reserves the gem name while the first component wave is built.'
|
|
30
|
+
email:
|
|
31
|
+
- cheemawrites@gmail.com
|
|
32
|
+
executables: []
|
|
33
|
+
extensions: []
|
|
34
|
+
extra_rdoc_files: []
|
|
35
|
+
files:
|
|
36
|
+
- CHANGELOG.md
|
|
37
|
+
- LICENSE
|
|
38
|
+
- README.md
|
|
39
|
+
- Rakefile
|
|
40
|
+
- app/assets/stylesheets/naqsh/application.css
|
|
41
|
+
- app/controllers/naqsh/application_controller.rb
|
|
42
|
+
- app/helpers/naqsh/application_helper.rb
|
|
43
|
+
- app/views/layouts/naqsh/application.html.erb
|
|
44
|
+
- config/routes.rb
|
|
45
|
+
- lib/naqsh.rb
|
|
46
|
+
- lib/naqsh/engine.rb
|
|
47
|
+
- lib/naqsh/version.rb
|
|
48
|
+
- lib/tasks/naqsh_tasks.rake
|
|
49
|
+
homepage: https://github.com/mcheemaa/naqsh
|
|
50
|
+
licenses:
|
|
51
|
+
- MIT
|
|
52
|
+
metadata:
|
|
53
|
+
source_code_uri: https://github.com/mcheemaa/naqsh
|
|
54
|
+
changelog_uri: https://github.com/mcheemaa/naqsh/blob/main/CHANGELOG.md
|
|
55
|
+
rubygems_mfa_required: 'true'
|
|
56
|
+
rdoc_options: []
|
|
57
|
+
require_paths:
|
|
58
|
+
- lib
|
|
59
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: '3.4'
|
|
64
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
requirements: []
|
|
70
|
+
rubygems_version: 3.6.9
|
|
71
|
+
specification_version: 4
|
|
72
|
+
summary: Server-rendered UI components for Rails.
|
|
73
|
+
test_files: []
|