@pixelated-tech/components 3.8.0 → 3.8.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/README.md +7 -0
- package/dist/components/admin/site-health/site-health-utils.js +22 -0
- package/dist/components/config/config.example.js +2 -0
- package/dist/components/config/config.types.js +1 -3
- package/dist/components/config/config.utils.js +13 -5
- package/dist/components/general/cache-manager.js +124 -0
- package/dist/components/general/googlemap.js +5 -2
- package/dist/components/general/sitemap.js +3 -1
- package/dist/components/shoppingcart/ebay.components.js +9 -7
- package/dist/components/shoppingcart/ebay.functions.js +94 -9
- package/dist/components/shoppingcart/shoppingcart.components.js +4 -2
- package/dist/config/pixelated.config.json +3 -1
- package/dist/index.js +1 -0
- package/dist/scripts/release.sh +2 -2
- package/dist/test/config.mock.js +13 -0
- package/dist/test/setup.js +46 -0
- package/dist/test/test-utils.js +23 -0
- package/dist/types/components/admin/site-health/site-health-utils.d.ts +1 -1
- package/dist/types/components/admin/site-health/site-health-utils.d.ts.map +1 -1
- package/dist/types/components/config/config.example.d.ts.map +1 -1
- package/dist/types/components/config/config.types.d.ts +2 -0
- package/dist/types/components/config/config.types.d.ts.map +1 -1
- package/dist/types/components/config/config.utils.d.ts.map +1 -1
- package/dist/types/components/general/cache-manager.d.ts +45 -0
- package/dist/types/components/general/cache-manager.d.ts.map +1 -0
- package/dist/types/components/general/googlemap.d.ts +1 -1
- package/dist/types/components/general/googlemap.d.ts.map +1 -1
- package/dist/types/components/general/sitemap.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/ebay.components.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/ebay.functions.d.ts +15 -0
- package/dist/types/components/shoppingcart/ebay.functions.d.ts.map +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts +1 -1
- package/dist/types/components/shoppingcart/shoppingcart.components.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stories/callout/callout.many.stories.d.ts +0 -1
- package/dist/types/stories/callout/callout.many.stories.d.ts.map +1 -1
- package/dist/types/stories/callout/callout.stories.d.ts +0 -1
- package/dist/types/stories/callout/callout.stories.d.ts.map +1 -1
- package/dist/types/stories/carousel/carousel-hero.stories.d.ts +1 -9
- package/dist/types/stories/carousel/carousel-hero.stories.d.ts.map +1 -1
- package/dist/types/stories/carousel/carousel-reviews.stories.d.ts +0 -1
- package/dist/types/stories/carousel/carousel-reviews.stories.d.ts.map +1 -1
- package/dist/types/stories/carousel/carousel-workportfolio.stories.d.ts +1 -9
- package/dist/types/stories/carousel/carousel-workportfolio.stories.d.ts.map +1 -1
- package/dist/types/stories/carousel/carousel.stories.d.ts +1 -9
- package/dist/types/stories/carousel/carousel.stories.d.ts.map +1 -1
- package/dist/types/stories/carousel/tiles.stories.d.ts +0 -1
- package/dist/types/stories/carousel/tiles.stories.d.ts.map +1 -1
- package/dist/types/stories/cms/contentful.item.stories.d.ts +0 -9
- package/dist/types/stories/cms/contentful.item.stories.d.ts.map +1 -1
- package/dist/types/stories/cms/contentful.items.stories.d.ts +1 -11
- package/dist/types/stories/cms/contentful.items.stories.d.ts.map +1 -1
- package/dist/types/stories/cms/contentful.stories.d.ts +0 -1
- package/dist/types/stories/cms/contentful.stories.d.ts.map +1 -1
- package/dist/types/stories/cms/google.reviews.stories.d.ts +0 -1
- package/dist/types/stories/cms/google.reviews.stories.d.ts.map +1 -1
- package/dist/types/stories/cms/gravatar.stories.d.ts +0 -1
- package/dist/types/stories/cms/gravatar.stories.d.ts.map +1 -1
- package/dist/types/stories/cms/wordpress.stories.d.ts +6 -2
- package/dist/types/stories/cms/wordpress.stories.d.ts.map +1 -1
- package/dist/types/stories/general/accordion.stories.d.ts +3 -2
- package/dist/types/stories/general/accordion.stories.d.ts.map +1 -1
- package/dist/types/stories/general/headers.stories.d.ts.map +1 -1
- package/dist/types/stories/general/microinteractions.stories.d.ts +0 -1
- package/dist/types/stories/general/microinteractions.stories.d.ts.map +1 -1
- package/dist/types/stories/general/modal.stories.d.ts +0 -1
- package/dist/types/stories/general/modal.stories.d.ts.map +1 -1
- package/dist/types/stories/general/smartimage.stories.d.ts.map +1 -1
- package/dist/types/stories/general/splitscroll.stories.d.ts.map +1 -1
- package/dist/types/stories/seo/seo.404.stories.d.ts +0 -1
- package/dist/types/stories/seo/seo.404.stories.d.ts.map +1 -1
- package/dist/types/stories/seo/seo.googleanalytics.stories.d.ts +1 -3
- package/dist/types/stories/seo/seo.googleanalytics.stories.d.ts.map +1 -1
- package/dist/types/stories/seo/seo.schema.stories.d.ts +0 -1
- package/dist/types/stories/seo/seo.schema.stories.d.ts.map +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.item.stories.d.ts +1 -12
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.item.stories.d.ts.map +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.items.stories.d.ts +1 -12
- package/dist/types/stories/shoppingcart/shoppingcart.ebay.items.stories.d.ts.map +1 -1
- package/dist/types/stories/shoppingcart/shoppingcart.stories.d.ts.map +1 -1
- package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts +12 -34
- package/dist/types/stories/sitebuilder/compoundfontselector.stories.d.ts.map +1 -1
- package/dist/types/stories/sitebuilder/form-engine.stories.d.ts +0 -1
- package/dist/types/stories/sitebuilder/form-engine.stories.d.ts.map +1 -1
- package/dist/types/stories/sitebuilder/pageengine.stories.d.ts +0 -1
- package/dist/types/stories/sitebuilder/pageengine.stories.d.ts.map +1 -1
- package/dist/types/stories/structured/markdown.stories.d.ts +0 -1
- package/dist/types/stories/structured/markdown.stories.d.ts.map +1 -1
- package/dist/types/stories/structured/recipe.stories.d.ts +0 -1
- package/dist/types/stories/structured/recipe.stories.d.ts.map +1 -1
- package/dist/types/stories/structured/resume.stories.d.ts +0 -1
- package/dist/types/stories/structured/resume.stories.d.ts.map +1 -1
- package/dist/types/stories/structured/socialcard.stories.d.ts +0 -1
- package/dist/types/stories/structured/socialcard.stories.d.ts.map +1 -1
- package/dist/types/stories/structured/timeline.stories.d.ts +0 -1
- package/dist/types/stories/structured/timeline.stories.d.ts.map +1 -1
- package/dist/types/test/config.mock.d.ts +11 -0
- package/dist/types/test/config.mock.d.ts.map +1 -0
- package/dist/types/test/setup.d.ts.map +1 -0
- package/dist/types/test/test-utils.d.ts +84 -0
- package/dist/types/test/test-utils.d.ts.map +1 -0
- package/dist/types/tests/cache-manager.test.d.ts +2 -0
- package/dist/types/tests/cache-manager.test.d.ts.map +1 -0
- package/dist/types/tests/config-core.test.d.ts +2 -0
- package/dist/types/tests/config-core.test.d.ts.map +1 -0
- package/dist/types/tests/ebay-functions.test.d.ts +2 -0
- package/dist/types/tests/ebay-functions.test.d.ts.map +1 -0
- package/dist/types/tests/site-health-utils.test.d.ts +2 -0
- package/dist/types/tests/site-health-utils.test.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/types/tests/setup.d.ts.map +0 -1
- /package/dist/types/{tests → test}/setup.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.ebay.item.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/shoppingcart/shoppingcart.ebay.item.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shoppingcart.ebay.item.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/shoppingcart/shoppingcart.ebay.item.stories.js"],"names":[],"mappings":";;;;;;;;+BAC+B,2CAA2C"}
|
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export let title: string;
|
|
3
3
|
export { EbayItems as component };
|
|
4
|
-
export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
|
|
5
4
|
}
|
|
6
5
|
export default _default;
|
|
7
6
|
export namespace EbayItemsGrid {
|
|
8
|
-
|
|
9
|
-
namespace apiProps {
|
|
10
|
-
let proxyURL: string;
|
|
11
|
-
let qsSearchURL: string;
|
|
12
|
-
let appId: string;
|
|
13
|
-
let appCertId: string;
|
|
14
|
-
let tokenScope: string;
|
|
15
|
-
let globalId: string;
|
|
16
|
-
}
|
|
17
|
-
let cloudinaryProductEnv: string;
|
|
18
|
-
}
|
|
7
|
+
let args: {};
|
|
19
8
|
}
|
|
20
9
|
import { EbayItems } from '@/components/shoppingcart/ebay.components';
|
|
21
10
|
//# sourceMappingURL=shoppingcart.ebay.items.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.ebay.items.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/shoppingcart/shoppingcart.ebay.items.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shoppingcart.ebay.items.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/shoppingcart/shoppingcart.ebay.items.stories.js"],"names":[],"mappings":";;;;;;;;0BAC0B,2CAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shoppingcart.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/shoppingcart/shoppingcart.stories.js"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"shoppingcart.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/shoppingcart/shoppingcart.stories.js"],"names":[],"mappings":";;;;AAoDO,4EAAqD"}
|
|
@@ -5,25 +5,17 @@ declare const _default: {
|
|
|
5
5
|
parameters: {
|
|
6
6
|
layout: string;
|
|
7
7
|
};
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
value:
|
|
8
|
+
argTypes: {
|
|
9
|
+
label: {
|
|
10
|
+
control: string;
|
|
11
|
+
};
|
|
12
|
+
required: {
|
|
13
|
+
control: string;
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
control: string;
|
|
17
|
+
};
|
|
16
18
|
};
|
|
17
|
-
};
|
|
18
|
-
export declare const WithInitialValue: {
|
|
19
|
-
args: {
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
|
-
label: string;
|
|
23
|
-
value: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const Required: {
|
|
27
19
|
args: {
|
|
28
20
|
id: string;
|
|
29
21
|
name: string;
|
|
@@ -32,20 +24,6 @@ export declare const Required: {
|
|
|
32
24
|
value: string;
|
|
33
25
|
};
|
|
34
26
|
};
|
|
35
|
-
export
|
|
36
|
-
|
|
37
|
-
id: string;
|
|
38
|
-
name: string;
|
|
39
|
-
label: string;
|
|
40
|
-
value: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export declare const BodyFont: {
|
|
44
|
-
args: {
|
|
45
|
-
id: string;
|
|
46
|
-
name: string;
|
|
47
|
-
label: string;
|
|
48
|
-
value: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
27
|
+
export default _default;
|
|
28
|
+
export declare const Playground: {};
|
|
51
29
|
//# sourceMappingURL=compoundfontselector.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compoundfontselector.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/compoundfontselector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC
|
|
1
|
+
{"version":3,"file":"compoundfontselector.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/compoundfontselector.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAEhG,wBAkBE;AAEF,eAAO,MAAM,UAAU,IAAK,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-engine.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/form-engine.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-engine.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/form-engine.stories.js"],"names":[],"mappings":";;;;;;;;;;;2BAC2B,0CAA0C;iBACpD,kBAAkB;AAGnC,kCAEC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageengine.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/pageengine.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pageengine.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/pageengine.stories.js"],"names":[],"mappings":";;;;;;;;;;;;;;;IAmBS,kEAgCP;;;;;;;;;;;;;;2BAlDyB,qDAAqD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/markdown.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"markdown.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/markdown.stories.js"],"names":[],"mappings":";;;;;;;;;;yBACyB,+BAA+B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recipe.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/recipe.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"recipe.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/recipe.stories.js"],"names":[],"mappings":";;;;;;;;;;;2BAC2B,6BAA6B;uBACjC,qBAAqB;AAG5C,mCAAoG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resume.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/resume.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resume.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/resume.stories.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBACuB,6BAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"socialcard.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/socialcard.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"socialcard.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/socialcard.stories.js"],"names":[],"mappings":";;;;;;;;;;4BAC4B,iCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeline.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/timeline.stories.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"timeline.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/structured/timeline.stories.js"],"names":[],"mappings":";;;;;;;;;;yBACyB,+BAA+B;AAGxD;;;;;IAoDE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PixelatedConfig } from '@/components/config/config.types';
|
|
2
|
+
/**
|
|
3
|
+
* Standard mock configuration derived from the main pixelated.config.json.
|
|
4
|
+
* Used as the default configuration for renderWithProviders in tests.
|
|
5
|
+
*/
|
|
6
|
+
export declare const mockConfig: PixelatedConfig;
|
|
7
|
+
/**
|
|
8
|
+
* Helper to create a partial configuration override for specific test cases.
|
|
9
|
+
*/
|
|
10
|
+
export declare const createMockConfig: (overrides: Partial<PixelatedConfig>) => PixelatedConfig;
|
|
11
|
+
//# sourceMappingURL=config.mock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.mock.d.ts","sourceRoot":"","sources":["../../../src/test/config.mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAGnE;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,eAA+C,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,WAAW,OAAO,CAAC,eAAe,CAAC,KAAG,eAGrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/test/setup.ts"],"names":[],"mappings":"AAEA,OAAO,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import React, { ReactElement } from 'react';
|
|
2
|
+
import { RenderOptions } from '@testing-library/react';
|
|
3
|
+
import { PixelatedConfig } from '@/components/config/config.types';
|
|
4
|
+
interface ExtendedRenderOptions extends Omit<RenderOptions, 'queries'> {
|
|
5
|
+
config?: Partial<PixelatedConfig>;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Custom render function that wraps components in the necessary providers.
|
|
9
|
+
* Defaults to using the mock version of the global pixelated.config.json.
|
|
10
|
+
*/
|
|
11
|
+
declare function renderWithProviders(ui: ReactElement, { config, ...renderOptions }?: ExtendedRenderOptions): {
|
|
12
|
+
config: {
|
|
13
|
+
global?: import("@/components/config/config.types").GlobalConfig;
|
|
14
|
+
cloudinary?: import("@/components/config/config.types").CloudinaryConfig;
|
|
15
|
+
contentful?: import("@/components/config/config.types").ContentfulConfig;
|
|
16
|
+
ebay?: import("@/components/config/config.types").EbayConfig;
|
|
17
|
+
flickr?: import("@/components/config/config.types").FlickrConfig;
|
|
18
|
+
googleAnalytics?: import("@/components/config/config.types").GoogleAnalyticsConfig;
|
|
19
|
+
googleMaps?: import("@/components/config/config.types").GoogleMapsConfig;
|
|
20
|
+
googleSearchConsole?: import("@/components/config/config.types").GoogleSearchConsoleConfig;
|
|
21
|
+
hubspot?: import("@/components/config/config.types").HubspotConfig;
|
|
22
|
+
instagram?: import("@/components/config/config.types").InstagramConfig;
|
|
23
|
+
paypal?: import("@/components/config/config.types").PaypalConfig;
|
|
24
|
+
wordpress?: import("@/components/config/config.types").WordpressConfig;
|
|
25
|
+
};
|
|
26
|
+
container: HTMLElement;
|
|
27
|
+
baseElement: HTMLElement;
|
|
28
|
+
debug: (baseElement?: import("react-dom/client").Container | (Document | Element) | Array<import("react-dom/client").Container | (Document | Element)> | undefined, maxLength?: number | undefined, options?: import("pretty-format").OptionsReceived | undefined) => void;
|
|
29
|
+
rerender: (ui: React.ReactNode) => void;
|
|
30
|
+
unmount: () => void;
|
|
31
|
+
asFragment: () => DocumentFragment;
|
|
32
|
+
getByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
33
|
+
getAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
34
|
+
queryByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
35
|
+
queryAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
36
|
+
findByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
37
|
+
findAllByLabelText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
38
|
+
getByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
39
|
+
getAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
40
|
+
queryByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
41
|
+
queryAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
42
|
+
findByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
43
|
+
findAllByPlaceholderText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
44
|
+
getByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement;
|
|
45
|
+
getAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
46
|
+
queryByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null;
|
|
47
|
+
queryAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[];
|
|
48
|
+
findByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
49
|
+
findAllByText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
50
|
+
getByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
51
|
+
getAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
52
|
+
queryByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
53
|
+
queryAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
54
|
+
findByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
55
|
+
findAllByAltText: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
56
|
+
getByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
57
|
+
getAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
58
|
+
queryByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
59
|
+
queryAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
60
|
+
findByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
61
|
+
findAllByTitle: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
62
|
+
getByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
63
|
+
getAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
64
|
+
queryByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
65
|
+
queryAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
66
|
+
findByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
67
|
+
findAllByDisplayValue: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
68
|
+
getByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement;
|
|
69
|
+
getAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
|
|
70
|
+
queryByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement | null;
|
|
71
|
+
queryAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[];
|
|
72
|
+
findByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
73
|
+
findAllByRole: (role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
74
|
+
getByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement;
|
|
75
|
+
getAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
76
|
+
queryByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null;
|
|
77
|
+
queryAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
78
|
+
findByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>;
|
|
79
|
+
findAllByTestId: (id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>;
|
|
80
|
+
};
|
|
81
|
+
export * from '@testing-library/react';
|
|
82
|
+
export { renderWithProviders as render };
|
|
83
|
+
export { renderWithProviders };
|
|
84
|
+
//# sourceMappingURL=test-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../../src/test/test-utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAU,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAE/D,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAGnE,UAAU,qBAAsB,SAAQ,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC;IACpE,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACnC;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAC3B,EAAE,EAAE,YAAY,EAChB,EACC,MAAW,EACX,GAAG,aAAa,EAChB,GAAE,qBAA0B;;;;;;;;;;;;;;;;;uBAQf,CAAC,yJAUU,CAAC,6BACA,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAH3B;AAGD,cAAc,wBAAwB,CAAC;AAGvC,OAAO,EAAE,mBAAmB,IAAI,MAAM,EAAE,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cache-manager.test.d.ts","sourceRoot":"","sources":["../../../src/tests/cache-manager.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-core.test.d.ts","sourceRoot":"","sources":["../../../src/tests/config-core.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ebay-functions.test.d.ts","sourceRoot":"","sources":["../../../src/tests/ebay-functions.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site-health-utils.test.d.ts","sourceRoot":"","sources":["../../../src/tests/site-health-utils.test.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pixelated-tech/components",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Pixelated Technologies",
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
"test:run": "vitest run",
|
|
87
87
|
"lint": "eslint --fix",
|
|
88
88
|
"release": "./src/scripts/release.sh",
|
|
89
|
-
"vault": "tsx src/scripts/config-vault.ts",
|
|
89
|
+
"vault": "npx tsx src/scripts/config-vault.ts",
|
|
90
90
|
"config:vault": "npm run vault --",
|
|
91
|
-
"config:encrypt": "npm run config:vault -- encrypt src/
|
|
92
|
-
"config:decrypt": "npm run config:vault -- decrypt src/
|
|
91
|
+
"config:encrypt": "npm run config:vault -- encrypt src/config/pixelated.config.json",
|
|
92
|
+
"config:decrypt": "npm run config:vault -- decrypt src/config/pixelated.config.json"
|
|
93
93
|
},
|
|
94
94
|
"scripts-old": {
|
|
95
95
|
"buildBabel": "npm run buildClean && NODE_ENV=production babel src --out-dir dist --copy-files",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../../src/tests/setup.ts"],"names":[],"mappings":"AAEA,OAAO,2BAA2B,CAAC"}
|
|
File without changes
|