@pure-ds/storybook 0.5.42 → 0.5.43

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.
@@ -7,10 +7,11 @@ addons.register(ADDON_ID, () => {
7
7
  addons.add(PANEL_ID, {
8
8
  type: types.PANEL,
9
9
  title: 'Code',
10
- render: ({ active, key }) => (
11
- <div style={{ display: active ? 'block' : 'none', height: '100%' }}>
12
- <Panel key={key} active={active} />
13
- </div>
14
- )
10
+ render: ({ active, key }) =>
11
+ React.createElement(
12
+ 'div',
13
+ { style: { display: active ? 'block' : 'none', height: '100%' } },
14
+ React.createElement(Panel, { key, active })
15
+ )
15
16
  });
16
17
  });
@@ -28,17 +28,19 @@ export const SearchTool = () => {
28
28
  setIsOpen(newState);
29
29
  }, [isOpen, channel]);
30
30
 
31
- return (
32
- <IconButton
33
- key="search-tool"
34
- active={isOpen}
35
- title="Quick Search PDS"
36
- onClick={toggleSearch}
37
- >
38
- <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2">
39
- <circle cx="11" cy="11" r="8" />
40
- <path d="m21 21-4.35-4.35" />
41
- </svg>
42
- </IconButton>
31
+ return React.createElement(
32
+ IconButton,
33
+ {
34
+ key: 'search-tool',
35
+ active: isOpen,
36
+ title: 'Quick Search PDS',
37
+ onClick: toggleSearch
38
+ },
39
+ React.createElement(
40
+ 'svg',
41
+ { width: '14', height: '14', viewBox: '0 0 24 24', fill: 'none', stroke: 'currentColor', strokeWidth: '2' },
42
+ React.createElement('circle', { cx: '11', cy: '11', r: '8' }),
43
+ React.createElement('path', { d: 'm21 21-4.35-4.35' })
44
+ )
43
45
  );
44
46
  };
@@ -15,16 +15,20 @@ export const Tool = () => {
15
15
  emit(EVENTS.OPEN_CONFIGURATOR);
16
16
  }, [emit]);
17
17
 
18
- return (
19
- <IconButton
20
- key="configurator-toggle"
21
- title="Open PDS Configurator"
22
- onClick={openConfigurator}
23
- >
24
- <svg width="14" height="14" viewBox="0 0 24 24" fill="currentColor">
25
- <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/>
26
- <circle cx="12" cy="12" r="3"/>
27
- </svg>
28
- </IconButton>
18
+ return React.createElement(
19
+ IconButton,
20
+ {
21
+ key: 'configurator-toggle',
22
+ title: 'Open PDS Configurator',
23
+ onClick: openConfigurator
24
+ },
25
+ React.createElement(
26
+ 'svg',
27
+ { width: '14', height: '14', viewBox: '0 0 24 24', fill: 'currentColor' },
28
+ React.createElement('path', {
29
+ d: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z'
30
+ }),
31
+ React.createElement('circle', { cx: '12', cy: '12', r: '3' })
32
+ )
29
33
  );
30
34
  };
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-01-31T10:14:59.283Z",
2
+ "generatedAt": "2026-02-04T07:13:53.625Z",
3
3
  "sources": {
4
4
  "customElements": "custom-elements.json",
5
5
  "ontology": "src\\js\\pds-core\\pds-ontology.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pure-ds/storybook",
3
- "version": "0.5.42",
3
+ "version": "0.5.43",
4
4
  "description": "Storybook showcase for Pure Design System with live configuration",
5
5
  "type": "module",
6
6
  "private": false,
@@ -38,7 +38,7 @@
38
38
  "pds:build-icons": "pds-build-icons"
39
39
  },
40
40
  "peerDependencies": {
41
- "@pure-ds/core": "^0.5.42"
41
+ "@pure-ds/core": "^0.5.43"
42
42
  },
43
43
  "dependencies": {
44
44
  "@custom-elements-manifest/analyzer": "^0.11.0",