@uxuissk/design-system-core 3.4.5 → 3.4.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.
@@ -0,0 +1,117 @@
1
+ // Auto-generated by scripts/generate-react-types. Do not edit by hand.
2
+ // Regenerate with: npm run generate:react-types
3
+ //
4
+ // Usage in a React/TSX consumer project, either:
5
+ // 1. add `"@uxuissk/design-system-core/react-types"` to tsconfig.json `types`
6
+ // 2. or add `/// <reference types="@uxuissk/design-system-core/react-types" />`
7
+ // at the top of any .tsx file.
8
+ //
9
+ // Note on prop typing: each tag accepts the standard React HTMLAttributes plus
10
+ // arbitrary string-valued attributes (via `Record<string, unknown>`). This
11
+ // matches how custom elements actually consume attributes in the DOM. For full
12
+ // reactive prop typing per component, wrap with `@lit-labs/react` createComponent.
13
+ import type * as React from "react";
14
+
15
+ type SskJSXProps =
16
+ React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> &
17
+ Record<string, unknown>;
18
+
19
+ declare module "react" {
20
+ namespace JSX {
21
+ interface IntrinsicElements {
22
+ "ssk-accordion": SskJSXProps;
23
+ "ssk-accordion-item": SskJSXProps;
24
+ "ssk-addon-phone-country": SskJSXProps;
25
+ "ssk-advanced-data-table": SskJSXProps;
26
+ "ssk-alert": SskJSXProps;
27
+ "ssk-app-shell": SskJSXProps;
28
+ "ssk-app-shell-provider": SskJSXProps;
29
+ "ssk-avatar": SskJSXProps;
30
+ "ssk-badge": SskJSXProps;
31
+ "ssk-bar-chart": SskJSXProps;
32
+ "ssk-button": SskJSXProps;
33
+ "ssk-calendar": SskJSXProps;
34
+ "ssk-card": SskJSXProps;
35
+ "ssk-card-group": SskJSXProps;
36
+ "ssk-card-select": SskJSXProps;
37
+ "ssk-cell": SskJSXProps;
38
+ "ssk-checkbox": SskJSXProps;
39
+ "ssk-code-block": SskJSXProps;
40
+ "ssk-container": SskJSXProps;
41
+ "ssk-country-icon": SskJSXProps;
42
+ "ssk-date-display": SskJSXProps;
43
+ "ssk-date-picker": SskJSXProps;
44
+ "ssk-divider": SskJSXProps;
45
+ "ssk-donut-chart": SskJSXProps;
46
+ "ssk-download-file": SskJSXProps;
47
+ "ssk-drawer": SskJSXProps;
48
+ "ssk-drawer-header": SskJSXProps;
49
+ "ssk-dropdown": SskJSXProps;
50
+ "ssk-dropdown-button": SskJSXProps;
51
+ "ssk-dropdown-option": SskJSXProps;
52
+ "ssk-dropdown-preview": SskJSXProps;
53
+ "ssk-dynamic-table": SskJSXProps;
54
+ "ssk-expandable-card": SskJSXProps;
55
+ "ssk-feature-page-scaffold": SskJSXProps;
56
+ "ssk-filter-bar": SskJSXProps;
57
+ "ssk-header-cell": SskJSXProps;
58
+ "ssk-heading": SskJSXProps;
59
+ "ssk-i18n-provider": SskJSXProps;
60
+ "ssk-i18n-template": SskJSXProps;
61
+ "ssk-i18n-translate": SskJSXProps;
62
+ "ssk-icon": SskJSXProps;
63
+ "ssk-image": SskJSXProps;
64
+ "ssk-image-cropper": SskJSXProps;
65
+ "ssk-input": SskJSXProps;
66
+ "ssk-input-addon": SskJSXProps;
67
+ "ssk-input-range": SskJSXProps;
68
+ "ssk-input-tag": SskJSXProps;
69
+ "ssk-line-chart": SskJSXProps;
70
+ "ssk-logo": SskJSXProps;
71
+ "ssk-menu-group": SskJSXProps;
72
+ "ssk-menu-items": SskJSXProps;
73
+ "ssk-misc-icon": SskJSXProps;
74
+ "ssk-modal": SskJSXProps;
75
+ "ssk-page-header": SskJSXProps;
76
+ "ssk-pagination": SskJSXProps;
77
+ "ssk-pin-code": SskJSXProps;
78
+ "ssk-progress-bar": SskJSXProps;
79
+ "ssk-radio": SskJSXProps;
80
+ "ssk-radio-group": SskJSXProps;
81
+ "ssk-range-date-picker": SskJSXProps;
82
+ "ssk-sidebar": SskJSXProps;
83
+ "ssk-sidebar-account-switcher": SskJSXProps;
84
+ "ssk-sidebar-group": SskJSXProps;
85
+ "ssk-sidebar-header": SskJSXProps;
86
+ "ssk-sidebar-item": SskJSXProps;
87
+ "ssk-sidebar-list": SskJSXProps;
88
+ "ssk-skeleton": SskJSXProps;
89
+ "ssk-spinner": SskJSXProps;
90
+ "ssk-stepper": SskJSXProps;
91
+ "ssk-tab-button": SskJSXProps;
92
+ "ssk-tab-header": SskJSXProps;
93
+ "ssk-table": SskJSXProps;
94
+ "ssk-table-cell": SskJSXProps;
95
+ "ssk-table-row": SskJSXProps;
96
+ "ssk-tabs": SskJSXProps;
97
+ "ssk-tag": SskJSXProps;
98
+ "ssk-text": SskJSXProps;
99
+ "ssk-textarea": SskJSXProps;
100
+ "ssk-theme-provider": SskJSXProps;
101
+ "ssk-time": SskJSXProps;
102
+ "ssk-timeline": SskJSXProps;
103
+ "ssk-toast": SskJSXProps;
104
+ "ssk-toast-provider": SskJSXProps;
105
+ "ssk-toggle": SskJSXProps;
106
+ "ssk-tooltip": SskJSXProps;
107
+ "ssk-top-navbar": SskJSXProps;
108
+ "ssk-wave-icon": SskJSXProps;
109
+ "ssk-widget-example": SskJSXProps;
110
+ "ssk-widget-grid": SskJSXProps;
111
+ "ssk-widget-matric": SskJSXProps;
112
+ "ssk-widget-table": SskJSXProps;
113
+ "ssk-widget-title": SskJSXProps;
114
+ "ssk-widget-user-detail": SskJSXProps;
115
+ }
116
+ }
117
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxuissk/design-system-core",
3
- "version": "3.4.5",
3
+ "version": "3.4.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,6 +20,9 @@
20
20
  "./style.css": "./dist/sellsuki-components.css",
21
21
  "./styles.css": "./dist/sellsuki-components.css",
22
22
  "./bundled": "./dist/sellsuki-components.bundled.js",
23
+ "./react-types": {
24
+ "types": "./dist/react-types.d.ts"
25
+ },
23
26
  "./test-utils/vibecode-contract": {
24
27
  "import": "./dist/test-utils/vibecode-contract.js",
25
28
  "types": "./dist/test-utils/vibecode-contract.d.ts"
@@ -27,9 +30,10 @@
27
30
  },
28
31
  "scripts": {
29
32
  "dev": "vite",
30
- "build": "cross-env NODE_ENV=production tsc && vite build && npm run build:bundled && npm run build:test-utils",
33
+ "build": "cross-env NODE_ENV=production tsc && vite build && npm run build:bundled && npm run build:test-utils && npm run generate:react-types",
31
34
  "build:bundled": "vite build --config vite.config.bundled.js && node -e \"require('fs').rmSync('dist/sellsuki-components.bundled.css', {force:true})\"",
32
35
  "build:test-utils": "tsc -p tsconfig.test-utils.json",
36
+ "generate:react-types": "node scripts/generate-react-types/index.js",
33
37
  "preview": "vite preview",
34
38
  "storybook": "storybook dev -p 6006",
35
39
  "build-storybook": "storybook build",