@indico-data/design-system 3.0.1 → 3.0.2
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.
- package/lib/index.css +69 -53
- package/lib/index.esm.css +69 -53
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/floatUI/styles/FloatUI.scss +1 -0
- package/src/components/pagination/Pagination.tsx +1 -1
- package/src/components/pagination/__tests__/Pagination.test.tsx +5 -0
- package/src/components/pill/styles/Pill.scss +33 -33
- package/src/components/tanstackTable/styles/table.scss +0 -18
- package/src/components/tooltip/Tooltip.tsx +0 -1
- package/src/styles/globals.scss +1 -1
- package/src/styles/variables/themes/dark.scss +17 -2
- package/src/styles/variables/themes/light.scss +17 -2
package/lib/index.js
CHANGED
|
@@ -5542,7 +5542,7 @@ const Pagination = (_a) => {
|
|
|
5542
5542
|
const hasError = Number(inputValue) > totalPages || Number(inputValue) < 1;
|
|
5543
5543
|
return (jsxRuntime.jsx("div", Object.assign({ className: classes }, rest, { children: jsxRuntime.jsx(Container, { children: jsxRuntime.jsxs(Row, { gutterWidth: 12, align: "center", children: [jsxRuntime.jsx(Col, { xs: "content", children: jsxRuntime.jsx("div", { className: "pagination__previous", children: jsxRuntime.jsx(Button$1, { "data-testid": "pagination-previous-button", ariaLabel: "Previous Page", variant: "link", onClick: handlePreviousPage, iconLeft: "chevron-left", isDisabled: isPreviousButtonDisabled }) }) }), jsxRuntime.jsx(Col, { xs: "content", children: jsxRuntime.jsx("div", { className: "pagination__current-page", children: jsxRuntime.jsx(LabeledInput, { "data-testid": "pagination-current-page-input", className: classNames('pagination__current-page-input', {
|
|
5544
5544
|
'has-error': hasError,
|
|
5545
|
-
}), value: inputValue, name: "currentPage", label: "Current Page", hasHiddenLabel: true, onKeyDown: (e) => {
|
|
5545
|
+
}), value: totalPages === 0 ? '0' : inputValue, name: "currentPage", label: "Current Page", hasHiddenLabel: true, onKeyDown: (e) => {
|
|
5546
5546
|
if (e.key === 'Enter') {
|
|
5547
5547
|
validateAndUpdatePage(e.currentTarget.value);
|
|
5548
5548
|
}
|
|
@@ -43060,7 +43060,7 @@ const h="react-tooltip-core-styles",w="react-tooltip-base-styles",b={core:!1,bas
|
|
|
43060
43060
|
|
|
43061
43061
|
const Tooltip = (_a) => {
|
|
43062
43062
|
var { id, clickToShow, delayShow, delayHide, children, zIndex = 1000, place = 'top' } = _a, rest = __rest(_a, ["id", "clickToShow", "delayShow", "delayHide", "children", "zIndex", "place"]);
|
|
43063
|
-
return (jsxRuntime.jsx(M, Object.assign({
|
|
43063
|
+
return (jsxRuntime.jsx(M, Object.assign({ style: {
|
|
43064
43064
|
backgroundColor: 'var(--pf-tooltip-background-color)',
|
|
43065
43065
|
color: 'var(--pf-tooltip-font-color)',
|
|
43066
43066
|
zIndex,
|