bee 0.0.2 copy "bee: ^0.0.2" to clipboard
bee: ^0.0.2 copied to clipboard

Dart 1 only

A Collection of lightweight Dart Web UI Components

Bee #

Bee is a collection of lightweight interaction elements for modern web applications. It is built on top of Dart's Web UI package. It contains frequently used components like Buttons, Popovers, Overlays, Input Fields and more.

##Install

Bee is a Pub Package. To install Bee you can add it to your pubspec.yaml.

name: my-app
dependencies:
  bee: any

To use a component you need to import it via a link tag.

<link rel="import" href="package:bee/components/button.html">
<link rel="import" href="package:bee/components/secret.html">
<link rel="import" href="package:bee/components/loading.html">
<link rel="import" href="package:bee/components/popover.html">
<link rel="import" href="package:bee/components/overlay.html">
<link rel="import" href="package:bee/components/button.html">

##Components

###Button

<x-button value="Primary"></x-button>

###Show Password

<x-secret placeholder="Enter your Password"></x-secret>

###Loading Indicator

<x-loading></x-loading>

###Popover

<x-popover>
    <span class="launch-area">Launch Popover</span>
    <div class="body">This is a Popover</div>
</x-popover>

###Overlay

<span on-click="query('.q-example-overlay').xtag.show()" on-touch-start="query('.q-example-overlay').xtag.show()">Launch Overlay</span>
<x-overlay width="600px" class="q-example-overlay">
    <h2>Bee</h2>
    <p>Bee is a collection of lightweight interaction elements for modern web applications. It is built on top of Dart's Web UI package. It contains frequently used components like Buttons, Popovers, Overlays, Input Fields and more.</p>
</x-overlay>

Nexted Example #

A button which opens an overlay on click. The overlay contains a popover. Note: Pressing 'ESC' closes popovers as well as overlays but only closes the youngest (last shown) component.

<x-button type="button" on-click="query('.q-example-nested').xtag.show()" on-touch-start="query('.q-example-nested').xtag.show()">Launch Overlay</x-button>
<x-overlay width="600px" class="q-example-nested">
    <h2>Bee</h2>
    <p>Bee is a collection of lightweight interaction elements for modern web applications. It is built on top of Dart's Web UI package. It contains frequently used components like Buttons, Popovers, Overlays, Input Fields and more.</p>
    <x-popover>
        <x-button type="button" class="launch-area">Launch Popover inside Overlay</x-button>
        <div class="body">This is a Popover</div>
    </x-popover>
    <p>Bee is a collection of lightweight interaction elements for modern web applications. It is built on top of Dart's Web UI package. It contains frequently used components like Buttons, Popovers, Overlays, Input Fields and more.</p>
</x-overlay>

##Coming Soon …

This is just the initial release and we'll add a bunch of additional components, examples, documentation and polish going forward :)

  • Tests, Tests, Tests
  • Component: Tooltip
  • Component: Date Picker
0
likes
15
points
13
downloads

Publisher

unverified uploader

Weekly Downloads

A Collection of lightweight Dart Web UI Components

Homepage

License

unknown (license)

Dependencies

web_ui

More

Packages that depend on bee