@solostylist/ui-kit 1.0.161 → 1.0.163

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.
Files changed (80) hide show
  1. package/dist/{ArrowUpward-DvTpkKgd.js → ArrowUpward-DhTFpzoh.js} +1 -1
  2. package/dist/{Box-DqmXop3Z.js → Box-Ha0cQ4KO.js} +1 -1
  3. package/dist/ButtonBase-DfTfJ_ou.js +1105 -0
  4. package/dist/{ChevronLeft-zg9wurzn.js → ChevronLeft-CBuFk2Fh.js} +1 -1
  5. package/dist/{ChevronRight-BKIP5v8z.js → ChevronRight-CnDWPrOm.js} +1 -1
  6. package/dist/{Close-D4kX7Vbc.js → Close-BRlEKA2Q.js} +1 -1
  7. package/dist/{DefaultPropsProvider-ClLA4IsM.js → DefaultPropsProvider-CaCsvQaq.js} +1 -1
  8. package/dist/{ExpandMore-mZGpvXf6.js → ExpandMore-DTWX_mHf.js} +1 -1
  9. package/dist/{Favorite-DmSF47XC.js → Favorite-DS5Gpq2s.js} +1 -1
  10. package/dist/{Menu-Cx9465L8.js → Menu-CWq-a1Wz.js} +5 -5
  11. package/dist/{MenuItem-DPprLtbJ.js → MenuItem-DY_qFSPR.js} +4 -4
  12. package/dist/{Paper-GzSZS-Pr.js → Paper-hkbPWyBT.js} +26 -27
  13. package/dist/{Select-32LY-KQR.js → Select-DabtQlJT.js} +6 -6
  14. package/dist/{Stack-CGZpcupa.js → Stack-Cq2r2NmC.js} +2 -2
  15. package/dist/{Typography-Dgg8buRq.js → Typography-B7LOtCzI.js} +3 -3
  16. package/dist/{createSvgIcon-Dq42_0tn.js → createSvgIcon-DxwgGAVe.js} +2 -2
  17. package/dist/index-BGvzecIA.js +218 -0
  18. package/dist/{index-VB-2NIdQ.js → index-CfKHZ86U.js} +1 -1
  19. package/dist/main.d.ts +0 -4
  20. package/dist/main.js +90 -94
  21. package/dist/{mergeSlotProps-CbVWfTAi.js → mergeSlotProps-Dl_rJtoN.js} +1 -1
  22. package/dist/s-accordion/s-accordion.js +7 -7
  23. package/dist/s-breadcrumbs/s-breadcrumbs.js +1 -1
  24. package/dist/s-carousel/s-carousel.js +1 -1
  25. package/dist/s-chat-input/s-chat-input.js +3 -3
  26. package/dist/s-chat-message/s-chat-message.js +1 -1
  27. package/dist/s-comment-message/s-comment-message.js +3 -3
  28. package/dist/s-copyable-text/s-copyable-text.js +1 -1
  29. package/dist/s-data-table/s-data-table.js +5 -5
  30. package/dist/s-date-picker/s-date-picker.js +5 -5
  31. package/dist/s-datetime-picker/s-datetime-picker.js +9 -9
  32. package/dist/s-dialog/s-dialog.d.ts +2 -1
  33. package/dist/s-dialog/s-dialog.js +32 -28
  34. package/dist/s-dialog-confirm/s-dialog-confirm.js +2 -2
  35. package/dist/s-dialog-message/s-dialog-message.js +2 -2
  36. package/dist/s-file-dropzone/s-file-dropzone.js +4 -4
  37. package/dist/s-file-icon/s-file-icon.js +1 -1
  38. package/dist/s-flex-box/s-flex-box.js +1 -1
  39. package/dist/s-image-comparison/s-image-comparison.js +3 -3
  40. package/dist/s-image-modal/s-image-modal.js +3 -3
  41. package/dist/s-label/s-label.js +1 -1
  42. package/dist/s-language-switcher/s-language-switcher.js +5 -5
  43. package/dist/s-multi-select/s-multi-select.js +3 -3
  44. package/dist/s-review/s-review.js +1 -1
  45. package/dist/s-scroll-to-top/s-scroll-to-top.js +3 -3
  46. package/dist/s-select/s-select.js +1 -1
  47. package/dist/s-text-editor/s-text-editor-toolbar.js +4 -4
  48. package/dist/s-text-editor/s-text-editor.js +1 -1
  49. package/dist/s-text-field/s-text-field.js +1 -1
  50. package/dist/s-text-shimmer/s-text-shimmer.js +1 -1
  51. package/dist/s-text-truncation/s-text-truncation.d.ts +26 -13
  52. package/dist/s-text-truncation/s-text-truncation.js +51 -10
  53. package/dist/s-theme-demo/s-theme-demo.js +2 -2
  54. package/dist/s-theme-switch/s-theme-switch.js +1 -1
  55. package/dist/s-tip/s-tip.js +3 -3
  56. package/dist/{styled-BD_erj7E.js → styled-B0Z4EDy9.js} +1 -1
  57. package/dist/theme/components/avatar.js +1 -1
  58. package/dist/theme/components/chip.js +1 -1
  59. package/dist/theme/customizations/inputs.js +1 -1
  60. package/dist/theme/customizations/navigation.js +1 -1
  61. package/dist/theme/theme-primitives.d.ts +3 -0
  62. package/dist/theme/theme-primitives.js +64 -62
  63. package/dist/{useMobilePicker-CBFfceXe.js → useMobilePicker-DgxcRrRB.js} +84 -85
  64. package/package.json +2 -4
  65. package/dist/ButtonBase-INrHi5Tf.js +0 -912
  66. package/dist/TransitionGroup-BK0MDPKM.js +0 -197
  67. package/dist/assets/s-text-truncation.css +0 -1
  68. package/dist/chunk-6WTWBXEJ-CEca0jKr.js +0 -4903
  69. package/dist/emotion-serialize.esm-lgBmL_7o.js +0 -195
  70. package/dist/index--x2dvtup.js +0 -30
  71. package/dist/s-copilot-kit-provider/index.d.ts +0 -2
  72. package/dist/s-copilot-kit-provider/index.js +0 -4
  73. package/dist/s-copilot-kit-provider/package.json +0 -5
  74. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.d.ts +0 -35
  75. package/dist/s-copilot-kit-provider/s-copilot-kit-provider.js +0 -9
  76. package/dist/s-smart-text-field/index.d.ts +0 -2
  77. package/dist/s-smart-text-field/index.js +0 -4
  78. package/dist/s-smart-text-field/package.json +0 -5
  79. package/dist/s-smart-text-field/s-smart-text-field.d.ts +0 -42
  80. package/dist/s-smart-text-field/s-smart-text-field.js +0 -17619
@@ -1,195 +0,0 @@
1
- function C(r) {
2
- for (var e = 0, n, t = 0, a = r.length; a >= 4; ++t, a -= 4)
3
- n = r.charCodeAt(t) & 255 | (r.charCodeAt(++t) & 255) << 8 | (r.charCodeAt(++t) & 255) << 16 | (r.charCodeAt(++t) & 255) << 24, n = /* Math.imul(k, m): */
4
- (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
5
- n >>> 24, e = /* Math.imul(k, m): */
6
- (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
7
- (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
8
- switch (a) {
9
- case 3:
10
- e ^= (r.charCodeAt(t + 2) & 255) << 16;
11
- case 2:
12
- e ^= (r.charCodeAt(t + 1) & 255) << 8;
13
- case 1:
14
- e ^= r.charCodeAt(t) & 255, e = /* Math.imul(h, m): */
15
- (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16);
16
- }
17
- return e ^= e >>> 13, e = /* Math.imul(h, m): */
18
- (e & 65535) * 1540483477 + ((e >>> 16) * 59797 << 16), ((e ^ e >>> 15) >>> 0).toString(36);
19
- }
20
- var y = {
21
- animationIterationCount: 1,
22
- aspectRatio: 1,
23
- borderImageOutset: 1,
24
- borderImageSlice: 1,
25
- borderImageWidth: 1,
26
- boxFlex: 1,
27
- boxFlexGroup: 1,
28
- boxOrdinalGroup: 1,
29
- columnCount: 1,
30
- columns: 1,
31
- flex: 1,
32
- flexGrow: 1,
33
- flexPositive: 1,
34
- flexShrink: 1,
35
- flexNegative: 1,
36
- flexOrder: 1,
37
- gridRow: 1,
38
- gridRowEnd: 1,
39
- gridRowSpan: 1,
40
- gridRowStart: 1,
41
- gridColumn: 1,
42
- gridColumnEnd: 1,
43
- gridColumnSpan: 1,
44
- gridColumnStart: 1,
45
- msGridRow: 1,
46
- msGridRowSpan: 1,
47
- msGridColumn: 1,
48
- msGridColumnSpan: 1,
49
- fontWeight: 1,
50
- lineHeight: 1,
51
- opacity: 1,
52
- order: 1,
53
- orphans: 1,
54
- scale: 1,
55
- tabSize: 1,
56
- widows: 1,
57
- zIndex: 1,
58
- zoom: 1,
59
- WebkitLineClamp: 1,
60
- // SVG-related properties
61
- fillOpacity: 1,
62
- floodOpacity: 1,
63
- stopOpacity: 1,
64
- strokeDasharray: 1,
65
- strokeDashoffset: 1,
66
- strokeMiterlimit: 1,
67
- strokeOpacity: 1,
68
- strokeWidth: 1
69
- };
70
- function w(r) {
71
- var e = /* @__PURE__ */ Object.create(null);
72
- return function(n) {
73
- return e[n] === void 0 && (e[n] = r(n)), e[n];
74
- };
75
- }
76
- var A = /[A-Z]|^ms/g, S = /_EMO_([^_]+?)_([^]*?)_EMO_/g, v = function(e) {
77
- return e.charCodeAt(1) === 45;
78
- }, x = function(e) {
79
- return e != null && typeof e != "boolean";
80
- }, d = /* @__PURE__ */ w(function(r) {
81
- return v(r) ? r : r.replace(A, "-$&").toLowerCase();
82
- }), h = function(e, n) {
83
- switch (e) {
84
- case "animation":
85
- case "animationName":
86
- if (typeof n == "string")
87
- return n.replace(S, function(t, a, f) {
88
- return u = {
89
- name: a,
90
- styles: f,
91
- next: u
92
- }, a;
93
- });
94
- }
95
- return y[e] !== 1 && !v(e) && typeof n == "number" && n !== 0 ? n + "px" : n;
96
- };
97
- function s(r, e, n) {
98
- if (n == null)
99
- return "";
100
- var t = n;
101
- if (t.__emotion_styles !== void 0)
102
- return t;
103
- switch (typeof n) {
104
- case "boolean":
105
- return "";
106
- case "object": {
107
- var a = n;
108
- if (a.anim === 1)
109
- return u = {
110
- name: a.name,
111
- styles: a.styles,
112
- next: u
113
- }, a.name;
114
- var f = n;
115
- if (f.styles !== void 0) {
116
- var o = f.next;
117
- if (o !== void 0)
118
- for (; o !== void 0; )
119
- u = {
120
- name: o.name,
121
- styles: o.styles,
122
- next: u
123
- }, o = o.next;
124
- var i = f.styles + ";";
125
- return i;
126
- }
127
- return O(r, e, n);
128
- }
129
- }
130
- var c = n;
131
- if (e == null)
132
- return c;
133
- var l = e[c];
134
- return l !== void 0 ? l : c;
135
- }
136
- function O(r, e, n) {
137
- var t = "";
138
- if (Array.isArray(n))
139
- for (var a = 0; a < n.length; a++)
140
- t += s(r, e, n[a]) + ";";
141
- else
142
- for (var f in n) {
143
- var o = n[f];
144
- if (typeof o != "object") {
145
- var i = o;
146
- e != null && e[i] !== void 0 ? t += f + "{" + e[i] + "}" : x(i) && (t += d(f) + ":" + h(f, i) + ";");
147
- } else if (Array.isArray(o) && typeof o[0] == "string" && (e == null || e[o[0]] === void 0))
148
- for (var c = 0; c < o.length; c++)
149
- x(o[c]) && (t += d(f) + ":" + h(f, o[c]) + ";");
150
- else {
151
- var l = s(r, e, o);
152
- switch (f) {
153
- case "animation":
154
- case "animationName": {
155
- t += d(f) + ":" + l + ";";
156
- break;
157
- }
158
- default:
159
- t += f + "{" + l + "}";
160
- }
161
- }
162
- }
163
- return t;
164
- }
165
- var p = /label:\s*([^\s;{]+)\s*(;|$)/g, u;
166
- function R(r, e, n) {
167
- if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
168
- return r[0];
169
- var t = !0, a = "";
170
- u = void 0;
171
- var f = r[0];
172
- if (f == null || f.raw === void 0)
173
- t = !1, a += s(n, e, f);
174
- else {
175
- var o = f;
176
- a += o[0];
177
- }
178
- for (var i = 1; i < r.length; i++)
179
- if (a += s(n, e, r[i]), t) {
180
- var c = f;
181
- a += c[i];
182
- }
183
- p.lastIndex = 0;
184
- for (var l = "", m; (m = p.exec(a)) !== null; )
185
- l += "-" + m[1];
186
- var b = C(a) + l;
187
- return {
188
- name: b,
189
- styles: a,
190
- next: u
191
- };
192
- }
193
- export {
194
- R as s
195
- };
@@ -1,30 +0,0 @@
1
- import l from "@emotion/styled";
2
- import { s as a } from "./emotion-serialize.esm-lgBmL_7o.js";
3
- import "@emotion/react";
4
- /**
5
- * @mui/styled-engine v7.3.2
6
- *
7
- * @license MIT
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- function c(e, t) {
12
- const r = l(e, t);
13
- return process.env.NODE_ENV !== "production" ? (...o) => {
14
- const s = typeof e == "string" ? `"${e}"` : "component";
15
- return o.length === 0 ? console.error([`MUI: Seems like you called \`styled(${s})()\` without a \`style\` argument.`, 'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
16
- `)) : o.some((i) => i === void 0) && console.error(`MUI: the styled(${s})(...args) API requires all its args to be defined.`), r(...o);
17
- } : r;
18
- }
19
- function d(e, t) {
20
- Array.isArray(e.__emotion_styles) && (e.__emotion_styles = t(e.__emotion_styles));
21
- }
22
- const n = [];
23
- function f(e) {
24
- return n[0] = e, a(n);
25
- }
26
- export {
27
- d as a,
28
- f as i,
29
- c as s
30
- };
@@ -1,2 +0,0 @@
1
- export { default } from './s-copilot-kit-provider';
2
- export type { SCopilotKitProviderProps } from './s-copilot-kit-provider';
@@ -1,4 +0,0 @@
1
- import { SCopilotKitProvider as t } from "./s-copilot-kit-provider.js";
2
- export {
3
- t as default
4
- };
@@ -1,5 +0,0 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
@@ -1,35 +0,0 @@
1
- import { default as React } from 'react';
2
- import { CopilotKitProps } from '@copilotkit/react-core';
3
- /**
4
- * Props for the SCopilotKitProvider component
5
- * Extends CopilotKit props but ensures children is always ReactNode type
6
- */
7
- export type SCopilotKitProviderProps = Omit<CopilotKitProps, 'children'> & {
8
- /** Child components that will have access to CopilotKit functionality */
9
- children: React.ReactNode;
10
- };
11
- /**
12
- * Enhanced CopilotKit provider wrapper with default configurations
13
- *
14
- * Provides a configured CopilotKit context to child components with sensible defaults.
15
- * The dev console is disabled by default for cleaner production experience.
16
- *
17
- * CopilotKit enables AI-powered features like:
18
- * - Chatbots and conversational interfaces
19
- * - AI-assisted text editing and completion
20
- * - Context-aware AI actions and responses
21
- * - Integration with various AI models and services
22
- *
23
- * @param children - Child components that will have access to CopilotKit
24
- * @param copilotKitProps - All other CopilotKit configuration props
25
- * @returns JSX element wrapping children with CopilotKit context
26
- *
27
- * @example
28
- * ```tsx
29
- * <SCopilotKitProvider publicApiKey="your-api-key">
30
- * <YourApp />
31
- * </SCopilotKitProvider>
32
- * ```
33
- */
34
- export declare function SCopilotKitProvider({ children, ...copilotKitProps }: SCopilotKitProviderProps): import("react/jsx-runtime").JSX.Element;
35
- export default SCopilotKitProvider;
@@ -1,9 +0,0 @@
1
- import { j as r } from "../jsx-runtime-OVHDjVDe.js";
2
- import { C as i } from "../chunk-6WTWBXEJ-CEca0jKr.js";
3
- function p({ children: o, ...t }) {
4
- return /* @__PURE__ */ r.jsx(i, { showDevConsole: !1, ...t, children: o });
5
- }
6
- export {
7
- p as SCopilotKitProvider,
8
- p as default
9
- };
@@ -1,2 +0,0 @@
1
- export { default } from './s-smart-text-field';
2
- export type { SSmartTextFieldProps } from './s-smart-text-field';
@@ -1,4 +0,0 @@
1
- import { SSmartTextField as a } from "./s-smart-text-field.js";
2
- export {
3
- a as default
4
- };
@@ -1,5 +0,0 @@
1
- {
2
- "main": "./index.js",
3
- "types": "./index.d.ts",
4
- "sideEffects": false
5
- }
@@ -1,42 +0,0 @@
1
- import { AutosuggestionsConfigUserSpecified, CopilotTextarea } from '@copilotkit/react-textarea';
2
- /**
3
- * Props for SSmartTextField component - extends CopilotTextarea props
4
- * with form integration and enhanced configuration options
5
- */
6
- export type SSmartTextFieldProps = Omit<React.ComponentProps<typeof CopilotTextarea>, 'autosuggestionsConfig'> & {
7
- /** Configuration for AI-powered autosuggestions */
8
- autosuggestionsConfig?: AutosuggestionsConfigUserSpecified;
9
- /** Field label displayed above the textarea */
10
- label?: string | React.ReactNode;
11
- /** Help text shown in tooltip next to the label */
12
- hint?: string;
13
- /** Error message to display below the field */
14
- error?: string;
15
- /** Whether the field is required (shows asterisk in label) */
16
- required?: boolean;
17
- /** HTML id attribute for the textarea element */
18
- htmlFor?: string;
19
- /** Minimum number of visible text rows */
20
- minRows?: number;
21
- /** Maximum number of visible text rows */
22
- maxRows?: number;
23
- /** Initial number of rows (defaults to minRows if not specified) */
24
- rows?: number;
25
- };
26
- /**
27
- * SSmartTextField - An AI-powered textarea component that integrates CopilotKit's autosuggestion
28
- * capabilities with the design system's form patterns and styling.
29
- *
30
- * Key features:
31
- * - AI-powered text autosuggestions via CopilotKit integration
32
- * - Consistent form labeling, validation, and help text patterns via SForm
33
- * - Configurable row limits with vertical resize capability
34
- * - Theme-aware styling with focus states and hover effects
35
- * - Customizable autosuggestion configuration for different use cases
36
- * - Full CopilotTextarea API compatibility
37
- *
38
- * @param props - SSmartTextFieldProps with AI config, form integration, and CopilotTextarea props
39
- * @returns JSX.Element - AI-enhanced textarea with form labeling and validation
40
- */
41
- export declare function SSmartTextField({ autosuggestionsConfig, label, hint, error, required, htmlFor, minRows, maxRows, rows, ...props }: SSmartTextFieldProps): import("react/jsx-runtime").JSX.Element;
42
- export default SSmartTextField;