react-better-html 1.1.291 → 1.1.292

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/index.d.mts CHANGED
@@ -405,7 +405,7 @@ type InternalToggleInputProps<Value> = {
405
405
  } & OmitProps<React.ComponentProps<"input">, "style" | "value" | "ref" | "onChange" | "size"> & ComponentStyle & ComponentHoverStyle;
406
406
  type ToggleInputProps<Value = unknown> = ComponentPropWithRef<ToggleInputRef, OmitProps<InternalToggleInputProps<Value>, "type">>;
407
407
  type ToggleInputComponentType = <Value>(props: ToggleInputProps<Value>) => React.ReactElement;
408
- declare const _default$5: {
408
+ declare const _default$6: {
409
409
  checkbox: ToggleInputComponentType;
410
410
  radiobutton: ToggleInputComponentType;
411
411
  switch: ToggleInputComponentType;
@@ -435,7 +435,7 @@ type DividerComponentType = {
435
435
  vertical: (props: ComponentPropWithRef<HTMLDivElement, VerticalDividerProps>) => React.ReactElement;
436
436
  horizontal: (props: ComponentPropWithRef<HTMLDivElement, HorizontalDividerProps>) => React.ReactElement;
437
437
  };
438
- declare const _default$4: {
438
+ declare const _default$5: {
439
439
  vertical: DividerComponentType["vertical"];
440
440
  horizontal: DividerComponentType["horizontal"];
441
441
  };
@@ -457,7 +457,7 @@ type LabelProps = {
457
457
  htmlFor?: string;
458
458
  };
459
459
  declare function Label(labelProps: LabelProps): react.JSX.Element;
460
- declare const _default$3: react.MemoExoticComponent<typeof Label>;
460
+ declare const _default$4: react.MemoExoticComponent<typeof Label>;
461
461
 
462
462
  type ImageProps = {
463
463
  name?: AssetName | AnyOtherString;
@@ -473,7 +473,7 @@ type ImageComponent = {
473
473
  }>) => React.ReactElement;
474
474
  };
475
475
  declare const Image: ImageComponent;
476
- declare const _default$2: ImageComponent & {
476
+ declare const _default$3: ImageComponent & {
477
477
  profileImage: typeof Image.profileImage;
478
478
  };
479
479
 
@@ -699,7 +699,7 @@ type BetterHtmlProviderProps = BetterProviderCommonProps & {
699
699
  config?: BetterHtmlProviderConfig;
700
700
  };
701
701
  declare function BetterHtmlProvider({ config, ...props }: BetterHtmlProviderProps): react.JSX.Element;
702
- declare const _default$1: react.MemoExoticComponent<typeof BetterHtmlProvider>;
702
+ declare const _default$2: react.MemoExoticComponent<typeof BetterHtmlProvider>;
703
703
 
704
704
  declare const isMobileDevice: boolean;
705
705
 
@@ -796,7 +796,7 @@ type IconProps = {
796
796
  type IconComponent = {
797
797
  (props: ComponentPropWithRef<SVGSVGElement, IconProps>): React.ReactElement;
798
798
  };
799
- declare const _default: IconComponent;
799
+ declare const _default$1: IconComponent;
800
800
 
801
801
  type InternalModalProps = {
802
802
  /**
@@ -1240,6 +1240,21 @@ type PaginationComponentType = {
1240
1240
  declare const PaginationComponent: PaginationComponentType;
1241
1241
  declare const Pagination: typeof PaginationComponent & {};
1242
1242
 
1243
+ type DeveloperPageSection = {
1244
+ title: string;
1245
+ description?: string;
1246
+ children?: React.ReactNode;
1247
+ };
1248
+ type DeveloperPageProps = {
1249
+ /** @default 24 */
1250
+ iconSize?: number;
1251
+ /** @default 120 */
1252
+ assetSize?: number;
1253
+ sections?: DeveloperPageSection[];
1254
+ };
1255
+ declare function DeveloperPage({ iconSize, assetSize, sections }: DeveloperPageProps): react.JSX.Element | undefined;
1256
+ declare const _default: react.MemoExoticComponent<typeof DeveloperPage>;
1257
+
1243
1258
  type AlertsPluginOptions = {
1244
1259
  /** @default "bottom" */
1245
1260
  position?: "top" | "bottom";
@@ -1282,4 +1297,4 @@ type LocalStoragePluginOptions = {
1282
1297
  declare const defaultLocalStoragePluginOptions: Required<LocalStoragePluginOptions>;
1283
1298
  declare const localStoragePlugin: BetterHtmlPluginConstructor<LocalStoragePluginOptions>;
1284
1299
 
1285
- export { type Alert, type AlertDisplay, type AlertDuration, type AlertType, type AlertsPluginOptions, type AppConfig, type BetterHtmlConfig, type BetterHtmlPlugin, _default$1 as BetterHtmlProvider, type BetterHtmlProviderConfig, type BrowserName, type BurgerButtonProps, Button, type ButtonProps, Chip, type ChipProps, ColorThemeSwitch, type ColorThemeSwitchProps, type ComponentHoverStyle, type ComponentMarginProps, type ComponentPaddingProps, Div, type DivProps, _default$4 as Divider, Dropdown, type DropdownOption, type DropdownProps, Foldable, type FoldableProps, type FoldableRef, Form, type FormProps, FormRow, type FormRowProps, type HorizontalDividerProps, _default as Icon, type IconProps, _default$2 as Image, type ImageProps, InputField, type InputFieldProps, _default$3 as Label, type LabelProps, type Language, type LanguageData, Loader, type LoaderProps, type LocalStoragePluginOptions, Modal, type ModalProps, type ModalRef, PageHeader, type PageHeaderProps, PageHolder, type PageHolderProps, Pagination, type PluginName, type ReactRouterDomPluginOptions, SideMenu, type SideMenuItem, type SideMenuProps, type Tab, type TabGroup, Table, type TableColumn, type TableFilterData, type TableListFilterListItem, type TableProps, type TableRef, Tabs, type TabsProps, type TabsRef, Text, type TextAs, type TextProps, type TextareaFieldProps, _default$5 as ToggleInput, type ToggleInputProps, type ToggleInputRef, Tooltip, type TooltipProps, type TooltipRef, type VerticalDividerProps, alertControls, alertsPlugin, defaultAlertsPluginOptions, defaultLocalStoragePluginOptions, defaultReactRouterDomPluginOptions, filterHover, generateI18n, generateLocalStorage, getBrowser, getFormErrorObject, isMobileDevice, localStoragePlugin, missingTranslation, reactRouterDomPlugin, sideMenuControls, useAlertControls, useBetterHtmlContext, useForm, useMediaQuery, usePageResize, usePageScroll, useUrlQuery };
1300
+ export { type Alert, type AlertDisplay, type AlertDuration, type AlertType, type AlertsPluginOptions, type AppConfig, type BetterHtmlConfig, type BetterHtmlPlugin, _default$2 as BetterHtmlProvider, type BetterHtmlProviderConfig, type BrowserName, type BurgerButtonProps, Button, type ButtonProps, Chip, type ChipProps, ColorThemeSwitch, type ColorThemeSwitchProps, type ComponentHoverStyle, type ComponentMarginProps, type ComponentPaddingProps, _default as DeveloperPage, type DeveloperPageSection, Div, type DivProps, _default$5 as Divider, Dropdown, type DropdownOption, type DropdownProps, Foldable, type FoldableProps, type FoldableRef, Form, type FormProps, FormRow, type FormRowProps, type HorizontalDividerProps, _default$1 as Icon, type IconProps, _default$3 as Image, type ImageProps, InputField, type InputFieldProps, _default$4 as Label, type LabelProps, type Language, type LanguageData, Loader, type LoaderProps, type LocalStoragePluginOptions, Modal, type ModalProps, type ModalRef, PageHeader, type PageHeaderProps, PageHolder, type PageHolderProps, Pagination, type PluginName, type ReactRouterDomPluginOptions, SideMenu, type SideMenuItem, type SideMenuProps, type Tab, type TabGroup, Table, type TableColumn, type TableFilterData, type TableListFilterListItem, type TableProps, type TableRef, Tabs, type TabsProps, type TabsRef, Text, type TextAs, type TextProps, type TextareaFieldProps, _default$6 as ToggleInput, type ToggleInputProps, type ToggleInputRef, Tooltip, type TooltipProps, type TooltipRef, type VerticalDividerProps, alertControls, alertsPlugin, defaultAlertsPluginOptions, defaultLocalStoragePluginOptions, defaultReactRouterDomPluginOptions, filterHover, generateI18n, generateLocalStorage, getBrowser, getFormErrorObject, isMobileDevice, localStoragePlugin, missingTranslation, reactRouterDomPlugin, sideMenuControls, useAlertControls, useBetterHtmlContext, useForm, useMediaQuery, usePageResize, usePageScroll, useUrlQuery };
package/dist/index.d.ts CHANGED
@@ -405,7 +405,7 @@ type InternalToggleInputProps<Value> = {
405
405
  } & OmitProps<React.ComponentProps<"input">, "style" | "value" | "ref" | "onChange" | "size"> & ComponentStyle & ComponentHoverStyle;
406
406
  type ToggleInputProps<Value = unknown> = ComponentPropWithRef<ToggleInputRef, OmitProps<InternalToggleInputProps<Value>, "type">>;
407
407
  type ToggleInputComponentType = <Value>(props: ToggleInputProps<Value>) => React.ReactElement;
408
- declare const _default$5: {
408
+ declare const _default$6: {
409
409
  checkbox: ToggleInputComponentType;
410
410
  radiobutton: ToggleInputComponentType;
411
411
  switch: ToggleInputComponentType;
@@ -435,7 +435,7 @@ type DividerComponentType = {
435
435
  vertical: (props: ComponentPropWithRef<HTMLDivElement, VerticalDividerProps>) => React.ReactElement;
436
436
  horizontal: (props: ComponentPropWithRef<HTMLDivElement, HorizontalDividerProps>) => React.ReactElement;
437
437
  };
438
- declare const _default$4: {
438
+ declare const _default$5: {
439
439
  vertical: DividerComponentType["vertical"];
440
440
  horizontal: DividerComponentType["horizontal"];
441
441
  };
@@ -457,7 +457,7 @@ type LabelProps = {
457
457
  htmlFor?: string;
458
458
  };
459
459
  declare function Label(labelProps: LabelProps): react.JSX.Element;
460
- declare const _default$3: react.MemoExoticComponent<typeof Label>;
460
+ declare const _default$4: react.MemoExoticComponent<typeof Label>;
461
461
 
462
462
  type ImageProps = {
463
463
  name?: AssetName | AnyOtherString;
@@ -473,7 +473,7 @@ type ImageComponent = {
473
473
  }>) => React.ReactElement;
474
474
  };
475
475
  declare const Image: ImageComponent;
476
- declare const _default$2: ImageComponent & {
476
+ declare const _default$3: ImageComponent & {
477
477
  profileImage: typeof Image.profileImage;
478
478
  };
479
479
 
@@ -699,7 +699,7 @@ type BetterHtmlProviderProps = BetterProviderCommonProps & {
699
699
  config?: BetterHtmlProviderConfig;
700
700
  };
701
701
  declare function BetterHtmlProvider({ config, ...props }: BetterHtmlProviderProps): react.JSX.Element;
702
- declare const _default$1: react.MemoExoticComponent<typeof BetterHtmlProvider>;
702
+ declare const _default$2: react.MemoExoticComponent<typeof BetterHtmlProvider>;
703
703
 
704
704
  declare const isMobileDevice: boolean;
705
705
 
@@ -796,7 +796,7 @@ type IconProps = {
796
796
  type IconComponent = {
797
797
  (props: ComponentPropWithRef<SVGSVGElement, IconProps>): React.ReactElement;
798
798
  };
799
- declare const _default: IconComponent;
799
+ declare const _default$1: IconComponent;
800
800
 
801
801
  type InternalModalProps = {
802
802
  /**
@@ -1240,6 +1240,21 @@ type PaginationComponentType = {
1240
1240
  declare const PaginationComponent: PaginationComponentType;
1241
1241
  declare const Pagination: typeof PaginationComponent & {};
1242
1242
 
1243
+ type DeveloperPageSection = {
1244
+ title: string;
1245
+ description?: string;
1246
+ children?: React.ReactNode;
1247
+ };
1248
+ type DeveloperPageProps = {
1249
+ /** @default 24 */
1250
+ iconSize?: number;
1251
+ /** @default 120 */
1252
+ assetSize?: number;
1253
+ sections?: DeveloperPageSection[];
1254
+ };
1255
+ declare function DeveloperPage({ iconSize, assetSize, sections }: DeveloperPageProps): react.JSX.Element | undefined;
1256
+ declare const _default: react.MemoExoticComponent<typeof DeveloperPage>;
1257
+
1243
1258
  type AlertsPluginOptions = {
1244
1259
  /** @default "bottom" */
1245
1260
  position?: "top" | "bottom";
@@ -1282,4 +1297,4 @@ type LocalStoragePluginOptions = {
1282
1297
  declare const defaultLocalStoragePluginOptions: Required<LocalStoragePluginOptions>;
1283
1298
  declare const localStoragePlugin: BetterHtmlPluginConstructor<LocalStoragePluginOptions>;
1284
1299
 
1285
- export { type Alert, type AlertDisplay, type AlertDuration, type AlertType, type AlertsPluginOptions, type AppConfig, type BetterHtmlConfig, type BetterHtmlPlugin, _default$1 as BetterHtmlProvider, type BetterHtmlProviderConfig, type BrowserName, type BurgerButtonProps, Button, type ButtonProps, Chip, type ChipProps, ColorThemeSwitch, type ColorThemeSwitchProps, type ComponentHoverStyle, type ComponentMarginProps, type ComponentPaddingProps, Div, type DivProps, _default$4 as Divider, Dropdown, type DropdownOption, type DropdownProps, Foldable, type FoldableProps, type FoldableRef, Form, type FormProps, FormRow, type FormRowProps, type HorizontalDividerProps, _default as Icon, type IconProps, _default$2 as Image, type ImageProps, InputField, type InputFieldProps, _default$3 as Label, type LabelProps, type Language, type LanguageData, Loader, type LoaderProps, type LocalStoragePluginOptions, Modal, type ModalProps, type ModalRef, PageHeader, type PageHeaderProps, PageHolder, type PageHolderProps, Pagination, type PluginName, type ReactRouterDomPluginOptions, SideMenu, type SideMenuItem, type SideMenuProps, type Tab, type TabGroup, Table, type TableColumn, type TableFilterData, type TableListFilterListItem, type TableProps, type TableRef, Tabs, type TabsProps, type TabsRef, Text, type TextAs, type TextProps, type TextareaFieldProps, _default$5 as ToggleInput, type ToggleInputProps, type ToggleInputRef, Tooltip, type TooltipProps, type TooltipRef, type VerticalDividerProps, alertControls, alertsPlugin, defaultAlertsPluginOptions, defaultLocalStoragePluginOptions, defaultReactRouterDomPluginOptions, filterHover, generateI18n, generateLocalStorage, getBrowser, getFormErrorObject, isMobileDevice, localStoragePlugin, missingTranslation, reactRouterDomPlugin, sideMenuControls, useAlertControls, useBetterHtmlContext, useForm, useMediaQuery, usePageResize, usePageScroll, useUrlQuery };
1300
+ export { type Alert, type AlertDisplay, type AlertDuration, type AlertType, type AlertsPluginOptions, type AppConfig, type BetterHtmlConfig, type BetterHtmlPlugin, _default$2 as BetterHtmlProvider, type BetterHtmlProviderConfig, type BrowserName, type BurgerButtonProps, Button, type ButtonProps, Chip, type ChipProps, ColorThemeSwitch, type ColorThemeSwitchProps, type ComponentHoverStyle, type ComponentMarginProps, type ComponentPaddingProps, _default as DeveloperPage, type DeveloperPageSection, Div, type DivProps, _default$5 as Divider, Dropdown, type DropdownOption, type DropdownProps, Foldable, type FoldableProps, type FoldableRef, Form, type FormProps, FormRow, type FormRowProps, type HorizontalDividerProps, _default$1 as Icon, type IconProps, _default$3 as Image, type ImageProps, InputField, type InputFieldProps, _default$4 as Label, type LabelProps, type Language, type LanguageData, Loader, type LoaderProps, type LocalStoragePluginOptions, Modal, type ModalProps, type ModalRef, PageHeader, type PageHeaderProps, PageHolder, type PageHolderProps, Pagination, type PluginName, type ReactRouterDomPluginOptions, SideMenu, type SideMenuItem, type SideMenuProps, type Tab, type TabGroup, Table, type TableColumn, type TableFilterData, type TableListFilterListItem, type TableProps, type TableRef, Tabs, type TabsProps, type TabsRef, Text, type TextAs, type TextProps, type TextareaFieldProps, _default$6 as ToggleInput, type ToggleInputProps, type ToggleInputRef, Tooltip, type TooltipProps, type TooltipRef, type VerticalDividerProps, alertControls, alertsPlugin, defaultAlertsPluginOptions, defaultLocalStoragePluginOptions, defaultReactRouterDomPluginOptions, filterHover, generateI18n, generateLocalStorage, getBrowser, getFormErrorObject, isMobileDevice, localStoragePlugin, missingTranslation, reactRouterDomPlugin, sideMenuControls, useAlertControls, useBetterHtmlContext, useForm, useMediaQuery, usePageResize, usePageScroll, useUrlQuery };
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ __export(index_exports, {
34
34
  Button: () => Button_default,
35
35
  Chip: () => Chip_default,
36
36
  ColorThemeSwitch: () => ColorThemeSwitch_default,
37
+ DeveloperPage: () => DeveloperPage_default,
37
38
  Div: () => Div_default,
38
39
  Divider: () => Divider_default,
39
40
  Dropdown: () => Dropdown_default,
@@ -57,52 +58,52 @@ __export(index_exports, {
57
58
  Tooltip: () => Tooltip_default,
58
59
  alertControls: () => alertControls,
59
60
  alertsPlugin: () => alertsPlugin,
60
- calculateColorContrast: () => import_react_better_core30.calculateColorContrast,
61
- colorThemeControls: () => import_react_better_core30.colorThemeControls,
62
- countries: () => import_react_better_core30.countries,
63
- darkenColor: () => import_react_better_core30.darkenColor,
61
+ calculateColorContrast: () => import_react_better_core31.calculateColorContrast,
62
+ colorThemeControls: () => import_react_better_core31.colorThemeControls,
63
+ countries: () => import_react_better_core31.countries,
64
+ darkenColor: () => import_react_better_core31.darkenColor,
64
65
  defaultAlertsPluginOptions: () => defaultAlertsPluginOptions,
65
66
  defaultLocalStoragePluginOptions: () => defaultLocalStoragePluginOptions,
66
67
  defaultReactRouterDomPluginOptions: () => defaultReactRouterDomPluginOptions,
67
- desaturateColor: () => import_react_better_core30.desaturateColor,
68
- eventPreventDefault: () => import_react_better_core30.eventPreventDefault,
69
- eventPreventStop: () => import_react_better_core30.eventPreventStop,
70
- eventStopPropagation: () => import_react_better_core30.eventStopPropagation,
68
+ desaturateColor: () => import_react_better_core31.desaturateColor,
69
+ eventPreventDefault: () => import_react_better_core31.eventPreventDefault,
70
+ eventPreventStop: () => import_react_better_core31.eventPreventStop,
71
+ eventStopPropagation: () => import_react_better_core31.eventStopPropagation,
71
72
  filterHover: () => filterHover,
72
- formatPhoneNumber: () => import_react_better_core30.formatPhoneNumber,
73
- generateApi: () => import_react_better_core30.generateApi,
74
- generateEventEmitter: () => import_react_better_core30.generateEventEmitter,
73
+ formatPhoneNumber: () => import_react_better_core31.formatPhoneNumber,
74
+ generateApi: () => import_react_better_core31.generateApi,
75
+ generateEventEmitter: () => import_react_better_core31.generateEventEmitter,
75
76
  generateI18n: () => generateI18n,
76
77
  generateLocalStorage: () => generateLocalStorage,
77
- generateRandomString: () => import_react_better_core30.generateRandomString,
78
+ generateRandomString: () => import_react_better_core31.generateRandomString,
78
79
  getBrowser: () => getBrowser,
79
80
  getFormErrorObject: () => getFormErrorObject,
80
- getPluralWord: () => import_react_better_core30.getPluralWord,
81
- isApiError: () => import_react_better_core30.isApiError,
81
+ getPluralWord: () => import_react_better_core31.getPluralWord,
82
+ isApiError: () => import_react_better_core31.isApiError,
82
83
  isMobileDevice: () => isMobileDevice,
83
- lightenColor: () => import_react_better_core30.lightenColor,
84
- loaderControls: () => import_react_better_core30.loaderControls,
84
+ lightenColor: () => import_react_better_core31.lightenColor,
85
+ loaderControls: () => import_react_better_core31.loaderControls,
85
86
  localStoragePlugin: () => localStoragePlugin,
86
- log: () => import_react_better_core30.log,
87
+ log: () => import_react_better_core31.log,
87
88
  missingTranslation: () => missingTranslation,
88
89
  reactRouterDomPlugin: () => reactRouterDomPlugin,
89
- saturateColor: () => import_react_better_core30.saturateColor,
90
+ saturateColor: () => import_react_better_core31.saturateColor,
90
91
  sideMenuControls: () => sideMenuControls,
91
92
  useAlertControls: () => useAlertControls,
92
93
  useBetterHtmlContext: () => useBetterHtmlContext,
93
- useBooleanState: () => import_react_better_core30.useBooleanState,
94
- useDebounceState: () => import_react_better_core30.useDebounceState,
94
+ useBooleanState: () => import_react_better_core31.useBooleanState,
95
+ useDebounceState: () => import_react_better_core31.useDebounceState,
95
96
  useForm: () => useForm,
96
- useLoader: () => import_react_better_core30.useLoader,
97
- useLoaderControls: () => import_react_better_core30.useLoaderControls,
97
+ useLoader: () => import_react_better_core31.useLoader,
98
+ useLoaderControls: () => import_react_better_core31.useLoaderControls,
98
99
  useMediaQuery: () => useMediaQuery,
99
100
  usePageResize: () => usePageResize,
100
101
  usePageScroll: () => usePageScroll,
101
- useTheme: () => import_react_better_core30.useTheme,
102
+ useTheme: () => import_react_better_core31.useTheme,
102
103
  useUrlQuery: () => useUrlQuery
103
104
  });
104
105
  module.exports = __toCommonJS(index_exports);
105
- var import_react_better_core30 = require("react-better-core");
106
+ var import_react_better_core31 = require("react-better-core");
106
107
 
107
108
  // src/components/BetterHtmlProvider.tsx
108
109
  var import_react14 = require("react");
@@ -8791,12 +8792,80 @@ var SideMenu2 = (0, import_react32.memo)(SideMenuComponent);
8791
8792
  SideMenu2.pageHolder = SideMenuComponent.pageHolder;
8792
8793
  SideMenu2.burgerButton = SideMenuComponent.burgerButton;
8793
8794
  var SideMenu_default = SideMenu2;
8795
+
8796
+ // src/components/DeveloperPage.tsx
8797
+ var import_react33 = require("react");
8798
+ var import_react_better_core30 = require("react-better-core");
8799
+ var import_jsx_runtime30 = require("react/jsx-runtime");
8800
+ function DeveloperPage({ iconSize = 24, assetSize = 120, sections }) {
8801
+ const theme2 = (0, import_react_better_core30.useTheme)();
8802
+ const { devMode, icons: icons2, assets: assets2 } = (0, import_react_better_core30.useBetterCoreContext)();
8803
+ const gridGap = theme2.styles.space;
8804
+ const iconNameFontSie = 12;
8805
+ return devMode ? /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Div_default.column, { gap: theme2.styles.space, children: [
8806
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Div_default.box, { title: "Icons", titleAs: "h2", description: "List of all icons in the config", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Div_default.row, { alignItems: "center", justifyContent: "center", flexWrap: "wrap", gap: gridGap, children: Object.keys(icons2).map((icon) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
8807
+ Div_default.row,
8808
+ {
8809
+ position: "relative",
8810
+ width: iconSize + gridGap * 2 + iconNameFontSie,
8811
+ height: iconSize + gridGap * 2 + iconNameFontSie,
8812
+ alignItems: "center",
8813
+ justifyContent: "center",
8814
+ children: [
8815
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon_default, { name: icon, color: theme2.colors.primary, size: iconSize }),
8816
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8817
+ Text_default,
8818
+ {
8819
+ position: "absolute",
8820
+ width: "100%",
8821
+ top: `calc(100% - ${iconNameFontSie}px)`,
8822
+ fontSize: iconNameFontSie,
8823
+ textAlign: "center",
8824
+ wordBreak: "break-all",
8825
+ color: theme2.colors.textSecondary,
8826
+ children: icon
8827
+ }
8828
+ )
8829
+ ]
8830
+ },
8831
+ icon
8832
+ )) }) }),
8833
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Div_default.box, { title: "Assets", titleAs: "h2", description: "List of all assets in the config", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Div_default.row, { alignItems: "center", justifyContent: "center", flexWrap: "wrap", gap: gridGap, children: Object.keys(assets2).map((asset) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
8834
+ Div_default.column,
8835
+ {
8836
+ position: "relative",
8837
+ width: assetSize,
8838
+ alignItems: "center",
8839
+ justifyContent: "center",
8840
+ gap: theme2.styles.gap,
8841
+ children: [
8842
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Image_default, { name: asset, width: "100%", height: assetSize, objectFit: "contain" }),
8843
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8844
+ Text_default,
8845
+ {
8846
+ width: "100%",
8847
+ fontSize: iconNameFontSie,
8848
+ textAlign: "center",
8849
+ wordBreak: "break-all",
8850
+ color: theme2.colors.textSecondary,
8851
+ children: asset
8852
+ }
8853
+ )
8854
+ ]
8855
+ },
8856
+ asset
8857
+ )) }) }),
8858
+ sections?.map((section) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Div_default.box, { title: section.title, titleAs: "h2", description: section.description, children: section.children }, section.title))
8859
+ ] }) : void 0;
8860
+ }
8861
+ var DeveloperPage_default = (0, import_react33.memo)(DeveloperPage);
8794
8862
  // Annotate the CommonJS export names for ESM import in node:
8795
8863
  0 && (module.exports = {
8796
8864
  BetterHtmlProvider,
8797
8865
  Button,
8798
8866
  Chip,
8799
8867
  ColorThemeSwitch,
8868
+ DeveloperPage,
8800
8869
  Div,
8801
8870
  Divider,
8802
8871
  Dropdown,