@kickstartds/ds-agency-premium 1.6.0 → 1.6.2
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/FeaturesProps-e58616a5.d.ts +62 -0
- package/dist/SectionProps-7a46a8ad.d.ts +1 -1
- package/dist/SliderProps-93230a76.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +4 -80
- package/dist/components/blog-post/blog-post.schema.dereffed.json +4 -80
- package/dist/components/feature/index.d.ts +52 -1
- package/dist/components/features/features.schema.dereffed.json +2 -40
- package/dist/components/features/features.schema.json +24 -1
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +6 -1
- package/dist/components/page/page.schema.dereffed.json +4 -80
- package/dist/components/page-wrapper/index.js +891 -201
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +32 -113
- package/dist/components/section/section.schema.dereffed.json +4 -80
- package/dist/components/slider/slider.schema.dereffed.json +2 -40
- package/dist/tokens/IconSprite.js +891 -201
- package/dist/tokens/icon-sprite.html +238 -35
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +79 -32
- package/package.json +1 -1
- package/dist/FeatureProps-f8a75850.d.ts +0 -52
- package/dist/FeaturesProps-b05859d6.d.ts +0 -34
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* The icon for the feature
|
|
8
|
-
*/
|
|
9
|
-
type Icon = string;
|
|
10
|
-
/**
|
|
11
|
-
* The title of the feature
|
|
12
|
-
*/
|
|
13
|
-
type Title = string;
|
|
14
|
-
/**
|
|
15
|
-
* The description of the feature
|
|
16
|
-
*/
|
|
17
|
-
type Text = string;
|
|
18
|
-
/**
|
|
19
|
-
* The CTA target
|
|
20
|
-
*/
|
|
21
|
-
type CallToActionTarget = string;
|
|
22
|
-
/**
|
|
23
|
-
* The text label displayed on the link
|
|
24
|
-
*/
|
|
25
|
-
type LinkLabel = string;
|
|
26
|
-
/**
|
|
27
|
-
* Activate/disable the CTAs
|
|
28
|
-
*/
|
|
29
|
-
type CallToActionToggle = boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Partial Component used to display a feature
|
|
32
|
-
*/
|
|
33
|
-
interface FeatureProps {
|
|
34
|
-
icon?: Icon;
|
|
35
|
-
title: Title;
|
|
36
|
-
text?: Text;
|
|
37
|
-
style?: "intext" | "stack" | "centered" | "besideLarge" | "besideSmall";
|
|
38
|
-
cta?: CallToAction;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* The call to action
|
|
42
|
-
*/
|
|
43
|
-
interface CallToAction {
|
|
44
|
-
target?: CallToActionTarget;
|
|
45
|
-
label?: LinkLabel;
|
|
46
|
-
toggle?: CallToActionToggle;
|
|
47
|
-
/**
|
|
48
|
-
* Choose the style of the CTA
|
|
49
|
-
*/
|
|
50
|
-
style?: "button" | "link" | "intext";
|
|
51
|
-
}
|
|
52
|
-
export { Icon, Title, Text, CallToActionTarget, LinkLabel, CallToActionToggle, FeatureProps, CallToAction };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
-
*/
|
|
6
|
-
import { FeatureProps } from "./FeatureProps-f8a75850.js";
|
|
7
|
-
/**
|
|
8
|
-
* The layout variant to use for the features
|
|
9
|
-
*/
|
|
10
|
-
type Layout = "largeTiles" | "smallTiles" | "list";
|
|
11
|
-
/**
|
|
12
|
-
* Activate/disable the CTAs
|
|
13
|
-
*/
|
|
14
|
-
type CTAToggle = boolean;
|
|
15
|
-
/**
|
|
16
|
-
* The features to display
|
|
17
|
-
*
|
|
18
|
-
* @minItems 1
|
|
19
|
-
* @maxItems 8
|
|
20
|
-
*/
|
|
21
|
-
type Features = [FeatureProps] | [FeatureProps, FeatureProps] | [FeatureProps, FeatureProps, FeatureProps] | [FeatureProps, FeatureProps, FeatureProps, FeatureProps] | [FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps] | [FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps] | [FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps] | [FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps, FeatureProps];
|
|
22
|
-
/**
|
|
23
|
-
* Component used to display a set of features
|
|
24
|
-
*/
|
|
25
|
-
interface FeaturesProps {
|
|
26
|
-
layout?: Layout;
|
|
27
|
-
style?: "intext" | "stack" | "centered" | "besideLarge" | "besideSmall";
|
|
28
|
-
ctas?: {
|
|
29
|
-
toggle?: CTAToggle;
|
|
30
|
-
style?: "button" | "link" | "intext";
|
|
31
|
-
};
|
|
32
|
-
feature?: Features;
|
|
33
|
-
}
|
|
34
|
-
export { Layout, CTAToggle, Features, FeaturesProps };
|