@kickstartds/ds-agency-premium 1.2.22 → 1.2.23
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/{SectionProps-93230a76.d.ts → SectionProps-83d399b4.d.ts} +2 -2
- package/dist/{StatsProps-17b0743a.d.ts → StatProps-12a3eae0.d.ts} +4 -14
- package/dist/StatsProps-bf5ef578.d.ts +20 -0
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +3 -3
- package/dist/components/page/page.schema.dereffed.json +31 -5
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +4 -38
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.schema.dereffed.json +31 -5
- package/dist/components/stat/index.d.ts +1 -26
- package/dist/components/stat/index.js +5 -2
- package/dist/components/stat/stat.schema.dereffed.json +10 -0
- package/dist/components/stat/stat.schema.json +6 -0
- package/dist/components/stats/index.d.ts +1 -1
- package/dist/components/stats/index.js +5 -5
- package/dist/components/stats/stats.schema.dereffed.json +31 -5
- package/dist/components/stats/stats.schema.json +3 -31
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +1 -1
- /package/dist/{BlogOverviewProps-f385fc47.d.ts → BlogOverviewProps-525f7f9f.d.ts} +0 -0
- /package/dist/{BlogPostProps-0910f130.d.ts → BlogPostProps-e1cbd5d3.d.ts} +0 -0
- /package/dist/{ImageStoryProps-24e0335c.d.ts → ImageStoryProps-03ff6d21.d.ts} +0 -0
|
@@ -8,12 +8,12 @@ import { FaqProps } from "./FaqProps-ad618cd5.js";
|
|
|
8
8
|
import { FeaturesProps } from "./FeaturesProps-b05859d6.js";
|
|
9
9
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
10
10
|
import { HeroProps } from "./HeroProps-cf82a16d.js";
|
|
11
|
-
import { ImageStoryProps } from "./ImageStoryProps-
|
|
11
|
+
import { ImageStoryProps } from "./ImageStoryProps-03ff6d21.js";
|
|
12
12
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
13
13
|
import { LogosProps } from "./LogosProps-a8efd101.js";
|
|
14
14
|
import { MosaicProps } from "./MosaicProps-aacb9422.js";
|
|
15
15
|
import { SliderProps } from "./SliderProps-8cae490d.js";
|
|
16
|
-
import { StatsProps } from "./StatsProps-
|
|
16
|
+
import { StatsProps } from "./StatsProps-bf5ef578.js";
|
|
17
17
|
import { TeaserCardProps } from "./TeaserCardProps-b9c28e78.js";
|
|
18
18
|
import { TestimonialsProps } from "./TestimonialsProps-72bb9288.js";
|
|
19
19
|
import { TextProps } from "./TextProps-a23170d2.js";
|
|
@@ -3,13 +3,6 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
/**
|
|
7
|
-
* The stats to display with a number upcounter
|
|
8
|
-
*
|
|
9
|
-
* @minItems 1
|
|
10
|
-
* @maxItems 4
|
|
11
|
-
*/
|
|
12
|
-
type Items = [Stat] | [Stat, Stat] | [Stat, Stat, Stat] | [Stat, Stat, Stat, Stat];
|
|
13
6
|
/**
|
|
14
7
|
* The number of the stat
|
|
15
8
|
*/
|
|
@@ -27,15 +20,12 @@ type Title = string;
|
|
|
27
20
|
*/
|
|
28
21
|
type Icon = string;
|
|
29
22
|
/**
|
|
30
|
-
*
|
|
23
|
+
* Stat entry of Stats component
|
|
31
24
|
*/
|
|
32
|
-
interface
|
|
33
|
-
items?: Items;
|
|
34
|
-
}
|
|
35
|
-
interface Stat {
|
|
25
|
+
interface StatProps {
|
|
36
26
|
number: Number;
|
|
37
27
|
description?: Description;
|
|
38
|
-
title
|
|
28
|
+
title?: Title;
|
|
39
29
|
icon?: Icon;
|
|
40
30
|
}
|
|
41
|
-
export {
|
|
31
|
+
export { Number, Description, Title, Icon, StatProps };
|
|
@@ -0,0 +1,20 @@
|
|
|
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 { StatProps } from "./StatProps-12a3eae0.js";
|
|
7
|
+
/**
|
|
8
|
+
* The stats to display with a number upcounter
|
|
9
|
+
*
|
|
10
|
+
* @minItems 1
|
|
11
|
+
* @maxItems 4
|
|
12
|
+
*/
|
|
13
|
+
type Stats = [StatProps] | [StatProps, StatProps] | [StatProps, StatProps, StatProps] | [StatProps, StatProps, StatProps, StatProps];
|
|
14
|
+
/**
|
|
15
|
+
* Component used to display stats with a number upcounter
|
|
16
|
+
*/
|
|
17
|
+
interface StatsProps {
|
|
18
|
+
stat?: Stats;
|
|
19
|
+
}
|
|
20
|
+
export { Stats, StatsProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
2
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-525f7f9f.js";
|
|
3
3
|
declare const BlogOverview: ({ latest, more, }: BlogOverviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { BlogOverview };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogPostProps } from "../../BlogPostProps-
|
|
2
|
+
import { BlogPostProps } from "../../BlogPostProps-e1cbd5d3.js";
|
|
3
3
|
declare const BlogPost: ({ head, content, aside, cta }: BlogPostProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { BlogPost };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
|
-
import { SectionProps } from "../../SectionProps-
|
|
7
|
+
import { SectionProps } from "../../SectionProps-83d399b4.js";
|
|
8
8
|
import { SeoProps } from "../../SeoProps-f2d6dcaa.js";
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
/**
|
|
@@ -45,6 +45,6 @@ interface SettingsProps {
|
|
|
45
45
|
*/
|
|
46
46
|
seo: SeoProps;
|
|
47
47
|
}
|
|
48
|
-
export * from "../../BlogPostProps-
|
|
49
|
-
export * from "../../BlogOverviewProps-
|
|
48
|
+
export * from "../../BlogPostProps-e1cbd5d3.js";
|
|
49
|
+
export * from "../../BlogOverviewProps-525f7f9f.js";
|
|
50
50
|
export { Sections, PageProps, SettingsProps };
|
|
@@ -1401,13 +1401,16 @@
|
|
|
1401
1401
|
"description": "Component used to display stats with a number upcounter",
|
|
1402
1402
|
"type": "object",
|
|
1403
1403
|
"properties": {
|
|
1404
|
-
"
|
|
1405
|
-
"title": "
|
|
1404
|
+
"stat": {
|
|
1405
|
+
"title": "Stats",
|
|
1406
1406
|
"type": "array",
|
|
1407
1407
|
"description": "The stats to display with a number upcounter",
|
|
1408
1408
|
"items": {
|
|
1409
|
-
"
|
|
1409
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1410
|
+
"$id": "http://schema.mydesignsystem.com/stat.schema.json",
|
|
1410
1411
|
"title": "Stat",
|
|
1412
|
+
"description": "Stat entry of Stats component",
|
|
1413
|
+
"type": "object",
|
|
1411
1414
|
"properties": {
|
|
1412
1415
|
"number": {
|
|
1413
1416
|
"title": "Number",
|
|
@@ -1423,12 +1426,14 @@
|
|
|
1423
1426
|
"description": {
|
|
1424
1427
|
"title": "Description",
|
|
1425
1428
|
"description": "Optional description of the stat",
|
|
1426
|
-
"type": "string"
|
|
1429
|
+
"type": "string",
|
|
1430
|
+
"format": "markdown"
|
|
1427
1431
|
},
|
|
1428
1432
|
"title": {
|
|
1429
1433
|
"title": "Title",
|
|
1430
1434
|
"description": "Title of the stat",
|
|
1431
1435
|
"type": "string",
|
|
1436
|
+
"format": "markdown",
|
|
1432
1437
|
"examples": [
|
|
1433
1438
|
"Stat 1",
|
|
1434
1439
|
"Stat 2",
|
|
@@ -1445,12 +1450,33 @@
|
|
|
1445
1450
|
"home",
|
|
1446
1451
|
"map"
|
|
1447
1452
|
]
|
|
1453
|
+
},
|
|
1454
|
+
"type": {
|
|
1455
|
+
"const": "stat"
|
|
1448
1456
|
}
|
|
1449
1457
|
},
|
|
1450
1458
|
"additionalProperties": false,
|
|
1451
1459
|
"required": [
|
|
1452
1460
|
"number",
|
|
1453
|
-
"
|
|
1461
|
+
"label"
|
|
1462
|
+
],
|
|
1463
|
+
"examples": [
|
|
1464
|
+
{
|
|
1465
|
+
"number": 1,
|
|
1466
|
+
"label": "Stat 1"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"number": 2,
|
|
1470
|
+
"label": "Stat 2"
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"number": 3,
|
|
1474
|
+
"label": "Stat 3"
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
"value": 4,
|
|
1478
|
+
"label": "Stat 4"
|
|
1479
|
+
}
|
|
1454
1480
|
]
|
|
1455
1481
|
},
|
|
1456
1482
|
"minItems": 1,
|
|
@@ -2538,26 +2538,9 @@
|
|
|
2538
2538
|
"id": "components-stats--count-up-with-icons",
|
|
2539
2539
|
"group": "Components/Stats",
|
|
2540
2540
|
"name": "CountUpWithIcons",
|
|
2541
|
-
"code": "<Stats\n
|
|
2541
|
+
"code": "<Stats\n stat={[\n {\n icon: 'person',\n number: 1500,\n title: 'Users'\n },\n {\n icon: 'star',\n number: 350,\n title: 'Subscribers'\n },\n {\n icon: 'map',\n number: 125,\n title: 'Locations'\n }\n ]}\n />",
|
|
2542
2542
|
"args": {
|
|
2543
|
-
"
|
|
2544
|
-
{
|
|
2545
|
-
"number": 1,
|
|
2546
|
-
"title": "Stat 1",
|
|
2547
|
-
"icon": "person"
|
|
2548
|
-
},
|
|
2549
|
-
{
|
|
2550
|
-
"number": 1,
|
|
2551
|
-
"title": "Stat 1",
|
|
2552
|
-
"icon": "person"
|
|
2553
|
-
},
|
|
2554
|
-
{
|
|
2555
|
-
"number": 1,
|
|
2556
|
-
"title": "Stat 1",
|
|
2557
|
-
"icon": "person"
|
|
2558
|
-
}
|
|
2559
|
-
],
|
|
2560
|
-
"stats": [
|
|
2543
|
+
"stat": [
|
|
2561
2544
|
{
|
|
2562
2545
|
"number": 1500,
|
|
2563
2546
|
"title": "Users",
|
|
@@ -2581,26 +2564,9 @@
|
|
|
2581
2564
|
"id": "components-stats--count-up-with-description",
|
|
2582
2565
|
"group": "Components/Stats",
|
|
2583
2566
|
"name": "CountUpWithDescription",
|
|
2584
|
-
"code": "<Stats\n
|
|
2567
|
+
"code": "<Stats\n stat={[\n {\n description: 'Experience the power of our platform, embraced by a vast community of users. Our user base is diverse and dynamic, including both active and inactive members. Join us and become part of this ever-growing community.',\n number: 1500,\n title: 'Users'\n },\n {\n description: 'Stay ahead with our regular updates and newsletters. Our subscribers are always in the loop, receiving the latest news and features. Subscribe now and never miss an update from us.',\n number: 350,\n title: 'Subscribers'\n }\n ]}\n />",
|
|
2585
2568
|
"args": {
|
|
2586
|
-
"
|
|
2587
|
-
{
|
|
2588
|
-
"number": 1,
|
|
2589
|
-
"title": "Stat 1",
|
|
2590
|
-
"icon": "person"
|
|
2591
|
-
},
|
|
2592
|
-
{
|
|
2593
|
-
"number": 1,
|
|
2594
|
-
"title": "Stat 1",
|
|
2595
|
-
"icon": "person"
|
|
2596
|
-
},
|
|
2597
|
-
{
|
|
2598
|
-
"number": 1,
|
|
2599
|
-
"title": "Stat 1",
|
|
2600
|
-
"icon": "person"
|
|
2601
|
-
}
|
|
2602
|
-
],
|
|
2603
|
-
"stats": [
|
|
2569
|
+
"stat": [
|
|
2604
2570
|
{
|
|
2605
2571
|
"number": 1500,
|
|
2606
2572
|
"title": "Users",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { SectionProps } from "../../SectionProps-
|
|
3
|
+
import { SectionProps } from "../../SectionProps-83d399b4.js";
|
|
4
4
|
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const SectionProvider: FC<PropsWithChildren<any>>;
|
|
6
6
|
export { Section, SectionProvider };
|
|
@@ -1387,13 +1387,16 @@
|
|
|
1387
1387
|
"description": "Component used to display stats with a number upcounter",
|
|
1388
1388
|
"type": "object",
|
|
1389
1389
|
"properties": {
|
|
1390
|
-
"
|
|
1391
|
-
"title": "
|
|
1390
|
+
"stat": {
|
|
1391
|
+
"title": "Stats",
|
|
1392
1392
|
"type": "array",
|
|
1393
1393
|
"description": "The stats to display with a number upcounter",
|
|
1394
1394
|
"items": {
|
|
1395
|
-
"
|
|
1395
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1396
|
+
"$id": "http://schema.mydesignsystem.com/stat.schema.json",
|
|
1396
1397
|
"title": "Stat",
|
|
1398
|
+
"description": "Stat entry of Stats component",
|
|
1399
|
+
"type": "object",
|
|
1397
1400
|
"properties": {
|
|
1398
1401
|
"number": {
|
|
1399
1402
|
"title": "Number",
|
|
@@ -1409,12 +1412,14 @@
|
|
|
1409
1412
|
"description": {
|
|
1410
1413
|
"title": "Description",
|
|
1411
1414
|
"description": "Optional description of the stat",
|
|
1412
|
-
"type": "string"
|
|
1415
|
+
"type": "string",
|
|
1416
|
+
"format": "markdown"
|
|
1413
1417
|
},
|
|
1414
1418
|
"title": {
|
|
1415
1419
|
"title": "Title",
|
|
1416
1420
|
"description": "Title of the stat",
|
|
1417
1421
|
"type": "string",
|
|
1422
|
+
"format": "markdown",
|
|
1418
1423
|
"examples": [
|
|
1419
1424
|
"Stat 1",
|
|
1420
1425
|
"Stat 2",
|
|
@@ -1431,12 +1436,33 @@
|
|
|
1431
1436
|
"home",
|
|
1432
1437
|
"map"
|
|
1433
1438
|
]
|
|
1439
|
+
},
|
|
1440
|
+
"type": {
|
|
1441
|
+
"const": "stat"
|
|
1434
1442
|
}
|
|
1435
1443
|
},
|
|
1436
1444
|
"additionalProperties": false,
|
|
1437
1445
|
"required": [
|
|
1438
1446
|
"number",
|
|
1439
|
-
"
|
|
1447
|
+
"label"
|
|
1448
|
+
],
|
|
1449
|
+
"examples": [
|
|
1450
|
+
{
|
|
1451
|
+
"number": 1,
|
|
1452
|
+
"label": "Stat 1"
|
|
1453
|
+
},
|
|
1454
|
+
{
|
|
1455
|
+
"number": 2,
|
|
1456
|
+
"label": "Stat 2"
|
|
1457
|
+
},
|
|
1458
|
+
{
|
|
1459
|
+
"number": 3,
|
|
1460
|
+
"label": "Stat 3"
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"value": 4,
|
|
1464
|
+
"label": "Stat 4"
|
|
1465
|
+
}
|
|
1440
1466
|
]
|
|
1441
1467
|
},
|
|
1442
1468
|
"minItems": 1,
|
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } 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
|
-
/**
|
|
10
|
-
* The number of the stat
|
|
11
|
-
*/
|
|
12
|
-
type Number = number;
|
|
13
|
-
/**
|
|
14
|
-
* Optional description of the stat
|
|
15
|
-
*/
|
|
16
|
-
type Description = string;
|
|
17
|
-
/**
|
|
18
|
-
* Title of the stat
|
|
19
|
-
*/
|
|
20
|
-
type Title = string;
|
|
21
|
-
/**
|
|
22
|
-
* Stat entry of Stats component
|
|
23
|
-
*/
|
|
24
|
-
interface StatProps {
|
|
25
|
-
number: Number;
|
|
26
|
-
description?: Description;
|
|
27
|
-
title?: Title;
|
|
28
|
-
}
|
|
3
|
+
import { StatProps } from "../../StatProps-12a3eae0.js";
|
|
29
4
|
declare const StatContextDefault: import("react").ForwardRefExoticComponent<StatProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
30
5
|
declare const StatContext: import("react").Context<import("react").ForwardRefExoticComponent<StatProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
31
6
|
declare const Stat: import("react").ForwardRefExoticComponent<StatProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { forwardRef, createContext, useContext } from 'react';
|
|
3
|
+
import { CountUp } from '@kickstartds/content/lib/count-up';
|
|
3
4
|
|
|
4
|
-
const StatContextDefault = forwardRef(({ number, title, description, ...rest }, ref) => (
|
|
5
|
+
const StatContextDefault = forwardRef(({ number, title, description, icon, ...rest }, ref) => (jsx(CountUp, { ...rest, ref: ref, className: "dsa-stats__item", to: number, icon: {
|
|
6
|
+
icon: icon,
|
|
7
|
+
}, text: description, topic: title })));
|
|
5
8
|
const StatContext = createContext(StatContextDefault);
|
|
6
9
|
const Stat = forwardRef((props, ref) => {
|
|
7
10
|
const Component = useContext(StatContext);
|
|
@@ -23,6 +23,12 @@
|
|
|
23
23
|
"type": "string",
|
|
24
24
|
"format": "markdown",
|
|
25
25
|
"examples": ["Stat 1", "Stat 2", "Stat 3", "Stat 4"]
|
|
26
|
+
},
|
|
27
|
+
"icon": {
|
|
28
|
+
"title": "Icon",
|
|
29
|
+
"description": "Optional icon of the stat",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"examples": ["person", "home", "map"]
|
|
26
32
|
}
|
|
27
33
|
},
|
|
28
34
|
"additionalProperties": false,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./stats.css";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { createElement } from 'react';
|
|
4
|
+
import { Stat } from '../stat/index.js';
|
|
5
|
+
import '@kickstartds/content/lib/count-up';
|
|
4
6
|
|
|
5
|
-
const Stats = ({
|
|
6
|
-
return (jsx("div", { className: "dsa-stats", children:
|
|
7
|
-
icon: item?.icon,
|
|
8
|
-
}, text: item?.description, topic: item.title }, index))) }));
|
|
7
|
+
const Stats = ({ stat: stats = [], }) => {
|
|
8
|
+
return (jsx("div", { className: "dsa-stats", children: stats.map((item, index) => (createElement(Stat, { ...item, key: index }))) }));
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export { Stats };
|
|
@@ -5,13 +5,16 @@
|
|
|
5
5
|
"description": "Component used to display stats with a number upcounter",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"
|
|
9
|
-
"title": "
|
|
8
|
+
"stat": {
|
|
9
|
+
"title": "Stats",
|
|
10
10
|
"type": "array",
|
|
11
11
|
"description": "The stats to display with a number upcounter",
|
|
12
12
|
"items": {
|
|
13
|
-
"
|
|
13
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
14
|
+
"$id": "http://schema.mydesignsystem.com/stat.schema.json",
|
|
14
15
|
"title": "Stat",
|
|
16
|
+
"description": "Stat entry of Stats component",
|
|
17
|
+
"type": "object",
|
|
15
18
|
"properties": {
|
|
16
19
|
"number": {
|
|
17
20
|
"title": "Number",
|
|
@@ -27,12 +30,14 @@
|
|
|
27
30
|
"description": {
|
|
28
31
|
"title": "Description",
|
|
29
32
|
"description": "Optional description of the stat",
|
|
30
|
-
"type": "string"
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "markdown"
|
|
31
35
|
},
|
|
32
36
|
"title": {
|
|
33
37
|
"title": "Title",
|
|
34
38
|
"description": "Title of the stat",
|
|
35
39
|
"type": "string",
|
|
40
|
+
"format": "markdown",
|
|
36
41
|
"examples": [
|
|
37
42
|
"Stat 1",
|
|
38
43
|
"Stat 2",
|
|
@@ -49,12 +54,33 @@
|
|
|
49
54
|
"home",
|
|
50
55
|
"map"
|
|
51
56
|
]
|
|
57
|
+
},
|
|
58
|
+
"type": {
|
|
59
|
+
"const": "stat"
|
|
52
60
|
}
|
|
53
61
|
},
|
|
54
62
|
"additionalProperties": false,
|
|
55
63
|
"required": [
|
|
56
64
|
"number",
|
|
57
|
-
"
|
|
65
|
+
"label"
|
|
66
|
+
],
|
|
67
|
+
"examples": [
|
|
68
|
+
{
|
|
69
|
+
"number": 1,
|
|
70
|
+
"label": "Stat 1"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"number": 2,
|
|
74
|
+
"label": "Stat 2"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"number": 3,
|
|
78
|
+
"label": "Stat 3"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"value": 4,
|
|
82
|
+
"label": "Stat 4"
|
|
83
|
+
}
|
|
58
84
|
]
|
|
59
85
|
},
|
|
60
86
|
"minItems": 1,
|
|
@@ -5,40 +5,12 @@
|
|
|
5
5
|
"description": "Component used to display stats with a number upcounter",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"
|
|
9
|
-
"title": "
|
|
8
|
+
"stat": {
|
|
9
|
+
"title": "Stats",
|
|
10
10
|
"type": "array",
|
|
11
11
|
"description": "The stats to display with a number upcounter",
|
|
12
12
|
"items": {
|
|
13
|
-
"
|
|
14
|
-
"title": "Stat",
|
|
15
|
-
"properties": {
|
|
16
|
-
"number": {
|
|
17
|
-
"title": "Number",
|
|
18
|
-
"description": "The number of the stat",
|
|
19
|
-
"type": "integer",
|
|
20
|
-
"examples": [1, 2, 3, 4]
|
|
21
|
-
},
|
|
22
|
-
"description": {
|
|
23
|
-
"title": "Description",
|
|
24
|
-
"description": "Optional description of the stat",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"title": {
|
|
28
|
-
"title": "Title",
|
|
29
|
-
"description": "Title of the stat",
|
|
30
|
-
"type": "string",
|
|
31
|
-
"examples": ["Stat 1", "Stat 2", "Stat 3", "Stat 4"]
|
|
32
|
-
},
|
|
33
|
-
"icon": {
|
|
34
|
-
"title": "Icon",
|
|
35
|
-
"description": "Optional icon of the stat",
|
|
36
|
-
"type": "string",
|
|
37
|
-
"examples": ["person", "home", "map"]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"additionalProperties": false,
|
|
41
|
-
"required": ["number", "title"]
|
|
13
|
+
"$ref": "http://schema.mydesignsystem.com/stat.schema.json"
|
|
42
14
|
},
|
|
43
15
|
"minItems": 1,
|
|
44
16
|
"maxItems": 4
|
package/dist/tokens/themes.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Fri, 01 Mar 2024 18:
|
|
3
|
+
* Generated on Fri, 01 Mar 2024 18:47:42 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root [ks-theme=business] {
|
|
6
6
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
|
@@ -2727,7 +2727,7 @@
|
|
|
2727
2727
|
}
|
|
2728
2728
|
/**
|
|
2729
2729
|
* Do not edit directly
|
|
2730
|
-
* Generated on Fri, 01 Mar 2024 18:
|
|
2730
|
+
* Generated on Fri, 01 Mar 2024 18:47:47 GMT
|
|
2731
2731
|
*/
|
|
2732
2732
|
:root [ks-theme=google] {
|
|
2733
2733
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
|
@@ -5458,7 +5458,7 @@
|
|
|
5458
5458
|
}
|
|
5459
5459
|
/**
|
|
5460
5460
|
* Do not edit directly
|
|
5461
|
-
* Generated on Fri, 01 Mar 2024 18:
|
|
5461
|
+
* Generated on Fri, 01 Mar 2024 18:47:45 GMT
|
|
5462
5462
|
*/
|
|
5463
5463
|
:root [ks-theme=ngo] {
|
|
5464
5464
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
|
@@ -8459,7 +8459,7 @@
|
|
|
8459
8459
|
}
|
|
8460
8460
|
/**
|
|
8461
8461
|
* Do not edit directly
|
|
8462
|
-
* Generated on Fri, 01 Mar 2024 18:
|
|
8462
|
+
* Generated on Fri, 01 Mar 2024 18:47:49 GMT
|
|
8463
8463
|
*/
|
|
8464
8464
|
:root [ks-theme=telekom] {
|
|
8465
8465
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
package/dist/tokens/tokens.css
CHANGED
package/dist/tokens/tokens.js
CHANGED
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|