kritzel-react 0.0.56 → 0.0.58

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.
@@ -17,11 +17,12 @@ import { KritzelFontSize as KritzelFontSizeElement, defineCustomElement as defin
17
17
  import { KritzelFont as KritzelFontElement, defineCustomElement as defineKritzelFont } from "../../../../kritzel-stencil/dist/components/kritzel-font.js";
18
18
  import { KritzelIcon as KritzelIconElement, defineCustomElement as defineKritzelIcon } from "../../../../kritzel-stencil/dist/components/kritzel-icon.js";
19
19
  import { KritzelStrokeSize as KritzelStrokeSizeElement, defineCustomElement as defineKritzelStrokeSize } from "../../../../kritzel-stencil/dist/components/kritzel-stroke-size.js";
20
+ import { KritzelTooltip as KritzelTooltipElement, defineCustomElement as defineKritzelTooltip } from "../../../../kritzel-stencil/dist/components/kritzel-tooltip.js";
20
21
  import { KritzelUtilityPanel as KritzelUtilityPanelElement, defineCustomElement as defineKritzelUtilityPanel } from "../../../../kritzel-stencil/dist/components/kritzel-utility-panel.js";
21
22
  export const KritzelBrushStyle = /*@__PURE__*/ createComponent({
22
23
  tagName: 'kritzel-brush-style',
23
24
  elementClass: KritzelBrushStyleElement,
24
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
25
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
25
26
  react: React,
26
27
  events: { onTypeChange: 'typeChange' },
27
28
  defineCustomElement: defineKritzelBrushStyle
@@ -29,7 +30,7 @@ export const KritzelBrushStyle = /*@__PURE__*/ createComponent({
29
30
  export const KritzelColor = /*@__PURE__*/ createComponent({
30
31
  tagName: 'kritzel-color',
31
32
  elementClass: KritzelColorElement,
32
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
33
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
33
34
  react: React,
34
35
  events: {},
35
36
  defineCustomElement: defineKritzelColor
@@ -37,7 +38,7 @@ export const KritzelColor = /*@__PURE__*/ createComponent({
37
38
  export const KritzelColorPalette = /*@__PURE__*/ createComponent({
38
39
  tagName: 'kritzel-color-palette',
39
40
  elementClass: KritzelColorPaletteElement,
40
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
41
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
41
42
  react: React,
42
43
  events: { onColorChange: 'colorChange' },
43
44
  defineCustomElement: defineKritzelColorPalette
@@ -45,7 +46,7 @@ export const KritzelColorPalette = /*@__PURE__*/ createComponent({
45
46
  export const KritzelContextMenu = /*@__PURE__*/ createComponent({
46
47
  tagName: 'kritzel-context-menu',
47
48
  elementClass: KritzelContextMenuElement,
48
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
49
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
49
50
  react: React,
50
51
  events: {
51
52
  onActionSelected: 'actionSelected',
@@ -56,7 +57,7 @@ export const KritzelContextMenu = /*@__PURE__*/ createComponent({
56
57
  export const KritzelControlBrushConfig = /*@__PURE__*/ createComponent({
57
58
  tagName: 'kritzel-control-brush-config',
58
59
  elementClass: KritzelControlBrushConfigElement,
59
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
60
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
60
61
  react: React,
61
62
  events: { onToolChange: 'toolChange' },
62
63
  defineCustomElement: defineKritzelControlBrushConfig
@@ -64,7 +65,7 @@ export const KritzelControlBrushConfig = /*@__PURE__*/ createComponent({
64
65
  export const KritzelControlTextConfig = /*@__PURE__*/ createComponent({
65
66
  tagName: 'kritzel-control-text-config',
66
67
  elementClass: KritzelControlTextConfigElement,
67
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
68
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
68
69
  react: React,
69
70
  events: { onToolChange: 'toolChange' },
70
71
  defineCustomElement: defineKritzelControlTextConfig
@@ -72,7 +73,7 @@ export const KritzelControlTextConfig = /*@__PURE__*/ createComponent({
72
73
  export const KritzelControls = /*@__PURE__*/ createComponent({
73
74
  tagName: 'kritzel-controls',
74
75
  elementClass: KritzelControlsElement,
75
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
76
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
76
77
  react: React,
77
78
  events: {},
78
79
  defineCustomElement: defineKritzelControls
@@ -80,7 +81,7 @@ export const KritzelControls = /*@__PURE__*/ createComponent({
80
81
  export const KritzelCursorTrail = /*@__PURE__*/ createComponent({
81
82
  tagName: 'kritzel-cursor-trail',
82
83
  elementClass: KritzelCursorTrailElement,
83
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
84
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
84
85
  react: React,
85
86
  events: {},
86
87
  defineCustomElement: defineKritzelCursorTrail
@@ -88,7 +89,7 @@ export const KritzelCursorTrail = /*@__PURE__*/ createComponent({
88
89
  export const KritzelDropdown = /*@__PURE__*/ createComponent({
89
90
  tagName: 'kritzel-dropdown',
90
91
  elementClass: KritzelDropdownElement,
91
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
92
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
92
93
  react: React,
93
94
  events: { onValueChanged: 'valueChanged' },
94
95
  defineCustomElement: defineKritzelDropdown
@@ -96,7 +97,7 @@ export const KritzelDropdown = /*@__PURE__*/ createComponent({
96
97
  export const KritzelEditor = /*@__PURE__*/ createComponent({
97
98
  tagName: 'kritzel-editor',
98
99
  elementClass: KritzelEditorElement,
99
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
100
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
100
101
  react: React,
101
102
  events: {},
102
103
  defineCustomElement: defineKritzelEditor
@@ -104,7 +105,7 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
104
105
  export const KritzelEngine = /*@__PURE__*/ createComponent({
105
106
  tagName: 'kritzel-engine',
106
107
  elementClass: KritzelEngineElement,
107
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
108
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
108
109
  react: React,
109
110
  events: { onActiveToolChange: 'activeToolChange' },
110
111
  defineCustomElement: defineKritzelEngine
@@ -112,7 +113,7 @@ export const KritzelEngine = /*@__PURE__*/ createComponent({
112
113
  export const KritzelFont = /*@__PURE__*/ createComponent({
113
114
  tagName: 'kritzel-font',
114
115
  elementClass: KritzelFontElement,
115
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
116
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
116
117
  react: React,
117
118
  events: {},
118
119
  defineCustomElement: defineKritzelFont
@@ -120,7 +121,7 @@ export const KritzelFont = /*@__PURE__*/ createComponent({
120
121
  export const KritzelFontFamily = /*@__PURE__*/ createComponent({
121
122
  tagName: 'kritzel-font-family',
122
123
  elementClass: KritzelFontFamilyElement,
123
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
124
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
124
125
  react: React,
125
126
  events: { onFontFamilyChange: 'fontFamilyChange' },
126
127
  defineCustomElement: defineKritzelFontFamily
@@ -128,7 +129,7 @@ export const KritzelFontFamily = /*@__PURE__*/ createComponent({
128
129
  export const KritzelFontSize = /*@__PURE__*/ createComponent({
129
130
  tagName: 'kritzel-font-size',
130
131
  elementClass: KritzelFontSizeElement,
131
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
132
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
132
133
  react: React,
133
134
  events: { onSizeChange: 'sizeChange' },
134
135
  defineCustomElement: defineKritzelFontSize
@@ -136,7 +137,7 @@ export const KritzelFontSize = /*@__PURE__*/ createComponent({
136
137
  export const KritzelIcon = /*@__PURE__*/ createComponent({
137
138
  tagName: 'kritzel-icon',
138
139
  elementClass: KritzelIconElement,
139
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
140
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
140
141
  react: React,
141
142
  events: {},
142
143
  defineCustomElement: defineKritzelIcon
@@ -144,15 +145,23 @@ export const KritzelIcon = /*@__PURE__*/ createComponent({
144
145
  export const KritzelStrokeSize = /*@__PURE__*/ createComponent({
145
146
  tagName: 'kritzel-stroke-size',
146
147
  elementClass: KritzelStrokeSizeElement,
147
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
148
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
148
149
  react: React,
149
150
  events: { onSizeChange: 'sizeChange' },
150
151
  defineCustomElement: defineKritzelStrokeSize
151
152
  });
153
+ export const KritzelTooltip = /*@__PURE__*/ createComponent({
154
+ tagName: 'kritzel-tooltip',
155
+ elementClass: KritzelTooltipElement,
156
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
157
+ react: React,
158
+ events: {},
159
+ defineCustomElement: defineKritzelTooltip
160
+ });
152
161
  export const KritzelUtilityPanel = /*@__PURE__*/ createComponent({
153
162
  tagName: 'kritzel-utility-panel',
154
163
  elementClass: KritzelUtilityPanelElement,
155
- // @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
164
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
156
165
  react: React,
157
166
  events: {
158
167
  onUndo: 'undo',
@@ -20,6 +20,7 @@ import { KritzelFontSize as KritzelFontSizeElement } from "../../../../kritzel-s
20
20
  import { KritzelFont as KritzelFontElement } from "../../../../kritzel-stencil/dist/components/kritzel-font.js";
21
21
  import { KritzelIcon as KritzelIconElement } from "../../../../kritzel-stencil/dist/components/kritzel-icon.js";
22
22
  import { KritzelStrokeSize as KritzelStrokeSizeElement } from "../../../../kritzel-stencil/dist/components/kritzel-stroke-size.js";
23
+ import { KritzelTooltip as KritzelTooltipElement } from "../../../../kritzel-stencil/dist/components/kritzel-tooltip.js";
23
24
  import { KritzelUtilityPanel as KritzelUtilityPanelElement } from "../../../../kritzel-stencil/dist/components/kritzel-utility-panel.js";
24
25
  export type KritzelBrushStyleEvents = {
25
26
  onTypeChange: EventName<CustomEvent<'pen' | 'highlighter'>>;
@@ -74,6 +75,8 @@ export type KritzelStrokeSizeEvents = {
74
75
  onSizeChange: EventName<CustomEvent<number>>;
75
76
  };
76
77
  export declare const KritzelStrokeSize: StencilReactComponent<KritzelStrokeSizeElement, KritzelStrokeSizeEvents>;
78
+ export type KritzelTooltipEvents = NonNullable<unknown>;
79
+ export declare const KritzelTooltip: StencilReactComponent<KritzelTooltipElement, KritzelTooltipEvents>;
77
80
  export type KritzelUtilityPanelEvents = {
78
81
  onUndo: EventName<CustomEvent<void>>;
79
82
  onRedo: EventName<CustomEvent<void>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kritzel-react",
3
- "version": "0.0.56",
3
+ "version": "0.0.58",
4
4
  "homepage": "https://gitlab.com/kasual1/kritzel#readme",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@stencil/react-output-target": "^0.7.4"
21
21
  },
22
22
  "peerDependencies": {
23
- "kritzel-stencil": "^0.0.56"
23
+ "kritzel-stencil": "^0.0.58"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",