diff --git a/components/calendar/__tests__/__snapshots__/demo.test.js.snap b/components/calendar/__tests__/__snapshots__/demo.test.js.snap new file mode 100644 index 000000000..46891212f --- /dev/null +++ b/components/calendar/__tests__/__snapshots__/demo.test.js.snap @@ -0,0 +1,1658 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`renders ./components/calendar/demo/basic.md correctly 1`] = ` +
Su | +Mo | +Tu | +We | +Th | +Fr | +Sa | +
---|---|---|---|---|---|---|
+
+
+ 30
+
+ |
+
+
+
+ 31
+
+ |
+
+
+
+ 01
+
+ |
+
+
+
+ 02
+
+ |
+
+
+
+ 03
+
+ |
+
+
+
+ 04
+
+ |
+
+
+
+ 05
+
+ |
+
+
+
+ 06
+
+ |
+
+
+
+ 07
+
+ |
+
+
+
+ 08
+
+ |
+
+
+
+ 09
+
+ |
+
+
+
+ 10
+
+ |
+
+
+
+ 11
+
+ |
+
+
+
+ 12
+
+ |
+
+
+
+ 13
+
+ |
+
+
+
+ 14
+
+ |
+
+
+
+ 15
+
+ |
+
+
+
+ 16
+
+ |
+
+
+
+ 17
+
+ |
+
+
+
+ 18
+
+ |
+
+
+
+ 19
+
+ |
+
+
+
+ 20
+
+ |
+
+
+
+ 21
+
+ |
+
+
+
+ 22
+
+ |
+
+
+
+ 23
+
+ |
+
+
+
+ 24
+
+ |
+
+
+
+ 25
+
+ |
+
+
+
+ 26
+
+ |
+
+
+
+ 27
+
+ |
+
+
+
+ 28
+
+ |
+
+
+
+ 29
+
+ |
+
+
+
+ 30
+
+ |
+
+
+
+ 01
+
+ |
+
+
+
+ 02
+
+ |
+
+
+
+ 03
+
+ |
+
+
+
+ 04
+
+ |
+
+
+
+ 05
+
+ |
+
+
+
+ 06
+
+ |
+
+
+
+ 07
+
+ |
+
+
+
+ 08
+
+ |
+
+
+
+ 09
+
+ |
+
+
+
+ 10
+
+ |
+
Su | +Mo | +Tu | +We | +Th | +Fr | +Sa | +
---|---|---|---|---|---|---|
+
+
+ 30
+
+ |
+
+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content
+card content
+card content
+card content
+Card content
+Card content
+Card content
++
+
+
+
Card content
+Card content
+Card content
+app content
++ +
++ + +
+A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.
+A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.
+A dog is a type of domesticated animal.Known for its loyalty and faithfulness,it can be found as a welcome guest in many households across the world.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae sunt a te dicta? Refert tamen, quo modo.
+sub-element align left
+sub-element align center
+sub-element align right
+sub-element monospaced arrangement
+sub-element align full
+Align Top
+col-4
+col-4
+col-4
+col-4
+Align Center
+col-4
+col-4
+col-4
+col-4
+Align Bottom
+col-4
+col-4
+col-4
+col-4
+<Row :gutter="16"> + <Col :span="6"/> + <Col :span="6"/> + <Col :span="6"/> + <Col :span="6"/> +</Row>