@pixelated-tech/components 3.11.3 → 3.11.5

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.
Files changed (52) hide show
  1. package/dist/components/admin/site-health/site-health-axe-core.integration.js +1 -1
  2. package/dist/components/admin/site-health/site-health-github.integration.js +0 -1
  3. package/dist/components/general/global-error.css +41 -0
  4. package/dist/components/general/global-error.js +19 -0
  5. package/dist/components/general/skeleton-loading.css +97 -0
  6. package/dist/components/general/skeleton-loading.js +26 -0
  7. package/dist/components/general/skeleton.css +48 -0
  8. package/dist/components/general/skeleton.js +21 -0
  9. package/dist/components/general/tiles.css +132 -32
  10. package/dist/components/general/tiles.js +12 -2
  11. package/dist/components/sitebuilder/form/formutils.js +12 -1
  12. package/dist/config/pixelated.config.json.enc +1 -1
  13. package/dist/index.js +3 -0
  14. package/dist/index.server.js +1 -0
  15. package/dist/scripts/pixelated-eslint-plugin.js +110 -0
  16. package/dist/types/components/admin/site-health/site-health-axe-core.integration.d.ts +1 -63
  17. package/dist/types/components/admin/site-health/site-health-axe-core.integration.d.ts.map +1 -1
  18. package/dist/types/components/admin/site-health/site-health-github.integration.d.ts +1 -6
  19. package/dist/types/components/admin/site-health/site-health-github.integration.d.ts.map +1 -1
  20. package/dist/types/components/admin/site-health/site-health-security.integration.d.ts +1 -8
  21. package/dist/types/components/admin/site-health/site-health-security.integration.d.ts.map +1 -1
  22. package/dist/types/components/admin/site-health/site-health-types.d.ts +2 -0
  23. package/dist/types/components/admin/site-health/site-health-types.d.ts.map +1 -1
  24. package/dist/types/components/general/global-error.d.ts +13 -0
  25. package/dist/types/components/general/global-error.d.ts.map +1 -0
  26. package/dist/types/components/general/skeleton-loading.d.ts +18 -0
  27. package/dist/types/components/general/skeleton-loading.d.ts.map +1 -0
  28. package/dist/types/components/general/skeleton.d.ts +14 -0
  29. package/dist/types/components/general/skeleton.d.ts.map +1 -0
  30. package/dist/types/components/general/tiles.d.ts +9 -0
  31. package/dist/types/components/general/tiles.d.ts.map +1 -1
  32. package/dist/types/components/sitebuilder/form/formutils.d.ts +0 -4
  33. package/dist/types/components/sitebuilder/form/formutils.d.ts.map +1 -1
  34. package/dist/types/index.d.ts +3 -0
  35. package/dist/types/index.server.d.ts +1 -0
  36. package/dist/types/scripts/pixelated-eslint-plugin.d.ts +48 -0
  37. package/dist/types/stories/general/global-error.stories.d.ts +26 -0
  38. package/dist/types/stories/general/global-error.stories.d.ts.map +1 -0
  39. package/dist/types/stories/general/skeleton-loading.stories.d.ts +14 -0
  40. package/dist/types/stories/general/skeleton-loading.stories.d.ts.map +1 -0
  41. package/dist/types/stories/general/skeleton.stories.d.ts +21 -0
  42. package/dist/types/stories/general/skeleton.stories.d.ts.map +1 -0
  43. package/dist/types/stories/general/tiles.stories.d.ts +12 -0
  44. package/dist/types/stories/general/tiles.stories.d.ts.map +1 -1
  45. package/dist/types/stories/sitebuilder/form.honeypot.stories.d.ts.map +1 -1
  46. package/dist/types/tests/global-error.test.d.ts +2 -0
  47. package/dist/types/tests/global-error.test.d.ts.map +1 -0
  48. package/dist/types/tests/skeleton-loading.test.d.ts +2 -0
  49. package/dist/types/tests/skeleton-loading.test.d.ts.map +1 -0
  50. package/dist/types/tests/skeleton.test.d.ts +2 -0
  51. package/dist/types/tests/skeleton.test.d.ts.map +1 -0
  52. package/package.json +2 -2
@@ -697,6 +697,112 @@ const requiredFaqRule = {
697
697
  },
698
698
  };
699
699
 
700
+ /* ===== RULE: file-name-kebab-case ===== */
701
+ const fileNameKebabCaseRule = (function fileNameKebabCaseRule(){
702
+ const KEBAB_RE = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
703
+ const rule = {
704
+ meta: {
705
+ type: 'suggestion',
706
+ docs: { description: 'enforce kebab-case file names (lowercase-with-hyphens)', category: 'Stylistic Issues', recommended: true },
707
+ fixable: null,
708
+ schema: [ { type: 'object', properties: { allow: { type: 'array', items: { type: 'string' } } }, additionalProperties: false } ],
709
+ messages: { notKebab: 'File name "{{name}}" is not kebab-case. Rename to "{{expected}}" (exceptions: index, tests/stories, .d.ts, docs).' },
710
+ },
711
+ create(context) {
712
+ const opts = (context.options && context.options[0]) || {};
713
+ const allow = Array.isArray(opts.allow) ? opts.allow : [];
714
+ return {
715
+ Program(node) {
716
+ try {
717
+ const filename = context.getFilename();
718
+ if (!filename || filename === '<input>') return;
719
+ const fn = filename.replace(/\\\\/g, '/').split('/').pop();
720
+ if (!fn) return;
721
+ if (/^README(\.|$)/i.test(fn)) return;
722
+ let core = fn.replace(/\.d\.ts$/i, '').replace(/\.[^.]+$/, '');
723
+ core = core.replace(/\.(test|spec|stories|honeypot\.test)$/i, '');
724
+ if (!core || core === 'index') return;
725
+ if (/\/(?:docs|src\/tests|src\/stories)\//.test(filename)) return;
726
+ if (allow.includes(fn)) return;
727
+ if (!KEBAB_RE.test(core)) {
728
+ const expected = core.replace(/([A-Z])/g, (m) => '-' + m.toLowerCase()).replace(/[_\s]+/g, '-').replace(/--+/g, '-').replace(/^[-]+|[-]+$/g, '');
729
+ const suggested = expected || core.toLowerCase();
730
+ context.report({ node, messageId: 'notKebab', data: { name: fn, expected: suggested } });
731
+ }
732
+ } catch (err) { /* defensive */ }
733
+ }
734
+ };
735
+ }
736
+ };
737
+ return rule;
738
+ })();
739
+
740
+ /* ===== RULE: no-duplicate-export-names ===== */
741
+ const noDuplicateExportNamesRule = {
742
+ meta: {
743
+ type: 'problem',
744
+ docs: { description: 'Disallow duplicate exported identifiers from multiple source modules in a barrel file', category: 'Possible Errors', recommended: true },
745
+ schema: [],
746
+ messages: { duplicateExport: 'Duplicate export "{{name}}" found in multiple modules: {{modules}}' },
747
+ },
748
+ create(context) {
749
+ const filename = context.getFilename();
750
+ return {
751
+ Program() {
752
+ try {
753
+ const sourceCode = context.getSourceCode();
754
+ const exportAll = sourceCode.ast.body.filter(n => n.type === 'ExportAllDeclaration');
755
+ if (exportAll.length < 2) return; // nothing to compare
756
+
757
+ const nameMap = new Map();
758
+ for (const node of exportAll) {
759
+ if (!node.source || node.source.type !== 'Literal') continue;
760
+ const spec = String(node.source.value);
761
+ if (!spec.startsWith('.') && !spec.startsWith('/')) continue; // only local modules
762
+ let resolved;
763
+ try {
764
+ resolved = require.resolve(spec, { paths: [path.dirname(filename)] });
765
+ } catch (err) {
766
+ const alt = path.resolve(path.dirname(filename), spec);
767
+ if (fs.existsSync(alt + '.ts')) resolved = alt + '.ts';
768
+ else if (fs.existsSync(alt + '.tsx')) resolved = alt + '.tsx';
769
+ else if (fs.existsSync(alt + '.js')) resolved = alt + '.js';
770
+ else continue;
771
+ }
772
+ let content = '';
773
+ try { content = fs.readFileSync(resolved, 'utf8'); } catch (err) { continue; }
774
+
775
+ // best-effort: collect exported identifiers via regex (covers common TS/JS exports)
776
+ const exports = new Set();
777
+ const patterns = [ /export\s+function\s+([A-Za-z0-9_$]+)/g, /export\s+(?:const|let|var)\s+([A-Za-z0-9_$]+)/g, /export\s+class\s+([A-Za-z0-9_$]+)/g, /export\s+(?:type|interface|enum)\s+([A-Za-z0-9_$]+)/g, /export\s*\{([^}]+)\}/g ];
778
+ for (const re of patterns) {
779
+ let m;
780
+ while ((m = re.exec(content))) {
781
+ if (m[1]) {
782
+ m[1].split(',').map(s => s.trim().split(/\s+as\s+/)[0].trim()).filter(Boolean).forEach(n => exports.add(n));
783
+ }
784
+ }
785
+ }
786
+ for (const name of exports) {
787
+ if (!nameMap.has(name)) nameMap.set(name, []);
788
+ nameMap.get(name).push(spec);
789
+ }
790
+ }
791
+
792
+ // report duplicates collected across all export * sources
793
+ for (const [name, modules] of nameMap.entries()) {
794
+ if (modules.length > 1) {
795
+ context.report({ node: sourceCode.ast, messageId: 'duplicateExport', data: { name, modules: modules.join(', ') } });
796
+ }
797
+ }
798
+ } catch (err) {
799
+ // defensive: do not allow rule errors to crash ESLint
800
+ }
801
+ }
802
+ };
803
+ }
804
+ };
805
+
700
806
  export default {
701
807
  rules: {
702
808
  'prop-types-inferprops': propTypesInferPropsRule,
@@ -708,6 +814,8 @@ export default {
708
814
  'validate-test-locations': validateTestLocationsRule,
709
815
  'no-process-env': noProcessEnvRule,
710
816
  'no-debug-true': noDebugTrueRule,
817
+ 'file-name-kebab-case': fileNameKebabCaseRule,
818
+ 'no-duplicate-export-names': noDuplicateExportNamesRule,
711
819
  },
712
820
  configs: {
713
821
  recommended: {
@@ -721,6 +829,8 @@ export default {
721
829
  'pixelated/validate-test-locations': 'error',
722
830
  'pixelated/no-process-env': ['error', { allowed: ALLOWED_ENV_VARS } ],
723
831
  'pixelated/no-debug-true': 'warn',
832
+ 'pixelated/file-name-kebab-case': 'off',
833
+ 'pixelated/no-duplicate-export-names': 'warn',
724
834
  },
725
835
  },
726
836
  },
@@ -1,65 +1,3 @@
1
- /**
2
- * Axe-Core Accessibility Analysis Integration Services
3
- * Server-side utilities for performing comprehensive accessibility analysis on websites
4
- * Note: This makes external HTTP requests and should only be used server-side
5
- */
6
- interface AxeNode {
7
- target: string[];
8
- html: string;
9
- failureSummary?: string;
10
- ancestry?: string[];
11
- }
12
- interface AxeViolation {
13
- id: string;
14
- impact: 'minor' | 'moderate' | 'serious' | 'critical';
15
- description: string;
16
- help: string;
17
- helpUrl: string;
18
- nodes: AxeNode[];
19
- tags: string[];
20
- }
21
- interface AxeResult {
22
- violations: AxeViolation[];
23
- passes: AxeViolation[];
24
- incomplete: AxeViolation[];
25
- inapplicable: AxeViolation[];
26
- testEngine: {
27
- name: string;
28
- version: string;
29
- };
30
- testRunner: {
31
- name: string;
32
- };
33
- testEnvironment: {
34
- userAgent: string;
35
- windowWidth: number;
36
- windowHeight: number;
37
- orientationAngle?: number;
38
- orientationType?: string;
39
- };
40
- timestamp: string;
41
- url: string;
42
- }
43
- export interface AxeCoreData {
44
- site: string;
45
- url: string;
46
- result: AxeResult;
47
- summary: {
48
- violations: number;
49
- passes: number;
50
- incomplete: number;
51
- inapplicable: number;
52
- critical: number;
53
- serious: number;
54
- moderate: number;
55
- minor: number;
56
- };
57
- timestamp: string;
58
- status: 'success' | 'error';
59
- warnings?: string[];
60
- error?: string;
61
- injectionSource?: string;
62
- }
1
+ import type { AxeCoreData } from './site-health-types';
63
2
  export declare function performAxeCoreAnalysis(url: string, runtime_env?: 'auto' | 'local' | 'prod'): Promise<AxeCoreData>;
64
- export {};
65
3
  //# sourceMappingURL=site-health-axe-core.integration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"site-health-axe-core.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.integration.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AAEH,UAAU,OAAO;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED,UAAU,SAAS;IACjB,UAAU,EAAE,YAAY,EAAE,CAAC;IAC3B,MAAM,EAAE,YAAY,EAAE,CAAC;IACvB,UAAU,EAAE,YAAY,EAAE,CAAC;IAC3B,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,eAAe,EAAE;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,SAAS,CAAC;IAClB,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,GAAE,MAAM,GAAG,OAAO,GAAG,MAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CA+D/H"}
1
+ {"version":3,"file":"site-health-axe-core.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-axe-core.integration.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAmDvD,wBAAsB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,GAAE,MAAM,GAAG,OAAO,GAAG,MAAe,GAAG,OAAO,CAAC,WAAW,CAAC,CA+D/H"}
@@ -1,9 +1,4 @@
1
- export interface GitCommit {
2
- hash: string;
3
- date: string;
4
- message: string;
5
- author: string;
6
- }
1
+ import type { GitCommit } from './site-health-types';
7
2
  export interface GitHealthResult {
8
3
  commits: GitCommit[];
9
4
  timestamp: string;
@@ -1 +1 @@
1
- {"version":3,"file":"site-health-github.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-github.integration.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAgHnM"}
1
+ {"version":3,"file":"site-health-github.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-github.integration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAMrD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAsB,gBAAgB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,CAgHnM"}
@@ -1,11 +1,4 @@
1
- export interface Vulnerability {
2
- name: string;
3
- severity: 'info' | 'low' | 'moderate' | 'high' | 'critical';
4
- title: string;
5
- url?: string;
6
- range: string;
7
- fixAvailable: boolean;
8
- }
1
+ import type { Vulnerability } from './site-health-types';
9
2
  export interface SecurityScanResult {
10
3
  status: 'success' | 'error';
11
4
  data?: {
@@ -1 +1 @@
1
- {"version":3,"file":"site-health-security.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-security.integration.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,GAAG,KAAK,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,aAAa,EAAE,CAAC;QACjC,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE,MAAM,CAAC;YACjB,IAAI,EAAE,MAAM,CAAC;YACb,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;QACF,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAqCD,wBAAsB,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAiHhI"}
1
+ {"version":3,"file":"site-health-security.integration.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-security.integration.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,IAAI,CAAC,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,eAAe,EAAE,aAAa,EAAE,CAAC;QACjC,OAAO,EAAE;YACP,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,QAAQ,EAAE,MAAM,CAAC;YACjB,IAAI,EAAE,MAAM,CAAC;YACb,QAAQ,EAAE,MAAM,CAAC;YACjB,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;QACF,YAAY,EAAE,MAAM,CAAC;QACrB,iBAAiB,EAAE,MAAM,CAAC;KAC3B,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAqCD,wBAAsB,qBAAqB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAiHhI"}
@@ -121,6 +121,8 @@ export interface AxeCoreData {
121
121
  };
122
122
  timestamp: string;
123
123
  status: 'success' | 'error';
124
+ warnings?: string[];
125
+ injectionSource?: string;
124
126
  error?: string;
125
127
  }
126
128
  export interface AxeCoreResponse {
@@ -1 +1 @@
1
- {"version":3,"file":"site-health-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,QAAQ,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,GAAG,EAAE,MAAM,GAAG,I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AC9B,GAAG,EAAE,WAAW,CAAC;QACjB,GAAG,EAAE,WAAW,CAAC;KAClB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"site-health-types.d.ts","sourceRoot":"","sources":["../../../../../src/components/admin/site-health/site-health-types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC;AAED,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,QAAQ,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACpB;AA8BD,MAAM,WAAW,aAAa;IAC5B,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EAAE,WAAW,CAAC;QACjB,GAAG,EAAE,WAAW,CAAC;KAClB,CAAC;IACF,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,SAAS,GAAG,OAAO,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,13 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ import './global-error.css';
3
+ export type GlobalErrorType = InferProps<typeof GlobalError.propTypes>;
4
+ export declare function GlobalError({ error, reset, siteInfo, className }: GlobalErrorType): import("react/jsx-runtime").JSX.Element;
5
+ export declare namespace GlobalError {
6
+ var propTypes: {
7
+ error: PropTypes.Requireable<any>;
8
+ reset: PropTypes.Requireable<(...args: any[]) => any>;
9
+ siteInfo: PropTypes.Requireable<object>;
10
+ className: PropTypes.Requireable<string>;
11
+ };
12
+ }
13
+ //# sourceMappingURL=global-error.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-error.d.ts","sourceRoot":"","sources":["../../../../src/components/general/global-error.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,oBAAoB,CAAC;AAQ5B,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,SAAS,CAAC,CAAC;AACvE,wBAAgB,WAAW,CAAC,EAAE,KAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAc,EAAE,EAAG,eAAe,2CA2C9F;yBA3Ce,WAAW"}
@@ -0,0 +1,18 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ import './skeleton-loading.css';
3
+ export type SkeletonLoadingProps = {
4
+ heroHeight?: number;
5
+ cardCount?: number;
6
+ className?: string;
7
+ };
8
+ export type SkeletonLoadingType = InferProps<typeof SkeletonLoading.propTypes>;
9
+ export declare function SkeletonLoading({ heroHeight, cardCount, className }: SkeletonLoadingType): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace SkeletonLoading {
11
+ var propTypes: {
12
+ heroHeight: PropTypes.Requireable<number>;
13
+ cardCount: PropTypes.Requireable<number>;
14
+ className: PropTypes.Requireable<string>;
15
+ };
16
+ }
17
+ export default SkeletonLoading;
18
+ //# sourceMappingURL=skeleton-loading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton-loading.d.ts","sourceRoot":"","sources":["../../../../src/components/general/skeleton-loading.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,wBAAwB,CAAC;AAEhC,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAOF,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/E,wBAAgB,eAAe,CAAC,EAAE,UAAgB,EAAE,SAAa,EAAE,SAAc,EAAE,EAAE,mBAAmB,2CAuCvG;yBAvCe,eAAe;;;;;;;AAyC/B,eAAe,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ import PropTypes, { InferProps } from 'prop-types';
2
+ import './skeleton.css';
3
+ export type SkeletonType = InferProps<typeof Skeleton.propTypes>;
4
+ export declare function Skeleton({ variant, lines, width, height, animated, }: SkeletonType): import("react/jsx-runtime").JSX.Element;
5
+ export declare namespace Skeleton {
6
+ var propTypes: {
7
+ variant: PropTypes.Requireable<string>;
8
+ lines: PropTypes.Requireable<number>;
9
+ width: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
10
+ height: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
11
+ animated: PropTypes.Requireable<boolean>;
12
+ };
13
+ }
14
+ //# sourceMappingURL=skeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/general/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,gBAAgB,CAAC;AASxB,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,QAAQ,CAAC,SAAS,CAAC,CAAC;AACjE,wBAAgB,QAAQ,CAAC,EACxB,OAAgB,EAChB,KAAS,EACT,KAAK,EACL,MAAM,EACN,QAAe,GACf,EAAE,YAAY,2CA8Bd;yBApCe,QAAQ"}
@@ -1,6 +1,8 @@
1
1
  import PropTypes, { InferProps } from "prop-types";
2
2
  import "../../css/pixelated.grid.scss";
3
3
  import "./tiles.css";
4
+ export declare const TilesVariants: readonly ["caption", "overlay"];
5
+ export type TilesVariantType = typeof TilesVariants[number] | undefined;
4
6
  export type TilesType = InferProps<typeof Tiles.propTypes>;
5
7
  export declare function Tiles(props: TilesType): import("react/jsx-runtime").JSX.Element;
6
8
  export declare namespace Tiles {
@@ -8,6 +10,11 @@ export declare namespace Tiles {
8
10
  cards: PropTypes.Validator<any[]>;
9
11
  rowCount: PropTypes.Requireable<number>;
10
12
  imgClick: PropTypes.Requireable<(...args: any[]) => any>;
13
+ /**
14
+ * Optional visual variant. Allowed values are enumerated so consumers get
15
+ * a discoverable, typed API.
16
+ */
17
+ variant: PropTypes.Requireable<"caption" | "overlay">;
11
18
  };
12
19
  }
13
20
  export type TileType = InferProps<typeof Tile.propTypes>;
@@ -21,6 +28,8 @@ declare namespace Tile {
21
28
  imageAlt: PropTypes.Requireable<string>;
22
29
  bodyText: PropTypes.Requireable<string>;
23
30
  imgClick: PropTypes.Requireable<(...args: any[]) => any>;
31
+ /** 'caption' - visual caption beneath image (prefers bodyText, falls back to imageAlt) */
32
+ variant: PropTypes.Requireable<"caption" | "overlay">;
24
33
  };
25
34
  }
26
35
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"tiles.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tiles.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,aAAa,CAAC;AAQrB,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC;AAC3D,wBAAgB,KAAK,CAAC,KAAK,EAAE,SAAS,2CA2BrC;yBA3Be,KAAK;;;;;;;AAyCrB,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;AACzD,iBAAS,IAAI,CAAE,KAAK,EAAE,QAAQ,2CAyB7B;kBAzBQ,IAAI"}
1
+ {"version":3,"file":"tiles.d.ts","sourceRoot":"","sources":["../../../../src/components/general/tiles.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAKnD,OAAO,+BAA+B,CAAC;AACvC,OAAO,aAAa,CAAC;AAErB,eAAO,MAAM,aAAa,iCAAoC,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;AAWxE,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,SAAS,CAAC,CAAC;AAC3D,wBAAgB,KAAK,CAAC,KAAK,EAAE,SAAS,2CA4BrC;yBA5Be,KAAK;;;;;QAPpB;;;WAGG;;;;AAgDJ,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;AACzD,iBAAS,IAAI,CAAE,KAAK,EAAE,QAAQ,2CA2B7B;kBA3BQ,IAAI;;;;;;;;;QAJZ,0FAA0F"}
@@ -3,10 +3,6 @@ import { generateKey, capitalize, attributeMap } from '../../general/utilities';
3
3
  * Maps input type to form component name
4
4
  */
5
5
  export declare function mapTypeToComponent(myType: string): string;
6
- /**
7
- * Generates field JSON for form building
8
- */
9
- export declare function generateFieldJSON(component: string, type: string): any;
10
6
  /**
11
7
  * Generates type selection field for form builder
12
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"formutils.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formutils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIhF;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAWzD;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG,CA+ItE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,GAAG,CAwBvC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,CAgBpD;AAGD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"formutils.d.ts","sourceRoot":"","sources":["../../../../../src/components/sitebuilder/form/formutils.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAIhF;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAWzD;AAiKD;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,GAAG,CAwBvC;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,GAAG,GAAG,IAAI,CAgBpD;AAGD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,CAAC"}
@@ -14,6 +14,8 @@ export * from "./components/general/faq-accordion";
14
14
  export * from "./components/general/image";
15
15
  export * from "./components/general/intersection-observer";
16
16
  export * from "./components/general/loading";
17
+ export * from "./components/general/skeleton";
18
+ export * from "./components/general/skeleton-loading";
17
19
  export * from "./components/general/splitscroll";
18
20
  export * from "./components/general/manifest";
19
21
  export * from "./components/general/markdown";
@@ -39,6 +41,7 @@ export * from "./components/general/semantic";
39
41
  export * from "./components/general/sidepanel";
40
42
  export * from "./components/general/sitemap";
41
43
  export * from "./components/general/smartimage";
44
+ export * from "./components/general/global-error";
42
45
  export * from "./components/general/tab";
43
46
  export * from "./components/general/table";
44
47
  export * from "./components/general/tiles";
@@ -18,6 +18,7 @@ export * from "./components/general/schema-services";
18
18
  export * from "./components/general/schema-website";
19
19
  export * from "./components/general/sitemap";
20
20
  export * from "./components/general/utilities";
21
+ export * from "./components/general/skeleton";
21
22
  export * from "./components/integrations/contentful.delivery";
22
23
  export * from "./components/integrations/contentful.management";
23
24
  export * from "./components/integrations/flickr";
@@ -193,6 +193,52 @@ declare namespace _default {
193
193
  AssignmentExpression(node: any): void;
194
194
  };
195
195
  };
196
+ 'file-name-kebab-case': {
197
+ meta: {
198
+ type: string;
199
+ docs: {
200
+ description: string;
201
+ category: string;
202
+ recommended: boolean;
203
+ };
204
+ fixable: null;
205
+ schema: {
206
+ type: string;
207
+ properties: {
208
+ allow: {
209
+ type: string;
210
+ items: {
211
+ type: string;
212
+ };
213
+ };
214
+ };
215
+ additionalProperties: boolean;
216
+ }[];
217
+ messages: {
218
+ notKebab: string;
219
+ };
220
+ };
221
+ create(context: any): {
222
+ Program(node: any): void;
223
+ };
224
+ };
225
+ 'no-duplicate-export-names': {
226
+ meta: {
227
+ type: string;
228
+ docs: {
229
+ description: string;
230
+ category: string;
231
+ recommended: boolean;
232
+ };
233
+ schema: never[];
234
+ messages: {
235
+ duplicateExport: string;
236
+ };
237
+ };
238
+ create(context: any): {
239
+ Program(): void;
240
+ };
241
+ };
196
242
  };
197
243
  namespace configs {
198
244
  namespace recommended {
@@ -208,6 +254,8 @@ declare namespace _default {
208
254
  allowed: string[];
209
255
  })[];
210
256
  'pixelated/no-debug-true': string;
257
+ 'pixelated/file-name-kebab-case': string;
258
+ 'pixelated/no-duplicate-export-names': string;
211
259
  };
212
260
  export { rules_1 as rules };
213
261
  }
@@ -0,0 +1,26 @@
1
+ import { GlobalError } from '@/components/general/global-error';
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof GlobalError;
5
+ };
6
+ export default _default;
7
+ export declare const Default: {
8
+ (args: any): import("react/jsx-runtime").JSX.Element;
9
+ args: {
10
+ error: Error;
11
+ siteInfo: {
12
+ email: string;
13
+ };
14
+ };
15
+ };
16
+ export declare const NoContact: () => import("react/jsx-runtime").JSX.Element;
17
+ export declare const DetailsToggle: {
18
+ (args: any): import("react/jsx-runtime").JSX.Element;
19
+ args: {
20
+ error: Error;
21
+ };
22
+ play({ canvasElement }: {
23
+ canvasElement: HTMLElement;
24
+ }): Promise<void>;
25
+ };
26
+ //# sourceMappingURL=global-error.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-error.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/global-error.stories.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;;;;;AAEhE,wBAAwE;AAExE,eAAO,MAAM,OAAO;WAAU,GAAG;;;;;;;CAA8B,CAAC;AAGhE,eAAO,MAAM,SAAS,+CAAwD,CAAC;AAE/E,eAAO,MAAM,aAAa;WAAU,GAAG;;;;4BAEQ;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAFR,CAAC"}
@@ -0,0 +1,14 @@
1
+ import SkeletonLoading from '@/components/general/skeleton-loading';
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof SkeletonLoading;
5
+ };
6
+ export default _default;
7
+ export declare const Default: () => import("react/jsx-runtime").JSX.Element;
8
+ export declare const InfiniteHang: {
9
+ (): import("react/jsx-runtime").JSX.Element;
10
+ play({ canvasElement }: {
11
+ canvasElement: HTMLElement;
12
+ }): Promise<void>;
13
+ };
14
+ //# sourceMappingURL=skeleton-loading.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton-loading.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/skeleton-loading.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,eAAe,MAAM,uCAAuC,CAAC;;;;;AAEpE,wBAAgF;AAEhF,eAAO,MAAM,OAAO,+CAA4B,CAAC;AAEjD,eAAO,MAAM,YAAY;;4BAQqB;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAF3E,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { Skeleton } from '@/components/general/skeleton';
2
+ declare const _default: {
3
+ title: string;
4
+ component: typeof Skeleton;
5
+ };
6
+ export default _default;
7
+ export declare const Default: {
8
+ (): import("react/jsx-runtime").JSX.Element;
9
+ storyName: string;
10
+ };
11
+ export declare const Variants: {
12
+ (): import("react/jsx-runtime").JSX.Element;
13
+ storyName: string;
14
+ };
15
+ export declare const InfiniteHang: {
16
+ (): import("react/jsx-runtime").JSX.Element;
17
+ play({ canvasElement }: {
18
+ canvasElement: HTMLElement;
19
+ }): Promise<void>;
20
+ };
21
+ //# sourceMappingURL=skeleton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/skeleton.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;;;;;AAEzD,wBAGE;AAEF,eAAO,MAAM,OAAO;;;CAA+B,CAAC;AAGpD,eAAO,MAAM,QAAQ;;;CAMpB,CAAC;AAOF,eAAO,MAAM,YAAY;;4BAoBqB;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAF3E,CAAC"}
@@ -4,5 +4,17 @@ declare namespace _default {
4
4
  }
5
5
  export default _default;
6
6
  export function TilesStory(): import("react/jsx-runtime").JSX.Element;
7
+ export function TilesPlayground(): import("react/jsx-runtime").JSX.Element;
8
+ export namespace TilesPlayground {
9
+ let storyName: string;
10
+ }
11
+ export function Caption(): import("react/jsx-runtime").JSX.Element;
12
+ export namespace Caption {
13
+ let storyName_1: string;
14
+ export { storyName_1 as storyName };
15
+ export function play({ canvasElement }: {
16
+ canvasElement: any;
17
+ }): Promise<void>;
18
+ }
7
19
  import { Tiles } from "@/components/general/tiles";
8
20
  //# sourceMappingURL=tiles.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tiles.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/tiles.stories.js"],"names":[],"mappings":";;;;;AAsEO,sEAAwC;sBArEzB,4BAA4B"}
1
+ {"version":3,"file":"tiles.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/tiles.stories.js"],"names":[],"mappings":";;;;;AAoFO,sEAAwC;AAIxC,2EAeN;;;;AAIM,mEAiBN;;;;IAID;;sBAsBC;;sBArJqB,4BAA4B"}
@@ -1 +1 @@
1
- {"version":3,"file":"form.honeypot.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/form.honeypot.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAKA,wBAME;AAEF,eAAO,MAAM,cAAc;;;kBAmFW;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAJnE,CAAC"}
1
+ {"version":3,"file":"form.honeypot.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/sitebuilder/form.honeypot.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAKA,wBAME;AAEF,eAAO,MAAM,cAAc;;;kBAqGW;QAAE,aAAa,EAAE,WAAW,CAAA;KAAE;CAJnE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=global-error.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global-error.test.d.ts","sourceRoot":"","sources":["../../../src/tests/global-error.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=skeleton-loading.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton-loading.test.d.ts","sourceRoot":"","sources":["../../../src/tests/skeleton-loading.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=skeleton.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"skeleton.test.d.ts","sourceRoot":"","sources":["../../../src/tests/skeleton.test.tsx"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelated-tech/components",
3
- "version": "3.11.3",
3
+ "version": "3.11.5",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Pixelated Technologies",
@@ -149,7 +149,7 @@
149
149
  "eslint-plugin-react": "^7.37.4",
150
150
  "eslint-plugin-storybook": "^10.2.0",
151
151
  "file-loader": "^6.2.0",
152
- "happy-dom": "^20.3.7",
152
+ "happy-dom": "^20.3.9",
153
153
  "jsdom": "^27.4.0",
154
154
  "less-loader": "^12.3.0",
155
155
  "mini-css-extract-plugin": "^2.10.0",