@ldelia/react-media 0.2.8 → 0.4.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/.storybook/main.js +25 -2
- package/README.md +1 -4
- package/config/env.js +104 -0
- package/config/getHttpsConfig.js +66 -0
- package/config/jest/babelTransform.js +29 -0
- package/config/jest/cssTransform.js +14 -0
- package/config/jest/fileTransform.js +40 -0
- package/config/modules.js +134 -0
- package/config/paths.js +77 -0
- package/config/webpack/persistentCache/createEnvironmentHash.js +9 -0
- package/config/webpack.config.js +755 -0
- package/config/webpackDevServer.config.js +127 -0
- package/dist/stories/timeline.stories.d.ts +6 -6
- package/package.json +127 -18
- package/scripts/build.js +217 -0
- package/scripts/start.js +154 -0
- package/scripts/test.js +52 -0
- package/src/components/__tests__/timeline/timeline.test.js +22 -0
- package/src/components/index.js +1 -0
- package/src/components/reproduction-widget/README.md +27 -0
- package/src/components/reproduction-widget/ReproductionWidget.js +29 -0
- package/src/components/reproduction-widget/ReproductionWidget.tsx +68 -0
- package/src/components/reproduction-widget/index.js +1 -0
- package/src/components/reproduction-widget/index.tsx +1 -0
- package/src/components/reproduction-widget/inner-players/PlayAlongInnerPlayer.js +5 -0
- package/src/components/reproduction-widget/inner-players/PlayAlongInnerPlayer.tsx +10 -0
- package/src/components/reproduction-widget/inner-players/YouTubeInnerPlayer.js +21 -0
- package/src/components/reproduction-widget/inner-players/YouTubeInnerPlayer.tsx +36 -0
- package/src/components/reproduction-widget/models/Player/PlayAlongPlayer.js +97 -0
- package/src/components/reproduction-widget/models/Player/PlayAlongPlayer.ts +129 -0
- package/src/components/reproduction-widget/models/Player/PlayerEvents.js +4 -0
- package/src/components/reproduction-widget/models/Player/PlayerEvents.ts +4 -0
- package/src/components/reproduction-widget/models/Player/YouTubePlayer.js +126 -0
- package/src/components/reproduction-widget/models/Player/YouTubePlayer.ts +171 -0
- package/src/components/reproduction-widget/models/Reproduction.js +214 -0
- package/src/components/reproduction-widget/models/Reproduction.ts +272 -0
- package/src/components/reproduction-widget/models/ReproductionBuilder.js +51 -0
- package/src/components/reproduction-widget/models/ReproductionBuilder.ts +70 -0
- package/{dist/components/timeline → src/components/timeline/RangeSelectorCanvas}/RangeSelectorCanvas.js +16 -22
- package/src/components/timeline/Timeline.js +77 -0
- package/src/components/timeline/TimelineCanvas/TickTime.js +26 -0
- package/src/components/timeline/TimelineCanvas/TickTimeCollectionDisplay.js +19 -0
- package/src/components/timeline/TimelineCanvas/TimelineCanvas.js +44 -0
- package/src/components/timeline/TimelineCanvas/drawTimeBlocksOnCanvas.js +28 -0
- package/src/components/timeline/TimelineValue/TimelineValue.js +50 -0
- package/src/components/timeline/ZoomContext/ZoomContext.js +2 -0
- package/src/components/timeline/constants.js +13 -0
- package/src/components/timeline/index.js +1 -0
- package/src/components/timeline/utils/utils.js +28 -0
- package/src/index.js +1 -0
- package/src/react-app-env.d.ts +71 -1
- package/src/react-docgen-types.d.ts +37 -0
- package/src/setupTests.js +5 -0
- package/src/stories/reproduction-widget.stories.js +16 -0
- package/src/stories/reproduction-widget.stories.tsx +23 -0
- package/src/stories/timeline.stories.js +54 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/index.html +173 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js +12 -0
- package/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +412 -0
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/links-1/manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js.LEGAL.txt +0 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +995 -0
- package/storybook-static/sb-manager/globals-runtime.js +53527 -0
- package/storybook-static/sb-manager/globals.js +48 -0
- package/storybook-static/sb-manager/runtime.js +11885 -0
- package/storybook-static/sb-preview/globals.js +33 -0
- package/storybook-static/sb-preview/runtime.js +9483 -0
- package/tsconfig.json +8 -7
- package/.storybook/main.ts +0 -18
- package/.storybook/preview.ts +0 -14
- package/dist/components/timeline/RangeSelectorCanvas.d.ts +0 -8
- package/dist/components/timeline/TickTime.d.ts +0 -7
- package/dist/components/timeline/TickTime.js +0 -31
- package/dist/components/timeline/TickTimeCollectionDisplay.d.ts +0 -6
- package/dist/components/timeline/TickTimeCollectionDisplay.js +0 -24
- package/dist/components/timeline/VaLueLineCanvas.d.ts +0 -7
- package/dist/components/timeline/VaLueLineCanvas.js +0 -111
- package/dist/reportWebVitals.d.ts +0 -3
- package/dist/reportWebVitals.js +0 -37
- package/src/reportWebVitals.ts +0 -15
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import ESM_COMPAT_Module from "node:module";
|
|
2
|
+
import { fileURLToPath as ESM_COMPAT_fileURLToPath } from 'node:url';
|
|
3
|
+
import { dirname as ESM_COMPAT_dirname } from 'node:path';
|
|
4
|
+
const __filename = ESM_COMPAT_fileURLToPath(import.meta.url);
|
|
5
|
+
const __dirname = ESM_COMPAT_dirname(__filename);
|
|
6
|
+
const require = ESM_COMPAT_Module.createRequire(import.meta.url);
|
|
7
|
+
|
|
8
|
+
// src/manager/globals/globals.ts
|
|
9
|
+
var _ = {
|
|
10
|
+
react: "__REACT__",
|
|
11
|
+
"react-dom": "__REACT_DOM__",
|
|
12
|
+
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
13
|
+
"@storybook/icons": "__STORYBOOK_ICONS__",
|
|
14
|
+
"storybook/internal/manager-api": "__STORYBOOK_API__",
|
|
15
|
+
"@storybook/manager-api": "__STORYBOOK_API__",
|
|
16
|
+
"@storybook/core/manager-api": "__STORYBOOK_API__",
|
|
17
|
+
"storybook/internal/components": "__STORYBOOK_COMPONENTS__",
|
|
18
|
+
"@storybook/components": "__STORYBOOK_COMPONENTS__",
|
|
19
|
+
"@storybook/core/components": "__STORYBOOK_COMPONENTS__",
|
|
20
|
+
"storybook/internal/channels": "__STORYBOOK_CHANNELS__",
|
|
21
|
+
"@storybook/channels": "__STORYBOOK_CHANNELS__",
|
|
22
|
+
"@storybook/core/channels": "__STORYBOOK_CHANNELS__",
|
|
23
|
+
"storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__",
|
|
24
|
+
"@storybook/core-events": "__STORYBOOK_CORE_EVENTS__",
|
|
25
|
+
"@storybook/core/core-events": "__STORYBOOK_CORE_EVENTS__",
|
|
26
|
+
"storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
27
|
+
"@storybook/core-events/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
28
|
+
"@storybook/core/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
29
|
+
"storybook/internal/router": "__STORYBOOK_ROUTER__",
|
|
30
|
+
"@storybook/router": "__STORYBOOK_ROUTER__",
|
|
31
|
+
"@storybook/core/router": "__STORYBOOK_ROUTER__",
|
|
32
|
+
"storybook/internal/theming": "__STORYBOOK_THEMING__",
|
|
33
|
+
"@storybook/theming": "__STORYBOOK_THEMING__",
|
|
34
|
+
"@storybook/core/theming": "__STORYBOOK_THEMING__",
|
|
35
|
+
"storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__",
|
|
36
|
+
"@storybook/theming/create": "__STORYBOOK_THEMING_CREATE__",
|
|
37
|
+
"@storybook/core/theming/create": "__STORYBOOK_THEMING_CREATE__",
|
|
38
|
+
"storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
|
|
39
|
+
"@storybook/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
|
|
40
|
+
"@storybook/core/client-logger": "__STORYBOOK_CLIENT_LOGGER__",
|
|
41
|
+
"storybook/internal/types": "__STORYBOOK_TYPES__",
|
|
42
|
+
"@storybook/types": "__STORYBOOK_TYPES__",
|
|
43
|
+
"@storybook/core/types": "__STORYBOOK_TYPES__"
|
|
44
|
+
}, o = Object.keys(_);
|
|
45
|
+
export {
|
|
46
|
+
o as globalPackages,
|
|
47
|
+
_ as globalsNameReferenceMap
|
|
48
|
+
};
|