From 516974bdc755faddd192c1146c9083bbc85d8276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean=20Pierry=20de=20Souza=20Mendon=C3=A7a?= Date: Wed, 23 Oct 2024 11:00:13 -0300 Subject: [PATCH] OOPS --- Gemfile | 4 ++-- Gemfile.lock | 10 +++++----- app/views/application_view.rb | 2 +- package.json | 2 +- yarn.lock | 18 +++++++++++++++--- 5 files changed, 24 insertions(+), 12 deletions(-) diff --git a/Gemfile b/Gemfile index 38e09e6..36c6a17 100644 --- a/Gemfile +++ b/Gemfile @@ -75,7 +75,7 @@ end gem "phlex-rails" -gem "ruby_ui", github: "rbui-labs/ruby_ui", branch: "main" -# gem "ruby_ui", path: "../ruby_ui" +gem "rbui", github: "rbui-labs/rbui", branch: "main" +# gem "rbui", path: "../rbui" gem "pry" diff --git a/Gemfile.lock b/Gemfile.lock index 6de1b2f..8330e3f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,9 +1,9 @@ GIT - remote: https://github.com/rbui-labs/ruby_ui.git - revision: aef90c62469a5221affe4493c76f2f3d3589f9b6 + remote: https://github.com/rbui-labs/rbui.git + revision: 9428238764f51f5039dffcfa76ba4e90ab77f74b branch: main specs: - ruby_ui (1.0.0.pre.alpha.4) + rbui (1.0.0.pre.alpha.3) phlex (~> 1.10) rouge (~> 4.2.0) tailwind_merge (>= 0.12) @@ -300,7 +300,7 @@ GEM railties (>= 6.0.0) stringio (3.1.1) strscan (3.1.0) - tailwind_merge (0.13.2) + tailwind_merge (0.13.0) lru_redux (~> 1.1) thor (1.3.1) timeout (0.4.1) @@ -353,7 +353,7 @@ DEPENDENCIES pry puma (= 6.4.2) rails (= 7.2.0) - ruby_ui! + rbui! selenium-webdriver sqlite3 (>= 1.4) standard diff --git a/app/views/application_view.rb b/app/views/application_view.rb index 72290de..e506a5f 100644 --- a/app/views/application_view.rb +++ b/app/views/application_view.rb @@ -21,7 +21,7 @@ class ApplicationView < ApplicationComponent # can change that to `Phlex::HTML` if you want to keep views and # components independent. - GITHUB_REPO_URL = "https://github.com/rbui-labs/ruby_ui/" + GITHUB_REPO_URL = "https://github.com/rbui-labs/rbui/" GITHUB_FILE_URL = "#{GITHUB_REPO_URL}blob/main/" def before_template diff --git a/package.json b/package.json index 4d01a21..94460c2 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "esbuild": "0.23.0", "lottie-web": "5.12.2", "postcss": "8.4.40", - "rbui-js": "rbui-labs/ruby_ui", + "rbui-js": "rbui-labs/rbui", "tailwindcss": "3.4.7", "tailwindcss-animate": "1.0.7" }, diff --git a/yarn.lock b/yarn.lock index d979250..bf7ee1c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -819,9 +819,21 @@ queue-microtask@^1.2.2: resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -rbui-js@rbui-labs/ruby_ui: - version "1.0.0-alpha.4" - resolved "https://codeload.github.com/rbui-labs/ruby_ui/tar.gz/aef90c62469a5221affe4493c76f2f3d3589f9b6" +rbui-js@../rbui: + version "1.0.0-alpha.3" + dependencies: + "@floating-ui/dom" "^1.6.8" + "@hotwired/stimulus" "^3.2.2" + chart.js "^4.4.1" + date-fns "^2.30.0" + fuse.js "^7.0.0" + motion "^10.16.4" + mustache "^4.2.0" + tippy.js "^6.3.7" + +rbui-js@rbui-labs/rbui: + version "1.0.0-alpha.3" + resolved "https://codeload.github.com/rbui-labs/rbui/tar.gz/301f325d1161a59ffdfecb02403754f8dad30c37" dependencies: "@floating-ui/dom" "^1.6.8" "@hotwired/stimulus" "^3.2.2"