Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.4.0 CHANGELOG #1304

Merged
merged 84 commits into from
Nov 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
1da7b64
Wordsmith ClayUI.com documentation
mwilliams2014 Oct 10, 2018
4d2e715
Fixes #1223 - Alert should use word-wrap: break-word
pat270 Oct 12, 2018
834cddc
Fixes #1229 - Atlas Label and Label Lg make horizontal padding .25rem…
pat270 Oct 12, 2018
98c9fe5
Fixes #1198 - Mixin `clay-menubar-vertical-variant` added options to …
pat270 Oct 12, 2018
873df55
Fixes #1164 - Type added options to configure `$moz-osx-font-smoothin…
pat270 Oct 12, 2018
7aa9166
Fixes #1220 - Use `$input-border-width` the same way Bootstrap uses it
pat270 Oct 12, 2018
06a5e04
Fixes #1192 - Nav Underline highlight color should be primary and hei…
pat270 Oct 12, 2018
51a4825
Fixes #1236 - Added icon Anonymize
pat270 Oct 13, 2018
bbc1069
Merge pull request #1237 from pat270/clay-1236
jbalsas Oct 16, 2018
aaec68f
Merge pull request #1231 from pat270/clay-1223
jbalsas Oct 16, 2018
6fe4055
Merge pull request #1232 from pat270/clay-1229
jbalsas Oct 16, 2018
3fb85ac
Merge pull request #1234 from pat270/clay-1220
jbalsas Oct 16, 2018
fa2609c
Merge pull request #1233 from pat270/clay-1198
jbalsas Oct 16, 2018
67bf680
Merge pull request #1235 from pat270/clay-1192
jbalsas Oct 16, 2018
0d797f2
Merge pull request #1239 from pat270/clay-1164
jbalsas Oct 16, 2018
e24c832
Merge pull request #1230 from mwilliams2014/doc-edits
jbalsas Oct 16, 2018
7e0849a
Fixes #1241 - Table List added `.table-row-start`, `.table-row-end`, …
pat270 Oct 17, 2018
6d0c826
Test site added test cases for .table-row-start|end .table-cell-start…
pat270 Oct 17, 2018
14feb06
Fixes #1240 - Dropdown Menu added `.dropdown-item-indicator-start` an…
pat270 Oct 17, 2018
fa80039
Test site use `.dropdown-item-indicator-start|end` for examples
pat270 Oct 17, 2018
706b3a0
Fixes #1250 - PrimaryItems is not required anymore
Oct 22, 2018
6a010c4
Fixes #1250 - Update tests
Oct 22, 2018
8c69de5
Fixes #1250 - Regen snapshots
Oct 22, 2018
c5c192f
Merge pull request #1251 from carloslancha/issue-1250-ClayCreationMen…
julien Oct 24, 2018
622f786
Fixes #1247 - Rename Layout to Foundations
matuzalemsteles Oct 24, 2018
a4640a8
Fixes #1247 - Create redirectFrom flag
matuzalemsteles Oct 24, 2018
a4de76e
Fixes #1247 - Adding redirectFrom to redirect from layout to foundations
matuzalemsteles Oct 24, 2018
e275757
Fixes #1254 - Update Clay packages
matuzalemsteles Oct 24, 2018
02f51e3
Fixes #1254 - Adding example of the Management Toolbar with filter la…
matuzalemsteles Oct 24, 2018
f8ce713
Fixes #1238 - Fixes checkbox examples in indeterminate state
matuzalemsteles Oct 25, 2018
a1100ba
Fixes #1250 - Check also if secondaryItems is empty in creationMenu
Oct 25, 2018
55e3a25
#1241 - Table added support for `.table-cell-start` and `.table-cell-…
pat270 Oct 25, 2018
331bc13
(clayui.com) Satellite Components Tables added docs for utilities `.t…
pat270 Oct 25, 2018
7ea6214
(clayui.com) Lexicon Core Components Dropdown Menu added docs for ico…
pat270 Oct 25, 2018
4393cb6
Merge pull request #1259 from carloslancha/issue-1250-ClayCreationMen…
julien Oct 26, 2018
fcf606c
Merge pull request #1257 from matuzalemsteles/issue-1254
jbalsas Oct 26, 2018
8142769
Merge pull request #1256 from matuzalemsteles/issue-1247
jbalsas Oct 26, 2018
9cd543b
Merge pull request #1243 from pat270/clay-1241
matuzalemsteles Oct 26, 2018
73608a9
Fixes #1266 - Reflow sidenav to prevent issue in IE11
fortunatomaldonado Oct 27, 2018
de96a43
Source Formatting
pat270 Oct 29, 2018
fc7568c
Fixes #1275 - Sync data attributes in ClayComponent
Oct 30, 2018
832971e
Fixes #1249 - Add support for custom classes in ClayTable
Oct 30, 2018
0ffe9d8
Fixes #1249 - Add tests
Oct 30, 2018
6f2f55b
Fixes #1249 - Regen snapshots
Oct 30, 2018
465db33
Fixes #1249 - SF
Oct 30, 2018
2643914
Fixes #1275 - SF
Oct 30, 2018
0a014d7
Fixes #1260 - Mark should use `$mark-bg` and added option to configur…
Oct 24, 2018
9c1a553
Merge pull request #1277 from carloslancha/issue-1249-table-classes
julien Oct 31, 2018
a396d1c
Merge pull request #1276 from carloslancha/issue-1275-sync-data
julien Oct 31, 2018
2bf5cec
Fixes #1268 - Add capability to pass data to a DropDownItem
marco-leo Oct 29, 2018
4c619a1
Fixes #1268 - Emit pageClicked event when a page is clicked or a rang…
marco-leo Oct 29, 2018
3d3e7dc
Fixes #1268 - Emit event when item per page change and mock the pagin…
marco-leo Oct 29, 2018
84b7d62
Fixes #1268 - update demo adding the new handlers
marco-leo Oct 29, 2018
9b53537
Fixes #1268 - Extract ClayDropdownItem to a component
Oct 31, 2018
653a552
Fixes #1268 - Update use of ClayDropdownItem and move page click hand…
Oct 31, 2018
8a04885
Fixes #1268 - Update demos
Oct 31, 2018
0fe4794
Fixes #1268 - SF
Oct 31, 2018
2496d3e
Fixes #1268 - SF
Oct 31, 2018
71e8a0e
Merge pull request #1245 from pat270/clay-1240
carloslancha Oct 31, 2018
5a1b09a
Fixes #1280 - Create clay-charts-shared package
bryceosterhaus Oct 31, 2018
4e04c10
Fixes #1280 - Create clay-charts-react package
bryceosterhaus Oct 31, 2018
d574c42
Fixes #1280 - Update clay-charts component to use clay-charts-shared
bryceosterhaus Oct 31, 2018
9edef91
Fixes #1280 - Regen yarn.lock
bryceosterhaus Oct 31, 2018
c674b47
Merge pull request #1281 from bryceosterhaus/reactCharts
julien Oct 31, 2018
ff85eb0
Fixes #1268 - Regen testSoy
Nov 4, 2018
237c35d
Fixes #1268 - SF
Nov 4, 2018
4120531
Fixes #1268 - Create deltemplate for dropdown item separator
Nov 4, 2018
a2f717b
Fixes #1268 - Regen snapshots
Nov 4, 2018
75f5c9a
Fixes #1268 - Check if element exists
Nov 4, 2018
279f5b7
Merge pull request #1284 from carloslancha/pr-1269
julien Nov 5, 2018
6b8841f
Merge pull request #1278 from pat270/clay-1260
matuzalemsteles Nov 8, 2018
d23af2b
Merge pull request #1271 from pat270/clay-1267
matuzalemsteles Nov 8, 2018
7e4997e
Fixes #1274 - (ClayCSS) Duplicate CSS in Liferay DXP 7.1
pat270 Nov 9, 2018
f9fec14
Fixes #1298 (ClayCSS) Added new SVG Icons document-code, document-com…
pat270 Nov 10, 2018
02c36b3
Merge pull request #1300 from pat270/clay-1298
carloslancha Nov 12, 2018
07b1dea
Fixes #1289 - Add resolutions for yarn to always use js-beautify@v1.7.5
bryceosterhaus Nov 12, 2018
acf494f
Fixes #1289 - Regen yarn.lock
bryceosterhaus Nov 12, 2018
51a82cd
Fixes #1171 - Loading indicator component
bryceosterhaus Nov 5, 2018
ee2d198
Fixes #1171 - Add soy and web-component examples for loading indicator
bryceosterhaus Nov 12, 2018
6b89644
Fixes #1289 - SF
Nov 13, 2018
dd3dcff
Merge pull request #1297 from pat270/clay-1274
marcoscv-work Nov 13, 2018
628d3dc
Merge pull request #1303 from carloslancha/pr-1302
julien Nov 13, 2018
6a08fea
Merge pull request #1258 from matuzalemsteles/issue-1238
jbalsas Nov 13, 2018
1718eb1
Merge pull request #1286 from bryceosterhaus/loadingComponent
jbalsas Nov 13, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
Expand Down
10 changes: 5 additions & 5 deletions clayui.com/content/docs/components/alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ title: "Alerts"

### Description

Alerts are used to capture the attention of the user in an intrusive way. Sometimes just to say that something went right, others to say that something needs to be reviewed.
Alerts are used to capture the attention of the user in an intrusive way. They can be used just to say that something went right, or perhaps to say that something needs to be reviewed.

<div class="alert alert-info">Check the <a href="https://lexicondesign.io">Lexicon</a> <a href="https://lexicondesign.io/docs/patterns/alerts.html">Alerts Pattern</a> for a more in-depth look at the motivations and proper usage of this component.</div>

### TOAST

> This type of alert is specific for toast messages. This type of messages appear on the top right corner of the screen. The maximum width of a toast message is 360px and the height can vary depending on the number of rows. It always have a close action.
> This type of alert is specific for toast messages. These type of messages appear on the top right corner of the screen. The maximum width of a toast message is 360px, and the height can vary depending on the number of rows. It always has a close action.

<div id="claySiteAlertsNotificationsSpacer">
<div class="row">
Expand Down Expand Up @@ -107,7 +107,7 @@ Alerts are used to capture the attention of the user in an intrusive way. Someti

### EMBEDDED

> Embedded alerts are thought to be used inside context as forms. Usually you will only need to use the information one. Its width depends on the container with you use it, always respecting the container margins to the content. The close action is not of mandatory use.
> Embedded alerts are meant for use in forms. Usually you will only need to use the information one. Its width depends on the width of the container it is placed in, always respecting the container margins to the content. The close action is not required for embedded alerts.

<div class="alert alert-danger" role="alert">
<span class="alert-indicator">
Expand Down Expand Up @@ -241,7 +241,7 @@ Alerts are used to capture the attention of the user in an intrusive way. Someti

### STRIPE

> Stripe alerts are always placed below the last navigation element, either the header or the navigation bar. This alert appears usually on "Save" action communicating the status of the action once received from the server. The close action is mandatory in this alert type. Its width is always full container width and pushes all the content below it.
> Stripe alerts are always placed below the last navigation element, either the header or the navigation bar. This alert usually appears on "Save" action, communicating the status of the action once received from the server. The close action is mandatory in this alert type. Its width is always full container width and pushes all the content below it.

<div class="alert alert-danger alert-dismissible alert-fluid" role="alert">
<div class="container">
Expand Down Expand Up @@ -433,7 +433,7 @@ Alerts are used to capture the attention of the user in an intrusive way. Someti

#### Mixed HTML Content

> All alerts accept html as their content. You can use the following modifiers:
> All alerts accept HTML as their content. You can use the following modifiers:
> - `.lead` inside of an alert to make the beginning of your message stand out
> - `.alert-link` to style a link inside your alert

Expand Down
4 changes: 2 additions & 2 deletions clayui.com/content/docs/components/badges.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Badges"

### Description

Badges help highlight important information such as notifications or new and unread messages. Badges have circular borders and are only used to specify a number.
Badges help highlight important information, such as notifications or new and unread messages. Badges have circular borders and are only used to specify a number.

<div class="alert alert-info">Check the <a href="https://lexicondesign.io">Lexicon</a> <a href="https://lexicondesign.io/docs/patterns/badges.html">Badges Pattern</a> for a more in-depth look at the motivations and proper usage of this component.</div>

Expand Down Expand Up @@ -117,7 +117,7 @@ Badges help highlight important information such as notifications or new and unr

### Clay Badge Sizes

<div class="alert alert-warning">Badge Sizes have been removed, use the <a href="https://github.com/liferay/clay/blob/master/packages/clay/src/scss/mixins/_badges.scss#L1">clay-badge-size($sassMap) mixin</a> to create custom badges sizes for your app.</div>
<div class="alert alert-warning">Badge Sizes have been removed. Use the <a href="https://github.com/liferay/clay/blob/master/packages/clay/src/scss/mixins/_badges.scss#L1">clay-badge-size($sassMap) mixin</a> to create custom badge sizes for your app.</div>

### API

Expand Down
16 changes: 8 additions & 8 deletions clayui.com/content/docs/components/buttons.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Buttons communicate an action to happen on user interaction.

#### Icon button

> Buttons can icons instead of text and for that icons need to be monospaced inside the button. Lexicon do not use buttons with text and icon, or text and loading indicator. Icon buttons are used intensively in management bars. This button variation can be primary, secondary or borderless type.
> Buttons can display icons instead of text. The icons, however, must be monospaced inside the button. Lexicon doesn't use buttons with text and icons or text and loading indicators. Icon buttons are used primarily in management bars. This button variation can be primary, secondary, or borderless type.

<button class="btn btn-monospaced btn-primary" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-blogs">
Expand Down Expand Up @@ -306,7 +306,7 @@ Buttons communicate an action to happen on user interaction.

#### Icon and text button

> This button type is used only in sites and not in administration. The icon emphasizes and helps to understand the action. The label must be the same icon purpose.
> This button type is only used in sites, outside of administration. The icon emphasizes and helps communicate the action. The label must match the icon's purpose.

<button class="btn btn-secondary" type="button">
<span class="inline-item inline-item-before">
Expand Down Expand Up @@ -346,7 +346,7 @@ Buttons communicate an action to happen on user interaction.

#### Block level button

> All buttons can also be configured at block level. Use this configuration in those cases that you need the user to realize there is an important action to be done. It could be used as a load more action below a list, as an example. Please do not use it in forms. Be always careful with the type button to use, primary is not always the best choice neither the only configuration.
> Buttons can also be configured at block level. Use this configuration when you need to communicate an important action is required for the user. For example, it can be used as a load more action below a list. Please do not use it in forms. Choose the button type carefully. Primary is not always the best choice, nor is it the only configuration.

<button class="btn btn-block btn-secondary btn-sm" type="button">Small Block Level Button</button>
<button class="btn btn-block btn-secondary" type="button">Normal Block Level Button</button>
Expand Down Expand Up @@ -376,7 +376,7 @@ Buttons communicate an action to happen on user interaction.

#### Dropdown button

> Dropdown buttons are always used together with a dropdown menu. This button variation can be secondary or borderless type.
> Dropdown buttons are always used with a dropdown menu. This button variation can be secondary or borderless type.

<div class="btn-group">
<button aria-expanded="false" aria-haspopup="true" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" type="button">
Expand Down Expand Up @@ -465,7 +465,7 @@ Buttons communicate an action to happen on user interaction.

#### Split button

> Split buttons are used in those cases where you need to offer the user a quick main action but also secondary actions.
> Split buttons are used when you need to offer the user a quick main action along with secondary actions.

<div class="btn-group dropdown" role="group">
<button class="btn btn-primary" type="button">Primary</button>
Expand Down Expand Up @@ -525,7 +525,7 @@ Buttons communicate an action to happen on user interaction.

#### Button group

> Button groups are used to switch between complementary views for example, but they must never be used for complementary actions and "Change and Cancel" or "Save and Cancel". In those cases the use of single buttons is the correct solution.
> Button groups are used to switch between complementary views for example, but they must never be used for complementary actions, "Change and Cancel" actions, or "Save and Cancel" actions. In those cases, single buttons are the correct solution.

<div class="btn-group" role="group">
<button class="btn btn-secondary" type="button">Day</button>
Expand All @@ -545,7 +545,7 @@ Buttons communicate an action to happen on user interaction.

#### Plus button

> Normally placed in toolbars, allows to have adding actions over a dataset. The kind of elements to add with this button are of the same nature and folders. Sometimes it only has a unique action, some others it has more. Visit Dropdown menu > Sorting actions to know more.
> Plus buttons provide add actions for a dataset and are normally placed in toolbars. The add button lets you add entities, such as a blog post for a blog, a message board thread for a message board, or a folder. It can have one action or multiple. Visit Dropdown menu > Sorting actions to learn more.

<button class="btn btn-monospaced btn-sm btn-primary" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-blogs">
Expand Down Expand Up @@ -574,7 +574,7 @@ Buttons communicate an action to happen on user interaction.

#### Action button

> It is used when a set of contextual actions are needed over an element or a dataset. This button displays a set of actions inside a dropdown menu. The actions must be sorted in an specific way, please visit Dropdown menu > Sorting actions to know more.
> Action buttons are used when a set of contextual actions are needed for an element or a dataset. This button displays a set of actions inside a dropdown menu. The actions must be sorted in a specific way. please visit Dropdown menu > Sorting actions to learn more.

<button class="btn btn-monospaced btn-sm btn-unstyled" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-ellipsis-v">
Expand Down
12 changes: 6 additions & 6 deletions clayui.com/content/docs/components/cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Cards are a very specific visual representation of data.

### Image card

> Used in image/document galleries.
> Image cards are used in image/document galleries.

#### Default

Expand Down Expand Up @@ -419,7 +419,7 @@ Cards are a very specific visual representation of data.

#### IMAGE WITH DIFFERENT RATIOS

> It is important to highlight that images can have different sizes. To provide the end user with that relevant data about the image Lexicon incorporates cards that allow this feature.
> It is important to highlight that images can have different sizes. To provide the end user with that relevant data about the image, Lexicon incorporates cards that allow this feature.

<div class="row">
<div class="col-md-4">
Expand Down Expand Up @@ -625,7 +625,7 @@ Cards are a very specific visual representation of data.

### User card

> User card is used to represent users. The user can be represented by its user image or up to two initials extracted from the uses name or name + surname.
> User cards represent users. The user can be represented by their user image or up to two initials extracted from their user name or name + surname.

<div class="row">
<div class="col-md-4">
Expand Down Expand Up @@ -813,7 +813,7 @@ Cards are a very specific visual representation of data.

### File card

> File card is used to represent files different to images.
> File cards represent files other than images.

<div class="row">
<div class="col-md-4">
Expand Down Expand Up @@ -1042,7 +1042,7 @@ Cards are a very specific visual representation of data.

### Folder card

> This card variation is meant to have horizontal representations of information. This card has the same amount of elements as the previous explained. The main purpose of this card is to represent folders, therefore we allow to remove the image in this card type. In this case, only the checkbox is used to select.
> Folder cards display horizontal representations of information. They have the same amount of elements as the other cards previously explained on this page. The main purpose of this card is to represent folders, therefore the image is removed in this card type. In this case, only the checkbox is used to select.

<div class="row">
<div class="col-md-4">
Expand Down Expand Up @@ -1219,4 +1219,4 @@ Cards are a very specific visual representation of data.
[APITable "clay-card/src/ClayHorizontalCard.js"]
</div>

More examples can be found in <a href="/docs/components/dataset-display.html">dataset template</a>.
See <a href="/docs/components/dataset-display.html">dataset template</a> for more examples.
10 changes: 5 additions & 5 deletions clayui.com/content/docs/components/dataset-display.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Dataset Display"
---

A dataset display is the combination of a <a href="/docs/components/toolbars/management-toolbar.html">management bar</a> with one or many data visualization types and a possible mechanism of pagination. The most common visualization types used are <a href="/docs/components/table/table.html">table</a>, <a href="/docs/components/list.html">list</a> and <a href="/docs/components/card.html">card</a>.
A dataset display is the combination of a <a href="/docs/components/toolbars/management-toolbar.html">management bar</a> with one or multiple data visualization types and a possible mechanism of pagination. The most common visualization types used are <a href="/docs/components/table/table.html">table</a>, <a href="/docs/components/list.html">list</a>, and <a href="/docs/components/card.html">card</a>.

<div class="alert alert-info">Check the <a href="https://lexicondesign.io">Lexicon</a> <a href="https://lexicondesign.io/docs/components/dataset-display.html">Dataset Display Pattern</a> for a more in-depth look at the motivations and proper usage of this component.</div>

Expand Down Expand Up @@ -183,7 +183,7 @@ A dataset display is the combination of a <a href="/docs/components/toolbars/man
</td>
<td><span class="text-truncate">U.S.A</span></td>
<td class="text-right">10 min.</td>
<td><span class="label label-success"><span class="label-item label-item-expand">No Spicy</span></span></td>
<td><span class="label label-success"><span class="label-item label-item-expand">Not Spicy</span></span></td>
<td><button class="btn btn-sm btn-secondary" type="button">Download</button></td>
<td>
<div class="progress-group progress-info">
Expand Down Expand Up @@ -223,7 +223,7 @@ A dataset display is the combination of a <a href="/docs/components/toolbars/man
</td>
<td><span class="text-truncate">Spain</span></td>
<td class="text-right">90 min.</td>
<td><span class="label label-success"><span class="label-item label-item-expand">No Spicy</span></span></td>
<td><span class="label label-success"><span class="label-item label-item-expand">Not Spicy</span></span></td>
<td><button class="btn btn-sm btn-secondary" type="button">Download</button></td>
<td>
<div class="progress-group progress-info">
Expand All @@ -243,7 +243,7 @@ A dataset display is the combination of a <a href="/docs/components/toolbars/man
</td>
<td><span class="text-truncate">Italy</span></td>
<td class="text-right">30 min.</td>
<td><span class="label label-success"><span class="label-item label-item-expand">No Spicy</span></span></td>
<td><span class="label label-success"><span class="label-item label-item-expand">Not Spicy</span></span></td>
<td><button class="btn btn-sm btn-secondary" type="button">Download</button></td>
<td>
<div class="progress-group progress-info">
Expand Down Expand Up @@ -572,7 +572,7 @@ A dataset display is the combination of a <a href="/docs/components/toolbars/man
</td>
<td><span class="text-truncate">U.S.A</span></td>
<td class="text-right">10 min.</td>
<td><span class="label label-success"><span class="label-item label-item-expand">No Spicy</span></span></td>
<td><span class="label label-success"><span class="label-item label-item-expand">Not Spicy</span></span></td>
<td><button class="btn btn-sm btn-secondary" type="button">Download</button></td>
<td>
<div class="progress-group progress-info">
Expand Down
Loading