diff --git a/demo/package.json b/demo/package.json index e2b7ee3c..b3eb5eeb 100644 --- a/demo/package.json +++ b/demo/package.json @@ -84,18 +84,18 @@ "numKeyboard_en": "vite --mode numKeyboard_en" }, "devDependencies": { - "@sveltejs/adapter-static": "^3.0.0", - "@sveltejs/kit": "^2.0.1", - "@sveltejs/vite-plugin-svelte": "^3.0.1", - "autoprefixer": "^10.4.16", - "postcss": "^8.4.32", + "@sveltejs/adapter-static": "^3.0.1", + "@sveltejs/kit": "^2.5.4", + "@sveltejs/vite-plugin-svelte": "^3.0.2", + "autoprefixer": "^10.4.19", + "postcss": "^8.4.38", "rollup-plugin-stdf-icon": "file:../packages/rollup-plugin-stdf-icon", - "svelte": "^4.2.8", - "tailwindcss": "^3.3.6", - "vite": "^5.0.10" + "svelte": "^4.2.12", + "tailwindcss": "^3.4.1", + "vite": "^5.2.3" }, "type": "module", "dependencies": { - "svelte-confetti": "^1.3.1" + "svelte-confetti": "^1.3.2" } } diff --git a/demo/src/routes/zh_CN/loading/+page.svelte b/demo/src/routes/zh_CN/loading/+page.svelte index 3422dd0b..3a4843a7 100644 --- a/demo/src/routes/zh_CN/loading/+page.svelte +++ b/demo/src/routes/zh_CN/loading/+page.svelte @@ -13,7 +13,7 @@ return arr; }; - const arr1 = new Array(22); + const arr1 = new Array(54); const arr2 = new Array(6); const arr4 = new Array(4); const labels = [{ text: '单色' }, { text: '双色' }, { text: '四色' }, { text: '其他' }]; @@ -35,38 +35,38 @@ {#each arr1 as item, i}
-
+
-
{'1_' + i}
+
{'1_' + i}
-
+
-
{'1_' + i}
+
{'1_' + i}
-
+
-
{'1_' + i}
+
{'1_' + i}
-
+
-
{'1_' + i}
+
{'1_' + i}
-
+
-
{'1_' + i}
+
{'1_' + i}
{/each}
@@ -87,21 +87,21 @@
-
{'2_' + i}
+
{'2_' + i}
-
{'2_' + i}
+
{'2_' + i}
-
{'2_' + i}
+
{'2_' + i}
{/each}
@@ -122,13 +122,13 @@
-
{'4_' + i}
+
{'4_' + i}
-
{'4_' + i}
+
{'4_' + i}
{/each}
diff --git a/doc/components/loading/guide.md b/doc/components/loading/guide.md index 36d778fe..a8eabe47 100644 --- a/doc/components/loading/guide.md +++ b/doc/components/loading/guide.md @@ -38,4 +38,4 @@ Loading 自带了一系列过渡动画,极端情况下,当页面同时有大 ## 感谢 -部分动效灵感来自 [德育处主任](http://k21vin.gitee.io/front-end-data-visualization/#/native/pureCSS/loading),特此感谢。 +部分动效灵感来自 [德育处主任](http://k21vin.gitee.io/front-end-data-visualization/#/native/pureCSS/loading) 与 [LDRS](https://uiball.com/ldrs), 感谢他们的分享。 diff --git a/doc/components/loading/guide_en.md b/doc/components/loading/guide_en.md index d772fb7f..dc4d9c31 100644 --- a/doc/components/loading/guide_en.md +++ b/doc/components/loading/guide_en.md @@ -38,4 +38,4 @@ Loading comes with a series of transition animations. In extreme cases, when the ## Acknowledgments -Some of the animation inspirations are from [德育处主任](http://k21vin.gitee.io/front-end-data-visualization/#/native/pureCSS/loading). Special thanks go to him. +Some of the animation inspirations are from [德育处主任](http://k21vin.gitee.io/front-end-data-visualization/#/native/pureCSS/loading) and [LDRS](https://uiball.com/ldrs). Special thanks go to them. diff --git a/doc/components/loading/version.md b/doc/components/loading/version.md index 303622c5..e0489144 100644 --- a/doc/components/loading/version.md +++ b/doc/components/loading/version.md @@ -1,3 +1,9 @@ +## 0.4.6 + +- [!tag|A|0|]新增 32 种 Loading 类型(1_22 - 1_53)。 + +2024-03-31 + ## 0.0.6 - [!tag|A|0|]新增 8 种 Loading 类型(1_18、1_19、1_20、1_21、2_2、2_3、2_4、2_5)。 diff --git a/doc/components/loading/version_en.md b/doc/components/loading/version_en.md index 6145dd53..228465a3 100644 --- a/doc/components/loading/version_en.md +++ b/doc/components/loading/version_en.md @@ -1,3 +1,9 @@ +## 0.4.6 + +- [!tag|A|0|]Add 32 Loading type(1_22 - 1_53). + +2024-03-31 + ## 0.0.6 - [!tag|A|0|]Add 8 Loading type(1_18、1_19、1_20、1_21、2_2、2_3、2_4、2_5). diff --git a/doc/guide/changelog.md b/doc/guide/changelog.md index 932a2bbb..6072b745 100644 --- a/doc/guide/changelog.md +++ b/doc/guide/changelog.md @@ -1,3 +1,7 @@ +## 0.4.6 + +- 新增 Loading 类型,详见 [Loading](https://stdf.design/#/components?nav=loading&tab=4)。 + ## 0.4.5 - 修复 Pagination 组件,详见 [Pagination](https://stdf.design/#/components?nav=pagination&tab=4)。 diff --git a/doc/guide/changelog_en.md b/doc/guide/changelog_en.md index 7bdbe155..168f5751 100644 --- a/doc/guide/changelog_en.md +++ b/doc/guide/changelog_en.md @@ -1,3 +1,7 @@ +## 0.4.6 + +- Add Loading type, For more information, please see [Loading](https://stdf.design/#/components?nav=loading&tab=4). + ## 0.4.5 - Fixed the Pagination component, please see [Pagination](https://stdf.design/#/components?nav=pagination&tab=4). diff --git a/packages/stdf/components/loading/Loading.svelte b/packages/stdf/components/loading/Loading.svelte index e7146ac1..307e3aa5 100644 --- a/packages/stdf/components/loading/Loading.svelte +++ b/packages/stdf/components/loading/Loading.svelte @@ -23,6 +23,38 @@ Loading1_19, Loading1_20, Loading1_21, + Loading1_22, + Loading1_23, + Loading1_24, + Loading1_25, + Loading1_26, + Loading1_27, + Loading1_28, + Loading1_29, + Loading1_30, + Loading1_31, + Loading1_32, + Loading1_33, + Loading1_34, + Loading1_35, + Loading1_36, + Loading1_37, + Loading1_38, + Loading1_39, + Loading1_40, + Loading1_41, + Loading1_42, + Loading1_43, + Loading1_44, + Loading1_45, + Loading1_46, + Loading1_47, + Loading1_48, + Loading1_49, + Loading1_50, + Loading1_51, + Loading1_52, + Loading1_53, } from './loadings/oneColor'; import { Loading2_0, Loading2_1, Loading2_2, Loading2_3, Loading2_4, Loading2_5 } from './loadings/twoColor'; import { Loading4_0, Loading4_1, Loading4_2, Loading4_3 } from './loadings/fourColor'; @@ -187,7 +219,7 @@ }); -
+
{#if type === '1_0'} @@ -233,6 +265,70 @@ {:else if type === '1_21'} + {:else if type === '1_22'} + + {:else if type === '1_23'} + + {:else if type === '1_24'} + + {:else if type === '1_25'} + + {:else if type === '1_26'} + + {:else if type === '1_27'} + + {:else if type === '1_28'} + + {:else if type === '1_29'} + + {:else if type === '1_30'} + + {:else if type === '1_31'} + + {:else if type === '1_32'} + + {:else if type === '1_33'} + + {:else if type === '1_34'} + + {:else if type === '1_35'} + + {:else if type === '1_36'} + + {:else if type === '1_37'} + + {:else if type === '1_38'} + + {:else if type === '1_39'} + + {:else if type === '1_40'} + + {:else if type === '1_41'} + + {:else if type === '1_42'} + + {:else if type === '1_43'} + + {:else if type === '1_44'} + + {:else if type === '1_45'} + + {:else if type === '1_46'} + + {:else if type === '1_47'} + + {:else if type === '1_48'} + + {:else if type === '1_49'} + + {:else if type === '1_50'} + + {:else if type === '1_51'} + + {:else if type === '1_52'} + + {:else if type === '1_53'} + {:else if type === '2_0'} diff --git a/packages/stdf/components/loading/loadings/fourColor/4_0.svelte b/packages/stdf/components/loading/loadings/fourColor/4_0.svelte index d01650fb..f0f6a52e 100644 --- a/packages/stdf/components/loading/loadings/fourColor/4_0.svelte +++ b/packages/stdf/components/loading/loadings/fourColor/4_0.svelte @@ -1,7 +1,7 @@
export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1;
diff --git a/packages/stdf/components/loading/loadings/fourColor/4_2.svelte b/packages/stdf/components/loading/loadings/fourColor/4_2.svelte index 6ead20c6..36caf882 100644 --- a/packages/stdf/components/loading/loadings/fourColor/4_2.svelte +++ b/packages/stdf/components/loading/loadings/fourColor/4_2.svelte @@ -1,7 +1,7 @@
diff --git a/packages/stdf/components/loading/loadings/fourColor/4_3.svelte b/packages/stdf/components/loading/loadings/fourColor/4_3.svelte index e20b2546..87eacf66 100644 --- a/packages/stdf/components/loading/loadings/fourColor/4_3.svelte +++ b/packages/stdf/components/loading/loadings/fourColor/4_3.svelte @@ -1,7 +1,7 @@
diff --git a/packages/stdf/components/loading/loadings/oneColor/1_0.svelte b/packages/stdf/components/loading/loadings/oneColor/1_0.svelte index 2b5148ef..b9d52b2f 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_0.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_0.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_1.svelte b/packages/stdf/components/loading/loadings/oneColor/1_1.svelte index ea0dcd74..8d6c5999 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_1.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_1.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_10.svelte b/packages/stdf/components/loading/loadings/oneColor/1_10.svelte index 21067093..cd6c99ce 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_10.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_10.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_11.svelte b/packages/stdf/components/loading/loadings/oneColor/1_11.svelte index 3a162389..b063a47b 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_11.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_11.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_12.svelte b/packages/stdf/components/loading/loadings/oneColor/1_12.svelte index 9e4878a6..4200e3f6 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_12.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_12.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_13.svelte b/packages/stdf/components/loading/loadings/oneColor/1_13.svelte index 2a211cf1..e372b555 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_13.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_13.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_14.svelte b/packages/stdf/components/loading/loadings/oneColor/1_14.svelte index 49c5a2f7..605d30ea 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_14.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_14.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const borderClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_15.svelte b/packages/stdf/components/loading/loadings/oneColor/1_15.svelte index b3bd0ddd..bfc5c821 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_15.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_15.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_16.svelte b/packages/stdf/components/loading/loadings/oneColor/1_16.svelte index 0873b44d..ab9971d5 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_16.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_16.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_17.svelte b/packages/stdf/components/loading/loadings/oneColor/1_17.svelte index 68401849..c084f955 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_17.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_17.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_18.svelte b/packages/stdf/components/loading/loadings/oneColor/1_18.svelte index f92a62bd..30cf8c55 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_18.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_18.svelte @@ -1,7 +1,7 @@ + +
+ + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_23.svelte b/packages/stdf/components/loading/loadings/oneColor/1_23.svelte new file mode 100644 index 00000000..01ff12ad --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_23.svelte @@ -0,0 +1,52 @@ + + +
+ + {#each new Array(12) as item, i} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_24.svelte b/packages/stdf/components/loading/loadings/oneColor/1_24.svelte new file mode 100644 index 00000000..6d6aebeb --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_24.svelte @@ -0,0 +1,59 @@ + + +
+ + + + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_25.svelte b/packages/stdf/components/loading/loadings/oneColor/1_25.svelte new file mode 100644 index 00000000..cc19d01a --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_25.svelte @@ -0,0 +1,61 @@ + + +
+ + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_26.svelte b/packages/stdf/components/loading/loadings/oneColor/1_26.svelte new file mode 100644 index 00000000..9501bf1c --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_26.svelte @@ -0,0 +1,66 @@ + + +
+ + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_27.svelte b/packages/stdf/components/loading/loadings/oneColor/1_27.svelte new file mode 100644 index 00000000..6135d7b0 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_27.svelte @@ -0,0 +1,59 @@ + + +
+ {#each [0, -0.835, -0.668, -0.501, -0.334, -0.167] as item} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_28.svelte b/packages/stdf/components/loading/loadings/oneColor/1_28.svelte new file mode 100644 index 00000000..e6ca8b56 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_28.svelte @@ -0,0 +1,43 @@ + + +
+ {#each [0, -0.875, -0.75, -0.625, -0.5, -0.375, -0.25, -0.125] as item, i} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_29.svelte b/packages/stdf/components/loading/loadings/oneColor/1_29.svelte new file mode 100644 index 00000000..9c60e01c --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_29.svelte @@ -0,0 +1,58 @@ + + +
+ {#each [0, -0.125, -0.25, -0.375, -0.5, -0.625, -0.75, -0.875] as item, i} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_3.svelte b/packages/stdf/components/loading/loadings/oneColor/1_3.svelte index b77812b9..7fe43cb3 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_3.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_3.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_30.svelte b/packages/stdf/components/loading/loadings/oneColor/1_30.svelte new file mode 100644 index 00000000..7336fc09 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_30.svelte @@ -0,0 +1,92 @@ + + +
+ {#each [0, -0.36, -0.2] as item} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_31.svelte b/packages/stdf/components/loading/loadings/oneColor/1_31.svelte new file mode 100644 index 00000000..7e1b6310 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_31.svelte @@ -0,0 +1,41 @@ + + +
+ {#each [-0.45, -0.3, -0.15, 0] as item} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_32.svelte b/packages/stdf/components/loading/loadings/oneColor/1_32.svelte new file mode 100644 index 00000000..7e22a030 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_32.svelte @@ -0,0 +1,154 @@ + + +
+
+
+
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_33.svelte b/packages/stdf/components/loading/loadings/oneColor/1_33.svelte new file mode 100644 index 00000000..63f67b04 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_33.svelte @@ -0,0 +1,91 @@ + + +
+
+
+
+
+
+
+
+
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_34.svelte b/packages/stdf/components/loading/loadings/oneColor/1_34.svelte new file mode 100644 index 00000000..dd341499 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_34.svelte @@ -0,0 +1,41 @@ + + +
+
+
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_35.svelte b/packages/stdf/components/loading/loadings/oneColor/1_35.svelte new file mode 100644 index 00000000..10538d75 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_35.svelte @@ -0,0 +1,42 @@ + + +
+
+
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_36.svelte b/packages/stdf/components/loading/loadings/oneColor/1_36.svelte new file mode 100644 index 00000000..c096779c --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_36.svelte @@ -0,0 +1,62 @@ + + +
+ + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_37.svelte b/packages/stdf/components/loading/loadings/oneColor/1_37.svelte new file mode 100644 index 00000000..f7fe0707 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_37.svelte @@ -0,0 +1,66 @@ + + +
+ + + + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_38.svelte b/packages/stdf/components/loading/loadings/oneColor/1_38.svelte new file mode 100644 index 00000000..c525768a --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_38.svelte @@ -0,0 +1,87 @@ + + +
+ + + + +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_39.svelte b/packages/stdf/components/loading/loadings/oneColor/1_39.svelte new file mode 100644 index 00000000..fd553c33 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_39.svelte @@ -0,0 +1,125 @@ + + +
+ {#each [0, 1, 2, 3, 4, 5] as item} +
+
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_4.svelte b/packages/stdf/components/loading/loadings/oneColor/1_4.svelte index 2ccc3cc7..e775063e 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_4.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_4.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_40.svelte b/packages/stdf/components/loading/loadings/oneColor/1_40.svelte new file mode 100644 index 00000000..f62de50b --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_40.svelte @@ -0,0 +1,61 @@ + + +
+ {#each [-0.48, -0.4, -0.32, -0.24, -0.4, -0.32, -0.24, -0.16, -0.32, -0.24, -0.16, -0.08, -0.24, -0.16, -0.08, -0] as item, i} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_41.svelte b/packages/stdf/components/loading/loadings/oneColor/1_41.svelte new file mode 100644 index 00000000..ae0b57bf --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_41.svelte @@ -0,0 +1,119 @@ + + +
+
+
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_42.svelte b/packages/stdf/components/loading/loadings/oneColor/1_42.svelte new file mode 100644 index 00000000..51c71de2 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_42.svelte @@ -0,0 +1,54 @@ + + +
+ {#each [120, -120, 0] as item} +
+ +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_43.svelte b/packages/stdf/components/loading/loadings/oneColor/1_43.svelte new file mode 100644 index 00000000..537dd49f --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_43.svelte @@ -0,0 +1,43 @@ + + +
+
+ {#each [-0.45, -0.3, -0.15, 0] as item} +
+ {/each} +
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_44.svelte b/packages/stdf/components/loading/loadings/oneColor/1_44.svelte new file mode 100644 index 00000000..656eb253 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_44.svelte @@ -0,0 +1,54 @@ + + +
+ {#each [0, 0.4, 0.8] as item, i} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_45.svelte b/packages/stdf/components/loading/loadings/oneColor/1_45.svelte new file mode 100644 index 00000000..1f511280 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_45.svelte @@ -0,0 +1,72 @@ + + +
+ {#each [0, 1, 2, 3] as item} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_46.svelte b/packages/stdf/components/loading/loadings/oneColor/1_46.svelte new file mode 100644 index 00000000..466c2546 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_46.svelte @@ -0,0 +1,47 @@ + + +
+
+ {#each [0, -0.2, -0.4, -0.6, -0.8] as item} +
+ {/each} +
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_47.svelte b/packages/stdf/components/loading/loadings/oneColor/1_47.svelte new file mode 100644 index 00000000..05267e57 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_47.svelte @@ -0,0 +1,43 @@ + + +
+
+ {#each [-0.375, -0.25, -0.125] as item} +
+ {/each} +
+
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_48.svelte b/packages/stdf/components/loading/loadings/oneColor/1_48.svelte new file mode 100644 index 00000000..4fe862d9 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_48.svelte @@ -0,0 +1,57 @@ + + +
+ {#each [1, 0.9, 0.6, 0.4] as item, i} +
+
+
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_49.svelte b/packages/stdf/components/loading/loadings/oneColor/1_49.svelte new file mode 100644 index 00000000..d778ff51 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_49.svelte @@ -0,0 +1,41 @@ + + +
+ {#each [0, -2] as item} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_5.svelte b/packages/stdf/components/loading/loadings/oneColor/1_5.svelte index 4c940fcf..b26c337e 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_5.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_5.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_50.svelte b/packages/stdf/components/loading/loadings/oneColor/1_50.svelte new file mode 100644 index 00000000..4062e84c --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_50.svelte @@ -0,0 +1,42 @@ + + +
+ {#each [0, -2] as item} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_51.svelte b/packages/stdf/components/loading/loadings/oneColor/1_51.svelte new file mode 100644 index 00000000..a621b81f --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_51.svelte @@ -0,0 +1,40 @@ + + +
+ {#each [0, -0.25, -0.5, -0.75] as item} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_52.svelte b/packages/stdf/components/loading/loadings/oneColor/1_52.svelte new file mode 100644 index 00000000..ccc9d572 --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_52.svelte @@ -0,0 +1,40 @@ + + +
+ {#each [[-0.375, 1], [-0.375, 0.8], [-0.3, 0.6], [-0.225, 0.4], [-0.15, 0.2], [-0.075, 0.1]] as item} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_53.svelte b/packages/stdf/components/loading/loadings/oneColor/1_53.svelte new file mode 100644 index 00000000..7e8d50fd --- /dev/null +++ b/packages/stdf/components/loading/loadings/oneColor/1_53.svelte @@ -0,0 +1,40 @@ + + +
+ {#each [[-0.375, 1], [-0.375, 0.8], [-0.3, 0.6], [-0.225, 0.4], [-0.15, 0.2], [-0.075, 0.1]] as item} +
+ {/each} +
+ + diff --git a/packages/stdf/components/loading/loadings/oneColor/1_6.svelte b/packages/stdf/components/loading/loadings/oneColor/1_6.svelte index f7e6d9e5..131b14fa 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_6.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_6.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_7.svelte b/packages/stdf/components/loading/loadings/oneColor/1_7.svelte index d6b58f06..eef94384 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_7.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_7.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_8.svelte b/packages/stdf/components/loading/loadings/oneColor/1_8.svelte index ec3d5d6e..92487ebb 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_8.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_8.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/1_9.svelte b/packages/stdf/components/loading/loadings/oneColor/1_9.svelte index a263c1f3..8622668c 100644 --- a/packages/stdf/components/loading/loadings/oneColor/1_9.svelte +++ b/packages/stdf/components/loading/loadings/oneColor/1_9.svelte @@ -2,8 +2,8 @@ export let theme = false; export let inverse = false; export let size = 'w-8 h-8'; - export let customColor = []; //自定义颜色 - export let speed = 1; //速度系数,基础为1,数值越大,速度越快 + export let customColor = []; + export let speed = 1; const colorClass = () => { if (inverse) { diff --git a/packages/stdf/components/loading/loadings/oneColor/index.js b/packages/stdf/components/loading/loadings/oneColor/index.js index cdd08d2a..e1d40c92 100644 --- a/packages/stdf/components/loading/loadings/oneColor/index.js +++ b/packages/stdf/components/loading/loadings/oneColor/index.js @@ -20,6 +20,38 @@ import Loading1_18 from './1_18.svelte'; import Loading1_19 from './1_19.svelte'; import Loading1_20 from './1_20.svelte'; import Loading1_21 from './1_21.svelte'; +import Loading1_22 from './1_22.svelte'; +import Loading1_23 from './1_23.svelte'; +import Loading1_24 from './1_24.svelte'; +import Loading1_25 from './1_25.svelte'; +import Loading1_26 from './1_26.svelte'; +import Loading1_27 from './1_27.svelte'; +import Loading1_28 from './1_28.svelte'; +import Loading1_29 from './1_29.svelte'; +import Loading1_30 from './1_30.svelte'; +import Loading1_31 from './1_31.svelte'; +import Loading1_32 from './1_32.svelte'; +import Loading1_33 from './1_33.svelte'; +import Loading1_34 from './1_34.svelte'; +import Loading1_35 from './1_35.svelte'; +import Loading1_36 from './1_36.svelte'; +import Loading1_37 from './1_37.svelte'; +import Loading1_38 from './1_38.svelte'; +import Loading1_39 from './1_39.svelte'; +import Loading1_40 from './1_40.svelte'; +import Loading1_41 from './1_41.svelte'; +import Loading1_42 from './1_42.svelte'; +import Loading1_43 from './1_43.svelte'; +import Loading1_44 from './1_44.svelte'; +import Loading1_45 from './1_45.svelte'; +import Loading1_46 from './1_46.svelte'; +import Loading1_47 from './1_47.svelte'; +import Loading1_48 from './1_48.svelte'; +import Loading1_49 from './1_49.svelte'; +import Loading1_50 from './1_50.svelte'; +import Loading1_51 from './1_51.svelte'; +import Loading1_52 from './1_52.svelte'; +import Loading1_53 from './1_53.svelte'; export { Loading1_0, @@ -44,4 +76,36 @@ export { Loading1_19, Loading1_20, Loading1_21, + Loading1_22, + Loading1_23, + Loading1_24, + Loading1_25, + Loading1_26, + Loading1_27, + Loading1_28, + Loading1_29, + Loading1_30, + Loading1_31, + Loading1_32, + Loading1_33, + Loading1_34, + Loading1_35, + Loading1_36, + Loading1_37, + Loading1_38, + Loading1_39, + Loading1_40, + Loading1_41, + Loading1_42, + Loading1_43, + Loading1_44, + Loading1_45, + Loading1_46, + Loading1_47, + Loading1_48, + Loading1_49, + Loading1_50, + Loading1_51, + Loading1_52, + Loading1_53, }; diff --git a/packages/stdf/components/loading/loadings/twoColor/2_0.svelte b/packages/stdf/components/loading/loadings/twoColor/2_0.svelte index ec5e1659..6d5d0fde 100644 --- a/packages/stdf/components/loading/loadings/twoColor/2_0.svelte +++ b/packages/stdf/components/loading/loadings/twoColor/2_0.svelte @@ -1,8 +1,8 @@