@kickstartds/ds-agency-premium 1.6.71--canary.45.1824.0 → 1.6.71--canary.45.1833.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.
@@ -0,0 +1,29 @@
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
+ interface SearchFilterProps {
7
+ /**
8
+ * The title of the search filter.
9
+ */
10
+ title?: string;
11
+ /**
12
+ * The categories to filter by.
13
+ */
14
+ categories?: {
15
+ /**
16
+ * The name of the category.
17
+ */
18
+ title?: string;
19
+ /**
20
+ * The number of items in the category.
21
+ */
22
+ amount?: string;
23
+ /**
24
+ * The URL to filter by this category.
25
+ */
26
+ url?: string;
27
+ }[];
28
+ }
29
+ export { SearchFilterProps };
@@ -0,0 +1,33 @@
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
+ * A URL linking to the search result or more information.
8
+ */
9
+ type URL = string;
10
+ /**
11
+ * The title of the search result.
12
+ */
13
+ type Title = string;
14
+ /**
15
+ * The main content or description of the search result.
16
+ */
17
+ type Text = string;
18
+ /**
19
+ * Whether to display the link to the search result.
20
+ */
21
+ type ShowLink = boolean;
22
+ /**
23
+ * An ARIA label for accessibility purposes.
24
+ */
25
+ type ARIALabel = string;
26
+ interface SearchResultProps {
27
+ url?: URL;
28
+ title?: Title;
29
+ text?: Text;
30
+ showLink?: ShowLink;
31
+ ariaLabel?: ARIALabel;
32
+ }
33
+ export { URL, Title, Text, ShowLink, ARIALabel, SearchResultProps };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 08 Jul 2025 13:26:06 GMT
3
+ * Generated on Tue, 08 Jul 2025 14:19:26 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-fg-to-bg-9-base);
@@ -1050,6 +1050,170 @@
1050
1050
  },
1051
1051
  "screenshot": "img/screenshots/page-archetypes-event-list--event-list.png"
1052
1052
  },
1053
+ {
1054
+ "id": "page-archetypes-search--search",
1055
+ "group": "Page Archetypes/Search",
1056
+ "name": "Search",
1057
+ "code": "<Search\n events={[\n {\n category: 'Buyers',\n ctaText: 'Show event',\n date: 'FRI, JAN 16',\n image: {\n alt: 'This is an image of a flower',\n src: 'https://picsum.photos/seed/flower/800/600'\n },\n location: {\n address: 'Köln',\n name: 'Stadthalle'\n },\n tags: [\n 'AI'\n ],\n text: 'The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence. The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence.',\n time: '10:00',\n title: 'This is a event teaser title',\n url: 'https://example.com'\n },\n {\n category: 'Buyers',\n ctaText: 'Show event',\n date: 'FRI, JAN 16',\n image: {\n alt: 'This is an image of a flower',\n src: 'https://picsum.photos/seed/flower/800/600'\n },\n location: {\n address: 'Köln',\n name: 'Stadthalle'\n },\n tags: [\n 'AI'\n ],\n text: 'The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence. The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence.',\n time: '10:00',\n title: 'This is a event teaser title',\n url: 'https://example.com'\n },\n {\n category: 'Buyers',\n ctaText: 'Show event',\n date: 'FRI, JAN 16',\n image: {\n alt: 'This is an image of a flower',\n src: 'https://picsum.photos/seed/flower/800/600'\n },\n location: {\n address: 'Köln',\n name: 'Stadthalle'\n },\n tags: [\n 'AI'\n ],\n text: 'The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence. The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence.',\n time: '10:00',\n title: 'This is a event teaser title',\n url: 'https://example.com'\n }\n ]}\n filter={{\n applyButton: {\n label: 'Filter Appointments'\n },\n categories: {\n categoryCheckboxes: [\n 'Category Filter',\n 'Category Filter',\n 'Category Filter'\n ],\n title: 'Categories',\n toggle: true\n },\n datePicker: {\n dateFromInput: {\n label: 'From',\n placeholder: 'Select a date'\n },\n dateToInput: {\n label: 'To',\n placeholder: 'Select a date'\n },\n title: 'Find Appointment',\n toggle: true\n },\n resetButton: {\n label: 'Reset Filters'\n }\n }}\n searchFilter={{\n categories: [\n {\n amount: 10,\n title: 'Pages',\n url: '#'\n },\n {\n amount: 5,\n title: 'News',\n url: '#'\n },\n {\n amount: 2,\n title: 'Blog Posts',\n url: '#'\n }\n ],\n title: 'Search Filters'\n }}\n searchResults={[\n {\n ariaLabel: 'Search Result: AI Conference 2023',\n showLink: true,\n text: 'Join us for the annual **AI Conference** bringing together experts from around the world.\\n Register now to secure your spot and learn about the latest advancements in AI.',\n title: 'AI Conference 2023',\n url: 'https://www.example.com/ai-conference-2023'\n },\n {\n ariaLabel: 'Search Result: Web Development Summit 2023',\n showLink: true,\n text: 'Explore the future of web development at the **Web Development Summit**.\\n Discover new technologies and network with industry leaders.',\n title: 'Web Development Summit 2023',\n url: 'https://www.example.com/web-development-summit-2023'\n },\n {\n ariaLabel: 'Search Result: Data Science Bootcamp',\n showLink: true,\n text: 'Enhance your skills with our **Data Science Bootcamp**.\\n Learn from experts and work on real-world projects.',\n title: 'Data Science Bootcamp',\n url: 'https://www.example.com/data-science-bootcamp'\n },\n {\n ariaLabel: 'Search Result: AI Conference 2023',\n showLink: true,\n text: 'Join us for the annual **AI Conference** bringing together experts from around the world.\\n Register now to secure your spot and learn about the latest advancements in AI.',\n title: 'AI Conference 2023',\n url: 'https://www.example.com/ai-conference-2023'\n },\n {\n ariaLabel: 'Search Result: Web Development Summit 2023',\n showLink: true,\n text: 'Explore the future of web development at the **Web Development Summit**.\\n Discover new technologies and network with industry leaders.',\n title: 'Web Development Summit 2023',\n url: 'https://www.example.com/web-development-summit-2023'\n },\n {\n ariaLabel: 'Search Result: Data Science Bootcamp',\n showLink: true,\n text: 'Enhance your skills with our **Data Science Bootcamp**.\\n Learn from experts and work on real-world projects.',\n title: 'Data Science Bootcamp',\n url: 'https://www.example.com/data-science-bootcamp'\n }\n ]}\n/>",
1058
+ "args": {
1059
+ "filter": {
1060
+ "datePicker": {
1061
+ "title": "Find Appointment",
1062
+ "dateFromInput": {
1063
+ "label": "From",
1064
+ "placeholder": "Select a date"
1065
+ },
1066
+ "dateToInput": {
1067
+ "label": "To",
1068
+ "placeholder": "Select a date"
1069
+ },
1070
+ "toggle": true
1071
+ },
1072
+ "categories": {
1073
+ "title": "Categories",
1074
+ "categoryCheckboxes": [
1075
+ "Category Filter",
1076
+ "Category Filter",
1077
+ "Category Filter"
1078
+ ],
1079
+ "toggle": true
1080
+ },
1081
+ "applyButton": {
1082
+ "label": "Filter Appointments"
1083
+ },
1084
+ "resetButton": {
1085
+ "label": "Reset Filters"
1086
+ }
1087
+ },
1088
+ "events": [
1089
+ {
1090
+ "category": "Buyers",
1091
+ "title": "This is a event teaser title",
1092
+ "text": "The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence. The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence.",
1093
+ "date": "FRI, JAN 16",
1094
+ "time": "10:00",
1095
+ "location": {
1096
+ "name": "Stadthalle",
1097
+ "address": "Köln"
1098
+ },
1099
+ "tags": [
1100
+ "AI"
1101
+ ],
1102
+ "image": {
1103
+ "src": "https://picsum.photos/seed/flower/800/600",
1104
+ "alt": "This is an image of a flower"
1105
+ },
1106
+ "url": "https://example.com",
1107
+ "ctaText": "Show event"
1108
+ },
1109
+ {
1110
+ "category": "Buyers",
1111
+ "title": "This is a event teaser title",
1112
+ "text": "The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence. The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence.",
1113
+ "date": "FRI, JAN 16",
1114
+ "time": "10:00",
1115
+ "location": {
1116
+ "name": "Stadthalle",
1117
+ "address": "Köln"
1118
+ },
1119
+ "tags": [
1120
+ "AI"
1121
+ ],
1122
+ "image": {
1123
+ "src": "https://picsum.photos/seed/flower/800/600",
1124
+ "alt": "This is an image of a flower"
1125
+ },
1126
+ "url": "https://example.com",
1127
+ "ctaText": "Show event"
1128
+ },
1129
+ {
1130
+ "category": "Buyers",
1131
+ "title": "This is a event teaser title",
1132
+ "text": "The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence. The Future of AI is here and now - Join us to explore the latest advancements in artificial intelligence.",
1133
+ "date": "FRI, JAN 16",
1134
+ "time": "10:00",
1135
+ "location": {
1136
+ "name": "Stadthalle",
1137
+ "address": "Köln"
1138
+ },
1139
+ "tags": [
1140
+ "AI"
1141
+ ],
1142
+ "image": {
1143
+ "src": "https://picsum.photos/seed/flower/800/600",
1144
+ "alt": "This is an image of a flower"
1145
+ },
1146
+ "url": "https://example.com",
1147
+ "ctaText": "Show event"
1148
+ }
1149
+ ],
1150
+ "searchFilter": {
1151
+ "title": "Search Filters",
1152
+ "categories": [
1153
+ {
1154
+ "title": "Pages",
1155
+ "url": "#",
1156
+ "amount": 10
1157
+ },
1158
+ {
1159
+ "title": "News",
1160
+ "url": "#",
1161
+ "amount": 5
1162
+ },
1163
+ {
1164
+ "title": "Blog Posts",
1165
+ "url": "#",
1166
+ "amount": 2
1167
+ }
1168
+ ]
1169
+ },
1170
+ "searchResults": [
1171
+ {
1172
+ "url": "https://www.example.com/ai-conference-2023",
1173
+ "title": "AI Conference 2023",
1174
+ "text": "Join us for the annual **AI Conference** bringing together experts from around the world.\n Register now to secure your spot and learn about the latest advancements in AI.",
1175
+ "ariaLabel": "Search Result: AI Conference 2023",
1176
+ "showLink": true
1177
+ },
1178
+ {
1179
+ "url": "https://www.example.com/web-development-summit-2023",
1180
+ "title": "Web Development Summit 2023",
1181
+ "text": "Explore the future of web development at the **Web Development Summit**.\n Discover new technologies and network with industry leaders.",
1182
+ "ariaLabel": "Search Result: Web Development Summit 2023",
1183
+ "showLink": true
1184
+ },
1185
+ {
1186
+ "url": "https://www.example.com/data-science-bootcamp",
1187
+ "title": "Data Science Bootcamp",
1188
+ "text": "Enhance your skills with our **Data Science Bootcamp**.\n Learn from experts and work on real-world projects.",
1189
+ "ariaLabel": "Search Result: Data Science Bootcamp",
1190
+ "showLink": true
1191
+ },
1192
+ {
1193
+ "url": "https://www.example.com/ai-conference-2023",
1194
+ "title": "AI Conference 2023",
1195
+ "text": "Join us for the annual **AI Conference** bringing together experts from around the world.\n Register now to secure your spot and learn about the latest advancements in AI.",
1196
+ "ariaLabel": "Search Result: AI Conference 2023",
1197
+ "showLink": true
1198
+ },
1199
+ {
1200
+ "url": "https://www.example.com/web-development-summit-2023",
1201
+ "title": "Web Development Summit 2023",
1202
+ "text": "Explore the future of web development at the **Web Development Summit**.\n Discover new technologies and network with industry leaders.",
1203
+ "ariaLabel": "Search Result: Web Development Summit 2023",
1204
+ "showLink": true
1205
+ },
1206
+ {
1207
+ "url": "https://www.example.com/data-science-bootcamp",
1208
+ "title": "Data Science Bootcamp",
1209
+ "text": "Enhance your skills with our **Data Science Bootcamp**.\n Learn from experts and work on real-world projects.",
1210
+ "ariaLabel": "Search Result: Data Science Bootcamp",
1211
+ "showLink": true
1212
+ }
1213
+ ]
1214
+ },
1215
+ "screenshot": "img/screenshots/page-archetypes-search--search.png"
1216
+ },
1053
1217
  {
1054
1218
  "id": "components-contact--wide-image",
1055
1219
  "group": "Components/Contact",
@@ -3354,6 +3518,51 @@
3354
3518
  },
3355
3519
  "screenshot": "img/screenshots/industry-search-bar--default.png"
3356
3520
  },
3521
+ {
3522
+ "id": "industry-search-filter--default",
3523
+ "group": "Industry / Search Filter",
3524
+ "name": "Default",
3525
+ "code": "<SearchFilter\n categories={[\n {\n amount: '10',\n title: 'Pages',\n url: '#'\n },\n {\n amount: '5',\n title: 'News',\n url: '#'\n },\n {\n amount: '8',\n title: 'Blog Posts',\n url: '#'\n }\n ]}\n title=\"Search by category\"\n/>",
3526
+ "args": {
3527
+ "title": "Search by category",
3528
+ "categories": [
3529
+ {
3530
+ "title": "Pages",
3531
+ "amount": "10",
3532
+ "url": "#"
3533
+ },
3534
+ {
3535
+ "title": "News",
3536
+ "amount": "5",
3537
+ "url": "#"
3538
+ },
3539
+ {
3540
+ "title": "Blog Posts",
3541
+ "amount": "8",
3542
+ "url": "#"
3543
+ }
3544
+ ]
3545
+ },
3546
+ "screenshot": "img/screenshots/industry-search-filter--default.png"
3547
+ },
3548
+ {
3549
+ "id": "industry-search-result--default",
3550
+ "group": "Industry / Search Result",
3551
+ "name": "Default",
3552
+ "code": "<SearchResult\n ariaLabel=\"Search Result: AI Conference 2023\"\n link={{\n label: 'Read more',\n url: 'https://www.example.com/ai-conference-2023'\n }}\n showLink\n text=\"Join us for the annual **AI Conference** brings together experts from around the world\n[...] register now for the **AI Conference** to secure your spot\n[...] highlights from last year’s **AI Conference** included keynote speeches on machine learning\n[...] find out more about the **AI Conference** agenda and speakers\"\n title=\"AI Conference 2023\"\n url=\"https://www.example.com/ai-conference-2023\"\n/>",
3553
+ "args": {
3554
+ "url": "https://www.example.com/ai-conference-2023",
3555
+ "title": "AI Conference 2023",
3556
+ "text": "Join us for the annual **AI Conference** brings together experts from around the world\n[...] register now for the **AI Conference** to secure your spot\n[...] highlights from last year’s **AI Conference** included keynote speeches on machine learning\n[...] find out more about the **AI Conference** agenda and speakers",
3557
+ "showLink": true,
3558
+ "ariaLabel": "Search Result: AI Conference 2023",
3559
+ "link": {
3560
+ "url": "https://www.example.com/ai-conference-2023",
3561
+ "label": "Read more"
3562
+ }
3563
+ },
3564
+ "screenshot": "img/screenshots/industry-search-result--default.png"
3565
+ },
3357
3566
  {
3358
3567
  "id": "layout-section--dynamic-layout",
3359
3568
  "group": "Layout/Section",
@@ -0,0 +1,19 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ /* eslint-disable */
3
+ /**
4
+ * This file was automatically generated by json-schema-to-typescript.
5
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
6
+ * and run json-schema-to-typescript to regenerate this file.
7
+ */
8
+ import { SearchFilterProps } from "../../SearchFilterProps-2fa6419b.js";
9
+ import { SearchResultProps } from "../../SearchResultProps-224c2338.js";
10
+ interface SearchProps {
11
+ /**
12
+ * Referenced component SearchFilterProps
13
+ */
14
+ searchFilter?: SearchFilterProps;
15
+ searchResults?: SearchResultProps[];
16
+ }
17
+ declare const Search: FC<PropsWithChildren<SearchProps>>;
18
+ export type { SearchProps };
19
+ export { Search };
@@ -0,0 +1,39 @@
1
+ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
+ import { Section } from '../section/index.js';
3
+ import { SplitWeighted } from '../split-weighted/index.js';
4
+ import { SearchFilter } from '../search-filter/index.js';
5
+ import { SearchResult } from '../search-result/index.js';
6
+ import { RichText } from '@kickstartds/base/lib/rich-text';
7
+ import { Pagination } from '../pagination/index.js';
8
+ import 'react';
9
+ import 'classnames';
10
+ import '@kickstartds/core/lib/react';
11
+ import '@kickstartds/base/lib/section';
12
+ import '../section/js/Section.client.js';
13
+ import '@kickstartds/core/lib/component';
14
+ import 'markdown-to-jsx';
15
+ import '@kickstartds/base/lib/link';
16
+ import '@kickstartds/base/lib/icon';
17
+
18
+ const Search = ({ searchFilter, searchResults, }) => (jsx(Fragment, { children: jsx(Section, { width: "wide", children: jsx(SplitWeighted, { verticalAlign: "sticky", mainLayout: {
19
+ minWidth: "narrow",
20
+ }, asideLayout: {
21
+ gutter: "small",
22
+ }, order: {
23
+ desktop: "asideFirst",
24
+ mobile: "asideFirst",
25
+ }, aside: jsxs(Fragment, { children: [jsx(SearchFilter, { ...searchFilter }), jsx(RichText, { text: `Showing 6 out of 18 results` })] }), main: jsxs(Fragment, { children: [searchResults.map((searchResult, index) => (jsx(SearchResult, { ...searchResult }, index))), jsx(Pagination, { pages: [
26
+ {
27
+ url: "https://example.com/page1",
28
+ active: true,
29
+ },
30
+ {
31
+ url: "https://example.com/page2",
32
+ },
33
+ {
34
+ url: "https://example.com/page3",
35
+ },
36
+ ] })] }) }) }) }));
37
+ Search.displayName = "Search";
38
+
39
+ export { Search };
@@ -0,0 +1,134 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/cms/search.schema.json",
4
+ "title": "Search",
5
+ "type": "object",
6
+ "properties": {
7
+ "searchFilter": {
8
+ "$schema": "http://json-schema.org/draft-07/schema#",
9
+ "$id": "http://schema.mydesignsystem.com/search-filter.schema.json",
10
+ "title": "Search Filter",
11
+ "type": "object",
12
+ "properties": {
13
+ "title": {
14
+ "type": "string",
15
+ "description": "The title of the search filter.",
16
+ "examples": [
17
+ "Search by category"
18
+ ]
19
+ },
20
+ "categories": {
21
+ "type": "array",
22
+ "description": "The categories to filter by.",
23
+ "examples": [
24
+ [
25
+ {
26
+ "title": "Pages",
27
+ "amount": "10"
28
+ },
29
+ {
30
+ "title": "News",
31
+ "amount": "5"
32
+ },
33
+ {
34
+ "title": "Blog Posts",
35
+ "amount": "8"
36
+ }
37
+ ]
38
+ ],
39
+ "items": {
40
+ "type": "object",
41
+ "properties": {
42
+ "title": {
43
+ "type": "string",
44
+ "description": "The name of the category.",
45
+ "examples": [
46
+ "Pages",
47
+ "News"
48
+ ]
49
+ },
50
+ "amount": {
51
+ "type": "string",
52
+ "description": "The number of items in the category.",
53
+ "examples": [
54
+ "10",
55
+ "5"
56
+ ]
57
+ },
58
+ "url": {
59
+ "type": "string",
60
+ "format": "uri",
61
+ "description": "The URL to filter by this category.",
62
+ "examples": [
63
+ "#"
64
+ ]
65
+ }
66
+ },
67
+ "additionalProperties": false
68
+ }
69
+ },
70
+ "type": {
71
+ "const": "search-filter"
72
+ }
73
+ },
74
+ "additionalProperties": false
75
+ },
76
+ "searchResults": {
77
+ "type": "array",
78
+ "items": {
79
+ "$schema": "http://json-schema.org/draft-07/schema#",
80
+ "$id": "http://schema.mydesignsystem.com/search-result.schema.json",
81
+ "title": "Search Result",
82
+ "type": "object",
83
+ "properties": {
84
+ "url": {
85
+ "title": "URL",
86
+ "type": "string",
87
+ "description": "A URL linking to the search result or more information.",
88
+ "examples": [
89
+ "https://www.example.com/ai-conference-2023"
90
+ ]
91
+ },
92
+ "title": {
93
+ "title": "Title",
94
+ "type": "string",
95
+ "description": "The title of the search result.",
96
+ "examples": [
97
+ "AI Conference 2023"
98
+ ]
99
+ },
100
+ "text": {
101
+ "title": "Text",
102
+ "type": "string",
103
+ "description": "The main content or description of the search result.",
104
+ "examples": [
105
+ "Join us for the AI Conference 2023, where industry leaders discuss the future of AI."
106
+ ]
107
+ },
108
+ "showLink": {
109
+ "title": "Show Link",
110
+ "type": "boolean",
111
+ "description": "Whether to display the link to the search result.",
112
+ "default": true
113
+ },
114
+ "ariaLabel": {
115
+ "title": "ARIA Label",
116
+ "type": "string",
117
+ "description": "An ARIA label for accessibility purposes.",
118
+ "examples": [
119
+ "Search result: Conference 2023"
120
+ ]
121
+ },
122
+ "type": {
123
+ "const": "search-result"
124
+ }
125
+ },
126
+ "additionalProperties": false
127
+ }
128
+ },
129
+ "type": {
130
+ "const": "search"
131
+ }
132
+ },
133
+ "additionalProperties": false
134
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/cms/search.schema.json",
4
+ "title": "Search",
5
+ "type": "object",
6
+ "properties": {
7
+ "searchFilter": {
8
+ "$ref": "http://schema.mydesignsystem.com/search-filter.schema.json"
9
+ },
10
+ "searchResults": {
11
+ "type": "array",
12
+ "items": {
13
+ "$ref": "http://schema.mydesignsystem.com/search-result.schema.json"
14
+ }
15
+ }
16
+ },
17
+ "additionalProperties": false
18
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SearchFilterProps } from "../../SearchFilterProps-2fa6419b.js";
3
+ declare const SearchFilterContextDefault: import("react").ForwardRefExoticComponent<SearchFilterProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const SearchFilterContext: import("react").Context<import("react").ForwardRefExoticComponent<SearchFilterProps & import("react").RefAttributes<HTMLDivElement>>>;
5
+ declare const SearchFilter: import("react").ForwardRefExoticComponent<SearchFilterProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ export type { SearchFilterProps };
7
+ export { SearchFilterContextDefault, SearchFilterContext, SearchFilter };
@@ -0,0 +1,15 @@
1
+ import "./search-filter.css";
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { forwardRef, createContext, useContext } from 'react';
4
+ import Markdown from 'markdown-to-jsx';
5
+ import { Link } from '@kickstartds/base/lib/link';
6
+
7
+ const SearchFilterContextDefault = forwardRef(({ title, categories }, ref) => (jsxs("div", { className: "dsa-search-filter", ref: ref, children: [title && jsx(Markdown, { className: "dsa-search-filter__title", children: title }), jsx("div", { className: "dsa-search-filter__categories", children: categories.map((category, index) => (jsxs("div", { className: "dsa-search-filter__category", children: [jsx(Link, { href: category.url, className: "dsa-search-filter__category-title", children: category.title }), jsx("span", { className: "dsa-search-filter__category-amount", children: " (" + category.amount + ")" })] }, index))) })] })));
8
+ const SearchFilterContext = createContext(SearchFilterContextDefault);
9
+ const SearchFilter = forwardRef((props, ref) => {
10
+ const Component = useContext(SearchFilterContext);
11
+ return jsx(Component, { ...props, ref: ref });
12
+ });
13
+ SearchFilter.displayName = "SearchFilter";
14
+
15
+ export { SearchFilter, SearchFilterContext, SearchFilterContextDefault };
@@ -0,0 +1,20 @@
1
+ .dsa-search-filter {
2
+ background-color: var(--ks-background-color-accent);
3
+ border-radius: var(--ks-border-radius-card);
4
+ padding: var(--ks-spacing-inset-m);
5
+ }
6
+ .dsa-search-filter__title {
7
+ font: var(--dsa-topic--font);
8
+ color: var(--dsa-topic--color);
9
+ font-weight: var(--dsa-topic--font-weight);
10
+ }
11
+ .dsa-search-filter__categories {
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: var(--ks-spacing-xxs);
15
+ margin-top: var(--ks-spacing-stack-s);
16
+ }
17
+ .dsa-search-filter__category {
18
+ font: var(--ks-font-interface-m);
19
+ color: var(--ks-text-color-interface);
20
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/search-filter.schema.json",
4
+ "title": "Search Filter",
5
+ "type": "object",
6
+ "properties": {
7
+ "title": {
8
+ "type": "string",
9
+ "description": "The title of the search filter.",
10
+ "examples": [
11
+ "Search by category"
12
+ ]
13
+ },
14
+ "categories": {
15
+ "type": "array",
16
+ "description": "The categories to filter by.",
17
+ "examples": [
18
+ [
19
+ {
20
+ "title": "Pages",
21
+ "amount": "10"
22
+ },
23
+ {
24
+ "title": "News",
25
+ "amount": "5"
26
+ },
27
+ {
28
+ "title": "Blog Posts",
29
+ "amount": "8"
30
+ }
31
+ ]
32
+ ],
33
+ "items": {
34
+ "type": "object",
35
+ "properties": {
36
+ "title": {
37
+ "type": "string",
38
+ "description": "The name of the category.",
39
+ "examples": [
40
+ "Pages",
41
+ "News"
42
+ ]
43
+ },
44
+ "amount": {
45
+ "type": "string",
46
+ "description": "The number of items in the category.",
47
+ "examples": [
48
+ "10",
49
+ "5"
50
+ ]
51
+ },
52
+ "url": {
53
+ "type": "string",
54
+ "format": "uri",
55
+ "description": "The URL to filter by this category.",
56
+ "examples": [
57
+ "#"
58
+ ]
59
+ }
60
+ },
61
+ "additionalProperties": false
62
+ }
63
+ },
64
+ "type": {
65
+ "const": "search-filter"
66
+ }
67
+ },
68
+ "additionalProperties": false
69
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/search-filter.schema.json",
4
+ "title": "Search Filter",
5
+ "type": "object",
6
+ "properties": {
7
+ "title": {
8
+ "type": "string",
9
+ "description": "The title of the search filter.",
10
+ "examples": ["Search by category"]
11
+ },
12
+ "categories": {
13
+ "type": "array",
14
+ "description": "The categories to filter by.",
15
+ "examples": [
16
+ [
17
+ { "title": "Pages", "amount": "10" },
18
+ { "title": "News", "amount": "5" },
19
+ { "title": "Blog Posts", "amount": "8" }
20
+ ]
21
+ ],
22
+ "items": {
23
+ "type": "object",
24
+ "properties": {
25
+ "title": {
26
+ "type": "string",
27
+ "description": "The name of the category.",
28
+ "examples": ["Pages", "News"]
29
+ },
30
+ "amount": {
31
+ "type": "string",
32
+ "description": "The number of items in the category.",
33
+ "examples": ["10", "5"]
34
+ },
35
+ "url": {
36
+ "type": "string",
37
+ "format": "uri",
38
+ "description": "The URL to filter by this category.",
39
+ "examples": ["#"]
40
+ }
41
+ }
42
+ }
43
+ }
44
+ },
45
+ "additionalProperties": false
46
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SearchResultProps } from "../../SearchResultProps-224c2338.js";
3
+ declare const SearchResultContextDefault: import("react").ForwardRefExoticComponent<SearchResultProps & import("react").RefAttributes<HTMLAnchorElement>>;
4
+ declare const SearchResultContext: import("react").Context<import("react").ForwardRefExoticComponent<SearchResultProps & import("react").RefAttributes<HTMLAnchorElement>>>;
5
+ declare const SearchResult: import("react").ForwardRefExoticComponent<SearchResultProps & import("react").RefAttributes<HTMLAnchorElement>>;
6
+ export type { SearchResultProps };
7
+ export { SearchResultContextDefault, SearchResultContext, SearchResult };
@@ -0,0 +1,15 @@
1
+ import "./search-result.css";
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import { forwardRef, createContext, useContext } from 'react';
4
+ import { Link } from '@kickstartds/base/lib/link';
5
+ import { RichText } from '@kickstartds/base/lib/rich-text';
6
+
7
+ const SearchResultContextDefault = forwardRef(({ title, text, url, showLink, ariaLabel }, ref) => (jsxs(Link, { "aria-label": ariaLabel, href: url, className: "dsa-search-result", ref: ref, children: [jsx("span", { className: "dsa-search-result__title", children: title }), jsx(RichText, { text: text, className: "dsa-search-result__text" }), showLink && jsx("span", { className: "dsa-search-result__link", children: url })] })));
8
+ const SearchResultContext = createContext(SearchResultContextDefault);
9
+ const SearchResult = forwardRef((props, ref) => {
10
+ const Component = useContext(SearchResultContext);
11
+ return jsx(Component, { ...props, ref: ref });
12
+ });
13
+ SearchResult.displayName = "SearchResult";
14
+
15
+ export { SearchResult, SearchResultContext, SearchResultContextDefault };
@@ -0,0 +1,26 @@
1
+ .dsa-search-result {
2
+ --g-link--border-radius: var(--ks-border-radius-card);
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: var(--ks-spacing-stack-xs);
6
+ border: var(--ks-border-width-default) solid var(--ks-border-color-card-interactive);
7
+ padding: var(--ks-spacing-inset-m);
8
+ transition: var(--ks-transition-hover);
9
+ }
10
+ .dsa-search-result:hover {
11
+ border-color: var(--ks-border-color-card-interactive-hover);
12
+ }
13
+ .dsa-search-result__title {
14
+ font: var(--dsa-topic--font);
15
+ color: var(--dsa-topic--color);
16
+ font-weight: var(--dsa-topic--font-weight);
17
+ }
18
+ .dsa-search-result__link {
19
+ width: fit-content;
20
+ font: var(--ks-font-interface-s);
21
+ color: var(--dsa-link--color);
22
+ transition: inherit;
23
+ }
24
+ .dsa-search-result__link:hover {
25
+ color: var(--dsa-link--color_hover);
26
+ }
@@ -0,0 +1,50 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/search-result.schema.json",
4
+ "title": "Search Result",
5
+ "type": "object",
6
+ "properties": {
7
+ "url": {
8
+ "title": "URL",
9
+ "type": "string",
10
+ "description": "A URL linking to the search result or more information.",
11
+ "examples": [
12
+ "https://www.example.com/ai-conference-2023"
13
+ ]
14
+ },
15
+ "title": {
16
+ "title": "Title",
17
+ "type": "string",
18
+ "description": "The title of the search result.",
19
+ "examples": [
20
+ "AI Conference 2023"
21
+ ]
22
+ },
23
+ "text": {
24
+ "title": "Text",
25
+ "type": "string",
26
+ "description": "The main content or description of the search result.",
27
+ "examples": [
28
+ "Join us for the AI Conference 2023, where industry leaders discuss the future of AI."
29
+ ]
30
+ },
31
+ "showLink": {
32
+ "title": "Show Link",
33
+ "type": "boolean",
34
+ "description": "Whether to display the link to the search result.",
35
+ "default": true
36
+ },
37
+ "ariaLabel": {
38
+ "title": "ARIA Label",
39
+ "type": "string",
40
+ "description": "An ARIA label for accessibility purposes.",
41
+ "examples": [
42
+ "Search result: Conference 2023"
43
+ ]
44
+ },
45
+ "type": {
46
+ "const": "search-result"
47
+ }
48
+ },
49
+ "additionalProperties": false
50
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/search-result.schema.json",
4
+ "title": "Search Result",
5
+ "type": "object",
6
+ "properties": {
7
+ "url": {
8
+ "title": "URL",
9
+ "type": "string",
10
+ "description": "A URL linking to the search result or more information.",
11
+ "examples": ["https://www.example.com/ai-conference-2023"]
12
+ },
13
+ "title": {
14
+ "title": "Title",
15
+ "type": "string",
16
+ "description": "The title of the search result.",
17
+ "examples": ["AI Conference 2023"]
18
+ },
19
+ "text": {
20
+ "title": "Text",
21
+ "type": "string",
22
+ "description": "The main content or description of the search result.",
23
+ "examples": [
24
+ "Join us for the AI Conference 2023, where industry leaders discuss the future of AI."
25
+ ]
26
+ },
27
+ "showLink": {
28
+ "title": "Show Link",
29
+ "type": "boolean",
30
+ "description": "Whether to display the link to the search result.",
31
+ "default": true
32
+ },
33
+ "ariaLabel": {
34
+ "title": "ARIA Label",
35
+ "type": "string",
36
+ "description": "An ARIA label for accessibility purposes.",
37
+ "examples": ["Search result: Conference 2023"]
38
+ }
39
+ },
40
+ "additionalProperties": false
41
+ }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 08 Jul 2025 13:26:09 GMT
3
+ * Generated on Tue, 08 Jul 2025 14:19:29 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 Tue, 08 Jul 2025 13:26:13 GMT
2730
+ * Generated on Tue, 08 Jul 2025 14:19:33 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 Tue, 08 Jul 2025 13:26:11 GMT
5461
+ * Generated on Tue, 08 Jul 2025 14:19:31 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 Tue, 08 Jul 2025 13:26:16 GMT
8462
+ * Generated on Tue, 08 Jul 2025 14:19:36 GMT
8463
8463
  */
8464
8464
  :root [ks-theme=telekom] {
8465
8465
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 08 Jul 2025 13:26:06 GMT
3
+ * Generated on Tue, 08 Jul 2025 14:19:26 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 08 Jul 2025 13:26:07 GMT
3
+ * Generated on Tue, 08 Jul 2025 14:19:27 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#f3f3f4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.6.71--canary.45.1824.0",
3
+ "version": "1.6.71--canary.45.1833.0",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {