Skip to content

Commit

Permalink
test: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
Javey committed Mar 22, 2022
1 parent 2c8d61f commit 1e0444f
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 26 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ on:
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
# runs-on: ubuntu-latest
runs-on: macos-latest

strategy:
matrix:
Expand Down
6 changes: 3 additions & 3 deletions packages/kpc-react/__tests__/__snapshots__/React Demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@
#### `Select format`

```
"<div><div class=\"item\"><span class=\"label\">border:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"dashed\"><div class=\"k-select-value c-ellipsis\"><div class=\"line\" style=\"border-bottom: 1px dashed rgb(102, 102, 102);\"></div><!-- react-mount-point-unstable --></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--><div class=\"rect\" style=\"border: 1px dashed rgb(178, 178, 178);\">Rectangle</div></div><div class=\"item\"><span class=\"label\">multiple:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"ion-camera\"><div class=\"k-select-values\"><div class=\"k-select-tag\"><span class=\"k-select-text\"><i class=\"k-icon ion-camera css-183f70f\"></i></span><i class=\"k-icon k-hoverable ion-ios-close k-select-close css-183f70f\"></i></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--></div><div class=\"item\"><span class=\"label\">multiple values:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-placeholder c-ellipsis\">请选择</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--></div></div>"
"<div><div class=\"item\"><span class=\"label\">border:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"dashed\"><div class=\"k-select-value c-ellipsis\"><div class=\"line\" style=\"border-bottom: 1px dashed rgb(102, 102, 102);\"></div><!-- react-mount-point-unstable --></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--><div class=\"rect\" style=\"border: 1px dashed rgb(178, 178, 178);\">Rectangle</div></div><div class=\"item\"><span class=\"label\">multiple:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"ion-camera\"><div class=\"k-select-values\"><div class=\"k-select-tag\"><span class=\"k-select-text\"><i class=\"k-icon ion-camera css-183f70f\" style=\"vertical-align: middle;\"></i><span class=\"c-middle\">ion-camera</span><!-- react-mount-point-unstable --></span><i class=\"k-icon k-hoverable ion-ios-close k-select-close css-183f70f\"></i></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--></div><div class=\"item\"><span class=\"label\">multiple values:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-placeholder c-ellipsis\">请选择</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--></div></div>"
```

#### `Select group`
Expand Down Expand Up @@ -1520,7 +1520,7 @@
#### `Timepicker format`

```
"<div><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal--><span>You selected: </span><br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" showformat=\"HH:mm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal--><span>You selected: </span><br><br><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"开始时间 ~ 结束时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal--><span>You selected: null</span></div>"
"<div><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal--><span>You selected: </span><br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" showformat=\"HH:mm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal--><span>You selected: </span><br><br><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"开始时间 ~ 结束时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal--><span>You selected: null</span></div>"
```

#### `Timepicker range`
Expand All @@ -1532,7 +1532,7 @@
#### `Timepicker step`

```
"<div><div class=\"k-select time css-u2afkm\" step=\"00:30:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal-->You selected: null<br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" min=\"09:00:00\" max=\"18:00:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-values\"><div class=\"k-input k-auto-width k-inline k-select-input css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\" style=\"width: px;\"><div class=\"k-input-fake\">请选择时间</div></div></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><!--portal-->You selected: []</div>"
"<div><div class=\"k-select time css-u2afkm\" step=\"00:30:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal-->You selected: null<br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" min=\"09:00:00\" max=\"18:00:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-values\"><div class=\"k-input k-auto-width k-inline k-select-input css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\" style=\"width: px;\"><div class=\"k-input-fake\">请选择时间</div></div></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><!--portal-->You selected: []</div>"
```

#### `Timepicker stepRange`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@
#### `Select format`

```
"<div><div class=\"item\"><span class=\"label\">border:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"dashed\"><div class=\"k-select-value c-ellipsis\">dashed</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><div class=\"rect\"> Rectangle </div></div><div class=\"item\"><span class=\"label\">multiple:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"ion-camera\"><div class=\"k-select-values\"><div class=\"k-select-tag\"><span class=\"k-select-text\">ion-camera</span><i class=\"k-icon k-hoverable ion-ios-close k-select-close css-183f70f\"></i></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div></div><div class=\"item\"><span class=\"label\">multiple values:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-placeholder c-ellipsis\">请选择</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div></div></div>"
"<div><div class=\"item\"><span class=\"label\">border:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"dashed\"><div class=\"k-select-value c-ellipsis\">dashed</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><div class=\"rect\"> Rectangle </div></div><div class=\"item\"><span class=\"label\">multiple:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"ion-camera\"><div class=\"k-select-values\"><div class=\"k-select-tag\"><span class=\"k-select-text\"><i class=\"k-icon ion-camera css-183f70f\" style=\"vertical-align: middle;\"></i><span class=\"c-middle\">ion-camera</span></span><i class=\"k-icon k-hoverable ion-ios-close k-select-close css-183f70f\"></i></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div></div><div class=\"item\"><span class=\"label\">multiple values:</span><div class=\"k-select css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-placeholder c-ellipsis\">请选择</div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div></div></div>"
```

#### `Select group`
Expand Down Expand Up @@ -1520,7 +1520,7 @@
#### `Timepicker format`

```
"<div><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><span>You selected: </span><br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" showformat=\"HH:mm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div><span>You selected: </span><br><br><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"开始时间 ~ 结束时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><span>You selected: null</span></div>"
"<div><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><span>You selected: </span><br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" showformat=\"HH:mm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><span>You selected: </span><br><br><div class=\"k-select k-timepicker css-u2afkm\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"开始时间 ~ 结束时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div><span>You selected: null</span></div>"
```

#### `Timepicker range`
Expand All @@ -1532,7 +1532,7 @@
#### `Timepicker step`

```
"<div><div class=\"k-select time css-u2afkm\" step=\"00:30:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div> You selected: null <br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" min=\"09:00:00\" max=\"18:00:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-values\"><div class=\"k-input k-auto-width k-inline k-select-input css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\" style=\"width: px;\"><div class=\"k-input-fake\">请选择时间</div></div></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-select-arrow ion-ios-arrow-down css-183f70f\"></i></span></span></div> You selected: []</div>"
"<div><div class=\"k-select time css-u2afkm\" step=\"00:30:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\"><div class=\"k-input k-fluid k-inline css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\"></div></div></div><span class=\"k-select-suffix\"><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div> You selected: null <br><br><div class=\"k-select css-u2afkm\" step=\"00:30:00\" min=\"09:00:00\" max=\"18:00:00\" tabindex=\"0\"><div class=\"k-select-main\"><input type=\"hidden\" value=\"\"><div class=\"k-select-values\"><div class=\"k-input k-auto-width k-inline k-select-input css-56x9ya\"><div class=\"k-input-wrapper\"><input class=\"k-input-inner\" readonly=\"\" placeholder=\"请选择时间\" type=\"text\" style=\"width: px;\"><div class=\"k-input-fake\">请选择时间</div></div></div></div></div><span class=\"k-select-suffix\"><i class=\"k-icon k-hoverable k-select-clear ion-ios-close css-183f70f\"></i><span class=\"k-select-suffix-icon\"><i class=\"k-icon k-icon-time css-183f70f\"></i></span></span></div> You selected: []</div>"
```

#### `Timepicker stepRange`
Expand Down
Loading

0 comments on commit 1e0444f

Please sign in to comment.