@charcoal-ui/react 5.0.0 → 5.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@charcoal-ui/react",
3
- "version": "5.0.0",
3
+ "version": "5.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -22,8 +22,6 @@
22
22
  "devDependencies": {
23
23
  "@react-types/dialog": "^3.5.15",
24
24
  "@react-types/switch": "^3.1.2",
25
- "@storybook/addon-actions": "^8.0.5",
26
- "@storybook/react": "^8.0.5",
27
25
  "@testing-library/jest-dom": "^6.6.3",
28
26
  "@testing-library/react": "^16.2.0",
29
27
  "@testing-library/user-event": "^13.5.0",
@@ -55,10 +53,10 @@
55
53
  "react-spring": "^9.0.0",
56
54
  "react-stately": "^3.26.0",
57
55
  "warning": "^4.0.3",
58
- "@charcoal-ui/theme": "5.0.0",
59
- "@charcoal-ui/foundation": "5.0.0",
60
- "@charcoal-ui/icons": "5.0.0",
61
- "@charcoal-ui/utils": "5.0.0"
56
+ "@charcoal-ui/foundation": "5.2.0",
57
+ "@charcoal-ui/theme": "5.2.0",
58
+ "@charcoal-ui/icons": "5.2.0",
59
+ "@charcoal-ui/utils": "5.2.0"
62
60
  },
63
61
  "peerDependencies": {
64
62
  "react": ">=17.0.0"
package/src/README.mdx CHANGED
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas, Props } from '@storybook/addon-docs'
1
+ import { Meta, Story, Canvas, Props } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="react/README" />
4
4
 
package/src/SSR.mdx CHANGED
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/addon-docs'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="react/SSR Guide" />
4
4
 
@@ -1,5 +1,5 @@
1
1
  import Button from '.'
2
- import { Meta, StoryObj } from '@storybook/react'
2
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
3
3
 
4
4
  export default {
5
5
  title: 'react/Button',
@@ -1,5 +1,5 @@
1
1
  import CheckboxInput from '.'
2
- import { Meta, StoryObj } from '@storybook/react'
2
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
3
3
  import { useState } from 'react'
4
4
 
5
5
  export default {
@@ -1,5 +1,5 @@
1
1
  import Checkbox from '.'
2
- import { Meta, StoryObj } from '@storybook/react'
2
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
3
3
  import { useCallback, useState } from 'react'
4
4
 
5
5
  export default {
@@ -1,6 +1,6 @@
1
- import { action } from '@storybook/addon-actions'
1
+ import { action } from 'storybook/actions'
2
2
  import Clickable from '.'
3
- import { Meta, StoryObj } from '@storybook/react'
3
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
4
4
 
5
5
  export default {
6
6
  title: 'react/Clickable',
@@ -2,7 +2,7 @@ import React, { useState } from 'react'
2
2
  import Icon from '../../Icon'
3
3
  import Switch from '../../Switch'
4
4
  import ListItem from '.'
5
- import { Meta, StoryObj } from '@storybook/react'
5
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
6
6
 
7
7
  export default {
8
8
  title: 'react/internals/ListItem',
@@ -1,8 +1,8 @@
1
- import { action } from '@storybook/addon-actions'
1
+ import { action } from 'storybook/actions'
2
2
  import MenuList from '.'
3
3
  import MenuItem from '../MenuItem'
4
4
  import MenuItemGroup from '../MenuItemGroup'
5
- import { Meta, StoryObj } from '@storybook/react'
5
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
6
6
 
7
7
  export default {
8
8
  title: 'react/internals/MenuList',
@@ -1,7 +1,7 @@
1
1
  import { useRef, CSSProperties, useState } from 'react'
2
2
  import Popover from '.'
3
3
  import Button from '../../Button'
4
- import { Meta, StoryObj } from '@storybook/react'
4
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
5
5
 
6
6
  export default {
7
7
  title: 'react/internals/Popover',
@@ -5,7 +5,7 @@ import MenuItemGroup from './MenuItemGroup'
5
5
  import DropdownMenuItem from './DropdownMenuItem'
6
6
  import Modal from '../Modal'
7
7
  import { ModalBody, ModalHeader } from '../Modal/ModalPlumbing'
8
- import { Meta, StoryObj } from '@storybook/react'
8
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
9
9
  import TextField from '../TextField'
10
10
  import TextArea from '../TextArea'
11
11
  import Button from '../Button'
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from '@storybook/react'
1
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
2
2
  import HintText from '.'
3
3
 
4
4
  export default {
@@ -1,6 +1,6 @@
1
1
  import Icon from '.'
2
2
  import { KNOWN_ICON_FILES } from '@charcoal-ui/icons'
3
- import { Meta, StoryObj } from '@storybook/react'
3
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
4
4
 
5
5
  export default {
6
6
  title: 'react/Icon',
@@ -1,6 +1,6 @@
1
1
  import '@charcoal-ui/icons'
2
2
  import IconButton, { IconButtonProps } from '.'
3
- import { Meta, StoryObj } from '@storybook/react'
3
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
4
4
 
5
5
  export default {
6
6
  title: 'react/IconButton',
@@ -1,4 +1,4 @@
1
- import { Meta, StoryObj } from '@storybook/react'
1
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
2
2
  import LoadingSpinner from '.'
3
3
 
4
4
  export default {
@@ -12,7 +12,7 @@ import TextField from '../TextField'
12
12
  import DropdownSelector from '../DropdownSelector'
13
13
  import Checkbox from '../Checkbox'
14
14
  import DropdownMenuItem from '../DropdownSelector/DropdownMenuItem'
15
- import { Meta, StoryObj } from '@storybook/react'
15
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
16
16
 
17
17
  export default {
18
18
  title: 'react/Modal',
@@ -4,8 +4,8 @@ import {
4
4
  default as MultiSelect,
5
5
  MultiSelectGroupProps,
6
6
  } from '.'
7
- import { Meta, StoryObj } from '@storybook/react'
8
- import { action } from '@storybook/addon-actions'
7
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
8
+ import { action } from 'storybook/actions'
9
9
 
10
10
  const StyledMultiSelectGroup = (props: MultiSelectGroupProps) => {
11
11
  return (
@@ -1,6 +1,6 @@
1
1
  import Radio from '.'
2
2
  import { RadioGroup } from './RadioGroup'
3
- import { StoryObj } from '@storybook/react'
3
+ import { StoryObj } from '@storybook/react-webpack5'
4
4
  import { useState } from 'react'
5
5
 
6
6
  export default {
@@ -1,5 +1,5 @@
1
1
  import SegmentedControl from '.'
2
- import { Meta, StoryObj } from '@storybook/react'
2
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
3
3
 
4
4
  export default {
5
5
  title: 'react/SegmentedControl',
@@ -1,6 +1,6 @@
1
1
  import { useState } from 'react'
2
2
  import Switch from '.'
3
- import { Meta, StoryObj } from '@storybook/react'
3
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
4
4
 
5
5
  export default {
6
6
  title: 'react/Switch',
@@ -1,5 +1,5 @@
1
1
  import TagItem from '.'
2
- import { Meta, StoryObj } from '@storybook/react'
2
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
3
3
 
4
4
  export default {
5
5
  title: 'react/TagItem',
@@ -1,7 +1,7 @@
1
- import { action } from '@storybook/addon-actions'
1
+ import { action } from 'storybook/actions'
2
2
  import Clickable from '../Clickable'
3
3
  import TextArea from '.'
4
- import { Meta, StoryObj } from '@storybook/react'
4
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
5
5
 
6
6
  export default {
7
7
  title: 'react/TextArea',
@@ -1,7 +1,7 @@
1
1
  import Clickable from '../Clickable'
2
2
  import TextField from '.'
3
3
  import { useState } from 'react'
4
- import { Meta, StoryObj } from '@storybook/react'
4
+ import { Meta, StoryObj } from '@storybook/react-webpack5'
5
5
 
6
6
  export default {
7
7
  title: 'react/TextField',