@monospaced/set-core 0.7.0 → 0.8.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.
- package/dist/components/logo/logo.d.ts +3 -1
- package/dist/components/logo/logo.d.ts.map +1 -1
- package/dist/components/logo/logos-animated.d.ts +6 -0
- package/dist/components/logo/logos-animated.d.ts.map +1 -0
- package/dist/core.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +571 -496
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -4,6 +4,8 @@ export type SetLogoTone = "default" | "neutral";
|
|
|
4
4
|
export type SetLogoSize = "sm" | "md" | "lg" | "xl" | "fill";
|
|
5
5
|
export type SetLogoVariant = "primary" | "secondary" | "typographic" | "graphic";
|
|
6
6
|
export interface SetLogoProps {
|
|
7
|
+
/** Plays the logo's boot animation. Primary and graphic only; other variants render static. @default false */
|
|
8
|
+
animated?: boolean;
|
|
7
9
|
/** DOM id. */
|
|
8
10
|
id?: string;
|
|
9
11
|
/** Accessible label. */
|
|
@@ -21,7 +23,7 @@ export interface SetLogoProps {
|
|
|
21
23
|
* @param props - Logo component props.
|
|
22
24
|
* @returns IR node for a masked logo element.
|
|
23
25
|
*/
|
|
24
|
-
export declare function buildSetLogo({ id, label, size, tone, variant, }: SetLogoProps): SetNode;
|
|
26
|
+
export declare function buildSetLogo({ animated, id, label, size, tone, variant, }: SetLogoProps): SetNode;
|
|
25
27
|
/**
|
|
26
28
|
* SSR renderer for the Set logo component.
|
|
27
29
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"logo.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAEpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAMnD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;AAC7D,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,WAAW,GACX,aAAa,GACb,SAAS,CAAC;AAEd,MAAM,WAAW,YAAY;IAC3B,8GAA8G;IAC9G,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wBAAwB;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,0BAA0B;IAC1B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,kCAAkC;IAClC,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,EAAE,EACF,KAAK,EACL,IAAW,EACX,IAAgB,EAChB,OAAmB,GACpB,EAAE,YAAY,GAAG,OAAO,CAmCxB;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,YAAY,GAAG,MAAM,CAEzD;AAED,wEAAwE;AACxE,eAAO,MAAM,aAAa,EAAE,gBAwF3B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { SetNode } from "../../helpers/node";
|
|
2
|
+
/** Builds the animated primary logo SVG (mark plus wordmark). */
|
|
3
|
+
export declare function buildSetLogoAnimatedPrimary(): SetNode;
|
|
4
|
+
/** Builds the animated graphic logo SVG (mark only). */
|
|
5
|
+
export declare function buildSetLogoAnimatedGraphic(): SetNode;
|
|
6
|
+
//# sourceMappingURL=logos-animated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logos-animated.d.ts","sourceRoot":"","sources":["../../../src/components/logo/logos-animated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAqElD,iEAAiE;AACjE,wBAAgB,2BAA2B,IAAI,OAAO,CAErD;AAED,wDAAwD;AACxD,wBAAgB,2BAA2B,IAAI,OAAO,CAErD"}
|