@mittwald/flow-react-components 0.2.0-alpha.460 → 0.2.0-alpha.461
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/CHANGELOG.md +6 -0
- package/dist/assets/doc-properties.json +138 -138
- package/dist/js/components/src/components/MarkdownEditor/MarkdownEditor.mjs +6 -1
- package/dist/js/components/src/components/MarkdownEditor/MarkdownEditor.mjs.map +1 -1
- package/dist/types/components/MarkdownEditor/MarkdownEditor.d.ts.map +1 -1
- package/dist/types/components/MarkdownEditor/stories/Default.stories.d.ts +1 -0
- package/dist/types/components/MarkdownEditor/stories/Default.stories.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [0.2.0-alpha.461](https://github.com/mittwald/flow/compare/0.2.0-alpha.460...0.2.0-alpha.461) (2025-09-08)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **MarkdownEditor:** fix remote ([#1957](https://github.com/mittwald/flow/issues/1957)) ([adc4a1a](https://github.com/mittwald/flow/commit/adc4a1a9cdf08acd8eab2b27b8f679e3b8755107))
|
|
11
|
+
|
|
6
12
|
# [0.2.0-alpha.460](https://github.com/mittwald/flow/compare/0.2.0-alpha.459...0.2.0-alpha.460) (2025-09-05)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
@@ -292058,6 +292058,144 @@
|
|
|
292058
292058
|
}
|
|
292059
292059
|
}
|
|
292060
292060
|
},
|
|
292061
|
+
{
|
|
292062
|
+
"tags": {},
|
|
292063
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/ModalTrigger/ModalTrigger.tsx",
|
|
292064
|
+
"description": "",
|
|
292065
|
+
"displayName": "ModalTrigger",
|
|
292066
|
+
"methods": [],
|
|
292067
|
+
"props": {
|
|
292068
|
+
"isDefaultOpen": {
|
|
292069
|
+
"defaultValue": null,
|
|
292070
|
+
"description": "Whether the overlay should be open initially.",
|
|
292071
|
+
"name": "isDefaultOpen",
|
|
292072
|
+
"parent": {
|
|
292073
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
292074
|
+
"name": "OverlayTriggerProps"
|
|
292075
|
+
},
|
|
292076
|
+
"declarations": [
|
|
292077
|
+
{
|
|
292078
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
292079
|
+
"name": "OverlayTriggerProps"
|
|
292080
|
+
}
|
|
292081
|
+
],
|
|
292082
|
+
"required": false,
|
|
292083
|
+
"type": {
|
|
292084
|
+
"name": "boolean"
|
|
292085
|
+
}
|
|
292086
|
+
},
|
|
292087
|
+
"controller": {
|
|
292088
|
+
"defaultValue": null,
|
|
292089
|
+
"description": "A controller to control the state of the overlay.",
|
|
292090
|
+
"name": "controller",
|
|
292091
|
+
"parent": {
|
|
292092
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
292093
|
+
"name": "OverlayTriggerProps"
|
|
292094
|
+
},
|
|
292095
|
+
"declarations": [
|
|
292096
|
+
{
|
|
292097
|
+
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
292098
|
+
"name": "OverlayTriggerProps"
|
|
292099
|
+
}
|
|
292100
|
+
],
|
|
292101
|
+
"required": false,
|
|
292102
|
+
"type": {
|
|
292103
|
+
"name": "OverlayController"
|
|
292104
|
+
}
|
|
292105
|
+
},
|
|
292106
|
+
"wrapWith": {
|
|
292107
|
+
"defaultValue": null,
|
|
292108
|
+
"description": "",
|
|
292109
|
+
"name": "wrapWith",
|
|
292110
|
+
"parent": {
|
|
292111
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
292112
|
+
"name": "FlowComponentProps"
|
|
292113
|
+
},
|
|
292114
|
+
"declarations": [
|
|
292115
|
+
{
|
|
292116
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
292117
|
+
"name": "FlowComponentProps"
|
|
292118
|
+
}
|
|
292119
|
+
],
|
|
292120
|
+
"required": false,
|
|
292121
|
+
"type": {
|
|
292122
|
+
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
292123
|
+
}
|
|
292124
|
+
},
|
|
292125
|
+
"tunnelId": {
|
|
292126
|
+
"defaultValue": null,
|
|
292127
|
+
"description": "@internal",
|
|
292128
|
+
"name": "tunnelId",
|
|
292129
|
+
"parent": {
|
|
292130
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
292131
|
+
"name": "PropsWithTunnel"
|
|
292132
|
+
},
|
|
292133
|
+
"declarations": [
|
|
292134
|
+
{
|
|
292135
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
292136
|
+
"name": "PropsWithTunnel"
|
|
292137
|
+
}
|
|
292138
|
+
],
|
|
292139
|
+
"required": false,
|
|
292140
|
+
"type": {
|
|
292141
|
+
"name": "string | null"
|
|
292142
|
+
}
|
|
292143
|
+
},
|
|
292144
|
+
"ref": {
|
|
292145
|
+
"defaultValue": null,
|
|
292146
|
+
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
|
|
292147
|
+
"name": "ref",
|
|
292148
|
+
"parent": {
|
|
292149
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
292150
|
+
"name": "RefAttributes"
|
|
292151
|
+
},
|
|
292152
|
+
"declarations": [
|
|
292153
|
+
{
|
|
292154
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
292155
|
+
"name": "RefAttributes"
|
|
292156
|
+
}
|
|
292157
|
+
],
|
|
292158
|
+
"required": false,
|
|
292159
|
+
"type": {
|
|
292160
|
+
"name": "Ref<HTMLInputElement>"
|
|
292161
|
+
}
|
|
292162
|
+
},
|
|
292163
|
+
"key": {
|
|
292164
|
+
"defaultValue": null,
|
|
292165
|
+
"description": "",
|
|
292166
|
+
"name": "key",
|
|
292167
|
+
"parent": {
|
|
292168
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
292169
|
+
"name": "Attributes"
|
|
292170
|
+
},
|
|
292171
|
+
"declarations": [
|
|
292172
|
+
{
|
|
292173
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
292174
|
+
"name": "Attributes"
|
|
292175
|
+
}
|
|
292176
|
+
],
|
|
292177
|
+
"required": false,
|
|
292178
|
+
"type": {
|
|
292179
|
+
"name": "Key | null"
|
|
292180
|
+
}
|
|
292181
|
+
},
|
|
292182
|
+
"children": {
|
|
292183
|
+
"defaultValue": null,
|
|
292184
|
+
"description": "",
|
|
292185
|
+
"name": "children",
|
|
292186
|
+
"declarations": [
|
|
292187
|
+
{
|
|
292188
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
292189
|
+
"name": "TypeLiteral"
|
|
292190
|
+
}
|
|
292191
|
+
],
|
|
292192
|
+
"required": false,
|
|
292193
|
+
"type": {
|
|
292194
|
+
"name": "ReactNode"
|
|
292195
|
+
}
|
|
292196
|
+
}
|
|
292197
|
+
}
|
|
292198
|
+
},
|
|
292061
292199
|
{
|
|
292062
292200
|
"tags": {
|
|
292063
292201
|
"flr-generate": "all"
|
|
@@ -297446,144 +297584,6 @@
|
|
|
297446
297584
|
}
|
|
297447
297585
|
}
|
|
297448
297586
|
},
|
|
297449
|
-
{
|
|
297450
|
-
"tags": {},
|
|
297451
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/Modal/components/ModalTrigger/ModalTrigger.tsx",
|
|
297452
|
-
"description": "",
|
|
297453
|
-
"displayName": "ModalTrigger",
|
|
297454
|
-
"methods": [],
|
|
297455
|
-
"props": {
|
|
297456
|
-
"isDefaultOpen": {
|
|
297457
|
-
"defaultValue": null,
|
|
297458
|
-
"description": "Whether the overlay should be open initially.",
|
|
297459
|
-
"name": "isDefaultOpen",
|
|
297460
|
-
"parent": {
|
|
297461
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
297462
|
-
"name": "OverlayTriggerProps"
|
|
297463
|
-
},
|
|
297464
|
-
"declarations": [
|
|
297465
|
-
{
|
|
297466
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
297467
|
-
"name": "OverlayTriggerProps"
|
|
297468
|
-
}
|
|
297469
|
-
],
|
|
297470
|
-
"required": false,
|
|
297471
|
-
"type": {
|
|
297472
|
-
"name": "boolean"
|
|
297473
|
-
}
|
|
297474
|
-
},
|
|
297475
|
-
"controller": {
|
|
297476
|
-
"defaultValue": null,
|
|
297477
|
-
"description": "A controller to control the state of the overlay.",
|
|
297478
|
-
"name": "controller",
|
|
297479
|
-
"parent": {
|
|
297480
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
297481
|
-
"name": "OverlayTriggerProps"
|
|
297482
|
-
},
|
|
297483
|
-
"declarations": [
|
|
297484
|
-
{
|
|
297485
|
-
"fileName": "components/src/components/OverlayTrigger/OverlayTrigger.tsx",
|
|
297486
|
-
"name": "OverlayTriggerProps"
|
|
297487
|
-
}
|
|
297488
|
-
],
|
|
297489
|
-
"required": false,
|
|
297490
|
-
"type": {
|
|
297491
|
-
"name": "OverlayController"
|
|
297492
|
-
}
|
|
297493
|
-
},
|
|
297494
|
-
"wrapWith": {
|
|
297495
|
-
"defaultValue": null,
|
|
297496
|
-
"description": "",
|
|
297497
|
-
"name": "wrapWith",
|
|
297498
|
-
"parent": {
|
|
297499
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
297500
|
-
"name": "FlowComponentProps"
|
|
297501
|
-
},
|
|
297502
|
-
"declarations": [
|
|
297503
|
-
{
|
|
297504
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
297505
|
-
"name": "FlowComponentProps"
|
|
297506
|
-
}
|
|
297507
|
-
],
|
|
297508
|
-
"required": false,
|
|
297509
|
-
"type": {
|
|
297510
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
297511
|
-
}
|
|
297512
|
-
},
|
|
297513
|
-
"tunnelId": {
|
|
297514
|
-
"defaultValue": null,
|
|
297515
|
-
"description": "@internal",
|
|
297516
|
-
"name": "tunnelId",
|
|
297517
|
-
"parent": {
|
|
297518
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
297519
|
-
"name": "PropsWithTunnel"
|
|
297520
|
-
},
|
|
297521
|
-
"declarations": [
|
|
297522
|
-
{
|
|
297523
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
297524
|
-
"name": "PropsWithTunnel"
|
|
297525
|
-
}
|
|
297526
|
-
],
|
|
297527
|
-
"required": false,
|
|
297528
|
-
"type": {
|
|
297529
|
-
"name": "string | null"
|
|
297530
|
-
}
|
|
297531
|
-
},
|
|
297532
|
-
"ref": {
|
|
297533
|
-
"defaultValue": null,
|
|
297534
|
-
"description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
|
|
297535
|
-
"name": "ref",
|
|
297536
|
-
"parent": {
|
|
297537
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
297538
|
-
"name": "RefAttributes"
|
|
297539
|
-
},
|
|
297540
|
-
"declarations": [
|
|
297541
|
-
{
|
|
297542
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
297543
|
-
"name": "RefAttributes"
|
|
297544
|
-
}
|
|
297545
|
-
],
|
|
297546
|
-
"required": false,
|
|
297547
|
-
"type": {
|
|
297548
|
-
"name": "Ref<HTMLInputElement>"
|
|
297549
|
-
}
|
|
297550
|
-
},
|
|
297551
|
-
"key": {
|
|
297552
|
-
"defaultValue": null,
|
|
297553
|
-
"description": "",
|
|
297554
|
-
"name": "key",
|
|
297555
|
-
"parent": {
|
|
297556
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
297557
|
-
"name": "Attributes"
|
|
297558
|
-
},
|
|
297559
|
-
"declarations": [
|
|
297560
|
-
{
|
|
297561
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
297562
|
-
"name": "Attributes"
|
|
297563
|
-
}
|
|
297564
|
-
],
|
|
297565
|
-
"required": false,
|
|
297566
|
-
"type": {
|
|
297567
|
-
"name": "Key | null"
|
|
297568
|
-
}
|
|
297569
|
-
},
|
|
297570
|
-
"children": {
|
|
297571
|
-
"defaultValue": null,
|
|
297572
|
-
"description": "",
|
|
297573
|
-
"name": "children",
|
|
297574
|
-
"declarations": [
|
|
297575
|
-
{
|
|
297576
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.1.8/node_modules/@types/react/index.d.ts",
|
|
297577
|
-
"name": "TypeLiteral"
|
|
297578
|
-
}
|
|
297579
|
-
],
|
|
297580
|
-
"required": false,
|
|
297581
|
-
"type": {
|
|
297582
|
-
"name": "ReactNode"
|
|
297583
|
-
}
|
|
297584
|
-
}
|
|
297585
|
-
}
|
|
297586
|
-
},
|
|
297587
297587
|
{
|
|
297588
297588
|
"tags": {
|
|
297589
297589
|
"flr-generate": "all"
|
|
@@ -39,7 +39,12 @@ const MarkdownEditor = flowComponent("MarkdownEditor", (props) => {
|
|
|
39
39
|
value: value !== void 0 ? value : markdown,
|
|
40
40
|
rows,
|
|
41
41
|
autoResizeMaxRows,
|
|
42
|
-
onChange: (v) =>
|
|
42
|
+
onChange: (v) => {
|
|
43
|
+
if (onChange) {
|
|
44
|
+
onChange(v);
|
|
45
|
+
}
|
|
46
|
+
setMarkdown(v);
|
|
47
|
+
},
|
|
43
48
|
onKeyDown: (e) => handleKeyDown(e, textAreaRef, setMarkdown, onChange),
|
|
44
49
|
children: [
|
|
45
50
|
/* @__PURE__ */ jsx(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditor.mjs","sources":["../../../../../../src/components/MarkdownEditor/MarkdownEditor.tsx"],"sourcesContent":["import React, { useRef, useState } from \"react\";\nimport styles from \"./MarkdownEditor.module.scss\";\nimport { Markdown } from \"@/components/Markdown\";\nimport { TextArea, type TextAreaProps } from \"@/components/TextArea\";\nimport { Toolbar } from \"@/components/MarkdownEditor/components/Toolbar\";\nimport clsx from \"clsx\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { handleKeyDown } from \"@/components/MarkdownEditor/lib/handleKeyDown\";\n\nexport type MarkdownEditorMode = \"editor\" | \"preview\";\n\nexport type MarkdownEditorProps = TextAreaProps;\n\n/** @flr-generate all */\nexport const MarkdownEditor = flowComponent(\"MarkdownEditor\", (props) => {\n const {\n isDisabled,\n children,\n className,\n value,\n onChange,\n rows,\n autoResizeMaxRows,\n ...rest\n } = props;\n\n const [markdown, setMarkdown] = useState(value ?? \"\");\n const [mode, setMode] = useState<MarkdownEditorMode>(\"editor\");\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n\n const rootClassName = clsx(\n styles.markdownEditor,\n className,\n styles[`mode-${mode}`],\n );\n\n return (\n <TextArea\n {...rest}\n isDisabled={isDisabled || mode === \"preview\"}\n className={rootClassName}\n ref={textAreaRef}\n value={value !== undefined ? value : markdown}\n rows={rows}\n autoResizeMaxRows={autoResizeMaxRows}\n onChange={(v) => setMarkdown(v)}\n onKeyDown={(e) => handleKeyDown(e, textAreaRef, setMarkdown, onChange)}\n >\n <Toolbar\n markdown={markdown}\n setMarkdown={setMarkdown}\n textAreaRef={textAreaRef}\n setMode={setMode}\n mode={mode}\n isDisabled={isDisabled}\n onChange={onChange}\n />\n\n <Markdown\n className={styles.markdown}\n style={{\n maxHeight: `calc(var(--line-height--m) * ${autoResizeMaxRows ?? rows} + (var(--form-control--padding-y) * 2))`,\n }}\n >\n {markdown}\n </Markdown>\n\n {children}\n </TextArea>\n );\n});\n\nexport default MarkdownEditor;\n"],"names":[],"mappings":";;;;;;;;;;AAcO,MAAM,cAAiB,GAAA,aAAA,CAAc,gBAAkB,EAAA,CAAC,KAAU,KAAA;AACvE,EAAM,MAAA;AAAA,IACJ,UAAA;AAAA,IACA,QAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,IAAA;AAAA,IACA,iBAAA;AAAA,IACA,GAAG;AAAA,GACD,GAAA,KAAA;AAEJ,EAAA,MAAM,CAAC,QAAU,EAAA,WAAW,CAAI,GAAA,QAAA,CAAS,SAAS,EAAE,CAAA;AACpD,EAAA,MAAM,CAAC,IAAA,EAAM,OAAO,CAAA,GAAI,SAA6B,QAAQ,CAAA;AAC7D,EAAM,MAAA,WAAA,GAAc,OAA4B,IAAI,CAAA;AAEpD,EAAA,MAAM,aAAgB,GAAA,IAAA;AAAA,IACpB,MAAO,CAAA,cAAA;AAAA,IACP,SAAA;AAAA,IACA,MAAA,CAAO,CAAQ,KAAA,EAAA,IAAI,CAAE,CAAA;AAAA,GACvB;AAEA,EACE,uBAAA,IAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,UAAA,EAAY,cAAc,IAAS,KAAA,SAAA;AAAA,MACnC,SAAW,EAAA,aAAA;AAAA,MACX,GAAK,EAAA,WAAA;AAAA,MACL,KAAA,EAAO,KAAU,KAAA,MAAA,GAAY,KAAQ,GAAA,QAAA;AAAA,MACrC,IAAA;AAAA,MACA,iBAAA;AAAA,MACA,
|
|
1
|
+
{"version":3,"file":"MarkdownEditor.mjs","sources":["../../../../../../src/components/MarkdownEditor/MarkdownEditor.tsx"],"sourcesContent":["import React, { useRef, useState } from \"react\";\nimport styles from \"./MarkdownEditor.module.scss\";\nimport { Markdown } from \"@/components/Markdown\";\nimport { TextArea, type TextAreaProps } from \"@/components/TextArea\";\nimport { Toolbar } from \"@/components/MarkdownEditor/components/Toolbar\";\nimport clsx from \"clsx\";\nimport { flowComponent } from \"@/lib/componentFactory/flowComponent\";\nimport { handleKeyDown } from \"@/components/MarkdownEditor/lib/handleKeyDown\";\n\nexport type MarkdownEditorMode = \"editor\" | \"preview\";\n\nexport type MarkdownEditorProps = TextAreaProps;\n\n/** @flr-generate all */\nexport const MarkdownEditor = flowComponent(\"MarkdownEditor\", (props) => {\n const {\n isDisabled,\n children,\n className,\n value,\n onChange,\n rows,\n autoResizeMaxRows,\n ...rest\n } = props;\n\n const [markdown, setMarkdown] = useState(value ?? \"\");\n const [mode, setMode] = useState<MarkdownEditorMode>(\"editor\");\n const textAreaRef = useRef<HTMLTextAreaElement>(null);\n\n const rootClassName = clsx(\n styles.markdownEditor,\n className,\n styles[`mode-${mode}`],\n );\n\n return (\n <TextArea\n {...rest}\n isDisabled={isDisabled || mode === \"preview\"}\n className={rootClassName}\n ref={textAreaRef}\n value={value !== undefined ? value : markdown}\n rows={rows}\n autoResizeMaxRows={autoResizeMaxRows}\n onChange={(v) => {\n if (onChange) {\n onChange(v);\n }\n setMarkdown(v);\n }}\n onKeyDown={(e) => handleKeyDown(e, textAreaRef, setMarkdown, onChange)}\n >\n <Toolbar\n markdown={markdown}\n setMarkdown={setMarkdown}\n textAreaRef={textAreaRef}\n setMode={setMode}\n mode={mode}\n isDisabled={isDisabled}\n onChange={onChange}\n />\n\n <Markdown\n className={styles.markdown}\n style={{\n maxHeight: `calc(var(--line-height--m) * ${autoResizeMaxRows ?? rows} + (var(--form-control--padding-y) * 2))`,\n }}\n >\n {markdown}\n </Markdown>\n\n {children}\n </TextArea>\n );\n});\n\nexport default MarkdownEditor;\n"],"names":[],"mappings":";;;;;;;;;;AAcO,MAAM,cAAiB,GAAA,aAAA,CAAc,gBAAkB,EAAA,CAAC,KAAU,KAAA;AACvE,EAAM,MAAA;AAAA,IACJ,UAAA;AAAA,IACA,QAAA;AAAA,IACA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,QAAA;AAAA,IACA,IAAA;AAAA,IACA,iBAAA;AAAA,IACA,GAAG;AAAA,GACD,GAAA,KAAA;AAEJ,EAAA,MAAM,CAAC,QAAU,EAAA,WAAW,CAAI,GAAA,QAAA,CAAS,SAAS,EAAE,CAAA;AACpD,EAAA,MAAM,CAAC,IAAA,EAAM,OAAO,CAAA,GAAI,SAA6B,QAAQ,CAAA;AAC7D,EAAM,MAAA,WAAA,GAAc,OAA4B,IAAI,CAAA;AAEpD,EAAA,MAAM,aAAgB,GAAA,IAAA;AAAA,IACpB,MAAO,CAAA,cAAA;AAAA,IACP,SAAA;AAAA,IACA,MAAA,CAAO,CAAQ,KAAA,EAAA,IAAI,CAAE,CAAA;AAAA,GACvB;AAEA,EACE,uBAAA,IAAA;AAAA,IAAC,QAAA;AAAA,IAAA;AAAA,MACE,GAAG,IAAA;AAAA,MACJ,UAAA,EAAY,cAAc,IAAS,KAAA,SAAA;AAAA,MACnC,SAAW,EAAA,aAAA;AAAA,MACX,GAAK,EAAA,WAAA;AAAA,MACL,KAAA,EAAO,KAAU,KAAA,MAAA,GAAY,KAAQ,GAAA,QAAA;AAAA,MACrC,IAAA;AAAA,MACA,iBAAA;AAAA,MACA,QAAA,EAAU,CAAC,CAAM,KAAA;AACf,QAAA,IAAI,QAAU,EAAA;AACZ,UAAA,QAAA,CAAS,CAAC,CAAA;AAAA;AAEZ,QAAA,WAAA,CAAY,CAAC,CAAA;AAAA,OACf;AAAA,MACA,WAAW,CAAC,CAAA,KAAM,cAAc,CAAG,EAAA,WAAA,EAAa,aAAa,QAAQ,CAAA;AAAA,MAErE,QAAA,EAAA;AAAA,wBAAA,GAAA;AAAA,UAAC,OAAA;AAAA,UAAA;AAAA,YACC,QAAA;AAAA,YACA,WAAA;AAAA,YACA,WAAA;AAAA,YACA,OAAA;AAAA,YACA,IAAA;AAAA,YACA,UAAA;AAAA,YACA;AAAA;AAAA,SACF;AAAA,wBAEA,GAAA;AAAA,UAAC,QAAA;AAAA,UAAA;AAAA,YACC,WAAW,MAAO,CAAA,QAAA;AAAA,YAClB,KAAO,EAAA;AAAA,cACL,SAAA,EAAW,CAAgC,6BAAA,EAAA,iBAAA,IAAqB,IAAI,CAAA,wCAAA;AAAA,aACtE;AAAA,YAEC,QAAA,EAAA;AAAA;AAAA,SACH;AAAA,QAEC;AAAA;AAAA;AAAA,GACH;AAEJ,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownEditor/MarkdownEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAMrE,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAEhD,wBAAwB;AACxB,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"MarkdownEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownEditor/MarkdownEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAGhD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAMrE,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEtD,MAAM,MAAM,mBAAmB,GAAG,aAAa,CAAC;AAEhD,wBAAwB;AACxB,eAAO,MAAM,cAAc,mFA6DzB,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
|
@@ -10,4 +10,5 @@ export declare const ShowCharacterCount: Story;
|
|
|
10
10
|
export declare const WithFieldError: Story;
|
|
11
11
|
export declare const Resizeable: Story;
|
|
12
12
|
export declare const WithForm: Story;
|
|
13
|
+
export declare const WithOnChange: Story;
|
|
13
14
|
//# sourceMappingURL=Default.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/MarkdownEditor/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAQ7D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAKrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAAsC,CAAC;AAE9D,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAExB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAuBtB,CAAC"}
|
|
1
|
+
{"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/MarkdownEditor/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAQ7D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAKrC,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAAsC,CAAC;AAE9D,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAEhC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAExB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAuBtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAQ1B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-react-components",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.461",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@internationalized/string-compiler": "^3.2.6",
|
|
59
59
|
"@mittwald/password-tools-js": "3.0.0-alpha.18",
|
|
60
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
60
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.461",
|
|
61
61
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
62
62
|
"@react-aria/form": "^3.1.0",
|
|
63
63
|
"@react-aria/live-announcer": "^3.4.4",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"@faker-js/faker": "^9.9.0",
|
|
101
101
|
"@internationalized/date": "^3.8.2",
|
|
102
102
|
"@mittwald/flow-core": "",
|
|
103
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
103
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.461",
|
|
104
104
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
105
105
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.3",
|
|
106
106
|
"@mittwald/typescript-config": "",
|
|
@@ -173,5 +173,5 @@
|
|
|
173
173
|
"optional": true
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
"gitHead": "
|
|
176
|
+
"gitHead": "466fc85d8ec353137df1bc540c2b78ac2ab93fff"
|
|
177
177
|
}
|