@bagelink/vue 1.4.44 → 1.4.48
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/components/Carousel2.vue.d.ts +89 -0
- package/dist/components/Carousel2.vue.d.ts.map +1 -0
- package/dist/components/Rating.vue.d.ts +12 -0
- package/dist/components/Rating.vue.d.ts.map +1 -0
- package/dist/components/calendar/views/CalendarPopover.vue.d.ts +2 -2
- package/dist/components/calendar/views/CalendarPopover.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.mjs +8 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Rating.vue +57 -0
- package/src/components/index.ts +1 -0
- package/src/styles/layout.css +16 -0
- package/src/styles/mobilLayout.css +20 -0
- package/dist/chunk-CsX-DzYB.cjs +0 -1
- package/dist/components/Icon.vue.d.ts +0 -16
- package/dist/components/Icon.vue.d.ts.map +0 -1
- package/dist/components/form/BglFieldSet.vue.d.ts +0 -25
- package/dist/components/form/BglFieldSet.vue.d.ts.map +0 -1
- package/dist/editor-BpbYtUrx.js +0 -2
- package/dist/editor-CogxCqoB.cjs +0 -3
- package/dist/editor-CtWHU9QA.js +0 -1
- package/dist/editor-DDp0A6Ty.cjs +0 -1
- package/dist/editor-DQOZvXuf.cjs +0 -1
- package/dist/editor-Dk9B96i8.cjs +0 -2
- package/dist/editor-Dpod7RSB.js +0 -1
- package/dist/editor-UnqmwfaW.js +0 -2
- package/dist/editor-fhxKzja8.cjs +0 -2
- package/dist/editor-mLVzxfYa.js +0 -2
- package/dist/editor-smCr3pmQ.cjs +0 -1
- package/dist/iconify-0J3vK-m1.cjs +0 -1693
- package/dist/iconify-Bc1B42Ak.cjs +0 -1771
- package/dist/iconify-BiLGk5km.js +0 -1693
- package/dist/iconify-DVnNdzog.js +0 -1771
- package/dist/types/timeago.d.ts +0 -23
- package/dist/types/timeago.d.ts.map +0 -1
- package/dist/vue3-charts.esm-CkXK48ud.js +0 -54
- package/dist/vue3-charts.esm-uVj96p6_.cjs +0 -54
package/package.json
CHANGED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
import type { IconType } from '@bagelink/vue'
|
|
3
|
+
import { Icon } from '@bagelink/vue'
|
|
4
|
+
|
|
5
|
+
const { rating, totalStars = 5, iconType = 'star', fillColor = '#fabf05', emptyColor = 'lightgray', size = 1.4 } = defineProps<{
|
|
6
|
+
rating: number | string
|
|
7
|
+
totalStars?: number
|
|
8
|
+
iconType?: IconType
|
|
9
|
+
fillColor?: string
|
|
10
|
+
emptyColor?: string
|
|
11
|
+
size?: number
|
|
12
|
+
}>()
|
|
13
|
+
|
|
14
|
+
function getFillWidth(n: number): string {
|
|
15
|
+
const ratingNumber = typeof rating === 'string' ? Number.parseFloat(rating.replace(',', '.')) : rating
|
|
16
|
+
if (n <= Math.floor(ratingNumber)) {
|
|
17
|
+
return '100%'
|
|
18
|
+
} else if (n > Math.ceil(ratingNumber)) {
|
|
19
|
+
return '0%'
|
|
20
|
+
} else {
|
|
21
|
+
return `${(ratingNumber % 1) * 100}%`
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<div class="rating">
|
|
28
|
+
<Icon
|
|
29
|
+
v-for="n in totalStars" :key="n" fill :name="iconType" class="star-icon p-0" :size="size" :style="{
|
|
30
|
+
'gap': `${size * 0.3}rem`,
|
|
31
|
+
'--gradient-width': getFillWidth(n),
|
|
32
|
+
'--fill-color': fillColor,
|
|
33
|
+
'--empty-color': emptyColor,
|
|
34
|
+
}"
|
|
35
|
+
/>
|
|
36
|
+
</div>
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<style scoped>
|
|
40
|
+
.rating {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.star-icon {
|
|
46
|
+
--gradient-width: 0%;
|
|
47
|
+
--fill-color: #fabf05;
|
|
48
|
+
--empty-color: lightgray;
|
|
49
|
+
position: relative;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
background: linear-gradient(to right, var(--fill-color) var(--gradient-width), var(--empty-color) 0%);
|
|
52
|
+
-webkit-background-clip: text;
|
|
53
|
+
background-clip: text;
|
|
54
|
+
color: transparent;
|
|
55
|
+
fill: transparent;
|
|
56
|
+
}
|
|
57
|
+
</style>
|
package/src/components/index.ts
CHANGED
|
@@ -35,6 +35,7 @@ export { default as NavBar } from './NavBar.vue'
|
|
|
35
35
|
export { default as PageTitle } from './PageTitle.vue'
|
|
36
36
|
export { default as Pagination } from './Pagination.vue'
|
|
37
37
|
export { default as Pill } from './Pill.vue'
|
|
38
|
+
export { default as Rating } from './Rating.vue'
|
|
38
39
|
export { default as RouterWrapper } from './RouterWrapper.vue'
|
|
39
40
|
export { default as Slider } from './Slider.vue'
|
|
40
41
|
export { default as Spreadsheet } from './Spreadsheet/Index.vue'
|
package/src/styles/layout.css
CHANGED
|
@@ -238,6 +238,10 @@
|
|
|
238
238
|
inset-inline-start: 0;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
+
.start-auto {
|
|
242
|
+
inset-inline-start: auto;
|
|
243
|
+
}
|
|
244
|
+
|
|
241
245
|
.start-025 {
|
|
242
246
|
inset-inline-start: 0.25rem;
|
|
243
247
|
}
|
|
@@ -420,6 +424,10 @@
|
|
|
420
424
|
inset-inline-end: 0;
|
|
421
425
|
}
|
|
422
426
|
|
|
427
|
+
.end-auto {
|
|
428
|
+
inset-inline-end: auto;
|
|
429
|
+
}
|
|
430
|
+
|
|
423
431
|
.end-025 {
|
|
424
432
|
inset-inline-end: 0.25rem;
|
|
425
433
|
}
|
|
@@ -601,6 +609,10 @@
|
|
|
601
609
|
top: 0;
|
|
602
610
|
}
|
|
603
611
|
|
|
612
|
+
.top-auto {
|
|
613
|
+
top: auto;
|
|
614
|
+
}
|
|
615
|
+
|
|
604
616
|
.top-025 {
|
|
605
617
|
top: 0.25rem;
|
|
606
618
|
}
|
|
@@ -786,6 +798,10 @@
|
|
|
786
798
|
bottom: 0;
|
|
787
799
|
}
|
|
788
800
|
|
|
801
|
+
.bottom-auto {
|
|
802
|
+
bottom: auto;
|
|
803
|
+
}
|
|
804
|
+
|
|
789
805
|
.bottom-025 {
|
|
790
806
|
bottom: 0.25rem;
|
|
791
807
|
}
|
|
@@ -5840,6 +5840,10 @@
|
|
|
5840
5840
|
inset-inline-start: 0 !important;
|
|
5841
5841
|
}
|
|
5842
5842
|
|
|
5843
|
+
.m_start-auto {
|
|
5844
|
+
inset-inline-start: auto !important;
|
|
5845
|
+
}
|
|
5846
|
+
|
|
5843
5847
|
.m_start-025 {
|
|
5844
5848
|
inset-inline-start: 0.25rem !important;
|
|
5845
5849
|
}
|
|
@@ -6022,6 +6026,10 @@
|
|
|
6022
6026
|
inset-inline-end: 0 !important;
|
|
6023
6027
|
}
|
|
6024
6028
|
|
|
6029
|
+
.m_end-auto {
|
|
6030
|
+
inset-inline-end: auto !important;
|
|
6031
|
+
}
|
|
6032
|
+
|
|
6025
6033
|
.m_end-025 {
|
|
6026
6034
|
inset-inline-end: 0.25rem !important;
|
|
6027
6035
|
}
|
|
@@ -6203,6 +6211,10 @@
|
|
|
6203
6211
|
top: 0 !important;
|
|
6204
6212
|
}
|
|
6205
6213
|
|
|
6214
|
+
.m_top-auto {
|
|
6215
|
+
top: auto !important;
|
|
6216
|
+
}
|
|
6217
|
+
|
|
6206
6218
|
.m_top-025 {
|
|
6207
6219
|
top: 0.25rem !important;
|
|
6208
6220
|
}
|
|
@@ -6388,6 +6400,10 @@
|
|
|
6388
6400
|
bottom: 0 !important;
|
|
6389
6401
|
}
|
|
6390
6402
|
|
|
6403
|
+
.m_bottom-auto {
|
|
6404
|
+
bottom: auto !important;
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6391
6407
|
.m_bottom-025 {
|
|
6392
6408
|
bottom: 0.25rem !important;
|
|
6393
6409
|
}
|
|
@@ -6569,6 +6585,10 @@
|
|
|
6569
6585
|
inset: 0 !important;
|
|
6570
6586
|
}
|
|
6571
6587
|
|
|
6588
|
+
.m_inset-auto {
|
|
6589
|
+
inset: auto !important;
|
|
6590
|
+
}
|
|
6591
|
+
|
|
6572
6592
|
.m_inset-025 {
|
|
6573
6593
|
inset: 0.25rem !important;
|
|
6574
6594
|
}
|
package/dist/chunk-CsX-DzYB.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},s=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},c=(n,r,a)=>(a=n==null?{}:e(i(n)),s(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));Object.defineProperty(exports,`__export`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`__toESM`,{enumerable:!0,get:function(){return c}});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconType } from '..';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
icon?: IconType;
|
|
4
|
-
name?: IconType;
|
|
5
|
-
size?: number | string;
|
|
6
|
-
color?: string;
|
|
7
|
-
round?: boolean;
|
|
8
|
-
weight?: number | string;
|
|
9
|
-
fontAwesome?: boolean;
|
|
10
|
-
fill?: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
-
size: number | string;
|
|
14
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
-
export default _default;
|
|
16
|
-
//# sourceMappingURL=Icon.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../src/components/Icon.vue"],"names":[],"mappings":"AAoIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAK7C,KAAK,WAAW,GAAG;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;CACd,CAAC;;UANM,MAAM,GAAG,MAAM;;AAgIvB,wBAOG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
declare function __VLS_template(): {
|
|
2
|
-
attrs: Partial<{}>;
|
|
3
|
-
slots: {
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
refs: {
|
|
7
|
-
fieldSet: HTMLFieldSetElement;
|
|
8
|
-
};
|
|
9
|
-
rootEl: HTMLFieldSetElement;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
13
|
-
validateForm: () => boolean | undefined;
|
|
14
|
-
isDirty: import('@vue-macros/reactivity-transform/macros.js').ReactiveVariable<false> | import('@vue-macros/reactivity-transform/macros.js').ReactiveVariable<true>;
|
|
15
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
16
|
-
fieldSet: HTMLFieldSetElement;
|
|
17
|
-
}, HTMLFieldSetElement>;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
-
export default _default;
|
|
20
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
-
new (): {
|
|
22
|
-
$slots: S;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=BglFieldSet.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BglFieldSet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BglFieldSet.vue"],"names":[],"mappings":"AAsBA,iBAAS,cAAc;WA0BT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;uBAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/dist/editor-BpbYtUrx.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var editor_default = "body {\n margin: 0;\n padding: 8px;\n min-height: 200px;\n font-family: sans-serif;\n line-height: 1.5;\n color: inherit;\n background: transparent;\n max-width: 1060px;\n margin: 0 auto;\n}\n\ntable {\n border-collapse: collapse;\n margin-bottom: 1rem;\n}\n\nth,\ntd {\n padding: 1rem;\n text-align: left;\n border: 1px solid #2a2a2a;\n line-height: 1.5;\n}\n\nth {\n background-color: #f4f4f4;\n}\n\n/* Add styles for embedded content */\niframe {\n max-width: 100%;\n border: none;\n display: block;\n margin: 1em auto;\n}\n\n/* Responsive iframe wrapper */\ndiv:has(> iframe) {\n position: relative;\n width: 100%;\n margin: 1em 0;\n text-align: center;\n}\n\n/* Ensure iframes don't overflow their containers */\ndiv:has(> iframe) iframe {\n max-width: 100%;\n margin: 0;\n}\n\n/* Add a subtle border to distinguish embedded content */\niframe:not([class*='editableContent']) {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n background: white;\n}\n";
|
|
2
|
-
export { editor_default as default };
|
package/dist/editor-CogxCqoB.cjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var editor_default = "body {\n margin: 0;\n padding: 8px;\n min-height: 200px;\n font-family: sans-serif;\n line-height: 1.5;\n color: inherit;\n background: transparent;\n max-width: 1060px;\n margin: 0 auto;\n}\n\ntable {\n border-collapse: collapse;\n margin-bottom: 1rem;\n}\n\nth,\ntd {\n padding: 1rem;\n text-align: left;\n border: 1px solid #2a2a2a;\n line-height: 1.5;\n}\n\nth {\n background-color: #f4f4f4;\n}\n\n/* Add styles for embedded content */\niframe {\n max-width: 100%;\n border: none;\n display: block;\n margin: 1em auto;\n}\n\n/* Responsive iframe wrapper */\ndiv:has(> iframe) {\n position: relative;\n width: 100%;\n margin: 1em 0;\n text-align: center;\n}\n\n/* Ensure iframes don't overflow their containers */\ndiv:has(> iframe) iframe {\n max-width: 100%;\n margin: 0;\n}\n\n/* Add a subtle border to distinguish embedded content */\niframe:not([class*='editableContent']) {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n background: white;\n}\n";
|
|
3
|
-
exports.default = editor_default;
|
package/dist/editor-CtWHU9QA.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`body{min-height:200px;color:inherit;background:0 0;max-width:1060px;margin:0 auto;padding:8px;font-family:sans-serif;line-height:1.5}table{border-collapse:collapse;margin-bottom:1rem}th,td{text-align:left;border:1px solid #2a2a2a;padding:1rem;line-height:1.5}th{background-color:#f4f4f4}iframe{border:none;max-width:100%;margin:1em auto;display:block}div:has(>iframe){text-align:center;width:100%;margin:1em 0;position:relative}div:has(>iframe) iframe{max-width:100%;margin:0}iframe:not([class*=editableContent]){border:1px solid var(--border-color);background:#fff;border-radius:4px}`;export{e as default};
|
package/dist/editor-DDp0A6Ty.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`body{min-height:200px;color:inherit;background:0 0;max-width:1060px;margin:0 auto;padding:8px;font-family:sans-serif;line-height:1.5}table{border-collapse:collapse;margin-bottom:1rem}th,td{text-align:left;border:1px solid #2a2a2a;padding:1rem;line-height:1.5}th{background-color:#f4f4f4}iframe{border:none;max-width:100%;margin:1em auto;display:block}div:has(>iframe){text-align:center;width:100%;margin:1em 0;position:relative}div:has(>iframe) iframe{max-width:100%;margin:0}iframe:not([class*=editableContent]){border:1px solid var(--border-color);background:#fff;border-radius:4px}`;exports.default=e;
|
package/dist/editor-DQOZvXuf.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`body{min-height:200px;color:inherit;background:0 0;max-width:1060px;margin:0 auto;padding:8px;font-family:sans-serif;line-height:1.5}table{border-collapse:collapse;margin-bottom:1rem}th,td{text-align:left;border:1px solid #2a2a2a;padding:1rem;line-height:1.5}th{background-color:#f4f4f4}iframe{border:none;max-width:100%;margin:1em auto;display:block}div:has(>iframe){text-align:center;width:100%;margin:1em 0;position:relative}div:has(>iframe) iframe{max-width:100%;margin:0}iframe:not([class*=editableContent]){border:1px solid var(--border-color);background:#fff;border-radius:4px}`;exports.default=e;
|
package/dist/editor-Dk9B96i8.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var editor_default = "body {\n margin: 0;\n padding: 8px;\n min-height: 200px;\n font-family: sans-serif;\n line-height: 1.5;\n color: inherit;\n background: transparent;\n max-width: 1060px;\n margin: 0 auto;\n}\n\ntable {\n border-collapse: collapse;\n margin-bottom: 1rem;\n}\n\nth,\ntd {\n padding: 1rem;\n text-align: left;\n border: 1px solid #2a2a2a;\n line-height: 1.5;\n}\n\nth {\n background-color: #f4f4f4;\n}\n\n/* Add styles for embedded content */\niframe {\n max-width: 100%;\n border: none;\n display: block;\n margin: 1em auto;\n}\n\n/* Responsive iframe wrapper */\ndiv:has(> iframe) {\n position: relative;\n width: 100%;\n margin: 1em 0;\n text-align: center;\n}\n\n/* Ensure iframes don't overflow their containers */\ndiv:has(> iframe) iframe {\n max-width: 100%;\n margin: 0;\n}\n\n/* Add a subtle border to distinguish embedded content */\niframe:not([class*='editableContent']) {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n background: white;\n}\n";
|
|
2
|
-
exports.default = editor_default;
|
package/dist/editor-Dpod7RSB.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`body{min-height:200px;color:inherit;background:0 0;max-width:1060px;margin:0 auto;padding:8px;font-family:sans-serif;line-height:1.5}table{border-collapse:collapse;margin-bottom:1rem}th,td{text-align:left;border:1px solid #2a2a2a;padding:1rem;line-height:1.5}th{background-color:#f4f4f4}iframe{border:none;max-width:100%;margin:1em auto;display:block}div:has(>iframe){text-align:center;width:100%;margin:1em 0;position:relative}div:has(>iframe) iframe{max-width:100%;margin:0}iframe:not([class*=editableContent]){border:1px solid var(--border-color);background:#fff;border-radius:4px}`;export{e as default};
|
package/dist/editor-UnqmwfaW.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var editor_default = "body {\n margin: 0;\n padding: 8px;\n min-height: 200px;\n font-family: sans-serif;\n line-height: 1.5;\n color: inherit;\n background: transparent;\n max-width: 1060px;\n margin: 0 auto;\n}\n\ntable {\n border-collapse: collapse;\n margin-bottom: 1rem;\n}\n\nth,\ntd {\n padding: 1rem;\n text-align: left;\n border: 1px solid #2a2a2a;\n line-height: 1.5;\n}\n\nth {\n background-color: #f4f4f4;\n}\n\n/* Add styles for embedded content */\niframe {\n max-width: 100%;\n border: none;\n display: block;\n margin: 1em auto;\n}\n\n/* Responsive iframe wrapper */\ndiv:has(> iframe) {\n position: relative;\n width: 100%;\n margin: 1em 0;\n text-align: center;\n}\n\n/* Ensure iframes don't overflow their containers */\ndiv:has(> iframe) iframe {\n max-width: 100%;\n margin: 0;\n}\n\n/* Add a subtle border to distinguish embedded content */\niframe:not([class*='editableContent']) {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n background: white;\n}\n";
|
|
2
|
-
export { editor_default as default };
|
package/dist/editor-fhxKzja8.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var editor_default = "body {\n margin: 0;\n padding: 8px;\n min-height: 200px;\n font-family: sans-serif;\n line-height: 1.5;\n color: inherit;\n background: transparent;\n max-width: 1060px;\n margin: 0 auto;\n}\n\ntable {\n border-collapse: collapse;\n margin-bottom: 1rem;\n}\n\nth,\ntd {\n padding: 1rem;\n text-align: left;\n border: 1px solid #2a2a2a;\n line-height: 1.5;\n}\n\nth {\n background-color: #f4f4f4;\n}\n\n/* Add styles for embedded content */\niframe {\n max-width: 100%;\n border: none;\n display: block;\n margin: 1em auto;\n}\n\n/* Responsive iframe wrapper */\ndiv:has(> iframe) {\n position: relative;\n width: 100%;\n margin: 1em 0;\n text-align: center;\n}\n\n/* Ensure iframes don't overflow their containers */\ndiv:has(> iframe) iframe {\n max-width: 100%;\n margin: 0;\n}\n\n/* Add a subtle border to distinguish embedded content */\niframe:not([class*='editableContent']) {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n background: white;\n}\n";
|
|
2
|
-
exports.default = editor_default;
|
package/dist/editor-mLVzxfYa.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var editor_default = "body {\n margin: 0;\n padding: 8px;\n min-height: 200px;\n font-family: sans-serif;\n line-height: 1.5;\n color: inherit;\n background: transparent;\n max-width: 1060px;\n margin: 0 auto;\n}\n\ntable {\n border-collapse: collapse;\n margin-bottom: 1rem;\n}\n\nth,\ntd {\n padding: 1rem;\n text-align: left;\n border: 1px solid #2a2a2a;\n line-height: 1.5;\n}\n\nth {\n background-color: #f4f4f4;\n}\n\n/* Add styles for embedded content */\niframe {\n max-width: 100%;\n border: none;\n display: block;\n margin: 1em auto;\n}\n\n/* Responsive iframe wrapper */\ndiv:has(> iframe) {\n position: relative;\n width: 100%;\n margin: 1em 0;\n text-align: center;\n}\n\n/* Ensure iframes don't overflow their containers */\ndiv:has(> iframe) iframe {\n max-width: 100%;\n margin: 0;\n}\n\n/* Add a subtle border to distinguish embedded content */\niframe:not([class*='editableContent']) {\n border: 1px solid var(--border-color);\n border-radius: 4px;\n background: white;\n}\n";
|
|
2
|
-
export { editor_default as default };
|
package/dist/editor-smCr3pmQ.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
exports.default="body{min-height:200px;color:inherit;background:0 0;max-width:1060px;margin:0 auto;padding:8px;font-family:sans-serif;line-height:1.5}table{border-collapse:collapse;margin-bottom:1rem}th,td{text-align:left;border:1px solid #2a2a2a;padding:1rem;line-height:1.5}th{background-color:#f4f4f4}iframe{border:none;max-width:100%;margin:1em auto;display:block}div:has(>iframe){text-align:center;width:100%;margin:1em 0;position:relative}div:has(>iframe) iframe{max-width:100%;margin:0}iframe:not([class*=editableContent]){border:1px solid var(--border-color);background:#fff;border-radius:4px}";
|