@arthurzakharov/ui-kit 1.0.93 → 1.0.95

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.
@@ -0,0 +1 @@
1
+ ._MessageBlock_vet5z_1{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-lg)}._MessageBlockEmoji_vet5z_10{font-size:64px;line-height:1}._MessageBlockHeader_vet5z_15{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._MessageBlockTitle_vet5z_24{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2);color:var(--rm-ui-color-text-primary)}._MessageBlockSubtitle_vet5z_31{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}._MessageBlockContent_vet5z_38{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._MessageBlockContent_vet5z_38 h1,._MessageBlockContent_vet5z_38 h2{margin-bottom:var(--rm-ui-padding-sm)}._MessageBlockContent_vet5z_38 h3,._MessageBlockContent_vet5z_38 h4,._MessageBlockContent_vet5z_38 h5,._MessageBlockContent_vet5z_38 h6{margin-bottom:var(--rm-ui-padding-xs)}._MessageBlockContent_vet5z_38 p:not(:last-child):not(:last-of-type),._MessageBlockContent_vet5z_38 div:not(:last-child):not(:last-of-type){margin-bottom:var(--rm-ui-padding-sm)}
@@ -0,0 +1 @@
1
+ ._TextBlocks_veo9d_1{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-sm)}._TextBlocksContent_veo9d_10{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._TextBlocksTitle_veo9d_19{font-weight:var(--rm-ui-font-weight-bold);font-size:var(--rm-ui-font-size-hl4);line-height:var(--rm-ui-line-height-hl4);color:var(--rm-ui-color-text-primary)}
@@ -0,0 +1,7 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface MessageBlockProps extends PropsWithChildren {
3
+ emoji?: string;
4
+ title?: string;
5
+ subtitle?: string;
6
+ }
7
+ export declare const MessageBlock: (props: MessageBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,22 @@
1
+ import { jsxs as t, jsx as s } from "react/jsx-runtime";
2
+ import '../../assets/message-block-QiIFNasc.css';const i = "_MessageBlock_vet5z_1", g = "_MessageBlockEmoji_vet5z_10", k = "_MessageBlockHeader_vet5z_15", B = "_MessageBlockTitle_vet5z_24", M = "_MessageBlockSubtitle_vet5z_31", _ = "_MessageBlockContent_vet5z_38", e = {
3
+ MessageBlock: i,
4
+ MessageBlockEmoji: g,
5
+ MessageBlockHeader: k,
6
+ MessageBlockTitle: B,
7
+ MessageBlockSubtitle: M,
8
+ MessageBlockContent: _
9
+ }, d = (a) => {
10
+ const { children: n, emoji: o, title: l = "", subtitle: c = "" } = a;
11
+ return /* @__PURE__ */ t("div", { className: e.MessageBlock, children: [
12
+ o ? /* @__PURE__ */ s("div", { className: e.MessageBlockEmoji, children: o }) : null,
13
+ l || c ? /* @__PURE__ */ t("div", { className: e.MessageBlockHeader, children: [
14
+ l ? /* @__PURE__ */ s("h2", { className: e.MessageBlockTitle, children: l }) : null,
15
+ c ? /* @__PURE__ */ s("h6", { className: e.MessageBlockSubtitle, children: c }) : null
16
+ ] }) : null,
17
+ /* @__PURE__ */ s("div", { className: e.MessageBlockContent, children: n })
18
+ ] });
19
+ };
20
+ export {
21
+ d as MessageBlock
22
+ };
@@ -0,0 +1 @@
1
+ export declare const Sidebar: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ const t = () => /* @__PURE__ */ r("div", {});
3
+ export {
4
+ t as Sidebar
5
+ };
@@ -0,0 +1,10 @@
1
+ interface TextBlock {
2
+ title: string;
3
+ text: string;
4
+ placeholders?: Record<string, () => unknown>;
5
+ }
6
+ interface TextBlocksProps {
7
+ blocks: TextBlock[];
8
+ }
9
+ export declare const TextBlocks: (props: TextBlocksProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,26 @@
1
+ import { jsx as o, jsxs as T } from "react/jsx-runtime";
2
+ import { Text as d } from "../../../text/text.component.js";
3
+ import '../../../../assets/text-blocks-BYcvnI5v.css';const p = "_TextBlocks_veo9d_1", B = "_TextBlocksContent_veo9d_10", k = "_TextBlocksTitle_veo9d_19", c = {
4
+ TextBlocks: p,
5
+ TextBlocksContent: B,
6
+ TextBlocksTitle: k
7
+ }, h = (x) => {
8
+ const { blocks: r = [] } = x, a = (t) => {
9
+ let e = t.title, s = t.text;
10
+ return t.placeholders && Object.keys(t.placeholders).forEach((l) => {
11
+ if (!t.placeholders?.[l]) return;
12
+ const n = l.split("-")[1], i = t.placeholders[l]();
13
+ n === "title" && (e = e.replace(new RegExp(l, "g"), i)), n === "text" && (s = s.replace(new RegExp(l, "g"), i));
14
+ }), {
15
+ title: e,
16
+ text: s
17
+ };
18
+ };
19
+ return /* @__PURE__ */ o("div", { className: c.TextBlocks, children: r.map(a).map(({ title: t, text: e }, s) => /* @__PURE__ */ T("div", { className: c.TextBlocksContent, children: [
20
+ /* @__PURE__ */ o("h6", { className: c.TextBlocksTitle, children: t }),
21
+ /* @__PURE__ */ o(d.Paragraph, { children: e })
22
+ ] }, s)) });
23
+ };
24
+ export {
25
+ h as TextBlocks
26
+ };
@@ -0,0 +1,9 @@
1
+ import { Sidebar as o } from "./components/sidebar/sidebar.component.js";
2
+ import { TextBlocks as r } from "./components/text-blocks/text-blocks.component.js";
3
+ const e = {
4
+ Sidebar: o,
5
+ TextBlocks: r
6
+ };
7
+ export {
8
+ e as Payment
9
+ };
@@ -106,6 +106,272 @@ export declare function Paragraph<T extends keyof HTMLElementTagNameMap>(props:
106
106
  "aria-valuemin"?: number | undefined;
107
107
  "aria-valuenow"?: number | undefined;
108
108
  "aria-valuetext"?: string | undefined;
109
+ dangerouslySetInnerHTML: {
110
+ __html: string | TrustedHTML;
111
+ };
112
+ onCopy?: import('react').ClipboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
113
+ onCopyCapture?: import('react').ClipboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
114
+ onCut?: import('react').ClipboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
115
+ onCutCapture?: import('react').ClipboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
116
+ onPaste?: import('react').ClipboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
117
+ onPasteCapture?: import('react').ClipboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
118
+ onCompositionEnd?: import('react').CompositionEventHandler<HTMLElementTagNameMap[T]> | undefined;
119
+ onCompositionEndCapture?: import('react').CompositionEventHandler<HTMLElementTagNameMap[T]> | undefined;
120
+ onCompositionStart?: import('react').CompositionEventHandler<HTMLElementTagNameMap[T]> | undefined;
121
+ onCompositionStartCapture?: import('react').CompositionEventHandler<HTMLElementTagNameMap[T]> | undefined;
122
+ onCompositionUpdate?: import('react').CompositionEventHandler<HTMLElementTagNameMap[T]> | undefined;
123
+ onCompositionUpdateCapture?: import('react').CompositionEventHandler<HTMLElementTagNameMap[T]> | undefined;
124
+ onFocus?: import('react').FocusEventHandler<HTMLElementTagNameMap[T]> | undefined;
125
+ onFocusCapture?: import('react').FocusEventHandler<HTMLElementTagNameMap[T]> | undefined;
126
+ onBlur?: import('react').FocusEventHandler<HTMLElementTagNameMap[T]> | undefined;
127
+ onBlurCapture?: import('react').FocusEventHandler<HTMLElementTagNameMap[T]> | undefined;
128
+ onChange?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
129
+ onChangeCapture?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
130
+ onBeforeInput?: import('react').InputEventHandler<HTMLElementTagNameMap[T]> | undefined;
131
+ onBeforeInputCapture?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
132
+ onInput?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
133
+ onInputCapture?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
134
+ onReset?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
135
+ onResetCapture?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
136
+ onSubmit?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
137
+ onSubmitCapture?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
138
+ onInvalid?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
139
+ onInvalidCapture?: import('react').FormEventHandler<HTMLElementTagNameMap[T]> | undefined;
140
+ onLoad?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
141
+ onLoadCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
142
+ onError?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
143
+ onErrorCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
144
+ onKeyDown?: import('react').KeyboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
145
+ onKeyDownCapture?: import('react').KeyboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
146
+ onKeyPress?: import('react').KeyboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
147
+ onKeyPressCapture?: import('react').KeyboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
148
+ onKeyUp?: import('react').KeyboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
149
+ onKeyUpCapture?: import('react').KeyboardEventHandler<HTMLElementTagNameMap[T]> | undefined;
150
+ onAbort?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
151
+ onAbortCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
152
+ onCanPlay?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
153
+ onCanPlayCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
154
+ onCanPlayThrough?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
155
+ onCanPlayThroughCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
156
+ onDurationChange?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
157
+ onDurationChangeCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
158
+ onEmptied?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
159
+ onEmptiedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
160
+ onEncrypted?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
161
+ onEncryptedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
162
+ onEnded?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
163
+ onEndedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
164
+ onLoadedData?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
165
+ onLoadedDataCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
166
+ onLoadedMetadata?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
167
+ onLoadedMetadataCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
168
+ onLoadStart?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
169
+ onLoadStartCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
170
+ onPause?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
171
+ onPauseCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
172
+ onPlay?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
173
+ onPlayCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
174
+ onPlaying?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
175
+ onPlayingCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
176
+ onProgress?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
177
+ onProgressCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
178
+ onRateChange?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
179
+ onRateChangeCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
180
+ onSeeked?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
181
+ onSeekedCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
182
+ onSeeking?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
183
+ onSeekingCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
184
+ onStalled?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
185
+ onStalledCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
186
+ onSuspend?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
187
+ onSuspendCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
188
+ onTimeUpdate?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
189
+ onTimeUpdateCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
190
+ onVolumeChange?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
191
+ onVolumeChangeCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
192
+ onWaiting?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
193
+ onWaitingCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
194
+ onAuxClick?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
195
+ onAuxClickCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
196
+ onClick?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
197
+ onClickCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
198
+ onContextMenu?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
199
+ onContextMenuCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
200
+ onDoubleClick?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
201
+ onDoubleClickCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
202
+ onDrag?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
203
+ onDragCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
204
+ onDragEnd?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
205
+ onDragEndCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
206
+ onDragEnter?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
207
+ onDragEnterCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
208
+ onDragExit?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
209
+ onDragExitCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
210
+ onDragLeave?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
211
+ onDragLeaveCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
212
+ onDragOver?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
213
+ onDragOverCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
214
+ onDragStart?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
215
+ onDragStartCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
216
+ onDrop?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
217
+ onDropCapture?: import('react').DragEventHandler<HTMLElementTagNameMap[T]> | undefined;
218
+ onMouseDown?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
219
+ onMouseDownCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
220
+ onMouseEnter?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
221
+ onMouseLeave?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
222
+ onMouseMove?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
223
+ onMouseMoveCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
224
+ onMouseOut?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
225
+ onMouseOutCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
226
+ onMouseOver?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
227
+ onMouseOverCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
228
+ onMouseUp?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
229
+ onMouseUpCapture?: import('react').MouseEventHandler<HTMLElementTagNameMap[T]> | undefined;
230
+ onSelect?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
231
+ onSelectCapture?: import('react').ReactEventHandler<HTMLElementTagNameMap[T]> | undefined;
232
+ onTouchCancel?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
233
+ onTouchCancelCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
234
+ onTouchEnd?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
235
+ onTouchEndCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
236
+ onTouchMove?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
237
+ onTouchMoveCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
238
+ onTouchStart?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
239
+ onTouchStartCapture?: import('react').TouchEventHandler<HTMLElementTagNameMap[T]> | undefined;
240
+ onPointerDown?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
241
+ onPointerDownCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
242
+ onPointerMove?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
243
+ onPointerMoveCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
244
+ onPointerUp?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
245
+ onPointerUpCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
246
+ onPointerCancel?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
247
+ onPointerCancelCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
248
+ onPointerEnter?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
249
+ onPointerLeave?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
250
+ onPointerOver?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
251
+ onPointerOverCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
252
+ onPointerOut?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
253
+ onPointerOutCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
254
+ onGotPointerCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
255
+ onGotPointerCaptureCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
256
+ onLostPointerCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
257
+ onLostPointerCaptureCapture?: import('react').PointerEventHandler<HTMLElementTagNameMap[T]> | undefined;
258
+ onScroll?: import('react').UIEventHandler<HTMLElementTagNameMap[T]> | undefined;
259
+ onScrollCapture?: import('react').UIEventHandler<HTMLElementTagNameMap[T]> | undefined;
260
+ onWheel?: import('react').WheelEventHandler<HTMLElementTagNameMap[T]> | undefined;
261
+ onWheelCapture?: import('react').WheelEventHandler<HTMLElementTagNameMap[T]> | undefined;
262
+ onAnimationStart?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
263
+ onAnimationStartCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
264
+ onAnimationEnd?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
265
+ onAnimationEndCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
266
+ onAnimationIteration?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
267
+ onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
268
+ onTransitionEnd?: import('react').TransitionEventHandler<HTMLElementTagNameMap[T]> | undefined;
269
+ onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElementTagNameMap[T]> | undefined;
270
+ className: string;
271
+ }, HTMLElement> | import('react').DetailedReactHTMLElement<{
272
+ defaultChecked?: boolean | undefined;
273
+ defaultValue?: string | number | readonly string[] | undefined;
274
+ suppressContentEditableWarning?: boolean | undefined;
275
+ suppressHydrationWarning?: boolean | undefined;
276
+ accessKey?: string | undefined;
277
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
278
+ autoFocus?: boolean | undefined;
279
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
280
+ contextMenu?: string | undefined;
281
+ dir?: string | undefined;
282
+ draggable?: (boolean | "true" | "false") | undefined;
283
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
284
+ hidden?: boolean | undefined;
285
+ id?: string | undefined;
286
+ lang?: string | undefined;
287
+ nonce?: string | undefined;
288
+ slot?: string | undefined;
289
+ spellCheck?: (boolean | "true" | "false") | undefined;
290
+ style?: import('react').CSSProperties | undefined;
291
+ tabIndex?: number | undefined;
292
+ title?: string | undefined;
293
+ translate?: "yes" | "no" | undefined;
294
+ radioGroup?: string | undefined;
295
+ role?: import('react').AriaRole | undefined;
296
+ about?: string | undefined;
297
+ content?: string | undefined;
298
+ datatype?: string | undefined;
299
+ inlist?: any;
300
+ prefix?: string | undefined;
301
+ property?: string | undefined;
302
+ rel?: string | undefined;
303
+ resource?: string | undefined;
304
+ rev?: string | undefined;
305
+ typeof?: string | undefined;
306
+ vocab?: string | undefined;
307
+ autoCorrect?: string | undefined;
308
+ autoSave?: string | undefined;
309
+ color?: string | undefined;
310
+ itemProp?: string | undefined;
311
+ itemScope?: boolean | undefined;
312
+ itemType?: string | undefined;
313
+ itemID?: string | undefined;
314
+ itemRef?: string | undefined;
315
+ results?: number | undefined;
316
+ security?: string | undefined;
317
+ unselectable?: "on" | "off" | undefined;
318
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
319
+ is?: string | undefined;
320
+ exportparts?: string | undefined;
321
+ part?: string | undefined;
322
+ "aria-activedescendant"?: string | undefined;
323
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
324
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
325
+ "aria-braillelabel"?: string | undefined;
326
+ "aria-brailleroledescription"?: string | undefined;
327
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
328
+ "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
329
+ "aria-colcount"?: number | undefined;
330
+ "aria-colindex"?: number | undefined;
331
+ "aria-colindextext"?: string | undefined;
332
+ "aria-colspan"?: number | undefined;
333
+ "aria-controls"?: string | undefined;
334
+ "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
335
+ "aria-describedby"?: string | undefined;
336
+ "aria-description"?: string | undefined;
337
+ "aria-details"?: string | undefined;
338
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
339
+ "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
340
+ "aria-errormessage"?: string | undefined;
341
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
342
+ "aria-flowto"?: string | undefined;
343
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
344
+ "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
345
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
346
+ "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
347
+ "aria-keyshortcuts"?: string | undefined;
348
+ "aria-label"?: string | undefined;
349
+ "aria-labelledby"?: string | undefined;
350
+ "aria-level"?: number | undefined;
351
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
352
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
353
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
354
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
355
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
356
+ "aria-owns"?: string | undefined;
357
+ "aria-placeholder"?: string | undefined;
358
+ "aria-posinset"?: number | undefined;
359
+ "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
360
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
361
+ "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
362
+ "aria-required"?: (boolean | "true" | "false") | undefined;
363
+ "aria-roledescription"?: string | undefined;
364
+ "aria-rowcount"?: number | undefined;
365
+ "aria-rowindex"?: number | undefined;
366
+ "aria-rowindextext"?: string | undefined;
367
+ "aria-rowspan"?: number | undefined;
368
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
369
+ "aria-setsize"?: number | undefined;
370
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
371
+ "aria-valuemax"?: number | undefined;
372
+ "aria-valuemin"?: number | undefined;
373
+ "aria-valuenow"?: number | undefined;
374
+ "aria-valuetext"?: string | undefined;
109
375
  dangerouslySetInnerHTML?: {
110
376
  __html: string | TrustedHTML;
111
377
  } | undefined;
@@ -267,6 +533,6 @@ export declare function Paragraph<T extends keyof HTMLElementTagNameMap>(props:
267
533
  onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLElementTagNameMap[T]> | undefined;
268
534
  onTransitionEnd?: import('react').TransitionEventHandler<HTMLElementTagNameMap[T]> | undefined;
269
535
  onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLElementTagNameMap[T]> | undefined;
270
- children: import('react').ReactNode;
271
536
  className: string;
537
+ children: number | boolean | import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | import('react').ReactPortal | null | undefined;
272
538
  }, HTMLElement>;
@@ -1,11 +1,19 @@
1
- import { createElement as p } from "react";
2
- import s from "clsx";
3
- import '../../../../assets/paragraph-Cg_eMedz.css';const n = "_Paragraph_1p6s7_1", o = {
4
- Paragraph: n
1
+ import { createElement as s } from "react";
2
+ import n from "clsx";
3
+ import '../../../../assets/paragraph-Cg_eMedz.css';const o = "_Paragraph_1p6s7_1", p = {
4
+ Paragraph: o
5
5
  };
6
- function h(a) {
7
- const { tag: r = "p", children: t, className: c, ...e } = a;
8
- return p(r, { children: t, className: s(o.Paragraph, c), ...e });
6
+ function h(c) {
7
+ const { tag: r = "p", children: a, className: t, ...e } = c;
8
+ return typeof a == "string" ? s(r, {
9
+ className: n(p.Paragraph, t),
10
+ dangerouslySetInnerHTML: { __html: a },
11
+ ...e
12
+ }) : s(r, {
13
+ className: n(p.Paragraph, t),
14
+ children: a,
15
+ ...e
16
+ });
9
17
  }
10
18
  export {
11
19
  h as Paragraph
package/dist/main.d.ts CHANGED
@@ -13,9 +13,10 @@ export { Loader, type LoaderProps } from './components/loader/loader.component';
13
13
  export { LoadingBlock } from './components/loading-block/loading-block.component';
14
14
  export { MainAttachment, type MainAttachmentProps } from './components/main-attachment/main-attachment.component';
15
15
  export { Message, type MessageProps } from './components/message/message.component';
16
+ export { MessageBlock, type MessageBlockProps } from './components/message-block/message-block.component';
16
17
  export { NotFound, type NotFoundProps } from './components/not-found/not-found.component';
18
+ export { Payment } from './components/payment/payment.component';
17
19
  export { Sidebar, type SidebarProps } from './components/sidebar/sidebar.component';
18
20
  export { Text } from './components/text/text.component';
19
- export { TextBlock, type TextBlockProps } from './components/text-block/text-block.component';
20
21
  export { UserPanel, type UserPanelProps } from './components/user-panel/user-panel.component';
21
22
  export { Warranty, type WarrantyProps } from './components/warranty/warranty.component';
package/dist/main.js CHANGED
@@ -1,44 +1,46 @@
1
1
  import { Animation as e } from "./components/animation/animation.component.js";
2
- import { Certifications as x } from "./components/certifications/certifications.component.js";
3
- import { Control as m } from "./components/control/control.component.js";
2
+ import { Certifications as m } from "./components/certifications/certifications.component.js";
3
+ import { Control as x } from "./components/control/control.component.js";
4
4
  import { Dialog as a } from "./components/dialog/dialog.component.js";
5
5
  import { DialogArticle as i } from "./components/dialog-article/dialog-article.component.js";
6
6
  import { Expenses as s } from "./components/expenses/expenses.component.js";
7
7
  import { Footer as d } from "./components/footer/footer.component.js";
8
8
  import { Header as L } from "./components/header/header.component.js";
9
- import { InfoPanel as k } from "./components/info-panel/info-panel.component.js";
10
- import { Layout as y } from "./components/layout/layout.component.js";
11
- import { Line as C } from "./components/line/line.component.js";
12
- import { Loader as F } from "./components/loader/loader.component.js";
13
- import { LoadingBlock as P } from "./components/loading-block/loading-block.component.js";
14
- import { MainAttachment as b } from "./components/main-attachment/main-attachment.component.js";
15
- import { Message as E } from "./components/message/message.component.js";
16
- import { NotFound as I } from "./components/not-found/not-found.component.js";
17
- import { Sidebar as S } from "./components/sidebar/sidebar.component.js";
18
- import { Text as W } from "./components/text/text.component.js";
19
- import { TextBlock as q } from "./components/text-block/text-block.component.js";
20
- import { UserPanel as w } from "./components/user-panel/user-panel.component.js";
21
- import { Warranty as G } from "./components/warranty/warranty.component.js";
9
+ import { InfoPanel as A } from "./components/info-panel/info-panel.component.js";
10
+ import { Layout as P } from "./components/layout/layout.component.js";
11
+ import { Line as u } from "./components/line/line.component.js";
12
+ import { Loader as C } from "./components/loader/loader.component.js";
13
+ import { LoadingBlock as F } from "./components/loading-block/loading-block.component.js";
14
+ import { MainAttachment as h } from "./components/main-attachment/main-attachment.component.js";
15
+ import { Message as H } from "./components/message/message.component.js";
16
+ import { MessageBlock as N } from "./components/message-block/message-block.component.js";
17
+ import { NotFound as T } from "./components/not-found/not-found.component.js";
18
+ import { Payment as W } from "./components/payment/payment.component.js";
19
+ import { Sidebar as q } from "./components/sidebar/sidebar.component.js";
20
+ import { Text as w } from "./components/text/text.component.js";
21
+ import { UserPanel as G } from "./components/user-panel/user-panel.component.js";
22
+ import { Warranty as K } from "./components/warranty/warranty.component.js";
22
23
  import './assets/main-D8vU620s.css';export {
23
24
  e as Animation,
24
- x as Certifications,
25
- m as Control,
25
+ m as Certifications,
26
+ x as Control,
26
27
  a as Dialog,
27
28
  i as DialogArticle,
28
29
  s as Expenses,
29
30
  d as Footer,
30
31
  L as Header,
31
- k as InfoPanel,
32
- y as Layout,
33
- C as Line,
34
- F as Loader,
35
- P as LoadingBlock,
36
- b as MainAttachment,
37
- E as Message,
38
- I as NotFound,
39
- S as Sidebar,
40
- W as Text,
41
- q as TextBlock,
42
- w as UserPanel,
43
- G as Warranty
32
+ A as InfoPanel,
33
+ P as Layout,
34
+ u as Line,
35
+ C as Loader,
36
+ F as LoadingBlock,
37
+ h as MainAttachment,
38
+ H as Message,
39
+ N as MessageBlock,
40
+ T as NotFound,
41
+ W as Payment,
42
+ q as Sidebar,
43
+ w as Text,
44
+ G as UserPanel,
45
+ K as Warranty
44
46
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arthurzakharov/ui-kit",
3
3
  "private": false,
4
- "version": "1.0.93",
4
+ "version": "1.0.95",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- ._TextBlock_1kh21_1{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-lg)}._TextBlockEmoji_1kh21_10{font-size:64px;line-height:1}._TextBlockHeader_1kh21_15{display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:var(--rm-ui-padding-xs)}._TextBlockTitle_1kh21_24{font-weight:var(--rm-ui-font-weight-medium);font-size:var(--rm-ui-font-size-hl2);line-height:var(--rm-ui-line-height-hl2);color:var(--rm-ui-color-text-primary)}._TextBlockSubtitle_1kh21_31{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-secondary)}._TextBlockContent_1kh21_38{font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary)}._TextBlockContent_1kh21_38 h1,._TextBlockContent_1kh21_38 h2{margin-bottom:var(--rm-ui-padding-sm)}._TextBlockContent_1kh21_38 h3,._TextBlockContent_1kh21_38 h4,._TextBlockContent_1kh21_38 h5,._TextBlockContent_1kh21_38 h6{margin-bottom:var(--rm-ui-padding-xs)}._TextBlockContent_1kh21_38 p:not(:last-child):not(:last-of-type),._TextBlockContent_1kh21_38 div:not(:last-child):not(:last-of-type){margin-bottom:var(--rm-ui-padding-sm)}
@@ -1,7 +0,0 @@
1
- import { PropsWithChildren } from 'react';
2
- export interface TextBlockProps extends PropsWithChildren {
3
- emoji?: string;
4
- title?: string;
5
- subtitle?: string;
6
- }
7
- export declare const TextBlock: (props: TextBlockProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,22 +0,0 @@
1
- import { jsxs as k, jsx as t } from "react/jsx-runtime";
2
- import '../../assets/text-block-CJXB3-4R.css';const x = "_TextBlock_1kh21_1", i = "_TextBlockEmoji_1kh21_10", s = "_TextBlockHeader_1kh21_15", B = "_TextBlockTitle_1kh21_24", _ = "_TextBlockSubtitle_1kh21_31", a = "_TextBlockContent_1kh21_38", e = {
3
- TextBlock: x,
4
- TextBlockEmoji: i,
5
- TextBlockHeader: s,
6
- TextBlockTitle: B,
7
- TextBlockSubtitle: _,
8
- TextBlockContent: a
9
- }, d = (n) => {
10
- const { children: T, emoji: o, title: l = "", subtitle: c = "" } = n;
11
- return /* @__PURE__ */ k("div", { className: e.TextBlock, children: [
12
- o ? /* @__PURE__ */ t("div", { className: e.TextBlockEmoji, children: o }) : null,
13
- l || c ? /* @__PURE__ */ k("div", { className: e.TextBlockHeader, children: [
14
- l ? /* @__PURE__ */ t("h2", { className: e.TextBlockTitle, children: l }) : null,
15
- c ? /* @__PURE__ */ t("h6", { className: e.TextBlockSubtitle, children: c }) : null
16
- ] }) : null,
17
- /* @__PURE__ */ t("div", { className: e.TextBlockContent, children: T })
18
- ] });
19
- };
20
- export {
21
- d as TextBlock
22
- };