@sit-onyx/tiptap 0.2.0-dev-20260409085107 → 0.2.0-dev-20260409091158
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/style.css +1 -1
- package/package.json +5 -5
package/dist/style.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@layer onyx.component{.onyx-editor-toolbar-action{display:flex}.onyx-editor-toolbar-action .onyx-system-button:disabled{pointer-events:none}.onyx-editor-toolbar-group{display:contents}.onyx-editor-toolbar-group:after{content:"";background-color:var(--onyx-color-component-border-neutral);height:1lh;width:var(--onyx-1px-in-rem)}.onyx-editor-toolbar-group:empty,.onyx-editor-toolbar-group:last-of-type:after{display:none}.onyx-editor-toolbar-group:has(+.onyx-editor-toolbar-group:empty):after{display:none}.onyx-editor-link-action__content{padding:var(--onyx-density-md) var(--onyx-dialog-padding-inline);gap:var(--onyx-density-md);flex-direction:column;display:flex}.onyx-editor-link-action .onyx-basic-popover__dialog{width:16rem}.onyx-editor-link-action .onyx-dialog__headline-content{justify-content:flex-start}.onyx-text-editor__toolbar{border:var(--onyx-form-element-v2-border-size) solid var(--onyx-form-element-v2-border-color);border-radius:inherit;color:var(--onyx-color-text-icons-neutral-medium);background-color:var(--onyx-color-base-background-tinted);border-top-left-radius:var(--onyx-text-editor-input-border-radius-bottom);border-top-right-radius:var(--onyx-text-editor-input-border-radius-bottom);border-bottom-left-radius:var(--onyx-text-editor-input-border-radius-top);border-bottom-right-radius:var(--onyx-text-editor-input-border-radius-top);justify-content:space-between;align-items:center;width:100%;max-width:100%;display:flex}.onyx-text-editor:not(.onyx-text-editor--toolbar-bottom) .onyx-text-editor__toolbar{border-bottom:none}.onyx-text-editor--toolbar-bottom .onyx-text-editor__toolbar{border-top:none}.onyx-text-editor__actions{align-items:center;gap:var(--onyx-density-xs);padding:var(--onyx-form-element-v2-padding-block) var(--onyx-form-element-v2-padding-inline);display:flex;overflow:auto}.onyx-text-editor__actions--fixed{overflow:visible}.onyx-text-editor{--onyx-text-editor-autosize-min-rows:3;--onyx-text-editor-autosize-max-rows:10;--onyx-text-editor-min-height:calc(var(--onyx-text-editor-autosize-min-rows) * 1lh + 2 * var(--onyx-form-element-v2-padding-block));--onyx-text-editor-max-height:calc(var(--onyx-text-editor-autosize-max-rows) * 1lh + 2 * var(--onyx-form-element-v2-padding-block));--onyx-form-element-v2-content-height:calc(1lh * var(--onyx-text-editor-autosize-min-rows))}.onyx-text-editor:has(.onyx-text-editor__input[style*=height]){--onyx-text-editor-max-height:unset}.onyx-text-editor:has(.onyx-text-editor__input[style*=height]) .onyx-text-editor__wrapper:after{height:0}.onyx-text-editor{--onyx-text-editor-flex-direction:column-reverse;--onyx-text-editor-input-border-radius-top:0;--onyx-text-editor-input-border-radius-bottom:var(--onyx-form-element-v2-border-radius);max-width:100%}.onyx-text-editor--toolbar-bottom{--onyx-text-editor-flex-direction:column;--onyx-text-editor-input-border-radius-top:var(--onyx-form-element-v2-border-radius);--onyx-text-editor-input-border-radius-bottom:0}.onyx-text-editor__wrapper{width:100%;height:100%;padding:0;display:grid}.onyx-text-editor__wrapper:after{content:attr(data-autosize-value) " ";white-space:pre-wrap;visibility:hidden;overflow-wrap:anywhere;overflow-y:hidden}.onyx-text-editor>.onyx-form-element-v2__body>.onyx-form-element-v2__content{height:unset;flex-direction:var(--onyx-text-editor-flex-direction)}.onyx-text-editor>.onyx-form-element-v2__body>.onyx-form-element-v2__content>.onyx-form-element-v2__input-container{border-top-left-radius:var(--onyx-text-editor-input-border-radius-top);border-top-right-radius:var(--onyx-text-editor-input-border-radius-top);border-bottom-left-radius:var(--onyx-text-editor-input-border-radius-bottom);border-bottom-right-radius:var(--onyx-text-editor-input-border-radius-bottom);align-items:flex-start;width:100%}.onyx-text-editor>.onyx-form-element-v2__body>.onyx-form-element-v2__content>.onyx-form-element-v2__input-container:focus-within{z-index:0}.onyx-text-editor__wrapper:after,.onyx-text-editor__input{height:100%;min-height:var(--onyx-text-editor-min-height);max-height:var(--onyx-text-editor-max-height);padding:var(--onyx-form-element-v2-padding-block) var(--onyx-form-element-v2-padding-inline);word-break:break-word;grid-area:1/1}.onyx-text-editor__input blockquote{border-left:var(--onyx-spacing-5xs) solid var(--onyx-color-component-border-neutral);padding-left:var(--onyx-density-xs);color:var(--onyx-color-text-icons-neutral-medium)}.onyx-text-editor__input p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:var(--onyx-color-text-icons-neutral-soft);font-weight:var(--onyx-font-weight-regular)}.onyx-text-editor__input{resize:vertical;overflow-y:auto;overflow-x:unset;white-space:pre-line}.onyx-text-editor__input--no-resize{resize:none}}@layer onyx.override{.onyx-editor-toolbar-action .onyx-system-button.active{--color:var(--onyx-color-text-icons-primary-intense);--hover-background-color:var(--onyx-color-base-primary-200);--focus-active-background-color:var(--onyx-color-base-primary-200)}.onyx-editor-toolbar-flyout__chevron{--icon-size:.75rem}.onyx-editor-toolbar-flyout__icon{color:var(--onyx-color-text-icons-neutral-medium)}}
|
|
1
|
+
@layer onyx.component{.onyx-editor-toolbar-action{display:flex}.onyx-editor-toolbar-action .onyx-system-button:disabled{pointer-events:none}.onyx-editor-toolbar-group{display:contents}.onyx-editor-toolbar-group:after{content:"";background-color:var(--onyx-color-component-border-neutral);height:1lh;width:var(--onyx-1px-in-rem);flex-shrink:0}.onyx-editor-toolbar-group:empty,.onyx-editor-toolbar-group:last-of-type:after{display:none}.onyx-editor-toolbar-group:has(+.onyx-editor-toolbar-group:empty):after{display:none}.onyx-editor-link-action__content{padding:var(--onyx-density-md) var(--onyx-dialog-padding-inline);gap:var(--onyx-density-md);flex-direction:column;display:flex}.onyx-editor-link-action .onyx-basic-popover__dialog{width:16rem}.onyx-editor-link-action .onyx-dialog__headline-content{justify-content:flex-start}.onyx-text-editor__toolbar{border:var(--onyx-form-element-v2-border-size) solid var(--onyx-form-element-v2-border-color);border-radius:inherit;color:var(--onyx-color-text-icons-neutral-medium);background-color:var(--onyx-color-base-background-tinted);border-top-left-radius:var(--onyx-text-editor-input-border-radius-bottom);border-top-right-radius:var(--onyx-text-editor-input-border-radius-bottom);border-bottom-left-radius:var(--onyx-text-editor-input-border-radius-top);border-bottom-right-radius:var(--onyx-text-editor-input-border-radius-top);justify-content:space-between;align-items:center;width:100%;max-width:100%;display:flex}.onyx-text-editor:not(.onyx-text-editor--toolbar-bottom) .onyx-text-editor__toolbar{border-bottom:none}.onyx-text-editor--toolbar-bottom .onyx-text-editor__toolbar{border-top:none}.onyx-text-editor__actions{align-items:center;gap:var(--onyx-density-xs);padding:var(--onyx-form-element-v2-padding-block) var(--onyx-form-element-v2-padding-inline);display:flex;overflow:auto}.onyx-text-editor__actions--fixed{overflow:visible}.onyx-text-editor{--onyx-text-editor-autosize-min-rows:3;--onyx-text-editor-autosize-max-rows:10;--onyx-text-editor-min-height:calc(var(--onyx-text-editor-autosize-min-rows) * 1lh + 2 * var(--onyx-form-element-v2-padding-block));--onyx-text-editor-max-height:calc(var(--onyx-text-editor-autosize-max-rows) * 1lh + 2 * var(--onyx-form-element-v2-padding-block));--onyx-form-element-v2-content-height:calc(1lh * var(--onyx-text-editor-autosize-min-rows))}.onyx-text-editor:has(.onyx-text-editor__input[style*=height]){--onyx-text-editor-max-height:unset}.onyx-text-editor:has(.onyx-text-editor__input[style*=height]) .onyx-text-editor__wrapper:after{height:0}.onyx-text-editor{--onyx-text-editor-flex-direction:column-reverse;--onyx-text-editor-input-border-radius-top:0;--onyx-text-editor-input-border-radius-bottom:var(--onyx-form-element-v2-border-radius);--onyx-form-element-v2-border-color-focus:var(--onyx-form-element-v2-border-color);--onyx-form-element-v2-outline-color:transparent;max-width:100%}.onyx-text-editor--toolbar-bottom{--onyx-text-editor-flex-direction:column;--onyx-text-editor-input-border-radius-top:var(--onyx-form-element-v2-border-radius);--onyx-text-editor-input-border-radius-bottom:0}.onyx-text-editor__wrapper{width:100%;height:100%;padding:0;display:grid}.onyx-text-editor__wrapper:after{content:attr(data-autosize-value) " ";white-space:pre-wrap;visibility:hidden;overflow-wrap:anywhere;overflow-y:hidden}.onyx-text-editor>.onyx-form-element-v2__body>.onyx-form-element-v2__content{height:unset;flex-direction:var(--onyx-text-editor-flex-direction)}.onyx-text-editor>.onyx-form-element-v2__body>.onyx-form-element-v2__content>.onyx-form-element-v2__input-container{border-top-left-radius:var(--onyx-text-editor-input-border-radius-top);border-top-right-radius:var(--onyx-text-editor-input-border-radius-top);border-bottom-left-radius:var(--onyx-text-editor-input-border-radius-bottom);border-bottom-right-radius:var(--onyx-text-editor-input-border-radius-bottom);align-items:flex-start;width:100%}.onyx-text-editor>.onyx-form-element-v2__body>.onyx-form-element-v2__content>.onyx-form-element-v2__input-container:focus-within{z-index:0}.onyx-text-editor__wrapper:after,.onyx-text-editor__input{height:100%;min-height:var(--onyx-text-editor-min-height);max-height:var(--onyx-text-editor-max-height);padding:var(--onyx-form-element-v2-padding-block) var(--onyx-form-element-v2-padding-inline);word-break:break-word;grid-area:1/1}.onyx-text-editor__input blockquote{border-left:var(--onyx-spacing-5xs) solid var(--onyx-color-component-border-neutral);padding-left:var(--onyx-density-xs);color:var(--onyx-color-text-icons-neutral-medium)}.onyx-text-editor__input p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;pointer-events:none;height:0;color:var(--onyx-color-text-icons-neutral-soft);font-weight:var(--onyx-font-weight-regular)}.onyx-text-editor__input{resize:vertical;overflow-y:auto;overflow-x:unset;white-space:pre-line}.onyx-text-editor__input--no-resize{resize:none}}@layer onyx.override{.onyx-editor-toolbar-action .onyx-system-button.active{--color:var(--onyx-color-text-icons-primary-intense);--hover-background-color:var(--onyx-color-base-primary-200);--focus-active-background-color:var(--onyx-color-base-primary-200)}.onyx-editor-toolbar-flyout__chevron{--icon-size:.75rem}.onyx-editor-toolbar-flyout__icon{color:var(--onyx-color-text-icons-neutral-medium)}}
|
|
2
2
|
/*$vite$:1*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/tiptap",
|
|
3
3
|
"description": "A rich text editor powered by the Tiptap editor and the onyx design system created by Schwarz IT",
|
|
4
|
-
"version": "0.2.0-dev-
|
|
4
|
+
"version": "0.2.0-dev-20260409091158",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@tiptap/starter-kit": ">= 3",
|
|
38
38
|
"@tiptap/vue-3": ">= 3",
|
|
39
39
|
"vue": ">= 3.5.0",
|
|
40
|
-
"@sit-onyx/icons": "^1.9.0-dev-
|
|
41
|
-
"sit-onyx": "^1.12.0-dev-
|
|
40
|
+
"@sit-onyx/icons": "^1.9.0-dev-20260409091158",
|
|
41
|
+
"sit-onyx": "^1.12.0-dev-20260409091158"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@axe-core/playwright": "^4.11.1",
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"@tiptap/starter-kit": "^3.21.0",
|
|
52
52
|
"@tiptap/vue-3": "^3.21.0",
|
|
53
53
|
"@vue/compiler-dom": "3.5.31",
|
|
54
|
-
"@sit-onyx/icons": "^1.9.0-dev-
|
|
54
|
+
"@sit-onyx/icons": "^1.9.0-dev-20260409091158",
|
|
55
55
|
"@sit-onyx/playwright-utils": "^1.2.1",
|
|
56
56
|
"@sit-onyx/shared": "^0.1.0",
|
|
57
57
|
"@sit-onyx/storybook-utils": "^1.1.2",
|
|
58
|
-
"sit-onyx": "^1.12.0-dev-
|
|
58
|
+
"sit-onyx": "^1.12.0-dev-20260409091158"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"dev": "storybook dev -p 6006 --no-open",
|