svelte-readme 4.0.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,7 @@ export type IdentifierRange = {
18
18
  start: number;
19
19
  end: number;
20
20
  name: string;
21
+ replacement?: string;
21
22
  };
22
23
  export declare const collectTopLevelDeclarations: (program: Node) => Declaration[];
23
24
  export declare const computeRenameMap: (declarations: Declaration[], source: string, declaredVariables: Map<string, string>, reservedNames: Set<string>) => Map<string, string>;
@@ -1 +1 @@
1
- export declare function purgeUnusedCss(rawCss: string, html: string): string;
1
+ export declare function purgeUnusedCss(rawCss: string, html: string, alwaysKeepClasses?: string[]): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "svelte-readme",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "license": "MIT",
5
5
  "description": "Develop and demo your Svelte components in your README.md",
6
6
  "author": "Eric Liu (https://github.com/metonym)",
package/dist/button.css DELETED
@@ -1,28 +0,0 @@
1
- /**
2
- * GitHub Primer button CSS
3
- * https://primer.style/css/components/buttons
4
- **/
5
- .code-fence button {
6
- font-family: inherit;
7
- text-transform: none;
8
- position: relative;
9
- display: inline-block;
10
- padding: 5px 16px;
11
- font-size: 14px;
12
- font-weight: 500;
13
- line-height: 20px;
14
- white-space: nowrap;
15
- vertical-align: middle;
16
- cursor: pointer;
17
- user-select: none;
18
- border: 1px solid;
19
- border-radius: 6px;
20
- appearance: none;
21
- color: #24292e;
22
- background-color: #fafbfc;
23
- border-color: rgba(27, 31, 35, 0.15);
24
- box-shadow:
25
- 0 1px 0 rgba(27, 31, 35, 0.04),
26
- inset 0 1px 0 rgba(255, 255, 255, 0.25);
27
- transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
28
- }