@solostylist/ui-kit 2.0.0 → 2.0.1
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/{gradients-90SYkAC0.js → gradients-DSnBONEQ.js} +1 -1
- package/dist/main.js +1 -1
- package/dist/palettes/index.js +1 -1
- package/dist/{palettes-Dw3PEYF5.js → palettes-CJLuEy1m.js} +163 -163
- package/dist/s-accordion/index.js +1 -1
- package/dist/s-accordion/s-accordion.js +70 -2
- package/dist/s-action-overlay/s-action-overlay.js +21 -21
- package/dist/s-autocomplete/s-autocomplete.js +1 -1
- package/dist/s-avatar/s-avatar.js +17 -17
- package/dist/s-blur-text/s-blur-text.js +16 -16
- package/dist/s-brand-logo/index.js +1 -1
- package/dist/s-brand-logo/s-brand-logo.js +1 -1
- package/dist/s-breadcrumbs/s-breadcrumbs.js +19 -19
- package/dist/s-carousel/index.js +1 -1
- package/dist/s-carousel/s-carousel.js +184 -2
- package/dist/s-category-card/s-category-card.js +22 -22
- package/dist/s-chat-input/index.js +1 -1
- package/dist/s-chat-input/s-chat-input.js +398 -2
- package/dist/s-chat-message/index.js +1 -1
- package/dist/s-chat-message/s-chat-message.js +314 -2
- package/dist/s-checkbox/s-checkbox.js +18 -19
- package/dist/s-chips/index.js +1 -1
- package/dist/s-chips/s-chips.js +174 -2
- package/dist/s-code-block/index.js +1 -1
- package/dist/s-code-block/s-code-block.js +103 -2
- package/dist/s-comment-message/index.js +1 -1
- package/dist/s-comment-message/s-comment-message.js +189 -2
- package/dist/s-copyable-text/s-copyable-text.js +18 -18
- package/dist/s-countdown/s-count-box.js +18 -18
- package/dist/s-data-table/index.js +1 -1
- package/dist/s-data-table/s-data-table.js +213 -2
- package/dist/s-date-picker/index.js +1 -1
- package/dist/s-date-picker/s-date-picker.js +106 -2
- package/dist/s-datetime-picker/index.js +1 -1
- package/dist/s-datetime-picker/s-datetime-picker.js +108 -2
- package/dist/s-dialog/index.js +1 -1
- package/dist/s-dialog/s-dialog.js +80 -2
- package/dist/s-dialog-confirm/s-dialog-confirm.js +32 -33
- package/dist/s-dialog-message/s-dialog-message.js +31 -32
- package/dist/s-empty/s-empty.js +13 -14
- package/dist/s-file-dropzone/index.js +1 -1
- package/dist/s-file-dropzone/s-file-dropzone.js +219 -2
- package/dist/s-file-icon/s-file-icon.js +87 -88
- package/dist/s-flex-box/s-flex-box.js +11 -12
- package/dist/s-form/s-form.js +15 -15
- package/dist/s-gallery/s-gallery.js +1 -1
- package/dist/s-glow-button/s-glow-button.js +9 -10
- package/dist/s-icon-button/s-icon-button.js +15 -16
- package/dist/s-image-comparison/s-image-comparison.js +29 -31
- package/dist/s-image-viewer/image-viewer-thumbnail-dock.js +1 -1
- package/dist/s-image-viewer/index.js +3 -3
- package/dist/s-image-viewer/s-image-viewer.js +266 -2
- package/dist/s-image-viewer/use-image-viewer-navigation.js +7 -7
- package/dist/s-label/s-label.js +26 -27
- package/dist/s-language-switcher/index.js +2 -2
- package/dist/s-language-switcher/s-language-switcher.js +150 -2
- package/dist/s-lazy-image/s-lazy-image.js +17 -18
- package/dist/s-link/index.js +1 -1
- package/dist/s-link/s-link.js +5 -2
- package/dist/s-localization-provider/index.js +1 -1
- package/dist/s-localization-provider/s-localization-provider.js +12 -2
- package/dist/s-nav-item/s-nav-item.js +16 -16
- package/dist/s-nav-items/index.js +2 -2
- package/dist/s-nav-items/s-nav-items.js +167 -2
- package/dist/s-no-ssr/index.js +1 -1
- package/dist/s-no-ssr/s-no-ssr.js +5 -2
- package/dist/s-pagination/index.js +1 -1
- package/dist/s-pagination/s-pagination.js +85 -2
- package/dist/s-pixel-reveal/s-pixel-reveal.js +20 -20
- package/dist/s-quantity-input/index.js +1 -1
- package/dist/s-quantity-input/s-quantity-input.js +246 -2
- package/dist/s-review/index.js +1 -1
- package/dist/s-review/s-review.js +272 -2
- package/dist/s-scroll-reveal/s-scroll-reveal.js +7 -8
- package/dist/s-scroll-to-top/s-scroll-to-top.js +27 -28
- package/dist/s-scroll-velocity/scroll-velocity-row.js +29 -29
- package/dist/s-select/index.js +1 -1
- package/dist/s-select/s-select.js +201 -2
- package/dist/s-select-list/s-select-list.js +47 -50
- package/dist/s-skeleton/s-skeleton.js +16 -17
- package/dist/s-snackbar-message/index.js +2 -2
- package/dist/s-snackbar-message/s-snackbar-message.js +89 -2
- package/dist/s-spotlight-cursor/s-spotlight-cursor.js +27 -27
- package/dist/s-status-illustration/s-status-illustration.js +74 -74
- package/dist/s-stripe/s-stripe.js +11 -12
- package/dist/s-stripe/stripe-input.js +3 -2
- package/dist/s-switch/index.js +1 -1
- package/dist/s-switch/s-switch.js +48 -2
- package/dist/s-tabs/s-tabs.js +48 -50
- package/dist/s-text-editor/index.js +1 -1
- package/dist/s-text-editor/s-text-editor-toolbar.js +216 -2
- package/dist/s-text-editor/s-text-editor.js +25 -26
- package/dist/s-text-field/index.js +1 -1
- package/dist/s-text-field/s-text-field.js +52 -2
- package/dist/s-text-shimmer/s-text-shimmer.js +1 -3
- package/dist/s-text-truncation/s-text-truncation.js +20 -20
- package/dist/s-theme-demo/s-theme-demo.js +8 -8
- package/dist/s-theme-demo/theme-demo-color-palette-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-color-ramps-section.js +1 -1
- package/dist/s-theme-demo/theme-demo-components-section.js +265 -2
- package/dist/s-theme-demo/theme-demo-typography-section.js +10 -10
- package/dist/s-theme-provider/s-theme-provider.js +1 -1
- package/dist/s-theme-switch/index.js +1 -1
- package/dist/s-theme-switch/s-theme-switch.js +60 -2
- package/dist/s-tip/index.js +1 -1
- package/dist/s-tip/s-tip.js +61 -2
- package/dist/s-tool-bar/s-tool-bar.js +28 -28
- package/dist/s-tool-bar/tool-bar-action-buttons.js +55 -2
- package/dist/s-tool-bar/tool-bar-image-input.js +148 -2
- package/dist/s-tool-bar/tool-bar-inputs.js +55 -55
- package/dist/s-tool-item/s-tool-item.js +22 -22
- package/dist/s-two-pane-layout/s-two-pane-layout.js +32 -32
- package/dist/s-zoom-image/s-zoom-image.js +18 -19
- package/dist/theme/components/autocomplete.js +43 -2
- package/dist/theme/components/avatar.js +9 -2
- package/dist/theme/components/card.js +3 -3
- package/dist/theme/components/checkbox.js +90 -2
- package/dist/theme/components/chip.js +3 -3
- package/dist/theme/components/components.js +20 -20
- package/dist/theme/components/date-calendar.js +1 -0
- package/dist/theme/components/day-calendar.js +1 -0
- package/dist/theme/components/field-label-styles.js +19 -2
- package/dist/theme/components/form-label.js +1 -1
- package/dist/theme/components/list-item-button.js +1 -1
- package/dist/theme/components/list-item.js +7 -7
- package/dist/theme/components/month-calendar.js +14 -13
- package/dist/theme/components/multi-section-digital-clock-section.js +1 -0
- package/dist/theme/components/outlined-input.js +6 -6
- package/dist/theme/components/picker-day.js +1 -0
- package/dist/theme/components/pickers-arrow-switcher.js +1 -0
- package/dist/theme/components/pickers-calendar-header.js +3 -2
- package/dist/theme/components/select.js +6 -6
- package/dist/theme/components/switch.js +1 -1
- package/dist/theme/components/table-pagination.js +1 -1
- package/dist/theme/components/toggle-button.js +93 -2
- package/dist/theme/components/year-calendar.js +14 -13
- package/dist/theme/theme-primitives.js +2 -2
- package/dist/{theme-primitives-Dt_DT9b5.js → theme-primitives-CRfnMsNy.js} +108 -109
- package/dist/utils/dayjs.js +9 -146
- package/package.json +1 -1
- package/dist/Add-COc9VdNg.js +0 -6
- package/dist/ArrowUpward-D88i2k4q.js +0 -6
- package/dist/Box-9oeZgA1U.js +0 -46
- package/dist/Button-DgIFcM44.js +0 -534
- package/dist/ButtonBase-DxKtpFYs.js +0 -747
- package/dist/Checkbox-BoZu9z2l.js +0 -152
- package/dist/ChevronRight-BxsM4W78.js +0 -6
- package/dist/Close-o4HFfK0I.js +0 -6
- package/dist/Collapse-zgIFP5Sj.js +0 -266
- package/dist/ContentCopy-5unyTYXy.js +0 -6
- package/dist/DefaultPropsProvider-ebWx4_5E.js +0 -128
- package/dist/DialogContent-CAry6lVf.js +0 -450
- package/dist/Download-DtvoRwpl.js +0 -6
- package/dist/ExpandMore-Ba5bg6s-.js +0 -6
- package/dist/Favorite-B_GsElm0.js +0 -6
- package/dist/FormControl-BxmM9UP6.js +0 -221
- package/dist/FormControlLabel-DzgppcC_.js +0 -173
- package/dist/Grow-zRRuwUl-.js +0 -121
- package/dist/InfoOutlined-VC7X46pc.js +0 -6
- package/dist/List-CnGIAXAS.js +0 -103
- package/dist/ListContext-B1HQt3OD.js +0 -6
- package/dist/Menu-C4Zabc9U.js +0 -504
- package/dist/MenuItem-rXJfQzDC.js +0 -223
- package/dist/MenuList-DDV8J-yd.js +0 -407
- package/dist/Modal-jAiibALV.js +0 -707
- package/dist/Paper-ixxCeml9.js +0 -115
- package/dist/Popper-CVYyMS3c.js +0 -1350
- package/dist/Portal-AnyvFRC4.js +0 -53
- package/dist/RtlProvider-B7uVJXUY.js +0 -19
- package/dist/Skeleton-iZFynl7z.js +0 -220
- package/dist/Stack-UMc4dV4G.js +0 -158
- package/dist/SwitchBase-D7zqrstO.js +0 -198
- package/dist/Tooltip-DbCd6rgF.js +0 -447
- package/dist/Typography-yXjc7kVP.js +0 -168
- package/dist/UnfoldMoreRounded-DsN0HVDV.js +0 -6
- package/dist/appendOwnerState-CELpvdMz.js +0 -17
- package/dist/assets/stripe-input.css +0 -1
- package/dist/autocomplete-B_4y84Ba.js +0 -43
- package/dist/avatar-BHuZu3DN.js +0 -10
- package/dist/buttonBaseClasses-BvBqFLb_.js +0 -13
- package/dist/capitalize-CccCFNpQ.js +0 -5
- package/dist/checkbox-BKMZEVU5.js +0 -88
- package/dist/checkboxClasses-CEsqS4sc.js +0 -18
- package/dist/chunk-C_CI6nMA.js +0 -13
- package/dist/clsx-DGZSe4Nt.js +0 -16
- package/dist/colorManipulator-DmUjcif3.js +0 -129
- package/dist/contains-WOhYaq1E.js +0 -16
- package/dist/createSimplePaletteValueFilter-C1gWywW_.js +0 -14
- package/dist/createSvgIcon-B0SZlJF1.js +0 -155
- package/dist/createTheme-xB2Em0Na.js +0 -1869
- package/dist/defaultTheme-BaGcIzCh.js +0 -210
- package/dist/elementAcceptingRef-DhkNAkFH.js +0 -472
- package/dist/exactProp-C_IsucXf.js +0 -13
- package/dist/field-label-styles-BOyhp6gw.js +0 -50
- package/dist/formLabelClasses-B0Fa-86T.js +0 -18
- package/dist/generateUtilityClass-PAIOm1jC.js +0 -34
- package/dist/generateUtilityClasses-DvX505Gy.js +0 -10
- package/dist/iconButtonClasses-CkciZuIe.js +0 -27
- package/dist/inputAdornmentClasses-D5yYK5bM.js +0 -19
- package/dist/inputBaseClasses-DuWQGq8Z.js +0 -25
- package/dist/integerPropType-Disnft4a.js +0 -27
- package/dist/isEventHandler-8dPdzK9U.js +0 -7
- package/dist/isFocusVisible-Y7157FQS.js +0 -35
- package/dist/isLayoutSupported-Ceir7nyK.js +0 -21
- package/dist/listItemButtonClasses-DbL-aTVf.js +0 -18
- package/dist/memoTheme-qFyKAk7y.js +0 -15
- package/dist/mergeSlotProps-xl1-PgWL.js +0 -45
- package/dist/monthCalendarClasses-BYVHyEfI.js +0 -14
- package/dist/objectWithoutPropertiesLoose-Cpds-4w8.js +0 -23
- package/dist/outlinedInputClasses-DECY98u0.js +0 -17
- package/dist/pickersCalendarHeaderClasses-CIj0gBye.js +0 -12
- package/dist/prop-types-BzYPyWN7.js +0 -516
- package/dist/resolveProps-7jIA45vn.js +0 -30
- package/dist/s-accordion-B8nlrdFc.js +0 -487
- package/dist/s-carousel-Dnjke4JQ.js +0 -1353
- package/dist/s-chat-input-DCS0mJE4.js +0 -419
- package/dist/s-chat-message-9oollJJq.js +0 -315
- package/dist/s-chips-WqGdqHW9.js +0 -176
- package/dist/s-code-block-DzGoGg5e.js +0 -658
- package/dist/s-comment-message-C6kfgRjv.js +0 -191
- package/dist/s-data-table-B1TGVupB.js +0 -805
- package/dist/s-date-picker-BpX4HmBp.js +0 -656
- package/dist/s-datetime-picker-ByzW44E0.js +0 -3878
- package/dist/s-dialog-BLiyjLkx.js +0 -123
- package/dist/s-file-dropzone-CVQpYRdY.js +0 -422
- package/dist/s-image-viewer-DNIEYdtL.js +0 -269
- package/dist/s-language-switcher-D-1nywT3.js +0 -251
- package/dist/s-link-CAMTGfd9.js +0 -234
- package/dist/s-localization-provider-Xw3NO2uP.js +0 -519
- package/dist/s-nav-items-BUp7DddG.js +0 -327
- package/dist/s-no-ssr-D8tPdDfh.js +0 -25
- package/dist/s-pagination-Dt8Pk5Tp.js +0 -606
- package/dist/s-quantity-input-mYCixlJc.js +0 -246
- package/dist/s-review-DSXXtWlL.js +0 -272
- package/dist/s-select-dwY2DYa9.js +0 -204
- package/dist/s-snackbar-message-3Z6VySlB.js +0 -808
- package/dist/s-switch-B8bZAzLh.js +0 -307
- package/dist/s-text-editor-toolbar-D-XgFQix.js +0 -2121
- package/dist/s-text-field-BM4qk0mf.js +0 -51
- package/dist/s-theme-switch-BLMz1_m2.js +0 -60
- package/dist/s-tip-ty41ePQm.js +0 -62
- package/dist/selectClasses-DoUlWfzV.js +0 -22
- package/dist/styled-Bog8QCl3.js +0 -163
- package/dist/svgIconClasses-C8D4AsMj.js +0 -20
- package/dist/switchClasses-eiq1bkQN.js +0 -23
- package/dist/theme-demo-components-section-gtIYRngY.js +0 -267
- package/dist/toggle-button-Cxi5CfXC.js +0 -104
- package/dist/tool-bar-action-buttons-Dt-pV3GA.js +0 -54
- package/dist/tool-bar-image-input-BXlll_hV.js +0 -148
- package/dist/typographyClasses-BLM3NmYd.js +0 -31
- package/dist/useControlled-BeB0W_Ui.js +0 -5
- package/dist/useControlled-C4QJnpiR.js +0 -29
- package/dist/useEnhancedEffect-Bc3gBClC.js +0 -5
- package/dist/useEnhancedEffect-DFq_FMGX.js +0 -5
- package/dist/useEventCallback-CVqMfiG_.js +0 -14
- package/dist/useForkRef-CKneCEtr.js +0 -29
- package/dist/useFormControl-iWLrn7Ek.js +0 -18
- package/dist/useMobilePicker-C4UQFvkj.js +0 -7580
- package/dist/useSlot-iIu8ek6E.js +0 -83
- package/dist/useTheme-BIWMbX3i.js +0 -9
- package/dist/useThemeProps-BI9yq95N.js +0 -19
- package/dist/useThemeProps-Cr28OQu3.js +0 -13
- package/dist/utils-oJyTAkZY.js +0 -214
- package/dist/warning-CNkSZkq6.js +0 -98
- package/dist/yearCalendarClasses-CuAQumpz.js +0 -14
- /package/dist/{colors-DKqWMRgW.js → colors-CNjL5fhq.js} +0 -0
- /package/dist/{s-brand-logo-jtAJZQIv.js → s-brand-logo-CErW9Slg.js} +0 -0
- /package/dist/{utils-DaSrTYUS.js → utils-CMeAWSRO.js} +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-B0SZlJF1.js";
|
|
2
|
-
import { t } from "./mergeSlotProps-xl1-PgWL.js";
|
|
3
|
-
import { n } from "./inputBaseClasses-DuWQGq8Z.js";
|
|
4
|
-
import { a as r, t as i } from "./field-label-styles-BOyhp6gw.js";
|
|
5
|
-
import { forwardRef as a, useState as o } from "react";
|
|
6
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
7
|
-
import { IconButton as c, InputAdornment as l, TextField as u, styled as d, useThemeProps as f } from "@mui/material";
|
|
8
|
-
//#region ../../node_modules/@mui/icons-material/Visibility.mjs
|
|
9
|
-
var p = e(/* @__PURE__ */ s("path", { d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3" }), "Visibility"), m = e(/* @__PURE__ */ s("path", { d: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z" }), "VisibilityOff"), h = d(u, {
|
|
10
|
-
name: "STextField",
|
|
11
|
-
slot: "Root",
|
|
12
|
-
shouldForwardProp: (e) => e !== "ownerState"
|
|
13
|
-
})({
|
|
14
|
-
...i,
|
|
15
|
-
[`& .${r.root}[data-shrink='false'] + .${n.formControl} .${n.input}`]: { "&::placeholder": { opacity: "1 !important" } }
|
|
16
|
-
}), g = a((e, n) => {
|
|
17
|
-
let r = f({
|
|
18
|
-
props: e,
|
|
19
|
-
name: "STextField"
|
|
20
|
-
}), { fullWidth: i = !0, type: a = "text", slotProps: u, togglePasswordText: d = "toggle password visibility", ...g } = r, [_, v] = o(!1), y = a === "password", b = {
|
|
21
|
-
...r,
|
|
22
|
-
fullWidth: i,
|
|
23
|
-
password: y,
|
|
24
|
-
passwordVisible: _
|
|
25
|
-
}, x = () => {
|
|
26
|
-
v((e) => !e);
|
|
27
|
-
}, S = y && _ ? "text" : a, C = y ? /* @__PURE__ */ s(l, {
|
|
28
|
-
position: "end",
|
|
29
|
-
children: /* @__PURE__ */ s(c, {
|
|
30
|
-
"aria-label": d,
|
|
31
|
-
onClick: x,
|
|
32
|
-
edge: "end",
|
|
33
|
-
size: "small",
|
|
34
|
-
children: s(_ ? m : p, {})
|
|
35
|
-
})
|
|
36
|
-
}) : void 0;
|
|
37
|
-
return /* @__PURE__ */ s(h, {
|
|
38
|
-
...g,
|
|
39
|
-
fullWidth: i,
|
|
40
|
-
ownerState: b,
|
|
41
|
-
ref: n,
|
|
42
|
-
type: S,
|
|
43
|
-
slotProps: {
|
|
44
|
-
...u,
|
|
45
|
-
input: y ? t(u?.input, { endAdornment: C }) : u?.input
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
g.displayName = "STextField";
|
|
50
|
-
//#endregion
|
|
51
|
-
export { g as t };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./useForkRef-CKneCEtr.js";
|
|
2
|
-
import { t } from "./createSvgIcon-B0SZlJF1.js";
|
|
3
|
-
import { forwardRef as n, useCallback as r, useRef as i } from "react";
|
|
4
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
5
|
-
import { flushSync as o } from "react-dom";
|
|
6
|
-
import { IconButton as s, styled as c, useColorScheme as l, useMediaQuery as u, useThemeProps as d } from "@mui/material";
|
|
7
|
-
//#region ../../node_modules/@mui/icons-material/DarkMode.mjs
|
|
8
|
-
var f = t(/* @__PURE__ */ a("path", { d: "M12 3c-4.97 0-9 4.03-9 9s4.03 9 9 9 9-4.03 9-9c0-.46-.04-.92-.1-1.36-.98 1.37-2.58 2.26-4.4 2.26-2.98 0-5.4-2.42-5.4-5.4 0-1.81.89-3.42 2.26-4.4-.44-.06-.9-.1-1.36-.1" }), "DarkMode"), p = t(/* @__PURE__ */ a("path", { d: "M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5M2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1m18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1M11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1m0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1M5.99 4.58c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41zm12.37 12.37c-.39-.39-1.03-.39-1.41 0-.39.39-.39 1.03 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0 .39-.39.39-1.03 0-1.41zm1.06-10.96c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0zM7.05 18.36c.39-.39.39-1.03 0-1.41-.39-.39-1.03-.39-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0z" }), "LightMode"), m = c(s, {
|
|
9
|
-
name: "SThemeSwitch",
|
|
10
|
-
slot: "Root"
|
|
11
|
-
})({}), h = n(function(t, n) {
|
|
12
|
-
let s = d({
|
|
13
|
-
props: t,
|
|
14
|
-
name: "SThemeSwitch"
|
|
15
|
-
}), { mode: c, onClick: h, setMode: g, "aria-label": _, ...v } = s, y = i(null), b = e(y, n), { mode: x, setMode: S, systemMode: C } = l(), w = u("(prefers-reduced-motion: reduce)"), T = c ?? x, E = (T === "system" ? C : T) === "dark", D = {
|
|
16
|
-
...s,
|
|
17
|
-
mode: T
|
|
18
|
-
}, O = r(() => {
|
|
19
|
-
let e = E ? "light" : "dark";
|
|
20
|
-
g ? g(e) : S(e);
|
|
21
|
-
}, [
|
|
22
|
-
E,
|
|
23
|
-
S,
|
|
24
|
-
g
|
|
25
|
-
]), k = r(async (e) => {
|
|
26
|
-
if (h?.(e), e.defaultPrevented) return;
|
|
27
|
-
if (w || !y.current || typeof document > "u" || !document.startViewTransition) {
|
|
28
|
-
O();
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
await document.startViewTransition(() => {
|
|
32
|
-
o(() => {
|
|
33
|
-
O();
|
|
34
|
-
});
|
|
35
|
-
}).ready;
|
|
36
|
-
let t = y.current;
|
|
37
|
-
if (!t) return;
|
|
38
|
-
let { top: n, left: r, width: i, height: a } = t.getBoundingClientRect(), s = r + i / 2, c = n + a / 2, l = Math.hypot(Math.max(s, window.innerWidth - s), Math.max(c, window.innerHeight - c));
|
|
39
|
-
document.documentElement.animate({ clipPath: [`circle(0px at ${s}px ${c}px)`, `circle(${l}px at ${s}px ${c}px)`] }, {
|
|
40
|
-
duration: 700,
|
|
41
|
-
easing: "ease-in-out",
|
|
42
|
-
pseudoElement: "::view-transition-new(root)"
|
|
43
|
-
});
|
|
44
|
-
}, [
|
|
45
|
-
h,
|
|
46
|
-
w,
|
|
47
|
-
O
|
|
48
|
-
]);
|
|
49
|
-
return /* @__PURE__ */ a(m, {
|
|
50
|
-
...v,
|
|
51
|
-
ref: b,
|
|
52
|
-
"aria-label": _ ?? (E ? "Switch to light mode" : "Switch to dark mode"),
|
|
53
|
-
onClick: k,
|
|
54
|
-
ownerState: D,
|
|
55
|
-
children: a(E ? p : f, {})
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
h.displayName = "SThemeSwitch";
|
|
59
|
-
//#endregion
|
|
60
|
-
export { h as t };
|
package/dist/s-tip-ty41ePQm.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./styled-Bog8QCl3.js";
|
|
2
|
-
import { t } from "./Stack-UMc4dV4G.js";
|
|
3
|
-
import { t as n } from "./useThemeProps-Cr28OQu3.js";
|
|
4
|
-
import { toSxArray as r } from "./utils/sx.js";
|
|
5
|
-
import { t as i } from "./appendOwnerState-CELpvdMz.js";
|
|
6
|
-
import { t as a } from "./createSvgIcon-B0SZlJF1.js";
|
|
7
|
-
import { t as o } from "./Typography-yXjc7kVP.js";
|
|
8
|
-
import * as s from "react";
|
|
9
|
-
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
10
|
-
//#region ../../node_modules/@mui/icons-material/LightbulbOutlined.mjs
|
|
11
|
-
var u = a(/* @__PURE__ */ c("path", { d: "M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7m2.85 11.1-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1" }), "LightbulbOutlined"), d = e(t, {
|
|
12
|
-
name: "STip",
|
|
13
|
-
slot: "Root",
|
|
14
|
-
shouldForwardProp: (e) => e !== "ownerState"
|
|
15
|
-
})({});
|
|
16
|
-
function f(e, t) {
|
|
17
|
-
return typeof e == "function" ? e(t) : e;
|
|
18
|
-
}
|
|
19
|
-
var p = s.forwardRef(function(e, t) {
|
|
20
|
-
let a = n({
|
|
21
|
-
props: e,
|
|
22
|
-
name: "STip"
|
|
23
|
-
}), { children: s, direction: p = "row", label: m = "Tip.", slotProps: h, slots: g, spacing: _ = 1, sx: v, ...y } = a, b = {
|
|
24
|
-
...a,
|
|
25
|
-
direction: p,
|
|
26
|
-
hasLabel: m != null,
|
|
27
|
-
spacing: _
|
|
28
|
-
}, x = g?.icon ?? u, S = g?.text ?? o, C = f(h?.icon, b), w = f(h?.text, b), T = i(g?.icon, C ?? {}, b), E = i(g?.text, w ?? {}, b);
|
|
29
|
-
return /* @__PURE__ */ l(d, {
|
|
30
|
-
...y,
|
|
31
|
-
ref: t,
|
|
32
|
-
direction: p,
|
|
33
|
-
ownerState: b,
|
|
34
|
-
spacing: _,
|
|
35
|
-
sx: [{
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
bgcolor: "background.default",
|
|
38
|
-
borderRadius: 1,
|
|
39
|
-
color: "text.primary",
|
|
40
|
-
p: 1
|
|
41
|
-
}, ...r(v)],
|
|
42
|
-
children: [/* @__PURE__ */ c(x, {
|
|
43
|
-
...T,
|
|
44
|
-
sx: [{ fontSize: 16 }, ...r(C?.sx)]
|
|
45
|
-
}), /* @__PURE__ */ l(S, {
|
|
46
|
-
...E,
|
|
47
|
-
children: [
|
|
48
|
-
m != null && /* @__PURE__ */ c(o, {
|
|
49
|
-
component: "span",
|
|
50
|
-
sx: { fontWeight: "bold" },
|
|
51
|
-
variant: "inherit",
|
|
52
|
-
children: m
|
|
53
|
-
}),
|
|
54
|
-
" ",
|
|
55
|
-
s
|
|
56
|
-
]
|
|
57
|
-
})]
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
p.displayName = "STip";
|
|
61
|
-
//#endregion
|
|
62
|
-
export { p as t };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./generateUtilityClass-PAIOm1jC.js";
|
|
2
|
-
import { t } from "./generateUtilityClasses-DvX505Gy.js";
|
|
3
|
-
//#region ../../node_modules/@mui/material/Select/selectClasses.mjs
|
|
4
|
-
function n(t) {
|
|
5
|
-
return e("MuiSelect", t);
|
|
6
|
-
}
|
|
7
|
-
var r = t("MuiSelect", [
|
|
8
|
-
"root",
|
|
9
|
-
"select",
|
|
10
|
-
"multiple",
|
|
11
|
-
"filled",
|
|
12
|
-
"outlined",
|
|
13
|
-
"standard",
|
|
14
|
-
"disabled",
|
|
15
|
-
"focused",
|
|
16
|
-
"icon",
|
|
17
|
-
"iconOpen",
|
|
18
|
-
"nativeInput",
|
|
19
|
-
"error"
|
|
20
|
-
]);
|
|
21
|
-
//#endregion
|
|
22
|
-
export { r as n, n as t };
|
package/dist/styled-Bog8QCl3.js
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { a as e, c as t, l as n, o as r, t as i } from "./defaultTheme-BaGcIzCh.js";
|
|
2
|
-
import { a, g as o, h as s, i as c, l, p as u } from "./createTheme-xB2Em0Na.js";
|
|
3
|
-
//#region ../../node_modules/@mui/utils/getDisplayName/getDisplayName.mjs
|
|
4
|
-
var d = o();
|
|
5
|
-
function f(e, t = "") {
|
|
6
|
-
return e.displayName || e.name || t;
|
|
7
|
-
}
|
|
8
|
-
function p(e, t, n) {
|
|
9
|
-
let r = f(t);
|
|
10
|
-
return e.displayName || (r === "" ? n : `${n}(${r})`);
|
|
11
|
-
}
|
|
12
|
-
function m(e) {
|
|
13
|
-
if (e != null) {
|
|
14
|
-
if (typeof e == "string") return e;
|
|
15
|
-
if (typeof e == "function") return f(e, "Component");
|
|
16
|
-
if (typeof e == "object") switch (e.$$typeof) {
|
|
17
|
-
case d.ForwardRef: return p(e, e.render, "ForwardRef");
|
|
18
|
-
case d.Memo: return p(e, e.type, "memo");
|
|
19
|
-
default: return;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
//#endregion
|
|
24
|
-
//#region ../../node_modules/@mui/system/preprocessStyles.mjs
|
|
25
|
-
function h(e) {
|
|
26
|
-
let { variants: t, ...n } = e, i = {
|
|
27
|
-
variants: t,
|
|
28
|
-
style: r(n),
|
|
29
|
-
isProcessed: !0
|
|
30
|
-
};
|
|
31
|
-
return i.style === n || t && t.forEach((e) => {
|
|
32
|
-
typeof e.style != "function" && (e.style = r(e.style));
|
|
33
|
-
}), i;
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region ../../node_modules/@mui/system/createStyled/createStyled.mjs
|
|
37
|
-
var g = c();
|
|
38
|
-
function _(e) {
|
|
39
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
40
|
-
}
|
|
41
|
-
function v(e, t) {
|
|
42
|
-
return t && e && typeof e == "object" && e.styles && !e.styles.startsWith("@layer") && (e.styles = `@layer ${t}{${String(e.styles)}}`), e;
|
|
43
|
-
}
|
|
44
|
-
function y(e) {
|
|
45
|
-
return e ? (t, n) => n[e] : null;
|
|
46
|
-
}
|
|
47
|
-
function b(e, t, n) {
|
|
48
|
-
e.theme = u(e.theme) ? n : e.theme[t] || e.theme;
|
|
49
|
-
}
|
|
50
|
-
function x(e, t, n) {
|
|
51
|
-
let i = typeof t == "function" ? t(e) : t;
|
|
52
|
-
if (Array.isArray(i)) return i.flatMap((t) => x(e, t, n));
|
|
53
|
-
if (Array.isArray(i?.variants)) {
|
|
54
|
-
let t;
|
|
55
|
-
if (i.isProcessed) t = n ? v(i.style, n) : i.style;
|
|
56
|
-
else {
|
|
57
|
-
let { variants: e, ...a } = i;
|
|
58
|
-
t = n ? v(r(a), n) : a;
|
|
59
|
-
}
|
|
60
|
-
return S(e, i.variants, [t], n);
|
|
61
|
-
}
|
|
62
|
-
return i?.isProcessed ? n ? v(r(i.style), n) : i.style : n ? v(r(i), n) : i;
|
|
63
|
-
}
|
|
64
|
-
function S(e, t, n = [], i = void 0) {
|
|
65
|
-
let a;
|
|
66
|
-
variantLoop: for (let o = 0; o < t.length; o += 1) {
|
|
67
|
-
let s = t[o];
|
|
68
|
-
if (typeof s.props == "function") {
|
|
69
|
-
if (a ??= {
|
|
70
|
-
...e,
|
|
71
|
-
...e.ownerState,
|
|
72
|
-
ownerState: e.ownerState
|
|
73
|
-
}, !s.props(a)) continue;
|
|
74
|
-
} else for (let t in s.props) if (e[t] !== s.props[t] && e.ownerState?.[t] !== s.props[t]) continue variantLoop;
|
|
75
|
-
typeof s.style == "function" ? (a ??= {
|
|
76
|
-
...e,
|
|
77
|
-
...e.ownerState,
|
|
78
|
-
ownerState: e.ownerState
|
|
79
|
-
}, n.push(i ? v(r(s.style(a)), i) : s.style(a))) : n.push(i ? v(r(s.style), i) : s.style);
|
|
80
|
-
}
|
|
81
|
-
return n;
|
|
82
|
-
}
|
|
83
|
-
function C(n = {}) {
|
|
84
|
-
let { themeId: r, defaultTheme: i = g, rootShouldForwardProp: o = _, slotShouldForwardProp: c = _ } = n;
|
|
85
|
-
function l(e) {
|
|
86
|
-
b(e, r, i);
|
|
87
|
-
}
|
|
88
|
-
return (n, r = {}) => {
|
|
89
|
-
e(n, (e) => e.filter((e) => e !== a));
|
|
90
|
-
let { name: i, slot: u, skipVariantsResolver: d, skipSx: f, overridesResolver: p = y(D(u)), ...m } = r, g = i && i.startsWith("Mui") || u ? "components" : "custom", b = d === void 0 ? u && u !== "Root" && u !== "root" || !1 : d, C = f || !1, O = _;
|
|
91
|
-
u === "Root" || u === "root" ? O = o : u ? O = c : E(n) && (O = void 0);
|
|
92
|
-
let k = t(n, {
|
|
93
|
-
shouldForwardProp: O,
|
|
94
|
-
label: T(i, u),
|
|
95
|
-
...m
|
|
96
|
-
}), A = (e) => {
|
|
97
|
-
if (e.__emotion_real === e) return e;
|
|
98
|
-
if (typeof e == "function") return function(t) {
|
|
99
|
-
return x(t, e, t.theme.modularCssLayers ? g : void 0);
|
|
100
|
-
};
|
|
101
|
-
if (s(e)) {
|
|
102
|
-
let t = h(e);
|
|
103
|
-
return function(e) {
|
|
104
|
-
return t.variants ? x(e, t, e.theme.modularCssLayers ? g : void 0) : e.theme.modularCssLayers ? v(t.style, g) : t.style;
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
return e;
|
|
108
|
-
}, j = (...e) => {
|
|
109
|
-
let t = [], r = e.map(A), o = [];
|
|
110
|
-
if (t.push(l), i && p && o.push(function(e) {
|
|
111
|
-
let t = e.theme.components?.[i]?.styleOverrides;
|
|
112
|
-
if (!t) return null;
|
|
113
|
-
let n = {};
|
|
114
|
-
for (let r in t) n[r] = x(e, t[r], e.theme.modularCssLayers ? "theme" : void 0);
|
|
115
|
-
return p(e, n);
|
|
116
|
-
}), i && !b && o.push(function(e) {
|
|
117
|
-
let t = e.theme?.components?.[i]?.variants;
|
|
118
|
-
return t ? S(e, t, [], e.theme.modularCssLayers ? "theme" : void 0) : null;
|
|
119
|
-
}), C || o.push(a), Array.isArray(r[0])) {
|
|
120
|
-
let e = r.shift(), n = Array(t.length).fill(""), i = Array(o.length).fill(""), a;
|
|
121
|
-
a = [
|
|
122
|
-
...n,
|
|
123
|
-
...e,
|
|
124
|
-
...i
|
|
125
|
-
], a.raw = [
|
|
126
|
-
...n,
|
|
127
|
-
...e.raw,
|
|
128
|
-
...i
|
|
129
|
-
], t.unshift(a);
|
|
130
|
-
}
|
|
131
|
-
let s = k(...t, ...r, ...o);
|
|
132
|
-
return n.muiName && (s.muiName = n.muiName), process.env.NODE_ENV !== "production" && (s.displayName = w(i, u, n)), s;
|
|
133
|
-
};
|
|
134
|
-
return k.withConfig && (j.withConfig = k.withConfig), j;
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
function w(e, t, n) {
|
|
138
|
-
return e ? `${e}${l(t || "")}` : `Styled(${m(n)})`;
|
|
139
|
-
}
|
|
140
|
-
function T(e, t) {
|
|
141
|
-
let n;
|
|
142
|
-
return process.env.NODE_ENV !== "production" && e && (n = `${e}-${D(t || "Root")}`), n;
|
|
143
|
-
}
|
|
144
|
-
function E(e) {
|
|
145
|
-
return typeof e == "string" && e.charCodeAt(0) > 96;
|
|
146
|
-
}
|
|
147
|
-
function D(e) {
|
|
148
|
-
return e && e.charAt(0).toLowerCase() + e.slice(1);
|
|
149
|
-
}
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region ../../node_modules/@mui/material/styles/slotShouldForwardProp.mjs
|
|
152
|
-
function O(e) {
|
|
153
|
-
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
154
|
-
}
|
|
155
|
-
//#endregion
|
|
156
|
-
//#region ../../node_modules/@mui/material/styles/rootShouldForwardProp.mjs
|
|
157
|
-
var k = (e) => O(e) && e !== "classes", A = C({
|
|
158
|
-
themeId: n,
|
|
159
|
-
defaultTheme: i,
|
|
160
|
-
rootShouldForwardProp: k
|
|
161
|
-
});
|
|
162
|
-
//#endregion
|
|
163
|
-
export { _ as a, C as i, k as n, h as o, O as r, A as t };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./generateUtilityClass-PAIOm1jC.js";
|
|
2
|
-
import { t } from "./generateUtilityClasses-DvX505Gy.js";
|
|
3
|
-
//#region ../../node_modules/@mui/material/SvgIcon/svgIconClasses.mjs
|
|
4
|
-
function n(t) {
|
|
5
|
-
return e("MuiSvgIcon", t);
|
|
6
|
-
}
|
|
7
|
-
var r = t("MuiSvgIcon", [
|
|
8
|
-
"root",
|
|
9
|
-
"colorPrimary",
|
|
10
|
-
"colorSecondary",
|
|
11
|
-
"colorAction",
|
|
12
|
-
"colorError",
|
|
13
|
-
"colorDisabled",
|
|
14
|
-
"fontSizeInherit",
|
|
15
|
-
"fontSizeSmall",
|
|
16
|
-
"fontSizeMedium",
|
|
17
|
-
"fontSizeLarge"
|
|
18
|
-
]);
|
|
19
|
-
//#endregion
|
|
20
|
-
export { r as n, n as t };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./generateUtilityClass-PAIOm1jC.js";
|
|
2
|
-
import { t } from "./generateUtilityClasses-DvX505Gy.js";
|
|
3
|
-
//#region ../../node_modules/@mui/material/Switch/switchClasses.mjs
|
|
4
|
-
function n(t) {
|
|
5
|
-
return e("MuiSwitch", t);
|
|
6
|
-
}
|
|
7
|
-
var r = t("MuiSwitch", [
|
|
8
|
-
"root",
|
|
9
|
-
"edgeStart",
|
|
10
|
-
"edgeEnd",
|
|
11
|
-
"switchBase",
|
|
12
|
-
"colorPrimary",
|
|
13
|
-
"colorSecondary",
|
|
14
|
-
"sizeSmall",
|
|
15
|
-
"sizeMedium",
|
|
16
|
-
"checked",
|
|
17
|
-
"disabled",
|
|
18
|
-
"input",
|
|
19
|
-
"thumb",
|
|
20
|
-
"track"
|
|
21
|
-
]);
|
|
22
|
-
//#endregion
|
|
23
|
-
export { r as n, n as t };
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createSvgIcon-B0SZlJF1.js";
|
|
2
|
-
import { t } from "./Add-COc9VdNg.js";
|
|
3
|
-
import { t as n } from "./Favorite-B_GsElm0.js";
|
|
4
|
-
import { t as r } from "./s-text-field-BM4qk0mf.js";
|
|
5
|
-
import { SButton as i } from "./s-button/s-button.js";
|
|
6
|
-
import * as a from "react";
|
|
7
|
-
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
8
|
-
import { Box as c, Card as l, CardContent as u, Stack as d, Typography as f } from "@mui/material";
|
|
9
|
-
//#region ../../node_modules/@mui/icons-material/Share.mjs
|
|
10
|
-
var p = e(/* @__PURE__ */ o("path", { d: "M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92" }), "Share"), m = e(/* @__PURE__ */ o("path", { d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z" }), "Star"), h = () => {
|
|
11
|
-
let [e, h] = a.useState("");
|
|
12
|
-
return /* @__PURE__ */ o(l, { children: /* @__PURE__ */ o(u, { children: /* @__PURE__ */ o(c, { children: /* @__PURE__ */ s(d, {
|
|
13
|
-
spacing: 3,
|
|
14
|
-
children: [
|
|
15
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
16
|
-
variant: "h6",
|
|
17
|
-
sx: { mb: 2 },
|
|
18
|
-
children: "Button Variants"
|
|
19
|
-
}), /* @__PURE__ */ s(d, {
|
|
20
|
-
direction: "row",
|
|
21
|
-
sx: {
|
|
22
|
-
flexWrap: "wrap",
|
|
23
|
-
gap: 2
|
|
24
|
-
},
|
|
25
|
-
children: [
|
|
26
|
-
/* @__PURE__ */ o(i, {
|
|
27
|
-
variant: "contained",
|
|
28
|
-
color: "primary",
|
|
29
|
-
children: "Contained"
|
|
30
|
-
}),
|
|
31
|
-
/* @__PURE__ */ o(i, {
|
|
32
|
-
variant: "outlined",
|
|
33
|
-
color: "primary",
|
|
34
|
-
children: "Outlined"
|
|
35
|
-
}),
|
|
36
|
-
/* @__PURE__ */ o(i, {
|
|
37
|
-
variant: "text",
|
|
38
|
-
color: "primary",
|
|
39
|
-
children: "Text"
|
|
40
|
-
})
|
|
41
|
-
]
|
|
42
|
-
})] }),
|
|
43
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
44
|
-
variant: "h6",
|
|
45
|
-
sx: { mb: 2 },
|
|
46
|
-
children: "Color Variants (Contained)"
|
|
47
|
-
}), /* @__PURE__ */ s(d, {
|
|
48
|
-
direction: "row",
|
|
49
|
-
sx: {
|
|
50
|
-
flexWrap: "wrap",
|
|
51
|
-
gap: 2
|
|
52
|
-
},
|
|
53
|
-
children: [
|
|
54
|
-
/* @__PURE__ */ o(i, {
|
|
55
|
-
variant: "contained",
|
|
56
|
-
color: "primary",
|
|
57
|
-
children: "Primary"
|
|
58
|
-
}),
|
|
59
|
-
/* @__PURE__ */ o(i, {
|
|
60
|
-
variant: "contained",
|
|
61
|
-
color: "secondary",
|
|
62
|
-
children: "Secondary"
|
|
63
|
-
}),
|
|
64
|
-
/* @__PURE__ */ o(i, {
|
|
65
|
-
variant: "contained",
|
|
66
|
-
color: "success",
|
|
67
|
-
children: "Success"
|
|
68
|
-
}),
|
|
69
|
-
/* @__PURE__ */ o(i, {
|
|
70
|
-
variant: "contained",
|
|
71
|
-
color: "warning",
|
|
72
|
-
children: "Warning"
|
|
73
|
-
}),
|
|
74
|
-
/* @__PURE__ */ o(i, {
|
|
75
|
-
variant: "contained",
|
|
76
|
-
color: "error",
|
|
77
|
-
children: "Error"
|
|
78
|
-
}),
|
|
79
|
-
/* @__PURE__ */ o(i, {
|
|
80
|
-
variant: "contained",
|
|
81
|
-
color: "info",
|
|
82
|
-
children: "Info"
|
|
83
|
-
})
|
|
84
|
-
]
|
|
85
|
-
})] }),
|
|
86
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
87
|
-
variant: "h6",
|
|
88
|
-
sx: { mb: 2 },
|
|
89
|
-
children: "Color Variants (Outlined)"
|
|
90
|
-
}), /* @__PURE__ */ s(d, {
|
|
91
|
-
direction: "row",
|
|
92
|
-
sx: {
|
|
93
|
-
flexWrap: "wrap",
|
|
94
|
-
gap: 2
|
|
95
|
-
},
|
|
96
|
-
children: [
|
|
97
|
-
/* @__PURE__ */ o(i, {
|
|
98
|
-
variant: "outlined",
|
|
99
|
-
color: "primary",
|
|
100
|
-
children: "Primary"
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ o(i, {
|
|
103
|
-
variant: "outlined",
|
|
104
|
-
color: "secondary",
|
|
105
|
-
children: "Secondary"
|
|
106
|
-
}),
|
|
107
|
-
/* @__PURE__ */ o(i, {
|
|
108
|
-
variant: "outlined",
|
|
109
|
-
color: "success",
|
|
110
|
-
children: "Success"
|
|
111
|
-
}),
|
|
112
|
-
/* @__PURE__ */ o(i, {
|
|
113
|
-
variant: "outlined",
|
|
114
|
-
color: "warning",
|
|
115
|
-
children: "Warning"
|
|
116
|
-
}),
|
|
117
|
-
/* @__PURE__ */ o(i, {
|
|
118
|
-
variant: "outlined",
|
|
119
|
-
color: "error",
|
|
120
|
-
children: "Error"
|
|
121
|
-
}),
|
|
122
|
-
/* @__PURE__ */ o(i, {
|
|
123
|
-
variant: "outlined",
|
|
124
|
-
color: "info",
|
|
125
|
-
children: "Info"
|
|
126
|
-
})
|
|
127
|
-
]
|
|
128
|
-
})] }),
|
|
129
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
130
|
-
variant: "h6",
|
|
131
|
-
sx: { mb: 2 },
|
|
132
|
-
children: "Button Sizes"
|
|
133
|
-
}), /* @__PURE__ */ s(d, {
|
|
134
|
-
direction: "row",
|
|
135
|
-
sx: {
|
|
136
|
-
alignItems: "center",
|
|
137
|
-
flexWrap: "wrap",
|
|
138
|
-
gap: 2
|
|
139
|
-
},
|
|
140
|
-
children: [
|
|
141
|
-
/* @__PURE__ */ o(i, {
|
|
142
|
-
variant: "contained",
|
|
143
|
-
color: "primary",
|
|
144
|
-
size: "small",
|
|
145
|
-
children: "Small"
|
|
146
|
-
}),
|
|
147
|
-
/* @__PURE__ */ o(i, {
|
|
148
|
-
variant: "contained",
|
|
149
|
-
color: "primary",
|
|
150
|
-
size: "medium",
|
|
151
|
-
children: "Medium"
|
|
152
|
-
}),
|
|
153
|
-
/* @__PURE__ */ o(i, {
|
|
154
|
-
variant: "contained",
|
|
155
|
-
color: "primary",
|
|
156
|
-
size: "large",
|
|
157
|
-
children: "Large"
|
|
158
|
-
})
|
|
159
|
-
]
|
|
160
|
-
})] }),
|
|
161
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
162
|
-
variant: "h6",
|
|
163
|
-
sx: { mb: 2 },
|
|
164
|
-
children: "Button States"
|
|
165
|
-
}), /* @__PURE__ */ s(d, {
|
|
166
|
-
direction: "row",
|
|
167
|
-
sx: {
|
|
168
|
-
flexWrap: "wrap",
|
|
169
|
-
gap: 2
|
|
170
|
-
},
|
|
171
|
-
children: [
|
|
172
|
-
/* @__PURE__ */ o(i, {
|
|
173
|
-
variant: "contained",
|
|
174
|
-
color: "primary",
|
|
175
|
-
children: "Default"
|
|
176
|
-
}),
|
|
177
|
-
/* @__PURE__ */ o(i, {
|
|
178
|
-
variant: "contained",
|
|
179
|
-
color: "primary",
|
|
180
|
-
disabled: !0,
|
|
181
|
-
children: "Disabled"
|
|
182
|
-
}),
|
|
183
|
-
/* @__PURE__ */ o(i, {
|
|
184
|
-
variant: "outlined",
|
|
185
|
-
color: "primary",
|
|
186
|
-
disabled: !0,
|
|
187
|
-
children: "Disabled Outlined"
|
|
188
|
-
}),
|
|
189
|
-
/* @__PURE__ */ o(i, {
|
|
190
|
-
variant: "text",
|
|
191
|
-
color: "primary",
|
|
192
|
-
disabled: !0,
|
|
193
|
-
children: "Disabled Text"
|
|
194
|
-
})
|
|
195
|
-
]
|
|
196
|
-
})] }),
|
|
197
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
198
|
-
variant: "h6",
|
|
199
|
-
sx: { mb: 2 },
|
|
200
|
-
children: "Buttons with Icons"
|
|
201
|
-
}), /* @__PURE__ */ s(d, {
|
|
202
|
-
direction: "row",
|
|
203
|
-
sx: {
|
|
204
|
-
flexWrap: "wrap",
|
|
205
|
-
gap: 2
|
|
206
|
-
},
|
|
207
|
-
children: [
|
|
208
|
-
/* @__PURE__ */ o(i, {
|
|
209
|
-
variant: "contained",
|
|
210
|
-
color: "primary",
|
|
211
|
-
startIcon: /* @__PURE__ */ o(t, {}),
|
|
212
|
-
children: "Start Icon"
|
|
213
|
-
}),
|
|
214
|
-
/* @__PURE__ */ o(i, {
|
|
215
|
-
variant: "contained",
|
|
216
|
-
color: "secondary",
|
|
217
|
-
endIcon: /* @__PURE__ */ o(p, {}),
|
|
218
|
-
children: "End Icon"
|
|
219
|
-
}),
|
|
220
|
-
/* @__PURE__ */ o(i, {
|
|
221
|
-
variant: "outlined",
|
|
222
|
-
color: "success",
|
|
223
|
-
startIcon: /* @__PURE__ */ o(m, {}),
|
|
224
|
-
children: "Outlined + Icon"
|
|
225
|
-
}),
|
|
226
|
-
/* @__PURE__ */ o(i, {
|
|
227
|
-
variant: "text",
|
|
228
|
-
color: "error",
|
|
229
|
-
endIcon: /* @__PURE__ */ o(n, {}),
|
|
230
|
-
children: "Text + Icon"
|
|
231
|
-
})
|
|
232
|
-
]
|
|
233
|
-
})] }),
|
|
234
|
-
/* @__PURE__ */ s(c, { children: [/* @__PURE__ */ o(f, {
|
|
235
|
-
variant: "h6",
|
|
236
|
-
sx: { mb: 2 },
|
|
237
|
-
children: "Form Components"
|
|
238
|
-
}), /* @__PURE__ */ s(d, {
|
|
239
|
-
sx: { gap: 2 },
|
|
240
|
-
children: [
|
|
241
|
-
/* @__PURE__ */ o(r, {
|
|
242
|
-
label: "Enhanced Text Field",
|
|
243
|
-
value: e,
|
|
244
|
-
onChange: (e) => h(e.target.value),
|
|
245
|
-
placeholder: "Enter text here...",
|
|
246
|
-
helperText: "This is an enhanced STextField component"
|
|
247
|
-
}),
|
|
248
|
-
/* @__PURE__ */ o(r, {
|
|
249
|
-
label: "Password Field",
|
|
250
|
-
type: "password",
|
|
251
|
-
placeholder: "Enter password...",
|
|
252
|
-
helperText: "Password input with custom styling"
|
|
253
|
-
}),
|
|
254
|
-
/* @__PURE__ */ o(r, {
|
|
255
|
-
label: "Multiline Text",
|
|
256
|
-
multiline: !0,
|
|
257
|
-
rows: 3,
|
|
258
|
-
placeholder: "Enter multiple lines...",
|
|
259
|
-
helperText: "Multiline text input"
|
|
260
|
-
})
|
|
261
|
-
]
|
|
262
|
-
})] })
|
|
263
|
-
]
|
|
264
|
-
}) }) }) });
|
|
265
|
-
};
|
|
266
|
-
//#endregion
|
|
267
|
-
export { h as t };
|