@pairbo/ui-kit 0.2.7 → 0.3.0
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/defaultTheme.css +1 -1
- package/dist/pboBridge.js +1 -1
- package/dist/src/components/button/button.component.d.ts +1 -0
- package/dist/src/components/card-selection/card-selection.component.d.ts +4 -1
- package/dist/src/components/category/category.component.d.ts +2 -2
- package/dist/src/components/drawer/drawer.component.d.ts +1 -1
- package/dist/src/components/editor/editor.component.d.ts +1 -3
- package/dist/src/components/editor-card-slider/editor-card-slider.component.d.ts +0 -2
- package/dist/src/components/editor-selector/editor-selector.component.d.ts +2 -0
- package/dist/src/components/fake-loading/fake-loading.component.d.ts +51 -0
- package/dist/src/components/fake-loading/fake-loading.d.ts +8 -0
- package/dist/src/components/gift-options/gift-options.component.d.ts +50 -13
- package/dist/src/components/handwritten-form/handwritten-form.component.d.ts +105 -8
- package/dist/src/components/image/image.component.d.ts +1 -0
- package/dist/src/components/main.d.ts +1 -1
- package/dist/src/components/page-manager/page-manager.component.d.ts +17 -6
- package/dist/src/components/selector/selector.component.d.ts +2 -0
- package/dist/src/components/type-canvas/type-canvas.component.d.ts +2 -1
- package/dist/src/components/type-form/type-form.component.d.ts +2 -0
- package/dist/src/core/pbo-bridge/PboBridge.d.ts +53 -15
- package/dist/src/core/pbo-bridge/types.d.ts +0 -15
- package/dist/src/themes/default-rem.css +525 -0
- package/dist/src/themes/default.css +37 -47
- package/dist/src/utilities/index.d.ts +1 -0
- package/dist/ui-kit.js +1168 -931
- package/package.json +3 -2
- package/dist/src/components/fabric-example/fabric-example.component.d.ts +0 -31
- package/dist/src/components/fabric-example/fabric-example.d.ts +0 -8
- package/dist/src/components/fabric-example/fabric-example.test.d.ts +0 -0
- /package/dist/src/components/{fabric-example/fabric-example.styles.d.ts → fake-loading/fake-loading.styles.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pairbo/ui-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"readme": "./README-NPM.md",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"npm:version-patch": "npm version patch",
|
|
25
25
|
"npm:public-publish": "npm publish --access public",
|
|
26
26
|
"publishToNPM": "run-s npm:public-publish",
|
|
27
|
-
"npm:publish": "node ./scripts/publish-cli.js"
|
|
27
|
+
"npm:publish": "node ./scripts/publish-cli.js",
|
|
28
|
+
"dev:watch": "vite build --watch"
|
|
28
29
|
},
|
|
29
30
|
"keywords": [],
|
|
30
31
|
"author": "",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { LitElement, CSSResultGroup } from 'lit';
|
|
2
|
-
import { ITextEvents, SerializedTextboxProps, Textbox, TextboxProps, TOptions } from 'fabric';
|
|
3
|
-
export default class FabricExample extends LitElement {
|
|
4
|
-
static styles: CSSResultGroup;
|
|
5
|
-
backgroundUrl: string;
|
|
6
|
-
message: string;
|
|
7
|
-
alignment: "left" | "center" | "right";
|
|
8
|
-
fontFamily: string;
|
|
9
|
-
color: string;
|
|
10
|
-
private _fabricContainer;
|
|
11
|
-
private _canvas?;
|
|
12
|
-
private _canvasElement?;
|
|
13
|
-
private _textbox?;
|
|
14
|
-
private _backgroundImg;
|
|
15
|
-
private _natureSize;
|
|
16
|
-
private _scale;
|
|
17
|
-
private _lineHeight;
|
|
18
|
-
private _fontSize;
|
|
19
|
-
private _rect?;
|
|
20
|
-
constructor();
|
|
21
|
-
connectedCallback(): void;
|
|
22
|
-
disconnectedCallback(): void;
|
|
23
|
-
formatTextbox(textbox: Textbox<TOptions<TextboxProps>, SerializedTextboxProps, ITextEvents>): void;
|
|
24
|
-
firstUpdated(): void;
|
|
25
|
-
adjustCanvasElements(): void;
|
|
26
|
-
handleMessageChange(_: string, message: string): void;
|
|
27
|
-
handleAlignmentChange(_: string, alignment: string): void;
|
|
28
|
-
handleFontFamilyChange(_: string, font: string): void;
|
|
29
|
-
handleColorChange(_: string, color: string): void;
|
|
30
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
31
|
-
}
|
|
File without changes
|
|
File without changes
|