@sooloer/pages 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  .sooloer-filter {
2
2
  position: relative;
3
- padding: 0 12px;
3
+ padding: 0 24px;
4
4
 
5
5
  .btn-expanded {
6
6
  .anticon-down {
@@ -1,9 +1,10 @@
1
1
  .sooloer-page {
2
2
  display: flex;
3
3
  flex-direction: column;
4
+ padding-top: 12px;
4
5
  overflow: hidden;
5
6
  background-color: #fff;
6
- border-radius: 2px;
7
+ border-radius: 8px;
7
8
  &-container {
8
9
  flex: 1;
9
10
  margin: 8px 24px 0;
@@ -1,5 +1,6 @@
1
1
  .sooloer-search-conditions {
2
2
  position: relative;
3
+ padding: 0 24px;
3
4
  &-container {
4
5
  padding: 0 100px 0 0;
5
6
  overflow: hidden;
@@ -1,5 +1,15 @@
1
1
  import { createGlobalStyle } from 'styled-components';
2
- var Style = createGlobalStyle([".sooloer-table{height:100%;> .", "-spin-nested-loading{height:100%;> div[class$='-spin-container']{height:100%;}.", "-table{height:calc(100% - 48px);}}div[class$='-table-container']{height:100%;}div[class$='-table-body']{height:100%;}tr[class$='-table-placeholder']{> td{border-bottom:none;}}li[class$='-pagination-total-text']{flex:1;}&-global-checkbox{margin-left:12px;}.sooloer-table-pagination{margin:12px 0 !important;}}"], function (props) {
2
+ var Style = createGlobalStyle([".sooloer-table{height:100%;> .", "-spin-nested-loading{height:100%;> .", "-spin-container{height:100%;}.", "-table{height:calc(100% - 48px);}}.", "--table-container{height:100%;}.", "--table-body{height:100%;}.", "--table-placeholder{> td{border-bottom:none;}}.", "-pagination-total-text{flex:1;}&-global-checkbox{margin-left:12px;}.sooloer-table-pagination{margin:12px 0 !important;}}"], function (props) {
3
+ return props.prefix;
4
+ }, function (props) {
5
+ return props.prefix;
6
+ }, function (props) {
7
+ return props.prefix;
8
+ }, function (props) {
9
+ return props.prefix;
10
+ }, function (props) {
11
+ return props.prefix;
12
+ }, function (props) {
3
13
  return props.prefix;
4
14
  }, function (props) {
5
15
  return props.prefix;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sooloer/pages",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",
@@ -1,35 +0,0 @@
1
- .sooloer-table {
2
- height: 100%;
3
- // transition: all 0.3s cubic-bezier(0.9, 0, 0.3, 0.7);
4
- > div[class$='-loading'] {
5
- height: 100%;
6
- > div {
7
- &:last-child {
8
- height: 100%;
9
- > div {
10
- height: calc(100% - 48px);
11
- }
12
- }
13
- }
14
- }
15
- div[class$='-table-container'] {
16
- height: 100%;
17
- }
18
- div[class$='-table-body'] {
19
- height: 100%;
20
- }
21
- tr[class$='-table-placeholder'] {
22
- > td {
23
- border-bottom: none;
24
- }
25
- }
26
- li[class$='-pagination-total-text'] {
27
- flex: 1;
28
- }
29
- &-global-checkbox {
30
- margin-left: 12px;
31
- }
32
- .sooloer-table-pagination {
33
- margin: 12px 0;
34
- }
35
- }