@lax-wp/design-system 0.5.27 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/components/cards/card-main/CardMain.d.ts +0 -2
  2. package/dist/components/data-display/json-grid-viewer/JsonGridCore.d.ts +2 -2
  3. package/dist/components/data-display/json-grid-viewer/JsonGridViewer.d.ts +1 -1
  4. package/dist/components/data-display/json-grid-viewer/JsonGridViewerContext.d.ts +1 -1
  5. package/dist/components/data-display/json-grid-viewer/JsonValueDisplay.d.ts +1 -1
  6. package/dist/components/data-display/json-grid-viewer/NestedJsonGrid.d.ts +1 -1
  7. package/dist/components/data-display/json-grid-viewer/hooks.d.ts +1 -1
  8. package/dist/components/data-display/json-grid-viewer/utils.d.ts +1 -1
  9. package/dist/components/forms/file-upload-dragger/FileUpload.d.ts +0 -2
  10. package/dist/components/forms/shared/InputLabel.d.ts +1 -2
  11. package/dist/components/navigation/accordion/Accordion.d.ts +1 -1
  12. package/dist/components/navigation/breadcrumbs/BreadCrumb.d.ts +7 -1
  13. package/dist/components/navigation/tabs/Children.d.ts +3 -0
  14. package/dist/components/navigation/tabs/DropableWrapper.d.ts +8 -0
  15. package/dist/components/navigation/tabs/MoreButton.d.ts +13 -0
  16. package/dist/components/navigation/tabs/SortableTab.d.ts +9 -0
  17. package/dist/components/navigation/tabs/TabDragOverlay.d.ts +11 -0
  18. package/dist/components/navigation/tabs/TabOptions.d.ts +14 -0
  19. package/dist/components/navigation/tabs/TabSwitch.d.ts +3 -0
  20. package/dist/components/navigation/tabs/Tabs.d.ts +2 -0
  21. package/dist/components/navigation/tabs/icons/PinIcon.d.ts +7 -0
  22. package/dist/components/navigation/tabs/icons/UnpinIcon.d.ts +7 -0
  23. package/dist/components/navigation/tabs/index.d.ts +3 -0
  24. package/dist/components/navigation/tabs/types.d.ts +117 -0
  25. package/dist/components/tooltip/Tooltip.d.ts +2 -5
  26. package/dist/design-system.css +1 -1
  27. package/dist/hooks/useTabState.d.ts +5 -0
  28. package/dist/hooks/useTextWidth.d.ts +11 -0
  29. package/dist/index.d.ts +5 -0
  30. package/dist/index.es.js +11730 -10944
  31. package/dist/index.es.js.map +1 -1
  32. package/dist/index.umd.js +33 -150
  33. package/dist/index.umd.js.map +1 -1
  34. package/dist/types/index.d.ts +0 -12
  35. package/package.json +1 -1
  36. package/dist/components/data-display/skeleton/loaders/PieChartWidgetLoader.d.ts +0 -5
@@ -1,4 +1,3 @@
1
- import type React from 'react';
2
1
  export * from './icon-picker';
3
2
  export type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
4
3
  export type JsonObject = {
@@ -11,14 +10,6 @@ export interface Tab<T extends string> {
11
10
  is_hidden: boolean;
12
11
  is_pinned: boolean;
13
12
  }
14
- export interface CodeEditorToolbarContext {
15
- editor: any;
16
- value: string;
17
- onChange: (value: string) => void;
18
- language: 'json' | 'python';
19
- isEditMode: boolean;
20
- activeTab: 'JSON' | 'Grid';
21
- }
22
13
  export interface CodeEditorProps {
23
14
  value: string;
24
15
  onChange?: (value: string) => void;
@@ -35,9 +26,6 @@ export interface CodeEditorProps {
35
26
  editorTheme?: 'vs' | 'vs-dark';
36
27
  setEditorTheme?: (theme: 'vs' | 'vs-dark') => void;
37
28
  theme?: 'light' | 'dark';
38
- className?: string;
39
- enableAutoFormatting?: boolean;
40
- renderToolbarActions?: (context: CodeEditorToolbarContext) => React.ReactNode;
41
29
  }
42
30
  export interface ThemeContextType {
43
31
  theme: 'light' | 'dark';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lax-wp/design-system",
3
3
  "private": false,
4
- "version": "0.5.27",
4
+ "version": "0.6.1",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- declare const _default: React.NamedExoticComponent<{
3
- height: number;
4
- }>;
5
- export default _default;