@jx-health/rich-editor 0.0.2 → 0.0.3
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/index.d.ts +9 -11
- package/dist/index.js +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -303,13 +303,13 @@ interface RichEditorEmits {
|
|
|
303
303
|
}
|
|
304
304
|
//#endregion
|
|
305
305
|
//#region src/components/RichEditor.vue.d.ts
|
|
306
|
-
declare var
|
|
306
|
+
declare var __VLS_43: {
|
|
307
307
|
editor: Editor$2;
|
|
308
308
|
};
|
|
309
309
|
type __VLS_Slots$1 = {} & {
|
|
310
|
-
footer?: (props: typeof
|
|
310
|
+
footer?: (props: typeof __VLS_43) => any;
|
|
311
311
|
};
|
|
312
|
-
declare const
|
|
312
|
+
declare const __VLS_component$1: _$vue.DefineComponent<RichEditorProps, {
|
|
313
313
|
editor: Editor$2;
|
|
314
314
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
315
315
|
enter: () => any;
|
|
@@ -335,8 +335,7 @@ declare const __VLS_base$1: _$vue.DefineComponent<RichEditorProps, {
|
|
|
335
335
|
editorClass: string | string[] | Record<string, any>;
|
|
336
336
|
contentClass: string | string[] | Record<string, any>;
|
|
337
337
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
338
|
-
declare const
|
|
339
|
-
declare const _default$1: typeof __VLS_export$1;
|
|
338
|
+
declare const _default$1: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
340
339
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
341
340
|
new (): {
|
|
342
341
|
$slots: S;
|
|
@@ -359,13 +358,13 @@ interface Props {
|
|
|
359
358
|
editor?: Editor$1;
|
|
360
359
|
class?: HTMLAttributes['class'];
|
|
361
360
|
}
|
|
362
|
-
declare var
|
|
361
|
+
declare var __VLS_30: {}, __VLS_32: {};
|
|
363
362
|
type __VLS_Slots = {} & {
|
|
364
|
-
icon?: (props: typeof
|
|
363
|
+
icon?: (props: typeof __VLS_30) => any;
|
|
365
364
|
} & {
|
|
366
|
-
default?: (props: typeof
|
|
365
|
+
default?: (props: typeof __VLS_32) => any;
|
|
367
366
|
};
|
|
368
|
-
declare const
|
|
367
|
+
declare const __VLS_component: _$vue.DefineComponent<Props, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
369
368
|
disabled: boolean;
|
|
370
369
|
icon: keyof typeof icons;
|
|
371
370
|
title: string;
|
|
@@ -378,8 +377,7 @@ declare const __VLS_base: _$vue.DefineComponent<Props, {}, {}, {}, {}, _$vue.Com
|
|
|
378
377
|
action: (value?: any) => void;
|
|
379
378
|
isActive: () => boolean;
|
|
380
379
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
381
|
-
declare const
|
|
382
|
-
declare const _default: typeof __VLS_export;
|
|
380
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
383
381
|
type __VLS_WithSlots<T, S> = T & {
|
|
384
382
|
new (): {
|
|
385
383
|
$slots: S;
|
package/dist/index.js
CHANGED
|
@@ -3832,7 +3832,7 @@ const _hoisted_5$11 = {
|
|
|
3832
3832
|
function _sfc_render$87(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3833
3833
|
return openBlock(), createBlock($setup["TooltipProvider"], null, {
|
|
3834
3834
|
default: withCtx(() => [createVNode($setup["Tooltip"], { "delay-duration": 0 }, {
|
|
3835
|
-
default: withCtx(() => [createVNode($setup["TooltipTrigger"],
|
|
3835
|
+
default: withCtx(() => [createVNode($setup["TooltipTrigger"], { as: "div" }, {
|
|
3836
3836
|
default: withCtx(() => [createVNode($setup["Toggle"], {
|
|
3837
3837
|
size: "sm",
|
|
3838
3838
|
class: normalizeClass(["h-[32px]", [$props.customClass, $props.title ? "w-auto" : "w-[32px]"]]),
|
package/dist/style.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
.data-\[state\=open\]\:animate-in[data-state=open]{animation:una-in;animation-name:una-in;animation-duration:150ms;--una-enter-opacity:initial;--una-enter-scale:initial;--una-enter-rotate:initial;--una-enter-translate-x:initial;--una-enter-translate-y:initial;}
|
|
4
4
|
.data-\[state\=closed\]\:animate-out[data-state=closed]{animation:una-out;animation-name:una-out;animation-duration:150ms;--una-exit-opacity:initial;--una-exit-scale:initial;--una-exit-rotate:initial;--una-exit-translate-x:initial;--una-exit-translate-y:initial;}
|
|
5
5
|
/* layer: properties */
|
|
6
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-bg-opacity:100%;--un-outline-opacity:100%;--un-outline-style:solid;--un-caret-opacity:100%;--un-ease:initial;--un-leading:initial;--un-border-opacity:100%;--un-text-opacity:100%;--un-border-top-opacity:100%;--un-border-left-opacity:100%;--un-
|
|
6
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-bg-opacity:100%;--un-outline-opacity:100%;--un-outline-style:solid;--un-caret-opacity:100%;--un-ease:initial;--un-leading:initial;--un-border-opacity:100%;--un-text-opacity:100%;--un-border-top-opacity:100%;--un-border-left-opacity:100%;--un-ring-offset-opacity:100%;--un-space-x-reverse:initial;--un-ring-opacity:100%;--un-translate-x:initial;--un-translate-y:initial;--un-translate-z:initial;--un-border-bottom-opacity:100%;}}
|
|
7
7
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
8
8
|
@property --un-leading{syntax:"*";inherits:false;}
|
|
9
9
|
@property --un-outline-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
@property --un-sepia{syntax:"*";inherits:false;}
|
|
41
41
|
@property --un-space-x-reverse{syntax:"*";inherits:false;initial-value:0;}
|
|
42
42
|
/* layer: theme */
|
|
43
|
-
:root, :host { --spacing: 0.25rem; --
|
|
43
|
+
:root, :host { --spacing: 0.25rem; --fontWeight-normal: 400; --font-sans: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; --font-mono: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace; --default-font-family: var(--font-sans); --default-monoFont-family: var(--font-mono); --text-sm-fontSize: 0.875rem; --text-sm-lineHeight: 1.25rem; --colors-black: #000; --colors-white: #fff; --radius-DEFAULT: 0.25rem; --default-transition-timingFunction: cubic-bezier(0.4, 0, 0.2, 1); --default-transition-duration: 150ms; --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); --container-2xl: 42rem; --leading-relaxed: 1.625; --fontWeight-bold: 700; --fontWeight-extrabold: 800; --radius-sm: 0.25rem; --radius-lg: 0.5rem; --radius-none: 0; --colors-gray-50: oklch(98.5% 0.002 247.839); --colors-neutral-100: oklch(97% 0 0); --colors-yellow-300: oklch(90.5% 0.182 98.111); --colors-red-400: oklch(70.4% 0.191 22.216); --colors-blue-500: oklch(62.3% 0.214 259.815); --colors-red-500: oklch(63.7% 0.237 25.331); --colors-neutral-900: oklch(20.5% 0 0); --colors-neutral-700: oklch(37.1% 0 0); --colors-neutral-400: oklch(70.8% 0 0); --colors-red-300: oklch(80.8% 0.114 19.571); --colors-orange-300: oklch(83.7% 0.128 66.29); --colors-lime-300: oklch(89.7% 0.196 126.665); --colors-teal-300: oklch(85.5% 0.138 181.071); --text-3xl-fontSize: 1.875rem; --text-3xl-lineHeight: 2.25rem; --text-2xl-fontSize: 1.5rem; --text-2xl-lineHeight: 2rem; --text-xl-fontSize: 1.25rem; --text-xl-lineHeight: 1.75rem; --text-lg-fontSize: 1.125rem; --text-lg-lineHeight: 1.75rem; --text-base-fontSize: 1rem; --text-base-lineHeight: 1.5rem; --colors-gray-900: oklch(21% 0.034 264.665); --colors-blue-400: oklch(70.7% 0.165 254.624); --colors-neutral-800: oklch(26.9% 0 0); --colors-neutral-300: oklch(87% 0 0); --colors-neutral-200: oklch(92.2% 0 0); --ease-out: cubic-bezier(0, 0, 0.2, 1); --colors-neutral-600: oklch(43.9% 0 0); --text-xs-fontSize: 0.75rem; --text-xs-lineHeight: 1rem; --leading-none: 1; --container-sm: 24rem; --fontWeight-medium: 500; --radius-md: 0.375rem; --colors-gray-200: oklch(92.8% 0.006 264.531); --colors-zinc-500: oklch(55.2% 0.016 285.938); --container-lg: 32rem; --fontWeight-semibold: 600; --tracking-tight: -0.025em; --tracking-widest: 0.1em; --tracking-wider: 0.05em; --colors-neutral-500: oklch(55.6% 0 0); --colors-gray-800: oklch(27.8% 0.033 256.848); --colors-gray-100: oklch(96.7% 0.003 264.542); --ease-in: cubic-bezier(0.4, 0, 1, 1); --colors-zinc-600: oklch(44.2% 0.017 285.786); }
|
|
44
44
|
/* layer: base */
|
|
45
45
|
*, ::after, ::before, ::backdrop, ::file-selector-button { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; } html, :host { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; font-family: var( --default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' ); font-feature-settings: var(--default-font-featureSettings, normal); font-variation-settings: var(--default-font-variationSettings, normal); -webkit-tap-highlight-color: transparent; } hr { height: 0; color: inherit; border-top-width: 1px; } abbr:where([title]) { -webkit-text-decoration: underline dotted; text-decoration: underline dotted; } h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; } a { color: inherit; -webkit-text-decoration: inherit; text-decoration: inherit; } b, strong { font-weight: bolder; } code, kbd, samp, pre { font-family: var( --default-monoFont-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace ); font-feature-settings: var(--default-monoFont-featureSettings, normal); font-variation-settings: var(--default-monoFont-variationSettings, normal); font-size: 1em; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } table { text-indent: 0; border-color: inherit; border-collapse: collapse; } :-moz-focusring { outline: auto; } progress { vertical-align: baseline; } summary { display: list-item; } ol, ul, menu { list-style: none; } img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; } img, video { max-width: 100%; height: auto; } button, input, select, optgroup, textarea, ::file-selector-button { font: inherit; font-feature-settings: inherit; font-variation-settings: inherit; letter-spacing: inherit; color: inherit; border-radius: 0; background-color: transparent; opacity: 1; } :where(select:is([multiple], [size])) optgroup { font-weight: bolder; } :where(select:is([multiple], [size])) optgroup option { padding-inline-start: 20px; } ::file-selector-button { margin-inline-end: 4px; } ::placeholder { opacity: 1; } @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) { ::placeholder { color: color-mix(in oklab, currentcolor 50%, transparent); } } textarea { resize: vertical; } ::-webkit-search-decoration { -webkit-appearance: none; } ::-webkit-date-and-time-value { min-height: 1lh; text-align: inherit; } ::-webkit-datetime-edit { display: inline-flex; } ::-webkit-datetime-edit-fields-wrapper { padding: 0; } ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field { padding-block: 0; } ::-webkit-calendar-picker-indicator { line-height: 1; } :-moz-ui-invalid { box-shadow: none; } button, input:where([type='button'], [type='reset'], [type='submit']), ::file-selector-button { appearance: button; } ::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; } [hidden]:where(:not([hidden~='until-found'])) { display: none !important; }
|
|
46
46
|
/* layer: preflights */
|