cozy-ui 136.2.2 → 136.3.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/CHANGELOG.md +8 -0
- package/assets/icons/illus/ai-text.svg +1 -0
- package/package.json +1 -1
- package/react/AppTitle/index.jsx +5 -0
- package/react/Icon/Readme.md +3 -1
- package/react/Icons/AiText.jsx +15 -0
- package/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +3 -0
- package/react/Table/Virtualized/Dnd/TableRow.jsx +3 -2
- package/transpiled/react/AppTitle/index.js +5 -0
- package/transpiled/react/Icon/icons-sprite.d.ts +1 -1
- package/transpiled/react/Icon/icons-sprite.js +1 -1
- package/transpiled/react/Icons/AiText.d.ts +2 -0
- package/transpiled/react/Icons/AiText.js +15 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeDarkInvertedOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeDarkNormalOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeLightInvertedOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.d.ts +3 -0
- package/transpiled/react/MuiCozyTheme/overrides/makeLightNormalOverrides.js +3 -0
- package/transpiled/react/Table/Virtualized/Dnd/TableRow.js +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
# [136.3.0](https://github.com/cozy/cozy-ui/compare/v136.2.2...v136.3.0) (2026-03-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* Add icon for assistant and add app title for assistant :sparkles: ([d6da355](https://github.com/cozy/cozy-ui/commit/d6da355))
|
|
7
|
+
* Add visual indication for new items in virtualized tables ([1e5f638](https://github.com/cozy/cozy-ui/commit/1e5f638))
|
|
8
|
+
|
|
1
9
|
## [136.2.2](https://github.com/cozy/cozy-ui/compare/v136.2.1...v136.2.2) (2026-03-05)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="27" height="22" viewBox="0 0 27 22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.169 21.561h-4.17L7.592 0h4.821l7.602 21.561h-4.17l-5.758-17.14h-.169L4.17 21.562Zm.137-8.454h11.37v3.138H4.306v-3.138ZM26.759 0v21.561h-3.905V0h3.905Z" fill="#97A3B7"/></svg>
|
package/package.json
CHANGED
package/react/AppTitle/index.jsx
CHANGED
|
@@ -4,6 +4,7 @@ import React from 'react'
|
|
|
4
4
|
|
|
5
5
|
import styles from './styles.styl'
|
|
6
6
|
import Icon from '../Icon'
|
|
7
|
+
import AITextIcon from '../Icons/AiText'
|
|
7
8
|
import CalendarAppIcon from '../Icons/CalendarApp'
|
|
8
9
|
import CalendarTextIcon from '../Icons/CalendarText'
|
|
9
10
|
import ChatIcon from '../Icons/Chat'
|
|
@@ -68,6 +69,10 @@ const SLUG_TO_ICONS = {
|
|
|
68
69
|
home: {
|
|
69
70
|
icon: TwakeWorkplaceIcon,
|
|
70
71
|
text: WorkplaceTextIcon
|
|
72
|
+
},
|
|
73
|
+
assistant: {
|
|
74
|
+
icon: null,
|
|
75
|
+
text: AITextIcon
|
|
71
76
|
}
|
|
72
77
|
}
|
|
73
78
|
|
package/react/Icon/Readme.md
CHANGED
|
@@ -723,6 +723,7 @@ import DemoProvider from 'cozy-ui/docs/components/DemoProvider'
|
|
|
723
723
|
import cx from 'classnames'
|
|
724
724
|
|
|
725
725
|
import AccountIcon from 'cozy-ui/transpiled/react/Icons/Account'
|
|
726
|
+
import AITextIcon from 'cozy-ui/transpiled/react/Icons/AiText'
|
|
726
727
|
import AssistantColorIcon from 'cozy-ui/transpiled/react/Icons/AssistantColor'
|
|
727
728
|
import BottomSelectIcon from 'cozy-ui/transpiled/react/Icons/BottomSelect'
|
|
728
729
|
import CreditCardLargeIcon from 'cozy-ui/transpiled/react/Icons/CreditCardLarge'
|
|
@@ -779,6 +780,7 @@ import TwakeWorkplace from 'cozy-ui/transpiled/react/Icons/TwakeWorkplace'
|
|
|
779
780
|
|
|
780
781
|
const icons = [
|
|
781
782
|
AccountIcon,
|
|
783
|
+
AITextIcon,
|
|
782
784
|
AssistantColorIcon,
|
|
783
785
|
BottomSelectIcon,
|
|
784
786
|
ChatIcon,
|
|
@@ -1056,7 +1058,7 @@ import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
|
1056
1058
|
import Grid from 'cozy-ui/transpiled/react/Grid'
|
|
1057
1059
|
import Sprite from 'cozy-ui/transpiled/react/Icon/Sprite'
|
|
1058
1060
|
|
|
1059
|
-
const availableIcons = ['account', 'assistant-color', 'bottom-select', 'check-white', 'cloud-broken', 'contacts', 'cozy-authentification', 'cozy-logo', 'cozy-upgrade', 'credit-card-large', 'dash-white', 'device-browser', 'device-laptop', 'device-phone', 'device-tablet', 'file-type-audio', 'file-type-banking-account' , 'file-type-bin', 'file-type-code', 'file-type-files', 'file-type-folder', 'file-type-server', 'file-type-shared-drive', 'file-type-shared-drive-grey', 'file-type-image', 'file-type-note', 'file-type-pdf', 'file-type-sheet', 'file-type-slide', 'file-type-text', 'file-type-video', 'file-type-zip', 'forbidden-sign', 'google', 'keychain', 'logout-large', 'papers', 'only-office', 'store', 'top-select', 'trash-duotone', 'cozy'];
|
|
1061
|
+
const availableIcons = ['account', 'ai-text', 'assistant-color', 'bottom-select', 'check-white', 'cloud-broken', 'contacts', 'cozy-authentification', 'cozy-logo', 'cozy-upgrade', 'credit-card-large', 'dash-white', 'device-browser', 'device-laptop', 'device-phone', 'device-tablet', 'file-type-audio', 'file-type-banking-account' , 'file-type-bin', 'file-type-code', 'file-type-files', 'file-type-folder', 'file-type-server', 'file-type-shared-drive', 'file-type-shared-drive-grey', 'file-type-image', 'file-type-note', 'file-type-pdf', 'file-type-sheet', 'file-type-slide', 'file-type-text', 'file-type-video', 'file-type-zip', 'forbidden-sign', 'google', 'keychain', 'logout-large', 'papers', 'only-office', 'store', 'top-select', 'trash-duotone', 'cozy'];
|
|
1060
1062
|
|
|
1061
1063
|
<Grid container spacing={2}>
|
|
1062
1064
|
<Sprite />
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Automatically created, please run `scripts/generate-svgr-icon.sh assets/icons/illus/ai-text.svg` to regenerate;
|
|
2
|
+
import React from 'react'
|
|
3
|
+
|
|
4
|
+
function SvgAiText(props) {
|
|
5
|
+
return (
|
|
6
|
+
<svg viewBox="0 0 27 22" fill="none" {...props}>
|
|
7
|
+
<path
|
|
8
|
+
d="M4.169 21.561h-4.17L7.592 0h4.821l7.602 21.561h-4.17l-5.758-17.14h-.169L4.17 21.562zm.137-8.454h11.37v3.138H4.306v-3.138zM26.759 0v21.561h-3.905V0h3.905z"
|
|
9
|
+
fill="#97A3B7"
|
|
10
|
+
/>
|
|
11
|
+
</svg>
|
|
12
|
+
)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default SvgAiText
|
|
@@ -86,9 +86,10 @@ const TableRow = ({ item, context, componentsProps, ...props }) => {
|
|
|
86
86
|
<TableRowClassic
|
|
87
87
|
{...props}
|
|
88
88
|
ref={node => dragRef(dropRef(node))}
|
|
89
|
-
selected={isSelected || dropCollect.isOver
|
|
89
|
+
selected={isSelected || dropCollect.isOver}
|
|
90
90
|
className={cx(
|
|
91
|
-
dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized'
|
|
91
|
+
dragCollect.isDragging ? 'virtualized u-o-50' : 'virtualized',
|
|
92
|
+
{ new: isNew }
|
|
92
93
|
)}
|
|
93
94
|
disabled={isDisabled}
|
|
94
95
|
hover
|
|
@@ -12,6 +12,7 @@ var styles = {
|
|
|
12
12
|
"c-apptitle-home-icon": "styles__c-apptitle-home-icon___1xJsd"
|
|
13
13
|
};
|
|
14
14
|
import Icon from "cozy-ui/transpiled/react/Icon";
|
|
15
|
+
import AITextIcon from "cozy-ui/transpiled/react/Icons/AiText";
|
|
15
16
|
import CalendarAppIcon from "cozy-ui/transpiled/react/Icons/CalendarApp";
|
|
16
17
|
import CalendarTextIcon from "cozy-ui/transpiled/react/Icons/CalendarText";
|
|
17
18
|
import ChatIcon from "cozy-ui/transpiled/react/Icons/Chat";
|
|
@@ -75,6 +76,10 @@ var SLUG_TO_ICONS = {
|
|
|
75
76
|
home: {
|
|
76
77
|
icon: TwakeWorkplaceIcon,
|
|
77
78
|
text: WorkplaceTextIcon
|
|
79
|
+
},
|
|
80
|
+
assistant: {
|
|
81
|
+
icon: null,
|
|
82
|
+
text: AITextIcon
|
|
78
83
|
}
|
|
79
84
|
};
|
|
80
85
|
|