@vygruppen/spor-react 12.5.5 → 12.5.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.5.5 build /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.5.6 build /home/runner/work/spor/spor/packages/spor-react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.tsx, src/icons/index.tsx
@@ -10,18 +10,18 @@ CLI Target: node16
10
10
  CJS Build start
11
11
  ESM Build start
12
12
  DTS Build start
13
- CJS dist/icons/index.js 380.00 B
14
- CJS dist/index.js 311.06 KB
15
- CJS dist/icons/index.js.map 157.00 B
16
- CJS dist/index.js.map 622.96 KB
17
- CJS ⚡️ Build success in 2688ms
18
- ESM dist/index.mjs 290.52 KB
13
+ ESM dist/index.mjs 290.51 KB
19
14
  ESM dist/icons/index.mjs 110.00 B
20
- ESM dist/index.mjs.map 622.96 KB
21
15
  ESM dist/icons/index.mjs.map 157.00 B
22
- ESM ⚡️ Build success in 2688ms
23
- DTS ⚡️ Build success in 29261ms
16
+ ESM dist/index.mjs.map 622.94 KB
17
+ ESM ⚡️ Build success in 2822ms
18
+ CJS dist/index.js 311.05 KB
19
+ CJS dist/icons/index.js 380.00 B
20
+ CJS dist/icons/index.js.map 157.00 B
21
+ CJS dist/index.js.map 622.94 KB
22
+ CJS ⚡️ Build success in 2825ms
23
+ DTS ⚡️ Build success in 26619ms
24
24
  DTS dist/icons/index.d.ts 44.00 B
25
- DTS dist/index.d.ts 153.11 KB
25
+ DTS dist/index.d.ts 153.14 KB
26
26
  DTS dist/icons/index.d.mts 44.00 B
27
- DTS dist/index.d.mts 153.11 KB
27
+ DTS dist/index.d.mts 153.14 KB
@@ -1,5 +1,5 @@
1
1
 
2
- > @vygruppen/spor-react@12.5.5 postinstall /home/runner/work/spor/spor/packages/spor-react
2
+ > @vygruppen/spor-react@12.5.6 postinstall /home/runner/work/spor/spor/packages/spor-react
3
3
  > chakra typegen src/theme/index.ts
4
4
 
5
5
  ┌ Chakra CLI ⚡️
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vygruppen/spor-react
2
2
 
3
+ ## 12.5.6
4
+
5
+ ### Patch Changes
6
+
7
+ - be1c7e9: Correctly fix type of expandable
8
+
3
9
  ## 12.5.5
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -56,7 +56,7 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemP
56
56
  * </Expandable>
57
57
  * ```
58
58
  */
59
- declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.AccordionRootProps & {
59
+ declare const Expandable: React$1.ForwardRefExoticComponent<Omit<_chakra_ui_react.AccordionRootProps & {
60
60
  variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
61
61
  } & {
62
62
  children?: React$1.ReactNode | undefined;
@@ -66,7 +66,7 @@ declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.Acc
66
66
  } & Omit<_chakra_ui_react.AccordionItemTriggerProps, "indicatorElement"> & HeadingLevel & {
67
67
  startElement?: React.ReactNode;
68
68
  showChevron?: boolean;
69
- } & {
69
+ }, "title"> & HeadingLevel & {
70
70
  title: React$1.ReactNode;
71
71
  } & React$1.RefAttributes<HTMLDivElement>>;
72
72
  /**
package/dist/index.d.ts CHANGED
@@ -56,7 +56,7 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Accordion$1.ItemP
56
56
  * </Expandable>
57
57
  * ```
58
58
  */
59
- declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.AccordionRootProps & {
59
+ declare const Expandable: React$1.ForwardRefExoticComponent<Omit<_chakra_ui_react.AccordionRootProps & {
60
60
  variant?: _chakra_ui_react.ConditionalValue<"ghost" | "core" | "floating" | undefined>;
61
61
  } & {
62
62
  children?: React$1.ReactNode | undefined;
@@ -66,7 +66,7 @@ declare const Expandable: React$1.ForwardRefExoticComponent<_chakra_ui_react.Acc
66
66
  } & Omit<_chakra_ui_react.AccordionItemTriggerProps, "indicatorElement"> & HeadingLevel & {
67
67
  startElement?: React.ReactNode;
68
68
  showChevron?: boolean;
69
- } & {
69
+ }, "title"> & HeadingLevel & {
70
70
  title: React$1.ReactNode;
71
71
  } & React$1.RefAttributes<HTMLDivElement>>;
72
72
  /**
package/dist/index.js CHANGED
@@ -122,7 +122,7 @@ var AccordionItem = react.Accordion.Item;
122
122
  var Expandable = React28.forwardRef(
123
123
  (props, ref) => {
124
124
  const { title, children, headingLevel, startElement, ...rest } = props;
125
- return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { ...props, ref, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
125
+ return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { ref, ...rest, children: /* @__PURE__ */ jsxRuntime.jsx(
126
126
  ExpandableItem,
127
127
  {
128
128
  title,