@carbon/ibm-products 2.43.2-canary.111 → 2.43.2-canary.113
Sign up to get free protection for your applications and to get access to all the features.
- package/css/config-dev.css +6 -1
- package/css/config-dev.css.map +1 -1
- package/css/config.css +6 -1
- package/css/config.css.map +1 -1
- package/css/index-full-carbon.css +66 -56
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +48 -56
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +66 -56
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +66 -56
- package/css/index.css.map +1 -1
- package/css/index.min.css.map +1 -1
- package/es/components/APIKeyModal/APIKeyModal.types.d.ts +6 -0
- package/es/components/AddSelect/types/index.d.ts +6 -0
- package/es/components/Coachmark/utils/enums.d.ts +6 -0
- package/es/components/DataSpreadsheet/types/index.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
- package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
- package/es/components/Datagrid/common-column-ids.d.ts +6 -0
- package/es/components/Datagrid/types/index.d.ts +6 -0
- package/es/components/Datagrid/useDatagrid.d.ts +6 -0
- package/es/components/Datagrid/useDisableSelectRows.d.ts +6 -0
- package/es/components/Datagrid/useInitialColumnSort.js +4 -0
- package/es/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
- package/es/components/Datagrid/useSortableColumns.d.ts +5 -4
- package/es/components/Datagrid/useSortableColumns.js +18 -13
- package/es/components/StringFormatter/utils/enums.js +7 -0
- package/es/global/js/utils/scrollableAncestor.js +7 -0
- package/es/global/js/utils/uuidv4.d.ts +6 -0
- package/es/global/js/utils/uuidv4.js +2 -0
- package/es/global/js/utils/wait.d.ts +6 -0
- package/es/global/js/utils/wait.js +2 -0
- package/flags.js +7 -0
- package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +6 -0
- package/lib/components/AddSelect/types/index.d.ts +6 -0
- package/lib/components/Coachmark/utils/enums.d.ts +6 -0
- package/lib/components/DataSpreadsheet/types/index.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +6 -0
- package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +7 -0
- package/lib/components/Datagrid/common-column-ids.d.ts +6 -0
- package/lib/components/Datagrid/types/index.d.ts +6 -0
- package/lib/components/Datagrid/useDatagrid.d.ts +6 -0
- package/lib/components/Datagrid/useDisableSelectRows.d.ts +6 -0
- package/lib/components/Datagrid/useInitialColumnSort.js +4 -0
- package/lib/components/Datagrid/useRowIsMouseOver.d.ts +6 -0
- package/lib/components/Datagrid/useSortableColumns.d.ts +5 -4
- package/lib/components/Datagrid/useSortableColumns.js +18 -13
- package/lib/components/StringFormatter/utils/enums.js +7 -0
- package/lib/global/js/utils/scrollableAncestor.js +7 -0
- package/lib/global/js/utils/uuidv4.d.ts +6 -0
- package/lib/global/js/utils/uuidv4.js +2 -0
- package/lib/global/js/utils/wait.d.ts +6 -0
- package/lib/global/js/utils/wait.js +2 -0
- package/package.json +2 -2
- package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +7 -0
- package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -0
- package/scss/components/ConditionBuilder/styles/_index.scss +7 -0
- package/scss/components/Datagrid/styles/_useActionsColumn.scss +6 -7
- package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +6 -7
- package/scss/components/Datagrid/styles/_useExpandedRow.scss +6 -7
- package/scss/components/Datagrid/styles/_useInlineEdit.scss +6 -7
- package/scss/components/Datagrid/styles/_useNestedRows.scss +6 -7
- package/scss/components/Datagrid/styles/_useNestedTable.scss +6 -7
- package/scss/components/Datagrid/styles/_useStickyColumn.scss +6 -7
- package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +6 -7
- package/scss/config-dev.scss +7 -0
- package/scss/config.scss +7 -0
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { DataGridState } from '../types';
|
2
8
|
declare const DatagridRefBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
|
3
9
|
export default DatagridRefBody;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { DataGridState } from '../types';
|
2
8
|
declare const DatagridSimpleBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
|
3
9
|
export default DatagridSimpleBody;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { PropsWithChildren, ReactNode } from 'react';
|
2
8
|
import PropTypes from 'prop-types';
|
3
9
|
interface DraggableElementProps extends PropsWithChildren {
|
@@ -7,6 +7,13 @@
|
|
7
7
|
|
8
8
|
import { objectSpread2 as _objectSpread2, defineProperty as _defineProperty, toConsumableArray as _toConsumableArray } from '../../../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
|
10
|
+
/**
|
11
|
+
* Copyright IBM Corp. 2024
|
12
|
+
*
|
13
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
15
|
+
*/
|
16
|
+
|
10
17
|
var handleCheckboxChange = function handleCheckboxChange(_ref) {
|
11
18
|
var _option$onChange;
|
12
19
|
var checked = _ref.checked,
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
/// <reference path="../../../../src/custom-typings/index.d.ts" />
|
2
8
|
import { MultiSelectProps } from '@carbon/react/lib/components/MultiSelect/MultiSelect';
|
3
9
|
import { FormGroupProps } from '@carbon/react/lib/components/FormGroup/FormGroup';
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { TableInstance } from 'react-table';
|
2
8
|
declare const useDatagrid: (params: any, ...plugins: any[]) => TableInstance;
|
3
9
|
export default useDatagrid;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { Hooks } from 'react-table';
|
2
8
|
declare const useDisableSelectRows: (hooks: Hooks) => void;
|
3
9
|
export default useDisableSelectRows;
|
@@ -29,6 +29,10 @@ var useInitialColumnSort = function useInitialColumnSort(instance) {
|
|
29
29
|
if (sortableColumn) {
|
30
30
|
var columnId = sortableColumn.id,
|
31
31
|
order = sortableColumn.order;
|
32
|
+
// prevents edge case where initial sort state of none actually starts out as ascending
|
33
|
+
if (order !== 'ASC' && order !== 'DESC') {
|
34
|
+
return;
|
35
|
+
}
|
32
36
|
var _getNewSortOrder = getNewSortOrder(order),
|
33
37
|
newSortDesc = _getNewSortOrder.newSortDesc,
|
34
38
|
newOrder = _getNewSortOrder.newOrder;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { Hooks } from 'react-table';
|
2
8
|
declare const useRowIsMouseOver: (hooks: Hooks) => void;
|
3
9
|
export default useRowIsMouseOver;
|
@@ -5,9 +5,10 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import { Hooks } from 'react-table';
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
8
|
+
interface Order {
|
9
|
+
newOrder: 'ASC' | 'DESC' | 'NONE';
|
10
|
+
newSortDesc: undefined | boolean;
|
11
|
+
}
|
12
|
+
export declare const getNewSortOrder: (currentOrder?: boolean | string) => Order;
|
12
13
|
declare const useSortableColumns: (hooks: Hooks) => void;
|
13
14
|
export default useSortableColumns;
|
@@ -15,23 +15,28 @@ import { SelectAll } from './Datagrid/DatagridSelectAll.js';
|
|
15
15
|
import { DatagridSlug } from './Datagrid/addons/Slug/DatagridSlug.js';
|
16
16
|
|
17
17
|
var blockClass = "".concat(pkg.prefix, "--datagrid");
|
18
|
-
var
|
19
|
-
ASC: 'ASC',
|
20
|
-
DESC: 'DESC',
|
21
|
-
NONE: 'NONE'
|
22
|
-
};
|
23
|
-
var getNewSortOrder = function getNewSortOrder(sortOrder) {
|
18
|
+
var getNewSortOrder = function getNewSortOrder(currentOrder) {
|
24
19
|
var order = {
|
25
|
-
|
26
|
-
|
20
|
+
newOrder: 'NONE',
|
21
|
+
newSortDesc: undefined
|
27
22
|
};
|
28
|
-
|
29
|
-
|
23
|
+
|
24
|
+
// NONE => ASC
|
25
|
+
if (currentOrder === undefined) {
|
26
|
+
order.newOrder = 'ASC';
|
27
|
+
order.newSortDesc = false;
|
28
|
+
}
|
29
|
+
|
30
|
+
// ACS => DESC
|
31
|
+
if (currentOrder === false || currentOrder === 'DESC') {
|
32
|
+
order.newOrder = 'DESC';
|
30
33
|
order.newSortDesc = true;
|
31
34
|
}
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
+
|
36
|
+
// DESC => NONE
|
37
|
+
if (currentOrder === true || currentOrder === 'ASC') {
|
38
|
+
order.newOrder = 'NONE';
|
39
|
+
order.newSortDesc = undefined;
|
35
40
|
}
|
36
41
|
return order;
|
37
42
|
};
|
@@ -7,6 +7,13 @@
|
|
7
7
|
|
8
8
|
import { defineProperty as _defineProperty } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
|
10
|
+
/**
|
11
|
+
* Copyright IBM Corp. 2024
|
12
|
+
*
|
13
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
15
|
+
*/
|
16
|
+
|
10
17
|
var deprecated_StringFormatterAlignment = {
|
11
18
|
TOP: 'top',
|
12
19
|
TOP_LEFT: 'top-left',
|
@@ -7,6 +7,13 @@
|
|
7
7
|
|
8
8
|
import { typeof as _typeof } from '../../../_virtual/_rollupPluginBabelHelpers.js';
|
9
9
|
|
10
|
+
/**
|
11
|
+
* Copyright IBM Corp. 2024
|
12
|
+
*
|
13
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
15
|
+
*/
|
16
|
+
|
10
17
|
var windowExists = (typeof window === "undefined" ? "undefined" : _typeof(window)) !== "undefined";
|
11
18
|
|
12
19
|
// determine whether the target is scrollable
|
@@ -5,6 +5,8 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
|
8
|
+
// https://stackoverflow.com/a/2117523
|
9
|
+
|
8
10
|
function uuidv4() {
|
9
11
|
var randomValues = function randomValues(c) {
|
10
12
|
return typeof crypto !== 'undefined' ? crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4 : Math.random() * 16 >> c / 4;
|
package/flags.js
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
1
8
|
const { pkg } = require('./lib/settings.js');
|
2
9
|
const { component, feature } = pkg;
|
3
10
|
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { ReactNode } from 'react';
|
2
8
|
export type Theme = 'light' | 'dark';
|
3
9
|
export interface Filter {
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
export type Size = 'xs' | 'sm' | 'md' | 'lg';
|
2
8
|
export type Theme = 'light' | 'dark';
|
3
9
|
export interface SpreadsheetColumn {
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { DataGridState } from '../types';
|
2
8
|
declare const DatagridBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
|
3
9
|
export default DatagridBody;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { DataGridState } from '../types';
|
2
8
|
declare const DatagridRefBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
|
3
9
|
export default DatagridRefBody;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { DataGridState } from '../types';
|
2
8
|
declare const DatagridSimpleBody: (datagridState: DataGridState) => import("react/jsx-runtime").JSX.Element;
|
3
9
|
export default DatagridSimpleBody;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { PropsWithChildren, ReactNode } from 'react';
|
2
8
|
import PropTypes from 'prop-types';
|
3
9
|
interface DraggableElementProps extends PropsWithChildren {
|
@@ -11,6 +11,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../../../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
|
14
|
+
/**
|
15
|
+
* Copyright IBM Corp. 2024
|
16
|
+
*
|
17
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
19
|
+
*/
|
20
|
+
|
14
21
|
var handleCheckboxChange = function handleCheckboxChange(_ref) {
|
15
22
|
var _option$onChange;
|
16
23
|
var checked = _ref.checked,
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
/// <reference path="../../../../src/custom-typings/index.d.ts" />
|
2
8
|
import { MultiSelectProps } from '@carbon/react/lib/components/MultiSelect/MultiSelect';
|
3
9
|
import { FormGroupProps } from '@carbon/react/lib/components/FormGroup/FormGroup';
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { TableInstance } from 'react-table';
|
2
8
|
declare const useDatagrid: (params: any, ...plugins: any[]) => TableInstance;
|
3
9
|
export default useDatagrid;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2020, 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { Hooks } from 'react-table';
|
2
8
|
declare const useDisableSelectRows: (hooks: Hooks) => void;
|
3
9
|
export default useDisableSelectRows;
|
@@ -33,6 +33,10 @@ var useInitialColumnSort = function useInitialColumnSort(instance) {
|
|
33
33
|
if (sortableColumn) {
|
34
34
|
var columnId = sortableColumn.id,
|
35
35
|
order = sortableColumn.order;
|
36
|
+
// prevents edge case where initial sort state of none actually starts out as ascending
|
37
|
+
if (order !== 'ASC' && order !== 'DESC') {
|
38
|
+
return;
|
39
|
+
}
|
36
40
|
var _getNewSortOrder = useSortableColumns.getNewSortOrder(order),
|
37
41
|
newSortDesc = _getNewSortOrder.newSortDesc,
|
38
42
|
newOrder = _getNewSortOrder.newOrder;
|
@@ -1,3 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
1
7
|
import { Hooks } from 'react-table';
|
2
8
|
declare const useRowIsMouseOver: (hooks: Hooks) => void;
|
3
9
|
export default useRowIsMouseOver;
|
@@ -5,9 +5,10 @@
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
6
6
|
*/
|
7
7
|
import { Hooks } from 'react-table';
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
}
|
8
|
+
interface Order {
|
9
|
+
newOrder: 'ASC' | 'DESC' | 'NONE';
|
10
|
+
newSortDesc: undefined | boolean;
|
11
|
+
}
|
12
|
+
export declare const getNewSortOrder: (currentOrder?: boolean | string) => Order;
|
12
13
|
declare const useSortableColumns: (hooks: Hooks) => void;
|
13
14
|
export default useSortableColumns;
|
@@ -24,23 +24,28 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
24
24
|
var cx__default = /*#__PURE__*/_interopDefaultLegacy(cx);
|
25
25
|
|
26
26
|
var blockClass = "".concat(settings.pkg.prefix, "--datagrid");
|
27
|
-
var
|
28
|
-
ASC: 'ASC',
|
29
|
-
DESC: 'DESC',
|
30
|
-
NONE: 'NONE'
|
31
|
-
};
|
32
|
-
var getNewSortOrder = function getNewSortOrder(sortOrder) {
|
27
|
+
var getNewSortOrder = function getNewSortOrder(currentOrder) {
|
33
28
|
var order = {
|
34
|
-
|
35
|
-
|
29
|
+
newOrder: 'NONE',
|
30
|
+
newSortDesc: undefined
|
36
31
|
};
|
37
|
-
|
38
|
-
|
32
|
+
|
33
|
+
// NONE => ASC
|
34
|
+
if (currentOrder === undefined) {
|
35
|
+
order.newOrder = 'ASC';
|
36
|
+
order.newSortDesc = false;
|
37
|
+
}
|
38
|
+
|
39
|
+
// ACS => DESC
|
40
|
+
if (currentOrder === false || currentOrder === 'DESC') {
|
41
|
+
order.newOrder = 'DESC';
|
39
42
|
order.newSortDesc = true;
|
40
43
|
}
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
+
|
45
|
+
// DESC => NONE
|
46
|
+
if (currentOrder === true || currentOrder === 'ASC') {
|
47
|
+
order.newOrder = 'NONE';
|
48
|
+
order.newSortDesc = undefined;
|
44
49
|
}
|
45
50
|
return order;
|
46
51
|
};
|
@@ -11,6 +11,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
|
14
|
+
/**
|
15
|
+
* Copyright IBM Corp. 2024
|
16
|
+
*
|
17
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
19
|
+
*/
|
20
|
+
|
14
21
|
var deprecated_StringFormatterAlignment = {
|
15
22
|
TOP: 'top',
|
16
23
|
TOP_LEFT: 'top-left',
|
@@ -11,6 +11,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
12
12
|
var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHelpers.js');
|
13
13
|
|
14
|
+
/**
|
15
|
+
* Copyright IBM Corp. 2024
|
16
|
+
*
|
17
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
19
|
+
*/
|
20
|
+
|
14
21
|
var windowExists = (typeof window === "undefined" ? "undefined" : _rollupPluginBabelHelpers["typeof"](window)) !== "undefined";
|
15
22
|
|
16
23
|
// determine whether the target is scrollable
|
@@ -9,6 +9,8 @@
|
|
9
9
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
11
11
|
|
12
|
+
// https://stackoverflow.com/a/2117523
|
13
|
+
|
12
14
|
function uuidv4() {
|
13
15
|
var randomValues = function randomValues(c) {
|
14
16
|
return typeof crypto !== 'undefined' ? crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4 : Math.random() * 16 >> c / 4;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carbon/ibm-products",
|
3
3
|
"description": "Carbon for IBM Products",
|
4
|
-
"version": "2.43.2-canary.
|
4
|
+
"version": "2.43.2-canary.113+c246a3d4c",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "lib/index.js",
|
7
7
|
"module": "es/index.js",
|
@@ -120,5 +120,5 @@
|
|
120
120
|
"react": "^16.8.6 || ^17.0.1 || ^18.2.0",
|
121
121
|
"react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
|
122
122
|
},
|
123
|
-
"gitHead": "
|
123
|
+
"gitHead": "c246a3d4cebb84b68cc879805e84466fd81dc1ab"
|
124
124
|
}
|
@@ -1,3 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
7
|
+
|
1
8
|
@use '@carbon/react/scss/theme' as *;
|
2
9
|
@use '@carbon/react/scss/spacing' as *;
|
3
10
|
@use '@carbon/react/scss/motion' as *;
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use '@carbon/styles/scss/spacing' as *;
|
10
9
|
@use '@carbon/styles/scss/theme';
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
*
|
3
|
-
*
|
4
|
-
*
|
5
|
-
*
|
6
|
-
|
7
|
-
*/
|
1
|
+
/**
|
2
|
+
* Copyright IBM Corp. 2024
|
3
|
+
*
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
6
|
+
*/
|
8
7
|
|
9
8
|
@use './variables';
|
10
9
|
|