oasis-editor 0.0.235 → 0.0.236
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/OasisEditorApp-D1FcbFmj.js +1 -0
- package/dist/assets/{importDocxWorker-Y2SpPp5H.js → importDocxWorker-BQrQmIZn.js} +1344 -1147
- package/dist/core/color.d.ts +5 -0
- package/dist/core/cssNamedColors.d.ts +1 -0
- package/dist/{defaultToolbar-nAz9q6vX.js → defaultToolbar-Cr6xcCo4.js} +1 -1
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/app/createEditorChangeBroadcast.d.ts +2 -2
- package/dist/ui/components/Toolbar/primitives/ColorGrids.d.ts +1 -0
- package/dist/ui/components/Toolbar/primitives/ColorPicker.d.ts +2 -0
- package/dist/ui/components/Toolbar/primitives/Popover.d.ts +4 -0
- package/dist/ui/components/Toolbar/primitives/SplitButton.d.ts +1 -0
- package/dist/ui/components/Toolbar/state/toolbarChoice.d.ts +2 -0
- package/package.json +3 -2
- package/dist/OasisEditorApp-D3yy9QVI.js +0 -1
package/dist/core/color.d.ts
CHANGED
|
@@ -13,3 +13,8 @@ export declare function normalizeHex6(color: string | null | undefined): string
|
|
|
13
13
|
export declare function parseHexColorToRgb255(color: string | null | undefined): [number, number, number] | null;
|
|
14
14
|
/** Formats 0–255 integer RGB channels as a lowercase `#rrggbb` string. */
|
|
15
15
|
export declare function rgb255ToHex(r: number, g: number, b: number): string;
|
|
16
|
+
/**
|
|
17
|
+
* Named, hex and RGB opaque sRGB colors as a six-digit body, without a browser.
|
|
18
|
+
* Translucent colors and other CSS color spaces require a separate policy.
|
|
19
|
+
*/
|
|
20
|
+
export declare function normalizeOpaqueRgbColor(color: string | null | undefined): string | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CSS_NAMED_COLORS: Readonly<Record<string, string>>;
|