art-bd-ui 1.0.36 → 1.0.38

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.
@@ -2,8 +2,6 @@
2
2
 
3
3
  var index = require('../../../../node_modules/@tiptap/core/dist/index.js');
4
4
  var index$1 = require('../../../../node_modules/prosemirror-state/dist/index.js');
5
- var index$2 = require('../../../../node_modules/@tiptap/react/dist/index.js');
6
- var columnsNodeView = require('../views/columns-node-view.js');
7
5
  var columnsUtils = require('./columns-utils.js');
8
6
 
9
7
  /**
@@ -222,11 +220,7 @@ const Column = index.Node.create({
222
220
  : boxShadow === "xl"
223
221
  ? "shadow-xl"
224
222
  : null;
225
- const classes = [
226
- "column",
227
- padding && padding !== "0" ? `p-${padding}` : null,
228
- boxShadowClass,
229
- ]
223
+ const classes = ["column", padding && padding !== "0" ? `p-${padding}` : null, boxShadowClass]
230
224
  .filter(Boolean)
231
225
  .join(" ");
232
226
  return [
@@ -238,9 +232,9 @@ const Column = index.Node.create({
238
232
  0,
239
233
  ];
240
234
  },
241
- addNodeView() {
242
- return index$2.ReactNodeViewRenderer(columnsNodeView.ColumnNodeView);
243
- },
235
+ // addNodeView() {
236
+ // return ReactNodeViewRenderer(ColumnNodeView);
237
+ // },
244
238
  });
245
239
 
246
240
  exports.Column = Column;
@@ -40,12 +40,6 @@ var code = require('./extensions/code.js');
40
40
  var subscript = require('./extensions/subscript.js');
41
41
  var superscript = require('./extensions/superscript.js');
42
42
  var extension = require('./extensions/carousel/extension.js');
43
- var editor = require('./extensions/carousel/editor.js');
44
- require('react/jsx-runtime');
45
- require('react');
46
- require('../carousel/carousel.js');
47
- require('../../../node_modules/tslib/tslib.es6.js');
48
- require('../../forms/file-upload/file-upload.js');
49
43
  var columns = require('./extensions/columns.js');
50
44
 
51
45
  /**
@@ -163,7 +157,7 @@ const EDITOR_EXTENSIONS = [
163
157
  index$a.TrailingNode,
164
158
  index$5.default,
165
159
  index$4.default,
166
- editor.CarouselEditor,
160
+ // CarouselEditor,
167
161
  tableActionsExtension.TableActionsExtension,
168
162
  tableSelectionOverlay.TableSelectionOverlay,
169
163
  tableHoverExtension.TableHoverExtension,
@@ -1,7 +1,5 @@
1
1
  import { Node as Node3, mergeAttributes } from '../../../../node_modules/@tiptap/core/dist/index.js';
2
2
  import { TextSelection } from '../../../../node_modules/prosemirror-state/dist/index.js';
3
- import { ReactNodeViewRenderer } from '../../../../node_modules/@tiptap/react/dist/index.js';
4
- import { ColumnNodeView } from '../views/columns-node-view.js';
5
3
  import { gotoCol, addOrDeleteCol } from './columns-utils.js';
6
4
 
7
5
  /**
@@ -220,11 +218,7 @@ const Column = Node3.create({
220
218
  : boxShadow === "xl"
221
219
  ? "shadow-xl"
222
220
  : null;
223
- const classes = [
224
- "column",
225
- padding && padding !== "0" ? `p-${padding}` : null,
226
- boxShadowClass,
227
- ]
221
+ const classes = ["column", padding && padding !== "0" ? `p-${padding}` : null, boxShadowClass]
228
222
  .filter(Boolean)
229
223
  .join(" ");
230
224
  return [
@@ -236,9 +230,9 @@ const Column = Node3.create({
236
230
  0,
237
231
  ];
238
232
  },
239
- addNodeView() {
240
- return ReactNodeViewRenderer(ColumnNodeView);
241
- },
233
+ // addNodeView() {
234
+ // return ReactNodeViewRenderer(ColumnNodeView);
235
+ // },
242
236
  });
243
237
 
244
238
  export { Column, Columns };
@@ -38,12 +38,6 @@ import { Code } from './extensions/code.js';
38
38
  import { Subscript } from './extensions/subscript.js';
39
39
  import { Superscript } from './extensions/superscript.js';
40
40
  import { Carousel } from './extensions/carousel/extension.js';
41
- import { CarouselEditor } from './extensions/carousel/editor.js';
42
- import 'react/jsx-runtime';
43
- import 'react';
44
- import '../carousel/carousel.js';
45
- import '../../../node_modules/tslib/tslib.es6.js';
46
- import '../../forms/file-upload/file-upload.js';
47
41
  import { Columns, Column } from './extensions/columns.js';
48
42
 
49
43
  /**
@@ -161,7 +155,7 @@ const EDITOR_EXTENSIONS = [
161
155
  TrailingNode,
162
156
  index_default$5,
163
157
  index_default$4,
164
- CarouselEditor,
158
+ // CarouselEditor,
165
159
  TableActionsExtension,
166
160
  TableSelectionOverlay,
167
161
  TableHoverExtension,
@@ -167,7 +167,7 @@ interface IconProps$1 extends ComponentPropsWithoutRef<typeof DynamicIcon>, Vari
167
167
  declare const Icon: React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
168
168
 
169
169
  declare const buttonVariants: (props?: ({
170
- variant?: "default" | "link" | "outline" | "destructive" | "secondary" | "ghost" | null | undefined;
170
+ variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
171
171
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-md" | "icon-lg" | null | undefined;
172
172
  } & class_variance_authority_types.ClassProp) | undefined) => string;
173
173
  type ButtonProps = ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
@@ -638,7 +638,7 @@ declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<_radix_ui
638
638
  type ToastActionElement = ReactElement<typeof ToastAction>;
639
639
 
640
640
  declare const textVariants: (props?: ({
641
- size?: 3 | 2 | 1 | 4 | 8 | 9 | 7 | 6 | 5 | null | undefined;
641
+ size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
642
642
  weight?: "medium" | "bold" | "light" | "regular" | null | undefined;
643
643
  align?: "center" | "right" | "left" | null | undefined;
644
644
  color?: "default" | "destructive" | "secondary" | "muted" | "primary" | "accent" | null | undefined;
@@ -650,7 +650,7 @@ type TextProps = {
650
650
  declare const Text: React$1.ForwardRefExoticComponent<{
651
651
  asChild?: boolean;
652
652
  } & Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & VariantProps<(props?: ({
653
- size?: 3 | 2 | 1 | 4 | 8 | 9 | 7 | 6 | 5 | null | undefined;
653
+ size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
654
654
  weight?: "medium" | "bold" | "light" | "regular" | null | undefined;
655
655
  align?: "center" | "right" | "left" | null | undefined;
656
656
  color?: "default" | "destructive" | "secondary" | "muted" | "primary" | "accent" | null | undefined;
@@ -662,7 +662,7 @@ declare const Heading: React$1.ForwardRefExoticComponent<{
662
662
  level?: HeadingLevel;
663
663
  asChild?: boolean;
664
664
  } & Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & VariantProps<(props?: ({
665
- size?: 3 | 2 | 1 | 4 | 8 | 9 | 7 | 6 | 5 | null | undefined;
665
+ size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
666
666
  weight?: "medium" | "bold" | "light" | "regular" | null | undefined;
667
667
  align?: "center" | "right" | "left" | null | undefined;
668
668
  color?: "default" | "destructive" | "secondary" | "muted" | "primary" | "accent" | null | undefined;
@@ -682,7 +682,7 @@ declare function AlertTitle({ className, ...props }: React$1.ComponentProps<"div
682
682
  declare function AlertDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
683
683
 
684
684
  declare const badgeVariants: (props?: ({
685
- variant?: "default" | "outline" | "destructive" | "secondary" | null | undefined;
685
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
686
686
  } & class_variance_authority_types.ClassProp) | undefined) => string;
687
687
  type BadgeProps = ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
688
688
  asChild?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "art-bd-ui",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "Set of handy components for React like projects",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",