@libstermynal/transcript-v2 3.3.3 → 3.3.4
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,4 +18,4 @@ export declare const ButtonStyleMapping: {
|
|
|
18
18
|
readonly 4: "destructive";
|
|
19
19
|
readonly 5: "secondary";
|
|
20
20
|
};
|
|
21
|
-
export declare const globalStyles = "\n .discord-container {\n display: grid;\n gap: 4px;\n width: 100%;\n max-width: 500px;\n border-radius: 8px;\n overflow: hidden;\n }\n\n .discord-base-image {\n overflow: hidden;\n position: relative;\n background: #2b2d31;\n }\n\n .discord-button {\n color: #ffffff !important;\n padding: 2px 16px;\n border-radius: 8px;\n text-decoration: none !important;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-weight: 500;\n height: 32px;\n min-height: 32px;\n min-width: 60px;\n cursor: pointer;\n text-align: center;\n box-sizing: border-box;\n border: none;\n outline: none;\n transition: background-color 0.2s ease;\n }\n\n .discord-button-primary {\n background-color: hsl(234.935 calc(1*85.556%) 64.706% /1);\n }\n\n .discord-button-secondary {\n background-color: hsl(240 calc(1*4%) 60.784% /0.12156862745098039);\n }\n\n .discord-button-success {\n background-color: hsl(145.97 calc(1*100%) 26.275% /1);\n }\n\n .discord-button-destructive {\n background-color: hsl(355.636 calc(1*64.706%) 50% /1);\n }\n\n .discord-select-menu {\n margin-top: 2px;\n margin-bottom: 2px;\n position: relative;\n width: 100%;\n max-width: 500px;\n height: 40px;\n background-color: #2b2d31;\n border-radius: 4px;\n color: #b5bac1;\n cursor: pointer;\n font-size: 14px;\n display: flex;\n align-items: center;\n padding: 0 8px;\n justify-content: space-between;\n box-sizing: border-box;\n border: 1px solid #1e1f22;\n }\n\n .discord-header {\n \tdisplay: flex;\n \tflex-direction: row;\n \tmax-height: 5rem;\n \tpadding: 0.5rem;\n \tgap: 0.5rem;\n \tborder-bottom: 1px solid rgba(79, 84, 92, 0.48);\n }\n\n .discord-header-icon {\n \tfloat: left;\n \twidth: 5rem;\n }\n\n .discord-header-icon > div {\n \tbackground-color: rgb(79, 84, 92);\n \tborder-radius: 50%;\n \twidth: 5rem;\n \theight: 5rem;\n \ttext-align: center;\n \talign-items: center;\n \tjustify-content: center;\n \tdisplay: flex;\n \tfont-size: xx-large;\n }\n\n .discord-header-icon > img {\n \tborder-radius: 50%;\n \twidth: auto;\n \theight: 100%;\n }\n\n .discord-header-text {\n flex-grow: 1;\n }\n\n .discord-header-text-guild {\n \tfont-size: 1.5rem;\n \tfont-weight: bold;\n }\n\n .reply-inline {\n white-space: collapse;\n }\n";
|
|
21
|
+
export declare const globalStyles = "\n .discord-container {\n display: grid;\n gap: 4px;\n width: 100%;\n max-width: 500px;\n border-radius: 8px;\n overflow: hidden;\n }\n\n .discord-base-image {\n overflow: hidden;\n position: relative;\n background: #2b2d31;\n }\n\n .discord-button {\n color: #ffffff !important;\n padding: 2px 16px;\n border-radius: 8px;\n text-decoration: none !important;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n font-size: 14px;\n font-weight: 500;\n height: 32px;\n min-height: 32px;\n min-width: 60px;\n cursor: pointer;\n text-align: center;\n box-sizing: border-box;\n border: none;\n outline: none;\n transition: background-color 0.2s ease;\n margin-right: 3px;\n }\n\n .discord-button-primary {\n background-color: hsl(234.935 calc(1*85.556%) 64.706% /1);\n }\n\n .discord-button-secondary {\n background-color: hsl(240 calc(1*4%) 60.784% /0.12156862745098039);\n }\n\n .discord-button-success {\n background-color: hsl(145.97 calc(1*100%) 26.275% /1);\n }\n\n .discord-button-destructive {\n background-color: hsl(355.636 calc(1*64.706%) 50% /1);\n }\n\n .discord-select-menu {\n margin-top: 2px;\n margin-bottom: 2px;\n position: relative;\n width: 100%;\n max-width: 500px;\n height: 40px;\n background-color: #2b2d31;\n border-radius: 4px;\n color: #b5bac1;\n cursor: pointer;\n font-size: 14px;\n display: flex;\n align-items: center;\n padding: 0 8px;\n justify-content: space-between;\n box-sizing: border-box;\n border: 1px solid #1e1f22;\n }\n\n .discord-header {\n \tdisplay: flex;\n \tflex-direction: row;\n \tmax-height: 5rem;\n \tpadding: 0.5rem;\n \tgap: 0.5rem;\n \tborder-bottom: 1px solid rgba(79, 84, 92, 0.48);\n }\n\n .discord-header-icon {\n \tfloat: left;\n \twidth: 5rem;\n }\n\n .discord-header-icon > div {\n \tbackground-color: rgb(79, 84, 92);\n \tborder-radius: 50%;\n \twidth: 5rem;\n \theight: 5rem;\n \ttext-align: center;\n \talign-items: center;\n \tjustify-content: center;\n \tdisplay: flex;\n \tfont-size: xx-large;\n }\n\n .discord-header-icon > img {\n \tborder-radius: 50%;\n \twidth: auto;\n \theight: 100%;\n }\n\n .discord-header-text {\n flex-grow: 1;\n }\n\n .discord-header-text-guild {\n \tfont-size: 1.5rem;\n \tfont-weight: bold;\n }\n\n .reply-inline {\n white-space: collapse;\n }\n";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/generator/renderers/components/styles.ts"],"names":[],"mappings":";;;AACA,2CAAyC;AAEzC,mBAAmB;AACN,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,OAAO;IACjB,YAAY,EAAE,KAAK;IACnB,QAAQ,EAAE,QAAQ;CACK,CAAC;AAE1B,mBAAmB;AACN,QAAA,cAAc,GAAG;IAC5B,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,SAAS;CACE,CAAC;AAE1B,uBAAuB;AACV,QAAA,kBAAkB,GAAG;IAChC,CAAC,wBAAW,CAAC,OAAO,CAAC,EAAE,SAAS;IAChC,CAAC,wBAAW,CAAC,SAAS,CAAC,EAAE,WAAW;IACpC,CAAC,wBAAW,CAAC,OAAO,CAAC,EAAE,SAAS;IAChC,CAAC,wBAAW,CAAC,MAAM,CAAC,EAAE,aAAa;IACnC,CAAC,wBAAW,CAAC,IAAI,CAAC,EAAE,WAAW;CACvB,CAAC;AAEX,eAAe;AACF,QAAA,YAAY,GAAG
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/generator/renderers/components/styles.ts"],"names":[],"mappings":";;;AACA,2CAAyC;AAEzC,mBAAmB;AACN,QAAA,cAAc,GAAG;IAC5B,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,OAAO;IACjB,YAAY,EAAE,KAAK;IACnB,QAAQ,EAAE,QAAQ;CACK,CAAC;AAE1B,mBAAmB;AACN,QAAA,cAAc,GAAG;IAC5B,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,UAAU;IACpB,UAAU,EAAE,SAAS;CACE,CAAC;AAE1B,uBAAuB;AACV,QAAA,kBAAkB,GAAG;IAChC,CAAC,wBAAW,CAAC,OAAO,CAAC,EAAE,SAAS;IAChC,CAAC,wBAAW,CAAC,SAAS,CAAC,EAAE,WAAW;IACpC,CAAC,wBAAW,CAAC,OAAO,CAAC,EAAE,SAAS;IAChC,CAAC,wBAAW,CAAC,MAAM,CAAC,EAAE,aAAa;IACnC,CAAC,wBAAW,CAAC,IAAI,CAAC,EAAE,WAAW;CACvB,CAAC;AAEX,eAAe;AACF,QAAA,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsH3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libstermynal/transcript-v2",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"description": "(Forked for fixes) A nicely formatted html transcript generator for discord.js.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"homepage": "https://github.com/ddust1n/discord-html-transcripts",
|