@tidbcloud/uikit 2.0.0-beta.118 → 2.0.0-beta.119

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.119
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor(theme/select): set default `allowDeselect` to `false` ([#421](https://github.com/tidbcloud/tidbcloud-uikit/pull/421))
8
+ - Revert "chore: export language type of prism" ([#420](https://github.com/tidbcloud/tidbcloud-uikit/pull/420))
9
+
3
10
  ## 2.0.0-beta.118
4
11
 
5
12
  ### Patch Changes
@@ -1,4 +1,4 @@
1
1
  export { Prism } from './Prism.cjs';
2
2
  export type { PrismProps, PrismStylesNames } from './Prism.cjs';
3
3
  export type { PrismStylesParams } from './Prism.styles.cjs';
4
- export type { PrismTheme, Language } from 'prism-react-renderer';
4
+ export type { PrismTheme } from 'prism-react-renderer';
@@ -1,4 +1,4 @@
1
1
  export { Prism } from './Prism.mjs';
2
2
  export type { PrismProps, PrismStylesNames } from './Prism.mjs';
3
3
  export type { PrismStylesParams } from './Prism.styles.mjs';
4
- export type { PrismTheme, Language } from 'prism-react-renderer';
4
+ export type { PrismTheme } from 'prism-react-renderer';
@@ -549,7 +549,8 @@ const theme = createTheme.createTheme({
549
549
  defaultProps: {
550
550
  size: "md",
551
551
  withCheckIcon: true,
552
- checkIconPosition: "right"
552
+ checkIconPosition: "right",
553
+ allowDeselect: false
553
554
  },
554
555
  styles: (theme2, props) => {
555
556
  return {
@@ -547,7 +547,8 @@ const theme = createTheme({
547
547
  defaultProps: {
548
548
  size: "md",
549
549
  withCheckIcon: true,
550
- checkIconPosition: "right"
550
+ checkIconPosition: "right",
551
+ allowDeselect: false
551
552
  },
552
553
  styles: (theme2, props) => {
553
554
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.118",
3
+ "version": "2.0.0-beta.119",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",