From 6a6f7fd41b61fb4f489f31a522ba1254a5dc803b Mon Sep 17 00:00:00 2001 From: David Bieregger Date: Fri, 29 Sep 2023 11:35:23 +0200 Subject: [PATCH] Format code and update pnpm-lock.yaml --- .../src/LoadingButton/LoadingButtonProps.tsx | 6 +- pnpm-lock.yaml | 83 +++++-------------- 2 files changed, 25 insertions(+), 64 deletions(-) diff --git a/packages/lab/src/LoadingButton/LoadingButtonProps.tsx b/packages/lab/src/LoadingButton/LoadingButtonProps.tsx index dea7b8808..c8ae162e1 100644 --- a/packages/lab/src/LoadingButton/LoadingButtonProps.tsx +++ b/packages/lab/src/LoadingButton/LoadingButtonProps.tsx @@ -1,4 +1,4 @@ -import { ExtendButtonTypeMap, ButtonClasses } from "@suid/material/Button"; +import { ButtonClasses, ExtendButtonTypeMap } from "@suid/material/Button"; import { Theme } from "@suid/material/styles"; import { SxProps } from "@suid/system"; import * as ST from "@suid/types"; @@ -6,7 +6,7 @@ import { JSXElement } from "solid-js"; export type LoadingButtonTypeMap< P = {}, - D extends ST.ElementType = "button" + D extends ST.ElementType = "button", > = { name: "MuiLoadingButton"; defaultPropNames: @@ -75,7 +75,7 @@ export type LoadingButtonTypeMap< export type LoadingButtonProps< D extends ST.ElementType = LoadingButtonTypeMap["defaultComponent"], - P = {} + P = {}, > = ST.OverrideProps, D>; export default LoadingButtonProps; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ee91b594..4ee048d7c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -234,6 +234,10 @@ importers: solid-js: specifier: ^1.7.12 version: 1.7.12 + devDependencies: + solid-testing-library: + specifier: ^0.5.1 + version: 0.5.1(solid-js@1.7.12) publishDirectory: lib packages/site: @@ -463,13 +467,6 @@ packages: grapheme-splitter: 1.0.4 dev: true - /@babel/code-frame@7.21.4: - resolution: {integrity: sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/highlight': 7.18.6 - dev: true - /@babel/code-frame@7.22.13: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} @@ -786,15 +783,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/highlight@7.18.6: - resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.22.20 - chalk: 2.4.2 - js-tokens: 4.0.0 - dev: true - /@babel/highlight@7.22.20: resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} engines: {node: '>=6.9.0'} @@ -3930,7 +3918,7 @@ packages: resolution: {integrity: sha512-6YWYPPpxG3e/xOo6HIWwB/58HukkwIVTOaZ0VwdMVjhRUX/01E4FtQbck9GazOOj7MXHc5RBzMrU86iBJHbI+A==} engines: {node: '>=12'} dependencies: - '@babel/code-frame': 7.21.4 + '@babel/code-frame': 7.22.13 '@babel/runtime': 7.20.7 '@types/aria-query': 4.2.2 aria-query: 5.1.3 @@ -5491,6 +5479,11 @@ packages: resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} engines: {node: '>=0.8'} + /clsx@1.2.1: + resolution: {integrity: sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==} + engines: {node: '>=6'} + dev: false + /clsx@2.0.0: resolution: {integrity: sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==} engines: {node: '>=6'} @@ -10338,6 +10331,7 @@ packages: dependencies: csstype: 3.1.2 seroval: 0.5.1 + dev: false /solid-js@1.7.12: resolution: {integrity: sha512-QoyoOUKu14iLoGxjxWFIU8+/1kLT4edQ7mZESFPonsEXZ//VJtPKD8Ud1aTKzotj+MNWmSs9YzK6TdY+fO9Eww==} @@ -10345,17 +10339,6 @@ packages: csstype: 3.1.2 seroval: 0.5.1 - /solid-refresh@0.5.2(solid-js@1.7.11): - resolution: {integrity: sha512-I69HmFj0LsGRJ3n8CEMVjyQFgVtuM2bSjznu2hCnsY+i5oOxh8ioWj00nnHBv0UYD3WpE/Sq4Q3TNw2IKmKN7A==} - peerDependencies: - solid-js: ^1.3 - dependencies: - '@babel/generator': 7.21.5 - '@babel/helper-module-imports': 7.18.6 - '@babel/types': 7.21.5 - solid-js: 1.7.11 - dev: true - /solid-refresh@0.5.2(solid-js@1.7.12): resolution: {integrity: sha512-I69HmFj0LsGRJ3n8CEMVjyQFgVtuM2bSjznu2hCnsY+i5oOxh8ioWj00nnHBv0UYD3WpE/Sq4Q3TNw2IKmKN7A==} peerDependencies: @@ -10472,6 +10455,17 @@ packages: solid-js: 1.7.12 dev: true + /solid-testing-library@0.5.1(solid-js@1.7.12): + resolution: {integrity: sha512-CfcCWsI5zIJz2zcyZQz2weq+6cCS5QrcmWeEmUEy03fElJ/BV5Ly4MMTsmwdOK803zY3wJP5pPf026C40VrE1Q==} + engines: {node: '>= 14'} + deprecated: This package is now available at @solidjs/testing-library + peerDependencies: + solid-js: '>=1.0.0' + dependencies: + '@testing-library/dom': 8.19.0 + solid-js: 1.7.12 + dev: true + /sort-keys@4.2.0: resolution: {integrity: sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==} engines: {node: '>=8'} @@ -11488,39 +11482,6 @@ packages: optional: true terser: optional: true - dependencies: - '@types/node': 18.16.6 - esbuild: 0.17.18 - postcss: 8.4.23 - rollup: 3.21.5 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vite@4.3.9(@types/node@18.16.6)(sass@1.62.1): - resolution: {integrity: sha512-qsTNZjO9NoJNW7KnOrgYwczm0WctJ8m/yqYAMAK9Lxt4SoySUfS5S8ia9K7JHpa3KEeMfyF8LoJ3c5NeBJy6pg==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true dependencies: '@types/node': 18.17.19 esbuild: 0.18.20