Skip to content

Commit

Permalink
Upgrade MUI & Regenerate declarations
Browse files Browse the repository at this point in the history
* Material `5.15.1`
* Icons `5.15.1`
* Base `5.0.0-beta.28`
* System `5.15.1`
* Lab `5.0.0-alpha.157`
  • Loading branch information
aerialist7 committed Jan 13, 2024
1 parent fb2614b commit 52a576a
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 47 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ kfc.version=7.34.0
# TEMP
kfc.es.mode=false
seskar.version=2.22.0
mui-material.version=5.15.0
mui-icons-material.version=5.15.0
mui-base.version=5.0.0-beta.27
mui-system.version=5.15.0
mui-lab.version=5.0.0-alpha.156
mui-material.version=5.15.1
mui-icons-material.version=5.15.1
mui-base.version=5.0.0-beta.28
mui-system.version=5.15.1
mui-lab.version=5.0.0-alpha.157
mui-x-tree-view.version=6.17.0
mui-x-date-pickers.version=5.0.4
kotlin-wrappers.version=1.0.0-pre.682
8 changes: 4 additions & 4 deletions mui-kotlin/src/jsMain/kotlin/mui/base/useAutocomplete.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ external interface UseAutocompleteProps<Value> : react.Props {
var unstable_isActiveElementInListbox: ((listbox: react.RefObject<HTMLElement>) -> Boolean)?

/**
* If `true`, the portion of the selected suggestion that has not been typed by the user,
* If `true`, the portion of the selected suggestion that the user hasn't typed,
* known as the completion string, appears inline after the input cursor in the textbox.
* The inline completion string is visually highlighted and has a selected state.
* @default false
Expand All @@ -68,7 +68,7 @@ external interface UseAutocompleteProps<Value> : react.Props {
* when the Autocomplete loses focus unless the user chooses
* a different option or changes the character string in the input.
*
* When using `freeSolo` mode, the typed value will be the input value
* When using the `freeSolo` mode, the typed value will be the input value
* if the Autocomplete loses focus without highlighting an option.
* @default false
*/
Expand All @@ -88,8 +88,8 @@ external interface UseAutocompleteProps<Value> : react.Props {
/**
* If `true`, the input's text is cleared on blur if no value is selected.
*
* Set to `true` if you want to help the user enter a new value.
* Set to `false` if you want to help the user resume their search.
* Set it to `true` if you want to help the user enter a new value.
* Set it to `false` if you want to help the user resume their search.
* @default !props.freeSolo
*/
var clearOnBlur: Boolean?
Expand Down
11 changes: 11 additions & 0 deletions mui-kotlin/src/jsMain/kotlin/mui/material/TablePagination.kt
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,17 @@ external interface TablePaginationOwnProps : mui.system.PropsWithSx {
var select: react.Props? /* Partial<SelectProps> */
}

/**
* The components used for each slot inside the TablePagination.
* Either a string to use a HTML element or a component.
* @default {}
*/
var slots: Slots?

interface Slots {
var actions: react.ElementType<*>? /* TablePaginationActionsProps['slots'] */
}

/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,63 @@ external interface TablePaginationActionsProps :
var lastButton: react.Props? /* Partial<IconButtonProps> */
var nextButton: react.Props? /* Partial<IconButtonProps> */
var previousButton: react.Props? /* Partial<IconButtonProps> */
var firstButtonIcon: react.Props? /* Partial<SvgIconProps> */
var lastButtonIcon: react.Props? /* Partial<SvgIconProps> */
var nextButtonIcon: react.Props? /* Partial<SvgIconProps> */
var previousButtonIcon: react.Props? /* Partial<SvgIconProps> */
}

var slots: TablePaginationActionsSlots?
}

external interface TablePaginationActionsSlots {
/**
* The component that renders the first button.
* @default IconButton
*/
var firstButton: react.ElementType<*>?

/**
* The component that renders the last button.
* @default IconButton
*/
var lastButton: react.ElementType<*>?

/**
* The component that renders the next button.
* @default IconButton
*/
var nextButton: react.ElementType<*>?

/**
* The component that renders the previous button.
* @default IconButton
*/
var previousButton: react.ElementType<*>?

/**
* The component that renders the first button icon.
* @default FirstPageIcon
*/
var firstButtonIcon: react.ElementType<*>?

/**
* The component that renders the last button icon.
* @default LastPageIcon
*/
var lastButtonIcon: react.ElementType<*>?

/**
* The component that renders the next button icon.
* @default KeyboardArrowRight
*/
var nextButtonIcon: react.ElementType<*>?

/**
* The component that renders the previous button icon.
* @default KeyboardArrowLeft
*/
var previousButtonIcon: react.ElementType<*>?
}


Expand Down
76 changes: 38 additions & 38 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,15 @@
clsx "^2.0.0"
prop-types "^15.8.1"

"@mui/[email protected].27":
version "5.0.0-beta.27"
resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.27.tgz#21a9c7d954a5f88f6706dfee630154c651ee73af"
integrity sha512-duL37qxihT1N0pW/gyXVezP7SttLkF+cLAs/y6g6ubEFmVadjbnZ45SeF12/vAiKzqwf5M0uFH1cczIPXFZygA==
"@mui/[email protected].28":
version "5.0.0-beta.28"
resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.28.tgz#f072e55c0530f456ee5cb5cde2af788fdda3bf05"
integrity sha512-KIoSc5sUFceeCaZTq5MQBapFzhHqMo4kj+4azWaCAjorduhcRQtN+BCgVHmo+gvEjix74bUfxwTqGifnu2fNTg==
dependencies:
"@babel/runtime" "^7.23.5"
"@floating-ui/react-dom" "^2.0.4"
"@mui/types" "^7.2.11"
"@mui/utils" "^5.15.0"
"@mui/utils" "^5.15.1"
"@popperjs/core" "^2.11.8"
clsx "^2.0.0"
prop-types "^15.8.1"
Expand All @@ -306,7 +306,7 @@
clsx "^2.1.0"
prop-types "^15.8.1"

"@mui/core-downloads-tracker@^5.14.19", "@mui/core-downloads-tracker@^5.15.0":
"@mui/core-downloads-tracker@^5.14.19", "@mui/core-downloads-tracker@^5.15.1":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.4.tgz#c9430f1786ff604c2afaa00508b5bc45c9726c13"
integrity sha512-0OZN9O6hAtBpx70mMNFOPaAIol/ytwZYPY+z7Rf9dK3+1Xlzwvj5/IeShJKvtp76S1qJyhPuvZg0+BGqQaUnUw==
Expand All @@ -318,10 +318,10 @@
dependencies:
"@babel/runtime" "^7.23.4"

"@mui/[email protected].0":
version "5.15.0"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.0.tgz#fdc93611ca77ce3b79128be02fb6c1ae79b972b8"
integrity sha512-zHY6fOkaK7VfhWeyxO8MjO3IAjEYpYMXuqUhX7TkUZJ9+TSH/9dn4ClG4K2j6hdgBU5Yrq2Z/89Bo6BHHp7AdQ==
"@mui/[email protected].1":
version "5.15.1"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.1.tgz#38f51a88d224a107e753313b4d9815247caa5398"
integrity sha512-VPJdBSyap6uOxCb5BLbWbkvd6aeJCp1pQZm8DcZBITCH0NOSv8Mz9c8Zvo8xr4Od7+xyWHUAgvRSL4047pL2WQ==
dependencies:
"@babel/runtime" "^7.23.5"

Expand All @@ -338,16 +338,16 @@
clsx "^2.0.0"
prop-types "^15.8.1"

"@mui/[email protected].156":
version "5.0.0-alpha.156"
resolved "https://registry.yarnpkg.com/@mui/lab/-/lab-5.0.0-alpha.156.tgz#9fee3a408ded367ab4fe84275789155b65dee7e7"
integrity sha512-OUAckFeqlAG6aIBG1Ud1fDCBqnU1wltWZYHsA7YCGzRBykNzQC/W/dYddp+RJLu0BgYpMiXwPXq2Hg0ERVtaog==
"@mui/[email protected].157":
version "5.0.0-alpha.157"
resolved "https://registry.yarnpkg.com/@mui/lab/-/lab-5.0.0-alpha.157.tgz#cb248823ffd881153eef86c2e3786c35601d1986"
integrity sha512-gY7UM2kNSxiVLfsm0o6HG2G5rM2Vr47prJhDCazY+VG/NOSRc8CG7la6dpL9WDTJhotEZdWwfj1FOUxTonmuQA==
dependencies:
"@babel/runtime" "^7.23.5"
"@mui/base" "5.0.0-beta.27"
"@mui/system" "^5.15.0"
"@mui/base" "5.0.0-beta.28"
"@mui/system" "^5.15.1"
"@mui/types" "^7.2.11"
"@mui/utils" "^5.15.0"
"@mui/utils" "^5.15.1"
clsx "^2.0.0"
prop-types "^15.8.1"

Expand All @@ -369,25 +369,25 @@
react-is "^18.2.0"
react-transition-group "^4.4.5"

"@mui/[email protected].0":
version "5.15.0"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.0.tgz#f801cf56d505cc52dca225438360ab9c62057285"
integrity sha512-60CDI/hQNwJv9a3vEZtFG7zz0USdQhVwpBd3fZqrzhuXSdiMdYMaZcCXeX/KMuNq0ZxQEAZd74Pv+gOb408QVA==
"@mui/[email protected].1":
version "5.15.1"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.1.tgz#5fc15c6eb9efe4b62b0c30b13bf5fa042bda71a1"
integrity sha512-WA5DVyvacxDakVyAhNqu/rRT28ppuuUFFw1bLpmRzrCJ4uw/zLTATcd4WB3YbB+7MdZNEGG/SJNWTDLEIyn3xQ==
dependencies:
"@babel/runtime" "^7.23.5"
"@mui/base" "5.0.0-beta.27"
"@mui/core-downloads-tracker" "^5.15.0"
"@mui/system" "^5.15.0"
"@mui/base" "5.0.0-beta.28"
"@mui/core-downloads-tracker" "^5.15.1"
"@mui/system" "^5.15.1"
"@mui/types" "^7.2.11"
"@mui/utils" "^5.15.0"
"@types/react-transition-group" "^4.4.9"
"@mui/utils" "^5.15.1"
"@types/react-transition-group" "^4.4.10"
clsx "^2.0.0"
csstype "^3.1.2"
prop-types "^15.8.1"
react-is "^18.2.0"
react-transition-group "^4.4.5"

"@mui/private-theming@^5.14.19", "@mui/private-theming@^5.15.0", "@mui/private-theming@^5.15.4":
"@mui/private-theming@^5.14.19", "@mui/private-theming@^5.15.1", "@mui/private-theming@^5.15.4":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.15.4.tgz#5d7b187e8e31995289b63ec4e0331d1e29859d6c"
integrity sha512-9N5myIMEEQTM5WYWPGvvYADzjFo12LgJ7S+2iTZkBNOcJpUxQYM1tvYjkHCDV+t1ocMOEgjR2EfJ9Dus30dBlg==
Expand All @@ -396,7 +396,7 @@
"@mui/utils" "^5.15.4"
prop-types "^15.8.1"

"@mui/styled-engine@^5.14.19", "@mui/styled-engine@^5.15.0", "@mui/styled-engine@^5.15.4":
"@mui/styled-engine@^5.14.19", "@mui/styled-engine@^5.15.1", "@mui/styled-engine@^5.15.4":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.15.4.tgz#2e7bbf9154eba4db34f77aa55a6468408b31fb1d"
integrity sha512-vtrZUXG5XI8CNiNLcxjIirW4dEbOloR+ikfm6ePBo7jXpJdpXjVzBWetrfE+5eI0cHkKWlTptnJ2voKV8pBRfw==
Expand All @@ -420,21 +420,21 @@
csstype "^3.1.2"
prop-types "^15.8.1"

"@mui/[email protected].0":
version "5.15.0"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.0.tgz#d4f6fd65ad8e404d4d7c7b56d755d2a63b0edddb"
integrity sha512-8TPjfTlYBNB7/zBJRL4QOD9kImwdZObbiYNh0+hxvhXr2koezGx8USwPXj8y/JynbzGCkIybkUztCdWlMZe6OQ==
"@mui/[email protected].1":
version "5.15.1"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.1.tgz#e2a79b5e188ca89a3e58aa4d27e3484edf9e24b0"
integrity sha512-LAnP0ls69rqW9eBgI29phIx/lppv+WDGI7b3EJN7VZIqw0RezA0GD7NRpV12BgEYJABEii6z5Q9B5tg7dsX0Iw==
dependencies:
"@babel/runtime" "^7.23.5"
"@mui/private-theming" "^5.15.0"
"@mui/styled-engine" "^5.15.0"
"@mui/private-theming" "^5.15.1"
"@mui/styled-engine" "^5.15.1"
"@mui/types" "^7.2.11"
"@mui/utils" "^5.15.0"
"@mui/utils" "^5.15.1"
clsx "^2.0.0"
csstype "^3.1.2"
prop-types "^15.8.1"

"@mui/system@^5.14.19", "@mui/system@^5.15.0":
"@mui/system@^5.14.19", "@mui/system@^5.15.1":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.4.tgz#750342dd699881cd81c99ea0ea770387d5ac35aa"
integrity sha512-KCwkHajGBXPs2TK1HJjIyab4NDk0cZoBDYN/TTlXVo1qBAmCjY0vjqrlsjeoG+wrwwcezXMLs/e6OGP66fPCog==
Expand All @@ -453,7 +453,7 @@
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.13.tgz#d1584912942f9dc042441ecc2d1452be39c666b8"
integrity sha512-qP9OgacN62s+l8rdDhSFRe05HWtLLJ5TGclC9I1+tQngbssu0m2dmFZs+Px53AcOs9fD7TbYd4gc9AXzVqO/+g==

"@mui/utils@^5.10.3", "@mui/utils@^5.14.14", "@mui/utils@^5.14.19", "@mui/utils@^5.15.0", "@mui/utils@^5.15.4":
"@mui/utils@^5.10.3", "@mui/utils@^5.14.14", "@mui/utils@^5.14.19", "@mui/utils@^5.15.1", "@mui/utils@^5.15.4":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.15.4.tgz#74d0d11c86497594d797302f33fb753ee788eb85"
integrity sha512-E2wLQGBcs3VR52CpMRjk46cGscC4cbf3Q2uyHNaAeL36yTTm+aVNbtsTCazXtjOP4BDd8lu6VtlTpVC8Rtl4mg==
Expand Down Expand Up @@ -631,7 +631,7 @@
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb"
integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==

"@types/react-transition-group@^4.4.5", "@types/react-transition-group@^4.4.8", "@types/react-transition-group@^4.4.9":
"@types/react-transition-group@^4.4.10", "@types/react-transition-group@^4.4.5", "@types/react-transition-group@^4.4.8", "@types/react-transition-group@^4.4.9":
version "4.4.10"
resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.10.tgz#6ee71127bdab1f18f11ad8fb3322c6da27c327ac"
integrity sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q==
Expand Down

0 comments on commit 52a576a

Please sign in to comment.