@solostylist/ui-kit 1.0.134 → 1.0.135

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/main.d.ts CHANGED
@@ -105,6 +105,8 @@ export { default as SLazyImage } from './s-lazy-image/index';
105
105
  export type { SLazyImageProps } from './s-lazy-image/index';
106
106
  export { default as SImageComparison } from './s-image-comparison/index';
107
107
  export type { SImageComparisonProps } from './s-image-comparison/index';
108
+ export { default as SItemNotFound } from './s-item-not-found/index';
109
+ export type { SItemNotFoundProps } from './s-item-not-found/index';
108
110
  export { default as SCategoryCard } from './s-category-card/index';
109
111
  export type { SCategoryCardProps } from './s-category-card/index';
110
112
  export { default as SRadialPulseAnimate } from './s-radial-pulse-animate/index';
@@ -119,5 +121,7 @@ export { default as STextShimmer } from './s-text-shimmer/index';
119
121
  export type { STextShimmerProps } from './s-text-shimmer/index';
120
122
  export { default as STypewriterText } from './s-typewriter-text/index';
121
123
  export type { STypewriterTextProps } from './s-typewriter-text/index';
124
+ export { default as SLanguageSwitcher, SLanguagePopover, defaultLanguageOptions } from './s-language-switcher/index';
125
+ export type { SLanguageSwitcherProps, SLanguagePopoverProps, SLanguageOption } from './s-language-switcher/index';
122
126
  export * from './hooks';
123
127
  export * from './utils';
package/dist/main.js CHANGED
@@ -1,17 +1,17 @@
1
- import { default as a } from "./s-accordion/s-accordion.js";
1
+ import { default as t } from "./s-accordion/s-accordion.js";
2
2
  import { default as l } from "./s-action-overlay/s-action-overlay.js";
3
- import { default as s } from "./s-autocomplete/s-autocomplete.js";
3
+ import { default as p } from "./s-autocomplete/s-autocomplete.js";
4
4
  import { default as S } from "./s-avatar/s-avatar.js";
5
5
  import { default as d } from "./s-button/s-button.js";
6
6
  import { default as i } from "./s-button-link/s-button-link.js";
7
7
  import { default as g } from "./s-carousel/s-carousel.js";
8
8
  import { default as T } from "./s-chat-input/s-chat-input.js";
9
- import { default as v } from "./s-chat-message/s-chat-message.js";
9
+ import { default as C } from "./s-chat-message/s-chat-message.js";
10
10
  import { default as b } from "./s-text-editor/s-text-editor.js";
11
11
  import "./s-text-editor/s-text-editor-toolbar.js";
12
- import { default as y } from "./s-checkbox/s-checkbox.js";
13
- import { default as h } from "./s-chip/s-chip.js";
14
- import { default as k } from "./s-chips/s-chips.js";
12
+ import { default as h } from "./s-checkbox/s-checkbox.js";
13
+ import { default as I } from "./s-chip/s-chip.js";
14
+ import { default as M } from "./s-chips/s-chips.js";
15
15
  import { default as F } from "./s-data-table/s-data-table.js";
16
16
  import { DialogConfirmProvider as B, default as w, useDialogConfirm as z } from "./s-dialog-confirm/s-dialog-confirm.js";
17
17
  import { DialogMessageProvider as R, default as G, useDialogMessage as N } from "./s-dialog-message/s-dialog-message.js";
@@ -24,18 +24,18 @@ import { default as Y } from "./s-file-icon/s-file-icon.js";
24
24
  import { default as _ } from "./s-i18n-provider/s-i18n-provider.js";
25
25
  import { default as ee } from "./s-icon-button/s-icon-button.js";
26
26
  import { default as re } from "./s-label/s-label.js";
27
- import { default as ae } from "./s-multi-select/s-multi-select.js";
27
+ import { default as te } from "./s-multi-select/s-multi-select.js";
28
28
  import { default as le } from "./s-no-ssr/s-no-ssr.js";
29
- import { default as se } from "./s-overlay-scrollbar/s-overlay-scrollbar.js";
29
+ import { default as pe } from "./s-overlay-scrollbar/s-overlay-scrollbar.js";
30
30
  import { default as Se } from "./s-text-field/s-text-field.js";
31
31
  import { default as de } from "./s-pagination/s-pagination.js";
32
32
  import { default as ie } from "./s-select/s-select.js";
33
33
  import { default as ge } from "./s-skeleton/s-skeleton.js";
34
34
  import { default as Te } from "./s-tip/s-tip.js";
35
- import { default as ve } from "./s-text-truncation/s-text-truncation.js";
36
- import { default as be, SnackbarMessageProvider as De, useSnackbarMessage as ye } from "./s-snackbar-message/s-snackbar-message.js";
37
- import { default as he } from "./s-form/s-form.js";
38
- import { SSmartTextField as ke } from "./s-smart-text-field/s-smart-text-field.js";
35
+ import { default as Ce } from "./s-text-truncation/s-text-truncation.js";
36
+ import { default as be, SnackbarMessageProvider as De, useSnackbarMessage as he } from "./s-snackbar-message/s-snackbar-message.js";
37
+ import { default as Ie } from "./s-form/s-form.js";
38
+ import { SSmartTextField as Me } from "./s-smart-text-field/s-smart-text-field.js";
39
39
  import { SCopilotKitProvider as Fe } from "./s-copilot-kit-provider/s-copilot-kit-provider.js";
40
40
  import { SStripeCVC as Be, SStripeExpiry as we, SStripeNumber as ze, StripeTextField as Ee } from "./s-stripe/s-stripe.js";
41
41
  import { default as Ge } from "./s-theme-provider/s-theme-provider.js";
@@ -48,49 +48,51 @@ import { default as Xe } from "./s-glow-button/s-glow-button.js";
48
48
  import { default as Ze } from "./s-moving-border/s-moving-border.js";
49
49
  import { default as $e } from "./s-scroll-reveal/s-scroll-reveal.js";
50
50
  import { default as oo } from "./s-spotlight-cursor/s-spotlight-cursor.js";
51
- import { default as to } from "./s-copyable-text/s-copyable-text.js";
51
+ import { default as ao } from "./s-copyable-text/s-copyable-text.js";
52
52
  import { MediaItem as fo, default as lo } from "./s-interactive-gallery/s-interactive-gallery.js";
53
- import { default as so } from "./s-image-modal/s-image-modal.js";
53
+ import { default as po } from "./s-image-modal/s-image-modal.js";
54
54
  import { default as So } from "./s-lazy-image/s-lazy-image.js";
55
- import { default as uo } from "./s-image-comparison/s-image-comparison.js";
56
- import { default as no } from "./s-category-card/s-category-card.js";
57
- import { default as co } from "./s-radial-pulse-animate/s-radial-pulse-animate.js";
58
- import { default as Co } from "./s-rating/s-rating.js";
59
- import { default as Po } from "./s-review/s-review.js";
60
- import { default as Do } from "./s-tabs/s-tabs.js";
61
- import { default as Mo } from "./s-tabs/s-tab.js";
62
- import { default as Io } from "./s-tabs/s-tab-panel.js";
63
- import { default as Lo } from "./s-text-shimmer/s-text-shimmer.js";
64
- import { default as Ao } from "./s-typewriter-text/s-typewriter-text.js";
65
- import { useDialog as wo } from "./hooks/use-dialog.js";
66
- import { usePopover as Eo } from "./hooks/use-popover.js";
55
+ import { default as xo } from "./s-image-comparison/s-image-comparison.js";
56
+ import { default as no } from "./s-item-not-found/s-item-not-found.js";
57
+ import { default as co } from "./s-category-card/s-category-card.js";
58
+ import { default as vo } from "./s-radial-pulse-animate/s-radial-pulse-animate.js";
59
+ import { default as Po } from "./s-rating/s-rating.js";
60
+ import { default as Do } from "./s-review/s-review.js";
61
+ import { default as yo } from "./s-tabs/s-tabs.js";
62
+ import { default as Lo } from "./s-tabs/s-tab.js";
63
+ import { default as ko } from "./s-tabs/s-tab-panel.js";
64
+ import { default as Ao } from "./s-text-shimmer/s-text-shimmer.js";
65
+ import { default as wo } from "./s-typewriter-text/s-typewriter-text.js";
66
+ import { SLanguagePopover as Eo, default as Ro, defaultLanguageOptions as Go } from "./s-language-switcher/s-language-switcher.js";
67
+ import { useDialog as Oo } from "./hooks/use-dialog.js";
68
+ import { usePopover as Ko } from "./hooks/use-popover.js";
67
69
  import "react";
68
- import { useScrollAnimation as Go } from "./hooks/use-scroll-animation.js";
69
- import { formatDatePosted as Oo } from "./utils/dayjs.js";
70
- import { bytesToSize as Ko } from "./utils/bytes-to-size.js";
71
- import { LogLevel as qo, Logger as Ho, createLogger as Jo, logger as Qo } from "./utils/logger.js";
72
- import { default as Wo } from "dayjs";
70
+ import { useScrollAnimation as qo } from "./hooks/use-scroll-animation.js";
71
+ import { formatDatePosted as Jo } from "./utils/dayjs.js";
72
+ import { bytesToSize as Uo } from "./utils/bytes-to-size.js";
73
+ import { LogLevel as Xo, Logger as Yo, createLogger as Zo, logger as _o } from "./utils/logger.js";
74
+ import { default as er } from "dayjs";
73
75
  export {
74
76
  B as DialogConfirmProvider,
75
77
  R as DialogMessageProvider,
76
- qo as LogLevel,
77
- Ho as Logger,
78
+ Xo as LogLevel,
79
+ Yo as Logger,
78
80
  fo as MediaItem,
79
- a as SAccordion,
81
+ t as SAccordion,
80
82
  l as SActionOverlay,
81
- s as SAutocomplete,
83
+ p as SAutocomplete,
82
84
  S as SAvatar,
83
85
  d as SButton,
84
86
  i as SButtonLink,
85
87
  g as SCarousel,
86
- no as SCategoryCard,
88
+ co as SCategoryCard,
87
89
  T as SChatInput,
88
- v as SChatMessage,
89
- y as SCheckbox,
90
- h as SChip,
91
- k as SChips,
90
+ C as SChatMessage,
91
+ h as SCheckbox,
92
+ I as SChip,
93
+ M as SChips,
92
94
  Fe as SCopilotKitProvider,
93
- to as SCopyableText,
95
+ ao as SCopyableText,
94
96
  F as SDataTable,
95
97
  qe as SDatePicker,
96
98
  Ke as SDateTimePicker,
@@ -102,56 +104,60 @@ export {
102
104
  W as SFileDropzone,
103
105
  Y as SFileIcon,
104
106
  H as SFlexBox,
105
- he as SForm,
107
+ Ie as SForm,
106
108
  Xe as SGlowButton,
107
109
  Ue as SGradientIcon,
108
110
  _ as SI18nProvider,
109
111
  ee as SIconButton,
110
- uo as SImageComparison,
111
- so as SImageModal,
112
+ xo as SImageComparison,
113
+ po as SImageModal,
112
114
  lo as SInteractiveGallery,
115
+ no as SItemNotFound,
113
116
  re as SLabel,
117
+ Eo as SLanguagePopover,
118
+ Ro as SLanguageSwitcher,
114
119
  So as SLazyImage,
115
120
  Je as SLocalizationProvider,
116
121
  Ze as SMovingBorder,
117
- ae as SMultiSelect,
122
+ te as SMultiSelect,
118
123
  le as SNoSsr,
119
- se as SOverlayScrollbar,
124
+ pe as SOverlayScrollbar,
120
125
  de as SPagination,
121
- co as SRadialPulseAnimate,
122
- Co as SRating,
123
- Po as SReview,
126
+ vo as SRadialPulseAnimate,
127
+ Po as SRating,
128
+ Do as SReview,
124
129
  $e as SScrollReveal,
125
130
  ie as SSelect,
126
131
  ge as SSkeleton,
127
- ke as SSmartTextField,
132
+ Me as SSmartTextField,
128
133
  be as SSnackbarMessage,
129
134
  oo as SSpotlightCursor,
130
135
  Be as SStripeCVC,
131
136
  we as SStripeExpiry,
132
137
  ze as SStripeNumber,
133
- Mo as STab,
134
- Io as STabPanel,
135
- Do as STabs,
138
+ Lo as STab,
139
+ ko as STabPanel,
140
+ yo as STabs,
136
141
  b as STextEditor,
137
142
  Se as STextField,
138
- Lo as STextShimmer,
139
- ve as STextTruncation,
143
+ Ao as STextShimmer,
144
+ Ce as STextTruncation,
140
145
  Ge as SThemeProvider,
141
146
  Oe as SThemeSwitch,
142
147
  Te as STip,
143
- Ao as STypewriterText,
148
+ wo as STypewriterText,
144
149
  De as SnackbarMessageProvider,
145
150
  Ee as StripeTextField,
146
- Ko as bytesToSize,
147
- Jo as createLogger,
148
- Wo as dayjs,
149
- Oo as formatDatePosted,
150
- Qo as logger,
151
- wo as useDialog,
151
+ Uo as bytesToSize,
152
+ Zo as createLogger,
153
+ er as dayjs,
154
+ Go as defaultLanguageOptions,
155
+ Jo as formatDatePosted,
156
+ _o as logger,
157
+ Oo as useDialog,
152
158
  z as useDialogConfirm,
153
159
  N as useDialogMessage,
154
- Eo as usePopover,
155
- Go as useScrollAnimation,
156
- ye as useSnackbarMessage
160
+ Ko as usePopover,
161
+ qo as useScrollAnimation,
162
+ he as useSnackbarMessage
157
163
  };
@@ -0,0 +1,2 @@
1
+ export { default } from './s-item-not-found';
2
+ export type { SItemNotFoundProps } from './s-item-not-found';
@@ -0,0 +1,4 @@
1
+ import { default as o } from "./s-item-not-found.js";
2
+ export {
3
+ o as default
4
+ };
@@ -0,0 +1,5 @@
1
+ {
2
+ "main": "./index.js",
3
+ "types": "./index.d.ts",
4
+ "sideEffects": false
5
+ }
@@ -0,0 +1,10 @@
1
+ import { BoxProps } from '@mui/material';
2
+ import { SLazyImageProps } from '../s-lazy-image';
3
+ export interface SItemNotFoundProps {
4
+ message: string;
5
+ image?: string;
6
+ boxProps?: BoxProps;
7
+ lazyImageProps?: Omit<SLazyImageProps, 'src'>;
8
+ }
9
+ declare const SItemNotFound: ({ message, image, boxProps, lazyImageProps }: SItemNotFoundProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default SItemNotFound;
@@ -0,0 +1,10 @@
1
+ import { j as t } from "../jsx-runtime-OVHDjVDe.js";
2
+ import { Box as n, Typography as i } from "@mui/material";
3
+ import a from "../s-lazy-image/s-lazy-image.js";
4
+ const c = ({ message: e, image: o = "/assets/not-found.svg", boxProps: r, lazyImageProps: s }) => /* @__PURE__ */ t.jsxs(n, { display: "flex", justifyContent: "center", alignItems: "center", flexDirection: "column", ...r, children: [
5
+ /* @__PURE__ */ t.jsx(a, { src: o, width: 220, height: 220, ...s }),
6
+ /* @__PURE__ */ t.jsx(i, { variant: "h6", color: "text.disabled", children: e })
7
+ ] });
8
+ export {
9
+ c as default
10
+ };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.134",
6
+ "version": "1.0.135",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",