Skip to content

Commit fca3782

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/packages/themes/examples/sass-modules/next-14.2.26
2 parents 9596cfe + 429a792 commit fca3782

File tree

12 files changed

+259
-223
lines changed

12 files changed

+259
-223
lines changed

packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,45 @@ Map {
16841684
},
16851685
},
16861686
"ContentSwitcher" => Object {
1687-
"displayName": "ClassWrapper(ContentSwitcher)",
1687+
"displayName": "ContentSwitcher",
1688+
"propTypes": Object {
1689+
"children": Object {
1690+
"type": "node",
1691+
},
1692+
"className": Object {
1693+
"type": "string",
1694+
},
1695+
"light": [Function],
1696+
"lowContrast": Object {
1697+
"type": "bool",
1698+
},
1699+
"onChange": Object {
1700+
"isRequired": true,
1701+
"type": "func",
1702+
},
1703+
"selectedIndex": Object {
1704+
"type": "number",
1705+
},
1706+
"selectionMode": Object {
1707+
"args": Array [
1708+
Array [
1709+
"automatic",
1710+
"manual",
1711+
],
1712+
],
1713+
"type": "oneOf",
1714+
},
1715+
"size": Object {
1716+
"args": Array [
1717+
Array [
1718+
"sm",
1719+
"md",
1720+
"lg",
1721+
],
1722+
],
1723+
"type": "oneOf",
1724+
},
1725+
},
16881726
},
16891727
"ControlledPasswordInput" => Object {
16901728
"$$typeof": Symbol(react.forward_ref),

packages/react/src/components/ContentSwitcher/ContentSwitcher-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright IBM Corp. 2016, 2023
2+
* Copyright IBM Corp. 2016, 2025
33
*
44
* This source code is licensed under the Apache-2.0 license found in the
55
* LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@
88
import { render, screen } from '@testing-library/react';
99
import userEvent from '@testing-library/user-event';
1010
import React from 'react';
11-
import ContentSwitcher from './ContentSwitcher';
11+
import { ContentSwitcher } from './ContentSwitcher';
1212
import Switch from '../Switch';
1313

1414
describe('ContentSwitcher - RTL', () => {

packages/react/src/components/ContentSwitcher/ContentSwitcher.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Story, ArgTypes, Canvas, Meta } from '@storybook/blocks';
2-
import ContentSwitcher from '../ContentSwitcher';
2+
import { ContentSwitcher } from '../ContentSwitcher';
33
import Switch from '../Switch';
44
import * as ContentSwitcherStories from './ContentSwitcher.stories.js';
55
import { stackblitzPrefillConfig } from '../../../previewer/codePreviewer';

packages/react/src/components/ContentSwitcher/ContentSwitcher.stories.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright IBM Corp. 2016, 2023
2+
* Copyright IBM Corp. 2016, 2025
33
*
44
* This source code is licensed under the Apache-2.0 license found in the
55
* LICENSE file in the root directory of this source tree.
@@ -8,7 +8,7 @@
88
import React from 'react';
99

1010
import { WithLayer } from '../../../.storybook/templates/WithLayer';
11-
import ContentSwitcher from './ContentSwitcher';
11+
import { ContentSwitcher } from './ContentSwitcher';
1212
import { Switch, IconSwitch } from '../Switch';
1313
import mdx from './ContentSwitcher.mdx';
1414
import {

0 commit comments

Comments
 (0)