chore: 🤖 upgrade global, org, and project icons to flight
This commit is contained in:
21 files changed
+88
-49
No files matched your search
@@ -13,7 +13,7 @@ When style definition isn't supplied, a default style will be supplied.
|
||||
Styles: outline, dark, informational, informational-outline, success, success-outline, error, error-outline, warning, warning-outline, alert, alert-outline
|
||||
|
||||
```html
|
||||
<Rose::Badge @style="outline" @icon="user-organization">Badge</Rose::Badge>
|
||||
<Rose::Badge @style="outline" @icon="flight/org-16">Badge</Rose::Badge>
|
||||
```
|
||||
|
||||
<Preview>
|
||||
@@ -43,11 +43,11 @@ Styles: outline, dark, informational, informational-outline, success, success-ou
|
||||
'none'
|
||||
),
|
||||
icon: select('icon', {
|
||||
'user-organization': 'user-organization',
|
||||
'flight/org-16': 'flight/org-16',
|
||||
'partner': 'partner',
|
||||
'gift-fill': 'gift-fill',
|
||||
},
|
||||
'user-organization'
|
||||
'flight/org-16'
|
||||
),
|
||||
}
|
||||
}}</Story>
|
||||
@@ -58,7 +58,7 @@ Styles: outline, dark, informational, informational-outline, success, success-ou
|
||||
template: hbs`
|
||||
<Rose::Badge>default style</Rose::Badge>
|
||||
<Rose::Badge @style="outline">outline</Rose::Badge>
|
||||
<Rose::Badge @icon="user-organization">default style with icon</Rose::Badge>
|
||||
<Rose::Badge @icon="flight/org-16">default style with icon</Rose::Badge>
|
||||
<Rose::Badge @style="dark">dark</Rose::Badge>
|
||||
<Rose::Badge @style="informational">informational</Rose::Badge>
|
||||
<Rose::Badge @style="informational-outline">informational-outline</Rose::Badge>
|
||||
|
||||
@@ -13,7 +13,7 @@ Card link component wraps content with `LinkTo` component. Supports title and de
|
||||
@title='Card title'
|
||||
@description='Card description'
|
||||
@id='resource_id_1234'
|
||||
@icon='user-organization'
|
||||
@icon='flight/org-16'
|
||||
@route='about'/>
|
||||
```
|
||||
|
||||
@@ -32,11 +32,11 @@ Card link component wraps content with `LinkTo` component. Supports title and de
|
||||
description: text('description', 'Card description'),
|
||||
id: text('id', 'resource_id_1234'),
|
||||
icon: select('icon', {
|
||||
'user-organization': 'user-organization',
|
||||
'flight/org-16': 'flight/org-16',
|
||||
'partner': 'partner',
|
||||
'gift-fill': 'gift-fill',
|
||||
},
|
||||
'user-organization'
|
||||
'flight/org-16'
|
||||
),
|
||||
},
|
||||
}}</Story>
|
||||
|
||||
@@ -18,35 +18,35 @@ A set of cards arranged side-by-side.
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
<cards.link
|
||||
@route="index"
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
<cards.link
|
||||
@route="index"
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
<cards.link
|
||||
@route="index"
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
<cards.link
|
||||
@route="index"
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
</Rose::Cards>
|
||||
`,
|
||||
@@ -62,14 +62,14 @@ A set of cards arranged side-by-side.
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
<cards.link
|
||||
@route="index"
|
||||
@title="Card Title"
|
||||
@description="Description"
|
||||
@id="resource_id_1234"
|
||||
@icon="user-organization"
|
||||
@icon="flight/org-16"
|
||||
/>
|
||||
</Rose::Cards>
|
||||
```
|
||||
@@ -11,7 +11,7 @@ A simple dropdown component with support for links and buttons.
|
||||
<Preview>
|
||||
<Story name="Basic Dropdown" height="7rem">{{
|
||||
template: hbs`
|
||||
<Rose::Dropdown @text="Choose One…" @icon="user-organization" @showCaret={{showCaret}} as |dropdown|>
|
||||
<Rose::Dropdown @text="Choose One…" @icon="flight/org-16" @showCaret={{showCaret}} as |dropdown|>
|
||||
<dropdown.link @route="index">Menu item</dropdown.link>
|
||||
<dropdown.link @route="about">Menu item</dropdown.link>
|
||||
<dropdown.separator />
|
||||
@@ -31,7 +31,7 @@ A simple dropdown component with support for links and buttons.
|
||||
<Preview>
|
||||
<Story name="Icon-only Dropdown" height="5rem">{{
|
||||
template: hbs`
|
||||
<Rose::Dropdown @text="Choose One…" @icon="user-organization" @iconOnly={{true}} as |dropdown|>
|
||||
<Rose::Dropdown @text="Choose One…" @icon="flight/org-16" @iconOnly={{true}} as |dropdown|>
|
||||
<dropdown.link @route="index">Menu item</dropdown.link>
|
||||
<dropdown.link @route="about">Menu item</dropdown.link>
|
||||
<dropdown.separator />
|
||||
|
||||
@@ -68,12 +68,12 @@ Renders a form radiofield group.
|
||||
firstFieldIcon: select(
|
||||
'first icon',
|
||||
{
|
||||
'user-organization': 'user-organization',
|
||||
'flight/org-16': 'flight/org-16',
|
||||
'copy-action': 'copy-action',
|
||||
'unfold-more': 'unfold-more',
|
||||
'unfold-less': 'unfold-less',
|
||||
},
|
||||
'user-organization'
|
||||
'flight/org-16'
|
||||
),
|
||||
secondFieldLabel: text('second label', 'Maybe'),
|
||||
secondFieldValue: text('second value', 'maybe'),
|
||||
|
||||
@@ -44,7 +44,7 @@ Renders a form radiofield.
|
||||
'icon',
|
||||
{
|
||||
'none': null,
|
||||
'user-organization': 'user-organization',
|
||||
'flight/org-16': 'flight/org-16',
|
||||
'copy-action': 'copy-action',
|
||||
'unfold-more': 'unfold-more',
|
||||
'unfold-less': 'unfold-less',
|
||||
@@ -111,7 +111,7 @@ Renders a form radiofield.
|
||||
'icon',
|
||||
{
|
||||
'none': null,
|
||||
'user-organization': 'user-organization',
|
||||
'flight/org-16': 'flight/org-16',
|
||||
'copy-action': 'copy-action',
|
||||
'unfold-more': 'unfold-more',
|
||||
'unfold-less': 'unfold-less',
|
||||
@@ -121,4 +121,4 @@ Renders a form radiofield.
|
||||
inline: boolean('inline', false)
|
||||
}
|
||||
}}</Story>
|
||||
</Preview>
|
||||
</Preview>
|
||||
Reference in new issue
Block a user