@zydon/common 2.7.64 → 2.7.66

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 (59) hide show
  1. package/dist/{chunk-5NIMUEW5.js → chunk-6FG5S5PI.js} +2 -2
  2. package/dist/chunk-7HLCQRIH.js +21 -0
  3. package/dist/chunk-7HLCQRIH.js.map +1 -0
  4. package/dist/{chunk-4RNGASI4.js → chunk-CU7PKEY2.js} +2 -2
  5. package/dist/{chunk-MP2LAJS5.js → chunk-KQTA6B4Y.js} +2 -2
  6. package/dist/chunk-RPPQBAVO.js +12 -0
  7. package/dist/chunk-RPPQBAVO.js.map +1 -0
  8. package/dist/components/Avatar/index.d.ts +1 -1
  9. package/dist/components/AvatarButton/index.js +2 -2
  10. package/dist/components/Common/index.js +2 -2
  11. package/dist/components/DataView/index.js +2 -2
  12. package/dist/components/DynamicDataView/index.js +2 -2
  13. package/dist/components/FrameSkeleton/index.d.ts +1 -0
  14. package/dist/components/FrameSkeleton/index.js +2 -2
  15. package/dist/components/FrameSkeleton/index.js.map +1 -1
  16. package/dist/components/Incrementer/index.d.ts +0 -3
  17. package/dist/components/ListBundles/index.d.ts +0 -8
  18. package/dist/components/SearchInput/index.js +1 -1
  19. package/dist/components/SelectList/index.d.ts +7 -0
  20. package/dist/components/SelectList/index.js +10 -0
  21. package/dist/components/SelectList/index.js.map +1 -0
  22. package/dist/components/SelectableCards/index.js +2 -2
  23. package/dist/components/StateDisplay/index.d.ts +0 -42
  24. package/dist/components/SwapList/index.js +1 -1
  25. package/dist/components/ToggleTheme/index.js +2 -2
  26. package/dist/components/carousel/index.d.ts +0 -18
  27. package/dist/components/form/FileUpload/index.d.ts +0 -200
  28. package/dist/components/form/SelectList/index.d.ts +13 -0
  29. package/dist/components/form/SelectList/index.js +16 -0
  30. package/dist/components/form/SelectList/index.js.map +1 -0
  31. package/dist/components/form/SelectableCards/index.js +2 -2
  32. package/dist/contexts/PushNotifications/index.js +1 -1
  33. package/dist/hooks/useMount.d.ts +0 -20
  34. package/dist/hooks/useSnackbar.d.ts +1 -1
  35. package/dist/hooks/useThemeToggle.js +2 -2
  36. package/dist/hooks/useWindowFocus.d.ts +0 -3
  37. package/dist/index.d.ts +2 -2
  38. package/dist/index.js +2 -2
  39. package/dist/theme/core/index.d.ts +1 -1
  40. package/dist/theme/styles/index.d.ts +13 -77
  41. package/dist/theme/theme-provider.js +2 -2
  42. package/dist/theme/with-settings/index.d.ts +0 -4
  43. package/dist/types/sectionProps.d.ts +2 -0
  44. package/dist/types/selectList.d.ts +31 -0
  45. package/dist/types/selectList.js +3 -0
  46. package/dist/types/selectList.js.map +1 -0
  47. package/dist/utils/compare.d.ts +0 -21
  48. package/dist/utils/execution.d.ts +0 -70
  49. package/dist/utils/object.d.ts +0 -6
  50. package/dist/utils/paymentValidators.d.ts +0 -6
  51. package/dist/utils/popup.d.ts +0 -7
  52. package/dist/utils/string.d.ts +0 -5
  53. package/package.json +3 -1
  54. package/dist/chunk-OTVEMGF2.js +0 -12
  55. package/dist/chunk-OTVEMGF2.js.map +0 -1
  56. package/dist/{chunk-5NIMUEW5.js.map → chunk-6FG5S5PI.js.map} +0 -0
  57. package/dist/{chunk-4RNGASI4.js.map → chunk-CU7PKEY2.js.map} +0 -0
  58. package/dist/{chunk-MP2LAJS5.js.map → chunk-KQTA6B4Y.js.map} +0 -0
  59. package/dist/{index-5a5e5dc8.d.ts → index-c8f1e6e7.d.ts} +12 -12
@@ -7,21 +7,9 @@ import 'react-dropzone';
7
7
  import 'react-easy-crop';
8
8
  import '@dnd-kit/core';
9
9
 
10
- /**
11
- * Tipo para lazy query trigger do RTK Query
12
- * Aceita um ID e retorna uma promise com unwrap
13
- *
14
- * @example
15
- * ```tsx
16
- * const [getFileQuery] = useLazyGetFileQuery();
17
- * ```
18
- */
19
10
  type LazyQueryTrigger = (id: string) => {
20
11
  unwrap: () => Promise<FileGetResponse>;
21
12
  };
22
- /**
23
- * Props base para componentes de upload integrados ao form
24
- */
25
13
  interface BaseFormUploadProps {
26
14
  name: string;
27
15
  rules?: RegisterOptions;
@@ -29,211 +17,23 @@ interface BaseFormUploadProps {
29
17
  disableRemove?: boolean;
30
18
  disableReorder?: boolean;
31
19
  }
32
- /**
33
- * Props para SingleImageUpload integrado ao form
34
- * Retorna apenas o resource_file_id no campo do formulário
35
- */
36
20
  interface FormSingleImageUploadProps extends Omit<SingleImageUploadProps, 'fileDetails' | 'onFileSelect' | 'onRemove' | 'name'>, BaseFormUploadProps {
37
21
  }
38
- /**
39
- * Props para MultiImageUpload integrado ao form
40
- * Retorna array de resource_file_ids no campo do formulário
41
- */
42
22
  interface FormMultiImageUploadProps extends Omit<MultiImageUploadProps, 'filesDetails' | 'onFilesSelect' | 'onRemove' | 'onRemoveAll' | 'name'>, BaseFormUploadProps {
43
23
  }
44
- /**
45
- * Props para SingleFileUpload integrado ao form
46
- * Retorna apenas o resource_file_id no campo do formulário
47
- */
48
24
  interface FormSingleFileUploadProps extends Omit<SingleFileUploadProps, 'fileDetails' | 'onFileSelect' | 'onRemove' | 'name'>, BaseFormUploadProps {
49
25
  }
50
- /**
51
- * Props para MultiFileUpload integrado ao form
52
- * Retorna array de resource_file_ids no campo do formulário
53
- */
54
26
  interface FormMultiFileUploadProps extends Omit<MultiFileUploadProps, 'filesDetails' | 'onFilesSelect' | 'onRemove' | 'onRemoveAll' | 'name'>, BaseFormUploadProps {
55
27
  }
56
28
 
57
- /**
58
- * AvatarUpload integrado ao React Hook Form
59
- * Componente especializado para upload de avatar (imagem circular de perfil)
60
- * Gerencia automaticamente o estado do arquivo e retorna apenas o resource_file_id
61
- *
62
- * @example
63
- * ```tsx
64
- * import { Form } from 'components/form';
65
- * import { AvatarUpload } from 'components/form/FileUpload';
66
- * import { useCreateFilesMutation, useGetFileQuery } from 'services/filesApi';
67
- *
68
- * interface FormData {
69
- * avatar_id: string | null;
70
- * }
71
- *
72
- * const ProfileForm = () => {
73
- * const createFilesMutation = useCreateFilesMutation();
74
- * const getFileQuery = useGetFileQuery();
75
- * const methods = useForm<FormData>();
76
- *
77
- * return (
78
- * <Form methods={methods} onSubmit={handleSubmit}>
79
- * <AvatarUpload
80
- * name="avatar_id"
81
- * createFilesMutation={createFilesMutation}
82
- * getFileQuery={getFileQuery}
83
- * />
84
- * </Form>
85
- * );
86
- * };
87
- * ```
88
- */
89
29
  declare const AvatarUpload: ({ name, rules, createFilesMutation, getFileQuery, disableRemove, aspectRatio, enableCrop, maxSize, ...other }: FormSingleImageUploadProps) => react_jsx_runtime.JSX.Element;
90
30
 
91
- /**
92
- * MultiFileUpload integrado ao React Hook Form
93
- * Gerencia automaticamente o estado dos arquivos e retorna array de resource_file_ids
94
- *
95
- * @example
96
- * ```tsx
97
- * import { Form } from 'components/form';
98
- * import { MultiFileUpload } from 'components/form/FileUpload';
99
- * import { useCreateFilesMutation } from 'services/filesApi';
100
- *
101
- * const FormExample = () => {
102
- * const createFilesMutation = useCreateFilesMutation();
103
- * const methods = useForm({
104
- * defaultValues: {
105
- * document_ids: [],
106
- * },
107
- * });
108
- *
109
- * const handleSubmit = (data: any) => {
110
- * console.log(data.document_ids); // Array de IDs
111
- * };
112
- *
113
- * return (
114
- * <Form methods={methods} onSubmit={handleSubmit}>
115
- * <MultiFileUpload
116
- * name="document_ids"
117
- * label="Documentos"
118
- * createFilesMutation={createFilesMutation}
119
- * maxFiles={5}
120
- * />
121
- * </Form>
122
- * );
123
- * };
124
- * ```
125
- */
126
31
  declare const MultiFileUpload: ({ name, rules, createFilesMutation, getFileQuery, disableRemove, disableReorder, ...other }: FormMultiFileUploadProps) => react_jsx_runtime.JSX.Element;
127
32
 
128
- /**
129
- * MultiImageUpload integrado ao React Hook Form
130
- * Gerencia automaticamente o estado dos arquivos e retorna array de resource_file_ids
131
- *
132
- * @example
133
- * ```tsx
134
- * import { Form } from 'components/form';
135
- * import { MultiImageUpload } from 'components/form/FileUpload';
136
- * import { useCreateFilesMutation } from 'services/filesApi';
137
- *
138
- * const FormExample = () => {
139
- * const createFilesMutation = useCreateFilesMutation();
140
- * const methods = useForm({
141
- * defaultValues: {
142
- * image_ids: [],
143
- * },
144
- * });
145
- *
146
- * const handleSubmit = (data: any) => {
147
- * console.log(data.image_ids); // Array de IDs
148
- * };
149
- *
150
- * return (
151
- * <Form methods={methods} onSubmit={handleSubmit}>
152
- * <MultiImageUpload
153
- * name="image_ids"
154
- * label="Imagens"
155
- * createFilesMutation={createFilesMutation}
156
- * maxFiles={5}
157
- * />
158
- * </Form>
159
- * );
160
- * };
161
- * ```
162
- */
163
33
  declare const MultiImageUpload: ({ name, rules, createFilesMutation, getFileQuery, disableRemove, disableReorder, ...other }: FormMultiImageUploadProps) => react_jsx_runtime.JSX.Element;
164
34
 
165
- /**
166
- * SingleFileUpload integrado ao React Hook Form
167
- * Gerencia automaticamente o estado do arquivo e retorna apenas o resource_file_id
168
- *
169
- * @example
170
- * ```tsx
171
- * import { Form } from 'components/form';
172
- * import { SingleFileUpload } from 'components/form/FileUpload';
173
- * import { useCreateFilesMutation } from 'services/filesApi';
174
- *
175
- * const FormExample = () => {
176
- * const createFilesMutation = useCreateFilesMutation();
177
- * const methods = useForm({
178
- * defaultValues: {
179
- * document_id: null,
180
- * },
181
- * });
182
- *
183
- * const handleSubmit = (data: any) => {
184
- * console.log(data.document_id); // ID do arquivo
185
- * };
186
- *
187
- * return (
188
- * <Form methods={methods} onSubmit={handleSubmit}>
189
- * <SingleFileUpload
190
- * name="document_id"
191
- * label="Documento"
192
- * createFilesMutation={createFilesMutation}
193
- * maxSize={1024 * 1024 * 10}
194
- * />
195
- * </Form>
196
- * );
197
- * };
198
- * ```
199
- */
200
35
  declare const SingleFileUpload: ({ name, rules, createFilesMutation, getFileQuery, disableRemove, ...other }: FormSingleFileUploadProps) => react_jsx_runtime.JSX.Element;
201
36
 
202
- /**
203
- * SingleImageUpload integrado ao React Hook Form
204
- * Gerencia automaticamente o estado do arquivo e retorna apenas o resource_file_id
205
- *
206
- * @example
207
- * ```tsx
208
- * import { Form } from 'components/form';
209
- * import { SingleImageUpload } from 'components/form/FileUpload';
210
- * import { useCreateFilesMutation } from 'services/filesApi';
211
- *
212
- * const FormExample = () => {
213
- * const createFilesMutation = useCreateFilesMutation();
214
- * const methods = useForm({
215
- * defaultValues: {
216
- * resource_id: null,
217
- * },
218
- * });
219
- *
220
- * const handleSubmit = (data: any) => {
221
- * console.log(data.resource_id); // ID do arquivo
222
- * };
223
- *
224
- * return (
225
- * <Form methods={methods} onSubmit={handleSubmit}>
226
- * <SingleImageUpload
227
- * name="resource_id"
228
- * label="Imagem"
229
- * createFilesMutation={createFilesMutation}
230
- * maxSize={1024 * 1024 * 5}
231
- * />
232
- * </Form>
233
- * );
234
- * };
235
- * ```
236
- */
237
37
  declare const SingleImageUpload: ({ name, rules, createFilesMutation, getFileQuery, disableRemove, hoverAlt, ...other }: FormSingleImageUploadProps) => react_jsx_runtime.JSX.Element;
238
38
 
239
39
  export { AvatarUpload, FileGetResponse, FormMultiFileUploadProps, FormMultiImageUploadProps, FormSingleFileUploadProps, FormSingleImageUploadProps, LazyQueryTrigger, MultiFileUpload, MultiImageUpload, SingleFileUpload, SingleImageUpload };
@@ -0,0 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { BaseField } from '../../../types/baseField.js';
3
+ import { SelectListProps as SelectListProps$1 } from '../../../types/selectList.js';
4
+ import 'react-hook-form';
5
+ import 'react';
6
+
7
+ type SelectListProps = BaseField<Omit<SelectListProps$1, 'value' | 'onChange'>> & {
8
+ onChange?: (value: string | string[]) => void;
9
+ };
10
+
11
+ declare const SelectList: ({ name, rules, onChange, helperText, ...other }: SelectListProps) => react_jsx_runtime.JSX.Element;
12
+
13
+ export { SelectList as default };
@@ -0,0 +1,16 @@
1
+ import { a } from '../../../chunk-7HLCQRIH.js';
2
+ import '../../../chunk-RUABKHIV.js';
3
+ import '../../../chunk-RPPQBAVO.js';
4
+ import '../../../chunk-IJZCVZ32.js';
5
+ import '../../../chunk-6U5LS7MP.js';
6
+ import '../../../chunk-LEMPYV5U.js';
7
+ import '../../../chunk-NQNNMRLC.js';
8
+ import '../../../chunk-CIGSMWKF.js';
9
+ import { useFormContext, Controller } from 'react-hook-form';
10
+ import { jsx } from 'react/jsx-runtime';
11
+
12
+ var C=({name:l,rules:s,onChange:m,helperText:p,...c})=>{let{control:a$1}=useFormContext();return jsx(Controller,{name:l,control:a$1,rules:s,render:({field:e,fieldState:{error:t}})=>jsx(a,{...c,value:e.value,onChange:o=>{e.onChange(o),m?.(o);},error:!!t,helperText:t?.message||p})})},L=C;
13
+
14
+ export { L as default };
15
+ //# sourceMappingURL=out.js.map
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/form/SelectList/index.tsx"],"names":["Controller","useFormContext","jsx","SelectList","name","rules","onChange","helperText","other","control","field","error","SelectList_default","value"],"mappings":"oSAAA,OAAS,cAAAA,EAAY,kBAAAC,MAAsB,kBAgBjC,cAAAC,MAAA,oBAVV,IAAMC,EAAa,CAAC,CAAE,KAAAC,EAAM,MAAAC,EAAO,SAAAC,EAAU,WAAAC,EAAY,GAAGC,CAAM,IAAuB,CACvF,GAAM,CAAE,QAAAC,CAAQ,EAAIR,EAAe,EAEnC,OACEC,EAACF,EAAA,CACC,KAAMI,EACN,QAASK,EACT,MAAOJ,EACP,OAAQ,CAAC,CAAE,MAAAK,EAAO,WAAY,CAAE,MAAAC,CAAM,CAAE,IAEpCT,EAACU,EAAA,CACE,GAAGJ,EACJ,MAAOE,EAAM,MACb,SAAUG,GAAS,CACjBH,EAAM,SAASG,CAAK,EACpBP,IAAWO,CAAK,CAClB,EACA,MAAO,CAAC,CAACF,EACT,WAAYA,GAAO,SAAWJ,EAChC,EAGN,CAEJ,EAEOK,EAAQT","sourcesContent":["import { Controller, useFormContext } from 'react-hook-form';\n\nimport SelectListComponent from 'components/SelectList';\n\nimport { SelectListProps } from './props';\n\nconst SelectList = ({ name, rules, onChange, helperText, ...other }: SelectListProps) => {\n const { control } = useFormContext();\n\n return (\n <Controller\n name={name}\n control={control}\n rules={rules}\n render={({ field, fieldState: { error } }) => {\n return (\n <SelectListComponent\n {...other}\n value={field.value}\n onChange={value => {\n field.onChange(value);\n onChange?.(value);\n }}\n error={!!error}\n helperText={error?.message || helperText}\n />\n );\n }}\n />\n );\n};\n\nexport default SelectList;\n"]}
@@ -1,6 +1,6 @@
1
- import { a } from '../../../chunk-MP2LAJS5.js';
1
+ import { a } from '../../../chunk-KQTA6B4Y.js';
2
2
  import '../../../chunk-6ZSTKYGL.js';
3
- import '../../../chunk-OTVEMGF2.js';
3
+ import '../../../chunk-RPPQBAVO.js';
4
4
  import '../../../chunk-IJZCVZ32.js';
5
5
  import '../../../chunk-NIQW2J3M.js';
6
6
  import '../../../chunk-NQNNMRLC.js';
@@ -1,6 +1,6 @@
1
1
  import { a as a$1 } from '../../chunk-RP7PNTLJ.js';
2
- import '../../chunk-E5ULJSWF.js';
3
2
  import { a } from '../../chunk-GPFANUMT.js';
3
+ import '../../chunk-E5ULJSWF.js';
4
4
  import '../../chunk-TVKBRJHF.js';
5
5
  import { createContext, useState, useRef, useMemo, useEffect, useCallback, useContext } from 'react';
6
6
  import { jsx } from 'react/jsx-runtime';
@@ -1,23 +1,3 @@
1
- /**
2
- * UseMount hook runs the callback only once when the component is mounted.
3
- *
4
- * @param callback - The callback to run when the component is mounted. Returns a cleanup function to run at the end of the component lifecycle.
5
- * @example
6
- * Here's an example with negative numbers:
7
- * ```
8
- * useMount(() => {
9
- * document.addEventListener('resize', () => {
10
- * // do something
11
- * });
12
- *
13
- * return () => {
14
- * document.removeEventListener('resize', () => {
15
- * // cleanup event listener
16
- * });
17
- * };
18
- * });
19
- * ```
20
- */
21
1
  declare const useMount: (callback: () => void | (() => void)) => void;
22
2
 
23
3
  export { useMount as default };
@@ -12,6 +12,7 @@ declare const useSnackbar: () => {
12
12
  custom: (jsx: (id: string | number) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, data?: ExternalToast | undefined) => string | number;
13
13
  message: (message: string | number | boolean | react.ReactElement<any, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | react.ReactPortal | (() => ReactNode) | null | undefined, data?: ExternalToast | undefined) => string | number;
14
14
  promise: <ToastData>(promise: Promise<ToastData> | (() => Promise<ToastData>), data?: ({
15
+ cancel?: ReactNode | sonner.Action;
15
16
  className?: string | undefined;
16
17
  style?: react.CSSProperties | undefined;
17
18
  position?: ("top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right") | undefined;
@@ -21,7 +22,6 @@ declare const useSnackbar: () => {
21
22
  icon?: ReactNode;
22
23
  duration?: number | undefined;
23
24
  onDismiss?: ((toast: sonner.ToastT) => void) | undefined;
24
- cancel?: ReactNode | sonner.Action;
25
25
  richColors?: boolean | undefined;
26
26
  closeButton?: boolean | undefined;
27
27
  dismissible?: boolean | undefined;
@@ -1,12 +1,12 @@
1
1
  export { a as useThemeToggle } from '../chunk-UHXAPEIF.js';
2
- import '../chunk-4RNGASI4.js';
2
+ import '../chunk-CU7PKEY2.js';
3
3
  import '../chunk-LDGBS7ZI.js';
4
+ import '../chunk-2WG6OWB4.js';
4
5
  import '../chunk-6W52DPH4.js';
5
6
  import '../chunk-TWSAWMZ3.js';
6
7
  import '../chunk-ROVD7OGE.js';
7
8
  import '../chunk-EQYL7U3J.js';
8
9
  import '../chunk-WUFEPE2G.js';
9
- import '../chunk-2WG6OWB4.js';
10
10
  import '../chunk-GLRLKFPS.js';
11
11
  //# sourceMappingURL=out.js.map
12
12
  //# sourceMappingURL=useThemeToggle.js.map
@@ -1,6 +1,3 @@
1
- /**
2
- * @returns boolean - true quando a aba está visível/focada, false quando está oculta
3
- */
4
1
  declare function useWindowFocus(): boolean;
5
2
 
6
3
  export { useWindowFocus as default };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { C as CustomShadows } from './index-5a5e5dc8.js';
2
- export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-5a5e5dc8.js';
1
+ import { C as CustomShadows } from './index-c8f1e6e7.js';
2
+ export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from './index-c8f1e6e7.js';
3
3
  export { S as SettingsContextValue, _ as SettingsProvider, T as ThemeProviderProps, u as useSettingsContext } from './settings-provider-38d09283.js';
4
4
  export { THEME_CONFIG, default as ThemeProvider } from './theme/theme-provider.js';
5
5
  import { S as SettingsState } from './settings-583c107c.js';
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
1
  export { a as useThemeToggle } from './chunk-UHXAPEIF.js';
2
- export { b as ThemeProvider, a as createTheme } from './chunk-4RNGASI4.js';
2
+ export { b as ThemeProvider, a as createTheme } from './chunk-CU7PKEY2.js';
3
3
  import './chunk-LDGBS7ZI.js';
4
+ export { c as SettingsProvider, b as useSettingsContext } from './chunk-2WG6OWB4.js';
4
5
  export { b as defaultFont, c as primaryFont, d as secondaryFont, a as shadows, e as typography } from './chunk-6W52DPH4.js';
5
6
  import './chunk-TWSAWMZ3.js';
6
7
  import './chunk-ROVD7OGE.js';
7
8
  export { l as action, k as background, m as basePalette, p as colorSchemes, i as common, a as components, q as createShadowColor, r as customShadows, o as darkPalette, h as error, b as grey, e as info, n as lightPalette, c as primary, d as secondary, f as success, j as text, g as warning } from './chunk-EQYL7U3J.js';
8
9
  import './chunk-WUFEPE2G.js';
9
- export { c as SettingsProvider, b as useSettingsContext } from './chunk-2WG6OWB4.js';
10
10
  export { a as THEME_CONFIG, q as bgBlur, p as bgGradient, o as borderGradient, j as createPaletteChannel, h as hexToRgbChannel, i as hexToRgbaChannel, l as hideScrollX, m as hideScrollY, r as maxLine, c as mediaQueries, t as menuItem, s as paper, f as pxToRem, e as remToPx, g as responsiveFontSizes, d as setFont, b as stylesMode, n as textGradient, k as varAlpha } from './chunk-GLRLKFPS.js';
11
11
  //# sourceMappingURL=out.js.map
12
12
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-5a5e5dc8.js';
1
+ export { d as ColorType, k as action, j as background, l as basePalette, o as colorSchemes, h as common, c as components, a as createShadowColor, b as customShadows, n as darkPalette, r as defaultFont, f as error, g as grey, i as info, m as lightPalette, p as primary, u as primaryFont, s as secondary, v as secondaryFont, q as shadows, e as success, t as text, x as typography, w as warning } from '../../index-c8f1e6e7.js';
2
2
  import '@mui/lab/TimelineConnector';
3
3
  import '@mui/system';
4
4
  import '@mui/lab/TimelineDot';
@@ -2,50 +2,25 @@ import * as _mui_material_styles_createTypography from '@mui/material/styles/cre
2
2
  import * as csstype from 'csstype';
3
3
  import { CSSObject, Theme } from '@mui/material/styles';
4
4
 
5
- /**
6
- * Usage:
7
- * ...hideScrollX,
8
- * ...hideScrollY,
9
- */
10
5
  declare const hideScrollX: CSSObject;
11
6
  declare const hideScrollY: CSSObject;
12
- /**
13
- * Usage:
14
- * ...textGradient(`to right, ${theme.vars.palette.text.primary}, ${alpha(theme.vars.palette.text.primary, 0.2)}`
15
- */
16
7
  declare function textGradient(color: string): CSSObject;
17
- /**
18
- * Usage:
19
- * ...borderGradient({ color: `to right, ${theme.vars.palette.text.primary}, ${alpha(theme.vars.palette.text.primary, 0.2)}`, padding: '4px' }),
20
- */
21
8
  type BorderGradientProps = {
22
9
  color?: string;
23
10
  padding?: string;
24
11
  };
25
12
  declare function borderGradient(props?: BorderGradientProps): CSSObject;
26
- /**
27
- * Usage:
28
- * ...bgGradient({ color: `to right, ${theme.vars.palette.grey[900]} 25%, ${varAlpha(theme.vars.palette.primary.darkerChannel, 0.88)}`, imgUrl: '/assets/background/overlay.png' }),
29
- */
30
13
  type BgGradientProps = {
31
14
  color: string;
32
15
  imgUrl?: string;
33
16
  };
34
17
  declare function bgGradient({ color, imgUrl }: BgGradientProps): CSSObject;
35
- /**
36
- * Usage:
37
- * ...bgBlur({ color: `varAlpha(theme.vars.palette.background.paperChannel, 0.8)`, imgUrl: '/assets/background/overlay.png', blur: 6 }),
38
- */
39
18
  type BgBlurProps = {
40
19
  color: string;
41
20
  blur?: number;
42
21
  imgUrl?: string;
43
22
  };
44
23
  declare function bgBlur({ color, blur, imgUrl }: BgBlurProps): CSSObject;
45
- /**
46
- * Usage:
47
- * ...maxLine({ line: 2, persistent: theme.typography.caption }),
48
- */
49
24
  type MediaFontSize = {
50
25
  [key: string]: {
51
26
  fontSize: React.CSSProperties['fontSize'];
@@ -56,10 +31,6 @@ type MaxLineProps = {
56
31
  persistent?: Partial<React.CSSProperties>;
57
32
  };
58
33
  declare function maxLine({ line, persistent }: MaxLineProps): CSSObject;
59
- /**
60
- * Usage:
61
- * ...paper({ theme, color: varAlpha(theme.vars.palette.background.paperChannel, 0.9), dropdown: true }),
62
- */
63
34
  type PaperProps = {
64
35
  theme: Theme;
65
36
  color?: string;
@@ -193,7 +164,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
193
164
  flexShrink?: readonly ((string & {}) | csstype.Globals)[] | csstype.Property.FlexShrink | readonly NonNullable<csstype.Property.FlexShrink | undefined>[] | undefined;
194
165
  flexWrap?: csstype.Property.FlexWrap | readonly NonNullable<csstype.Property.FlexWrap | undefined>[] | readonly csstype.Property.FlexWrap[] | undefined;
195
166
  float?: csstype.Property.Float | readonly NonNullable<csstype.Property.Float | undefined>[] | readonly csstype.Property.Float[] | undefined;
196
- fontFamily?: csstype.Property.FontFamily | readonly string[] | readonly csstype.Property.FontFamily[] | undefined;
167
+ fontFamily?: readonly string[] | csstype.Property.FontFamily | readonly csstype.Property.FontFamily[] | undefined;
197
168
  fontFeatureSettings?: readonly string[] | csstype.Property.FontFeatureSettings | readonly csstype.Property.FontFeatureSettings[] | undefined;
198
169
  fontKerning?: csstype.Property.FontKerning | readonly NonNullable<csstype.Property.FontKerning | undefined>[] | readonly csstype.Property.FontKerning[] | undefined;
199
170
  fontLanguageOverride?: readonly string[] | csstype.Property.FontLanguageOverride | readonly csstype.Property.FontLanguageOverride[] | undefined;
@@ -218,7 +189,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
218
189
  fontVariantNumeric?: readonly string[] | csstype.Property.FontVariantNumeric | readonly csstype.Property.FontVariantNumeric[] | undefined;
219
190
  fontVariantPosition?: csstype.Property.FontVariantPosition | readonly NonNullable<csstype.Property.FontVariantPosition | undefined>[] | readonly csstype.Property.FontVariantPosition[] | undefined;
220
191
  fontVariationSettings?: readonly string[] | csstype.Property.FontVariationSettings | readonly csstype.Property.FontVariationSettings[] | undefined;
221
- fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ((string & {}) | csstype.Globals | "bold" | "normal" | "bolder" | "lighter")[] | undefined;
192
+ fontWeight?: csstype.Property.FontWeight | readonly NonNullable<csstype.Property.FontWeight | undefined>[] | readonly ("bold" | (string & {}) | csstype.Globals | "normal" | "bolder" | "lighter")[] | undefined;
222
193
  forcedColorAdjust?: csstype.Property.ForcedColorAdjust | readonly NonNullable<csstype.Property.ForcedColorAdjust | undefined>[] | readonly csstype.Property.ForcedColorAdjust[] | undefined;
223
194
  gridAutoColumns?: readonly (string | (string & {}))[] | csstype.Property.GridAutoColumns<string | number> | readonly NonNullable<csstype.Property.GridAutoColumns<string | number> | undefined>[] | undefined;
224
195
  gridAutoFlow?: readonly string[] | csstype.Property.GridAutoFlow | readonly csstype.Property.GridAutoFlow[] | undefined;
@@ -443,9 +414,9 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
443
414
  wordWrap?: csstype.Property.WordWrap | readonly NonNullable<csstype.Property.WordWrap | undefined>[] | readonly csstype.Property.WordWrap[] | undefined;
444
415
  writingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
445
416
  zIndex?: readonly ((string & {}) | csstype.Globals | "auto")[] | csstype.Property.ZIndex | readonly NonNullable<csstype.Property.ZIndex | undefined>[] | undefined;
446
- zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "reset")[] | undefined;
417
+ zoom?: csstype.Property.Zoom | readonly NonNullable<csstype.Property.Zoom | undefined>[] | readonly ("reset" | (string & {}) | csstype.Globals | "normal")[] | undefined;
447
418
  all?: csstype.Globals | readonly NonNullable<csstype.Globals | undefined>[] | readonly csstype.Globals[] | undefined;
448
- animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
419
+ animation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
449
420
  animationRange?: readonly (string | (string & {}))[] | csstype.Property.AnimationRange<string | number> | readonly NonNullable<csstype.Property.AnimationRange<string | number> | undefined>[] | undefined;
450
421
  background?: readonly (string | (string & {}))[] | csstype.Property.Background<string | number> | readonly NonNullable<csstype.Property.Background<string | number> | undefined>[] | undefined;
451
422
  border?: readonly (string | (string & {}))[] | csstype.Property.Border<string | number> | readonly NonNullable<csstype.Property.Border<string | number> | undefined>[] | undefined;
@@ -454,7 +425,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
454
425
  borderBlockStart?: readonly (string | (string & {}))[] | csstype.Property.BorderBlockStart<string | number> | readonly NonNullable<csstype.Property.BorderBlockStart<string | number> | undefined>[] | undefined;
455
426
  borderBottom?: readonly (string | (string & {}))[] | csstype.Property.BorderBottom<string | number> | readonly NonNullable<csstype.Property.BorderBottom<string | number> | undefined>[] | undefined;
456
427
  borderColor?: readonly string[] | csstype.Property.BorderColor | readonly csstype.Property.BorderColor[] | undefined;
457
- borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
428
+ borderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
458
429
  borderInline?: readonly (string | (string & {}))[] | csstype.Property.BorderInline<string | number> | readonly NonNullable<csstype.Property.BorderInline<string | number> | undefined>[] | undefined;
459
430
  borderInlineEnd?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineEnd<string | number> | readonly NonNullable<csstype.Property.BorderInlineEnd<string | number> | undefined>[] | undefined;
460
431
  borderInlineStart?: readonly (string | (string & {}))[] | csstype.Property.BorderInlineStart<string | number> | readonly NonNullable<csstype.Property.BorderInlineStart<string | number> | undefined>[] | undefined;
@@ -486,7 +457,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
486
457
  marginBlock?: readonly (string | (string & {}))[] | csstype.Property.MarginBlock<string | number> | readonly NonNullable<csstype.Property.MarginBlock<string | number> | undefined>[] | undefined;
487
458
  marginInline?: readonly (string | (string & {}))[] | csstype.Property.MarginInline<string | number> | readonly NonNullable<csstype.Property.MarginInline<string | number> | undefined>[] | undefined;
488
459
  mask?: readonly (string | (string & {}))[] | csstype.Property.Mask<string | number> | readonly NonNullable<csstype.Property.Mask<string | number> | undefined>[] | undefined;
489
- maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
460
+ maskBorder?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
490
461
  motion?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
491
462
  offset?: readonly (string | (string & {}))[] | csstype.Property.Offset<string | number> | readonly NonNullable<csstype.Property.Offset<string | number> | undefined>[] | undefined;
492
463
  outline?: readonly (string | (string & {}))[] | csstype.Property.Outline<string | number> | readonly NonNullable<csstype.Property.Outline<string | number> | undefined>[] | undefined;
@@ -729,8 +700,8 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
729
700
  WebkitUserModify?: csstype.Property.WebkitUserModify | readonly NonNullable<csstype.Property.WebkitUserModify | undefined>[] | readonly csstype.Property.WebkitUserModify[] | undefined;
730
701
  WebkitUserSelect?: csstype.Property.UserSelect | readonly NonNullable<csstype.Property.UserSelect | undefined>[] | readonly csstype.Property.UserSelect[] | undefined;
731
702
  WebkitWritingMode?: csstype.Property.WritingMode | readonly NonNullable<csstype.Property.WritingMode | undefined>[] | readonly csstype.Property.WritingMode[] | undefined;
732
- MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
733
- MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
703
+ MozAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
704
+ MozBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
734
705
  MozColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
735
706
  MozColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
736
707
  MozOutlineRadius?: readonly (string | (string & {}))[] | csstype.Property.MozOutlineRadius<string | number> | readonly NonNullable<csstype.Property.MozOutlineRadius<string | number> | undefined>[] | undefined;
@@ -741,16 +712,16 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
741
712
  msScrollSnapX?: readonly string[] | csstype.Property.MsScrollSnapX | readonly csstype.Property.MsScrollSnapX[] | undefined;
742
713
  msScrollSnapY?: readonly string[] | csstype.Property.MsScrollSnapY | readonly csstype.Property.MsScrollSnapY[] | undefined;
743
714
  msTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
744
- WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
715
+ WebkitAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
745
716
  WebkitBorderBefore?: readonly (string | (string & {}))[] | csstype.Property.WebkitBorderBefore<string | number> | readonly NonNullable<csstype.Property.WebkitBorderBefore<string | number> | undefined>[] | undefined;
746
- WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
717
+ WebkitBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
747
718
  WebkitBorderRadius?: readonly (string | (string & {}))[] | csstype.Property.BorderRadius<string | number> | readonly NonNullable<csstype.Property.BorderRadius<string | number> | undefined>[] | undefined;
748
719
  WebkitColumnRule?: readonly (string | (string & {}))[] | csstype.Property.ColumnRule<string | number> | readonly NonNullable<csstype.Property.ColumnRule<string | number> | undefined>[] | undefined;
749
720
  WebkitColumns?: readonly (string | (string & {}))[] | csstype.Property.Columns<string | number> | readonly NonNullable<csstype.Property.Columns<string | number> | undefined>[] | undefined;
750
721
  WebkitFlex?: readonly (string | (string & {}))[] | csstype.Property.Flex<string | number> | readonly NonNullable<csstype.Property.Flex<string | number> | undefined>[] | undefined;
751
722
  WebkitFlexFlow?: readonly string[] | csstype.Property.FlexFlow | readonly csstype.Property.FlexFlow[] | undefined;
752
723
  WebkitMask?: readonly (string | (string & {}))[] | csstype.Property.WebkitMask<string | number> | readonly NonNullable<csstype.Property.WebkitMask<string | number> | undefined>[] | undefined;
753
- WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
724
+ WebkitMaskBoxImage?: csstype.Property.MaskBorder | readonly NonNullable<csstype.Property.MaskBorder | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "alpha" | "luminance" | "stretch")[] | undefined;
754
725
  WebkitTextEmphasis?: readonly string[] | csstype.Property.TextEmphasis | readonly csstype.Property.TextEmphasis[] | undefined;
755
726
  WebkitTextStroke?: readonly (string | (string & {}))[] | csstype.Property.WebkitTextStroke<string | number> | readonly NonNullable<csstype.Property.WebkitTextStroke<string | number> | undefined>[] | undefined;
756
727
  WebkitTransition?: readonly string[] | csstype.Property.Transition<string & {}> | readonly csstype.Property.Transition<string & {}>[] | undefined;
@@ -831,7 +802,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
831
802
  MozTransitionTimingFunction?: readonly string[] | csstype.Property.TransitionTimingFunction | readonly csstype.Property.TransitionTimingFunction[] | undefined;
832
803
  MozUserInput?: csstype.Property.MozUserInput | readonly NonNullable<csstype.Property.MozUserInput | undefined>[] | readonly csstype.Property.MozUserInput[] | undefined;
833
804
  msImeMode?: csstype.Property.ImeMode | readonly NonNullable<csstype.Property.ImeMode | undefined>[] | readonly csstype.Property.ImeMode[] | undefined;
834
- OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "normal" | "none" | "auto" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
805
+ OAnimation?: csstype.Property.Animation<string & {}> | readonly NonNullable<csstype.Property.Animation<string & {}> | undefined>[] | readonly ((string & {}) | csstype.Globals | "none" | "auto" | "normal" | "alternate" | "alternate-reverse" | "reverse" | "backwards" | "both" | "forwards" | "infinite" | "paused" | "running" | "ease" | "ease-in" | "ease-in-out" | "ease-out" | "step-end" | "step-start" | "linear")[] | undefined;
835
806
  OAnimationDelay?: readonly string[] | csstype.Property.AnimationDelay<string & {}> | readonly csstype.Property.AnimationDelay<string & {}>[] | undefined;
836
807
  OAnimationDirection?: readonly string[] | csstype.Property.AnimationDirection | readonly csstype.Property.AnimationDirection[] | undefined;
837
808
  OAnimationDuration?: readonly string[] | csstype.Property.AnimationDuration<string & {}> | readonly csstype.Property.AnimationDuration<string & {}>[] | undefined;
@@ -841,7 +812,7 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
841
812
  OAnimationPlayState?: readonly string[] | csstype.Property.AnimationPlayState | readonly csstype.Property.AnimationPlayState[] | undefined;
842
813
  OAnimationTimingFunction?: readonly string[] | csstype.Property.AnimationTimingFunction | readonly csstype.Property.AnimationTimingFunction[] | undefined;
843
814
  OBackgroundSize?: readonly (string | (string & {}))[] | csstype.Property.BackgroundSize<string | number> | readonly NonNullable<csstype.Property.BackgroundSize<string | number> | undefined>[] | undefined;
844
- OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ((string & {}) | csstype.Globals | "repeat" | "none" | "round" | "space" | "stretch")[] | undefined;
815
+ OBorderImage?: csstype.Property.BorderImage | readonly NonNullable<csstype.Property.BorderImage | undefined>[] | readonly ("repeat" | (string & {}) | csstype.Globals | "none" | "round" | "space" | "stretch")[] | undefined;
845
816
  OObjectFit?: csstype.Property.ObjectFit | readonly NonNullable<csstype.Property.ObjectFit | undefined>[] | readonly csstype.Property.ObjectFit[] | undefined;
846
817
  OObjectPosition?: readonly (string | (string & {}))[] | csstype.Property.ObjectPosition<string | number> | readonly NonNullable<csstype.Property.ObjectPosition<string | number> | undefined>[] | undefined;
847
818
  OTabSize?: readonly (string | (string & {}))[] | csstype.Property.TabSize<string | number> | readonly NonNullable<csstype.Property.TabSize<string | number> | undefined>[] | undefined;
@@ -1024,10 +995,6 @@ declare function paper({ theme, color, dropdown }: PaperProps): {
1024
995
  ":valid"?: unknown;
1025
996
  ":visited"?: unknown;
1026
997
  };
1027
- /**
1028
- * Usage:
1029
- * ...menuItem(theme)
1030
- */
1031
998
  declare function menuItem(theme: Theme): {
1032
999
  [x: string]: unknown;
1033
1000
  padding: string;
@@ -1872,21 +1839,9 @@ declare const mediaQueries: {
1872
1839
  upLg: string;
1873
1840
  upXl: string;
1874
1841
  };
1875
- /**
1876
- * Set font family
1877
- */
1878
1842
  declare function setFont(fontName: string): string;
1879
- /**
1880
- * Converts rem to px
1881
- */
1882
1843
  declare function remToPx(value: string): number;
1883
- /**
1884
- * Converts px to rem
1885
- */
1886
1844
  declare function pxToRem(value: number): string;
1887
- /**
1888
- * Responsive font sizes
1889
- */
1890
1845
  declare function responsiveFontSizes({ sm, md, lg, }: {
1891
1846
  sm: number;
1892
1847
  md: number;
@@ -1896,34 +1851,15 @@ declare function responsiveFontSizes({ sm, md, lg, }: {
1896
1851
  fontSize: string;
1897
1852
  };
1898
1853
  };
1899
- /**
1900
- * Converts a hex color to RGB channels
1901
- */
1902
1854
  declare function hexToRgbChannel(hex: string): string;
1903
- /**
1904
- * Converts a hex color to RGBA channels with optional alpha support
1905
- * Supports:
1906
- * - 6-digit hex: "#FF0000" -> "255 0 0"
1907
- * - 8-digit hex: "#FF000080" -> "255 0 0 / 0.5"
1908
- * - 6-digit hex with explicit alpha: hexToRgbaChannel("#FF0000", 0.5) -> "255 0 0 / 0.5"
1909
- */
1910
1855
  declare function hexToRgbaChannel(hex: string, alpha?: number): string;
1911
- /**
1912
- * Converts a hex color to RGB channels
1913
- */
1914
1856
  declare function createPaletteChannel(hexPalette: Record<string, string>): {
1915
1857
  [x: string]: string;
1916
1858
  };
1917
- /**
1918
- * Color definition with optional alpha
1919
- */
1920
1859
  interface ColorWithAlpha {
1921
1860
  color: string;
1922
1861
  alpha?: number;
1923
1862
  }
1924
- /**
1925
- * Color with alpha channel
1926
- */
1927
1863
  declare function varAlpha(color: string, opacity?: number): string;
1928
1864
 
1929
1865
  export { BgBlurProps, BgGradientProps, BorderGradientProps, ColorWithAlpha, MaxLineProps, MediaFontSize, bgBlur, bgGradient, borderGradient, createPaletteChannel, hexToRgbChannel, hexToRgbaChannel, hideScrollX, hideScrollY, maxLine, mediaQueries, menuItem, paper, pxToRem, remToPx, responsiveFontSizes, setFont, stylesMode, textGradient, varAlpha };
@@ -1,11 +1,11 @@
1
- export { b as default } from '../chunk-4RNGASI4.js';
1
+ export { b as default } from '../chunk-CU7PKEY2.js';
2
2
  import '../chunk-LDGBS7ZI.js';
3
+ export { b as useSettingsContext } from '../chunk-2WG6OWB4.js';
3
4
  import '../chunk-6W52DPH4.js';
4
5
  import '../chunk-TWSAWMZ3.js';
5
6
  import '../chunk-ROVD7OGE.js';
6
7
  import '../chunk-EQYL7U3J.js';
7
8
  import '../chunk-WUFEPE2G.js';
8
- export { b as useSettingsContext } from '../chunk-2WG6OWB4.js';
9
9
  export { a as THEME_CONFIG } from '../chunk-GLRLKFPS.js';
10
10
  //# sourceMappingURL=out.js.map
11
11
  //# sourceMappingURL=theme-provider.js.map