Skip to content

Commit

Permalink
Merge pull request #461 from carloslancha/ClayDropdownListMarkup
Browse files Browse the repository at this point in the history
Use new markup for ClayDropdown  | Fixes #425 and #450
  • Loading branch information
jbalsas authored Jan 25, 2018
2 parents 01784d9 + 1797b04 commit 8c5e7fe
Show file tree
Hide file tree
Showing 14 changed files with 1,518 additions and 1,479 deletions.

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions packages/clay-dropdown/demos/a11y.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#checkboxes-block'
);
Expand Down Expand Up @@ -343,7 +342,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#radios-block'
);
Expand Down Expand Up @@ -531,7 +529,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#button-block'
);
Expand Down Expand Up @@ -633,7 +630,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#complex-block'
);
Expand Down
4 changes: 0 additions & 4 deletions packages/clay-dropdown/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#checkboxes-block'
);
Expand Down Expand Up @@ -343,7 +342,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#radios-block'
);
Expand Down Expand Up @@ -531,7 +529,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#button-block'
);
Expand Down Expand Up @@ -633,7 +630,6 @@ <h4>Actions Dropdown with events in items</h4>
],
spritemap: spritemap,
label: 'Trigger Label',
type: 'form',
},
'#complex-block'
);
Expand Down
9 changes: 0 additions & 9 deletions packages/clay-dropdown/src/ClayDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,6 @@ ClayDropdown.STATE = {
* @default undefined
*/
triggerClasses: Config.string(),

/**
* Type of the dropdown menu.
* @instance
* @memberof ClayDropdown
* @type {?string}
* @default list
*/
type: Config.oneOf(['form', 'list']).value('list'),
};

defineWebComponent('clay-dropdown', ClayDropdown);
Expand Down
2 changes: 0 additions & 2 deletions packages/clay-dropdown/src/ClayDropdown.soy
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
{@param? searchable: bool}
{@param? style: string}
{@param? triggerClasses: string}
{@param? type: string}

{let $trigger kind="html"}
{if $icon}
Expand Down Expand Up @@ -57,6 +56,5 @@
{param spritemap: $spritemap /}
{param style: $style /}
{param triggerClasses: $triggerClasses /}
{param type: $type /}
{/call}
{/template}
9 changes: 0 additions & 9 deletions packages/clay-dropdown/src/ClayDropdownBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,6 @@ ClayDropdownBase.STATE = {
* @default undefined
*/
triggerClasses: Config.string(),

/**
* Type of the dropdown menu.
* @instance
* @memberof ClayDropdownBase
* @type {?string}
* @default list
*/
type: Config.oneOf(['form', 'list']).value('list'),
};

Soy.register(ClayDropdownBase, templates);
Expand Down
Loading

0 comments on commit 8c5e7fe

Please sign in to comment.