art-bd-ui 1.0.37 → 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.
- package/dist/cjs/_virtual/index5.js +2 -8
- package/dist/cjs/_virtual/index6.js +4 -4
- package/dist/cjs/_virtual/index7.js +8 -2
- package/dist/cjs/components/ui/rich-editor/extensions/columns.js +4 -10
- package/dist/cjs/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -1
- package/dist/cjs/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -1
- package/dist/cjs/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -1
- package/dist/cjs/node_modules/color-parse/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/index.js +1 -1
- package/dist/esm/_virtual/index5.js +2 -6
- package/dist/esm/_virtual/index6.js +4 -4
- package/dist/esm/_virtual/index7.js +6 -2
- package/dist/esm/components/ui/rich-editor/extensions/columns.js +4 -10
- package/dist/esm/node_modules/@ckeditor/ckeditor5-mention/dist/index.js +1 -1
- package/dist/esm/node_modules/@ckeditor/ckeditor5-paragraph/dist/index.js +1 -1
- package/dist/esm/node_modules/@ckeditor/ckeditor5-ui/dist/index.js +1 -1
- package/dist/esm/node_modules/color-parse/index.js +1 -1
- package/dist/esm/node_modules/prop-types/index.js +1 -1
- package/dist/types/index.d.ts +10 -10
- package/package.json +1 -1
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
var propTypes = {exports: {}};
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
var index = require('../node_modules/color-name/index.js');
|
|
7
|
-
|
|
8
|
-
var colorNameExports = index.__require();
|
|
9
|
-
var names = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorNameExports);
|
|
10
|
-
|
|
11
|
-
exports.default = names;
|
|
5
|
+
exports.__module = propTypes;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var _commonjsHelpers = require('./_commonjsHelpers.js');
|
|
6
|
-
var index
|
|
6
|
+
var index = require('../node_modules/color-name/index.js');
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var colorNameExports = index.__require();
|
|
9
|
+
var names = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorNameExports);
|
|
10
10
|
|
|
11
|
-
exports.default =
|
|
11
|
+
exports.default = names;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers.js');
|
|
6
|
+
var index$1 = require('../node_modules/color-convert/index.js');
|
|
7
|
+
|
|
8
|
+
var colorConvertExports = index$1.__require();
|
|
9
|
+
var index = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(colorConvertExports);
|
|
10
|
+
|
|
11
|
+
exports.default = index;
|
|
@@ -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
|
-
|
|
243
|
-
},
|
|
235
|
+
// addNodeView() {
|
|
236
|
+
// return ReactNodeViewRenderer(ColumnNodeView);
|
|
237
|
+
// },
|
|
244
238
|
});
|
|
245
239
|
|
|
246
240
|
exports.Column = Column;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
require('../../ckeditor5-core/dist/index.js');
|
|
4
4
|
var index = require('../../ckeditor5-utils/dist/index.js');
|
|
5
|
-
require('../../../../_virtual/index5.js');
|
|
6
5
|
require('../../../../_virtual/index6.js');
|
|
6
|
+
require('../../../../_virtual/index7.js');
|
|
7
7
|
require('../../ckeditor5-engine/dist/index.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('../../ckeditor5-core/dist/index.js');
|
|
4
4
|
var index$1 = require('../../ckeditor5-utils/dist/index.js');
|
|
5
|
-
require('../../../../_virtual/index5.js');
|
|
6
5
|
require('../../../../_virtual/index6.js');
|
|
6
|
+
require('../../../../_virtual/index7.js');
|
|
7
7
|
require('../../ckeditor5-engine/dist/index.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var index$1 = require('../../ckeditor5-utils/dist/index.js');
|
|
4
4
|
var index = require('../../ckeditor5-core/dist/index.js');
|
|
5
5
|
var index$3 = require('../../../color-parse/index.js');
|
|
6
|
-
var index$2 = require('../../../../_virtual/
|
|
6
|
+
var index$2 = require('../../../../_virtual/index7.js');
|
|
7
7
|
var hex = require('../../../vanilla-colorful/lib/entrypoints/hex.js');
|
|
8
8
|
require('../../ckeditor5-engine/dist/index.js');
|
|
9
9
|
var assignIn = require('../../../lodash-es/assignIn.js');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$1 = require('../../_virtual/
|
|
3
|
+
var index$1 = require('../../_virtual/index5.js');
|
|
4
4
|
var index = require('./node_modules/react-is/index.js');
|
|
5
5
|
var factoryWithTypeCheckers = require('./factoryWithTypeCheckers.js');
|
|
6
6
|
var factoryWithThrowingShims = require('./factoryWithThrowingShims.js');
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as requireColorName } from '../node_modules/color-name/index.js';
|
|
1
|
+
var propTypes = {exports: {}};
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
var names = /*@__PURE__*/getDefaultExportFromCjs(colorNameExports);
|
|
6
|
-
|
|
7
|
-
export { names as default };
|
|
3
|
+
export { propTypes as __module };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
-
import { __require as
|
|
2
|
+
import { __require as requireColorName } from '../node_modules/color-name/index.js';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var colorNameExports = requireColorName();
|
|
5
|
+
var names = /*@__PURE__*/getDefaultExportFromCjs(colorNameExports);
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { names as default };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
+
import { __require as requireColorConvert } from '../node_modules/color-convert/index.js';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
var colorConvertExports = requireColorConvert();
|
|
5
|
+
var index = /*@__PURE__*/getDefaultExportFromCjs(colorConvertExports);
|
|
6
|
+
|
|
7
|
+
export { index as default };
|
|
@@ -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
|
-
|
|
241
|
-
},
|
|
233
|
+
// addNodeView() {
|
|
234
|
+
// return ReactNodeViewRenderer(ColumnNodeView);
|
|
235
|
+
// },
|
|
242
236
|
});
|
|
243
237
|
|
|
244
238
|
export { Column, Columns };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../ckeditor5-core/dist/index.js';
|
|
2
2
|
import { keyCodes } from '../../ckeditor5-utils/dist/index.js';
|
|
3
|
-
import '../../../../_virtual/index5.js';
|
|
4
3
|
import '../../../../_virtual/index6.js';
|
|
4
|
+
import '../../../../_virtual/index7.js';
|
|
5
5
|
import '../../ckeditor5-engine/dist/index.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Plugin, Command } from '../../ckeditor5-core/dist/index.js';
|
|
2
2
|
import { first } from '../../ckeditor5-utils/dist/index.js';
|
|
3
|
-
import '../../../../_virtual/index5.js';
|
|
4
3
|
import '../../../../_virtual/index6.js';
|
|
4
|
+
import '../../../../_virtual/index7.js';
|
|
5
5
|
import '../../ckeditor5-engine/dist/index.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEnvKeystrokeText, uid, env, delay, createElement, KeystrokeHandler, FocusTracker, toUnit, global, Rect, DomEmitterMixin, ObservableMixin, Collection, isIterable, CKEditorError, getOptimalPosition, logWarning, isVisible, EmitterMixin, isNode, priorities, isText, ResizeObserver, first, verifyLicense, isRange, toArray } from '../../ckeditor5-utils/dist/index.js';
|
|
2
2
|
import { Plugin, icons, ContextPlugin } from '../../ckeditor5-core/dist/index.js';
|
|
3
3
|
import parse from '../../../color-parse/index.js';
|
|
4
|
-
import * as index from '../../../../_virtual/
|
|
4
|
+
import * as index from '../../../../_virtual/index7.js';
|
|
5
5
|
import { HexBase } from '../../../vanilla-colorful/lib/entrypoints/hex.js';
|
|
6
6
|
import '../../ckeditor5-engine/dist/index.js';
|
|
7
7
|
import assignIn from '../../../lodash-es/assignIn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as propTypes } from '../../_virtual/
|
|
1
|
+
import { __module as propTypes } from '../../_virtual/index5.js';
|
|
2
2
|
import { __require as requireReactIs } from './node_modules/react-is/index.js';
|
|
3
3
|
import { __require as requireFactoryWithTypeCheckers } from './factoryWithTypeCheckers.js';
|
|
4
4
|
import { __require as requireFactoryWithThrowingShims } from './factoryWithThrowingShims.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -182,7 +182,7 @@ type SeparatorProps = ComponentProps<typeof Root>;
|
|
|
182
182
|
declare const Separator: FC<SeparatorProps>;
|
|
183
183
|
|
|
184
184
|
declare const buttonGroupVariants: (props?: ({
|
|
185
|
-
orientation?: "
|
|
185
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
186
186
|
groupGap?: "default" | "none" | null | undefined;
|
|
187
187
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
188
188
|
declare function ButtonGroup({ className, orientation, groupGap, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
@@ -312,7 +312,7 @@ declare function FieldLegend({ className, variant, ...props }: React.ComponentPr
|
|
|
312
312
|
}): react_jsx_runtime.JSX.Element;
|
|
313
313
|
declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
314
314
|
declare const fieldVariants: (props?: ({
|
|
315
|
-
orientation?: "
|
|
315
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
316
316
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
317
317
|
declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): react_jsx_runtime.JSX.Element;
|
|
318
318
|
declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -638,8 +638,8 @@ 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?: 2 | 1 | 3 |
|
|
642
|
-
weight?: "
|
|
641
|
+
size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
|
|
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;
|
|
645
645
|
truncate?: boolean | null | undefined;
|
|
@@ -650,8 +650,8 @@ 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?: 2 | 1 | 3 |
|
|
654
|
-
weight?: "
|
|
653
|
+
size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
|
|
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;
|
|
657
657
|
truncate?: boolean | null | undefined;
|
|
@@ -662,8 +662,8 @@ 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?: 2 | 1 | 3 |
|
|
666
|
-
weight?: "
|
|
665
|
+
size?: 2 | 1 | 3 | 9 | 8 | 7 | 6 | 5 | 4 | null | undefined;
|
|
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;
|
|
669
669
|
truncate?: boolean | null | undefined;
|
|
@@ -736,7 +736,7 @@ type CarouselProps = {
|
|
|
736
736
|
declare const Carousel: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & CarouselProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
737
737
|
declare const CarouselContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
|
|
738
738
|
layout?: "single" | "peek" | "multi" | null | undefined;
|
|
739
|
-
orientation?: "
|
|
739
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
740
740
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & {
|
|
741
741
|
itemsPerView?: number;
|
|
742
742
|
peekAmount?: string;
|
|
@@ -1169,7 +1169,7 @@ declare const ContextMenuShortcut: {
|
|
|
1169
1169
|
};
|
|
1170
1170
|
|
|
1171
1171
|
declare const dataListVariants: (props?: ({
|
|
1172
|
-
orientation?: "
|
|
1172
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1173
1173
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1174
1174
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1175
1175
|
interface DataListProps extends ComponentPropsWithoutRef<"dl">, VariantProps<typeof dataListVariants> {
|