@owp/core 2.5.9 → 2.5.10

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 (42) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index12.js +2 -2
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index15.js +2 -2
  6. package/dist/_virtual/index20.js +2 -2
  7. package/dist/_virtual/index21.js +2 -2
  8. package/dist/_virtual/index22.js +2 -2
  9. package/dist/_virtual/index5.js +2 -2
  10. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +195 -147
  11. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  12. package/dist/features/themePreview/components/ThemePreviewColorField.js +10 -11
  13. package/dist/features/themePreview/components/ThemePreviewColorField.js.map +1 -1
  14. package/dist/features/themePreview/components/ThemePreviewControls.js +232 -198
  15. package/dist/features/themePreview/components/ThemePreviewControls.js.map +1 -1
  16. package/dist/features/themePreview/hooks/useThemePreview.js +214 -199
  17. package/dist/features/themePreview/hooks/useThemePreview.js.map +1 -1
  18. package/dist/features/themePreview/utils/themePreviewSettings.js +188 -151
  19. package/dist/features/themePreview/utils/themePreviewSettings.js.map +1 -1
  20. package/dist/features/themePreview.js +18 -17
  21. package/dist/node_modules/.pnpm/autosuggest-highlight@3.3.4/node_modules/autosuggest-highlight/match/index.js +1 -1
  22. package/dist/node_modules/.pnpm/autosuggest-highlight@3.3.4/node_modules/autosuggest-highlight/parse/index.js +1 -1
  23. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  24. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  25. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/constants.js +1 -1
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  28. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  30. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  31. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  33. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  34. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  36. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  37. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  38. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  39. package/dist/owp-app.css +1 -1
  40. package/dist/types/features/themePreview/utils/index.d.ts +1 -1
  41. package/dist/types/features/themePreview/utils/themePreviewSettings.d.ts +11 -1
  42. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  export { applyColorPickerValue, canDeriveThemePreviewColor, deriveThemePreviewPaletteGroupValues, getColorAlphaValue, toColorPickerValue, } from './color';
2
2
  export { createThemePreviewAppConfigFiles, createThemePreviewExportData } from './themePreviewExport';
3
3
  export { themePreviewFieldGroupsBySection, themePreviewSectionOptions } from './themePreviewDefinitions';
4
- export { isThemePreviewCustomSection, THEME_PREVIEW_CUSTOM_PRESET_KEY, applyThemePreviewPreset, cloneThemePreviewSettings, getThemePreviewDraftSettings, getThemePreviewPaletteValue, getThemePreviewPresetOptions, getThemePreviewPresetOptionsByMode, getThemePreviewResetSettings, resetThemePreviewSessionState, getThemePreviewSectionMode, getThemePreviewSelectionState, setThemePreviewPaletteValues, setThemePreviewPaletteValue, setThemePreviewDraftSettings, setThemePreviewSelectionState, } from './themePreviewSettings';
4
+ export { isThemePreviewCustomSection, THEME_PREVIEW_CUSTOM_PRESET_KEY, applyThemePreviewPreset, cloneThemePreviewSettings, getThemePreviewDraftSettings, getThemePreviewPaletteValue, getThemePreviewMatchedPresetKeys, getThemePreviewPresetOptions, getThemePreviewPresetOptionsByMode, getThemePreviewResetSettings, resetThemePreviewSessionState, getThemePreviewSectionMode, getThemePreviewSelectionState, setThemePreviewPaletteValues, setThemePreviewPaletteValue, setThemePreviewDraftSettings, setThemePreviewSelectionState, } from './themePreviewSettings';
@@ -36,9 +36,19 @@ export declare function getThemePreviewResetSettings(settings: OwpSettingsConfig
36
36
  }): ThemePreviewSettings;
37
37
  export declare function getThemePreviewPaletteValue(settings: ThemePreviewSettings, sectionKey: ThemePreviewSectionKey, path: string): string;
38
38
  export declare function getThemePreviewSectionMode(settings: OwpSettingsConfigType, sectionKey: ThemePreviewPresetSectionKey): "light" | "dark";
39
+ export declare function getThemePreviewMatchedPresetKeys(settings: OwpSettingsConfigType, presetThemes: ThemePreviewPresetThemes, presetOptions?: {
40
+ key: string;
41
+ label: string;
42
+ mode: ThemePreviewMode;
43
+ sections: import("..").ThemePreviewPaletteSectionKey[];
44
+ }[]): {
45
+ main: string;
46
+ navbar: string;
47
+ toolbar: string;
48
+ };
39
49
  export declare function getThemePreviewDraftSettings(currentSettings: OwpSettingsConfigType): ThemePreviewSettings;
40
50
  export declare function setThemePreviewDraftSettings(settings: ThemePreviewSettings): void;
41
- export declare function getThemePreviewSelectionState(settings: OwpSettingsConfigType, initialPresetKeys: ThemePreviewPresetKeyBySection): ThemePreviewSelectionState;
51
+ export declare function getThemePreviewSelectionState(settings: OwpSettingsConfigType, initialPresetKeys: ThemePreviewPresetKeyBySection, presetThemes: ThemePreviewPresetThemes): ThemePreviewSelectionState;
42
52
  export declare function setThemePreviewSelectionState(selectionState: ThemePreviewSelectionState): void;
43
53
  export declare function resetThemePreviewSessionState(): void;
44
54
  export declare function setThemePreviewPaletteValues(settings: ThemePreviewSettings, sectionKey: ThemePreviewSectionKey, updates: ThemePreviewPaletteValueUpdate[]): ThemePreviewSettings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@owp/core",
3
3
  "private": false,
4
- "version": "2.5.9",
4
+ "version": "2.5.10",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",