feat: Add text-status-warning color to Box #5195
Annotations
2 errors and 10 warnings
Documenter › definition for box matches the snapshot:
src/__tests__/documenter.test.ts#L8
expect(received).toMatchSnapshot(hint)
Snapshot name: `Documenter definition for box matches the snapshot: box 1`
- Snapshot - 0
+ Received + 2
@@ -18,10 +18,11 @@
- `text-body-secondary` - Specifies the color for secondary text.
- `text-status-error` - Specifies the color for error text and icons.
- `text-status-success` - Specifies the color for success text and icons.
- `text-status-info` - Specifies the color for info text and icon.
- `text-status-inactive` - Specifies the color for inactive and loading text and icons.
+ - `text-status-warning` - Specifies the color for warning text and icons.
Note: If you don't set it, the text color depends on the variant.
",
"inlineType": Object {
"name": "BoxProps.Color",
@@ -32,10 +33,11 @@
"text-body-secondary",
"text-status-error",
"text-status-success",
"text-status-info",
"text-status-inactive",
+ "text-status-warning",
],
},
"name": "color",
"optional": true,
"type": "string",
at src/__tests__/documenter.test.ts:8:24
|
build / build
Process completed with exit code 1.
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L36
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L44
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L52
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L60
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L68
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L25
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L26
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L27
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L35
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/with-split-panel.page.tsx#L107
Prop "id" is forbidden on Components
|