@kickstartds/ds-agency-premium 1.2.12--canary.216.0543b48.0 → 1.2.13--canary.6.224.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/BlogOverviewProps-f385fc47.d.ts +36 -0
- package/dist/BlogPostProps-0910f130.d.ts +36 -0
- package/dist/FooterProps-b5c16ab5.d.ts +37 -0
- package/dist/HeaderProps-ae331ab2.d.ts +42 -0
- package/dist/SectionProps-93230a76.d.ts +141 -0
- package/dist/components/blog-overview/index.d.ts +1 -36
- package/dist/components/blog-post/index.d.ts +1 -36
- package/dist/components/footer/index.d.ts +1 -37
- package/dist/components/header/index.d.ts +1 -42
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +50 -0
- package/dist/components/index/index.js +1 -0
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +3189 -0
- package/dist/components/section/index.d.ts +1 -141
- package/dist/static/tokens-business.css +1 -1
- package/dist/static/tokens-google.css +1 -1
- package/dist/static/tokens-ngo.css +1 -1
- package/dist/static/tokens-telekom.css +1 -1
- package/dist/static/tokens.css +1 -1
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +32 -10
- /package/dist/{ImageStoryProps-03ff6d21.d.ts → ImageStoryProps-24e0335c.d.ts} +0 -0
|
@@ -1,146 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
6
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
7
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
8
|
-
*/
|
|
9
|
-
import { CtaProps } from "../../CtaProps-93230a76.js";
|
|
10
|
-
import { FaqProps } from "../../FaqProps-ad618cd5.js";
|
|
11
|
-
import { FeaturesProps } from "../../FeaturesProps-b05859d6.js";
|
|
12
|
-
import { GalleryProps } from "../../GalleryProps-76e7de44.js";
|
|
13
|
-
import { HeroProps } from "../../HeroProps-cf82a16d.js";
|
|
14
|
-
import { ImageStoryProps } from "../../ImageStoryProps-03ff6d21.js";
|
|
15
|
-
import { ImageTextProps } from "../../ImageTextProps-9286cca4.js";
|
|
16
|
-
import { LogosProps } from "../../LogosProps-a8efd101.js";
|
|
17
|
-
import { MosaicProps } from "../../MosaicProps-aacb9422.js";
|
|
18
|
-
import { SliderProps } from "../../SliderProps-8cae490d.js";
|
|
19
|
-
import { StatsProps } from "../../StatsProps-17b0743a.js";
|
|
20
|
-
import { TeaserCardProps } from "../../TeaserCardProps-b9c28e78.js";
|
|
21
|
-
import { TestimonialsProps } from "../../TestimonialsProps-4b94faa8.js";
|
|
22
|
-
import { TextProps } from "../../TextProps-a23170d2.js";
|
|
23
|
-
import { VideoCurtainProps } from "../../VideoCurtainProps-6c625a69.js";
|
|
24
|
-
import { ButtonProps } from "../../ButtonProps-03ff6d21.js";
|
|
25
|
-
/**
|
|
26
|
-
* Width of section to use
|
|
27
|
-
*/
|
|
28
|
-
type Width = "full" | "max" | "wide" | "default" | "narrow";
|
|
29
|
-
/**
|
|
30
|
-
* Style of background
|
|
31
|
-
*/
|
|
32
|
-
type Style = "stagelights" | "horizontalGradient" | "verticalGradient" | "accentTransition" | "boldTransition" | "symmetricGlow" | "anchorGlow";
|
|
33
|
-
/**
|
|
34
|
-
* Color of background
|
|
35
|
-
*/
|
|
36
|
-
type Style1 = "default" | "accent" | "bold";
|
|
37
|
-
/**
|
|
38
|
-
* Show spotlight behind cursor
|
|
39
|
-
*/
|
|
40
|
-
type Spotlight = boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Amount of spacing before the section
|
|
43
|
-
*/
|
|
44
|
-
type SpaceBefore = "default" | "small" | "none";
|
|
45
|
-
/**
|
|
46
|
-
* Amount of spacing after the section
|
|
47
|
-
*/
|
|
48
|
-
type SpaceAfter = "default" | "small" | "none";
|
|
49
|
-
/**
|
|
50
|
-
* Whether to invert the section
|
|
51
|
-
*/
|
|
52
|
-
type Inverted = boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Reserve additional spacing for a floating header
|
|
55
|
-
*/
|
|
56
|
-
type HeaderSpacing = boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Headline Text for the section
|
|
59
|
-
*/
|
|
60
|
-
type Headline = string;
|
|
61
|
-
/**
|
|
62
|
-
* Make the headline larger
|
|
63
|
-
*/
|
|
64
|
-
type LargeHeadline = boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Width of headline to use
|
|
67
|
-
*/
|
|
68
|
-
type HeadlineWidth = "unset" | "narrow" | "default" | "wide";
|
|
69
|
-
/**
|
|
70
|
-
* Choose the text alignment for the headline
|
|
71
|
-
*/
|
|
72
|
-
type HeadlineTextAlignment = "left" | "center" | "right";
|
|
73
|
-
/**
|
|
74
|
-
* Choose an alignment for positioning the headline
|
|
75
|
-
*/
|
|
76
|
-
type HeadlineAlignment = "left" | "center" | "right";
|
|
77
|
-
/**
|
|
78
|
-
* Subheadline for the section
|
|
79
|
-
*/
|
|
80
|
-
type Subheadline = string;
|
|
81
|
-
/**
|
|
82
|
-
* Switch the order of headline and subheadline
|
|
83
|
-
*/
|
|
84
|
-
type SwitchHeadlineOrder = boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Width of content to use
|
|
87
|
-
*/
|
|
88
|
-
type ContentWidth = "unset" | "narrow" | "default" | "wide";
|
|
89
|
-
/**
|
|
90
|
-
* Choose an alignment for the content
|
|
91
|
-
*/
|
|
92
|
-
type ContentAlignment = "left" | "center" | "right";
|
|
93
|
-
/**
|
|
94
|
-
* Size of gutter to use
|
|
95
|
-
*/
|
|
96
|
-
type Gutter = "large" | "default" | "small" | "none";
|
|
97
|
-
/**
|
|
98
|
-
* Layout mode used for section contents
|
|
99
|
-
*/
|
|
100
|
-
type Mode = "default" | "tile" | "list" | "slider";
|
|
101
|
-
/**
|
|
102
|
-
* Set min-width for the tiles in the grid
|
|
103
|
-
*/
|
|
104
|
-
type TileWidth = "smallest" | "default" | "medium" | "large" | "largest";
|
|
105
|
-
/**
|
|
106
|
-
* Allowed components for content
|
|
107
|
-
*/
|
|
108
|
-
type Content = (CtaProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
109
|
-
/**
|
|
110
|
-
* Buttons of the Button Group
|
|
111
|
-
*/
|
|
112
|
-
type Buttons = ButtonProps[];
|
|
113
|
-
/**
|
|
114
|
-
* Component used to layout components into pages
|
|
115
|
-
*/
|
|
116
|
-
interface SectionProps {
|
|
117
|
-
width?: Width;
|
|
118
|
-
style?: Style;
|
|
119
|
-
backgroundColor?: Style1;
|
|
120
|
-
spotlight?: Spotlight;
|
|
121
|
-
spaceBefore?: SpaceBefore;
|
|
122
|
-
spaceAfter?: SpaceAfter;
|
|
123
|
-
inverted?: Inverted;
|
|
124
|
-
headerSpacing?: HeaderSpacing;
|
|
125
|
-
headline?: {
|
|
126
|
-
text?: Headline;
|
|
127
|
-
large?: LargeHeadline;
|
|
128
|
-
width?: HeadlineWidth;
|
|
129
|
-
textAlign?: HeadlineTextAlignment;
|
|
130
|
-
align?: HeadlineAlignment;
|
|
131
|
-
sub?: Subheadline;
|
|
132
|
-
switchOrder?: SwitchHeadlineOrder;
|
|
133
|
-
};
|
|
134
|
-
content?: {
|
|
135
|
-
width?: ContentWidth;
|
|
136
|
-
align?: ContentAlignment;
|
|
137
|
-
gutter?: Gutter;
|
|
138
|
-
mode?: Mode;
|
|
139
|
-
tileWidth?: TileWidth;
|
|
140
|
-
};
|
|
141
|
-
components?: Content;
|
|
142
|
-
buttons?: Buttons;
|
|
143
|
-
}
|
|
3
|
+
import { SectionProps } from "../../SectionProps-93230a76.js";
|
|
144
4
|
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
145
5
|
declare const SectionProvider: FC<PropsWithChildren<any>>;
|
|
146
6
|
export { Section, SectionProvider };
|
package/dist/static/tokens.css
CHANGED
package/dist/tokens/tokens.css
CHANGED
package/dist/tokens/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kickstartds/ds-agency-premium",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13--canary.6.224.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build-storybook": "yarn build-tokens && yarn schema && yarn token && storybook build",
|
|
42
|
-
"postbuild-storybook": "yarn
|
|
42
|
+
"postbuild-storybook": "yarn presets && yarn playroom:build && mkdir -p dist/components && cp snippets.json dist/components/presets.json",
|
|
43
43
|
"build-tokens": "kickstartDS tokens compile && yarn build-tokens-business && yarn build-tokens-ngo && yarn build-tokens-telekom && yarn build-tokens-google && yarn && yarn copyTokensCss",
|
|
44
44
|
"build-tokens-business": "kickstartDS tokens compile --token-dictionary-path src/token-business/dictionary --sd-config-path sd.config-business.cjs",
|
|
45
45
|
"build-tokens-ngo": "kickstartDS tokens compile --token-dictionary-path src/token-ngo/dictionary --sd-config-path sd.config-ngo.cjs",
|
|
@@ -49,18 +49,22 @@
|
|
|
49
49
|
"copyTokensCss": "cp src/token/tokens.css static/tokens.css && cp src/token-business/tokens.css static/tokens-business.css && cp src/token-google/tokens.css static/tokens-google.css && cp src/token-telekom/tokens.css static/tokens-telekom.css && cp src/token-ngo/tokens.css static/tokens-ngo.css",
|
|
50
50
|
"init-tokens": "kickstartDS tokens init",
|
|
51
51
|
"playroom": "run-p watch:* playroom:start",
|
|
52
|
-
"playroom:snippets": "rimraf tmp && node scripts/generatePlayroomSnippets.js",
|
|
53
52
|
"playroom:start": "playroom start",
|
|
54
53
|
"playroom:build": "playroom build",
|
|
54
|
+
"presets": "vitest run scripts/generatePresets.test.ts",
|
|
55
55
|
"husky:precommit": "yarn schema && rollup -c",
|
|
56
56
|
"prepare": "patch-package && husky install",
|
|
57
|
-
"prepublishOnly": "rm -rf dist && yarn build-tokens && yarn schema && rollup -c",
|
|
57
|
+
"prepublishOnly": "rm -rf dist && yarn build-tokens && yarn schema && rollup -c && yarn build-storybook",
|
|
58
58
|
"schema": "run-p schema:*",
|
|
59
59
|
"schema:dereference-schemas": "kickstartDS schema dereference --schema-domain schema.mydesignsystem.com",
|
|
60
60
|
"schema:generate-props": "kickstartDS schema types",
|
|
61
61
|
"schema:layer-types": "kickstartDS schema layer",
|
|
62
62
|
"start": "run-p watch:* storybook",
|
|
63
63
|
"storybook": "storybook dev -p 6006",
|
|
64
|
+
"create-component-previews": "yarn test && rimraf static/img/screenshots && mkdir -p static/img/screenshots && cp __snapshots__/*.png static/img/screenshots",
|
|
65
|
+
"test": "rimraf __snapshots__ && run-p -r test:*",
|
|
66
|
+
"test:server": "npx http-server storybook-static --port 6006 --silent",
|
|
67
|
+
"test:suite": "npx wait-on http://127.0.0.1:6006 && test-storybook",
|
|
64
68
|
"token": "node scripts/customPropertyExtract.js",
|
|
65
69
|
"watch:schema": "yarn schema && chokidar \"src/**/*.schema.json\" -c \"yarn schema\"",
|
|
66
70
|
"watch:token": "yarn token && chokidar \"src/**/*-tokens.scss\" -c \"yarn token {path}\"",
|
|
@@ -79,15 +83,16 @@
|
|
|
79
83
|
"@kickstartds/form": "2.3.0-canary.1615.6674.0",
|
|
80
84
|
"@kickstartds/style-dictionary": "2.3.0-canary.1615.6674.0",
|
|
81
85
|
"classnames": "^2.3.2",
|
|
82
|
-
"lazysizes": "^5.3.2",
|
|
83
|
-
"react": "18.2.0",
|
|
84
|
-
"react-dom": "18.2.0",
|
|
85
86
|
"react-markdown": "^8.0.7"
|
|
86
87
|
},
|
|
87
88
|
"devDependencies": {
|
|
88
89
|
"@auto-it/npm": "^11.0.1",
|
|
89
90
|
"@auto-it/released": "^11.0.1",
|
|
90
|
-
"@
|
|
91
|
+
"@kickstartds/base": "2.3.0-beta.1",
|
|
92
|
+
"@kickstartds/blog": "2.3.0-beta.1",
|
|
93
|
+
"@kickstartds/content": "3.0.0-next.7",
|
|
94
|
+
"@kickstartds/core": "3.0.0-beta.0",
|
|
95
|
+
"@kickstartds/form": "2.3.0-beta.1",
|
|
91
96
|
"@kickstartds/storybook-addon-component-tokens": "1.0.0",
|
|
92
97
|
"@kickstartds/storybook-addon-html": "^0.0.2",
|
|
93
98
|
"@kickstartds/storybook-addon-jsonschema": "^2.0.1",
|
|
@@ -100,6 +105,10 @@
|
|
|
100
105
|
"@storybook/core-webpack": "^7.6.7",
|
|
101
106
|
"@storybook/react": "^7.6.7",
|
|
102
107
|
"@storybook/react-vite": "^7.6.7",
|
|
108
|
+
"@storybook/test-runner": "^0.16.0",
|
|
109
|
+
"@testing-library/react": "^14.1.2",
|
|
110
|
+
"@types/jest": "^29.5.11",
|
|
111
|
+
"@types/jest-image-snapshot": "^6.4.0",
|
|
103
112
|
"@types/react": "^18.2.21",
|
|
104
113
|
"auto": "^11.0.1",
|
|
105
114
|
"change-case": "^4.1.2",
|
|
@@ -110,14 +119,18 @@
|
|
|
110
119
|
"deepmerge": "^4.3.1",
|
|
111
120
|
"fast-glob": "^3.3.1",
|
|
112
121
|
"fs-extra": "^11.1.1",
|
|
113
|
-
"
|
|
122
|
+
"happy-dom": "^13.3.1",
|
|
114
123
|
"husky": "^8.0.3",
|
|
124
|
+
"jest-image-snapshot": "^6.4.0",
|
|
115
125
|
"kickstartds": "^3.0.0-next.7",
|
|
126
|
+
"lazysizes": "^5.3.2",
|
|
116
127
|
"npm-run-all": "^4.1.5",
|
|
117
128
|
"patch-package": "^8.0.0",
|
|
118
129
|
"playroom": "^0.34.1",
|
|
119
130
|
"postcss": "^8.4.29",
|
|
120
131
|
"postcss-url": "^10.1.3",
|
|
132
|
+
"react": "18.2.0",
|
|
133
|
+
"react-dom": "18.2.0",
|
|
121
134
|
"rollup": "^3.28.1",
|
|
122
135
|
"rollup-plugin-copy": "^3.4.0",
|
|
123
136
|
"rollup-plugin-node-externals": "^6.1.1",
|
|
@@ -128,7 +141,16 @@
|
|
|
128
141
|
"storybook-addon-playroom": "^5.0.0",
|
|
129
142
|
"storybook-design-token": "3.0.0-beta.3",
|
|
130
143
|
"style-loader": "^3.3.3",
|
|
131
|
-
"typescript": "^5.2.2"
|
|
144
|
+
"typescript": "^5.2.2",
|
|
145
|
+
"vitest": "^1.2.1"
|
|
146
|
+
},
|
|
147
|
+
"peerDependencies": {
|
|
148
|
+
"@kickstartds/base": "2.3.0-beta.0",
|
|
149
|
+
"@kickstartds/blog": "2.3.0-beta.0",
|
|
150
|
+
"@kickstartds/core": "3.0.0-beta.0",
|
|
151
|
+
"@kickstartds/form": "2.3.0-beta.0",
|
|
152
|
+
"react": "^17 || ^18",
|
|
153
|
+
"react-dom": "^17 || ^18"
|
|
132
154
|
},
|
|
133
155
|
"publishConfig": {
|
|
134
156
|
"access": "public",
|
|
File without changes
|