baoagency/polaris_view_components
Fork: 34 Star: 253 (更新于 1970-01-01 00:00:00)
license: MIT
Language: Ruby .
ViewComponents for Polaris Design System
最后发布版本: v1.3.0 ( 2023-11-03 19:35:53)
Polaris ViewComponents
Polaris ViewComponents is an implementation of the Polaris Design System using ViewComponent.
Preview
https://polarisviewcomponents.org
Usage
Render Polaris ViewComponents:
<%= polaris_card(title: "Title") do %>
<p>Card example</p>
<% end %>
Dependencies
Installation
Add polaris_view_components
to your Gemfile:
bundle add polaris_view_components
Run installer:
bin/rails polaris_view_components:install
Development
To get started:
- Run:
bundle install
- Run:
yarn install
- Run:
bin/dev
It will open demo app with component previews on localhost:4000
. You can change components and they will be updated on page reload. Component previews located in demo/test/components/previews
.
To run tests:
rake
Releases
The library follows semantic versioning. To draft a new release you need to run script/release
with a new version number:
bin/release VERSION
Where the VERSION is the version number you want to release. This script will update the version in the gem and push it to GitHub and Rubygems automatically.
To release a new version of npm package update the package.json file with the new version number and run:
npm run release
After that make sure to commit changes in package.json.
License
The gem is available as open source under the terms of the MIT License.
最近版本更新:(数据更新于 1970-01-01 00:00:00)
2023-11-03 19:35:53 v1.3.0
2023-10-01 15:02:15 v1.2.0
2023-07-19 19:08:46 v1.1.0
2023-06-29 00:22:23 v1.0.1
2023-06-12 16:19:39 v1.0.0
2023-05-30 11:48:10 v0.13.6
2023-04-26 00:43:57 v0.13.5
2023-04-24 22:20:20 v0.13.4
2023-04-24 02:29:08 v0.13.3
2023-04-12 19:23:53 v0.13.2
主题(topics):
polaris, rails, ruby, shopify
baoagency/polaris_view_components同语言 Ruby最近更新仓库
2024-11-11 23:51:28 docusealco/docuseal
2024-10-25 21:50:52 maybe-finance/maybe
2024-10-15 12:03:41 capistrano/sshkit
2024-10-07 22:52:44 sous-chefs/postgresql
2024-10-06 00:01:30 rails/solid_queue
2024-09-26 23:26:21 dependabot/dependabot-core