@pixelated-tech/components 3.2.5 → 3.2.6

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 CHANGED
@@ -82,6 +82,7 @@ To get a local copy up and running follow these simple example steps.
82
82
 
83
83
  Components to help build websites quicker:
84
84
  1. Centralized 404 Error Page
85
+ 1. Accordion Component
85
86
  1. Buzzword Bingo Cards
86
87
  1. Page Callouts
87
88
  1. Image Carousel - Page, Header, and Simple
@@ -86,11 +86,29 @@ export function CalloutHeader({ title, url, target }) {
86
86
  /* ========== CALLOUT BUTTON ========== */
87
87
  CalloutButton.propTypes = {
88
88
  title: PropTypes.string.isRequired,
89
- url: PropTypes.string,
89
+ url: PropTypes.string.isRequired,
90
90
  target: PropTypes.string
91
91
  };
92
+ /* export function CalloutButton( { title, url, target } : CalloutButtonType) {
93
+ return (
94
+ <div className="callout-button">
95
+ { (url)
96
+ ? <button type="button" className="callout-button"><a href={url || ""} target={target || ""} rel={target=="_blank" ? "noopener noreferrer" : ""}>{title}</a></button>
97
+ : null
98
+ }
99
+ </div>
100
+ );
101
+ } */
92
102
  export function CalloutButton({ title, url, target }) {
103
+ const handleClick = () => {
104
+ if (target === '_blank') {
105
+ window.open(url, '_blank', 'noopener,noreferrer');
106
+ }
107
+ else {
108
+ window.location.href = url;
109
+ }
110
+ };
93
111
  return (_jsx("div", { className: "callout-button", children: (url)
94
- ? _jsx("button", { type: "button", className: "callout-button", children: _jsx("a", { href: url || "", target: target || "", rel: target == "_blank" ? "noopener noreferrer" : "", children: title }) })
112
+ ? _jsx("button", { type: "button", className: "callout-button", onClick: handleClick, children: title })
95
113
  : null }));
96
114
  }
@@ -142,10 +142,17 @@
142
142
  /* cursor: pointer */
143
143
  }
144
144
 
145
- .callout .callout-button a {
146
- display: inline-block;
145
+ .callout .callout-button button:hover {
146
+ color: #369;
147
+ text-decoration: underline;
148
+ cursor: pointer;
147
149
  }
148
150
 
151
+
152
+ /* .callout .callout-button a {
153
+ display: inline-block;
154
+ } */
155
+
149
156
  /* ========================================
150
157
  ============= BOXED CALLOUT =============
151
158
  ======================================== */
@@ -135,7 +135,7 @@ export function ContentfulListItem(props) {
135
135
  ? _jsx(ContentfulItemHeader, { url: itemURL, target: itemURLTarget, title: thisItem.fields.title })
136
136
  : _jsx(ContentfulItemHeader, { title: thisItem.fields.title }) }), _jsxs("div", { className: "contentful-item-details grid12", children: [_jsxs("div", { children: [_jsx("b", { children: "Item ID: " }), thisItem.sys.id] }), _jsxs("div", { children: [_jsx("b", { children: "UPC ID: " }), thisItem.fields.id] }), _jsxs("div", { children: [_jsx("b", { children: "Quantity: " }), thisItem.fields.quantity] }), _jsxs("div", { children: [_jsx("b", { children: "Brand / Model: " }), thisItem.fields.brand, " ", thisItem.fields.model] }), _jsxs("div", { children: [_jsx("b", { children: "Listing Date: " }), thisItem.fields.date] })] }), _jsx("div", { className: "contentful-item-price", children: itemURL
137
137
  ? _jsxs("a", { href: itemURL, target: itemURLTarget, rel: "noreferrer", children: ["$", thisItem.fields.price, " USD"] })
138
- : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsxs("div", { className: "contentful-itemAddToCart", children: [_jsx(ViewItemDetails, { href: "/store", itemID: thisItem.sys.id }), _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id })] })] })] }));
138
+ : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsxs("div", { className: "contentful-item-addtocart", children: [_jsx(ViewItemDetails, { href: "/store", itemID: thisItem.sys.id }), _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id })] })] })] }));
139
139
  }
140
140
  /* ========== CONTENTFUL ITEM HEADER ========== */
141
141
  ContentfulItemHeader.propTypes = {
@@ -235,7 +235,7 @@ export function ContentfulItemDetail(props) {
235
235
  ? _jsx(ContentfulItemHeader, { url: itemURL, title: thisItem.fields.title })
236
236
  : _jsx(ContentfulItemHeader, { title: thisItem.fields.title }) }), _jsx("br", {}), _jsx("div", { className: "contentful-item-photo-carousel grid-s1-e7", children: _jsx(Carousel, { cards: cards, draggable: true, imgFit: "contain" }) }), _jsxs("div", { className: "grid-s7-e13", children: [_jsx("div", { className: "contentful-item-details grid12", children: _jsx("div", { dangerouslySetInnerHTML: { __html: thisItem.fields.description.replace(/(<br\s*\/?>\s*){2,}/gi, '') } }) }), _jsx("br", {}), _jsxs("div", { className: "contentful-item-details grid12", children: [_jsxs("div", { children: [_jsx("b", { children: "Item ID: " }), thisItem.sys.id] }), _jsxs("div", { children: [_jsx("b", { children: "UPC ID: " }), thisItem.fields.id] }), _jsxs("div", { children: [_jsx("b", { children: "Quantity: " }), thisItem.fields.quantity] }), _jsxs("div", { children: [_jsx("b", { children: "Brand / Model: " }), thisItem.fields.brand, " ", thisItem.fields.model] }), _jsxs("div", { children: [_jsx("b", { children: "Listing Date: " }), thisItem.fields.date] }), _jsx("br", {})] }), _jsx("div", { className: "contentful-item-price", children: itemURL
237
237
  ? _jsxs("a", { href: itemURL, target: itemURLTarget, rel: "noreferrer", children: ["$", thisItem.fields.price, " USD"] })
238
- : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsx("div", { className: "contentful-itemAddToCart", children: _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id }) })] })] }) }));
238
+ : "$" + thisItem.fields.price + " USD" }), _jsx("br", {}), _jsx("div", { className: "contentful-item-addtocart", children: _jsx(AddToCartButton, { handler: AddToShoppingCart, item: shoppingCartItem, itemID: thisItem.sys.id }) })] })] }) }));
239
239
  }
240
240
  else {
241
241
  return (_jsx(_Fragment, { children: _jsx("div", { id: "contentful-items", className: "contentful-items", children: _jsx("div", { className: "centered", children: "Loading..." }) }) }));
@@ -8,9 +8,9 @@ import { Loading, ToggleLoading } from '../general/loading';
8
8
  import "./wordpress.css";
9
9
  // https://microformats.org/wiki/h-entry
10
10
  function decodeString(str) {
11
- const textarea = { value: '' };
11
+ const textarea = document.createElement('textarea');
12
12
  textarea.innerHTML = str;
13
- return textarea.value || str;
13
+ return textarea.value;
14
14
  }
15
15
  export function BlogPostList(props) {
16
16
  const { site, count, posts: cachedPosts } = props;
@@ -0,0 +1,114 @@
1
+ /* ========================================
2
+ ===== ACCORDION COMPONENT =====
3
+ ======================================== */
4
+
5
+ .accordion {
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ .accordion-item {
11
+ margin-bottom: 0.5rem;
12
+ border: 1px solid #e1e5e9;
13
+ border-radius: 4px;
14
+ background: #fff;
15
+ }
16
+
17
+ .accordion-title {
18
+ cursor: pointer;
19
+ padding: 1rem;
20
+ font-size: 1rem;
21
+ font-weight: 600;
22
+ color: #1a202c;
23
+ background: none;
24
+ border: none;
25
+ width: 100%;
26
+ text-align: left;
27
+ display: flex;
28
+ align-items: center;
29
+ gap: 0.75rem;
30
+ transition: background-color 0.2s ease;
31
+ }
32
+
33
+ .accordion-title:hover {
34
+ background-color: #f7fafc;
35
+ }
36
+
37
+ .accordion-title:focus {
38
+ outline: 2px solid #3182ce;
39
+ outline-offset: -2px;
40
+ background-color: #f7fafc;
41
+ }
42
+
43
+ /* Hide default triangle and add custom one */
44
+ .accordion-title::before {
45
+ content: '▶';
46
+ font-size: 0.75rem;
47
+ color: #718096;
48
+ transition: transform 0.2s ease;
49
+ flex-shrink: 0;
50
+ }
51
+
52
+ details[open] .accordion-title::before {
53
+ content: '🔽';
54
+ transform: rotate(0deg);
55
+ }
56
+
57
+ /* Remove default marker */
58
+ .accordion-title::-webkit-details-marker,
59
+ .accordion-title::marker {
60
+ display: none;
61
+ }
62
+
63
+ .accordion-title h3 {
64
+ margin: 0;
65
+ font-size: inherit;
66
+ font-weight: inherit;
67
+ color: inherit;
68
+ flex: 1;
69
+ }
70
+
71
+ .accordion-content {
72
+ padding: 1rem;
73
+ border-top: 1px solid #e1e5e9;
74
+ background-color: #f7fafc;
75
+ }
76
+
77
+ .accordion-content p {
78
+ margin: 0 0 1rem 0;
79
+ }
80
+
81
+ .accordion-content p:last-child {
82
+ margin-bottom: 0;
83
+ }
84
+
85
+ /* Animation for smooth expand/collapse */
86
+ .accordion-content {
87
+ animation: accordionSlideDown 0.3s ease-out;
88
+ }
89
+
90
+ details[open] .accordion-content {
91
+ animation: accordionSlideDown 0.3s ease-out;
92
+ }
93
+
94
+ @keyframes accordionSlideDown {
95
+ from {
96
+ opacity: 0;
97
+ transform: translateY(-10px);
98
+ }
99
+ to {
100
+ opacity: 1;
101
+ transform: translateY(0);
102
+ }
103
+ }
104
+
105
+ /* Respect user's motion preferences */
106
+ @media (prefers-reduced-motion: reduce) {
107
+ .accordion-content {
108
+ animation: none;
109
+ }
110
+
111
+ .accordion-title::before {
112
+ transition: none;
113
+ }
114
+ }
@@ -0,0 +1,13 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import PropTypes from 'prop-types';
4
+ import './accordion.css';
5
+ Accordion.propTypes = {
6
+ items: PropTypes.arrayOf(PropTypes.shape({
7
+ title: PropTypes.string.isRequired,
8
+ content: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,
9
+ })).isRequired,
10
+ };
11
+ export function Accordion({ items }) {
12
+ return (_jsx("div", { className: "accordion", children: items?.map((item, index) => (item ? (_jsxs("details", { className: "accordion-item", children: [_jsx("summary", { className: "accordion-title", children: _jsx("h3", { id: `accordion-header-${index}`, children: item.title }) }), _jsx("div", { className: "accordion-content", role: "region", "aria-labelledby": `accordion-header-${index}`, children: typeof item.content === 'string' ? (_jsx("p", { children: item.content })) : (item.content) })] }, index)) : null)) }));
13
+ }
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unused-vars */
1
2
  'use client';
2
3
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
4
  import { useEffect, useRef } from 'react';
@@ -86,14 +87,10 @@ export function MenuExpando(props) {
86
87
  }, []);
87
88
  function generateMenuItems() {
88
89
  const myItems = [];
89
- console.log('MenuExpando props.menuItems:', props.menuItems);
90
- console.log('Is array?', Array.isArray(props.menuItems));
91
90
  // Handle both object format (name: href) and array format (with name/path properties)
92
91
  if (Array.isArray(props.menuItems)) {
93
92
  // Array format like MenuAccordion
94
- console.log('Processing as array, length:', props.menuItems.length);
95
93
  for (const item of props.menuItems) {
96
- console.log('Item:', item);
97
94
  if (item.routes && item.routes.length > 0) {
98
95
  // Item has nested routes - create expandable submenu
99
96
  myItems.push(_jsx("li", { children: _jsxs("details", { className: "menuExpandoNested", children: [_jsx("summary", { children: _jsx("a", { href: item.path, children: item.name }) }), _jsx("ul", { children: item.routes.map((route) => (_jsx(MenuExpandoItem, { name: route.name, href: route.path }, route.name))) })] }) }, item.name));
@@ -106,12 +103,10 @@ export function MenuExpando(props) {
106
103
  }
107
104
  else {
108
105
  // Object format
109
- console.log('Processing as object');
110
106
  for (const itemKey in props.menuItems) {
111
107
  myItems.push(_jsx(MenuExpandoItem, { name: itemKey, href: props.menuItems[itemKey] }, itemKey));
112
108
  }
113
109
  }
114
- console.log('Generated items count:', myItems.length);
115
110
  return myItems;
116
111
  }
117
112
  return (_jsx("div", { className: "menuExpando", id: "menuExpando", children: _jsxs("details", { className: "menuExpandoWrapper", id: "menuExpandoWrapper", ref: detailsRef, children: [_jsx("summary", {}), _jsx("ul", { ref: ulRef, children: generateMenuItems() })] }) }));
@@ -104,6 +104,14 @@
104
104
  height: auto;
105
105
  margin: 5px auto;
106
106
  }
107
+
108
+ .pixCartButton:hover,
109
+ .pixCart .pixCartButton:hover,
110
+ #pixCartButton.pixCartButton:hover {
111
+ color: #369;
112
+ text-decoration: underline;
113
+ }
114
+
107
115
  #pixCartButton.pixCartButton {
108
116
  width: 80px;
109
117
  min-width: 80px;
@@ -115,6 +123,8 @@
115
123
 
116
124
 
117
125
 
126
+
127
+
118
128
  input[readonly] {
119
129
  border: none;
120
130
  background-color: transparent;
package/dist/index.js CHANGED
@@ -25,6 +25,7 @@ export * from './components/config/config.server';
25
25
  export * from './components/config/config';
26
26
  export * from './components/config/config.types';
27
27
  export * from './components/general/css';
28
+ export * from './components/general/accordion';
28
29
  export * from './components/general/image';
29
30
  export * from './components/general/loading';
30
31
  export * from './components/general/microinteractions';
@@ -46,7 +46,7 @@ export declare function CalloutButton({ title, url, target }: CalloutButtonType)
46
46
  export declare namespace CalloutButton {
47
47
  var propTypes: {
48
48
  title: PropTypes.Validator<string>;
49
- url: PropTypes.Requireable<string>;
49
+ url: PropTypes.Validator<string>;
50
50
  target: PropTypes.Requireable<string>;
51
51
  };
52
52
  }
@@ -1 +1 @@
1
- {"version":3,"file":"callout.d.ts","sourceRoot":"","sources":["../../../../src/components/callout/callout.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,gBAAgB,CAAC;AAiBxB,eAAO,MAAM,QAAQ,iFAAkF,CAAC;AACxG,eAAO,MAAM,MAAM,mDAAoD,CAAC;AACxE,eAAO,MAAM,OAAO,qCAAsC,CAAC;AAC3D,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAGrD,MAAM,MAAM,SAAS,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC9C,MAAM,MAAM,WAAW,GAAG,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;AAChD,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AA0BtD,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC;AAC/D,wBAAgB,OAAO,CAAC,EACvB,OAAmB,EACnB,QAAqB,EACrB,MAAqB,EACrB,SAAkB,EAClB,WAAiC,EACjC,GAAG,EAAE,GAAG,EAAE,MAAM,EAChB,QAAmB,EACnB,QAAQ,EACR,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EACpC,SAAS,GAGgB,EAAE,WAAW,2CA2EtC;yBAxFe,OAAO;;;;;;;;;;;;;;;;;;;;;;AAkGvB,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAC,EAAE,iBAAiB,2CASrE;yBATe,aAAa;;;;;;;AAmB7B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAG,iBAAiB,2CASxE;yBATe,aAAa"}
1
+ {"version":3,"file":"callout.d.ts","sourceRoot":"","sources":["../../../../src/components/callout/callout.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAInD,OAAO,gBAAgB,CAAC;AAiBxB,eAAO,MAAM,QAAQ,iFAAkF,CAAC;AACxG,eAAO,MAAM,MAAM,mDAAoD,CAAC;AACxE,eAAO,MAAM,OAAO,qCAAsC,CAAC;AAC3D,eAAO,MAAM,UAAU,4BAA6B,CAAC;AAGrD,MAAM,MAAM,SAAS,GAAG,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;AAC9C,MAAM,MAAM,WAAW,GAAG,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC;AAClD,MAAM,MAAM,UAAU,GAAG,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC;AAChD,MAAM,MAAM,aAAa,GAAG,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;AA0BtD,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,SAAS,CAAC,CAAC;AAC/D,wBAAgB,OAAO,CAAC,EACvB,OAAmB,EACnB,QAAqB,EACrB,MAAqB,EACrB,SAAkB,EAClB,WAAiC,EACjC,GAAG,EAAE,GAAG,EAAE,MAAM,EAChB,QAAmB,EACnB,QAAQ,EACR,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EACpC,SAAS,GAGgB,EAAE,WAAW,2CA2EtC;yBAxFe,OAAO;;;;;;;;;;;;;;;;;;;;;;AAkGvB,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAC3E,wBAAgB,aAAa,CAAE,EAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAC,EAAE,iBAAiB,2CASrE;yBATe,aAAa;;;;;;;AAmB7B,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,SAAS,CAAC,CAAC;AAW3E,wBAAgB,aAAa,CAAE,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,EAAG,iBAAiB,2CAgBxE;yBAhBe,aAAa"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import PropTypes, { InferProps } from 'prop-types';
3
+ import './accordion.css';
4
+ export interface AccordionItem {
5
+ title: string;
6
+ content: string | React.ReactNode;
7
+ }
8
+ export type AccordionType = InferProps<typeof Accordion.propTypes>;
9
+ export declare function Accordion({ items }: AccordionType): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace Accordion {
11
+ var propTypes: {
12
+ items: PropTypes.Validator<(PropTypes.InferProps<{
13
+ title: PropTypes.Validator<string>;
14
+ content: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
15
+ }> | null | undefined)[]>;
16
+ };
17
+ }
18
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../../src/components/general/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,iBAAiB,CAAC;AAEzB,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;CACnC;AAUD,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;AACnE,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,EAAE,aAAa,2CA2BjD;yBA3Be,SAAS"}
@@ -1 +1 @@
1
- {"version":3,"file":"menu-expando.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-expando.tsx"],"names":[],"mappings":"AAGA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAE5B,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,2CA2JrC;yBA3Je,WAAW;;;;;AAwK3B,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,2CAIzC;yBAJe,eAAe;;;;;;AAW/B,wBAAgB,iBAAiB,4CAahC;yBAbe,iBAAiB"}
1
+ {"version":3,"file":"menu-expando.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/menu-expando.tsx"],"names":[],"mappings":"AAIA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,oBAAoB,CAAC;AAE5B,wBAAgB,WAAW,CAAC,KAAK,EAAE,GAAG,2CAkJrC;yBAlJe,WAAW;;;;;AA+J3B,wBAAgB,eAAe,CAAC,KAAK,EAAE,GAAG,2CAIzC;yBAJe,eAAe;;;;;;AAW/B,wBAAgB,iBAAiB,4CAahC;yBAbe,iBAAiB"}
@@ -23,6 +23,7 @@ export * from "./components/config/config.server";
23
23
  export * from "./components/config/config";
24
24
  export * from "./components/config/config.types";
25
25
  export * from "./components/general/css";
26
+ export * from "./components/general/accordion";
26
27
  export * from "./components/general/image";
27
28
  export * from "./components/general/loading";
28
29
  export * from "./components/general/microinteractions";
@@ -0,0 +1,10 @@
1
+ declare namespace _default {
2
+ export let title: string;
3
+ export { Accordion as component };
4
+ }
5
+ export default _default;
6
+ export function Default(): import("react/jsx-runtime").JSX.Element;
7
+ export function WithHTMLContent(): import("react/jsx-runtime").JSX.Element;
8
+ export function SingleItem(): import("react/jsx-runtime").JSX.Element;
9
+ import { Accordion } from '@/components/general/accordion';
10
+ //# sourceMappingURL=accordion.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.stories.d.ts","sourceRoot":"","sources":["../../../../src/stories/general/accordion.stories.js"],"names":[],"mappings":";;;;;AAuBO,mEAEN;AAEM,2EAeN;AAEM,sEAON;0BAlDyB,gCAAgC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accordion.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.test.d.ts","sourceRoot":"","sources":["../../../src/tests/accordion.test.tsx"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pixelated-tech/components",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Pixelated Technologies",
@@ -91,7 +91,7 @@
91
91
  "@eslint/markdown": "^7.5.1",
92
92
  "@storybook/addon-webpack5-compiler-babel": "^4.0.0",
93
93
  "@storybook/preset-scss": "^1.0.3",
94
- "@storybook/react-webpack5": "^10.1.7",
94
+ "@storybook/react-webpack5": "^10.1.8",
95
95
  "@testing-library/dom": "^10.4.1",
96
96
  "@testing-library/react": "^16.3.0",
97
97
  "@testing-library/user-event": "^14.6.1",
@@ -110,14 +110,14 @@
110
110
  "clean-webpack-plugin": "^4.0.0",
111
111
  "copy-webpack-plugin": "^13.0.1",
112
112
  "css-loader": "^7.1.2",
113
- "eslint": "^9.39.1",
113
+ "eslint": "^9.39.2",
114
114
  "eslint-config-standard": "^17.0.0",
115
115
  "eslint-plugin-import": "^2.32.0",
116
116
  "eslint-plugin-jsx-a11y": "^6.10.2",
117
117
  "eslint-plugin-n": "^17.23.1",
118
118
  "eslint-plugin-promise": "^7.2.1",
119
119
  "eslint-plugin-react": "^7.37.4",
120
- "eslint-plugin-storybook": "^10.1.7",
120
+ "eslint-plugin-storybook": "^10.1.8",
121
121
  "file-loader": "^6.2.0",
122
122
  "happy-dom": "^20.0.11",
123
123
  "jsdom": "^27.3.0",
@@ -131,7 +131,7 @@
131
131
  "react-test-renderer": "^19.2.3",
132
132
  "sass": "^1.96.0",
133
133
  "sass-loader": "^16.0.6",
134
- "storybook": "^10.1.7",
134
+ "storybook": "^10.1.8",
135
135
  "style-loader": "^4.0.0",
136
136
  "ts-loader": "^9.5.4",
137
137
  "typescript": "^5.9.3",