CatsJuice
|
b7d05d2078
|
feat(core): new empty states for doc/collection/tag (#8197)
AF-1329, AF-1330
|
2024-09-11 10:48:52 +00:00 |
|
CatsJuice
|
03c2051926
|
feat(component): startScopedViewTranstion func to support scoped view transition (#8093)
AF-1293
|
2024-09-05 06:45:29 +00:00 |
|
EYHN
|
2524491bd1
|
fix(env): is mobile flag (#8005)
only 'mobile' entry has isMobile = true flag
|
2024-09-04 09:21:36 +00:00 |
|
Cats Juice
|
23b0db36b9
|
feat(component): mobile menu support (#7892)
|
2024-08-21 09:05:05 +00:00 |
|
CatsJuice
|
249f3471c9
|
feat(component): shortcut style for tooltip (#7721)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/2e68337c-91f1-4ea7-8426-7fb33be02081.png)
- New `shortcut` prop for `<Tooltip />`
- single key
```tsx
<Tooltip shortcut="T" />
```
- multiple
```tsx
<Tooltip shortcut={["⌘", "K"]} />
```
- Round tooltip's arrow
- Use new design system colors
- Replace some usage
- App sidebar switch
- Editor mode switch
- New tab (new)
|
2024-08-05 02:57:24 +00:00 |
|
CatsJuice
|
827c952e9f
|
refactor(component): new Radio component (#6910)
# New `RadioGroup` component to replace `RadioButton`
![CleanShot 2024-06-25 at 17.18.02.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/77241b07-a2dd-4d27-a322-3056f483f75a.gif)
### what's new
- [x] Change the API
- [x] More customizable options
- [x] Indicator animation
- [x] Dynamic width support(responsive)
- [x] Storybook
- [x] JSDoc
|
2024-06-27 06:04:19 +00:00 |
|
CatsJuice
|
98e35384a6
|
feat(component): helper function observeResize to observe size change via global ResizeObserver (#7241)
```ts
import { observeResize } from "@affine/component";
useEffect(() => {
const dispose = observeResize(element entry => {
console.log(entry.contentRect);
});
return () => dispose();
}, []);
```
|
2024-06-19 09:04:56 +00:00 |
|