From fb70a562835b708cfeb9f06c722eb11edb0953bc Mon Sep 17 00:00:00 2001 From: Geraldine Atayan Date: Fri, 23 Jun 2023 17:52:38 +0800 Subject: [PATCH 1/2] fixed stack import path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 82c95f1..6ffe006 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Stack is a reusable typed component that allows you to easily manage the layout To use it in a React project, you can just import and use it as you would in a normal React component: ```js -import { Stack } from "@nerdgeschoss/shimmer/components/stack"; +import { Stack } from "@nerdgeschoss/shimmer/dist/components/stack";
@@ -24,7 +24,7 @@ import { Stack } from "@nerdgeschoss/shimmer/components/stack";
; ``` -To use it in an HTML file, you can just import the css file directly from `@nerdgeschoss/shimmer/components/stack.css` and just implement the classes as they are in the stylesheet: +To use it in an HTML file, you can just import the css file directly from `@nerdgeschoss/shimmer/dist/components/stack.css` and just implement the classes as they are in the stylesheet: ```html
From 81ebc00468d753ce53883d5fe4c12ab86bcce093 Mon Sep 17 00:00:00 2001 From: Justin Marsh Date: Sun, 27 Aug 2023 10:18:37 +0200 Subject: [PATCH 2/2] fix rubocop --- lib/shimmer/form.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shimmer/form.rb b/lib/shimmer/form.rb index b6377f5..3939a09 100644 --- a/lib/shimmer/form.rb +++ b/lib/shimmer/form.rb @@ -5,8 +5,8 @@ module Form end end -require_relative "./form/builder" -require_relative "./form/field" +require_relative "form/builder" +require_relative "form/field" Dir["#{File.expand_path("./form", __dir__)}/*"].sort.each do |e| require e