feat: add new DatePicker component #3256
pr.yml
on: pull_request
Build
/
Build and Upload
7m 57s
Matrix: Test / checks
Annotations
4 errors and 1 warning
|
Test / Stylelint
Process completed with exit code 1.
|
|
Test / Test
Process completed with exit code 1.
|
|
src/components/next/DatePicker/__tests__/DatePicker.test.jsx > DatePicker tests > snapshot tests > renders correctly:
packages/core/src/components/next/DatePicker/__tests__/DatePicker.test.jsx#L19
Error: Snapshot `DatePicker tests > snapshot tests > renders correctly 1` mismatched
- Expected
+ Received
@@ -14,70 +14,70 @@
>
<div
class="datePickerHeader"
>
<div
- class="container_a62b51315a justifyStart_76c94191d7 alignCenter_47477e7082"
+ class="container directionRow justifyStart alignCenter"
style="gap: var(--spacing-small);"
>
<div
- class="outerWrapper_23800cfc3d"
+ class="outerWrapper"
>
<div
aria-label="Month"
- class="wrapper_e32f067ec2 monthButtonDropdown"
+ class="wrapper monthButtonDropdown"
data-testid="dropdown"
data-vibe="Dropdown"
>
<div
class=""
>
<div
- class="container_a62b51315a justifySpaceBetween_e74fdb83b2 alignCenter_47477e7082"
+ class="container directionRow justifySpaceBetween alignCenter"
>
<div
aria-activedescendant=""
aria-controls="downshift-0-menu"
aria-expanded="false"
aria-haspopup="dialog"
aria-label="Month"
- class="triggerWrapper_ed6e034c01 small_fea165e511"
+ class="triggerWrapper small"
id="downshift-0-toggle-button"
role="combobox"
tabindex="0"
>
<div
- class="selectedItem_01e6a9cd65 small_fea165e511"
+ class="selectedItem small"
>
<div
aria-selected="false"
- class="wrapper_cdf1f7ad90 readOnly_464ac3d883 small_e70c30de80"
+ class="wrapper readOnly small"
>
Mar
</div>
</div>
</div>
<div>
<div
- class="container_a62b51315a justifyStart_76c94191d7 alignCenter_47477e7082 actionsWrapper_083f930d08"
+ class="container directionRow justifyStart alignCenter actionsWrapper"
>
<button
aria-busy="false"
aria-controls="downshift-0-menu"
aria-disabled="false"
aria-expanded="false"
aria-labelledby="downshift-0-menu"
- class="button_5cc6a6fcac sizeMedium_35ccf80f61 kindTertiary_6d5462f7c2 colorPrimary_e50f774206 noSidePadding_b22763a22f"
+ class="button sizeMedium kindTertiary colorPrimary noSidePadding"
data-testid="icon-button"
data-vibe="Button"
style="justify-content: center; align-items: center; padding: 0px; width: 24px; height: 24px;"
tabindex="-1"
type="button"
>
<svg
aria-hidden="true"
- class="icon_560b893605 noFocusStyle_f90433009d"
+ class="icon noFocusStyle"
data-testid="icon"
data-vibe="Icon"
fill="currentColor"
height="16"
viewBox="0 0 20 20"
@@ -93,66 +93,66 @@
|
|
src/__tests__/exports.test.ts > exports > should export next all components:
packages/core/src/__tests__/exports.test.ts#L12
Error: Snapshot `exports > should export next all components 1` mismatched
- Expected
+ Received
@@ -1,7 +1,8 @@
[
"AttentionBox",
+ "DatePicker",
"Dropdown",
"Modal",
"ModalBasicLayout",
"ModalContent",
"ModalFooter",
❯ src/__tests__/exports.test.ts:12:48
|
|
Test / Testkit Unit Tests
No files were found with the provided path: packages/testkit/reports
packages/testkit/test-results. No artifacts will be uploaded.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
ci-builds-19061756795-1
|
4.13 MB |
sha256:25b21ee1f907ac5fb7b8f1893d895ef8514b288fd58061ef8eca0f9e61ee6fce
|
|