feat: Add support for Avatar sizes and images. #235
build-lint-test.yml
on: pull_request
build
/
git-secrets
2s
build
/
build
1m 15s
build
/
codeql
1m 25s
deploy
/
deploy
Annotations
2 errors and 11 warnings
src/__tests__/documenter.test.ts > definition for avatar matches the snapshot:
src/__tests__/documenter.test.ts#L15
Error: Snapshot `definition for avatar matches the snapshot > avatar 1` mismatched
- Expected
+ Received
@@ -80,14 +80,13 @@
"name": "tooltipText",
"optional": true,
"type": "string",
},
{
- "description": "Defines the width of the avatar.
+ "description": "Defines the width and height of the avatar.
This value corresponds to the `width` CSS-property and will center and crop images using `object-fit: cover`.
- If no width is provided the avatar will use the default width value of 28px.
- The height of the avatar will be set to the same value as the width.",
+ If no width is provided the avatar will use the default width value of 28px.",
"name": "width",
"optional": true,
"type": "number",
},
],
❯ src/__tests__/documenter.test.ts:15:22
|
build / build
Process completed with exit code 1.
|
build / build:
pages/utils/focus-visible.page.tsx#L9
Prop "id" is forbidden on Components
|
build / build:
pages/utils/focus-visible.page.tsx#L10
Prop "id" is forbidden on Components
|
build / build:
pages/utils/focus-visible.page.tsx#L11
Prop "id" is forbidden on Components
|
build / build:
src/__tests__/base-props-support.test.tsx#L25
Prop "id" is forbidden on Components
|
build / build:
src/__tests__/base-props-support.test.tsx#L30
Prop "className" is forbidden on Components
|
build / build:
src/internal/base-component/__tests__/use-base-component.test.tsx#L30
Unexpected any. Specify a different type
|
build / build:
src/internal/base-component/get-data-attributes.ts#L5
Unexpected any. Specify a different type
|
build / build:
src/internal/base-component/use-base-component.ts#L19
Unexpected any. Specify a different type
|
build / build:
src/internal/base-component/use-base-component.ts#L27
Unexpected any. Specify a different type
|
build / build:
src/internal/events/__tests__/events.test.tsx#L81
Unexpected any. Specify a different type
|
build / codeql
Cache not found for keys: codeql-trap-1-2.20.4-javascript-57c37fdc656b88d15c7503245341fd2afc7074ff, codeql-trap-1-2.20.4-javascript-
|