@charcoal-ui/react 4.0.0-rc.2 → 4.0.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": "4.0.0-rc.2",
3
+ "version": "4.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",
@@ -33,7 +33,7 @@
33
33
  "test": "vitest run --passWithNoTests"
34
34
  },
35
35
  "devDependencies": {
36
- "@charcoal-ui/esbuild-plugin-styled-components": "^4.0.0-rc.2",
36
+ "@charcoal-ui/esbuild-plugin-styled-components": "^4.0.0",
37
37
  "@react-types/switch": "^3.1.2",
38
38
  "@storybook/addon-actions": "^8.0.5",
39
39
  "@storybook/react": "^8.0.5",
@@ -62,10 +62,10 @@
62
62
  "vitest": "^2.0.1"
63
63
  },
64
64
  "dependencies": {
65
- "@charcoal-ui/foundation": "^4.0.0-rc.2",
66
- "@charcoal-ui/icons": "^4.0.0-rc.2",
67
- "@charcoal-ui/theme": "^4.0.0-rc.2",
68
- "@charcoal-ui/utils": "^4.0.0-rc.2",
65
+ "@charcoal-ui/foundation": "^4.0.0",
66
+ "@charcoal-ui/icons": "^4.0.0",
67
+ "@charcoal-ui/theme": "^4.0.0",
68
+ "@charcoal-ui/utils": "^4.0.0",
69
69
  "@react-aria/button": "^3.9.1",
70
70
  "@react-aria/checkbox": "^3.13.0",
71
71
  "@react-aria/dialog": "^3.5.10",
@@ -98,5 +98,5 @@
98
98
  "url": "https://github.com/pixiv/charcoal.git",
99
99
  "directory": "packages/react"
100
100
  },
101
- "gitHead": "4ad18ea31daf3cf1a4d606b78b3252f350db6db4"
101
+ "gitHead": "12230e38b010938834e92af488d6fba63c7c7ec1"
102
102
  }
@@ -24,3 +24,9 @@ const Clickable = forwardRef(function Clickable<T extends React.ElementType>(
24
24
  p: ClickableProps<T>
25
25
  ) => JSX.Element
26
26
  export default Clickable
27
+
28
+ /**
29
+ * @deprecated
30
+ * remained for v3 compatibility and will be removed in the future
31
+ */
32
+ export type ClickableElement = HTMLButtonElement & HTMLAnchorElement
package/src/index.ts CHANGED
@@ -8,6 +8,7 @@ export { default as Button, type ButtonProps } from './components/Button'
8
8
  export {
9
9
  default as Clickable,
10
10
  type ClickableProps,
11
+ type ClickableElement,
11
12
  } from './components/Clickable'
12
13
  export {
13
14
  default as IconButton,