@blockbite/ui 2.0.10 → 2.0.12

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 (123) hide show
  1. package/dist/AutocompleteDropdown.d.ts +1 -1
  2. package/dist/Badge.d.ts +1 -1
  3. package/dist/BitePreview.d.ts +1 -1
  4. package/dist/Button.d.ts +1 -1
  5. package/dist/ButtonToggle.d.ts +1 -1
  6. package/dist/Chapter.d.ts +1 -1
  7. package/dist/ChapterDivider.d.ts +3 -2
  8. package/dist/Checkbox.d.ts +1 -1
  9. package/dist/DisappearingMessage.d.ts +1 -1
  10. package/dist/DropdownPicker.d.ts +1 -1
  11. package/dist/EmptyState.d.ts +1 -1
  12. package/dist/FloatingPanel.d.ts +1 -1
  13. package/dist/FocalPointControl.d.ts +1 -1
  14. package/dist/Icon.d.ts +1 -1
  15. package/dist/LinkPicker.d.ts +1 -1
  16. package/dist/MediaPicker.d.ts +1 -1
  17. package/dist/MetricsControl.d.ts +1 -1
  18. package/dist/Modal.d.ts +1 -1
  19. package/dist/NewWindowPortal.d.ts +1 -1
  20. package/dist/Notice.d.ts +1 -1
  21. package/dist/PasswordInput.d.ts +1 -1
  22. package/dist/Popover.d.ts +1 -1
  23. package/dist/ProjectsNavigation.d.ts +14 -0
  24. package/dist/RangeSlider.d.ts +1 -1
  25. package/dist/ResponsiveImage.d.ts +1 -1
  26. package/dist/ResponsiveVideo.d.ts +1 -1
  27. package/dist/ScrollList.d.ts +1 -1
  28. package/dist/SectionList.d.ts +1 -1
  29. package/dist/SelectControlWrapper.d.ts +1 -1
  30. package/dist/SingleBlockTypeAppender.d.ts +1 -1
  31. package/dist/SlideIn.d.ts +1 -1
  32. package/dist/Spinner.d.ts +1 -1
  33. package/dist/Tabs.d.ts +1 -1
  34. package/dist/Tag.d.ts +1 -1
  35. package/dist/TextControl.d.ts +1 -1
  36. package/dist/TextControlLabel.d.ts +1 -1
  37. package/dist/ToggleGroup.d.ts +1 -1
  38. package/dist/ToggleSwitch.d.ts +1 -1
  39. package/dist/Wrap.d.ts +1 -1
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.js +3579 -49
  42. package/dist/index.js.map +1 -1
  43. package/dist/ui.css +1 -66
  44. package/dist/vite.svg +1 -0
  45. package/package.json +14 -11
  46. package/dist/AutocompleteDropdown.js +0 -37
  47. package/dist/AutocompleteDropdown.js.map +0 -1
  48. package/dist/Badge.js +0 -7
  49. package/dist/Badge.js.map +0 -1
  50. package/dist/BitePreview.js +0 -56
  51. package/dist/BitePreview.js.map +0 -1
  52. package/dist/Button.js +0 -13
  53. package/dist/Button.js.map +0 -1
  54. package/dist/ButtonToggle.js +0 -52
  55. package/dist/ButtonToggle.js.map +0 -1
  56. package/dist/Chapter.js +0 -10
  57. package/dist/Chapter.js.map +0 -1
  58. package/dist/ChapterDivider.js +0 -11
  59. package/dist/ChapterDivider.js.map +0 -1
  60. package/dist/Checkbox.js +0 -14
  61. package/dist/Checkbox.js.map +0 -1
  62. package/dist/DisappearingMessage.js +0 -29
  63. package/dist/DisappearingMessage.js.map +0 -1
  64. package/dist/DropdownPicker.js +0 -37
  65. package/dist/DropdownPicker.js.map +0 -1
  66. package/dist/EmptyState.js +0 -24
  67. package/dist/EmptyState.js.map +0 -1
  68. package/dist/FloatingPanel.js +0 -36
  69. package/dist/FloatingPanel.js.map +0 -1
  70. package/dist/FocalPointControl.js +0 -33
  71. package/dist/FocalPointControl.js.map +0 -1
  72. package/dist/Icon.js +0 -11
  73. package/dist/Icon.js.map +0 -1
  74. package/dist/LinkPicker.js +0 -58
  75. package/dist/LinkPicker.js.map +0 -1
  76. package/dist/MediaPicker.js +0 -106
  77. package/dist/MediaPicker.js.map +0 -1
  78. package/dist/MetricsControl.js +0 -97
  79. package/dist/MetricsControl.js.map +0 -1
  80. package/dist/Modal.js +0 -83
  81. package/dist/Modal.js.map +0 -1
  82. package/dist/NewWindowPortal.js +0 -56
  83. package/dist/NewWindowPortal.js.map +0 -1
  84. package/dist/Notice.js +0 -11
  85. package/dist/Notice.js.map +0 -1
  86. package/dist/PasswordInput.js +0 -26
  87. package/dist/PasswordInput.js.map +0 -1
  88. package/dist/Popover.js +0 -29
  89. package/dist/Popover.js.map +0 -1
  90. package/dist/RangeSlider.js +0 -43
  91. package/dist/RangeSlider.js.map +0 -1
  92. package/dist/ResponsiveImage.js +0 -19
  93. package/dist/ResponsiveImage.js.map +0 -1
  94. package/dist/ResponsiveVideo.js +0 -10
  95. package/dist/ResponsiveVideo.js.map +0 -1
  96. package/dist/ScrollList.js +0 -10
  97. package/dist/ScrollList.js.map +0 -1
  98. package/dist/SectionList.js +0 -71
  99. package/dist/SectionList.js.map +0 -1
  100. package/dist/SelectControlWrapper.js +0 -21
  101. package/dist/SelectControlWrapper.js.map +0 -1
  102. package/dist/SingleBlockTypeAppender.js +0 -19
  103. package/dist/SingleBlockTypeAppender.js.map +0 -1
  104. package/dist/SlideIn.js +0 -18
  105. package/dist/SlideIn.js.map +0 -1
  106. package/dist/Spinner.js +0 -18
  107. package/dist/Spinner.js.map +0 -1
  108. package/dist/Tabs.js +0 -56
  109. package/dist/Tabs.js.map +0 -1
  110. package/dist/Tag.js +0 -8
  111. package/dist/Tag.js.map +0 -1
  112. package/dist/TextControl.js +0 -22
  113. package/dist/TextControl.js.map +0 -1
  114. package/dist/TextControlLabel.js +0 -14
  115. package/dist/TextControlLabel.js.map +0 -1
  116. package/dist/ToggleGroup.js +0 -18
  117. package/dist/ToggleGroup.js.map +0 -1
  118. package/dist/ToggleSwitch.js +0 -19
  119. package/dist/ToggleSwitch.js.map +0 -1
  120. package/dist/Wrap.js +0 -10
  121. package/dist/Wrap.js.map +0 -1
  122. package/dist/types.js +0 -2
  123. package/dist/types.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface OptionPanelDropdownProps {
3
3
  defaultValue: string;
4
4
  options: {
package/dist/Badge.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type BadgeProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare const BitePreview: ({ htmlContent, cssContent, frontendAssets }: {
3
3
  htmlContent: any;
4
4
  cssContent: any;
package/dist/Button.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ButtonProps = {
3
3
  children?: React.ReactNode;
4
4
  asChild?: boolean;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ButtonToggleProps = {
3
3
  children?: React.ReactNode;
4
4
  className?: string;
package/dist/Chapter.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ChapterProps = {
3
3
  children?: React.ReactNode;
4
4
  className?: string;
@@ -1,9 +1,10 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ChapterDividerProps = {
3
3
  id?: string;
4
4
  title?: string;
5
5
  className?: string;
6
6
  help?: string;
7
+ badge?: string;
7
8
  };
8
- export declare const ChapterDivider: ({ id, title, className, help, }: ChapterDividerProps) => React.JSX.Element;
9
+ export declare const ChapterDivider: ({ id, title, className, help, badge, }: ChapterDividerProps) => React.JSX.Element;
9
10
  export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type CheckboxProps = {
3
3
  id: string;
4
4
  label?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type DisappearingMessageProps = {
3
3
  duration: number;
4
4
  children: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type DropdownPickerProps = {
3
3
  label?: string;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type Props = {
3
3
  icon?: JSX.Element;
4
4
  title: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type DraggablePanelProps = {
3
3
  children: React.ReactNode;
4
4
  };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type FocalPointControlProps = {
3
3
  defaultValue: string;
4
4
  onValueChange: (value: string) => void;
package/dist/Icon.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type IconProps = {
3
3
  icon: React.FC<React.SVGProps<SVGSVGElement>> | null;
4
4
  className?: string;
@@ -1,2 +1,2 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function LinkPicker(props: any): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function MediaPicker({ mediaProps, mediaCallback }: {
3
3
  mediaProps: any;
4
4
  mediaCallback: any;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type MetricsControlProps = {
3
3
  defaultUnit: string;
4
4
  defaultValue: string;
package/dist/Modal.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ModalContextType = {
3
3
  closeModal: () => void;
4
4
  openModal: () => void;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type Props = {
3
3
  windowInstance: Window;
4
4
  onClose: () => void;
package/dist/Notice.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type NoticeProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type PasswordInputProps = {
3
3
  label: string;
4
4
  value: string;
package/dist/Popover.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type PopoverProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ export type ProjectItem = {
3
+ id: string | number;
4
+ name: string;
5
+ description: string;
6
+ };
7
+ type Props = {
8
+ items: ProjectItem[];
9
+ activeId: string | number;
10
+ onSelect: (id: string | number) => void;
11
+ className?: string;
12
+ };
13
+ export declare const ProjectsNavigation: ({ items, activeId, onSelect, className, }: Props) => React.JSX.Element;
14
+ export {};
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export type RangeControlType = {
3
3
  defaultValue: string;
4
4
  label: string;
@@ -1,2 +1,2 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function ResponsiveImage(props: any): React.JSX.Element;
@@ -1,2 +1,2 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  export declare function ResponsiveVideo(props: any): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ScrollListProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type SectionTypeProps = {
3
3
  id: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type SelectControlWrapperProps = {
3
3
  className?: string;
4
4
  defaultValue: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  interface SingleBlockTypeAppenderProps {
3
3
  buttonText?: string;
4
4
  }
package/dist/SlideIn.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type SlideInProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
package/dist/Spinner.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type SpinnerProps = {
3
3
  label?: string;
4
4
  className?: string;
package/dist/Tabs.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type TabsProps = {
3
3
  className?: string;
4
4
  value?: string;
package/dist/Tag.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type TagProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type TextControlProps = {
3
3
  className?: string;
4
4
  inputClassName?: string;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type TextControlLabelProps = {
3
3
  className?: string;
4
4
  defaultValue: any;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ToggleProps = {
3
3
  className?: string;
4
4
  options: {
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type ToggleSwitchProps = {
3
3
  label?: string;
4
4
  className?: string;
package/dist/Wrap.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  type WrapProps = {
3
3
  children: React.ReactNode;
4
4
  className?: string;
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export { NewWindowPortal } from './NewWindowPortal.js';
27
27
  export { Notice } from './Notice.js';
28
28
  export { PasswordInput } from './PasswordInput.js';
29
29
  export { Popover } from './Popover.js';
30
+ export { ProjectsNavigation } from './ProjectsNavigation.js';
30
31
  export { RangeSlider } from './RangeSlider.js';
31
32
  export { ResponsiveImage } from './ResponsiveImage.js';
32
33
  export { ResponsiveVideo } from './ResponsiveVideo.js';