Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
With commits:
Merge pull request #20361 from akeneo/dsm-update-2023-12-14
DSM Update
Merge pull request #20361 from akeneo/dsm-update-2023-12-14
  • Loading branch information
akeneo committed Dec 14, 2023
1 parent 7267ddf commit 00bf911
Show file tree
Hide file tree
Showing 46 changed files with 825 additions and 86 deletions.
2 changes: 1 addition & 1 deletion example/src/__snapshots__/App.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`renders the expected elements 1`] = `
<div>
<div>
<span
class="sc-dlnjPT jLeOJM"
class="sc-jSFkmK jjMYxm"
>
Success
</span>
Expand Down
1 change: 1 addition & 0 deletions jest-puppeteer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ module.exports = {
launch: {
dumpio: true,
headless: true,
args: ['--no-sandbox', '--disable-setuid-sandbox']
},
server: {
command: 'yarn http-server storybook-static -p 6006',
Expand Down
12 changes: 12 additions & 0 deletions lib/components/Avatar/Avatar.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import { Override } from '../../shared';
declare type AvatarProps = Override<React.HTMLAttributes<HTMLSpanElement>, {
username: string;
firstName: string;
lastName: string;
avatarUrl?: string;
size?: 'default' | 'big';
}>;
declare const Avatar: ({ username, firstName, lastName, avatarUrl, size, ...rest }: AvatarProps) => React.JSX.Element;
export { Avatar };
export type { AvatarProps };
89 changes: 89 additions & 0 deletions lib/components/Avatar/Avatar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/components/Avatar/Avatar.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions lib/components/Avatar/Avatars.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import { Override } from '../../shared';
declare type AvatarsProps = Override<React.HTMLAttributes<HTMLDivElement>, {
max: number;
}>;
declare const Avatars: ({ max, children, ...rest }: AvatarsProps) => React.JSX.Element;
export { Avatars };
export type { AvatarsProps };
71 changes: 71 additions & 0 deletions lib/components/Avatar/Avatars.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/components/Avatar/Avatars.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/components/Dropdown/Dropdown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare type DropdownProps = Override<HTMLAttributes<HTMLDivElement>, {
declare const Dropdown: {
({ children, ...rest }: DropdownProps): React.JSX.Element;
Overlay: {
({ verticalPosition, horizontalPosition, dropdownOpenerVisible, fullWidth, parentRef, onClose, children, ...rest }: Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onClose" | "verticalPosition" | "horizontalPosition" | "dropdownOpenerVisible" | "fullWidth" | "parentRef"> & {
({ verticalPosition, horizontalPosition, dropdownOpenerVisible, fullWidth, parentRef, onClose, children, ...rest }: Omit<React.HTMLAttributes<HTMLDivElement>, "verticalPosition" | "horizontalPosition" | "children" | "onClose" | "dropdownOpenerVisible" | "fullWidth" | "parentRef"> & {
verticalPosition?: import("../../hooks/usePosition").VerticalPosition | undefined;
horizontalPosition?: import("../../hooks/usePosition").HorizontalPosition | undefined;
dropdownOpenerVisible?: boolean | undefined;
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Input/BooleanInput/BooleanInput.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ declare type BooleanInputProps = Override<InputProps<boolean>, ({
onChange?: (value: boolean) => void;
clearLabel?: string;
}) & {
readOnly: boolean;
readOnly?: boolean;
yesLabel: string;
noLabel: string;
invalid?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion lib/components/Input/BooleanInput/BooleanInput.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 00bf911

Please sign in to comment.