@qwickapps/react-framework 1.3.0
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/LICENSE +44 -0
- package/README.md +794 -0
- package/dist/components/AccessibilityChecker.d.ts +12 -0
- package/dist/components/AccessibilityChecker.d.ts.map +1 -0
- package/dist/components/Html.d.ts +48 -0
- package/dist/components/Html.d.ts.map +1 -0
- package/dist/components/Logo.d.ts +79 -0
- package/dist/components/Logo.d.ts.map +1 -0
- package/dist/components/Markdown.d.ts +47 -0
- package/dist/components/Markdown.d.ts.map +1 -0
- package/dist/components/QwickApp.d.ts +56 -0
- package/dist/components/QwickApp.d.ts.map +1 -0
- package/dist/components/QwickAppsLogo.d.ts +25 -0
- package/dist/components/QwickAppsLogo.d.ts.map +1 -0
- package/dist/components/ResponsiveMenu.d.ts +38 -0
- package/dist/components/ResponsiveMenu.d.ts.map +1 -0
- package/dist/components/SafeSpan.d.ts +23 -0
- package/dist/components/SafeSpan.d.ts.map +1 -0
- package/dist/components/Scaffold.d.ts +57 -0
- package/dist/components/Scaffold.d.ts.map +1 -0
- package/dist/components/blocks/Article.d.ts +23 -0
- package/dist/components/blocks/Article.d.ts.map +1 -0
- package/dist/components/blocks/CardListGrid.d.ts +23 -0
- package/dist/components/blocks/CardListGrid.d.ts.map +1 -0
- package/dist/components/blocks/Code.d.ts +21 -0
- package/dist/components/blocks/Code.d.ts.map +1 -0
- package/dist/components/blocks/Content.d.ts +24 -0
- package/dist/components/blocks/Content.d.ts.map +1 -0
- package/dist/components/blocks/CoverImageHeader.d.ts +44 -0
- package/dist/components/blocks/CoverImageHeader.d.ts.map +1 -0
- package/dist/components/blocks/FeatureCard.d.ts +66 -0
- package/dist/components/blocks/FeatureCard.d.ts.map +1 -0
- package/dist/components/blocks/FeatureGrid.d.ts +48 -0
- package/dist/components/blocks/FeatureGrid.d.ts.map +1 -0
- package/dist/components/blocks/Footer.d.ts +56 -0
- package/dist/components/blocks/Footer.d.ts.map +1 -0
- package/dist/components/blocks/HeroBlock.d.ts +33 -0
- package/dist/components/blocks/HeroBlock.d.ts.map +1 -0
- package/dist/components/blocks/PageBannerHeader.d.ts +30 -0
- package/dist/components/blocks/PageBannerHeader.d.ts.map +1 -0
- package/dist/components/blocks/ProductCard.d.ts +57 -0
- package/dist/components/blocks/ProductCard.d.ts.map +1 -0
- package/dist/components/blocks/Section.d.ts +40 -0
- package/dist/components/blocks/Section.d.ts.map +1 -0
- package/dist/components/blocks/index.d.ts +37 -0
- package/dist/components/blocks/index.d.ts.map +1 -0
- package/dist/components/buttons/Button.d.ts +38 -0
- package/dist/components/buttons/Button.d.ts.map +1 -0
- package/dist/components/buttons/PaletteSwitcher.d.ts +24 -0
- package/dist/components/buttons/PaletteSwitcher.d.ts.map +1 -0
- package/dist/components/buttons/ThemeSwitcher.d.ts +24 -0
- package/dist/components/buttons/ThemeSwitcher.d.ts.map +1 -0
- package/dist/components/buttons/index.d.ts +11 -0
- package/dist/components/buttons/index.d.ts.map +1 -0
- package/dist/components/forms/FormBlock.d.ts +45 -0
- package/dist/components/forms/FormBlock.d.ts.map +1 -0
- package/dist/components/forms/index.d.ts +8 -0
- package/dist/components/forms/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +32 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/input/ChoiceInputField.d.ts +30 -0
- package/dist/components/input/ChoiceInputField.d.ts.map +1 -0
- package/dist/components/input/HtmlInputField.d.ts +29 -0
- package/dist/components/input/HtmlInputField.d.ts.map +1 -0
- package/dist/components/input/SelectInputField.d.ts +29 -0
- package/dist/components/input/SelectInputField.d.ts.map +1 -0
- package/dist/components/input/TextField.d.ts +18 -0
- package/dist/components/input/TextField.d.ts.map +1 -0
- package/dist/components/input/TextInputField.d.ts +32 -0
- package/dist/components/input/TextInputField.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +17 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/layout/GridCell.d.ts +16 -0
- package/dist/components/layout/GridCell.d.ts.map +1 -0
- package/dist/components/layout/GridCellWrapper.d.ts +46 -0
- package/dist/components/layout/GridCellWrapper.d.ts.map +1 -0
- package/dist/components/layout/GridLayout.d.ts +38 -0
- package/dist/components/layout/GridLayout.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +12 -0
- package/dist/components/layout/index.d.ts.map +1 -0
- package/dist/components/menu/Menu.d.ts +1 -0
- package/dist/components/menu/Menu.d.ts.map +1 -0
- package/dist/components/menu/MenuItem.d.ts +31 -0
- package/dist/components/menu/MenuItem.d.ts.map +1 -0
- package/dist/components/menu/index.d.ts +7 -0
- package/dist/components/menu/index.d.ts.map +1 -0
- package/dist/components/pages/FormPage.d.ts +66 -0
- package/dist/components/pages/FormPage.d.ts.map +1 -0
- package/dist/components/pages/Page.d.ts +124 -0
- package/dist/components/pages/Page.d.ts.map +1 -0
- package/dist/components/pages/index.d.ts +11 -0
- package/dist/components/pages/index.d.ts.map +1 -0
- package/dist/contexts/DataContext.d.ts +139 -0
- package/dist/contexts/DataContext.d.ts.map +1 -0
- package/dist/contexts/DimensionsContext.d.ts +42 -0
- package/dist/contexts/DimensionsContext.d.ts.map +1 -0
- package/dist/contexts/PaletteContext.d.ts +53 -0
- package/dist/contexts/PaletteContext.d.ts.map +1 -0
- package/dist/contexts/QwickAppContext.d.ts +71 -0
- package/dist/contexts/QwickAppContext.d.ts.map +1 -0
- package/dist/contexts/ThemeContext.d.ts +65 -0
- package/dist/contexts/ThemeContext.d.ts.map +1 -0
- package/dist/contexts/index.d.ts +9 -0
- package/dist/contexts/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useBaseProps.d.ts +101 -0
- package/dist/hooks/useBaseProps.d.ts.map +1 -0
- package/dist/hooks/useDataBinding.d.ts +22 -0
- package/dist/hooks/useDataBinding.d.ts.map +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.css +1 -0
- package/dist/index.esm.js +24143 -0
- package/dist/index.js +24245 -0
- package/dist/palettes/PaletteAutumn.d.ts +10 -0
- package/dist/palettes/PaletteAutumn.d.ts.map +1 -0
- package/dist/palettes/PaletteCosmic.d.ts +10 -0
- package/dist/palettes/PaletteCosmic.d.ts.map +1 -0
- package/dist/palettes/PaletteDefault.d.ts +10 -0
- package/dist/palettes/PaletteDefault.d.ts.map +1 -0
- package/dist/palettes/PaletteOcean.d.ts +10 -0
- package/dist/palettes/PaletteOcean.d.ts.map +1 -0
- package/dist/palettes/PaletteSpring.d.ts +10 -0
- package/dist/palettes/PaletteSpring.d.ts.map +1 -0
- package/dist/palettes/PaletteWinter.d.ts +10 -0
- package/dist/palettes/PaletteWinter.d.ts.map +1 -0
- package/dist/palettes/index.d.ts +13 -0
- package/dist/palettes/index.d.ts.map +1 -0
- package/dist/schemas/ActionSchema.d.ts +21 -0
- package/dist/schemas/ActionSchema.d.ts.map +1 -0
- package/dist/schemas/ArticleSchema.d.ts +13 -0
- package/dist/schemas/ArticleSchema.d.ts.map +1 -0
- package/dist/schemas/Builders.d.ts +7 -0
- package/dist/schemas/Builders.d.ts.map +1 -0
- package/dist/schemas/ButtonSchema.d.ts +19 -0
- package/dist/schemas/ButtonSchema.d.ts.map +1 -0
- package/dist/schemas/CardListGridSchema.d.ts +17 -0
- package/dist/schemas/CardListGridSchema.d.ts.map +1 -0
- package/dist/schemas/ChoiceInputFieldSchema.d.ts +18 -0
- package/dist/schemas/ChoiceInputFieldSchema.d.ts.map +1 -0
- package/dist/schemas/CodeSchema.d.ts +18 -0
- package/dist/schemas/CodeSchema.d.ts.map +1 -0
- package/dist/schemas/ContentSchema.d.ts +20 -0
- package/dist/schemas/ContentSchema.d.ts.map +1 -0
- package/dist/schemas/CoverImageHeaderSchema.d.ts +28 -0
- package/dist/schemas/CoverImageHeaderSchema.d.ts.map +1 -0
- package/dist/schemas/FeatureCardSchema.d.ts +28 -0
- package/dist/schemas/FeatureCardSchema.d.ts.map +1 -0
- package/dist/schemas/FeatureGridSchema.d.ts +17 -0
- package/dist/schemas/FeatureGridSchema.d.ts.map +1 -0
- package/dist/schemas/FeatureItemSchema.d.ts +16 -0
- package/dist/schemas/FeatureItemSchema.d.ts.map +1 -0
- package/dist/schemas/FooterItemSchema.d.ts +15 -0
- package/dist/schemas/FooterItemSchema.d.ts.map +1 -0
- package/dist/schemas/FooterSchema.d.ts +20 -0
- package/dist/schemas/FooterSchema.d.ts.map +1 -0
- package/dist/schemas/FooterSectionSchema.d.ts +15 -0
- package/dist/schemas/FooterSectionSchema.d.ts.map +1 -0
- package/dist/schemas/FormBlockSchema.d.ts +19 -0
- package/dist/schemas/FormBlockSchema.d.ts.map +1 -0
- package/dist/schemas/HeaderActionSchema.d.ts +17 -0
- package/dist/schemas/HeaderActionSchema.d.ts.map +1 -0
- package/dist/schemas/HeroBlockSchema.d.ts +22 -0
- package/dist/schemas/HeroBlockSchema.d.ts.map +1 -0
- package/dist/schemas/HtmlInputFieldSchema.d.ts +18 -0
- package/dist/schemas/HtmlInputFieldSchema.d.ts.map +1 -0
- package/dist/schemas/MetadataItemSchema.d.ts +13 -0
- package/dist/schemas/MetadataItemSchema.d.ts.map +1 -0
- package/dist/schemas/PageBannerHeaderSchema.d.ts +28 -0
- package/dist/schemas/PageBannerHeaderSchema.d.ts.map +1 -0
- package/dist/schemas/PaletteSwitcherSchema.d.ts +16 -0
- package/dist/schemas/PaletteSwitcherSchema.d.ts.map +1 -0
- package/dist/schemas/ProductCardSchema.d.ts +39 -0
- package/dist/schemas/ProductCardSchema.d.ts.map +1 -0
- package/dist/schemas/SafeSpanSchema.d.ts +13 -0
- package/dist/schemas/SafeSpanSchema.d.ts.map +1 -0
- package/dist/schemas/SectionSchema.d.ts +17 -0
- package/dist/schemas/SectionSchema.d.ts.map +1 -0
- package/dist/schemas/SelectInputFieldSchema.d.ts +27 -0
- package/dist/schemas/SelectInputFieldSchema.d.ts.map +1 -0
- package/dist/schemas/TextInputFieldSchema.d.ts +22 -0
- package/dist/schemas/TextInputFieldSchema.d.ts.map +1 -0
- package/dist/schemas/ThemeSwitcherSchema.d.ts +19 -0
- package/dist/schemas/ThemeSwitcherSchema.d.ts.map +1 -0
- package/dist/schemas/index.d.ts +33 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/types.d.ts +7 -0
- package/dist/schemas/types.d.ts.map +1 -0
- package/dist/templates/TemplateResolver.d.ts +52 -0
- package/dist/templates/TemplateResolver.d.ts.map +1 -0
- package/dist/templates/index.d.ts +7 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/tests/ConsoleWarningTest.d.ts +5 -0
- package/dist/tests/ConsoleWarningTest.d.ts.map +1 -0
- package/dist/tests/StorageKeyTest.d.ts +6 -0
- package/dist/tests/StorageKeyTest.d.ts.map +1 -0
- package/dist/tests/ThemeStorageKeyTest.d.ts +6 -0
- package/dist/tests/ThemeStorageKeyTest.d.ts.map +1 -0
- package/dist/types/CacheProvider.d.ts +18 -0
- package/dist/types/CacheProvider.d.ts.map +1 -0
- package/dist/types/ContentProxy.d.ts +47 -0
- package/dist/types/ContentProxy.d.ts.map +1 -0
- package/dist/types/DataBinding.d.ts +7 -0
- package/dist/types/DataBinding.d.ts.map +1 -0
- package/dist/types/DataProvider.d.ts +7 -0
- package/dist/types/DataProvider.d.ts.map +1 -0
- package/dist/types/DataTypes.d.ts +185 -0
- package/dist/types/DataTypes.d.ts.map +1 -0
- package/dist/types/TemplateProvider.d.ts +10 -0
- package/dist/types/TemplateProvider.d.ts.map +1 -0
- package/dist/types/TemplateResolver.d.ts +23 -0
- package/dist/types/TemplateResolver.d.ts.map +1 -0
- package/dist/types/index.d.ts +81 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/breakpoints.d.ts +35 -0
- package/dist/utils/breakpoints.d.ts.map +1 -0
- package/dist/utils/customPaletteManager.d.ts +8 -0
- package/dist/utils/customPaletteManager.d.ts.map +1 -0
- package/dist/utils/dimensions.d.ts +34 -0
- package/dist/utils/dimensions.d.ts.map +1 -0
- package/dist/utils/htmlTransform.d.ts +44 -0
- package/dist/utils/htmlTransform.d.ts.map +1 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/logger.d.ts +14 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/paletteUtils.d.ts +38 -0
- package/dist/utils/paletteUtils.d.ts.map +1 -0
- package/dist/utils/persistenceUtils.d.ts +31 -0
- package/dist/utils/persistenceUtils.d.ts.map +1 -0
- package/dist/utils/reactUtils.d.ts +24 -0
- package/dist/utils/reactUtils.d.ts.map +1 -0
- package/dist/utils/spacing.d.ts +34 -0
- package/dist/utils/spacing.d.ts.map +1 -0
- package/dist/utils/themePerformanceMonitor.d.ts +32 -0
- package/dist/utils/themePerformanceMonitor.d.ts.map +1 -0
- package/dist/utils/themeUtils.d.ts +27 -0
- package/dist/utils/themeUtils.d.ts.map +1 -0
- package/package.json +141 -0
- package/src/__tests__/components/Logo.test.js +172 -0
- package/src/__tests__/contexts/DataContext.test.js +505 -0
- package/src/__tests__/contexts/PaletteContext.test.js +115 -0
- package/src/__tests__/contexts/ThemeContext.test.js +123 -0
- package/src/__tests__/utils/paletteUtils.test.js +142 -0
- package/src/__tests__/utils/themeUtils.test.js +142 -0
- package/src/components/AccessibilityChecker.tsx +264 -0
- package/src/components/Html.tsx +191 -0
- package/src/components/Logo.css +217 -0
- package/src/components/Logo.tsx +370 -0
- package/src/components/Markdown.tsx +191 -0
- package/src/components/QwickApp.css +257 -0
- package/src/components/QwickApp.tsx +157 -0
- package/src/components/QwickAppsLogo.tsx +77 -0
- package/src/components/ResponsiveMenu.css +416 -0
- package/src/components/ResponsiveMenu.tsx +310 -0
- package/src/components/SafeSpan.tsx +128 -0
- package/src/components/Scaffold.css +541 -0
- package/src/components/Scaffold.tsx +463 -0
- package/src/components/__tests__/Article.test.tsx +419 -0
- package/src/components/__tests__/Button.test.tsx +702 -0
- package/src/components/__tests__/CardListGrid.test.tsx +478 -0
- package/src/components/__tests__/ChoiceInputField.test.tsx +864 -0
- package/src/components/__tests__/Code.test.tsx +595 -0
- package/src/components/__tests__/Content.integration.test.tsx +193 -0
- package/src/components/__tests__/Content.test.tsx +504 -0
- package/src/components/__tests__/CoverImageHeader.test.tsx +456 -0
- package/src/components/__tests__/FeatureCard.integration.test.tsx +384 -0
- package/src/components/__tests__/FeatureGrid.integration.test.tsx +364 -0
- package/src/components/__tests__/FeatureGrid.test.tsx +494 -0
- package/src/components/__tests__/Footer.test.tsx +544 -0
- package/src/components/__tests__/FormBlock.test.tsx +857 -0
- package/src/components/__tests__/HeroBlock.integration.test.tsx +272 -0
- package/src/components/__tests__/HeroBlock.test.tsx +463 -0
- package/src/components/__tests__/Html.test.tsx +174 -0
- package/src/components/__tests__/HtmlInputField.test.tsx +856 -0
- package/src/components/__tests__/Markdown.test.tsx +233 -0
- package/src/components/__tests__/PageBannerHeader.test.tsx +614 -0
- package/src/components/__tests__/PaletteSwitcher.test.tsx +864 -0
- package/src/components/__tests__/ProductCard.test.tsx +377 -0
- package/src/components/__tests__/SafeSpan.integration.test.tsx +123 -0
- package/src/components/__tests__/SafeSpan.simple.test.tsx +65 -0
- package/src/components/__tests__/SafeSpan.test.tsx +388 -0
- package/src/components/__tests__/Section.integration.test.tsx +288 -0
- package/src/components/__tests__/Section.test.tsx +494 -0
- package/src/components/__tests__/SelectInputField.test.tsx +886 -0
- package/src/components/__tests__/TextInputField.test.tsx +749 -0
- package/src/components/__tests__/ThemeSwitcher.test.tsx +777 -0
- package/src/components/blocks/Article.tsx +194 -0
- package/src/components/blocks/CardListGrid.tsx +132 -0
- package/src/components/blocks/Code.tsx +313 -0
- package/src/components/blocks/Content.tsx +265 -0
- package/src/components/blocks/CoverImageHeader.css +17 -0
- package/src/components/blocks/CoverImageHeader.tsx +435 -0
- package/src/components/blocks/FeatureCard.tsx +321 -0
- package/src/components/blocks/FeatureGrid.tsx +147 -0
- package/src/components/blocks/Footer.tsx +343 -0
- package/src/components/blocks/HeroBlock.tsx +280 -0
- package/src/components/blocks/PageBannerHeader.tsx +471 -0
- package/src/components/blocks/ProductCard.tsx +472 -0
- package/src/components/blocks/Section.tsx +209 -0
- package/src/components/blocks/index.ts +37 -0
- package/src/components/buttons/Button.tsx +233 -0
- package/src/components/buttons/PaletteSwitcher.tsx +268 -0
- package/src/components/buttons/ThemeSwitcher.tsx +283 -0
- package/src/components/buttons/index.ts +11 -0
- package/src/components/forms/FormBlock.tsx +291 -0
- package/src/components/forms/index.ts +7 -0
- package/src/components/index.ts +37 -0
- package/src/components/input/ChoiceInputField.tsx +188 -0
- package/src/components/input/HtmlInputField.tsx +326 -0
- package/src/components/input/SelectInputField.tsx +197 -0
- package/src/components/input/TextField.tsx +47 -0
- package/src/components/input/TextInputField.tsx +144 -0
- package/src/components/input/index.ts +17 -0
- package/src/components/layout/GridCell.tsx +46 -0
- package/src/components/layout/GridCellWrapper.tsx +87 -0
- package/src/components/layout/GridLayout.tsx +169 -0
- package/src/components/layout/index.ts +13 -0
- package/src/components/menu/Menu.tsx +0 -0
- package/src/components/menu/MenuItem.tsx +32 -0
- package/src/components/menu/index.ts +6 -0
- package/src/components/pages/FormPage.tsx +108 -0
- package/src/components/pages/Page.css +460 -0
- package/src/components/pages/Page.tsx +345 -0
- package/src/components/pages/index.ts +11 -0
- package/src/contexts/DataContext.tsx +355 -0
- package/src/contexts/DimensionsContext.tsx +154 -0
- package/src/contexts/PaletteContext.tsx +217 -0
- package/src/contexts/QwickAppContext.tsx +95 -0
- package/src/contexts/ThemeContext.tsx +376 -0
- package/src/contexts/index.ts +9 -0
- package/src/hooks/__tests__/useDataBinding.test.tsx.disabled +229 -0
- package/src/hooks/index.ts +11 -0
- package/src/hooks/useBaseProps.ts +267 -0
- package/src/hooks/useDataBinding.ts +77 -0
- package/src/index.ts +23 -0
- package/src/palettes/PaletteAutumn.css +172 -0
- package/src/palettes/PaletteAutumn.ts +16 -0
- package/src/palettes/PaletteCosmic.css +172 -0
- package/src/palettes/PaletteCosmic.ts +16 -0
- package/src/palettes/PaletteDefault.css +178 -0
- package/src/palettes/PaletteDefault.ts +17 -0
- package/src/palettes/PaletteOcean.css +172 -0
- package/src/palettes/PaletteOcean.ts +16 -0
- package/src/palettes/PaletteSpring.css +160 -0
- package/src/palettes/PaletteSpring.ts +16 -0
- package/src/palettes/PaletteWinter.css +172 -0
- package/src/palettes/PaletteWinter.ts +16 -0
- package/src/palettes/index.css +12 -0
- package/src/palettes/index.ts +29 -0
- package/src/schemas/ActionSchema.ts +140 -0
- package/src/schemas/ArticleSchema.ts +35 -0
- package/src/schemas/ButtonSchema.ts +99 -0
- package/src/schemas/CardListGridSchema.ts +102 -0
- package/src/schemas/ChoiceInputFieldSchema.ts +89 -0
- package/src/schemas/CodeSchema.ts +88 -0
- package/src/schemas/ContentSchema.ts +128 -0
- package/src/schemas/CoverImageHeaderSchema.ts +208 -0
- package/src/schemas/FeatureCardSchema.ts +161 -0
- package/src/schemas/FeatureGridSchema.ts +87 -0
- package/src/schemas/FeatureItemSchema.ts +68 -0
- package/src/schemas/FooterItemSchema.ts +57 -0
- package/src/schemas/FooterSchema.ts +116 -0
- package/src/schemas/FooterSectionSchema.ts +50 -0
- package/src/schemas/FormBlockSchema.ts +102 -0
- package/src/schemas/HeaderActionSchema.ts +83 -0
- package/src/schemas/HeroBlockSchema.ts +149 -0
- package/src/schemas/HtmlInputFieldSchema.ts +88 -0
- package/src/schemas/MetadataItemSchema.ts +35 -0
- package/src/schemas/PageBannerHeaderSchema.ts +206 -0
- package/src/schemas/PaletteSwitcherSchema.ts +66 -0
- package/src/schemas/ProductCardSchema.ts +264 -0
- package/src/schemas/SafeSpanSchema.ts +36 -0
- package/src/schemas/SectionSchema.ts +106 -0
- package/src/schemas/SelectInputFieldSchema.ts +137 -0
- package/src/schemas/TextInputFieldSchema.ts +129 -0
- package/src/schemas/ThemeSwitcherSchema.ts +97 -0
- package/src/schemas/__tests__/builders.test.ts +313 -0
- package/src/schemas/index.ts +34 -0
- package/src/setupTests.js +60 -0
- package/src/stories/Article.stories.tsx +549 -0
- package/src/stories/Button.stories.tsx +498 -0
- package/src/stories/CardListGrid.stories.tsx +539 -0
- package/src/stories/ChoiceInputField.stories.tsx +591 -0
- package/src/stories/Code.stories.tsx +711 -0
- package/src/stories/Content.stories.tsx +463 -0
- package/src/stories/CoverImageHeader.stories.tsx +794 -0
- package/src/stories/DataBinding.advanced.stories.tsx +548 -0
- package/src/stories/DataBinding.stories.tsx +452 -0
- package/src/stories/DataProvider.stories.tsx +1361 -0
- package/src/stories/FeatureCard.stories.tsx +642 -0
- package/src/stories/FeatureGrid.stories.tsx +669 -0
- package/src/stories/Footer.stories.tsx +724 -0
- package/src/stories/FormBlock.stories.tsx +834 -0
- package/src/stories/HeroBlock.stories.tsx +442 -0
- package/src/stories/Html.stories.tsx +264 -0
- package/src/stories/HtmlInputField.stories.tsx +558 -0
- package/src/stories/Introduction.stories.tsx +721 -0
- package/src/stories/LayoutBlocks.stories.tsx +382 -0
- package/src/stories/LayoutSystem.stories.tsx +253 -0
- package/src/stories/Logo.stories.tsx +400 -0
- package/src/stories/Markdown.stories.tsx +349 -0
- package/src/stories/Page.stories.tsx +762 -0
- package/src/stories/PageBannerHeader.stories.tsx +949 -0
- package/src/stories/PaletteSwitcher.stories.tsx +156 -0
- package/src/stories/ProductCard.stories.tsx +504 -0
- package/src/stories/QwickApp.stories.tsx +461 -0
- package/src/stories/ResponsiveMenu.stories.tsx +299 -0
- package/src/stories/SafeSpan.stories.tsx +612 -0
- package/src/stories/Section.stories.tsx +613 -0
- package/src/stories/SelectInputField.stories.tsx +605 -0
- package/src/stories/TextInputField.stories.tsx +526 -0
- package/src/stories/ThemeSwitcher.stories.tsx +170 -0
- package/src/stories/form/FormComponents.stories.tsx +588 -0
- package/src/templates/TemplateResolver.ts +156 -0
- package/src/templates/index.ts +6 -0
- package/src/tests/ConsoleWarningTest.tsx +30 -0
- package/src/tests/StorageKeyTest.tsx +110 -0
- package/src/tests/ThemeStorageKeyTest.tsx +114 -0
- package/src/types/CacheProvider.ts +14 -0
- package/src/types/ContentProxy.ts +99 -0
- package/src/types/DataTypes.ts +196 -0
- package/src/types/TemplateProvider.ts +9 -0
- package/src/types/TemplateResolver.ts +26 -0
- package/src/types/index.ts +99 -0
- package/src/utils/__tests__/createDataDrivenComponent.test.tsx.disabled +193 -0
- package/src/utils/__tests__/htmlTransform.test.tsx +255 -0
- package/src/utils/breakpoints.ts +87 -0
- package/src/utils/customPaletteManager.js +214 -0
- package/src/utils/dimensions.ts +147 -0
- package/src/utils/htmlTransform.tsx +323 -0
- package/src/utils/index.ts +16 -0
- package/src/utils/logger.ts +28 -0
- package/src/utils/paletteUtils.ts +78 -0
- package/src/utils/persistenceUtils.ts +107 -0
- package/src/utils/reactUtils.tsx +37 -0
- package/src/utils/spacing.ts +155 -0
- package/src/utils/themePerformanceMonitor.js +113 -0
- package/src/utils/themeUtils.ts +67 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateProvider.d.ts","sourceRoot":"","sources":["../../src/types/TemplateProvider.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gEAAgE;IAChE,OAAO,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,MAAM,CAAC;CACjD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ICacheProvider, IDataProvider } from "@qwickapps/schema";
|
|
2
|
+
import { TemplateProvider } from "./TemplateProvider";
|
|
3
|
+
/**
|
|
4
|
+
* Configuration for Data Provider orchestrator
|
|
5
|
+
*/
|
|
6
|
+
export interface TemplateResolverConfig {
|
|
7
|
+
/** Data provider for fetching raw data */
|
|
8
|
+
dataProvider: IDataProvider;
|
|
9
|
+
/** Template resolver (optional, defaults to MustacheTemplateResolver) */
|
|
10
|
+
templateResolver?: TemplateProvider;
|
|
11
|
+
/** Cache provider (optional, defaults to MemoryCacheProvider, false = no cache) */
|
|
12
|
+
cacheProvider?: ICacheProvider<any[]> | boolean;
|
|
13
|
+
/** Enable debug logging */
|
|
14
|
+
enableLogging?: boolean;
|
|
15
|
+
} /**
|
|
16
|
+
* Content resolver interface
|
|
17
|
+
* This is now an orchestrator that combines data, template, and cache providers
|
|
18
|
+
*/
|
|
19
|
+
export interface ITemplateResolver extends IDataProvider {
|
|
20
|
+
/** Resolve template string with mustache syntax */
|
|
21
|
+
resolveTemplate(template: string): Promise<string>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=TemplateResolver.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TemplateResolver.d.ts","sourceRoot":"","sources":["../../src/types/TemplateResolver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;GAEG;AAEH,MAAM,WAAW,sBAAsB;IACrC,0CAA0C;IAC1C,YAAY,EAAE,aAAa,CAAC;IAC5B,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,mFAAmF;IACnF,aAAa,CAAC,EAAE,cAAc,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC;IAChD,2BAA2B;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,CAAA;;;GAGE;AAEH,MAAM,WAAW,iBAAkB,SAAQ,aAAa;IACtD,mDAAmD;IACnD,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACpD"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized Type Definitions for QwickApps React Framework
|
|
3
|
+
*
|
|
4
|
+
* This file consolidates all common types used throughout the framework
|
|
5
|
+
* to ensure consistency and eliminate duplication.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Standard t-shirt sizing system used across the framework
|
|
11
|
+
*/
|
|
12
|
+
export type TShirtSize = 'tiny' | 'small' | 'medium' | 'large' | 'x-large' | 'huge';
|
|
13
|
+
/**
|
|
14
|
+
* MUI breakpoint values for responsive design
|
|
15
|
+
*/
|
|
16
|
+
export type MUIBreakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
17
|
+
/**
|
|
18
|
+
* Extended MUI breakpoint names for better readability
|
|
19
|
+
*/
|
|
20
|
+
export type ExtendedBreakpoint = 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
|
|
21
|
+
/**
|
|
22
|
+
* Combined breakpoint type supporting all naming conventions
|
|
23
|
+
*/
|
|
24
|
+
export type BreakpointValue = MUIBreakpoint | ExtendedBreakpoint | false;
|
|
25
|
+
/**
|
|
26
|
+
* Height presets commonly used in layout components
|
|
27
|
+
*/
|
|
28
|
+
export type HeightPreset = TShirtSize | 'viewport' | 'auto';
|
|
29
|
+
/**
|
|
30
|
+
* Note: SpacingValue is defined in utils/spacing.ts to avoid circular dependencies
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Dimension values supporting CSS units and t-shirt sizes
|
|
34
|
+
*/
|
|
35
|
+
export type DimensionValue = TShirtSize | MUIBreakpoint | number | 'auto' | 'grow' | string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Background variant types for themed components
|
|
38
|
+
*/
|
|
39
|
+
export type BackgroundVariant = 'default' | 'primary' | 'secondary' | 'surface' | 'paper';
|
|
40
|
+
/**
|
|
41
|
+
* Text alignment options
|
|
42
|
+
*/
|
|
43
|
+
export type TextAlignment = 'left' | 'center' | 'right' | 'justify';
|
|
44
|
+
/**
|
|
45
|
+
* Common spacing presets for layout components
|
|
46
|
+
*/
|
|
47
|
+
export type SpacingPreset = 'none' | 'compact' | 'comfortable' | 'spacious';
|
|
48
|
+
/**
|
|
49
|
+
* Component size variants (different from dimension sizes)
|
|
50
|
+
*/
|
|
51
|
+
export type ComponentSize = 'small' | 'medium' | 'large';
|
|
52
|
+
/**
|
|
53
|
+
* Elevation levels for Material-UI components
|
|
54
|
+
*/
|
|
55
|
+
export type ElevationLevel = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 8 | 12 | 16 | 24;
|
|
56
|
+
/**
|
|
57
|
+
* Common variant styles for components
|
|
58
|
+
*/
|
|
59
|
+
export type ComponentVariant = 'default' | 'elevated' | 'outlined' | 'filled' | 'text';
|
|
60
|
+
/**
|
|
61
|
+
* Animation durations
|
|
62
|
+
*/
|
|
63
|
+
export type AnimationDuration = 'fast' | 'medium' | 'slow' | number;
|
|
64
|
+
/**
|
|
65
|
+
* Grid span values for layout systems
|
|
66
|
+
*/
|
|
67
|
+
export type GridSpan = number | 'auto' | 'grow';
|
|
68
|
+
/**
|
|
69
|
+
* Color intensity levels
|
|
70
|
+
*/
|
|
71
|
+
export type ColorIntensity = 'light' | 'main' | 'dark';
|
|
72
|
+
/**
|
|
73
|
+
* Common loading states
|
|
74
|
+
*/
|
|
75
|
+
export type LoadingState = 'idle' | 'loading' | 'success' | 'error';
|
|
76
|
+
export * from './CacheProvider';
|
|
77
|
+
export * from './ContentProxy';
|
|
78
|
+
export * from './DataTypes';
|
|
79
|
+
export * from './TemplateProvider';
|
|
80
|
+
export * from './TemplateResolver';
|
|
81
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAEpF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,CAAC;AAE9F;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,kBAAkB,GAAG,KAAK,CAAC;AAEzE;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,MAAM,CAAC;AAE5D;;GAEG;AAEH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAExG;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;AAE1F;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CAAC;AAE5E;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE1E;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEvF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;AAGpE,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Breakpoint utilities for QwickApps React Framework
|
|
3
|
+
*
|
|
4
|
+
* Consolidates all breakpoint-related logic and type conversions
|
|
5
|
+
* to ensure consistency across components.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
8
|
+
*/
|
|
9
|
+
import type { MUIBreakpoint, BreakpointValue, ExtendedBreakpoint } from '../types';
|
|
10
|
+
/**
|
|
11
|
+
* Standard MUI breakpoint pixel values
|
|
12
|
+
*/
|
|
13
|
+
export declare const MUI_BREAKPOINT_VALUES: Record<MUIBreakpoint, number>;
|
|
14
|
+
/**
|
|
15
|
+
* Converts any breakpoint value to MUI breakpoint format
|
|
16
|
+
* Handles extended names, MUI names, and false values
|
|
17
|
+
*/
|
|
18
|
+
export declare function mapToMUIBreakpoint(value?: BreakpointValue): MUIBreakpoint | false;
|
|
19
|
+
/**
|
|
20
|
+
* Gets the pixel value for a breakpoint
|
|
21
|
+
*/
|
|
22
|
+
export declare function getBreakpointPixelValue(breakpoint: MUIBreakpoint | BreakpointValue): number;
|
|
23
|
+
/**
|
|
24
|
+
* Type guard to check if a value is a valid MUI breakpoint
|
|
25
|
+
*/
|
|
26
|
+
export declare function isMUIBreakpoint(value: unknown): value is MUIBreakpoint;
|
|
27
|
+
/**
|
|
28
|
+
* Type guard to check if a value is an extended breakpoint name
|
|
29
|
+
*/
|
|
30
|
+
export declare function isExtendedBreakpoint(value: unknown): value is ExtendedBreakpoint;
|
|
31
|
+
/**
|
|
32
|
+
* Type guard to check if a value is any valid breakpoint
|
|
33
|
+
*/
|
|
34
|
+
export declare function isBreakpointValue(value: unknown): value is BreakpointValue;
|
|
35
|
+
//# sourceMappingURL=breakpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breakpoints.d.ts","sourceRoot":"","sources":["../../src/utils/breakpoints.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnF;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,aAAa,EAAE,MAAM,CAM/D,CAAC;AAaF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,aAAa,GAAG,KAAK,CAiBjF;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,EAAE,aAAa,GAAG,eAAe,GAAG,MAAM,CAM3F;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,kBAAkB,CAEhF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,eAAe,CAE1E"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function saveCustomPalette(palette: Object): void;
|
|
2
|
+
export function getCustomPalettes(): any[];
|
|
3
|
+
export function deleteCustomPalette(paletteId: string): void;
|
|
4
|
+
export function exportPalette(palette: Object): void;
|
|
5
|
+
export function importPalette(file: File): Promise<Object>;
|
|
6
|
+
export function createPaletteFromCurrentTheme(name: string, description: string): Object;
|
|
7
|
+
export function applyCustomPalette(palette: Object): void;
|
|
8
|
+
//# sourceMappingURL=customPaletteManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customPaletteManager.d.ts","sourceRoot":"","sources":["../../src/utils/customPaletteManager.js"],"names":[],"mappings":"AAUO,2CAFI,MAAM,QAahB;AAMM,2CAQN;AAMM,+CAFI,MAAM,QAYhB;AAMM,uCAFI,MAAM,QAYhB;AAOM,oCAHI,IAAI,GACF,OAAO,CAAC,MAAM,CAAC,CA+B3B;AAQM,oDAJI,MAAM,eACN,MAAM,GACJ,MAAM,CAoElB;AAMM,4CAFI,MAAM,QAgChB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dimension utilities for QwickApps React Framework
|
|
3
|
+
*
|
|
4
|
+
* Provides standardized dimension value resolution with t-shirt sizing
|
|
5
|
+
* and MUI breakpoint compatibility
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
8
|
+
*/
|
|
9
|
+
import type { DimensionValue } from '../types';
|
|
10
|
+
export type { DimensionValue };
|
|
11
|
+
export type DimensionContext = 'width' | 'height' | 'maxWidth' | 'maxHeight' | 'minWidth' | 'minHeight';
|
|
12
|
+
/**
|
|
13
|
+
* Resolves a dimension value to a valid CSS value
|
|
14
|
+
*/
|
|
15
|
+
export declare function resolveDimension(value: DimensionValue, context?: DimensionContext): string | number | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Resolves multiple dimension props at once
|
|
18
|
+
*/
|
|
19
|
+
export declare function resolveDimensions(props: {
|
|
20
|
+
width?: DimensionValue;
|
|
21
|
+
height?: DimensionValue;
|
|
22
|
+
minWidth?: DimensionValue;
|
|
23
|
+
minHeight?: DimensionValue;
|
|
24
|
+
maxWidth?: DimensionValue;
|
|
25
|
+
maxHeight?: DimensionValue;
|
|
26
|
+
}): {
|
|
27
|
+
width: string | number | undefined;
|
|
28
|
+
height: string | number | undefined;
|
|
29
|
+
minWidth: string | number | undefined;
|
|
30
|
+
minHeight: string | number | undefined;
|
|
31
|
+
maxWidth: string | number | undefined;
|
|
32
|
+
maxHeight: string | number | undefined;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=dimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dimensions.d.ts","sourceRoot":"","sources":["../../src/utils/dimensions.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAA6B,MAAM,UAAU,CAAC;AAG1E,YAAY,EAAE,cAAc,EAAE,CAAC;AAG/B,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,WAAW,CAAC;AA6DxG;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,cAAc,EACrB,OAAO,GAAE,gBAA0B,GAClC,MAAM,GAAG,MAAM,GAAG,SAAS,CA2C7B;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,SAAS,CAAC,EAAE,cAAc,CAAC;CAC5B;;;;;;;EASA"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HTML Transform Utilities - Shared transformation logic for HTML content
|
|
3
|
+
*
|
|
4
|
+
* Provides configurable HTML element transformation rules to convert
|
|
5
|
+
* standard HTML elements into Framework components.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
8
|
+
*/
|
|
9
|
+
import React from 'react';
|
|
10
|
+
export interface TransformRule {
|
|
11
|
+
selector: string;
|
|
12
|
+
transform: (element: Element, key: string) => React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
export interface TransformConfig {
|
|
15
|
+
rules: TransformRule[];
|
|
16
|
+
sanitize?: boolean;
|
|
17
|
+
sanitizeOptions?: any;
|
|
18
|
+
fallbackComponent?: (element: Element, key: string) => React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Default transformation rules for article/blog content
|
|
22
|
+
*/
|
|
23
|
+
export declare const defaultArticleRules: TransformRule[];
|
|
24
|
+
/**
|
|
25
|
+
* Transform rules optimized for Markdown content
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultMarkdownRules: TransformRule[];
|
|
28
|
+
/**
|
|
29
|
+
* Default fallback component - renders element as-is with SafeSpan content
|
|
30
|
+
*/
|
|
31
|
+
export declare const defaultFallback: (element: Element, key: string) => React.ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Transform a single HTML element to React component
|
|
34
|
+
*/
|
|
35
|
+
export declare function transformElement(element: Element, key: string, config?: TransformConfig): React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Transform HTML string to React components
|
|
38
|
+
*/
|
|
39
|
+
export declare function transformHtmlToReact(html: string, config?: TransformConfig): React.ReactNode[];
|
|
40
|
+
/**
|
|
41
|
+
* Strip header elements from HTML content (for articles)
|
|
42
|
+
*/
|
|
43
|
+
export declare function stripHeaderFromContent(html: string): string;
|
|
44
|
+
//# sourceMappingURL=htmlTransform.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"htmlTransform.d.ts","sourceRoot":"","sources":["../../src/utils/htmlTransform.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CAC/D;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,aAAa,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAC;CACxE;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,EAAE,aAAa,EA0G9C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,EAAE,aAAa,EAqC/C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,SAAS,OAAO,EAAE,KAAK,MAAM,KAAG,KAAK,CAAC,SA+BrE,CAAC;AAkBF;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,OAAO,EAChB,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,eAAgD,GACvD,KAAK,CAAC,SAAS,CAqCjB;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE,eAAgD,GACvD,KAAK,CAAC,SAAS,EAAE,CASnB;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAuB3D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions and types for QwickApps React Framework
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
export * from './customPaletteManager';
|
|
7
|
+
export * from './dimensions';
|
|
8
|
+
export * from './logger';
|
|
9
|
+
export * from './paletteUtils';
|
|
10
|
+
export * from './persistenceUtils';
|
|
11
|
+
export * from './reactUtils';
|
|
12
|
+
export * from './spacing';
|
|
13
|
+
export * from './themePerformanceMonitor';
|
|
14
|
+
export * from './themeUtils';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QwickApps React Framework - Logger Utility
|
|
3
|
+
*
|
|
4
|
+
* Re-exports from @qwickapps/logging with framework-specific loggers
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
7
|
+
*/
|
|
8
|
+
export * from '@qwickapps/logging';
|
|
9
|
+
import { Logger } from '@qwickapps/logging';
|
|
10
|
+
/**
|
|
11
|
+
* Framework-specific loggers
|
|
12
|
+
*/
|
|
13
|
+
export declare const loggers: Record<string, Logger>;
|
|
14
|
+
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/utils/logger.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAgB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAU1C,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { PaletteConfig } from '../contexts/PaletteContext';
|
|
2
|
+
/**
|
|
3
|
+
* Available palette options
|
|
4
|
+
*/
|
|
5
|
+
export declare const AVAILABLE_PALETTES: PaletteConfig[];
|
|
6
|
+
/**
|
|
7
|
+
* Get the current palette from CSS variables
|
|
8
|
+
*/
|
|
9
|
+
export declare const getCurrentPalette: () => string;
|
|
10
|
+
/**
|
|
11
|
+
* Set palette and update CSS variables
|
|
12
|
+
*/
|
|
13
|
+
export declare const setPalette: (palette: string) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Get palette display name
|
|
16
|
+
*/
|
|
17
|
+
export declare const getPaletteName: (paletteId: string) => string;
|
|
18
|
+
/**
|
|
19
|
+
* Get palette configuration by ID
|
|
20
|
+
*/
|
|
21
|
+
export declare const getPaletteConfig: (paletteId: string) => PaletteConfig | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Initialize palette system
|
|
24
|
+
*/
|
|
25
|
+
export declare const initializePalette: () => void;
|
|
26
|
+
/**
|
|
27
|
+
* Save palette preference to localStorage
|
|
28
|
+
*/
|
|
29
|
+
export declare const savePalettePreference: (palette: string) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Get CSS custom property value
|
|
32
|
+
*/
|
|
33
|
+
export declare const getCSSVariable: (property: string) => string;
|
|
34
|
+
/**
|
|
35
|
+
* Set CSS custom property value
|
|
36
|
+
*/
|
|
37
|
+
export declare const setCSSVariable: (property: string, value: string) => void;
|
|
38
|
+
//# sourceMappingURL=paletteUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paletteUtils.d.ts","sourceRoot":"","sources":["../../src/utils/paletteUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,aAAa,EAM7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO,MAGpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,KAAG,IAM5C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,WAAW,MAAM,KAAG,MAGlD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,WAAW,MAAM,KAAG,aAAa,GAAG,SAEpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,QAAO,IAGpC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,GAAI,SAAS,MAAM,KAAG,IAGvD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,KAAG,MAEjD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,EAAE,OAAO,MAAM,KAAG,IAEhE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Persistence utilities for theme and palette preferences
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
5
|
+
*/
|
|
6
|
+
import type { ThemeMode } from '../contexts/ThemeContext';
|
|
7
|
+
/**
|
|
8
|
+
* Load user theme preference from localStorage
|
|
9
|
+
*/
|
|
10
|
+
export declare const loadUserThemePreference: (storageKey: string | null) => ThemeMode | null;
|
|
11
|
+
/**
|
|
12
|
+
* Save user theme preference to localStorage
|
|
13
|
+
*/
|
|
14
|
+
export declare const saveUserThemePreference: (storageKey: string | null, theme: ThemeMode) => void;
|
|
15
|
+
/**
|
|
16
|
+
* Clear user theme preference from localStorage
|
|
17
|
+
*/
|
|
18
|
+
export declare const clearUserThemePreference: (storageKey: string | null) => void;
|
|
19
|
+
/**
|
|
20
|
+
* Load user palette preference from localStorage
|
|
21
|
+
*/
|
|
22
|
+
export declare const loadUserPalettePreference: (storageKey: string | null, availablePalettes: string[]) => string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Save user palette preference to localStorage
|
|
25
|
+
*/
|
|
26
|
+
export declare const saveUserPalettePreference: (storageKey: string | null, palette: string) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Clear user palette preference from localStorage
|
|
29
|
+
*/
|
|
30
|
+
export declare const clearUserPalettePreference: (storageKey: string | null) => void;
|
|
31
|
+
//# sourceMappingURL=persistenceUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"persistenceUtils.d.ts","sourceRoot":"","sources":["../../src/utils/persistenceUtils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,GAAG,IAAI,KAAG,SAAS,GAAG,IAe/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,YAAY,MAAM,GAAG,IAAI,EAAE,OAAO,SAAS,KAAG,IAUrF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAAI,YAAY,MAAM,GAAG,IAAI,KAAG,IAUpE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,YAAY,MAAM,GAAG,IAAI,EAAE,mBAAmB,MAAM,EAAE,KAAG,MAAM,GAAG,IAe3G,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,YAAY,MAAM,GAAG,IAAI,EAAE,SAAS,MAAM,KAAG,IAUtF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,GAAG,IAAI,KAAG,IAUtE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* QwickApps React Framework - React Utilities
|
|
3
|
+
* This module provides utility functions for React components in the QwickApps React Framework.
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
6
|
+
*/
|
|
7
|
+
/** Location type for React Router */
|
|
8
|
+
type LocationType = {
|
|
9
|
+
pathname: string;
|
|
10
|
+
search: string;
|
|
11
|
+
hash: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Custom hook to get the current location
|
|
15
|
+
* @returns {object | undefined} - The location object if React Router is available, otherwise undefined
|
|
16
|
+
*/
|
|
17
|
+
export declare const useSafeLocation: () => LocationType | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Custom hook to get the navigate function
|
|
20
|
+
* @returns {Function | undefined} - The navigate function if React Router is available, otherwise undefined
|
|
21
|
+
*/
|
|
22
|
+
export declare const useSafeNavigate: () => Function | undefined;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=reactUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reactUtils.d.ts","sourceRoot":"","sources":["../../src/utils/reactUtils.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,qCAAqC;AACrC,KAAK,YAAY,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAO,YAAY,GAAG,SAOjD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAO,QAAQ,GAAG,SAO7C,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Spacing utilities for QwickApps React Framework
|
|
3
|
+
*
|
|
4
|
+
* Provides standardized spacing value resolution with t-shirt sizing
|
|
5
|
+
* Based on Material-UI's 8px spacing system
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
8
|
+
*/
|
|
9
|
+
export type SpacingValue = number | 'none' | 'tiny' | 'small' | 'medium' | 'large' | 'huge' | string | undefined;
|
|
10
|
+
export type SpacingContext = 'padding' | 'margin' | 'gap';
|
|
11
|
+
/**
|
|
12
|
+
* Resolves a spacing value to MUI spacing units or CSS value
|
|
13
|
+
*/
|
|
14
|
+
export declare function resolveSpacing(value: SpacingValue, context?: SpacingContext): number | string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Resolves spacing props with support for directional values
|
|
17
|
+
*/
|
|
18
|
+
export declare function resolveSpacingProps(props: {
|
|
19
|
+
padding?: SpacingValue;
|
|
20
|
+
paddingTop?: SpacingValue;
|
|
21
|
+
paddingRight?: SpacingValue;
|
|
22
|
+
paddingBottom?: SpacingValue;
|
|
23
|
+
paddingLeft?: SpacingValue;
|
|
24
|
+
paddingX?: SpacingValue;
|
|
25
|
+
paddingY?: SpacingValue;
|
|
26
|
+
margin?: SpacingValue;
|
|
27
|
+
marginTop?: SpacingValue;
|
|
28
|
+
marginRight?: SpacingValue;
|
|
29
|
+
marginBottom?: SpacingValue;
|
|
30
|
+
marginLeft?: SpacingValue;
|
|
31
|
+
marginX?: SpacingValue;
|
|
32
|
+
marginY?: SpacingValue;
|
|
33
|
+
}): any;
|
|
34
|
+
//# sourceMappingURL=spacing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spacing.d.ts","sourceRoot":"","sources":["../../src/utils/spacing.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAEjH,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,KAAK,CAAC;AAoB1D;;GAEG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,YAAY,EACnB,OAAO,GAAE,cAA0B,GAClC,MAAM,GAAG,MAAM,GAAG,SAAS,CA+C7B;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,YAAY,CAAC;IAC7B,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,OAkDA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function getThemePerformanceStats(): {
|
|
2
|
+
totalMeasurements: number;
|
|
3
|
+
averageDuration: string;
|
|
4
|
+
minDuration: string;
|
|
5
|
+
maxDuration: string;
|
|
6
|
+
recentMeasurements: any[];
|
|
7
|
+
} | null;
|
|
8
|
+
export function logThemePerformanceStats(): void;
|
|
9
|
+
export function resetThemePerformanceStats(): void;
|
|
10
|
+
export default themePerformanceMonitor;
|
|
11
|
+
declare const themePerformanceMonitor: ThemePerformanceMonitor;
|
|
12
|
+
/**
|
|
13
|
+
* Theme Performance Monitor - Track theme switching performance
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) 2025 QwickApps.com. All rights reserved.
|
|
16
|
+
*/
|
|
17
|
+
declare class ThemePerformanceMonitor {
|
|
18
|
+
measurements: any[];
|
|
19
|
+
isEnabled: boolean;
|
|
20
|
+
initializeListeners(): void;
|
|
21
|
+
measureThemeSwitch(type: any, value: any): void;
|
|
22
|
+
getStatistics(): {
|
|
23
|
+
totalMeasurements: number;
|
|
24
|
+
averageDuration: string;
|
|
25
|
+
minDuration: string;
|
|
26
|
+
maxDuration: string;
|
|
27
|
+
recentMeasurements: any[];
|
|
28
|
+
} | null;
|
|
29
|
+
logStatistics(): void;
|
|
30
|
+
reset(): void;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=themePerformanceMonitor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themePerformanceMonitor.d.ts","sourceRoot":"","sources":["../../src/utils/themePerformanceMonitor.js"],"names":[],"mappings":"AA2GO;;;;;;SAA8E;AAC9E,iDAA8E;AAC9E,mDAAwE;;AAL/E,+DAA8D;AAxG9D;;;;GAIG;AAEH;IAEI,oBAAsB;IACtB,mBAAuD;IAOzD,4BAUC;IAED,gDAkCC;IAED;;;;;;aAiBC;IAED,sBAaC;IAED,cAEC;CACF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ThemeMode, ActualThemeMode } from '../contexts/ThemeContext';
|
|
2
|
+
export type { ThemeMode, ActualThemeMode } from '../contexts/ThemeContext';
|
|
3
|
+
/**
|
|
4
|
+
* Get the current theme mode from CSS variables
|
|
5
|
+
*/
|
|
6
|
+
export declare const getCurrentTheme: () => ThemeMode;
|
|
7
|
+
/**
|
|
8
|
+
* Set theme mode and update CSS variables
|
|
9
|
+
*/
|
|
10
|
+
export declare const setTheme: (theme: ThemeMode) => void;
|
|
11
|
+
/**
|
|
12
|
+
* Get system preference for dark mode
|
|
13
|
+
*/
|
|
14
|
+
export declare const getSystemTheme: () => ActualThemeMode;
|
|
15
|
+
/**
|
|
16
|
+
* Get computed theme (resolves 'system' to actual light/dark)
|
|
17
|
+
*/
|
|
18
|
+
export declare const getComputedTheme: (theme?: ThemeMode) => ActualThemeMode;
|
|
19
|
+
/**
|
|
20
|
+
* Initialize theme system
|
|
21
|
+
*/
|
|
22
|
+
export declare const initializeTheme: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Save theme preference to localStorage
|
|
25
|
+
*/
|
|
26
|
+
export declare const saveThemePreference: (theme: ThemeMode) => void;
|
|
27
|
+
//# sourceMappingURL=themeUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themeUtils.d.ts","sourceRoot":"","sources":["../../src/utils/themeUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGtE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,SAIlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,OAAO,SAAS,KAAG,IAM3C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,QAAO,eAEjC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAO,SAA6B,KAAG,eAKvE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,IAWlC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,OAAO,SAAS,KAAG,IAGtD,CAAC"}
|