> renders normal.tsx correctly 1`] = `
> renders normal.tsx correctly 1`] = `
> renders normal.tsx correctly 1`] = `
-
-
-
-
-
-
+
+
+ 文本
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ orderNumber
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -10268,26 +10247,26 @@ exports[` > renders normal.tsx correctly 1`] = `
-
-
-
-
-
-
-
-
-
-
-
-
- 添加一列
-
-
-
+
+
+
+
+
+
+ orderMoney
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -10412,7 +10473,7 @@ exports[`
> renders normal.tsx correctly 1`] = `
@@ -10420,19142 +10481,789 @@ exports[`
> renders normal.tsx correctly 1`] = `
`;
-exports[`
> renders index.tsx correctly 1`] = `
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
+exports[`
> renders empty.tsx correctly 1`] = `
.emotion-0 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-switcher,
-.emotion-1 .studio-tree-directory .studio-tree-iconEle {
- line-height: 32px!important;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-node-content-wrapper {
- display: -webkit-inline-box;
- display: -webkit-inline-flex;
- display: -ms-inline-flexbox;
- display: inline-flex;
- padding-left: 0;
- line-height: 32px!important;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ gap: 4px;
}
-.emotion-1 .studio-tree-directory .studio-tree-title {
+.emotion-1 {
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode {
- cursor: pointer;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode::before {
- border: 1px solid rgba(5, 5, 5, 0.06);
- border-radius: 4px;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode:hover .studio-tree-switcher {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode:hover .studio-tree-node-content-wrapper {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode:hover::before {
- background: rgba(0, 0, 0, 0.02);
- border-color: #1677ff;
- box-shadow: 0 0 3px 0 #1677ff;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode .studio-tree-switcher-noop {
- cursor: pointer;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode .studio-tree-switcher {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode .studio-tree-node-content-wrapper {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode-selected::before {
- background: #ffffff;
- border: 2 solid #1677ff;
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode-selected .studio-tree-switcher {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-treenode-selected .studio-tree-node-content-wrapper {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 .studio-tree-directory .studio-tree-indent-unit {
- width: 12px;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
width: 100%;
+ height: 24px;
+ font-size: 12px;
+ border-radius: 2px;
+ min-width: 48px;
+ color: rgba(0, 0, 0, 0.45);
+ padding-left: 8px;
}
-.emotion-3 {
+.emotion-4 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 8px;
-}
-
-.emotion-5 {
- max-width: 120px;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- color: rgba(0, 0, 0, 0.25);
- font-size: 10px;
-}
-
-.emotion-6 {
- padding: 4px;
-}
-
-.emotion-6 .studio-segmented-item {
- margin-right: 4px;
- color: rgba(0, 0, 0, 0.45);
- border-radius: 2px;
-}
-
-.emotion-6 .studio-segmented-item:hover {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-6 .studio-segmented-item:last-child {
- margin-right: 0;
-}
-
-.emotion-6 .studio-segmented-item-selected {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-6 .studio-segmented-item-selected:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-6 .studio-segmented-item-label {
- min-height: auto;
- padding: 2px 7px;
- line-height: unset;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
}
+ 列标题
+
+
+ 值类型
+
+
+ 字段
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- padding: 6px 8px;
- background: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- gap: 4px;
-}
-
-.emotion-5 {
- height: 24px;
- margin-left: -4px;
- padding: 4px;
- border-radius: 4px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor: pointer;
- -webkit-transition: 150ms background-color ease-in-out;
- transition: 150ms background-color ease-in-out;
-}
-
-.emotion-5:hover {
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-6 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-8:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-8:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-9 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 4px;
-}
-
-.emotion-13 {
- border-radius: 4px;
-}
-
-.emotion-13 .json-viewer-theme-dark {
- background: none!important;
-}
-
-.emotion-14 {
- background-color: #fff;
- color: rgba(0, 0, 0, 0.87);
- -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- border-radius: 4px;
- box-shadow: none;
- background-color: rgba(0, 0, 0, 0);
- font-family: monospace;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- content-visibility: auto;
-}
-
-.emotion-15 {
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- user-select: text;
-}
-
-.emotion-16 {
- display: inline-block;
- line-height: 1.5;
- color: #002b36;
- letter-spacing: 0.5px;
- opacity: 0.8;
-}
-
-.emotion-17 {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- width: 1em;
- height: 1em;
- display: inline-block;
- fill: currentColor;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- font-size: 1.5rem;
- font-size: .8rem;
-}
-
-.emotion-17:hover {
- cursor: pointer;
-}
-
-.emotion-19 {
- display: inline-block;
- margin-right: 4px;
-}
-
-.emotion-20 {
- letter-spacing: 0.5px;
-}
-
-.emotion-21 {
- padding-left: 4px;
- font-style: italic;
- color: rgba(0, 0, 0, 0.3);
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-22 {
- display: block;
- padding-left: 14.399999999999999px;
- margin-left: 4.8px;
- color: #002b36;
- border-left: 1px solid rgb(235, 235, 235);
-}
-
-.emotion-27 {
- display: inline-block;
- color: #268bd2;
-}
-
-.emotion-28 {
- display: inline-block;
- margin-left: 4px;
- margin-right: 4px;
- font-size: 0.7rem;
- opacity: 0.8;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-29 {
- display: inline-block;
-}
-
-.emotion-41 {
- display: inline-block;
- color: #cb4b16;
-}
-
-.emotion-44 {
- overflow-wrap: anywhere;
- cursor: pointer;
-}
-
-.emotion-45 {
- padding: 4px;
-}
-
-.emotion-70 {
- overflow-wrap: anywhere;
- cursor: inherit;
-}
-
-.emotion-93 {
- display: inline-block;
- color: #2aa198;
-}
-
-.emotion-123 {
- display: inline-block;
- color: #d33682;
-}
-
-.emotion-125 {
- font-size: 0.8rem;
- background-color: rgb(235, 235, 235);
- font-weight: 700;
- border-radius: 3px;
- padding: 0.5px 2px;
-}
-
-.emotion-152 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- "
- 第1条数据
- "
-
-
- :
-
-
- {
-
- 13 Items
-
-
-
-
-
-
-
- "
- id
- "
-
-
- :
-
-
-
-
- int
-
-
- 624748504
-
-
-
-
-
-
- "
- number
- "
-
-
- :
-
-
-
-
-
-
-
- "
- title
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- 🐛 [BUG]yarn install命令
-
- …
-
- "
-
-
-
-
-
-
-
-
-
-
- "
- labels
- "
-
-
- :
-
-
- [
-
- 1 Items
-
-
-
-
-
-
-
-
-
-
-
- 0
-
-
-
- :
-
-
- {
-
- 2 Items
-
-
-
-
-
-
-
- "
- name
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- bug
- "
-
-
-
-
-
-
-
- "
- color
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- error
- "
-
-
-
-
-
-
- }
-
-
-
-
- ]
-
-
-
-
-
- "
- state
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- open
- "
-
-
-
-
-
-
-
- "
- locked
- "
-
-
- :
-
-
-
-
-
-
-
- "
- comments
- "
-
-
- :
-
-
-
-
-
-
-
- "
- created_at
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- 2020-05-26T09:42:56Z
- "
-
-
-
-
-
-
-
- "
- updated_at
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- 2020-05-26T10:03:02Z
- "
-
-
-
-
-
-
-
- "
- closed_at
- "
-
-
- :
-
-
-
-
-
-
-
- "
- author_association
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- NONE
- "
-
-
-
-
-
-
-
- "
- user
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- chenshuai2144
- "
-
-
-
-
-
-
-
- "
- avatar
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- https://gw.alipayobjec
-
- …
-
- "
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders empty.tsx correctly 1`] = `
-.emotion-0 {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- padding: 8px;
- background: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-1 .studio-empty-normal {
- margin: 12px 0;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: -webkit-fit-content;
- width: -moz-fit-content;
- width: fit-content;
- gap: 12px;
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 8px;
-}
-
-
-
-
-
-
-
-
-
-
- 没有数据?来试试 Demo 吧
-
-
-
-
-
-
-
-
-
-
-
- 立即尝试
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders emptyAction.tsx correctly 1`] = `
-.emotion-0 {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- padding: 8px;
- background: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-1 .studio-empty-normal {
- margin: 12px 0;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: -webkit-fit-content;
- width: -moz-fit-content;
- width: fit-content;
- gap: 12px;
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 8px;
-}
-
-
-
-
-
-
-
-
-
-
- 没有数据?来试试 Demo 吧
-
-
-
-
-
-
-
-
-
-
-
- 立即尝试
-
-
-
-
-
-
-
-
-
-
-
- 导入表格
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders extra.tsx correctly 1`] = `
-.emotion-0 {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- padding: 6px 8px;
- background: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- gap: 4px;
-}
-
-.emotion-5 {
- height: 24px;
- margin-left: -4px;
- padding: 4px;
- border-radius: 4px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor: pointer;
- -webkit-transition: 150ms background-color ease-in-out;
- transition: 150ms background-color ease-in-out;
-}
-
-.emotion-5:hover {
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-6 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-8:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-8:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-9 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 4px;
-}
-
-.emotion-14 {
- border-radius: 4px;
-}
-
-.emotion-14 .json-viewer-theme-dark {
- background: none!important;
-}
-
-.emotion-15 {
- background-color: #fff;
- color: rgba(0, 0, 0, 0.87);
- -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- border-radius: 4px;
- box-shadow: none;
- background-color: rgba(0, 0, 0, 0);
- font-family: monospace;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- content-visibility: auto;
-}
-
-.emotion-16 {
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- user-select: text;
-}
-
-.emotion-17 {
- display: inline-block;
- line-height: 1.5;
- color: #002b36;
- letter-spacing: 0.5px;
- opacity: 0.8;
-}
-
-.emotion-18 {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- width: 1em;
- height: 1em;
- display: inline-block;
- fill: currentColor;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- font-size: 1.5rem;
- font-size: .8rem;
-}
-
-.emotion-18:hover {
- cursor: pointer;
-}
-
-.emotion-20 {
- display: inline-block;
- margin-right: 4px;
-}
-
-.emotion-21 {
- letter-spacing: 0.5px;
-}
-
-.emotion-22 {
- padding-left: 4px;
- font-style: italic;
- color: rgba(0, 0, 0, 0.3);
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-23 {
- display: block;
- padding-left: 14.399999999999999px;
- margin-left: 4.8px;
- color: #002b36;
- border-left: 1px solid rgb(235, 235, 235);
-}
-
-.emotion-28 {
- display: inline-block;
- color: #268bd2;
-}
-
-.emotion-29 {
- display: inline-block;
- margin-left: 4px;
- margin-right: 4px;
- font-size: 0.7rem;
- opacity: 0.8;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-30 {
- display: inline-block;
-}
-
-.emotion-42 {
- display: inline-block;
- color: #cb4b16;
-}
-
-.emotion-45 {
- overflow-wrap: anywhere;
- cursor: pointer;
-}
-
-.emotion-46 {
- padding: 4px;
-}
-
-.emotion-71 {
- overflow-wrap: anywhere;
- cursor: inherit;
-}
-
-.emotion-94 {
- display: inline-block;
- color: #2aa198;
-}
-
-.emotion-124 {
- display: inline-block;
- color: #d33682;
-}
-
-.emotion-126 {
- font-size: 0.8rem;
- background-color: rgb(235, 235, 235);
- font-weight: 700;
- border-radius: 3px;
- padding: 0.5px 2px;
-}
-
-.emotion-153 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- "
- 第1条数据
- "
-
-
- :
-
-
- {
-
- 13 Items
-
-
-
-
-
-
-
- "
- id
- "
-
-
- :
-
-
-
-
- int
-
-
- 624748504
-
-
-
-
-
-
- "
- number
- "
-
-
- :
-
-
-
-
-
-
-
- "
- title
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- 🐛 [BUG]yarn install命令
-
- …
-
- "
-
-
-
-
-
-
-
-
-
-
- "
- labels
- "
-
-
- :
-
-
- [
-
- 1 Items
-
-
-
-
-
-
-
-
-
-
-
- 0
-
-
-
- :
-
-
- {
-
- 2 Items
-
-
-
-
-
-
-
- "
- name
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- bug
- "
-
-
-
-
-
-
-
- "
- color
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- error
- "
-
-
-
-
-
-
- }
-
-
-
-
- ]
-
-
-
-
-
- "
- state
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- open
- "
-
-
-
-
-
-
-
- "
- locked
- "
-
-
- :
-
-
-
-
-
-
-
- "
- comments
- "
-
-
- :
-
-
-
-
-
-
-
- "
- created_at
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- 2020-05-26T09:42:56Z
- "
-
-
-
-
-
-
-
- "
- updated_at
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- 2020-05-26T10:03:02Z
- "
-
-
-
-
-
-
-
- "
- closed_at
- "
-
-
- :
-
-
-
-
-
-
-
- "
- author_association
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- NONE
- "
-
-
-
-
-
-
-
- "
- user
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- chenshuai2144
- "
-
-
-
-
-
-
-
- "
- avatar
- "
-
-
- :
-
-
-
-
- string
-
-
-
- "
- https://gw.alipayobjec
-
- …
-
- "
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders renderEmpty.tsx correctly 1`] = `
-.emotion-0 {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- padding: 8px;
- background: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-1 .studio-empty-normal {
- margin: 12px 0;
-}
-
-
-`;
-
-exports[`
> renders showType.tsx correctly 1`] = `
-.emotion-0 {
- color: rgba(0, 0, 0, 0.65);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- padding: 6px 8px;
- background: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- gap: 4px;
-}
-
-.emotion-5 {
- height: 24px;
- margin-left: -4px;
- padding: 4px;
- border-radius: 4px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- cursor: pointer;
- -webkit-transition: 150ms background-color ease-in-out;
- transition: 150ms background-color ease-in-out;
-}
-
-.emotion-5:hover {
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-6 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-8:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-8:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-9 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 4px;
-}
-
-.emotion-13 {
- border-radius: 4px;
-}
-
-.emotion-13 .json-viewer-theme-dark {
- background: none!important;
-}
-
-.emotion-14 {
- background-color: #fff;
- color: rgba(0, 0, 0, 0.87);
- -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- border-radius: 4px;
- box-shadow: none;
- background-color: rgba(0, 0, 0, 0);
- font-family: monospace;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- content-visibility: auto;
-}
-
-.emotion-15 {
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- user-select: text;
-}
-
-.emotion-16 {
- display: inline-block;
- line-height: 1.5;
- color: #002b36;
- letter-spacing: 0.5px;
- opacity: 0.8;
-}
-
-.emotion-17 {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- width: 1em;
- height: 1em;
- display: inline-block;
- fill: currentColor;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
- font-size: 1.5rem;
- font-size: .8rem;
-}
-
-.emotion-17:hover {
- cursor: pointer;
-}
-
-.emotion-19 {
- display: inline-block;
- margin-right: 4px;
-}
-
-.emotion-20 {
- letter-spacing: 0.5px;
-}
-
-.emotion-21 {
- padding-left: 4px;
- font-style: italic;
- color: rgba(0, 0, 0, 0.3);
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-22 {
- display: block;
- padding-left: 14.399999999999999px;
- margin-left: 4.8px;
- color: #002b36;
- border-left: 1px solid rgb(235, 235, 235);
-}
-
-.emotion-27 {
- display: inline-block;
- color: #268bd2;
-}
-
-.emotion-28 {
- display: inline-block;
-}
-
-.emotion-39 {
- display: inline-block;
- color: #cb4b16;
-}
-
-.emotion-41 {
- overflow-wrap: anywhere;
- cursor: pointer;
-}
-
-.emotion-42 {
- padding: 4px;
-}
-
-.emotion-66 {
- overflow-wrap: anywhere;
- cursor: inherit;
-}
-
-.emotion-87 {
- display: inline-block;
- color: #2aa198;
-}
-
-.emotion-113 {
- display: inline-block;
- color: #d33682;
-}
-
-.emotion-115 {
- font-size: 0.8rem;
- background-color: rgb(235, 235, 235);
- font-weight: 700;
- border-radius: 3px;
- padding: 0.5px 2px;
-}
-
-.emotion-139 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-end;
- -webkit-box-align: flex-end;
- -ms-flex-align: flex-end;
- align-items: flex-end;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- "
- 第1条数据
- "
-
-
- :
-
-
- {
-
- 13 Items
-
-
-
-
-
-
-
- "
- id
- "
-
-
- :
-
-
-
-
-
-
-
- "
- number
- "
-
-
- :
-
-
-
-
-
-
-
- "
- title
- "
-
-
- :
-
-
-
-
-
- "
- 🐛 [BUG]yarn install命令
-
- …
-
- "
-
-
-
-
-
-
-
-
-
-
- "
- labels
- "
-
-
- :
-
-
- [
-
- 1 Items
-
-
-
-
-
-
-
-
-
-
-
- 0
-
-
-
- :
-
-
- {
-
- 2 Items
-
-
-
-
-
-
-
- "
- name
- "
-
-
- :
-
-
-
-
-
-
-
- "
- color
- "
-
-
- :
-
-
-
-
-
- "
- error
- "
-
-
-
-
-
-
- }
-
-
-
-
- ]
-
-
-
-
-
- "
- state
- "
-
-
- :
-
-
-
-
-
-
-
- "
- locked
- "
-
-
- :
-
-
-
-
-
-
-
- "
- comments
- "
-
-
- :
-
-
-
-
-
-
-
- "
- created_at
- "
-
-
- :
-
-
-
-
-
- "
- 2020-05-26T09:42:56Z
- "
-
-
-
-
-
-
-
- "
- updated_at
- "
-
-
- :
-
-
-
-
-
- "
- 2020-05-26T10:03:02Z
- "
-
-
-
-
-
-
-
- "
- closed_at
- "
-
-
- :
-
-
-
-
-
-
-
- "
- author_association
- "
-
-
- :
-
-
-
-
-
-
-
- "
- user
- "
-
-
- :
-
-
-
-
-
- "
- chenshuai2144
- "
-
-
-
-
-
-
-
- "
- avatar
- "
-
-
- :
-
-
-
-
-
- "
- https://gw.alipayobjec
-
- …
-
- "
-
-
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- position: relative;
- border: 0 solid rgba(5, 5, 5, 0.06);
-}
-
-.emotion-0:hover .studio-draggable-panel-toggle {
- opacity: 1;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-2 {
- position: absolute;
- opacity: 0;
- z-index: 1001;
- -webkit-transition: opacity 0.1s;
- transition: opacity 0.1s;
- border-radius: 4px;
- cursor: pointer;
- background: #ffffff;
- border-width: 1px;
- border-style: solid;
- color: rgba(0, 0, 0, 0.45);
- border-color: #d9d9d9;
- width: 16px;
- height: 40px;
- left: -17px;
- top: 50%;
- margin-top: -20px;
- border-radius: 4px 0 0 4px;
- border-right-width: 0;
-}
-
-.emotion-2:hover {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-3 {
- background: #ffffff;
- overflow: hidden;
-}
-
-.emotion-4 {
- position: relative;
-}
-
-.emotion-4::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-4:hover::before,
-.emotion-4:active::before {
- background: #1677ff;
-}
-
-.emotion-4::before {
- left: 50%;
- width: 2px;
- height: 100%;
-}
-
-
-`;
-
-exports[`
> renders bottom.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-1 {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- position: relative;
- border: 0 solid rgba(5, 5, 5, 0.06);
-}
-
-.emotion-1:hover .studio-draggable-panel-toggle {
- opacity: 1;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-3 {
- position: absolute;
- opacity: 0;
- z-index: 1001;
- -webkit-transition: opacity 0.1s;
- transition: opacity 0.1s;
- border-radius: 4px;
- cursor: pointer;
- background: #ffffff;
- border-width: 1px;
- border-style: solid;
- color: rgba(0, 0, 0, 0.45);
- border-color: #d9d9d9;
- height: 16px;
- width: 40px;
- top: -17px;
- left: 50%;
- margin-left: -20px;
- border-radius: 4px 4px 0 0;
- border-bottom-width: 0;
-}
-
-.emotion-3:hover {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-4 {
- background: #ffffff;
- overflow: hidden;
-}
-
-.emotion-5 {
- position: relative;
-}
-
-.emotion-5::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-5:hover::before,
-.emotion-5:active::before {
- background: #1677ff;
-}
-
-.emotion-5::before {
- top: 50%;
- height: 2px;
- width: 100%;
-}
-
-
-`;
-
-exports[`
> renders controlFloat.tsx correctly 1`] = `
-.emotion-0 {
- overflow: hidden;
- border-radius: 8px;
- background: #ffffff;
- box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05);
- z-index: 2000;
-}
-
-.emotion-1 {
- position: relative;
-}
-
-.emotion-1::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-1:hover::before,
-.emotion-1:active::before {
- background: #1677ff;
-}
-
-.emotion-1::before {
- top: 50%;
- height: 2px;
- width: 100%;
-}
-
-.emotion-2 {
- position: relative;
-}
-
-.emotion-2::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-2:hover::before,
-.emotion-2:active::before {
- background: #1677ff;
-}
-
-.emotion-2::before {
- right: 50%;
- width: 2px;
- height: 100%;
-}
-
-.emotion-3 {
- position: relative;
-}
-
-.emotion-3::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-3:hover::before,
-.emotion-3:active::before {
- background: #1677ff;
-}
-
-.emotion-3::before {
- bottom: 50%;
- height: 2px;
- width: 100%;
-}
-
-.emotion-4 {
- position: relative;
-}
-
-.emotion-4::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-4:hover::before,
-.emotion-4:active::before {
- background: #1677ff;
-}
-
-.emotion-4::before {
- left: 50%;
- width: 2px;
- height: 100%;
-}
-
-
-`;
-
-exports[`
> renders float.tsx correctly 1`] = `
-.emotion-0 {
- overflow: hidden;
- border-radius: 8px;
- background: #ffffff;
- box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05);
- z-index: 2000;
-}
-
-.emotion-1 {
- position: relative;
-}
-
-.emotion-1::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-1:hover::before,
-.emotion-1:active::before {
- background: #1677ff;
-}
-
-.emotion-1::before {
- top: 50%;
- height: 2px;
- width: 100%;
-}
-
-.emotion-2 {
- position: relative;
-}
-
-.emotion-2::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-2:hover::before,
-.emotion-2:active::before {
- background: #1677ff;
-}
-
-.emotion-2::before {
- right: 50%;
- width: 2px;
- height: 100%;
-}
-
-.emotion-3 {
- position: relative;
-}
-
-.emotion-3::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-3:hover::before,
-.emotion-3:active::before {
- background: #1677ff;
-}
-
-.emotion-3::before {
- bottom: 50%;
- height: 2px;
- width: 100%;
-}
-
-.emotion-4 {
- position: relative;
-}
-
-.emotion-4::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-4:hover::before,
-.emotion-4:active::before {
- background: #1677ff;
-}
-
-.emotion-4::before {
- left: 50%;
- width: 2px;
- height: 100%;
-}
-
-
-`;
-
-exports[`
> renders left.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
-}
-
-.emotion-1 {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- position: relative;
- border: 0 solid rgba(5, 5, 5, 0.06);
-}
-
-.emotion-1:hover .studio-draggable-panel-toggle {
- opacity: 1;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-3 {
- position: absolute;
- opacity: 0;
- z-index: 1001;
- -webkit-transition: opacity 0.1s;
- transition: opacity 0.1s;
- border-radius: 4px;
- cursor: pointer;
- background: #ffffff;
- border-width: 1px;
- border-style: solid;
- color: rgba(0, 0, 0, 0.45);
- border-color: #d9d9d9;
- width: 16px;
- height: 40px;
- right: -17px;
- top: 50%;
- margin-top: -20px;
- border-radius: 0 4px 4px 0;
- border-left-width: 0;
-}
-
-.emotion-3:hover {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-4 {
- background: #ffffff;
- overflow: hidden;
-}
-
-.emotion-5 {
- position: relative;
-}
-
-.emotion-5::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-5:hover::before,
-.emotion-5:active::before {
- background: #1677ff;
-}
-
-.emotion-5::before {
- right: 50%;
- width: 2px;
- height: 100%;
-}
-
-
-`;
-
-exports[`
> renders top.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-1 {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- position: relative;
- border: 0 solid rgba(5, 5, 5, 0.06);
-}
-
-.emotion-1:hover .studio-draggable-panel-toggle {
- opacity: 1;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-3 {
- position: absolute;
- opacity: 0;
- z-index: 1001;
- -webkit-transition: opacity 0.1s;
- transition: opacity 0.1s;
- border-radius: 4px;
- cursor: pointer;
- background: #ffffff;
- border-width: 1px;
- border-style: solid;
- color: rgba(0, 0, 0, 0.45);
- border-color: #d9d9d9;
- height: 16px;
- width: 40px;
- bottom: -17px;
- left: 50%;
- margin-left: -20px;
- border-radius: 0 0 4px 4px;
- border-top-width: 0;
-}
-
-.emotion-3:hover {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-4 {
- background: #ffffff;
- overflow: hidden;
-}
-
-.emotion-5 {
- position: relative;
-}
-
-.emotion-5::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-5:hover::before,
-.emotion-5:active::before {
- background: #1677ff;
-}
-
-.emotion-5::before {
- bottom: 50%;
- height: 2px;
- width: 100%;
-}
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 {
- font-size: 14px;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 {
- width: 100%;
-}
-
-.emotion-0.studio-select-multiple:not(.emotion-0.studio-select-customize-input) .emotion-0.studio-select.studio-select-selector:hover {
- color: rgba(0, 0, 0, 0.88);
- background-color: rgba(0, 0, 0, 0.04);
- border-color: transparent;
-}
-
-.emotion-0.studio-select-multiple:not(.emotion-0.studio-select-customize-input) .emotion-0.studio-select.studio-select-selector:focus {
- color: rgba(0, 0, 0, 0.88)!important;
- background-color: rgba(0, 0, 0, 0.02)!important;
- border-color: #1677ff!important;
- box-shadow: none;
-}
-
-.emotion-0.studio-select:not(.studio-select-disabled):not(.studio-select-customize-input):hover .studio-select-selector {
- border-color: transparent;
-}
-
-.emotion-0.studio-select:not(.studio-select-disabled):not(.studio-select-customize-input):hover .studio-select-selector:hover {
- color: rgba(0, 0, 0, 0.88);
- background-color: rgba(0, 0, 0, 0.04);
- border-color: transparent;
-}
-
-.emotion-0.studio-select:not(.studio-select-disabled):not(.studio-select-customize-input):hover .studio-select-selector:focus {
- color: rgba(0, 0, 0, 0.88)!important;
- background-color: rgba(0, 0, 0, 0.02)!important;
- border-color: #1677ff!important;
- box-shadow: none;
-}
-
-.emotion-0.studio-select-focused:not(.studio-select-disabled):not(.studio-select-customize-input):hover .studio-select-selector {
- color: rgba(0, 0, 0, 0.88)!important;
- background-color: rgba(0, 0, 0, 0.02)!important;
- border-color: #1677ff!important;
- box-shadow: none;
-}
-
-.emotion-0.studio-select-focused:not(.studio-select-disabled):not(.studio-select-customize-input) .studio-select-selector {
- color: rgba(0, 0, 0, 0.88)!important;
- background-color: rgba(0, 0, 0, 0.02)!important;
- border-color: #1677ff!important;
- box-shadow: none;
-}
-
-.emotion-0 .studio-select-arrow {
- top: 13px;
- right: 8px;
- width: 10px;
- height: 10px;
- font-size: 10px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- font-size: 12px;
-}
-
-.emotion-2 {
- font-size: 14px;
-}
-
-.emotion-3 {
- margin-left: 4px;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- orderId
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- font-size: 12px;
-}
-
-.emotion-1 {
- font-size: 14px;
-}
-
-.emotion-2 {
- margin-left: 4px;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- any
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- anyArray
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bool
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- boolArray
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- integer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- integerArray
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- number
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- numberArray
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- object
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- objectArray
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- stringArray
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- boolean
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders description.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- font-size: 12px;
-}
-
-.emotion-1 {
- font-size: 14px;
-}
-
-.emotion-2 {
- margin-left: 4px;
-}
-
-.emotion-7 {
- padding-left: 16px;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- success
-
-
- 成功标识
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- success
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- success
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 .react-flow__attribution {
- display: none;
-}
-
-.emotion-0 .react-flow__pane,
-.emotion-0 .react-flow__node {
- cursor: auto;
-}
-
-.emotion-1 {
- height: 100%;
-}
-
-.emotion-2 {
- position: absolute;
- bottom: 10px;
- right: 10px;
- z-index: 100;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- padding: 8px;
-}
-
-
-
-
-
-
-
-
-
-
-
-
- 100%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 自定义
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Press enter or space to select a node.
- You can then use the arrow keys to move the node around.
- Press delete to remove it and escape to cancel.
-
-
-
- Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
-
-
-
-
-
-`;
-
-exports[`
> renders basic.tsx correctly 1`] = `
-.emotion-0 {
- background-color: #2b303b;
- border: 1px solid #2b303b;
- position: relative;
- overflow: auto;
- margin: 0;
- border-radius: 6px;
- -webkit-transition: background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-0 pre {
- margin: 0!important;
- padding: 16px 24px!important;
- background: none!important;
-}
-
-.emotion-0 code {
- background: transparent!important;
-}
-
-.emotion-1 {
- position: absolute;
- top: 16px;
- right: 16px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- width: 16px;
- height: 16px;
- padding: 0;
- overflow: hidden;
- border: 0;
- outline: none;
- cursor: pointer;
- opacity: 0.6;
- -webkit-transition: opacity 0.2s;
- transition: opacity 0.2s;
- background-color: #2b303b;
-}
-
-.emotion-1:hover {
- opacity: 0.8;
-}
-
-.emotion-2 {
- width: 16px;
- color: #dddddd;
- height: 16px;
- font-size: 16px;
-}
-
-.emotion-2.scoll {
- -webkit-animation: copy-button-trans 2s;
- animation: copy-button-trans 2s;
- -webkit-animation-play-state: running;
- animation-play-state: running;
-}
-
-.emotion-4 {
- display: block;
- overflow-x: auto;
- color: #dddddd;
- background-color: #777777;
-}
-
-.emotion-4 .hljs-comment,
-.emotion-4 .hljs-quote {
- color: #555555;
-}
-
-.emotion-4 .hljs-variable,
-.emotion-4 .hljs-attribute,
-.emotion-4 .hljs-template-variable,
-.emotion-4 .hljs-tag,
-.emotion-4 .hljs-name,
-.emotion-4 .hljs-selector-id,
-.emotion-4 .hljs-selector-class,
-.emotion-4 .hljs-regexp,
-.emotion-4 .hljs-title,
-.emotion-4 .hljs-deletion {
- color: #f04f88;
-}
-
-.emotion-4 .hljs-builtin-name,
-.emotion-4 .hljs-literal,
-.emotion-4 .hljs-type,
-.emotion-4 .hljs-params,
-.emotion-4 .hljs-meta,
-.emotion-4 .hljs-link {
- color: #ffcb47;
-}
-
-.emotion-4 .hljs-string,
-.emotion-4 .hljs-number,
-.emotion-4 .hljs-symbol,
-.emotion-4 .hljs-bullet,
-.emotion-4 .hljs-addition {
- color: #c4f042;
-}
-
-.emotion-4 .hljs-keyword,
-.emotion-4 .hljs-doctag,
-.emotion-4 .hljs-built_in,
-.emotion-4 .hljs-selector-tag,
-.emotion-4 .hljs-section {
- color: #8ae8ff;
-}
-
-.emotion-4 .hljs-emphasis {
- font-style: italic;
-}
-
-.emotion-4 .hljs-strong {
- font-weight: bold;
-}
-
-.emotion-5 {
- width: 100%;
-}
-
-.emotion-10 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- gap: 8px;
-}
-
-.emotion-11 {
- -webkit-backdrop-filter: saturate(180%) blur(10px);
- backdrop-filter: saturate(180%) blur(10px);
- position: absolute;
- top: 0;
- right: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- height: 36px;
- padding: 0 8px;
- font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace;
- color: #555555;
- border-radius: 6;
-}
-
-.emotion-12 {
- color: #555555;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- public
-
-
-
-
- class
-
-
-
- HelloWorld
-
-
-
- {
-
-
-
-
-
-
-
- public
-
-
-
- static
-
-
-
- void
-
-
-
- main
-
-
- (String[] args)
-
-
-
- {
-
-
-
-
- System.out.println(
-
- "Hello World!"
-
- );
-
-
-
-
- }
-
-
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
- Highlighting...
-
-
-
-`;
-
-exports[`
> renders lineNumber.tsx correctly 1`] = `
-.emotion-0 {
- background-color: #fafafa;
- border: 1px solid #fafafa;
- position: relative;
- overflow: auto;
- margin: 0;
- border-radius: 6px;
- -webkit-transition: background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-0 pre {
- margin: 0!important;
- padding: 16px 24px!important;
- background: none!important;
-}
-
-.emotion-0 code {
- background: transparent!important;
-}
-
-.emotion-1 {
- position: absolute;
- top: 16px;
- right: 16px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- width: 16px;
- height: 16px;
- padding: 0;
- overflow: hidden;
- border: 0;
- outline: none;
- cursor: pointer;
- opacity: 0.6;
- -webkit-transition: opacity 0.2s;
- transition: opacity 0.2s;
- background-color: #fafafa;
-}
-
-.emotion-1:hover {
- opacity: 0.8;
-}
-
-.emotion-2 {
- width: 16px;
- color: #333333;
- height: 16px;
- font-size: 16px;
-}
-
-.emotion-2.scoll {
- -webkit-animation: copy-button-trans 2s;
- animation: copy-button-trans 2s;
- -webkit-animation-play-state: running;
- animation-play-state: running;
-}
-
-.emotion-4 {
- display: block;
- overflow-x: auto;
- color: #333333;
- background-color: #666666;
-}
-
-.emotion-4 .hljs-comment,
-.emotion-4 .hljs-quote {
- color: #aaaaaa;
-}
-
-.emotion-4 .hljs-variable,
-.emotion-4 .hljs-attribute,
-.emotion-4 .hljs-template-variable,
-.emotion-4 .hljs-tag,
-.emotion-4 .hljs-name,
-.emotion-4 .hljs-selector-id,
-.emotion-4 .hljs-selector-class,
-.emotion-4 .hljs-regexp,
-.emotion-4 .hljs-title,
-.emotion-4 .hljs-deletion {
- color: #ec5e41;
-}
-
-.emotion-4 .hljs-builtin-name,
-.emotion-4 .hljs-literal,
-.emotion-4 .hljs-type,
-.emotion-4 .hljs-params,
-.emotion-4 .hljs-meta,
-.emotion-4 .hljs-link {
- color: #ff802b;
-}
-
-.emotion-4 .hljs-string,
-.emotion-4 .hljs-number,
-.emotion-4 .hljs-symbol,
-.emotion-4 .hljs-bullet,
-.emotion-4 .hljs-addition {
- color: #55b467;
-}
-
-.emotion-4 .hljs-keyword,
-.emotion-4 .hljs-doctag,
-.emotion-4 .hljs-built_in,
-.emotion-4 .hljs-selector-tag,
-.emotion-4 .hljs-section {
- color: #369eff;
-}
-
-.emotion-4 .hljs-emphasis {
- font-style: italic;
-}
-
-.emotion-4 .hljs-strong {
- font-weight: bold;
-}
-
-.emotion-5 {
- box-sizing: border-box;
- width: 1rem;
- margin-right: 1.5rem;
- display: inline-block;
- color: rgba(115, 138, 148, 0.4);
- text-align: right;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-6 {
- width: 100%;
-}
-
-.emotion-15 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- gap: 8px;
-}
-
-.emotion-16 {
- -webkit-backdrop-filter: saturate(180%) blur(10px);
- backdrop-filter: saturate(180%) blur(10px);
- position: absolute;
- top: 0;
- right: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- height: 36px;
- padding: 0 8px;
- font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace;
- color: #aaaaaa;
- border-radius: 6;
-}
-
-.emotion-17 {
- color: #aaaaaa;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
- public
-
-
-
-
- class
-
-
-
- HelloWorld
-
-
-
- {
-
-
-
-
- 2
-
-
-
-
-
- public
-
-
-
- static
-
-
-
- void
-
-
-
- main
-
-
- (String[] args)
-
-
-
- {
-
-
-
-
- 3
-
-
- System.out.println(
-
- "Hello World!"
-
- );
-
-
-
-
- 4
-
-
- }
-
-
-
-
- 5
-
-
- }
-
-
-
-
-
-
-
-
-
-
-
- Highlighting...
-
-
-
-`;
-
-exports[`
> renders theme.tsx correctly 1`] = `
-.emotion-0 {
- background-color: #fafafa;
- border: 1px solid #fafafa;
- position: relative;
- overflow: auto;
- margin: 0;
- border-radius: 6px;
- -webkit-transition: background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-0 pre {
- margin: 0!important;
- padding: 16px 24px!important;
- background: none!important;
-}
-
-.emotion-0 code {
- background: transparent!important;
-}
-
-.emotion-1 {
- position: absolute;
- top: 16px;
- right: 16px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- width: 16px;
- height: 16px;
- padding: 0;
- overflow: hidden;
- border: 0;
- outline: none;
- cursor: pointer;
- opacity: 0.6;
- -webkit-transition: opacity 0.2s;
- transition: opacity 0.2s;
- background-color: #fafafa;
-}
-
-.emotion-1:hover {
- opacity: 0.8;
-}
-
-.emotion-2 {
- width: 16px;
- color: #333333;
- height: 16px;
- font-size: 16px;
-}
-
-.emotion-2.scoll {
- -webkit-animation: copy-button-trans 2s;
- animation: copy-button-trans 2s;
- -webkit-animation-play-state: running;
- animation-play-state: running;
-}
-
-.emotion-4 {
- display: block;
- overflow-x: auto;
- color: #333333;
- background-color: #666666;
-}
-
-.emotion-4 .hljs-comment,
-.emotion-4 .hljs-quote {
- color: #aaaaaa;
-}
-
-.emotion-4 .hljs-variable,
-.emotion-4 .hljs-attribute,
-.emotion-4 .hljs-template-variable,
-.emotion-4 .hljs-tag,
-.emotion-4 .hljs-name,
-.emotion-4 .hljs-selector-id,
-.emotion-4 .hljs-selector-class,
-.emotion-4 .hljs-regexp,
-.emotion-4 .hljs-title,
-.emotion-4 .hljs-deletion {
- color: #ec5e41;
-}
-
-.emotion-4 .hljs-builtin-name,
-.emotion-4 .hljs-literal,
-.emotion-4 .hljs-type,
-.emotion-4 .hljs-params,
-.emotion-4 .hljs-meta,
-.emotion-4 .hljs-link {
- color: #ff802b;
-}
-
-.emotion-4 .hljs-string,
-.emotion-4 .hljs-number,
-.emotion-4 .hljs-symbol,
-.emotion-4 .hljs-bullet,
-.emotion-4 .hljs-addition {
- color: #55b467;
-}
-
-.emotion-4 .hljs-keyword,
-.emotion-4 .hljs-doctag,
-.emotion-4 .hljs-built_in,
-.emotion-4 .hljs-selector-tag,
-.emotion-4 .hljs-section {
- color: #369eff;
-}
-
-.emotion-4 .hljs-emphasis {
- font-style: italic;
-}
-
-.emotion-4 .hljs-strong {
- font-weight: bold;
-}
-
-.emotion-5 {
- width: 100%;
-}
-
-.emotion-19 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- gap: 8px;
-}
-
-.emotion-20 {
- -webkit-backdrop-filter: saturate(180%) blur(10px);
- backdrop-filter: saturate(180%) blur(10px);
- position: absolute;
- top: 0;
- right: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- height: 36px;
- padding: 0 8px;
- font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace;
- color: #aaaaaa;
- border-radius: 6;
-}
-
-.emotion-21 {
- color: #aaaaaa;
-}
-
-
-
-
-
- 语言选择:
-
-
-
-
-
-
-
-
- Typescript
-
-
-
-
-
-
-
-
-
-
-
-
- 主题选择:
-
-
-
-
-
-
-
-
- 白色主题
-
-
-
-
-
-
-
-
-
-
-
-
- 展示行号:
-
-
-
-
-
-
-
-
- 不展示
-
-
-
-
-
-
-
-
-
-
-
-
- 展示类型:
-
-
-
-
-
-
-
-
- block
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- class
-
-
-
- MyClass
-
-
-
- {
-
-
-
-
-
-
- public
-
-
-
- static
-
- myValue:
-
- string
-
- ;
-
-
-
-
-
-
-
- constructor
-
- (
-
- init:
-
- string
-
-
- )
-
- {
-
-
-
-
-
-
- this
-
- .myValue = init;
-
-
-
-
- }
-
-
-
-
- }
-
-
-
-
-
- import
-
- fs =
-
- require
-
- (
-
- "fs"
-
- );
-
-
-
-
-
- module
-
- MyModule {
-
-
-
-
-
-
- export
-
-
-
- interface
-
- MyInterface
-
- extends
-
- Other {
-
-
-
-
-
-
- myProperty
-
- :
-
- any
-
- ;
-
-
-
-
- }
-
-
-
-
- }
-
-
-
-
-
- declare
-
- magicNumber
-
- number
-
- ;
-
-
-
-
- myArray.forEach(
-
- () =>
-
- { });
-
-
-
-
-
-
-
-
-
-
-
-
- Highlighting...
-
-
-
-
-
-`;
-
-exports[`
> renders controlled.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-0:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: rgba(0, 0, 0, 0.06);
-}
-
-
-
-
-
-
-
-
- 图标:
-
- 激活脚本:
-
- Iconfont 图标库集合:
-
-
-
-
-
- 切换为 antd 的 AlipayCircleFilled
-
-
-
-
-
-
- 清空图标
-
-
-
-
-
-`;
-
-exports[`
> renders normal.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-0:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: rgba(0, 0, 0, 0.06);
-}
-
-
-`;
-
-exports[`
> renders scripts.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-0:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-0:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-1 {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background: rgba(0, 0, 0, 0.06);
-}
-
-
-`;
-
-exports[`
> renders Basic.tsx correctly 1`] = `
-
-`;
-
-exports[`
> renders Controlled.tsx correctly 1`] = `
-
-
-
-
-
-
- 取消选中
-
-
-
-
-
-
- 选 中
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders WithContainer.tsx correctly 1`] = `
-
-
-
-
- 只有红色虚线框的内容可以选择(hover会有悬浮样式)
-
-
-
- 点击红色虚线框之外蓝色框之内的区域,可以取消选中
-
-
-
-
- 此区域无法选择
-
-
- 按 钮
-
-
-
-
-`;
-
-exports[`
> renders button.tsx correctly 1`] = `
-.emotion-0 {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- position: relative;
- border: 0 solid rgba(5, 5, 5, 0.06);
-}
-
-.emotion-0:hover .studio-draggable-panel-toggle {
- opacity: 1;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-2 {
- position: absolute;
- opacity: 0;
- z-index: 1001;
- -webkit-transition: opacity 0.1s;
- transition: opacity 0.1s;
- border-radius: 4px;
- cursor: pointer;
- background: #ffffff;
- border-width: 1px;
- border-style: solid;
- color: rgba(0, 0, 0, 0.45);
- border-color: #d9d9d9;
- width: 16px;
- height: 40px;
- left: -17px;
- top: 50%;
- margin-top: -20px;
- border-radius: 4px 0 0 4px;
- border-right-width: 0;
-}
-
-.emotion-2:hover {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
-}
-
-.emotion-3 {
- background: #ffffff;
- overflow: hidden;
-}
-
-.emotion-4 {
- --leva-sizes-controlWidth: 66%;
- --leva-colors-elevation1: rgba(0, 0, 0, 0.06);
- --leva-colors-elevation2: transparent;
- --leva-colors-elevation3: rgba(0, 0, 0, 0.06);
- --leva-colors-accent1: #1677ff;
- --leva-colors-accent2: #4096ff;
- --leva-colors-accent3: #0958d9;
- --leva-colors-highlight1: rgba(0, 0, 0, 0.45);
- --leva-colors-highlight2: rgba(0, 0, 0, 0.65);
- --leva-colors-highlight3: rgba(0, 0, 0, 0.88);
- --leva-colors-vivid1: #faad14;
- --leva-shadows-level1: unset;
- --leva-shadows-level2: unset;
- --leva-fonts-mono: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,Courier,monospace;
- overflow: auto;
- padding: 6px 0;
-}
-
-.emotion-4>div {
- background: transparent;
-}
-
-.emotion-4>div>div {
- background: transparent;
-}
-
-.emotion-4 input:checked+label>svg {
- stroke: #f5f5f5;
-}
-
-.emotion-4 button {
- --leva-colors-accent2: rgba(0, 0, 0, 0.06);
-}
-
-.emotion-5 {
- position: relative;
-}
-
-.emotion-5::before {
- position: absolute;
- z-index: 50;
- -webkit-transition: all 0.3s ease-in-out;
- transition: all 0.3s ease-in-out;
- content: '';
-}
-
-.emotion-5:hover::before,
-.emotion-5:active::before {
- background: #1677ff;
-}
-
-.emotion-5::before {
- left: 50%;
- width: 2px;
- height: 100%;
-}
-
-
-
-
-
-
- 默认按钮
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 按钮属性配置器
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 类型
-
-
-
-
-
- 强调
-
-
- 默认
-
-
- 虚线
-
-
- 链接
-
-
- 文本
-
-
-
- 强调
-
-
-
-
-
-
-
-
-
-
-
-
-
- 大小
-
-
-
-
-
- 大
-
-
- 中
-
-
- 小
-
-
-
- 中
-
-
-
-
-
-
-
-
-
-
-
- 形状
-
-
-
-
-
- 默认
-
-
- 圆形
-
-
- 胶囊
-
-
-
- 默认
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-`;
-
-exports[`
> renders Basic.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-3:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-4 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-4:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-6 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-6:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-7 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-10 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-11 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-11:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-11:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hello
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- world
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders controlled.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
- 设置数据
-
-
-
-
-`;
-
-exports[`
> renders creatorButtonProps.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-3:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-4 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-4:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-6 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-6:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-7 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-10 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-11 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-11:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-11:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-21 {
- height: 24px;
- padding-block: 2px;
- margin-top: 4px;
- margin-bottom: 4px;
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
- border-color: transparent;
-}
-
-.emotion-21:hover {
- color: rgba(0, 0, 0, 0.88)!important;
- background: rgba(0, 0, 0, 0.06)!important;
- border-color: transparent!important;
-}
-
-.emotion-21:focus {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
- border-color: transparent;
- border-color: #1677ff!important;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hello
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- world
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 自定义添加
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders empty.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders getId.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-3:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-4 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-4:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-6 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-6:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-7 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-10 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-11 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-11:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-11:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- foo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- bar
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
- 当值相同且未指定 id 时无法正常排序
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hello
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hello
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders getItemStyles.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-1 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-2:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-3 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-3:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-3:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-3-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-3-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-5 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-5:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-6 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-6:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-6:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-7 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-9 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-10 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-10:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-10:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 关关雎鸠
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 在河之洲
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 窈窕淑女
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 君子好逑
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-`;
-
-exports[`
> renders provider.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-3:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-4 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-4:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-6 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-6:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-7 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-9 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
- gap: 8px;
-}
-
-.emotion-11 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-12 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-12:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-12:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-
-
-
-
- 获取值
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 圆形序号
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 文本
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 下拉框
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders ref.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-2:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-2:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-4 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-5:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-6 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-6:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-6:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-6-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-6-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-7 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-8 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-8:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-9 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-9:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-9:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-10 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-11 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
- gap: 8px;
-}
-
-.emotion-13 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-
-
-
-
- 列配置项
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 圆形序号
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 文本
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 下拉框
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders renderContent.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-3:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-4 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-4:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-6 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-6:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-7 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-9 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
- gap: 8px;
-}
-
-.emotion-11 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-12 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-12:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-12:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 圆形序号
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 文本
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 下拉框
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders renderItem.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
- gap: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- gap: 8px;
-}
-
-.emotion-2 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-3 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-4 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-4:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-5 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-5:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-5-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-5-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-6 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- width: 100%;
- gap: 12px;
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
-}
-
-
-
-
-
-
- 头部添加一项
-
-
-
-
- 尾部添加一项
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
- 关关雎鸠
-
-
-
-
-
- 上方
-
-
-
-
- 下方
-
-
-
-
- 删除
-
-
-
-
- 拖拽
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-
-
-
- 在河之洲
-
-
-
-
-
- 上方
-
-
-
-
- 下方
-
-
-
-
- 删除
-
-
-
-
- 拖拽
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 3
-
-
-
-
-
-
-
- 窈窕淑女
-
-
-
-
-
- 上方
-
-
-
-
- 下方
-
-
-
-
- 删除
-
-
-
-
- 拖拽
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 4
-
-
-
-
-
-
-
- 君子好逑
-
-
-
-
-
- 上方
-
-
-
-
- 下方
-
-
-
-
- 删除
-
-
-
-
- 拖拽
-
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders useSortableList.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- padding: 24px;
-}
-
-.emotion-1 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-2 {
- list-style: none;
- display: grid;
- grid-auto-rows: max-content;
- grid-gap: 2px;
- grid-template-columns: repeat(var(--columns, 1), 1fr);
- width: 100%;
- margin: 0;
- padding: 0;
- border-radius: 4px;
- -webkit-transition: background-color 350ms ease;
- transition: background-color 350ms ease;
-}
-
-.emotion-3 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- box-sizing: border-box;
- -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
- transform-origin: 0 0;
- touch-action: manipulation;
-}
-
-.emotion-3:not(:last-child) {
- margin-bottom: 2px;
-}
-
-.emotion-4 {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- box-sizing: border-box;
- padding: 1px 0;
- color: rgba(0, 0, 0, 0.65);
- font-size: 12px;
- white-space: nowrap;
- list-style: none;
- border-radius: 4px;
- outline: none;
- -webkit-transform: scale(var(--scale, 1));
- -moz-transform: scale(var(--scale, 1));
- -ms-transform: scale(var(--scale, 1));
- transform: scale(var(--scale, 1));
- transform-origin: 50% 50%;
- -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
- -webkit-tap-highlight-color: transparent;
-}
-
-.emotion-4:focus-visible {
- box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-4:not(.studio-sortable-list-item-withHandle) {
- cursor: -webkit-grab;
- cursor: grab;
- -webkit-user-select: none;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- touch-action: none;
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay) {
- z-index: 0;
- opacity: var(--dragging-opacity, 0.5);
-}
-
-.emotion-4-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
- box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
-}
-
-.emotion-5 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
-}
-
-.emotion-6 {
- position: relative;
- width: 100%;
- height: 24px;
- border-radius: 2px;
- min-width: 48px;
-}
-
-.emotion-6:hover .studio-sortable-list-item-actions {
- opacity: 1;
-}
-
-.emotion-7 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-8 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-9 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: row;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- width: 100%;
- gap: 8px;
-}
-
-.emotion-11 {
- z-index: 10;
- color: hsla(0, 0, 0, 0.45);
- opacity: 0;
-}
-
-.emotion-12 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-12:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-12:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 圆形序号
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 文本
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 下拉框
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders controlled.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-1 .studio-sortable-tree-node {
- box-sizing: border-box;
- padding-left: var(--spacing);
- list-style: none;
-}
-
-.emotion-1 .studio-sortable-tree-node-clone {
- display: inline-block;
- padding: 0;
- padding-top: 5px;
- padding-left: 10px;
- pointer-events: none;
-}
-
-.emotion-1 .studio-sortable-tree-node-clone .studio-sortable-tree-node-body {
- padding-right: 24px;
- background-color: #ffffff;
- border: 1px solid #dedede;
- border-radius: 4px;
- box-shadow: 0 15px 15px 0 rgba(34, 33, 81, 0.1);
-}
-
-.emotion-1 .studio-sortable-tree-node:hover .studio-sortable-tree-node-handle {
- opacity: 1;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator {
- position: relative;
- z-index: 1;
- margin-bottom: -1px;
- opacity: 1;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator .studio-sortable-tree-node-body {
- position: relative;
- height: 4px;
- padding: 0;
- background-color: #56a1f8;
- border-color: #1677ff;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator .studio-sortable-tree-node-body::before {
- position: absolute;
- top: -4px;
- left: -8px;
- display: block;
- width: 12px;
- height: 12px;
- background-color: #fff;
- border: 1px solid #1677ff;
- border-radius: 50%;
- content: '';
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator .studio-sortable-tree-node-body>* {
- height: 0;
- opacity: 0;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost:not(.studio-sortable-tree-node-indicator) {
- opacity: 0.5;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost .studio-sortable-tree-node-body>* {
- background-color: transparent;
- box-shadow: none;
-}
-
-.emotion-1 .studio-sortable-tree-node-body {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- box-sizing: border-box;
- padding: 2px;
- background-color: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-1 .studio-sortable-tree-node-content {
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
-}
-
-.emotion-1 .studio-sortable-tree-node-count {
- position: absolute;
- top: -10px;
- right: -10px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- width: 24px;
- height: 24px;
- color: #fff;
- font-weight: 600;
- font-size: 14px;
- background-color: #1677ff;
- border-radius: 50%;
-}
-
-.emotion-1 .disableSelection .studio-sortable-tree-node-content,
-.emotion-1 .clone .studio-sortable-tree-node-content,
-.emotion-1 .disableSelection .studio-sortable-tree-node-count,
-.emotion-1 .clone .studio-sortable-tree-node-count {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-2 {
- margin-bottom: 4px;
-}
-
-.emotion-2:hover .studio-sortable-tree-node-handle,
-.emotion-2:hover .studio-sortable-tree-node-remove {
- opacity: 1;
-}
-
-.emotion-3 {
- position: absolute;
- left: -13px;
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-3:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-3:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-4 {
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-4:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-4:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-7 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7 svg {
- -webkit-transition: -webkit-transform 250ms ease;
- transition: transform 250ms ease;
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-34 {
- height: 24px;
- padding-block: 2px;
- margin-top: 4px;
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
- border-color: transparent;
-}
-
-.emotion-34:hover {
- color: rgba(0, 0, 0, 0.88)!important;
- background: rgba(0, 0, 0, 0.06)!important;
- border-color: transparent!important;
-}
-
-.emotion-34:focus {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
- border-color: transparent;
- border-color: #1677ff!important;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 添加一项
-
-
-
-
- To pick up a draggable item, press the space bar.
- While dragging, use the arrow keys to move the item.
- Press space again to drop the item in its new position, or press escape to cancel.
-
-
-
-
-
-
-`;
-
-exports[`
> renders default.tsx correctly 1`] = `
-.emotion-0 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
-}
-
-.emotion-1 .studio-sortable-tree-node {
- box-sizing: border-box;
- padding-left: var(--spacing);
- list-style: none;
-}
-
-.emotion-1 .studio-sortable-tree-node-clone {
- display: inline-block;
- padding: 0;
- padding-top: 5px;
- padding-left: 10px;
- pointer-events: none;
-}
-
-.emotion-1 .studio-sortable-tree-node-clone .studio-sortable-tree-node-body {
- padding-right: 24px;
- background-color: #ffffff;
- border: 1px solid #dedede;
- border-radius: 4px;
- box-shadow: 0 15px 15px 0 rgba(34, 33, 81, 0.1);
-}
-
-.emotion-1 .studio-sortable-tree-node:hover .studio-sortable-tree-node-handle {
- opacity: 1;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator {
- position: relative;
- z-index: 1;
- margin-bottom: -1px;
- opacity: 1;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator .studio-sortable-tree-node-body {
- position: relative;
- height: 4px;
- padding: 0;
- background-color: #56a1f8;
- border-color: #1677ff;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator .studio-sortable-tree-node-body::before {
- position: absolute;
- top: -4px;
- left: -8px;
- display: block;
- width: 12px;
- height: 12px;
- background-color: #fff;
- border: 1px solid #1677ff;
- border-radius: 50%;
- content: '';
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost.studio-sortable-tree-node-indicator .studio-sortable-tree-node-body>* {
- height: 0;
- opacity: 0;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost:not(.studio-sortable-tree-node-indicator) {
- opacity: 0.5;
-}
-
-.emotion-1 .studio-sortable-tree-node-ghost .studio-sortable-tree-node-body>* {
- background-color: transparent;
- box-shadow: none;
-}
-
-.emotion-1 .studio-sortable-tree-node-body {
- position: relative;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- box-sizing: border-box;
- padding: 2px;
- background-color: rgba(0, 0, 0, 0.02);
- border-radius: 4px;
-}
-
-.emotion-1 .studio-sortable-tree-node-content {
- -webkit-box-flex: 1;
- -webkit-flex-grow: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
-}
-
-.emotion-1 .studio-sortable-tree-node-count {
- position: absolute;
- top: -10px;
- right: -10px;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- width: 24px;
- height: 24px;
- color: #fff;
- font-weight: 600;
- font-size: 14px;
- background-color: #1677ff;
- border-radius: 50%;
-}
-
-.emotion-1 .disableSelection .studio-sortable-tree-node-content,
-.emotion-1 .clone .studio-sortable-tree-node-content,
-.emotion-1 .disableSelection .studio-sortable-tree-node-count,
-.emotion-1 .clone .studio-sortable-tree-node-count {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
-}
-
-.emotion-2 {
- margin-bottom: 4px;
-}
-
-.emotion-2:hover .studio-sortable-tree-node-handle,
-.emotion-2:hover .studio-sortable-tree-node-remove {
- opacity: 1;
-}
-
-.emotion-3 {
- position: absolute;
- left: -13px;
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-3:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-3:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-4 {
- opacity: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-4:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-4:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-7 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- -webkit-box-pack: center;
- -ms-flex-pack: center;
- -webkit-justify-content: center;
- justify-content: center;
- -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
- transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
-}
-
-.emotion-7 svg {
- -webkit-transition: -webkit-transform 250ms ease;
- transition: transform 250ms ease;
-}
-
-.emotion-7:hover {
- color: rgba(0, 0, 0, 0.88)!important;
-}
-
-.emotion-7:active {
- scale: 0.8;
- color: rgba(0, 0, 0, 0.88);
-}
-
-.emotion-34 {
- height: 24px;
- padding-block: 2px;
- margin-top: 4px;
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
- border-color: transparent;
-}
-
-.emotion-34:hover {
- color: rgba(0, 0, 0, 0.88)!important;
- background: rgba(0, 0, 0, 0.06)!important;
- border-color: transparent!important;
-}
-
-.emotion-34:focus {
- color: rgba(0, 0, 0, 0.65);
- background: rgba(0, 0, 0, 0.02);
- border-color: transparent;
- border-color: #1677ff!important;
-}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Spring
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Summer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fall
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Winter
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- About Us
-
-
-
-
-
-
-
-
-
-
-
-
+ 暂无数据
+
+
+
+
+ To pick up a draggable item, press the space bar.
+ While dragging, use the arrow keys to move the item.
+ Press space again to drop the item in its new position, or press escape to cancel.
+
+
+
+
+
> renders normal.tsx correctly 1`] = `
+.emotion-0 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ gap: 4px;
+}
+
+.emotion-1 {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ width: 100%;
+ height: 24px;
+ font-size: 12px;
+ border-radius: 2px;
+ min-width: 48px;
+ color: rgba(0, 0, 0, 0.45);
+ padding-left: 8px;
+}
+
+.emotion-3 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: column;
+ -ms-flex-direction: column;
+ flex-direction: column;
+}
+
+.emotion-4 {
+ list-style: none;
+ display: grid;
+ grid-auto-rows: max-content;
+ grid-gap: 2px;
+ grid-template-columns: repeat(var(--columns, 1), 1fr);
+ width: 100%;
+ margin: 0;
+ padding: 0;
+ border-radius: 4px;
+ -webkit-transition: background-color 350ms ease;
+ transition: background-color 350ms ease;
+}
+
+.emotion-5 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ box-sizing: border-box;
+ -webkit-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
+ -moz-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
+ -ms-transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
+ transform: translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));
+ transform-origin: 0 0;
+ touch-action: manipulation;
+}
+
+.emotion-5:not(:last-child) {
+ margin-bottom: 2px;
+}
+
+.emotion-6 {
+ position: relative;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-box-flex: 1;
+ -webkit-flex-grow: 1;
+ -ms-flex-positive: 1;
+ flex-grow: 1;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: justify;
+ -webkit-justify-content: space-between;
+ justify-content: space-between;
+ box-sizing: border-box;
+ padding: 1px 0;
+ color: rgba(0, 0, 0, 0.65);
+ font-size: 12px;
+ white-space: nowrap;
+ list-style: none;
+ border-radius: 4px;
+ outline: none;
+ -webkit-transform: scale(var(--scale, 1));
+ -moz-transform: scale(var(--scale, 1));
+ -ms-transform: scale(var(--scale, 1));
+ transform: scale(var(--scale, 1));
+ transform-origin: 50% 50%;
+ -webkit-transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
+ transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22);
+ -webkit-tap-highlight-color: transparent;
+}
+
+.emotion-6:focus-visible {
+ box-shadow: 0 0 4px 1px #4c9ffe,0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
+}
+
+.emotion-6:not(.studio-sortable-list-item-withHandle) {
+ cursor: -webkit-grab;
+ cursor: grab;
+ -webkit-user-select: none;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ touch-action: none;
+}
+
+.emotion-6-dragging:not(.studio-sortable-list-item-dragOverlay) {
+ z-index: 0;
+ opacity: var(--dragging-opacity, 0.5);
+}
+
+.emotion-6-dragging:not(.studio-sortable-list-item-dragOverlay):focus {
+ box-shadow: 0 0 0 calc(1px / var(--scale-x, 1)) rgba(0, 0, 0, 0.05) 0 1px calc(3px / var(--scale-x, 1)) 0 rgba(0, 0, 0, 0.15);
+}
+
+.emotion-7 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+}
+
+.emotion-8 {
+ position: relative;
+ width: 100%;
+}
+
+.emotion-8:hover .studio-column-list-item-actions {
+ opacity: 1;
+}
+
+.emotion-9 {
+ z-index: 10;
+ color: hsla(0, 0, 0, 0.45);
+ opacity: 0;
+ position: absolute;
+ left: 0;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ -webkit-justify-content: center;
+ justify-content: center;
+ -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
+ transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
+}
+
+.emotion-9:hover {
+ color: rgba(0, 0, 0, 0.88)!important;
+}
+
+.emotion-9:active {
+ scale: 0.8;
+ color: rgba(0, 0, 0, 0.88);
+}
+
+.emotion-10 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-flex-direction: row;
+ -ms-flex-direction: row;
+ flex-direction: row;
+ width: 100%;
+ gap: 4px;
+}
+
+.emotion-11 {
+ -webkit-flex: 1;
+ -ms-flex: 1;
+ flex: 1;
+ font-size: 12px;
+ border-radius: 2px;
+ min-width: 48px;
+}
+
+.emotion-12 {
+ padding-left: 13px;
+}
+
+.emotion-15 {
+ z-index: 10;
+ color: hsla(0, 0, 0, 0.45);
+ opacity: 0;
+}
+
+.emotion-16 {
+ position: absolute;
+ top: 1px;
+ right: 1px;
+ -webkit-align-self: flex-end;
+ -ms-flex-item-align: flex-end;
+ align-self: flex-end;
+ overflow: hidden;
+ border-radius: 1px;
+ -webkit-backdrop-filter: blur(5px);
+ backdrop-filter: blur(5px);
+}
+
+.emotion-17 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ -webkit-justify-content: center;
+ justify-content: center;
+ -webkit-transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
+ transition: color 600ms cubic-bezier(0.215, 0.61, 0.355, 1),scale 400ms cubic-bezier(0.215, 0.61, 0.355, 1),background-color 100ms cubic-bezier(0.215, 0.61, 0.355, 1);
+}
+
+.emotion-17:hover {
+ color: rgba(0, 0, 0, 0.88)!important;
+}
+
+.emotion-17:active {
+ scale: 0.8;
+ color: rgba(0, 0, 0, 0.88);
+}
+
+.emotion-44 {
+ height: 24px;
+ padding-block: 2px;
+ margin-top: 4px;
+ margin-bottom: 4px;
+ color: rgba(0, 0, 0, 0.65);
+ background: rgba(0, 0, 0, 0.02);
+ border-color: transparent;
+}
+
+.emotion-44:hover {
+ color: rgba(0, 0, 0, 0.88)!important;
+ background: rgba(0, 0, 0, 0.06)!important;
+ border-color: transparent!important;
+}
+
+.emotion-44:focus {
+ color: rgba(0, 0, 0, 0.65);
+ background: rgba(0, 0, 0, 0.02);
+ border-color: transparent;
+ border-color: #1677ff!important;
+}
+
+