@sellmate/design-system-react 0.0.13 → 0.0.14

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/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './components/components';
2
- export { registerStencil } from './registerStencil';
2
+ export { defineCustomElements } from '@sellmate/design-system/loader';
3
3
  export type { SdTableSortDir, SdTableColumn, Row as SdTableRow, } from '@sellmate/design-system';
package/dist/index.js CHANGED
@@ -1,4 +1,3 @@
1
1
  'use strict';
2
2
  export * from './components/components';
3
- // Optional manual registration (not automatically called)
4
- export { registerStencil } from './registerStencil';
3
+ export { defineCustomElements } from '@sellmate/design-system/loader';
package/lib/index.ts CHANGED
@@ -1,9 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  export * from './components/components';
4
-
5
- // Optional manual registration (not automatically called)
6
- export { registerStencil } from './registerStencil';
4
+ export { defineCustomElements } from '@sellmate/design-system/loader';
7
5
 
8
6
  // Export sd-table types for React usage
9
7
  export type {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellmate/design-system-react",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "Design System - React Component Wrappers",
5
5
  "keywords": [
6
6
  "react",
@@ -67,5 +67,5 @@
67
67
  "rimraf": "^6.0.1",
68
68
  "typescript": "^5.9.3"
69
69
  },
70
- "gitHead": "6423e809f1dfa0530fb3dcbe4f07d2dad13859d4"
70
+ "gitHead": "90165657c1972bda08f5e7a5eaffbdd672c1674b"
71
71
  }
@@ -1 +0,0 @@
1
- export declare function registerStencil(): void;
@@ -1,8 +0,0 @@
1
- import { defineCustomElements } from '@sellmate/design-system/loader';
2
- let initialized = false;
3
- export function registerStencil() {
4
- if (typeof window === 'undefined' || initialized)
5
- return;
6
- defineCustomElements(window);
7
- initialized = true;
8
- }
@@ -1,9 +0,0 @@
1
- import { defineCustomElements } from '@sellmate/design-system/loader';
2
-
3
- let initialized = false;
4
-
5
- export function registerStencil() {
6
- if (typeof window === 'undefined' || initialized) return;
7
- defineCustomElements(window);
8
- initialized = true;
9
- }