@pairbo/ui-kit 0.3.5 → 0.3.7

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.
@@ -21,15 +21,14 @@ export default class PboEditor extends PairboElement {
21
21
  private formData;
22
22
  private handwrittenFormState;
23
23
  private editorType;
24
+ handleCardChange(): Promise<void>;
25
+ handleEditorTypeChange(): void;
24
26
  private handleTypingFormChange;
25
- private handelHandwrittenFormChange;
27
+ private handleHandwrittenFormChange;
26
28
  private handleHandwrittenImageDimensionsChanged;
27
29
  private handleZoomedPreviewOpen;
30
+ private handleEditorChange;
28
31
  protected firstUpdated(): void;
29
- handleCardChange(): Promise<void>;
30
32
  disconnectedCallback(): void;
31
- openZoomedPreview: () => void;
32
- closeZoomedPreview: () => void;
33
- handleEditorChange: (e: CustomEvent) => void;
34
33
  render(): import('lit-html').TemplateResult<1>;
35
34
  }
@@ -4,7 +4,7 @@ interface FontOption {
4
4
  label: string;
5
5
  font: string;
6
6
  }
7
- export default class PboSelector extends LitElement {
7
+ export default class PboFontSelector extends LitElement {
8
8
  static styles: CSSResultGroup;
9
9
  private readonly hasSlotController;
10
10
  fonts: FontOption[];
@@ -0,0 +1,8 @@
1
+ import { default as PboFontSelector } from './font-selector.component.js';
2
+ export * from './font-selector.component.js';
3
+ export default PboFontSelector;
4
+ declare global {
5
+ interface HTMLElementTagNameMap {
6
+ "pbo-font-selector": PboFontSelector;
7
+ }
8
+ }
@@ -1,5 +1,5 @@
1
1
  export { default as MessageSelector } from './message-selector/message-selector.component.js';
2
- export { default as PboSelector } from './selector/selector.component.js';
2
+ export { default as PboFontSelector } from './font-selector/font-selector.component.js';
3
3
  export { default as PboButton } from './button/button.js';
4
4
  export { default as PboButtonGroup } from './button-group/button-group.js';
5
5
  export { default as PboRadioButton } from './radio-button/radio-button.js';
@@ -1,6 +1,6 @@
1
1
  import { CSSResultGroup } from 'lit';
2
2
  import { default as PairboElement } from '../../internal/pairbo-element.js';
3
- import { default as PboSelector } from '../selector/selector.component.js';
3
+ import { default as PboFontSelector } from '../font-selector/font-selector.component.js';
4
4
  import { default as PboTextarea } from '../textarea/textarea.component.js';
5
5
  import { default as PboRadioGroup } from '../radio-group/radio-group.component.js';
6
6
  import { default as PboButton } from '../button/button.component.js';
@@ -22,7 +22,7 @@ import { default as PboButton } from '../button/button.component.js';
22
22
  export default class PboTypeForm extends PairboElement {
23
23
  static styles: CSSResultGroup;
24
24
  static dependencies: {
25
- "pbo-selector": typeof PboSelector;
25
+ "pbo-font-selector": typeof PboFontSelector;
26
26
  "pbo-textarea": typeof PboTextarea;
27
27
  "pbo-color-radio-group": typeof PboRadioGroup;
28
28
  "pbo-radio-group": typeof PboRadioGroup;
@@ -46,7 +46,7 @@ export default class PboTypeForm extends PairboElement {
46
46
  loading: boolean;
47
47
  disabled: boolean;
48
48
  greetingText: PboTextarea;
49
- fontSelector: PboSelector;
49
+ fontSelector: PboFontSelector;
50
50
  textColor: PboRadioGroup;
51
51
  textAlignment: PboRadioGroup;
52
52
  typingForm: HTMLFormElement;