@scrippsproduct/networks-ui-library 1.0.23 → 1.1.0-alpha.1
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/{Form.module-DbpB9u1l.mjs → Form.module-Cd8qH2rj.mjs} +1 -1
- package/dist/{ResultsTable.module-nTlGw9Lh.mjs → ResultsTable.module-B7M9y7hd.mjs} +1 -5
- package/dist/_commonjsHelpers-C6fGbg64.mjs +6 -0
- package/dist/{add-FrnMPwwO.mjs → add-UWUc_nrO.mjs} +2 -2
- package/dist/{addMonths-BDf46gmB.mjs → addMonths-FatsTLmU.mjs} +1 -1
- package/dist/assets/ActionButton.css +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/CarouselSlide.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DatePicker.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/EqualSizeFlexRow.css +1 -1
- package/dist/assets/EqualSizeGrid.css +1 -1
- package/dist/assets/FeaturedList.css +1 -1
- package/dist/assets/Figure.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/Form.css +1 -1
- package/dist/assets/GridList.css +1 -1
- package/dist/assets/IONShowHero.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/{chevron-left-DmvQntvu.mjs → chevron-left-DRvpaLmK.mjs} +1 -1
- package/dist/{chevron-right-CaAz6ISN.mjs → chevron-right-C8yCnmfx.mjs} +1 -1
- package/dist/components/ActionButton/ActionButton.d.ts +20 -1
- package/dist/components/ActionButton/ActionButton.js +36 -36
- package/dist/components/ActionButton/index.d.ts +2 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
- package/dist/components/BasicGridModule/BasicGridModule.js +25 -25
- package/dist/components/Carousel/Carousel.d.ts +7 -24
- package/dist/components/Carousel/Carousel.js +109 -109
- package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
- package/dist/components/Carousel/CarouselUtils.class.js +85 -55
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
- package/dist/components/CarouselSlide/CarouselSlide.js +90 -26
- package/dist/components/CarouselSlide/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +9 -10
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +1 -1
- package/dist/components/ChannelSearch/ChannelSearch.js +12 -12
- package/dist/components/Concat/Concat.js +1 -1
- package/dist/components/CtaBlock/CtaBlock.js +2 -2
- package/dist/components/CustomDataList/CustomDataList.js +44 -47
- package/dist/components/CustomSelect/CustomSelect.js +5 -5
- package/dist/components/DateNavigation/DateNavigation.js +7 -8
- package/dist/components/DatePicker/DatePicker.js +2527 -2452
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +1 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +27 -29
- package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
- package/dist/components/FeaturedList/FeaturedList.js +7 -7
- package/dist/components/Figure/Figure.js +1 -1
- package/dist/components/FindUs/FindUs.js +6 -6
- package/dist/components/GenericList/GenericList.js +1 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +6 -6
- package/dist/components/ImageCard/ImageCard.js +6 -6
- package/dist/components/ImageCard/ImageCardCore.js +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +15 -16
- package/dist/components/InlineNavigation/InlineNavigation.js +6 -7
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/InstructionsList/InstructionsList.js +1 -1
- package/dist/components/Loading/Loading.js +5 -8
- package/dist/components/ModalContainer/ModalContainer.js +41 -44
- package/dist/components/Overlay/Overlay.js +17 -20
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
- package/dist/components/ProgramAirdate/ProgramAirdate.js +9 -9
- package/dist/components/PromotionBlock/PromotionBlock.js +15 -17
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +8 -8
- package/dist/components/ResultsTable/ResultsTable.js +7 -7
- package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
- package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
- package/dist/components/ScheduleList/ScheduleList.js +17 -17
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +10 -10
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +8 -8
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +8 -8
- package/dist/components/SectionedContent/SectionedContent.js +13 -16
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +24 -25
- package/dist/components/SocialLinks/SocialLinks.js +3 -3
- package/dist/components/SocialShareBlock/SocialShareBlock.js +8 -8
- package/dist/components/StringList/StringList.js +1 -1
- package/dist/components/TabContent/TabContent.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/UpcomingList/UpcomingList.js +8 -8
- package/dist/containers/NowPlayingContainer.js +10 -10
- package/dist/{facebook-osmzgL7R.mjs → facebook-HCcA1M1m.mjs} +1 -1
- package/dist/{format-plq8pBNY.mjs → format-YhWt2D8M.mjs} +78 -12
- package/dist/hooks/useGetSchedule.js +3 -3
- package/dist/hooks/useGetUpcoming.js +2 -2
- package/dist/{index-C8O1hjfH.mjs → index-0wieGV50.mjs} +0 -1
- package/dist/{index-DC7FmJPK.mjs → index-C-kn9Zhn.mjs} +7134 -7069
- package/dist/{index-CZzwT3Oj.mjs → index-DC2JJV3a.mjs} +246 -241
- package/dist/index-VjANCDXC.mjs +1873 -0
- package/dist/settings.d.ts +4 -3
- package/dist/{sub-CkNH5u-l.mjs → sub-CoUmnfhv.mjs} +2 -2
- package/dist/{subMonths-nbU1oDhB.mjs → subMonths-BtMU5A9u.mjs} +1 -1
- package/dist/{triangle-D0AHL9lB.mjs → triangle-PcCcGXjr.mjs} +1 -1
- package/dist/types.d.js +27 -0
- package/dist/utils/analytics.js +434 -423
- package/dist/utils/date-helpers.js +4 -4
- package/dist/utils/getFeaturedList.js +3 -3
- package/dist/utils/getOnNowProgram.js +3 -3
- package/dist/utils/getUpcomingPrograms.js +2 -2
- package/dist/{x-D8_C2o-U.mjs → x-C-QzJ-qD.mjs} +1 -1
- package/package.json +27 -24
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +0 -8
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
- package/dist/index-B0ARwqly.mjs +0 -1818
- /package/dist/{networks-ui.d.ts → secl-ui.d.ts} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as u } from "../add-
|
|
2
|
-
import { f as i } from "../format-
|
|
3
|
-
import { s as w } from "../sub-
|
|
1
|
+
import { a as u } from "../add-UWUc_nrO.mjs";
|
|
2
|
+
import { f as i } from "../format-YhWt2D8M.mjs";
|
|
3
|
+
import { s as w } from "../sub-CoUmnfhv.mjs";
|
|
4
4
|
import { convert12to24 as h } from "./helpers.js";
|
|
5
|
-
import { g } from "../index-
|
|
5
|
+
import { g } from "../index-0wieGV50.mjs";
|
|
6
6
|
const S = () => {
|
|
7
7
|
const n = /* @__PURE__ */ new Date();
|
|
8
8
|
let e = n.toLocaleString("en-US", { timeZone: "America/New_York" }), [r, t] = e.split(",");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as M } from "../add-
|
|
2
|
-
import { f as _ } from "../format-
|
|
1
|
+
import { a as M } from "../add-UWUc_nrO.mjs";
|
|
2
|
+
import { f as _ } from "../format-YhWt2D8M.mjs";
|
|
3
3
|
import { determineSeriesPrefix as w } from "./program-helpers.js";
|
|
4
|
-
import { g as k } from "../index-
|
|
4
|
+
import { g as k } from "../index-0wieGV50.mjs";
|
|
5
5
|
const D = /* @__PURE__ */ new Date(), T = /* @__PURE__ */ new Map([
|
|
6
6
|
["series", "Episode"],
|
|
7
7
|
["movies", "Film"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as U } from "../add-
|
|
2
|
-
import { f as Y } from "../format-
|
|
1
|
+
import { a as U } from "../add-UWUc_nrO.mjs";
|
|
2
|
+
import { f as Y } from "../format-YhWt2D8M.mjs";
|
|
3
3
|
import { getCurrentEasternProgrammingDateStr as V, determineIfShowIsOnNow as Z } from "./date-helpers.js";
|
|
4
4
|
import { convert12to24 as d } from "./helpers.js";
|
|
5
5
|
import { determineSeriesPrefix as B, determineSeasonNumberFromSeriesPrefix as D, determineEpisodeNumber as G } from "./series-helpers.js";
|
|
6
|
-
import { g as J } from "../index-
|
|
6
|
+
import { g as J } from "../index-0wieGV50.mjs";
|
|
7
7
|
const H = /* @__PURE__ */ new Date(`${V()}T00:00:00`), Q = (o) => {
|
|
8
8
|
const n = o.substring(0, o.lastIndexOf("S") - 1);
|
|
9
9
|
return n === "" ? o : n;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as f } from "../add-
|
|
2
|
-
import { f as c } from "../format-
|
|
1
|
+
import { a as f } from "../add-UWUc_nrO.mjs";
|
|
2
|
+
import { f as c } from "../format-YhWt2D8M.mjs";
|
|
3
3
|
const l = async (t, o = "series", r, i, s) => {
|
|
4
4
|
const a = /* @__PURE__ */ new Map([
|
|
5
5
|
["series", `series_prefix__icontains=${t}`],
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.1.0-alpha.1",
|
|
3
3
|
"name": "@scrippsproduct/networks-ui-library",
|
|
4
4
|
"description": "React Component Library for use in Scripps Networks external applications",
|
|
5
5
|
"author": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"private": false,
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": ">=20.0.0",
|
|
12
|
-
"npm": ">=10.0.0"
|
|
12
|
+
"npm": ">=10.0.0"
|
|
13
13
|
},
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"files": [
|
|
@@ -18,12 +18,15 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"dev": "vite",
|
|
20
20
|
"build": "tsc -b && cross-env NODE_ENV=production vite build && rm -rf ./dist/components/**/*.stories.d.ts ./dist/components/**/*.stories.js ./dist/components/**/*.mdx ./dist/components/**/*.stories.mdx ./dist/components/**/*.md",
|
|
21
|
+
"test": "npx vitest run",
|
|
22
|
+
"test:watch": "npx vitest --watch --ui",
|
|
21
23
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
22
24
|
"preview": "vite preview",
|
|
23
25
|
"storybook": "storybook dev -p 6006 --no-open",
|
|
24
26
|
"build-storybook": "storybook build",
|
|
25
27
|
"chromatic": "npx chromatic --project-token=f011f556f41a",
|
|
26
|
-
"create-component": "node scripts/componentFolderBuilder.js"
|
|
28
|
+
"create-component": "node scripts/componentFolderBuilder.js",
|
|
29
|
+
"reinstall-deps": "node ./reinstall-deps.js"
|
|
27
30
|
},
|
|
28
31
|
"dependencies": {
|
|
29
32
|
"date-fns": "^3.6.0",
|
|
@@ -42,33 +45,33 @@
|
|
|
42
45
|
"@babel/cli": "^7.24.7",
|
|
43
46
|
"@babel/preset-env": "^7.24.7",
|
|
44
47
|
"@babel/preset-react": "^7.24.7",
|
|
45
|
-
"@chromatic-com/storybook": "^1.
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@storybook/addon-
|
|
49
|
-
"@storybook/addon-
|
|
50
|
-
"@storybook/
|
|
51
|
-
"@storybook/react": "^8.1.11",
|
|
52
|
-
"@storybook/react-vite": "^8.1.11",
|
|
53
|
-
"@storybook/test": "^8.1.11",
|
|
48
|
+
"@chromatic-com/storybook": "^4.1.1",
|
|
49
|
+
"@scrippsproduct/console-logger": "1.0.11",
|
|
50
|
+
"@scrippsproduct/linter-configs": "0.0.7",
|
|
51
|
+
"@storybook/addon-docs": "^9.1.13",
|
|
52
|
+
"@storybook/addon-links": "^9.1.13",
|
|
53
|
+
"@storybook/react-vite": "^9.1.13",
|
|
54
54
|
"@types/glob": "^8.1.0",
|
|
55
55
|
"@types/react": "^18.3.3",
|
|
56
56
|
"@types/react-dom": "^18.3.0",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
58
|
-
"@typescript-eslint/parser": "^
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.46.3",
|
|
58
|
+
"@typescript-eslint/parser": "^8.46.3",
|
|
59
59
|
"@vitejs/plugin-react": "^4.3.1",
|
|
60
60
|
"babel-preset-react-app": "^10.0.1",
|
|
61
61
|
"cross-env": "^7.0.3",
|
|
62
|
-
"eslint": "^
|
|
63
|
-
"eslint-plugin-react-hooks": "^
|
|
64
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
65
|
-
"eslint-plugin-storybook": "^
|
|
66
|
-
"storybook": "^
|
|
67
|
-
"typescript": "^5.
|
|
68
|
-
"vite": "^
|
|
69
|
-
"vite-plugin-dts": "^4.
|
|
70
|
-
"vite-plugin-lib-inject-css": "^2.
|
|
71
|
-
"vite-tsconfig-paths": "^
|
|
62
|
+
"eslint": "^9.32.0",
|
|
63
|
+
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
|
|
64
|
+
"eslint-plugin-react-refresh": "^0.4.9",
|
|
65
|
+
"eslint-plugin-storybook": "^9.1.13",
|
|
66
|
+
"storybook": "^9.1.13",
|
|
67
|
+
"typescript": "^5.8.2",
|
|
68
|
+
"vite": "^6.4.1",
|
|
69
|
+
"vite-plugin-dts": "^4.5.4",
|
|
70
|
+
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
71
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
72
|
+
"@vitest/ui": "3.2.4",
|
|
73
|
+
"jsdom": "^26.1.0",
|
|
74
|
+
"vitest": "^3.0.5"
|
|
72
75
|
},
|
|
73
76
|
"eslintConfig": {
|
|
74
77
|
"extends": [
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2
|
-
function l(e) {
|
|
3
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
-
}
|
|
5
|
-
export {
|
|
6
|
-
o as c,
|
|
7
|
-
l as g
|
|
8
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { default as Figure } from './Figure';
|
|
2
|
-
declare namespace _default {
|
|
3
|
-
export let title: string;
|
|
4
|
-
export { Figure as component };
|
|
5
|
-
export let tags: string[];
|
|
6
|
-
export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
|
-
}
|
|
8
|
-
export default _default;
|
|
9
|
-
export function Default(args: any): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export namespace Default {
|
|
11
|
-
namespace args {
|
|
12
|
-
let images: {
|
|
13
|
-
url: string;
|
|
14
|
-
altText: string;
|
|
15
|
-
caption: string;
|
|
16
|
-
}[];
|
|
17
|
-
let imagesPerSlide: number;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
export function TwoUp(args: any): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export namespace TwoUp {
|
|
22
|
-
let args_1: any;
|
|
23
|
-
export { args_1 as args };
|
|
24
|
-
}
|
|
25
|
-
export function ThreeUp(args: any): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export namespace ThreeUp {
|
|
27
|
-
let args_2: any;
|
|
28
|
-
export { args_2 as args };
|
|
29
|
-
}
|
|
30
|
-
export function FourUp(args: any): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export namespace FourUp {
|
|
32
|
-
let args_3: any;
|
|
33
|
-
export { args_3 as args };
|
|
34
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { FigureSlide as o } from "./Figure.js";
|
|
4
|
-
const d = {
|
|
5
|
-
title: "Slide Layouts/Figure",
|
|
6
|
-
component: o,
|
|
7
|
-
tags: ["autodocs"],
|
|
8
|
-
decorators: [
|
|
9
|
-
(e) => /* @__PURE__ */ l(
|
|
10
|
-
"div",
|
|
11
|
-
{
|
|
12
|
-
style: {
|
|
13
|
-
width: "60%",
|
|
14
|
-
"--_cell-aspect-ratio": "4/2",
|
|
15
|
-
"--_slide-gap": "1rem",
|
|
16
|
-
border: "1px solid #000"
|
|
17
|
-
},
|
|
18
|
-
children: /* @__PURE__ */ l(e, {})
|
|
19
|
-
}
|
|
20
|
-
)
|
|
21
|
-
]
|
|
22
|
-
}, t = (e) => /* @__PURE__ */ l(o, { ...e }), a = t.bind({});
|
|
23
|
-
a.args = {
|
|
24
|
-
images: [
|
|
25
|
-
{
|
|
26
|
-
url: "https://placehold.co/500x300",
|
|
27
|
-
altText: "A random image from Unsplash (https://unsplash.com)",
|
|
28
|
-
caption: "Image 1"
|
|
29
|
-
}
|
|
30
|
-
],
|
|
31
|
-
imagesPerSlide: 1
|
|
32
|
-
};
|
|
33
|
-
const s = t.bind({});
|
|
34
|
-
s.args = {
|
|
35
|
-
...a.args,
|
|
36
|
-
images: [
|
|
37
|
-
{
|
|
38
|
-
url: "https://placehold.co/500x300",
|
|
39
|
-
altText: "",
|
|
40
|
-
caption: "Image 1"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
url: "https://placehold.co/500x300",
|
|
44
|
-
altText: "",
|
|
45
|
-
caption: "Image 2"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
imagesPerSlide: 2
|
|
49
|
-
};
|
|
50
|
-
const p = t.bind({});
|
|
51
|
-
p.args = {
|
|
52
|
-
...a.args,
|
|
53
|
-
images: [
|
|
54
|
-
{
|
|
55
|
-
url: "https://placehold.co/500x300",
|
|
56
|
-
altText: "",
|
|
57
|
-
caption: "Image 1"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
url: "https://placehold.co/500x300",
|
|
61
|
-
altText: "",
|
|
62
|
-
caption: "Image 2"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
url: "https://placehold.co/500x300",
|
|
66
|
-
altText: "",
|
|
67
|
-
caption: "Image 3"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
imagesPerSlide: 3
|
|
71
|
-
};
|
|
72
|
-
const c = t.bind({});
|
|
73
|
-
c.args = {
|
|
74
|
-
...a.args,
|
|
75
|
-
images: [
|
|
76
|
-
{
|
|
77
|
-
url: "https://placehold.co/500x300",
|
|
78
|
-
altText: "",
|
|
79
|
-
caption: "Image 1"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
url: "https://placehold.co/500x300",
|
|
83
|
-
altText: "Blue ocean with a large wave",
|
|
84
|
-
caption: "Image 2"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
url: "https://placehold.co/500x300",
|
|
88
|
-
altText: "",
|
|
89
|
-
caption: "Image 3"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
url: "https://placehold.co/500x300",
|
|
93
|
-
altText: "",
|
|
94
|
-
caption: "Image 4"
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
imagesPerSlide: 4
|
|
98
|
-
};
|
|
99
|
-
export {
|
|
100
|
-
a as Default,
|
|
101
|
-
c as FourUp,
|
|
102
|
-
p as ThreeUp,
|
|
103
|
-
s as TwoUp,
|
|
104
|
-
d as default
|
|
105
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as TextSlide } from './TextSlide';
|
|
2
|
-
declare namespace _default {
|
|
3
|
-
export let title: string;
|
|
4
|
-
export { TextSlide as component };
|
|
5
|
-
export let tags: string[];
|
|
6
|
-
export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
7
|
-
}
|
|
8
|
-
export default _default;
|
|
9
|
-
export function Default(args: any): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export namespace Default {
|
|
11
|
-
namespace args {
|
|
12
|
-
let text: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export function Inverse(args: any): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export namespace Inverse {
|
|
17
|
-
let args_1: any;
|
|
18
|
-
export { args_1 as args };
|
|
19
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { TextSlide as o } from "./TextSlide.js";
|
|
4
|
-
const n = {
|
|
5
|
-
title: "Slide Layouts/Text Slide",
|
|
6
|
-
component: o,
|
|
7
|
-
tags: ["autodocs"],
|
|
8
|
-
decorators: [
|
|
9
|
-
(t) => /* @__PURE__ */ e(
|
|
10
|
-
"div",
|
|
11
|
-
{
|
|
12
|
-
style: {
|
|
13
|
-
width: "60%",
|
|
14
|
-
aspectRatio: "4/2",
|
|
15
|
-
border: "1px solid #000"
|
|
16
|
-
},
|
|
17
|
-
children: /* @__PURE__ */ e(t, {})
|
|
18
|
-
}
|
|
19
|
-
)
|
|
20
|
-
]
|
|
21
|
-
}, s = (t) => /* @__PURE__ */ e(o, { ...t }), i = s.bind({});
|
|
22
|
-
i.args = {
|
|
23
|
-
text: "This is a Text Slide"
|
|
24
|
-
};
|
|
25
|
-
const r = s.bind({});
|
|
26
|
-
r.args = {
|
|
27
|
-
...i.args,
|
|
28
|
-
backgroundColor: "#000",
|
|
29
|
-
textColor: "#fff"
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
i as Default,
|
|
33
|
-
r as Inverse,
|
|
34
|
-
n as default
|
|
35
|
-
};
|