@redhat-cloud-services/frontend-components 3.9.3 → 3.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/BulkSelect/BulkSelect.d.ts +1 -1
  2. package/BulkSelect/bulk-select.scss +13 -13
  3. package/ConditionalFilter/conditional-filter.scss +78 -87
  4. package/CullingInfo/CullingInformation.scss +4 -4
  5. package/DownloadButton/DownloadButton.spec.ct.d.ts +1 -0
  6. package/DownloadButton/DownloadButton.spec.ct.js +24 -0
  7. package/EmptyTable/EmptyTable.scss +7 -7
  8. package/ErrorState/error-state.scss +3 -3
  9. package/FilterChips/filter-chips.scss +9 -10
  10. package/FilterHooks/tagFilterHook.scss +15 -16
  11. package/InsightsLabel/labels.scss +14 -12
  12. package/InvalidObject/icon-404.scss +5 -9
  13. package/LongTextTooltip/index.d.ts +1 -1
  14. package/LongTextTooltip/index.js +2 -2
  15. package/Main/Main.d.ts +8 -0
  16. package/Main/main.scss +1 -1
  17. package/Maintenance/maintenance.scss +5 -5
  18. package/NotAuthorized/NotAuthorized.scss +5 -5
  19. package/Ouia/WithOuia.d.ts +1 -1
  20. package/Ouia/useOuia.d.ts +1 -1
  21. package/PageHeader/page-header.scss +5 -5
  22. package/Pagination/pagination.scss +5 -6
  23. package/PrimaryToolbar/PrimaryToolbar.d.ts +1 -1
  24. package/PrimaryToolbar/primary-toolbar.scss +40 -51
  25. package/Reboot/reboot.scss +7 -7
  26. package/SimpleTableFilter/simple-table-filter.scss +10 -10
  27. package/Skeleton/skeleton.scss +16 -16
  28. package/SkeletonTable/SkeletonTable.scss +1 -1
  29. package/Spinner/spinner.scss +15 -17
  30. package/TableToolbar/TableToolbar.scss +9 -9
  31. package/TagCount/tagCount.scss +4 -4
  32. package/TagModal/tagModal.scss +1 -1
  33. package/Unavailable/Unavailable.scss +1 -1
  34. package/cypress/cypress.webpack.config.js +37 -0
  35. package/cypress/fixtures/example.json +5 -0
  36. package/cypress/plugins/index.js +30 -0
  37. package/cypress/support/commands.js +25 -0
  38. package/cypress/support/index.js +21 -0
  39. package/cypress.json +9 -0
  40. package/esm/BulkSelect/BulkSelect.js +2 -2
  41. package/esm/BulkSelect/bulk-select.scss +13 -13
  42. package/esm/ConditionalFilter/CheckboxFilter.js +1 -1
  43. package/esm/ConditionalFilter/ConditionalFilter.js +2 -2
  44. package/esm/ConditionalFilter/GroupFilter.js +3 -3
  45. package/esm/ConditionalFilter/RadioFilter.js +1 -1
  46. package/esm/ConditionalFilter/TextFilter.js +1 -1
  47. package/esm/ConditionalFilter/conditional-filter.scss +78 -87
  48. package/esm/CullingInfo/CullingInformation.scss +4 -4
  49. package/esm/DownloadButton/DownloadButton.spec.ct.js +19 -0
  50. package/esm/EmptyTable/EmptyTable.scss +7 -7
  51. package/esm/ErrorState/ErrorState.js +1 -1
  52. package/esm/ErrorState/error-state.scss +3 -3
  53. package/esm/FilterChips/FilterChips.js +1 -1
  54. package/esm/FilterChips/filter-chips.scss +9 -10
  55. package/esm/FilterHooks/tagFilterHook.js +1 -1
  56. package/esm/FilterHooks/tagFilterHook.scss +15 -16
  57. package/esm/Filters/FilterInput.js +1 -1
  58. package/esm/InsightsLabel/labels.scss +14 -12
  59. package/esm/InvalidObject/InvalidObject.js +1 -1
  60. package/esm/InvalidObject/icon-404.scss +5 -9
  61. package/esm/LongTextTooltip/index.js +1 -1
  62. package/esm/Main/main.scss +1 -1
  63. package/esm/Maintenance/Maintenance.js +1 -1
  64. package/esm/Maintenance/maintenance.scss +5 -5
  65. package/esm/NotAuthorized/NotAuthorized.js +1 -1
  66. package/esm/NotAuthorized/NotAuthorized.scss +5 -5
  67. package/esm/NotConnected/NotConnected.js +1 -1
  68. package/esm/PageHeader/page-header.scss +5 -5
  69. package/esm/Pagination/PaginationNav.js +1 -1
  70. package/esm/Pagination/pagination.scss +5 -6
  71. package/esm/PrimaryToolbar/Actions.js +1 -1
  72. package/esm/PrimaryToolbar/PrimaryToolbar.js +1 -1
  73. package/esm/PrimaryToolbar/primary-toolbar.scss +40 -51
  74. package/esm/Reboot/reboot.scss +7 -7
  75. package/esm/SimpleTableFilter/SimpleTableFilter.js +1 -1
  76. package/esm/SimpleTableFilter/simple-table-filter.scss +10 -10
  77. package/esm/Skeleton/skeleton.scss +16 -16
  78. package/esm/SkeletonTable/SkeletonTable.js +1 -1
  79. package/esm/SkeletonTable/SkeletonTable.scss +1 -1
  80. package/esm/Spinner/spinner.scss +15 -17
  81. package/esm/TableToolbar/TableToolbar.scss +9 -9
  82. package/esm/TagCount/tagCount.scss +4 -4
  83. package/esm/TagModal/TableWithFilter.js +2 -2
  84. package/esm/TagModal/TagModal.js +1 -1
  85. package/esm/TagModal/tagModal.scss +1 -1
  86. package/esm/Unavailable/Unavailable.js +1 -1
  87. package/esm/Unavailable/Unavailable.scss +1 -1
  88. package/esm/usePendoFeedback/usePendoFeedback.js +1 -5
  89. package/index.d.ts +0 -8
  90. package/package.json +11 -3
  91. package/useChrome/useChrome.d.ts +1 -1
  92. package/usePendoFeedback/usePendoFeedback.d.ts +1 -1
  93. package/usePendoFeedback/usePendoFeedback.js +1 -5
@@ -1,11 +1,11 @@
1
1
  @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
2
 
3
3
  .ins-c-table__empty {
4
- background: var(--pf-global--Color--light-100);
5
- border-bottom: 1px solid var(--pf-global--BorderColor--light-200);
6
- @include rem('padding', 20px);
7
- &.is-centered {
8
- display: flex;
9
- justify-content: center;
10
- }
4
+ background: var(--pf-global--Color--light-100);
5
+ border-bottom: 1px solid var(--pf-global--BorderColor--light-200);
6
+ @include rem('padding', 20px);
7
+ &.is-centered {
8
+ display: flex;
9
+ justify-content: center;
10
+ }
11
11
  }
@@ -23,7 +23,7 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import React from 'react';
24
24
  import { ExclamationCircleIcon } from '@patternfly/react-icons/';
25
25
  import DefaultErrorMessage from './DefaultErrorMessage';
26
- import { Title, EmptyState, EmptyStateVariant, EmptyStateIcon, EmptyStateBody, Button, Stack, StackItem, } from '@patternfly/react-core';
26
+ import { Button, EmptyState, EmptyStateBody, EmptyStateIcon, EmptyStateVariant, Stack, StackItem, Title, } from '@patternfly/react-core';
27
27
  import '../ErrorState/error-state.css';
28
28
  var ErrorState = function (_a) {
29
29
  var _b = _a.errorTitle, errorTitle = _b === void 0 ? 'Something went wrong' : _b, errorDescription = _a.errorDescription, props = __rest(_a, ["errorTitle", "errorDescription"]);
@@ -1,5 +1,5 @@
1
1
  .ins-c-error-state.pf-c-empty-state {
2
- .pf-c-empty-state__icon {
3
- fill: var(--pf-global--danger-color--100);
4
- }
2
+ .pf-c-empty-state__icon {
3
+ fill: var(--pf-global--danger-color--100);
4
+ }
5
5
  }
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import React from 'react';
13
- import { Badge, Chip, ChipGroup, Button } from '@patternfly/react-core';
13
+ import { Badge, Button, Chip, ChipGroup } from '@patternfly/react-core';
14
14
  import classNames from 'classnames';
15
15
  import '../FilterChips/filter-chips.css';
16
16
  function isFilterChipGroup(group) {
@@ -1,15 +1,14 @@
1
1
  .ins-c-chip-filters .ins-c-chip-group__plain.pf-m-toolbar > li:not(.pf-m-overflow) {
2
- background: none;
3
- padding: 0;
4
- background-color: initial;
5
-
6
- h4 {
7
- display: none;
8
- }
2
+ background: none;
3
+ padding: 0;
4
+ background-color: initial;
5
+ h4 {
6
+ display: none;
7
+ }
9
8
  }
10
9
 
11
10
  .ins-c-chip-filters {
12
- .pf-c-chip-group:not(:last-child) {
13
- margin-right: var(--pf-global--spacer--sm);
14
- }
11
+ .pf-c-chip-group:not(:last-child) {
12
+ margin-right: var(--pf-global--spacer--sm);
13
+ }
15
14
  }
@@ -18,7 +18,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
18
18
  }
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
- import React, { useState, useEffect } from 'react';
21
+ import React, { useEffect, useState } from 'react';
22
22
  import { constructGroups, mapGroups } from './constants';
23
23
  import { Spinner } from '@patternfly/react-core';
24
24
  import '../FilterHooks/tagFilterHook.css';
@@ -1,21 +1,20 @@
1
1
  .ins-c-tagfilter {
2
- .ins-c-tagfilter__option label {
3
- display: flex;
4
- width: 100%;
5
-
6
- .ins-c-tagfilter__option-value {
7
- max-width: 12.5rem;
8
- overflow: hidden;
9
- text-overflow: ellipsis;
10
- }
11
- .pf-c-badge {
12
- margin-left: auto;
13
- padding-top: 0.2;
14
- }
2
+ .ins-c-tagfilter__option label {
3
+ display: flex;
4
+ width: 100%;
5
+ .ins-c-tagfilter__option-value {
6
+ max-width: 12.5rem;
7
+ overflow: hidden;
8
+ text-overflow: ellipsis;
9
+ }
10
+ .pf-c-badge {
11
+ margin-left: auto;
12
+ padding-top: 0.2;
15
13
  }
16
- .pf-c-select__menu-group-title:empty { display: none; }
14
+ }
15
+ .pf-c-select__menu-group-title:empty { display: none; }
17
16
 
18
- .pf-c-select__menu > div { padding-top: 0; }
17
+ .pf-c-select__menu > div { padding-top: 0; }
19
18
 
20
- &.pf-m-expanded { width: 18.75rem !important; }
19
+ &.pf-m-expanded { width: 18.75rem !important; }
21
20
  }
@@ -1,4 +1,4 @@
1
- import React, { useState, useEffect } from 'react';
1
+ import React, { useEffect, useState } from 'react';
2
2
  import { Checkbox, Radio } from '@patternfly/react-core';
3
3
  var FilterInput = function (_a) {
4
4
  var addRemoveFilters = _a.addRemoveFilters, _b = _a.param, param = _b === void 0 ? '' : _b, _c = _a.filters, filters = _c === void 0 ? {} : _c, _d = _a.type, type = _d === void 0 ? 'checkbox' : _d, value = _a.value, id = _a.id, label = _a.label;
@@ -1,19 +1,21 @@
1
1
  .pf-c-label {
2
- --ins-c-label--gold-bg: #fdf7e7;
3
- --inc-c-label--content-gold: var(--pf-global--palette--gold-700);
4
- --inc-c-label--icon-gold: #F4C145;
5
- --inc-c-label--border-gold: var(--pf-global--palette--gold-100)
2
+ --ins-c-label--gold-bg: #fdf7e7;
3
+ --inc-c-label--content-gold: var(--pf-global--palette--gold-700);
4
+ --inc-c-label--icon-gold: #F4C145;
5
+ --inc-c-label--border-gold: var(--pf-global--palette--gold-100)
6
6
  }
7
7
 
8
8
  .ins-c-label-2.pf-c-label {
9
- background-color: var(--ins-c-label--gold-bg);
10
- .pf-c-label__content {
11
- color: var(--inc-c-label--content-gold);
12
- .pf-c-label__icon {
13
- color: var(--inc-c-label--icon-gold);
14
- }
9
+ background-color: var(--ins-c-label--gold-bg);
10
+ .pf-c-label__content {
11
+ color: var(--inc-c-label--content-gold);
12
+ .pf-c-label__icon {
13
+ color: var(--inc-c-label--icon-gold);
15
14
  }
15
+ }
16
16
  }
17
- .ins-c-label-2.pf-c-label {.pf-c-label__content::before {
17
+ .ins-c-label-2.pf-c-label {
18
+ .pf-c-label__content::before {
18
19
  border: 1px solid var(--inc-c-label--border-gold);
19
- }}
20
+ }
21
+ }
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import React from 'react';
24
24
  import Icon404 from './icon-404';
25
- import { Title, Button } from '@patternfly/react-core';
25
+ import { Button, Title } from '@patternfly/react-core';
26
26
  import '../InvalidObject/invalidObject.css';
27
27
  var isBeta = function () {
28
28
  return window.location.pathname.split('/')[1] === 'beta' ? '/beta' : '';
@@ -1,11 +1,7 @@
1
1
  .Icon404 {
2
- height: 150px;
3
-
4
- .cls-1 { fill:#fff; }
5
-
6
- .cls-1,.cls-3{ fill-rule:evenodd;}
7
-
8
- .cls-2{ opacity:0.5;}
9
-
10
- .cls-4{ mask:url(#mask); }
2
+ height: 150px;
3
+ .cls-1 { fill:#fff; }
4
+ .cls-1,.cls-3{ fill-rule:evenodd;}
5
+ .cls-2{ opacity:0.5;}
6
+ .cls-4{ mask:url(#mask); }
11
7
  }
@@ -1,4 +1,4 @@
1
1
  export { default } from './LongTextTooltip';
2
- export { default as LongTextTooltip } from './LongTextTooltip.js';
2
+ export { default as LongTextTooltip } from './LongTextTooltip';
3
3
  export * from './LongTextTooltip';
4
4
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
1
  .pf-l-page__main .pf-l-page__main-section.pf-m-dark:not(:first-child) {
2
- background: var(--pf-global--BackgroundColor--dark-transparent-100);
2
+ background: var(--pf-global--BackgroundColor--dark-transparent-100);
3
3
  }
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import React from 'react';
24
24
  import classNames from 'classnames';
25
- import { EmptyState, EmptyStateBody, Title, Stack, StackItem, EmptyStateIcon } from '@patternfly/react-core';
25
+ import { EmptyState, EmptyStateBody, EmptyStateIcon, Stack, StackItem, Title } from '@patternfly/react-core';
26
26
  import { HourglassHalfIcon } from '@patternfly/react-icons';
27
27
  import '../Maintenance/maintenance.css';
28
28
  var Maintenance = function (_a) {
@@ -1,7 +1,7 @@
1
1
  .ins-c-empty-state__maintenance {
2
- .pf-c-empty-state__body {
3
- color: var(--pf-global--Color--100);
4
- }
5
- .pf-c-empty-state__icon { fill: #EE0000; } // This is Red Hat's red, not Patternfly's red.
6
- .pf-c-title { font-weight: 500; }
2
+ .pf-c-empty-state__body {
3
+ color: var(--pf-global--Color--100);
4
+ }
5
+ .pf-c-empty-state__icon { fill: #EE0000; } // This is Red Hat's red, not Patternfly's red.
6
+ .pf-c-title { font-weight: 500; }
7
7
  }
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import React from 'react';
24
- import { Title, Button, EmptyState, EmptyStateVariant, EmptyStateIcon, EmptyStateBody } from '@patternfly/react-core';
24
+ import { Button, EmptyState, EmptyStateBody, EmptyStateIcon, EmptyStateVariant, Title } from '@patternfly/react-core';
25
25
  import { LockIcon } from '@patternfly/react-icons';
26
26
  import '../NotAuthorized/NotAuthorized.css';
27
27
  var ContactBody = function () { return (React.createElement(React.Fragment, null,
@@ -1,7 +1,7 @@
1
1
  .ins-c-not-authorized {
2
- .pf-c-title {
3
- max-width: 540px;
4
- margin-left: auto;
5
- margin-right: auto;
6
- }
2
+ .pf-c-title {
3
+ max-width: 540px;
4
+ margin-left: auto;
5
+ margin-right: auto;
6
+ }
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { EmptyState, EmptyStateIcon, EmptyStateBody, Title, Button } from '@patternfly/react-core';
2
+ import { Button, EmptyState, EmptyStateBody, EmptyStateIcon, Title } from '@patternfly/react-core';
3
3
  import { DisconnectedIcon } from '@patternfly/react-icons';
4
4
  var NotConnected = function (_a) {
5
5
  var _b = _a.titleText, titleText = _b === void 0 ? 'This system isn’t connected to Insights yet' : _b, _c = _a.bodyText, bodyText = _c === void 0 ? 'To get started, activate the Insights client for this system.' : _c, _d = _a.buttonText, buttonText = _d === void 0 ? 'Learn how to activate the Insights client' : _d;
@@ -1,12 +1,12 @@
1
1
  @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
2
 
3
3
  .pf-l-page__main-section.pf-l-page-header.pf-m-dark-200 {
4
- h1.pf-c-title.pf-m-2xl, * { color: #fff; }
4
+ h1.pf-c-title.pf-m-2xl, * { color: #fff; }
5
5
  }
6
6
 
7
7
  .pf-l-page__main-section.pf-l-page-header {
8
- .pf-c-breadcrumb {
9
- display: block;
10
- @include rem('margin-bottom', 15px);
11
- }
8
+ .pf-c-breadcrumb {
9
+ display: block;
10
+ @include rem('margin-bottom', 15px);
11
+ }
12
12
  }
@@ -22,7 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import React from 'react';
24
24
  import { Button, ButtonVariant, TextInput } from '@patternfly/react-core';
25
- import { AngleDoubleLeftIcon, AngleLeftIcon, AngleDoubleRightIcon, AngleRightIcon } from '@patternfly/react-icons';
25
+ import { AngleDoubleLeftIcon, AngleDoubleRightIcon, AngleLeftIcon, AngleRightIcon } from '@patternfly/react-icons';
26
26
  var PaginationNav = function (_a) {
27
27
  var _b = _a.lastPage, lastPage = _b === void 0 ? 0 : _b, setPage = _a.setPage, _c = _a.pageTitle, pageTitle = _c === void 0 ? 'pages' : _c, amountOfPages = _a.amountOfPages, _d = _a.page, page = _d === void 0 ? 0 : _d, _e = _a.onFirstPage, onFirstPage = _e === void 0 ? function () { return undefined; } : _e, _f = _a.onLastPage, onLastPage = _f === void 0 ? function () { return undefined; } : _f, _g = _a.onPreviousPage, onPreviousPage = _g === void 0 ? function () { return undefined; } : _g, _h = _a.onNextPage, onNextPage = _h === void 0 ? function () { return undefined; } : _h, props = __rest(_a, ["lastPage", "setPage", "pageTitle", "amountOfPages", "page", "onFirstPage", "onLastPage", "onPreviousPage", "onNextPage"]);
28
28
  return (React.createElement("nav", __assign({ className: "pf-c-pagination__nav", "aria-label": "Pagination" }, props),
@@ -3,13 +3,12 @@
3
3
  @import '~@patternfly/patternfly/components/OptionsMenu/options-menu.scss';
4
4
 
5
5
  .ins-c-pagination-next .pf-c-options-menu {
6
- .pf-c-dropdown__menu .pf-c-dropdown__menu-item {
7
- display: flex;
8
-
9
- .pf-c-options-menu__menu-item-icon {
10
- padding-left: 0;
11
- }
6
+ .pf-c-dropdown__menu .pf-c-dropdown__menu-item {
7
+ display: flex;
8
+ .pf-c-options-menu__menu-item-icon {
9
+ padding-left: 0;
12
10
  }
11
+ }
13
12
  }
14
13
 
15
14
  .pf-c-pagination .pf-c-pagination__nav .pf-c-pagination__nav-page-select input { width: 75px; }
@@ -19,7 +19,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
19
19
  return to.concat(ar || Array.prototype.slice.call(from));
20
20
  };
21
21
  import React, { Fragment, useState } from 'react';
22
- import { Dropdown, DropdownItem, KebabToggle, Button, DropdownSeparator, ToolbarItem } from '@patternfly/react-core';
22
+ import { Button, Dropdown, DropdownItem, DropdownSeparator, KebabToggle, ToolbarItem } from '@patternfly/react-core';
23
23
  import { DownloadButton } from '../DownloadButton';
24
24
  import classNames from 'classnames';
25
25
  function isActionObject(node) {
@@ -30,7 +30,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
30
30
  return to.concat(ar || Array.prototype.slice.call(from));
31
31
  };
32
32
  import React from 'react';
33
- import { Toolbar, ToolbarContent, ToolbarGroup, ToolbarItem, Pagination, Button, ToolbarExpandIconWrapper, } from '@patternfly/react-core';
33
+ import { Button, Pagination, Toolbar, ToolbarContent, ToolbarExpandIconWrapper, ToolbarGroup, ToolbarItem, } from '@patternfly/react-core';
34
34
  import { AngleDownIcon, AngleRightIcon } from '@patternfly/react-icons';
35
35
  import { SortByDirection } from '@patternfly/react-table';
36
36
  import Actions from './Actions';
@@ -1,64 +1,53 @@
1
1
  .ins-c-primary-toolbar {
2
+ .pf-c-toolbar__item.ins-c-primary-toolbar__first-action {
3
+ display: initial;
4
+ }
5
+ .ins-c-primary-toolbar__first-action {
6
+ display: none;
7
+ }
8
+ .ins-c-primary-toolbar__pagination {
9
+ margin-left: auto;
10
+ }
11
+ .ins-c-primary-toolbar__sort-by {
12
+ display: initial
13
+ }
14
+ .ins-c-primary-toolbar__overflow-actions, .ins-c-primary-toolbar__overflow-actions-separator {
15
+ display: none;
16
+ }
17
+ .ins-m-actions--empty {
18
+ display: none;
19
+ }
20
+ .ins-c-primary-toolbar__group-filter {
21
+ flex-grow: initial;
22
+ .ins-c-primary-toolbar__filter {
23
+ flex: initial;
24
+ }
25
+ }
26
+ }
27
+
28
+ @media only screen and (max-width: 768px) {
29
+ .ins-c-primary-toolbar {
2
30
  .pf-c-toolbar__item.ins-c-primary-toolbar__first-action {
3
- display: initial;
31
+ display: none;
4
32
  }
5
-
6
33
  .ins-c-primary-toolbar__first-action {
7
- display: none;
8
- }
9
-
10
- .ins-c-primary-toolbar__pagination {
11
- margin-left: auto;
34
+ display: block;
12
35
  }
13
-
14
36
  .ins-c-primary-toolbar__sort-by {
15
- display: initial
37
+ display: none
16
38
  }
17
-
18
39
  .ins-c-primary-toolbar__overflow-actions, .ins-c-primary-toolbar__overflow-actions-separator {
19
- display: none;
20
- }
21
-
22
- .ins-m-actions--empty {
23
- display: none;
40
+ display: block;
24
41
  }
25
-
26
42
  .ins-c-primary-toolbar__group-filter {
27
- flex-grow: initial;
28
- .ins-c-primary-toolbar__filter {
29
- flex: initial;
30
- }
43
+ margin-right: 0;
44
+ flex-grow: 1;
45
+ .ins-c-primary-toolbar__filter {
46
+ flex: 1;
47
+ }
31
48
  }
32
- }
33
-
34
- @media only screen and (max-width: 768px) {
35
- .ins-c-primary-toolbar {
36
- .pf-c-toolbar__item.ins-c-primary-toolbar__first-action {
37
- display: none;
38
- }
39
-
40
- .ins-c-primary-toolbar__first-action {
41
- display: block;
42
- }
43
-
44
- .ins-c-primary-toolbar__sort-by {
45
- display: none
46
- }
47
-
48
- .ins-c-primary-toolbar__overflow-actions, .ins-c-primary-toolbar__overflow-actions-separator {
49
- display: block;
50
- }
51
-
52
- .ins-c-primary-toolbar__group-filter {
53
- margin-right: 0;
54
- flex-grow: 1;
55
- .ins-c-primary-toolbar__filter {
56
- flex: 1;
57
- }
58
- }
59
-
60
- .ins-m-actions--empty {
61
- display: block;
62
- }
49
+ .ins-m-actions--empty {
50
+ display: block;
63
51
  }
52
+ }
64
53
  }
@@ -1,12 +1,12 @@
1
1
  @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
2
 
3
3
  .ins-c-reboot {
4
- span {
5
- // 4px because the battery icon is 1px bigger than the reboot icon
6
- @include rem('margin-left', 4px);
7
- }
4
+ span {
5
+ // 4px because the battery icon is 1px bigger than the reboot icon
6
+ @include rem('margin-left', 4px);
7
+ }
8
8
 
9
- &.ins-m-red {
10
- span, svg { color: var(--pf-global--danger-color--100); }
11
- }
9
+ &.ins-m-red {
10
+ span, svg { color: var(--pf-global--danger-color--100); }
11
+ }
12
12
  }
@@ -21,7 +21,7 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  return t;
22
22
  };
23
23
  import React, { useState } from 'react';
24
- import { Button, ButtonVariant, Dropdown, DropdownToggle, DropdownItem } from '@patternfly/react-core';
24
+ import { Button, ButtonVariant, Dropdown, DropdownItem, DropdownToggle } from '@patternfly/react-core';
25
25
  import { Input } from '../Input';
26
26
  import { SearchIcon } from '@patternfly/react-icons';
27
27
  import '../SimpleTableFilter/simple-table-filter.css';
@@ -5,14 +5,14 @@
5
5
  @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
6
6
 
7
7
  .pf-c-input-group.ins-c-filter {
8
- &.ins-u-no-title input {
9
- @include rem('padding-right', 35px);
10
- @include rem('margin-right', -23px);
11
- }
12
- .ins-c-search-icon {
13
- color: var(--pf-global--secondary-color--100);
14
- position: relative;
15
- @include rem('left', -5px);
16
- @include rem('top', 8px);
17
- }
8
+ &.ins-u-no-title input {
9
+ @include rem('padding-right', 35px);
10
+ @include rem('margin-right', -23px);
11
+ }
12
+ .ins-c-search-icon {
13
+ color: var(--pf-global--secondary-color--100);
14
+ position: relative;
15
+ @include rem('left', -5px);
16
+ @include rem('top', 8px);
17
+ }
18
18
  }
@@ -1,18 +1,18 @@
1
1
  .ins-c-skeleton {
2
- &__xs { width: 16% !important; }
3
- &__sm { width: 33% !important; }
4
- &__md { width: 66% !important; }
5
- &__lg { width: 100% !important; }
6
- &.ins-m-dark {
7
- --pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
8
- --pf-c-skeleton--after--LinearGradientColorStop1: var(
9
- --pf-global--palette--black-600
10
- );
11
- --pf-c-skeleton--after--LinearGradientColorStop2: var(
12
- --pf-global--palette--black-500
13
- );
14
- --pf-c-skeleton--after--LinearGradientColorStop3: var(
15
- --pf-global--palette--black-600
16
- );
17
- }
2
+ &__xs { width: 16% !important; }
3
+ &__sm { width: 33% !important; }
4
+ &__md { width: 66% !important; }
5
+ &__lg { width: 100% !important; }
6
+ &.ins-m-dark {
7
+ --pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
8
+ --pf-c-skeleton--after--LinearGradientColorStop1: var(
9
+ --pf-global--palette--black-600
10
+ );
11
+ --pf-c-skeleton--after--LinearGradientColorStop2: var(
12
+ --pf-global--palette--black-500
13
+ );
14
+ --pf-c-skeleton--after--LinearGradientColorStop3: var(
15
+ --pf-global--palette--black-600
16
+ );
17
+ }
18
18
  }
@@ -8,7 +8,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
8
8
  return to.concat(ar || Array.prototype.slice.call(from));
9
9
  };
10
10
  import React from 'react';
11
- import { RowSelectVariant, Table, TableHeader, TableBody } from '@patternfly/react-table';
11
+ import { RowSelectVariant, Table, TableBody, TableHeader } from '@patternfly/react-table';
12
12
  import { Skeleton, SkeletonSize } from '../Skeleton';
13
13
  import classNames from 'classnames';
14
14
  import '../SkeletonTable/SkeletonTable.css';
@@ -1,3 +1,3 @@
1
1
  .ins-c-skeleton-table__dark {
2
- background-color: #1b1d21 !important;
2
+ background-color: #1b1d21 !important;
3
3
  }
@@ -1,24 +1,22 @@
1
1
  @import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
2
2
 
3
3
  @keyframes spinner {
4
- to { transform: rotate(360deg); }
4
+ to { transform: rotate(360deg); }
5
5
  }
6
6
 
7
7
  .ins-c-spinner {
8
- display: inline-flex;
9
-
10
- &.ins-m-center {
11
- display: flex;
12
- justify-content: center;
13
- }
14
-
15
- &:before {
16
- content: '';
17
- @include rem('width', 30px);
18
- @include rem('height', 30px);
19
- border-radius: 50%;
20
- border: 3px solid var(--pf-global--active-color--200);
21
- border-top-color: var(--pf-global--active-color--100);
22
- animation: spinner 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
23
- }
8
+ display: inline-flex;
9
+ &.ins-m-center {
10
+ display: flex;
11
+ justify-content: center;
12
+ }
13
+ &:before {
14
+ content: '';
15
+ @include rem('width', 30px);
16
+ @include rem('height', 30px);
17
+ border-radius: 50%;
18
+ border: 3px solid var(--pf-global--active-color--200);
19
+ border-top-color: var(--pf-global--active-color--100);
20
+ animation: spinner 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
21
+ }
24
22
  }
@@ -6,9 +6,9 @@
6
6
  }
7
7
 
8
8
  .ins-c-table__toolbar, .ins-c-table__toolbar-results {
9
- background: var(--pf-global--Color--light-100);
10
- border-bottom: 1px solid var(--pf-global--BorderColor--light-200);
11
- padding: var(--ins-c-table-toolbar--PaddingVertical) var(--ins-c-table-toolbar--PaddingHorizontal);
9
+ background: var(--pf-global--Color--light-100);
10
+ border-bottom: 1px solid var(--pf-global--BorderColor--light-200);
11
+ padding: var(--ins-c-table-toolbar--PaddingVertical) var(--ins-c-table-toolbar--PaddingHorizontal);
12
12
  }
13
13
 
14
14
  .ins-c-table__toolbar.ins-m-footer { border-top: 1px solid var(--pf-global--BorderColor--light-200); }
@@ -16,13 +16,13 @@
16
16
  .ins-c-table__toolbar-results { color: var(--pf-global--Color--200); }
17
17
 
18
18
  .ins-c-table__toolbar-results-count + .ins-c-table__toolbar-results-selected {
19
- @include rem('margin-left', 15px);
20
- @include rem('padding-left', 15px);
21
- border-left: 2px solid var(--pf-global--BorderColor--light);
19
+ @include rem('margin-left', 15px);
20
+ @include rem('padding-left', 15px);
21
+ border-left: 2px solid var(--pf-global--BorderColor--light);
22
22
  }
23
23
 
24
24
  @media only screen and (max-width: 768px) {
25
- .ins-c-table__toolbar, .ins-c-table__toolbar-results {
26
- padding: 0 0;
27
- }
25
+ .ins-c-table__toolbar, .ins-c-table__toolbar-results {
26
+ padding: 0 0;
27
+ }
28
28
  }
@@ -1,9 +1,9 @@
1
1
  button.ins-c-tag-count {
2
- color: var(--pf-global--icon--Color--light);
3
- display: flex;
4
- align-content: center;
2
+ color: var(--pf-global--icon--Color--light);
3
+ display: flex;
4
+ align-content: center;
5
5
  }
6
6
 
7
7
  .ins-c-tag__text {
8
- margin-left: 10px;
8
+ margin-left: 10px;
9
9
  }