lightning_ui_kit 0.1.1 → 0.1.2

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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/app/assets/builds/{lightning_ui.css → lightning_ui_kit.css} +0 -58
  4. data/app/assets/builds/{lightning_ui.js → lightning_ui_kit.js} +1 -1
  5. data/app/assets/builds/{lightning_ui.js.map → lightning_ui_kit.js.map} +1 -1
  6. data/app/components/{lightning_ui → lightning_ui_kit}/alert_component.rb +1 -1
  7. data/app/components/{lightning_ui → lightning_ui_kit}/avatar_component.rb +1 -1
  8. data/app/components/{lightning_ui → lightning_ui_kit}/badge_component.rb +1 -1
  9. data/app/components/{lightning_ui → lightning_ui_kit}/banner_component.rb +1 -1
  10. data/app/components/{lightning_ui → lightning_ui_kit}/base_component.rb +2 -2
  11. data/app/components/{lightning_ui → lightning_ui_kit}/button_component.rb +1 -1
  12. data/app/components/{lightning_ui → lightning_ui_kit}/checkbox_component.rb +1 -1
  13. data/app/components/{lightning_ui → lightning_ui_kit}/description_list/item_component.rb +1 -1
  14. data/app/components/lightning_ui_kit/description_list_component.rb +5 -0
  15. data/app/components/lightning_ui_kit/dropdown/item_component.rb +5 -0
  16. data/app/components/{lightning_ui → lightning_ui_kit}/dropdown_component.rb +1 -1
  17. data/app/components/{lightning_ui → lightning_ui_kit}/input_component.rb +1 -1
  18. data/app/components/{lightning_ui → lightning_ui_kit}/link_component.rb +1 -1
  19. data/app/components/{lightning_ui → lightning_ui_kit}/modal_component.rb +1 -1
  20. data/app/components/{lightning_ui → lightning_ui_kit}/pagination_component.rb +1 -1
  21. data/app/components/{lightning_ui → lightning_ui_kit}/select_component.rb +1 -1
  22. data/app/components/lightning_ui_kit/sidebar_component.rb +4 -0
  23. data/app/components/{lightning_ui → lightning_ui_kit}/skeleton_component.rb +1 -1
  24. data/app/components/lightning_ui_kit/spinner_component.rb +4 -0
  25. data/app/components/{lightning_ui → lightning_ui_kit}/switch_component.rb +1 -1
  26. data/app/components/{lightning_ui → lightning_ui_kit}/table/action_component.rb +1 -1
  27. data/app/components/{lightning_ui → lightning_ui_kit}/table/column_component.rb +1 -1
  28. data/app/components/{lightning_ui → lightning_ui_kit}/table_component.rb +3 -3
  29. data/app/components/{lightning_ui → lightning_ui_kit}/text_component.rb +1 -1
  30. data/app/components/{lightning_ui → lightning_ui_kit}/textarea_component.rb +1 -1
  31. data/app/helpers/lightning_ui_kit/application_helper.rb +7 -0
  32. data/app/helpers/{lightning_ui → lightning_ui_kit}/heroicon_helper.rb +1 -1
  33. data/lib/{lightning_ui → lightning_ui_kit}/engine.rb +5 -5
  34. data/lib/lightning_ui_kit/version.rb +3 -0
  35. data/lib/lightning_ui_kit.rb +6 -0
  36. metadata +70 -71
  37. data/app/components/lightning_ui/description_list_component.rb +0 -5
  38. data/app/components/lightning_ui/dropdown/item_component.rb +0 -5
  39. data/app/components/lightning_ui/sidebar_component.rb +0 -4
  40. data/app/components/lightning_ui/spinner_component.rb +0 -4
  41. data/app/helpers/lightning_ui/application_helper.rb +0 -7
  42. data/lib/lightning_ui/version.rb +0 -3
  43. data/lib/lightning_ui.rb +0 -6
  44. data/lib/tasks/lightning_ui_tasks.rake +0 -4
  45. /data/app/assets/stylesheets/{lightning_ui → lightning_ui_kit}/application.css +0 -0
  46. /data/app/components/{lightning_ui → lightning_ui_kit}/alert_component.html.erb +0 -0
  47. /data/app/components/{lightning_ui → lightning_ui_kit}/avatar_component.html.erb +0 -0
  48. /data/app/components/{lightning_ui → lightning_ui_kit}/badge_component.html.erb +0 -0
  49. /data/app/components/{lightning_ui → lightning_ui_kit}/banner_component.html.erb +0 -0
  50. /data/app/components/{lightning_ui → lightning_ui_kit}/button_component.html.erb +0 -0
  51. /data/app/components/{lightning_ui → lightning_ui_kit}/checkbox_component.html.erb +0 -0
  52. /data/app/components/{lightning_ui → lightning_ui_kit}/description_list/item_component.html.erb +0 -0
  53. /data/app/components/{lightning_ui → lightning_ui_kit}/description_list_component.html.erb +0 -0
  54. /data/app/components/{lightning_ui → lightning_ui_kit}/dropdown_component.html.erb +0 -0
  55. /data/app/components/{lightning_ui → lightning_ui_kit}/input_component.html.erb +0 -0
  56. /data/app/components/{lightning_ui → lightning_ui_kit}/link_component.html.erb +0 -0
  57. /data/app/components/{lightning_ui → lightning_ui_kit}/modal_component.html.erb +0 -0
  58. /data/app/components/{lightning_ui → lightning_ui_kit}/pagination_component.html.erb +0 -0
  59. /data/app/components/{lightning_ui → lightning_ui_kit}/select_component.html.erb +0 -0
  60. /data/app/components/{lightning_ui → lightning_ui_kit}/sidebar_component.html.erb +0 -0
  61. /data/app/components/{lightning_ui → lightning_ui_kit}/skeleton_component.html.erb +0 -0
  62. /data/app/components/{lightning_ui → lightning_ui_kit}/spinner_component.html.erb +0 -0
  63. /data/app/components/{lightning_ui → lightning_ui_kit}/switch_component.html.erb +0 -0
  64. /data/app/components/{lightning_ui → lightning_ui_kit}/table_component.html.erb +0 -0
  65. /data/app/components/{lightning_ui → lightning_ui_kit}/text_component.html.erb +0 -0
  66. /data/app/components/{lightning_ui → lightning_ui_kit}/textarea_component.html.erb +0 -0
  67. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/accordion_controller.js +0 -0
  68. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/banner_controller.js +0 -0
  69. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/checkbox_controller.js +0 -0
  70. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/clipboard_controller.js +0 -0
  71. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/dropdown_controller.js +0 -0
  72. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/main_controller.js +0 -0
  73. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/modal_controller.js +0 -0
  74. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/reveal_controller.js +0 -0
  75. /data/app/javascript/{lightning_ui → lightning_ui_kit}/controllers/switch_controller.js +0 -0
  76. /data/app/javascript/{lightning_ui → lightning_ui_kit}/index.js +0 -0
@@ -1,4 +1,4 @@
1
- class LightningUi::DescriptionList::ItemComponent < LightningUi::BaseComponent
1
+ class LightningUiKit::DescriptionList::ItemComponent < LightningUiKit::BaseComponent
2
2
  def initialize(label:, value: nil, **options)
3
3
  @label = label
4
4
  @value = value
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ class LightningUiKit::DescriptionListComponent < LightningUiKit::BaseComponent
4
+ renders_many :items, LightningUiKit::DescriptionList::ItemComponent
5
+ end
@@ -0,0 +1,5 @@
1
+ class LightningUiKit::Dropdown::ItemComponent < LightningUiKit::BaseComponent
2
+ def initialize(title:)
3
+ @title = title
4
+ end
5
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::DropdownComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::DropdownComponent < LightningUiKit::BaseComponent
4
4
  renders_one :trigger
5
5
  renders_many :items
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::InputComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::InputComponent < LightningUiKit::BaseComponent
4
4
  def initialize(name:, value: nil, autofocus: false, label: nil, form: nil, type: :text, description: nil, disabled: false, placeholder: nil, **options)
5
5
  @name = name
6
6
  @value = value
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::LinkComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::LinkComponent < LightningUiKit::BaseComponent
4
4
  def initialize(title:, url:)
5
5
  @title = title
6
6
  @url = url
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::ModalComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::ModalComponent < LightningUiKit::BaseComponent
4
4
  renders_one :body
5
5
  renders_many :actions
6
6
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::PaginationComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::PaginationComponent < LightningUiKit::BaseComponent
4
4
  def initialize(current_page:, total_pages:, path:, page_param: "page", with_arrows: false, **options)
5
5
  @current_page = current_page
6
6
  @total_pages = total_pages
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::SelectComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::SelectComponent < LightningUiKit::BaseComponent
4
4
  def initialize(name:, form: nil, label: nil, description: nil, disabled: false, options_for_select: [], multiple: false, **options)
5
5
  @name = name
6
6
  @form = form
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ class LightningUiKit::SidebarComponent < LightningUiKit::BaseComponent
4
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::SkeletonComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::SkeletonComponent < LightningUiKit::BaseComponent
4
4
  def initialize(with_title: false, lines: 3)
5
5
  @with_title = with_title
6
6
  @lines = lines
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ class LightningUiKit::SpinnerComponent < LightningUiKit::BaseComponent
4
+ end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::SwitchComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::SwitchComponent < LightningUiKit::BaseComponent
4
4
  def initialize(name:, form: nil, label: nil, description: nil, enabled: false, disabled: false, **options)
5
5
  @name = name
6
6
  @form = form
@@ -1,4 +1,4 @@
1
- class LightningUi::Table::ActionComponent < LightningUi::BaseComponent
1
+ class LightningUiKit::Table::ActionComponent < LightningUiKit::BaseComponent
2
2
  def initialize(&block)
3
3
  @block = block
4
4
  end
@@ -1,4 +1,4 @@
1
- class LightningUi::Table::ColumnComponent < LightningUi::BaseComponent
1
+ class LightningUiKit::Table::ColumnComponent < LightningUiKit::BaseComponent
2
2
  attr_reader :title
3
3
 
4
4
  def initialize(title, &block)
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::TableComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::TableComponent < LightningUiKit::BaseComponent
4
4
  renders_many :columns, ->(title, &block) do
5
- LightningUi::Table::ColumnComponent.new(title, &block)
5
+ LightningUiKit::Table::ColumnComponent.new(title, &block)
6
6
  end
7
7
  renders_many :actions, ->(&block) do
8
- LightningUi::Table::ActionComponent.new(&block)
8
+ LightningUiKit::Table::ActionComponent.new(&block)
9
9
  end
10
10
 
11
11
  def initialize(data:, actions_title: "Actions", empty_message: "No data available")
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::TextComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::TextComponent < LightningUiKit::BaseComponent
4
4
  def initialize(size: :md, **options)
5
5
  @size = size
6
6
  @options = options
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class LightningUi::TextareaComponent < LightningUi::BaseComponent
3
+ class LightningUiKit::TextareaComponent < LightningUiKit::BaseComponent
4
4
  def initialize(name:, value: nil, autofocus: false, label: nil, form: nil, type: :text, description: nil, disabled: false, multiple: false, rows: 3, cols: nil, **options)
5
5
  @name = name
6
6
  @value = value
@@ -0,0 +1,7 @@
1
+ module LightningUiKit
2
+ module ApplicationHelper
3
+ def lui_asset_path(file)
4
+ "/lightning_ui_kit-assets/#{file}".gsub("//", "/")
5
+ end
6
+ end
7
+ end
@@ -1,6 +1,6 @@
1
1
  # require "heroicon"
2
2
 
3
- module LightningUi
3
+ module LightningUiKit
4
4
  module HeroiconHelper
5
5
  def heroicon(name, variant: Heroicons.configuration.variant, options: {}, path_options: {})
6
6
  raw Heroicons::Icon.render(
@@ -1,19 +1,19 @@
1
1
  require "view_component"
2
2
  require "stimulus-rails"
3
3
 
4
- module LightningUi
4
+ module LightningUiKit
5
5
  class Engine < ::Rails::Engine
6
- isolate_namespace LightningUi
6
+ isolate_namespace LightningUiKit
7
7
 
8
8
  config.autoload_paths = %W[
9
9
  #{root}/app/components
10
10
  #{root}/app/helpers
11
11
  ]
12
12
 
13
- initializer "lightning_ui.helpers" do
13
+ initializer "lightning_ui_kit.helpers" do
14
14
  ActiveSupport.on_load(:action_controller_base) do
15
- helper LightningUi::ApplicationHelper
16
- helper LightningUi::HeroiconHelper
15
+ helper LightningUiKit::ApplicationHelper
16
+ helper LightningUiKit::HeroiconHelper
17
17
  end
18
18
  end
19
19
  end
@@ -0,0 +1,3 @@
1
+ module LightningUiKit
2
+ VERSION = "0.1.2"
3
+ end
@@ -0,0 +1,6 @@
1
+ require "lightning_ui_kit/version"
2
+ require "lightning_ui_kit/engine"
3
+
4
+ module LightningUiKit
5
+ # Your code goes here...
6
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightning_ui_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Koval
@@ -104,80 +104,79 @@ files:
104
104
  - MIT-LICENSE
105
105
  - README.md
106
106
  - Rakefile
107
- - app/assets/builds/lightning_ui.css
108
- - app/assets/builds/lightning_ui.js
109
- - app/assets/builds/lightning_ui.js.map
110
- - app/assets/stylesheets/lightning_ui/application.css
111
- - app/components/lightning_ui/alert_component.html.erb
112
- - app/components/lightning_ui/alert_component.rb
113
- - app/components/lightning_ui/avatar_component.html.erb
114
- - app/components/lightning_ui/avatar_component.rb
115
- - app/components/lightning_ui/badge_component.html.erb
116
- - app/components/lightning_ui/badge_component.rb
117
- - app/components/lightning_ui/banner_component.html.erb
118
- - app/components/lightning_ui/banner_component.rb
119
- - app/components/lightning_ui/base_component.rb
120
- - app/components/lightning_ui/button_component.html.erb
121
- - app/components/lightning_ui/button_component.rb
122
- - app/components/lightning_ui/checkbox_component.html.erb
123
- - app/components/lightning_ui/checkbox_component.rb
124
- - app/components/lightning_ui/description_list/item_component.html.erb
125
- - app/components/lightning_ui/description_list/item_component.rb
126
- - app/components/lightning_ui/description_list_component.html.erb
127
- - app/components/lightning_ui/description_list_component.rb
128
- - app/components/lightning_ui/dropdown/item_component.rb
129
- - app/components/lightning_ui/dropdown_component.html.erb
130
- - app/components/lightning_ui/dropdown_component.rb
131
- - app/components/lightning_ui/input_component.html.erb
132
- - app/components/lightning_ui/input_component.rb
133
- - app/components/lightning_ui/link_component.html.erb
134
- - app/components/lightning_ui/link_component.rb
135
- - app/components/lightning_ui/modal_component.html.erb
136
- - app/components/lightning_ui/modal_component.rb
137
- - app/components/lightning_ui/pagination_component.html.erb
138
- - app/components/lightning_ui/pagination_component.rb
139
- - app/components/lightning_ui/select_component.html.erb
140
- - app/components/lightning_ui/select_component.rb
141
- - app/components/lightning_ui/sidebar_component.html.erb
142
- - app/components/lightning_ui/sidebar_component.rb
143
- - app/components/lightning_ui/skeleton_component.html.erb
144
- - app/components/lightning_ui/skeleton_component.rb
145
- - app/components/lightning_ui/spinner_component.html.erb
146
- - app/components/lightning_ui/spinner_component.rb
147
- - app/components/lightning_ui/switch_component.html.erb
148
- - app/components/lightning_ui/switch_component.rb
149
- - app/components/lightning_ui/table/action_component.rb
150
- - app/components/lightning_ui/table/column_component.rb
151
- - app/components/lightning_ui/table_component.html.erb
152
- - app/components/lightning_ui/table_component.rb
153
- - app/components/lightning_ui/text_component.html.erb
154
- - app/components/lightning_ui/text_component.rb
155
- - app/components/lightning_ui/textarea_component.html.erb
156
- - app/components/lightning_ui/textarea_component.rb
157
- - app/helpers/lightning_ui/application_helper.rb
158
- - app/helpers/lightning_ui/heroicon_helper.rb
159
- - app/javascript/lightning_ui/controllers/accordion_controller.js
160
- - app/javascript/lightning_ui/controllers/banner_controller.js
161
- - app/javascript/lightning_ui/controllers/checkbox_controller.js
162
- - app/javascript/lightning_ui/controllers/clipboard_controller.js
163
- - app/javascript/lightning_ui/controllers/dropdown_controller.js
164
- - app/javascript/lightning_ui/controllers/main_controller.js
165
- - app/javascript/lightning_ui/controllers/modal_controller.js
166
- - app/javascript/lightning_ui/controllers/reveal_controller.js
167
- - app/javascript/lightning_ui/controllers/switch_controller.js
168
- - app/javascript/lightning_ui/index.js
107
+ - app/assets/builds/lightning_ui_kit.css
108
+ - app/assets/builds/lightning_ui_kit.js
109
+ - app/assets/builds/lightning_ui_kit.js.map
110
+ - app/assets/stylesheets/lightning_ui_kit/application.css
111
+ - app/components/lightning_ui_kit/alert_component.html.erb
112
+ - app/components/lightning_ui_kit/alert_component.rb
113
+ - app/components/lightning_ui_kit/avatar_component.html.erb
114
+ - app/components/lightning_ui_kit/avatar_component.rb
115
+ - app/components/lightning_ui_kit/badge_component.html.erb
116
+ - app/components/lightning_ui_kit/badge_component.rb
117
+ - app/components/lightning_ui_kit/banner_component.html.erb
118
+ - app/components/lightning_ui_kit/banner_component.rb
119
+ - app/components/lightning_ui_kit/base_component.rb
120
+ - app/components/lightning_ui_kit/button_component.html.erb
121
+ - app/components/lightning_ui_kit/button_component.rb
122
+ - app/components/lightning_ui_kit/checkbox_component.html.erb
123
+ - app/components/lightning_ui_kit/checkbox_component.rb
124
+ - app/components/lightning_ui_kit/description_list/item_component.html.erb
125
+ - app/components/lightning_ui_kit/description_list/item_component.rb
126
+ - app/components/lightning_ui_kit/description_list_component.html.erb
127
+ - app/components/lightning_ui_kit/description_list_component.rb
128
+ - app/components/lightning_ui_kit/dropdown/item_component.rb
129
+ - app/components/lightning_ui_kit/dropdown_component.html.erb
130
+ - app/components/lightning_ui_kit/dropdown_component.rb
131
+ - app/components/lightning_ui_kit/input_component.html.erb
132
+ - app/components/lightning_ui_kit/input_component.rb
133
+ - app/components/lightning_ui_kit/link_component.html.erb
134
+ - app/components/lightning_ui_kit/link_component.rb
135
+ - app/components/lightning_ui_kit/modal_component.html.erb
136
+ - app/components/lightning_ui_kit/modal_component.rb
137
+ - app/components/lightning_ui_kit/pagination_component.html.erb
138
+ - app/components/lightning_ui_kit/pagination_component.rb
139
+ - app/components/lightning_ui_kit/select_component.html.erb
140
+ - app/components/lightning_ui_kit/select_component.rb
141
+ - app/components/lightning_ui_kit/sidebar_component.html.erb
142
+ - app/components/lightning_ui_kit/sidebar_component.rb
143
+ - app/components/lightning_ui_kit/skeleton_component.html.erb
144
+ - app/components/lightning_ui_kit/skeleton_component.rb
145
+ - app/components/lightning_ui_kit/spinner_component.html.erb
146
+ - app/components/lightning_ui_kit/spinner_component.rb
147
+ - app/components/lightning_ui_kit/switch_component.html.erb
148
+ - app/components/lightning_ui_kit/switch_component.rb
149
+ - app/components/lightning_ui_kit/table/action_component.rb
150
+ - app/components/lightning_ui_kit/table/column_component.rb
151
+ - app/components/lightning_ui_kit/table_component.html.erb
152
+ - app/components/lightning_ui_kit/table_component.rb
153
+ - app/components/lightning_ui_kit/text_component.html.erb
154
+ - app/components/lightning_ui_kit/text_component.rb
155
+ - app/components/lightning_ui_kit/textarea_component.html.erb
156
+ - app/components/lightning_ui_kit/textarea_component.rb
157
+ - app/helpers/lightning_ui_kit/application_helper.rb
158
+ - app/helpers/lightning_ui_kit/heroicon_helper.rb
159
+ - app/javascript/lightning_ui_kit/controllers/accordion_controller.js
160
+ - app/javascript/lightning_ui_kit/controllers/banner_controller.js
161
+ - app/javascript/lightning_ui_kit/controllers/checkbox_controller.js
162
+ - app/javascript/lightning_ui_kit/controllers/clipboard_controller.js
163
+ - app/javascript/lightning_ui_kit/controllers/dropdown_controller.js
164
+ - app/javascript/lightning_ui_kit/controllers/main_controller.js
165
+ - app/javascript/lightning_ui_kit/controllers/modal_controller.js
166
+ - app/javascript/lightning_ui_kit/controllers/reveal_controller.js
167
+ - app/javascript/lightning_ui_kit/controllers/switch_controller.js
168
+ - app/javascript/lightning_ui_kit/index.js
169
169
  - config/initializers/heroicons.rb
170
- - lib/lightning_ui.rb
171
- - lib/lightning_ui/engine.rb
172
- - lib/lightning_ui/version.rb
173
- - lib/tasks/lightning_ui_tasks.rake
174
- homepage: https://github.com/k0va1/lightning_ui
170
+ - lib/lightning_ui_kit.rb
171
+ - lib/lightning_ui_kit/engine.rb
172
+ - lib/lightning_ui_kit/version.rb
173
+ homepage: https://github.com/k0va1/lightning_ui_kit
175
174
  licenses:
176
175
  - MIT
177
176
  metadata:
178
- homepage_uri: https://github.com/k0va1/lightning_ui
179
- source_code_uri: https://github.com/k0va1/lightning_ui
180
- changelog_uri: https://github.com/k0va1/lightning_ui/blob/main/CHANGELOG.md
177
+ homepage_uri: https://github.com/k0va1/lightning_ui_kit
178
+ source_code_uri: https://github.com/k0va1/lightning_ui_kit
179
+ changelog_uri: https://github.com/k0va1/lightning_ui_kit/blob/main/CHANGELOG.md
181
180
  post_install_message:
182
181
  rdoc_options: []
183
182
  require_paths:
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class LightningUi::DescriptionListComponent < LightningUi::BaseComponent
4
- renders_many :items, LightningUi::DescriptionList::ItemComponent
5
- end
@@ -1,5 +0,0 @@
1
- class LightningUi::Dropdown::ItemComponent < LightningUi::BaseComponent
2
- def initialize(title:)
3
- @title = title
4
- end
5
- end
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class LightningUi::SidebarComponent < LightningUi::BaseComponent
4
- end
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class LightningUi::SpinnerComponent < LightningUi::BaseComponent
4
- end
@@ -1,7 +0,0 @@
1
- module LightningUi
2
- module ApplicationHelper
3
- def lui_asset_path(file)
4
- "/lightning_ui-assets/#{file}".gsub("//", "/")
5
- end
6
- end
7
- end
@@ -1,3 +0,0 @@
1
- module LightningUi
2
- VERSION = "0.1.1"
3
- end
data/lib/lightning_ui.rb DELETED
@@ -1,6 +0,0 @@
1
- require "lightning_ui/version"
2
- require "lightning_ui/engine"
3
-
4
- module LightningUi
5
- # Your code goes here...
6
- end
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :lightning_ui do
3
- # # Task goes here
4
- # end