Module: KozenetUi
- Defined in:
- lib/kozenet_ui.rb,
lib/kozenet_ui/engine.rb,
lib/kozenet_ui/version.rb,
lib/kozenet_ui/theme/tokens.rb,
lib/kozenet_ui/configuration.rb,
lib/kozenet_ui/theme/palette.rb,
lib/kozenet_ui/theme/variants.rb,
app/helpers/kozenet_ui/icon_helper.rb,
app/helpers/kozenet_ui/component_helper.rb,
app/components/kozenet_ui/base_component.rb,
app/components/kozenet_ui/badge_component.rb,
app/components/kozenet_ui/avatar_component.rb,
app/components/kozenet_ui/button_component.rb,
app/components/kozenet_ui/header_component.rb,
lib/generators/kozenet_ui/install/install_generator.rb,
app/components/kozenet_ui/header_component/cta_component.rb,
app/components/kozenet_ui/header_component/brand_component.rb,
app/components/kozenet_ui/header_component/search_component.rb,
app/components/kozenet_ui/header_component/nav_item_component.rb,
app/components/kozenet_ui/header_component/user_menu_component.rb,
app/components/kozenet_ui/header_component/action_button_component.rb
Overview
Helper methods for rendering Kozenet UI components in views
Defined Under Namespace
Modules: ComponentHelper, Generators, IconHelper, Theme, ThemeHelper Classes: AvatarComponent, BadgeComponent, BaseComponent, ButtonComponent, Configuration, Engine, Error, HeaderComponent
Constant Summary collapse
- VERSION =
"0.1.9"
Class Attribute Summary collapse
Class Method Summary collapse
- .configure {|configuration| ... } ⇒ Object
-
.reset_configuration! ⇒ Object
Reset configuration (useful for testing).
Class Attribute Details
.configuration ⇒ Object
19 20 21 |
# File 'lib/kozenet_ui.rb', line 19 def configuration @configuration ||= Configuration.new end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
23 24 25 |
# File 'lib/kozenet_ui.rb', line 23 def configure yield(configuration) end |
.reset_configuration! ⇒ Object
Reset configuration (useful for testing)
28 29 30 |
# File 'lib/kozenet_ui.rb', line 28 def reset_configuration! @configuration = Configuration.new end |