@mittwald/flow-react-components 0.2.0-alpha.217 → 0.2.0-alpha.219
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 +10 -0
- package/dist/assets/doc-properties.json +162 -167
- package/dist/js/components/src/components/LightBox/LightBox.mjs +6 -5
- package/dist/js/components/src/components/LightBox/LightBox.mjs.map +1 -1
- package/dist/js/components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.mjs +3 -3
- package/dist/js/components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.mjs.map +1 -1
- package/dist/js/components/src/components/Markdown/Markdown.mjs +5 -2
- package/dist/js/components/src/components/Markdown/Markdown.mjs.map +1 -1
- package/dist/js/components/src/lib/react/cloneElement.mjs +1 -3
- package/dist/js/components/src/lib/react/cloneElement.mjs.map +1 -1
- package/dist/js/components/src/lib/react/remote.mjs +13 -0
- package/dist/js/components/src/lib/react/remote.mjs.map +1 -0
- package/dist/js/flr-universal.mjs +6 -5
- package/dist/js/flr-universal.mjs.map +1 -1
- package/dist/types/components/LightBox/LightBox.d.ts +2 -6
- package/dist/types/components/LightBox/LightBox.d.ts.map +1 -1
- package/dist/types/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.d.ts +0 -1
- package/dist/types/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.d.ts.map +1 -1
- package/dist/types/components/LightBox/components/LightBoxTrigger/index.d.ts +0 -1
- package/dist/types/components/LightBox/components/LightBoxTrigger/index.d.ts.map +1 -1
- package/dist/types/components/LightBox/index.d.ts +0 -1
- package/dist/types/components/LightBox/index.d.ts.map +1 -1
- package/dist/types/components/Markdown/Markdown.d.ts.map +1 -1
- package/dist/types/index/flr-universal.d.ts +1 -1
- package/dist/types/index/flr-universal.d.ts.map +1 -1
- package/dist/types/lib/react/cloneElement.d.ts.map +1 -1
- package/dist/types/lib/react/remote.d.ts +4 -0
- package/dist/types/lib/react/remote.d.ts.map +1 -0
- package/package.json +4 -4
- package/dist/types/components/LightBox/components/LightBoxTrigger/view.d.ts +0 -8
- package/dist/types/components/LightBox/components/LightBoxTrigger/view.d.ts.map +0 -1
- package/dist/types/components/LightBox/view.d.ts +0 -8
- package/dist/types/components/LightBox/view.d.ts.map +0 -1
- package/dist/types/views/LightBoxTriggerView.d.ts +0 -5
- package/dist/types/views/LightBoxTriggerView.d.ts.map +0 -1
- package/dist/types/views/LightBoxView.d.ts +0 -5
- package/dist/types/views/LightBoxView.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.219](https://github.com/mittwald/flow/compare/0.2.0-alpha.218...0.2.0-alpha.219) (2025-05-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **Markdown:** fix not rendering in remote context ([#1531](https://github.com/mittwald/flow/issues/1531)) ([33b1a9e](https://github.com/mittwald/flow/commit/33b1a9e310fc3195367844c292624fddaa704f26))
|
|
11
|
+
|
|
12
|
+
# [0.2.0-alpha.218](https://github.com/mittwald/flow/compare/0.2.0-alpha.217...0.2.0-alpha.218) (2025-05-28)
|
|
13
|
+
|
|
14
|
+
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
15
|
+
|
|
6
16
|
# [0.2.0-alpha.217](https://github.com/mittwald/flow/compare/0.2.0-alpha.216...0.2.0-alpha.217) (2025-05-28)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @mittwald/flow-react-components
|
|
@@ -62605,10 +62605,7 @@
|
|
|
62605
62605
|
}
|
|
62606
62606
|
},
|
|
62607
62607
|
{
|
|
62608
|
-
"tags": {
|
|
62609
|
-
"flr-generate": "all",
|
|
62610
|
-
"flr-clear-props-context": ""
|
|
62611
|
-
},
|
|
62608
|
+
"tags": {},
|
|
62612
62609
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/LightBox/LightBox.tsx",
|
|
62613
62610
|
"description": "",
|
|
62614
62611
|
"displayName": "LightBox",
|
|
@@ -132224,166 +132221,6 @@
|
|
|
132224
132221
|
}
|
|
132225
132222
|
}
|
|
132226
132223
|
},
|
|
132227
|
-
{
|
|
132228
|
-
"tags": {
|
|
132229
|
-
"flr-generate": "all",
|
|
132230
|
-
"flr-clear-props-context": ""
|
|
132231
|
-
},
|
|
132232
|
-
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/FieldError/FieldError.tsx",
|
|
132233
|
-
"description": "",
|
|
132234
|
-
"displayName": "FieldError",
|
|
132235
|
-
"methods": [],
|
|
132236
|
-
"props": {
|
|
132237
|
-
"className": {
|
|
132238
|
-
"defaultValue": null,
|
|
132239
|
-
"description": "The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.",
|
|
132240
|
-
"name": "className",
|
|
132241
|
-
"parent": {
|
|
132242
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
132243
|
-
"name": "StyleRenderProps"
|
|
132244
|
-
},
|
|
132245
|
-
"declarations": [
|
|
132246
|
-
{
|
|
132247
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
132248
|
-
"name": "StyleRenderProps"
|
|
132249
|
-
}
|
|
132250
|
-
],
|
|
132251
|
-
"required": false,
|
|
132252
|
-
"type": {
|
|
132253
|
-
"name": "string | ((values: FieldErrorRenderProps & { defaultClassName: string; }) => string)"
|
|
132254
|
-
}
|
|
132255
|
-
},
|
|
132256
|
-
"id": {
|
|
132257
|
-
"defaultValue": null,
|
|
132258
|
-
"description": "The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).",
|
|
132259
|
-
"name": "id",
|
|
132260
|
-
"parent": {
|
|
132261
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.28.0_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
132262
|
-
"name": "DOMProps"
|
|
132263
|
-
},
|
|
132264
|
-
"declarations": [
|
|
132265
|
-
{
|
|
132266
|
-
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.28.0_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
132267
|
-
"name": "DOMProps"
|
|
132268
|
-
}
|
|
132269
|
-
],
|
|
132270
|
-
"required": false,
|
|
132271
|
-
"type": {
|
|
132272
|
-
"name": "string"
|
|
132273
|
-
}
|
|
132274
|
-
},
|
|
132275
|
-
"style": {
|
|
132276
|
-
"defaultValue": null,
|
|
132277
|
-
"description": "The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.",
|
|
132278
|
-
"name": "style",
|
|
132279
|
-
"parent": {
|
|
132280
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
132281
|
-
"name": "StyleRenderProps"
|
|
132282
|
-
},
|
|
132283
|
-
"declarations": [
|
|
132284
|
-
{
|
|
132285
|
-
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
132286
|
-
"name": "StyleRenderProps"
|
|
132287
|
-
}
|
|
132288
|
-
],
|
|
132289
|
-
"required": false,
|
|
132290
|
-
"type": {
|
|
132291
|
-
"name": "CSSProperties | ((values: FieldErrorRenderProps & { defaultStyle: CSSProperties; }) => CSSProperties)"
|
|
132292
|
-
}
|
|
132293
|
-
},
|
|
132294
|
-
"children": {
|
|
132295
|
-
"defaultValue": null,
|
|
132296
|
-
"description": "",
|
|
132297
|
-
"name": "children",
|
|
132298
|
-
"declarations": [
|
|
132299
|
-
{
|
|
132300
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
132301
|
-
"name": "TypeLiteral"
|
|
132302
|
-
}
|
|
132303
|
-
],
|
|
132304
|
-
"required": false,
|
|
132305
|
-
"type": {
|
|
132306
|
-
"name": "ReactNode"
|
|
132307
|
-
}
|
|
132308
|
-
},
|
|
132309
|
-
"wrapWith": {
|
|
132310
|
-
"defaultValue": null,
|
|
132311
|
-
"description": "",
|
|
132312
|
-
"name": "wrapWith",
|
|
132313
|
-
"parent": {
|
|
132314
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
132315
|
-
"name": "FlowComponentProps"
|
|
132316
|
-
},
|
|
132317
|
-
"declarations": [
|
|
132318
|
-
{
|
|
132319
|
-
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
132320
|
-
"name": "FlowComponentProps"
|
|
132321
|
-
}
|
|
132322
|
-
],
|
|
132323
|
-
"required": false,
|
|
132324
|
-
"type": {
|
|
132325
|
-
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
132326
|
-
}
|
|
132327
|
-
},
|
|
132328
|
-
"tunnelId": {
|
|
132329
|
-
"defaultValue": null,
|
|
132330
|
-
"description": "@internal",
|
|
132331
|
-
"name": "tunnelId",
|
|
132332
|
-
"parent": {
|
|
132333
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
132334
|
-
"name": "PropsWithTunnel"
|
|
132335
|
-
},
|
|
132336
|
-
"declarations": [
|
|
132337
|
-
{
|
|
132338
|
-
"fileName": "components/src/lib/types/props.ts",
|
|
132339
|
-
"name": "PropsWithTunnel"
|
|
132340
|
-
}
|
|
132341
|
-
],
|
|
132342
|
-
"required": false,
|
|
132343
|
-
"type": {
|
|
132344
|
-
"name": "string | null"
|
|
132345
|
-
}
|
|
132346
|
-
},
|
|
132347
|
-
"ref": {
|
|
132348
|
-
"defaultValue": null,
|
|
132349
|
-
"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}",
|
|
132350
|
-
"name": "ref",
|
|
132351
|
-
"parent": {
|
|
132352
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
132353
|
-
"name": "RefAttributes"
|
|
132354
|
-
},
|
|
132355
|
-
"declarations": [
|
|
132356
|
-
{
|
|
132357
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
132358
|
-
"name": "RefAttributes"
|
|
132359
|
-
}
|
|
132360
|
-
],
|
|
132361
|
-
"required": false,
|
|
132362
|
-
"type": {
|
|
132363
|
-
"name": "Ref<HTMLDivElement>"
|
|
132364
|
-
}
|
|
132365
|
-
},
|
|
132366
|
-
"key": {
|
|
132367
|
-
"defaultValue": null,
|
|
132368
|
-
"description": "",
|
|
132369
|
-
"name": "key",
|
|
132370
|
-
"parent": {
|
|
132371
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
132372
|
-
"name": "Attributes"
|
|
132373
|
-
},
|
|
132374
|
-
"declarations": [
|
|
132375
|
-
{
|
|
132376
|
-
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
132377
|
-
"name": "Attributes"
|
|
132378
|
-
}
|
|
132379
|
-
],
|
|
132380
|
-
"required": false,
|
|
132381
|
-
"type": {
|
|
132382
|
-
"name": "Key | null"
|
|
132383
|
-
}
|
|
132384
|
-
}
|
|
132385
|
-
}
|
|
132386
|
-
},
|
|
132387
132224
|
{
|
|
132388
132225
|
"tags": {
|
|
132389
132226
|
"flr-generate": "all",
|
|
@@ -137784,6 +137621,166 @@
|
|
|
137784
137621
|
}
|
|
137785
137622
|
}
|
|
137786
137623
|
},
|
|
137624
|
+
{
|
|
137625
|
+
"tags": {
|
|
137626
|
+
"flr-generate": "all",
|
|
137627
|
+
"flr-clear-props-context": ""
|
|
137628
|
+
},
|
|
137629
|
+
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/FieldError/FieldError.tsx",
|
|
137630
|
+
"description": "",
|
|
137631
|
+
"displayName": "FieldError",
|
|
137632
|
+
"methods": [],
|
|
137633
|
+
"props": {
|
|
137634
|
+
"className": {
|
|
137635
|
+
"defaultValue": null,
|
|
137636
|
+
"description": "The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state.",
|
|
137637
|
+
"name": "className",
|
|
137638
|
+
"parent": {
|
|
137639
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
137640
|
+
"name": "StyleRenderProps"
|
|
137641
|
+
},
|
|
137642
|
+
"declarations": [
|
|
137643
|
+
{
|
|
137644
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
137645
|
+
"name": "StyleRenderProps"
|
|
137646
|
+
}
|
|
137647
|
+
],
|
|
137648
|
+
"required": false,
|
|
137649
|
+
"type": {
|
|
137650
|
+
"name": "string | ((values: FieldErrorRenderProps & { defaultClassName: string; }) => string)"
|
|
137651
|
+
}
|
|
137652
|
+
},
|
|
137653
|
+
"id": {
|
|
137654
|
+
"defaultValue": null,
|
|
137655
|
+
"description": "The element's unique identifier. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id).",
|
|
137656
|
+
"name": "id",
|
|
137657
|
+
"parent": {
|
|
137658
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.28.0_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
137659
|
+
"name": "DOMProps"
|
|
137660
|
+
},
|
|
137661
|
+
"declarations": [
|
|
137662
|
+
{
|
|
137663
|
+
"fileName": "flow/node_modules/.pnpm/@react-types+shared@3.28.0_react@19.1.0/node_modules/@react-types/shared/src/dom.d.ts",
|
|
137664
|
+
"name": "DOMProps"
|
|
137665
|
+
}
|
|
137666
|
+
],
|
|
137667
|
+
"required": false,
|
|
137668
|
+
"type": {
|
|
137669
|
+
"name": "string"
|
|
137670
|
+
}
|
|
137671
|
+
},
|
|
137672
|
+
"style": {
|
|
137673
|
+
"defaultValue": null,
|
|
137674
|
+
"description": "The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state.",
|
|
137675
|
+
"name": "style",
|
|
137676
|
+
"parent": {
|
|
137677
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
137678
|
+
"name": "StyleRenderProps"
|
|
137679
|
+
},
|
|
137680
|
+
"declarations": [
|
|
137681
|
+
{
|
|
137682
|
+
"fileName": "flow/node_modules/.pnpm/react-aria-components@1.7.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/types.d.ts",
|
|
137683
|
+
"name": "StyleRenderProps"
|
|
137684
|
+
}
|
|
137685
|
+
],
|
|
137686
|
+
"required": false,
|
|
137687
|
+
"type": {
|
|
137688
|
+
"name": "CSSProperties | ((values: FieldErrorRenderProps & { defaultStyle: CSSProperties; }) => CSSProperties)"
|
|
137689
|
+
}
|
|
137690
|
+
},
|
|
137691
|
+
"children": {
|
|
137692
|
+
"defaultValue": null,
|
|
137693
|
+
"description": "",
|
|
137694
|
+
"name": "children",
|
|
137695
|
+
"declarations": [
|
|
137696
|
+
{
|
|
137697
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
137698
|
+
"name": "TypeLiteral"
|
|
137699
|
+
}
|
|
137700
|
+
],
|
|
137701
|
+
"required": false,
|
|
137702
|
+
"type": {
|
|
137703
|
+
"name": "ReactNode"
|
|
137704
|
+
}
|
|
137705
|
+
},
|
|
137706
|
+
"wrapWith": {
|
|
137707
|
+
"defaultValue": null,
|
|
137708
|
+
"description": "",
|
|
137709
|
+
"name": "wrapWith",
|
|
137710
|
+
"parent": {
|
|
137711
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
137712
|
+
"name": "FlowComponentProps"
|
|
137713
|
+
},
|
|
137714
|
+
"declarations": [
|
|
137715
|
+
{
|
|
137716
|
+
"fileName": "components/src/lib/componentFactory/flowComponent.tsx",
|
|
137717
|
+
"name": "FlowComponentProps"
|
|
137718
|
+
}
|
|
137719
|
+
],
|
|
137720
|
+
"required": false,
|
|
137721
|
+
"type": {
|
|
137722
|
+
"name": "ReactElement<unknown, string | JSXElementConstructor<any>>"
|
|
137723
|
+
}
|
|
137724
|
+
},
|
|
137725
|
+
"tunnelId": {
|
|
137726
|
+
"defaultValue": null,
|
|
137727
|
+
"description": "@internal",
|
|
137728
|
+
"name": "tunnelId",
|
|
137729
|
+
"parent": {
|
|
137730
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
137731
|
+
"name": "PropsWithTunnel"
|
|
137732
|
+
},
|
|
137733
|
+
"declarations": [
|
|
137734
|
+
{
|
|
137735
|
+
"fileName": "components/src/lib/types/props.ts",
|
|
137736
|
+
"name": "PropsWithTunnel"
|
|
137737
|
+
}
|
|
137738
|
+
],
|
|
137739
|
+
"required": false,
|
|
137740
|
+
"type": {
|
|
137741
|
+
"name": "string | null"
|
|
137742
|
+
}
|
|
137743
|
+
},
|
|
137744
|
+
"ref": {
|
|
137745
|
+
"defaultValue": null,
|
|
137746
|
+
"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}",
|
|
137747
|
+
"name": "ref",
|
|
137748
|
+
"parent": {
|
|
137749
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
137750
|
+
"name": "RefAttributes"
|
|
137751
|
+
},
|
|
137752
|
+
"declarations": [
|
|
137753
|
+
{
|
|
137754
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
137755
|
+
"name": "RefAttributes"
|
|
137756
|
+
}
|
|
137757
|
+
],
|
|
137758
|
+
"required": false,
|
|
137759
|
+
"type": {
|
|
137760
|
+
"name": "Ref<HTMLDivElement>"
|
|
137761
|
+
}
|
|
137762
|
+
},
|
|
137763
|
+
"key": {
|
|
137764
|
+
"defaultValue": null,
|
|
137765
|
+
"description": "",
|
|
137766
|
+
"name": "key",
|
|
137767
|
+
"parent": {
|
|
137768
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
137769
|
+
"name": "Attributes"
|
|
137770
|
+
},
|
|
137771
|
+
"declarations": [
|
|
137772
|
+
{
|
|
137773
|
+
"fileName": "flow/node_modules/.pnpm/@types+react@19.0.10/node_modules/@types/react/index.d.ts",
|
|
137774
|
+
"name": "Attributes"
|
|
137775
|
+
}
|
|
137776
|
+
],
|
|
137777
|
+
"required": false,
|
|
137778
|
+
"type": {
|
|
137779
|
+
"name": "Key | null"
|
|
137780
|
+
}
|
|
137781
|
+
}
|
|
137782
|
+
}
|
|
137783
|
+
},
|
|
137787
137784
|
{
|
|
137788
137785
|
"tags": {},
|
|
137789
137786
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/EmulatedBoldText/EmulatedBoldText.tsx",
|
|
@@ -228341,9 +228338,7 @@
|
|
|
228341
228338
|
}
|
|
228342
228339
|
},
|
|
228343
228340
|
{
|
|
228344
|
-
"tags": {
|
|
228345
|
-
"flr-generate": "all"
|
|
228346
|
-
},
|
|
228341
|
+
"tags": {},
|
|
228347
228342
|
"filePath": "/home/runner/work/flow/flow/packages/components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx",
|
|
228348
228343
|
"description": "",
|
|
228349
228344
|
"displayName": "LightBoxTrigger",
|
|
@@ -2,20 +2,21 @@
|
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
4
|
import { flowComponent } from '../../lib/componentFactory/flowComponent.mjs';
|
|
5
|
-
import 'react';
|
|
6
5
|
import { Overlay } from '../Overlay/Overlay.mjs';
|
|
7
6
|
import clsx from 'clsx';
|
|
8
7
|
import 'mobx';
|
|
8
|
+
import 'react';
|
|
9
9
|
import { useOverlayController } from '../../lib/controller/overlay/useOverlayController.mjs';
|
|
10
10
|
import '../../lib/propsContext/propsContext.mjs';
|
|
11
11
|
import '../../lib/viewComponentContext/viewComponentContext.mjs';
|
|
12
12
|
import { PropsContextProvider } from '../../lib/propsContext/PropsContextProvider.mjs';
|
|
13
|
-
import { Button } from '../Button/Button.mjs';
|
|
14
13
|
import '@tabler/icons-react';
|
|
15
14
|
import '../Icon/Icon.mjs';
|
|
16
15
|
import { IconClose } from '../Icon/components/icons/IconClose.mjs';
|
|
17
16
|
import styles from './LightBox.module.scss.mjs';
|
|
18
17
|
import { TunnelProvider, TunnelExit } from '@mittwald/react-tunnel';
|
|
18
|
+
import DivView from '../../views/DivView.mjs';
|
|
19
|
+
import ButtonView from '../../views/ButtonView.mjs';
|
|
19
20
|
|
|
20
21
|
const LightBox = flowComponent("LightBox", (props) => {
|
|
21
22
|
const {
|
|
@@ -50,9 +51,9 @@ const LightBox = flowComponent("LightBox", (props) => {
|
|
|
50
51
|
controller,
|
|
51
52
|
...rest,
|
|
52
53
|
children: /* @__PURE__ */ jsx(PropsContextProvider, { props: propsContext, children: /* @__PURE__ */ jsxs(TunnelProvider, { children: [
|
|
53
|
-
/* @__PURE__ */ jsx(
|
|
54
|
-
/* @__PURE__ */ jsxs(
|
|
55
|
-
/* @__PURE__ */ jsx(
|
|
54
|
+
/* @__PURE__ */ jsx(DivView, { className: styles.content, children }),
|
|
55
|
+
/* @__PURE__ */ jsxs(DivView, { className: styles.actions, children: [
|
|
56
|
+
/* @__PURE__ */ jsx(ButtonView, { color: "light", variant: "soft", onPress: controller.close, children: /* @__PURE__ */ jsx(IconClose, {}) }),
|
|
56
57
|
/* @__PURE__ */ jsx(TunnelExit, { id: "actionGroup" })
|
|
57
58
|
] })
|
|
58
59
|
] }) })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightBox.mjs","sources":["../../../../../../src/components/LightBox/LightBox.tsx"],"sourcesContent":["import {\n flowComponent,\n type FlowComponentProps,\n} from \"@/lib/componentFactory/flowComponent\";\nimport type { PropsWithChildren } from \"react\";\nimport
|
|
1
|
+
{"version":3,"file":"LightBox.mjs","sources":["../../../../../../src/components/LightBox/LightBox.tsx"],"sourcesContent":["import {\n flowComponent,\n type FlowComponentProps,\n} from \"@/lib/componentFactory/flowComponent\";\nimport type { PropsWithChildren } from \"react\";\nimport type { PropsWithClassName } from \"@/lib/types/props\";\nimport { Overlay } from \"@/components/Overlay/Overlay\";\nimport clsx from \"clsx\";\nimport type { OverlayController } from \"@/lib/controller\";\nimport { useOverlayController } from \"@/lib/controller\";\nimport type { PropsContext } from \"@/lib/propsContext\";\nimport { PropsContextProvider } from \"@/lib/propsContext\";\nimport { IconClose } from \"@/components/Icon/components/icons\";\nimport styles from \"./LightBox.module.scss\";\nimport { TunnelExit, TunnelProvider } from \"@mittwald/react-tunnel\";\nimport DivView from \"@/views/DivView\";\nimport ButtonView from \"@/views/ButtonView\";\n\nexport interface LightBoxProps\n extends PropsWithChildren,\n FlowComponentProps,\n PropsWithClassName {\n /** An overlay controller to control the light box state. */\n controller?: OverlayController;\n /**\n * Whether content can be displayed larger than the available space in the\n * screen. @default true\n */\n fitScreen?: boolean;\n}\n\nexport const LightBox = flowComponent(\"LightBox\", (props) => {\n const {\n controller: controllerFromProps,\n children,\n ref: ignoredRef,\n className,\n fitScreen = true,\n ...rest\n } = props;\n\n const rootClassName = clsx(\n styles.lightBox,\n fitScreen && styles.fitScreen,\n className,\n );\n\n const propsContext: PropsContext = {\n ActionGroup: {\n className: styles.actionGroup,\n Button: { variant: \"soft\", color: \"light\" },\n tunnelId: \"actionGroup\",\n },\n };\n\n const controllerFromContext = useOverlayController(\"LightBox\", {\n reuseControllerFromContext: true,\n });\n\n const controller = controllerFromProps ?? controllerFromContext;\n\n return (\n <Overlay\n overlayType=\"LightBox\"\n className={rootClassName}\n controller={controller}\n {...rest}\n >\n <PropsContextProvider props={propsContext}>\n <TunnelProvider>\n <DivView className={styles.content}>{children}</DivView>\n <DivView className={styles.actions}>\n <ButtonView color=\"light\" variant=\"soft\" onPress={controller.close}>\n <IconClose />\n </ButtonView>\n <TunnelExit id=\"actionGroup\" />\n </DivView>\n </TunnelProvider>\n </PropsContextProvider>\n </Overlay>\n );\n});\n\nexport default LightBox;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA+BO,MAAM,QAAW,GAAA,aAAA,CAAc,UAAY,EAAA,CAAC,KAAU,KAAA;AAC3D,EAAM,MAAA;AAAA,IACJ,UAAY,EAAA,mBAAA;AAAA,IACZ,QAAA;AAAA,IACA,GAAK,EAAA,UAAA;AAAA,IACL,SAAA;AAAA,IACA,SAAY,GAAA,IAAA;AAAA,IACZ,GAAG;AAAA,GACD,GAAA,KAAA;AAEJ,EAAA,MAAM,aAAgB,GAAA,IAAA;AAAA,IACpB,MAAO,CAAA,QAAA;AAAA,IACP,aAAa,MAAO,CAAA,SAAA;AAAA,IACpB;AAAA,GACF;AAEA,EAAA,MAAM,YAA6B,GAAA;AAAA,IACjC,WAAa,EAAA;AAAA,MACX,WAAW,MAAO,CAAA,WAAA;AAAA,MAClB,MAAQ,EAAA,EAAE,OAAS,EAAA,MAAA,EAAQ,OAAO,OAAQ,EAAA;AAAA,MAC1C,QAAU,EAAA;AAAA;AACZ,GACF;AAEA,EAAM,MAAA,qBAAA,GAAwB,qBAAqB,UAAY,EAAA;AAAA,IAC7D,0BAA4B,EAAA;AAAA,GAC7B,CAAA;AAED,EAAA,MAAM,aAAa,mBAAuB,IAAA,qBAAA;AAE1C,EACE,uBAAA,GAAA;AAAA,IAAC,OAAA;AAAA,IAAA;AAAA,MACC,WAAY,EAAA,UAAA;AAAA,MACZ,SAAW,EAAA,aAAA;AAAA,MACX,UAAA;AAAA,MACC,GAAG,IAAA;AAAA,MAEJ,QAAC,kBAAA,GAAA,CAAA,oBAAA,EAAA,EAAqB,KAAO,EAAA,YAAA,EAC3B,+BAAC,cACC,EAAA,EAAA,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,OAAQ,EAAA,EAAA,SAAA,EAAW,MAAO,CAAA,OAAA,EAAU,QAAS,EAAA,CAAA;AAAA,wBAC7C,IAAA,CAAA,OAAA,EAAA,EAAQ,SAAW,EAAA,MAAA,CAAO,OACzB,EAAA,QAAA,EAAA;AAAA,0BAAC,GAAA,CAAA,UAAA,EAAA,EAAW,KAAM,EAAA,OAAA,EAAQ,OAAQ,EAAA,MAAA,EAAO,SAAS,UAAW,CAAA,KAAA,EAC3D,QAAC,kBAAA,GAAA,CAAA,SAAA,EAAA,EAAU,CACb,EAAA,CAAA;AAAA,0BACA,GAAA,CAAC,UAAW,EAAA,EAAA,EAAA,EAAG,aAAc,EAAA;AAAA,SAC/B,EAAA;AAAA,OAAA,EACF,CACF,EAAA;AAAA;AAAA,GACF;AAEJ,CAAC;;;;"}
|
package/dist/js/components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
3
|
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
import
|
|
5
|
-
import 'react';
|
|
4
|
+
import 'react-aria-components';
|
|
6
5
|
import '../../../OverlayTrigger/components/MenuTrigger/MenuTrigger.mjs';
|
|
7
6
|
import { OverlayTrigger } from '../../../OverlayTrigger/OverlayTrigger.mjs';
|
|
7
|
+
import DialogTriggerView from '../../../../views/DialogTriggerView.mjs';
|
|
8
8
|
|
|
9
9
|
const LightBoxTrigger = (props) => {
|
|
10
10
|
const { children, ...triggerProps } = props;
|
|
@@ -13,7 +13,7 @@ const LightBoxTrigger = (props) => {
|
|
|
13
13
|
{
|
|
14
14
|
overlayType: "LightBox",
|
|
15
15
|
...triggerProps,
|
|
16
|
-
component:
|
|
16
|
+
component: DialogTriggerView,
|
|
17
17
|
children
|
|
18
18
|
}
|
|
19
19
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightBoxTrigger.mjs","sources":["../../../../../../../../src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"LightBoxTrigger.mjs","sources":["../../../../../../../../src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport type { OverlayTriggerProps } from \"@/components/OverlayTrigger\";\nimport { OverlayTrigger } from \"@/components/OverlayTrigger\";\nimport DialogTriggerView from \"@/views/DialogTriggerView\";\n\nexport type LightBoxTriggerProps = OverlayTriggerProps;\n\nexport const LightBoxTrigger: FC<LightBoxTriggerProps> = (props) => {\n const { children, ...triggerProps } = props;\n return (\n <OverlayTrigger\n overlayType=\"LightBox\"\n {...triggerProps}\n component={DialogTriggerView}\n >\n {children}\n </OverlayTrigger>\n );\n};\n"],"names":[],"mappings":";;;;;;AAOa,MAAA,eAAA,GAA4C,CAAC,KAAU,KAAA;AAClE,EAAA,MAAM,EAAE,QAAA,EAAU,GAAG,YAAA,EAAiB,GAAA,KAAA;AACtC,EACE,uBAAA,GAAA;AAAA,IAAC,cAAA;AAAA,IAAA;AAAA,MACC,WAAY,EAAA,UAAA;AAAA,MACX,GAAG,YAAA;AAAA,MACJ,SAAW,EAAA,iBAAA;AAAA,MAEV;AAAA;AAAA,GACH;AAEJ;;;;"}
|
|
@@ -7,9 +7,10 @@ import { InlineCode } from '../InlineCode/InlineCode.mjs';
|
|
|
7
7
|
import { Link } from '../Link/Link.mjs';
|
|
8
8
|
import { Separator } from '../Separator/Separator.mjs';
|
|
9
9
|
import { Text } from '../Text/Text.mjs';
|
|
10
|
-
import {
|
|
10
|
+
import React, { isValidElement, Children } from 'react';
|
|
11
11
|
import ReactMarkdown from 'react-markdown';
|
|
12
12
|
import styles from './Markdown.module.scss.mjs';
|
|
13
|
+
import { isRemoteTextRenderProps } from '../../lib/react/remote.mjs';
|
|
13
14
|
|
|
14
15
|
const Markdown = (props) => {
|
|
15
16
|
const { children, color = "default", ...rest } = props;
|
|
@@ -44,7 +45,9 @@ const Markdown = (props) => {
|
|
|
44
45
|
ol: (props2) => /* @__PURE__ */ jsx(Text, { color: textColor, children: /* @__PURE__ */ jsx("ol", { children: props2.children }) }),
|
|
45
46
|
blockquote: (props2) => /* @__PURE__ */ jsx(Text, { color: textColor, children: /* @__PURE__ */ jsx("blockquote", { children: props2.children }) })
|
|
46
47
|
};
|
|
47
|
-
|
|
48
|
+
const firstChild = React.Children.toArray(children)[0];
|
|
49
|
+
const textContent = typeof firstChild === "string" ? firstChild : isValidElement(firstChild) && isRemoteTextRenderProps(firstChild.props) ? firstChild.props.remote.data : "";
|
|
50
|
+
return /* @__PURE__ */ jsx("div", { className: styles.markdown, ...rest, children: /* @__PURE__ */ jsx(ReactMarkdown, { components, children: textContent }) });
|
|
48
51
|
};
|
|
49
52
|
|
|
50
53
|
export { Markdown, Markdown as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.mjs","sources":["../../../../../../src/components/Markdown/Markdown.tsx"],"sourcesContent":["import { CodeBlock } from \"@/components/CodeBlock\";\nimport { Heading } from \"@/components/Heading\";\nimport { InlineCode } from \"@/components/InlineCode\";\nimport { Link } from \"@/components/Link\";\nimport { Separator } from \"@/components/Separator\";\nimport { Text } from \"@/components/Text\";\nimport type { FC, ReactNode } from \"react\";\nimport { Children, isValidElement } from \"react\";\nimport type { Components, Options } from \"react-markdown\";\nimport ReactMarkdown from \"react-markdown\";\nimport styles from \"./Markdown.module.scss\";\n\nexport interface MarkdownProps extends Omit<Options, \"components\"> {\n /** The color schema of the markdown component. */\n color?: \"dark\" | \"light\" | \"default\";\n}\n\n/** @flr-generate all */\nexport const Markdown: FC<MarkdownProps> = (props) => {\n const { children, color = \"default\", ...rest } = props;\n\n const headingAndLinkColor = color === \"default\" ? \"primary\" : color;\n const textColor = color === \"default\" ? undefined : color;\n\n const components: Components = {\n a: (props) => (\n <Link target=\"_blank\" color={headingAndLinkColor} href={props.href}>\n {props.children}\n </Link>\n ),\n p: (props) => (\n <Text elementType=\"p\" color={textColor}>\n {props.children}\n </Text>\n ),\n code: (props) => <InlineCode color={color}>{props.children}</InlineCode>,\n h1: (props) => (\n <Heading level={1} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h2: (props) => (\n <Heading level={2} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h3: (props) => (\n <Heading level={3} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h4: (props) => (\n <Heading level={4} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h5: (props) => (\n <Heading level={5} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h6: (props) => (\n <Heading level={6} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n hr: () => <Separator />,\n pre: (props) => {\n const preElementContent = Children.toArray(props.children)[0];\n\n return (\n <CodeBlock\n copyable={false}\n color={color}\n language={\n isValidElement<{ className?: string }>(preElementContent) &&\n preElementContent.props.className\n ? preElementContent.props.className.replace(\"language-\", \"\")\n : undefined\n }\n code={String(\n isValidElement<{ children: string }>(preElementContent)\n ? preElementContent.props.children\n : preElementContent,\n )}\n />\n );\n },\n ul: (props) => (\n <Text color={textColor}>\n <ul>{props.children as ReactNode}</ul>\n </Text>\n ),\n ol: (props) => (\n <Text color={textColor}>\n <ol>{props.children as ReactNode}</ol>\n </Text>\n ),\n blockquote: (props) => (\n <Text color={textColor}>\n <blockquote>{props.children}</blockquote>\n </Text>\n ),\n };\n\n return (\n <div className={styles.markdown}>\n <ReactMarkdown
|
|
1
|
+
{"version":3,"file":"Markdown.mjs","sources":["../../../../../../src/components/Markdown/Markdown.tsx"],"sourcesContent":["import { CodeBlock } from \"@/components/CodeBlock\";\nimport { Heading } from \"@/components/Heading\";\nimport { InlineCode } from \"@/components/InlineCode\";\nimport { Link } from \"@/components/Link\";\nimport { Separator } from \"@/components/Separator\";\nimport { Text } from \"@/components/Text\";\nimport type { FC, ReactNode } from \"react\";\nimport React, { Children, isValidElement } from \"react\";\nimport type { Components, Options } from \"react-markdown\";\nimport ReactMarkdown from \"react-markdown\";\nimport styles from \"./Markdown.module.scss\";\nimport { isRemoteTextRenderProps } from \"@/lib/react/remote\";\n\nexport interface MarkdownProps extends Omit<Options, \"components\"> {\n /** The color schema of the markdown component. */\n color?: \"dark\" | \"light\" | \"default\";\n}\n\n/** @flr-generate all */\nexport const Markdown: FC<MarkdownProps> = (props) => {\n const { children, color = \"default\", ...rest } = props;\n\n const headingAndLinkColor = color === \"default\" ? \"primary\" : color;\n const textColor = color === \"default\" ? undefined : color;\n\n const components: Components = {\n a: (props) => (\n <Link target=\"_blank\" color={headingAndLinkColor} href={props.href}>\n {props.children}\n </Link>\n ),\n p: (props) => (\n <Text elementType=\"p\" color={textColor}>\n {props.children}\n </Text>\n ),\n code: (props) => <InlineCode color={color}>{props.children}</InlineCode>,\n h1: (props) => (\n <Heading level={1} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h2: (props) => (\n <Heading level={2} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h3: (props) => (\n <Heading level={3} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h4: (props) => (\n <Heading level={4} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h5: (props) => (\n <Heading level={5} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n h6: (props) => (\n <Heading level={6} color={headingAndLinkColor}>\n {props.children}\n </Heading>\n ),\n hr: () => <Separator />,\n pre: (props) => {\n const preElementContent = Children.toArray(props.children)[0];\n\n return (\n <CodeBlock\n copyable={false}\n color={color}\n language={\n isValidElement<{ className?: string }>(preElementContent) &&\n preElementContent.props.className\n ? preElementContent.props.className.replace(\"language-\", \"\")\n : undefined\n }\n code={String(\n isValidElement<{ children: string }>(preElementContent)\n ? preElementContent.props.children\n : preElementContent,\n )}\n />\n );\n },\n ul: (props) => (\n <Text color={textColor}>\n <ul>{props.children as ReactNode}</ul>\n </Text>\n ),\n ol: (props) => (\n <Text color={textColor}>\n <ol>{props.children as ReactNode}</ol>\n </Text>\n ),\n blockquote: (props) => (\n <Text color={textColor}>\n <blockquote>{props.children}</blockquote>\n </Text>\n ),\n };\n\n const firstChild = React.Children.toArray(children)[0];\n\n const textContent =\n typeof firstChild === \"string\"\n ? firstChild\n : isValidElement(firstChild) && isRemoteTextRenderProps(firstChild.props)\n ? firstChild.props.remote.data\n : \"\";\n\n return (\n <div className={styles.markdown} {...rest}>\n <ReactMarkdown components={components}>{textContent}</ReactMarkdown>\n </div>\n );\n};\n\nexport default Markdown;\n"],"names":["props"],"mappings":"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"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
/* */
|
|
3
|
+
import { isRemoteComponentRendererProps } from './remote.mjs';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
|
|
5
|
-
function isRemoteComponentRendererProps(props) {
|
|
6
|
-
return typeof props === "object" && props !== null && "element" in props && "components" in props && "receiver" in props;
|
|
7
|
-
}
|
|
8
6
|
const cloneElement = (element, props) => {
|
|
9
7
|
const existingProps = element.props;
|
|
10
8
|
if (isRemoteComponentRendererProps(existingProps)) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloneElement.mjs","sources":["../../../../../../src/lib/react/cloneElement.ts"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"cloneElement.mjs","sources":["../../../../../../src/lib/react/cloneElement.ts"],"sourcesContent":["import { isRemoteComponentRendererProps } from \"@/lib/react/remote\";\nimport type { Attributes, ReactElement } from \"react\";\nimport React from \"react\";\n\nexport const cloneElement = <P>(\n element: ReactElement<P>,\n props?: Partial<P> & Attributes,\n) => {\n const existingProps = element.props;\n if (isRemoteComponentRendererProps(existingProps)) {\n Object.assign(existingProps.element.properties, props);\n }\n return React.cloneElement(element, props);\n};\n"],"names":[],"mappings":";;;AAIa,MAAA,YAAA,GAAe,CAC1B,OAAA,EACA,KACG,KAAA;AACH,EAAA,MAAM,gBAAgB,OAAQ,CAAA,KAAA;AAC9B,EAAI,IAAA,8BAAA,CAA+B,aAAa,CAAG,EAAA;AACjD,IAAA,MAAA,CAAO,MAAO,CAAA,aAAA,CAAc,OAAQ,CAAA,UAAA,EAAY,KAAK,CAAA;AAAA;AAEvD,EAAO,OAAA,KAAA,CAAM,YAAa,CAAA,OAAA,EAAS,KAAK,CAAA;AAC1C;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
/* */
|
|
3
|
+
import { isObjectType, isString } from 'remeda';
|
|
4
|
+
|
|
5
|
+
function isRemoteComponentRendererProps(props) {
|
|
6
|
+
return isObjectType(props) && "element" in props && "components" in props && "receiver" in props;
|
|
7
|
+
}
|
|
8
|
+
function isRemoteTextRenderProps(props) {
|
|
9
|
+
return isObjectType(props) && "remote" in props && isObjectType(props.remote) && "data" in props.remote && isString(props.remote.data);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { isRemoteComponentRendererProps, isRemoteTextRenderProps };
|
|
13
|
+
//# sourceMappingURL=remote.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote.mjs","sources":["../../../../../../src/lib/react/remote.ts"],"sourcesContent":["import type {\n RemoteComponentRendererProps,\n RemoteTextRendererProps,\n} from \"@mittwald/remote-dom-react/host\";\nimport { isObjectType, isString } from \"remeda\";\n\nexport function isRemoteComponentRendererProps(\n props: unknown,\n): props is RemoteComponentRendererProps {\n return (\n isObjectType(props) &&\n \"element\" in props &&\n \"components\" in props &&\n \"receiver\" in props\n );\n}\n\nexport function isRemoteTextRenderProps(\n props: unknown,\n): props is RemoteTextRendererProps {\n return (\n isObjectType(props) &&\n \"remote\" in props &&\n isObjectType(props.remote) &&\n \"data\" in props.remote &&\n isString(props.remote.data)\n );\n}\n"],"names":[],"mappings":";;AAMO,SAAS,+BACd,KACuC,EAAA;AACvC,EAAA,OACE,aAAa,KAAK,CAAA,IAClB,aAAa,KACb,IAAA,YAAA,IAAgB,SAChB,UAAc,IAAA,KAAA;AAElB;AAEO,SAAS,wBACd,KACkC,EAAA;AAClC,EAAA,OACE,YAAa,CAAA,KAAK,CAClB,IAAA,QAAA,IAAY,SACZ,YAAa,CAAA,KAAA,CAAM,MAAM,CAAA,IACzB,UAAU,KAAM,CAAA,MAAA,IAChB,QAAS,CAAA,KAAA,CAAM,OAAO,IAAI,CAAA;AAE9B;;;;"}
|
|
@@ -167,11 +167,8 @@ import './components/src/components/Image/Image.mjs';
|
|
|
167
167
|
import './components/src/components/Initials/Initials.mjs';
|
|
168
168
|
import './components/src/components/Label/Label.mjs';
|
|
169
169
|
import './components/src/components/LayoutCard/LayoutCard.mjs';
|
|
170
|
-
|
|
171
|
-
export {
|
|
172
|
-
export { useOverlayController } from './components/src/lib/controller/overlay/useOverlayController.mjs';
|
|
173
|
-
import './components/src/lib/controller/overlay/context.mjs';
|
|
174
|
-
import './components/src/components/LightBox/LightBox.mjs';
|
|
170
|
+
export { LightBoxTrigger } from './components/src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.mjs';
|
|
171
|
+
export { LightBox } from './components/src/components/LightBox/LightBox.mjs';
|
|
175
172
|
import './components/src/components/Link/Link.mjs';
|
|
176
173
|
import 'invariant';
|
|
177
174
|
import 'luxon';
|
|
@@ -189,6 +186,10 @@ export { NotificationProvider, useNotificationController } from './components/sr
|
|
|
189
186
|
import 'mobx';
|
|
190
187
|
import './components/src/components/NumberField/NumberField.mjs';
|
|
191
188
|
import './components/src/components/Option/Option.mjs';
|
|
189
|
+
export { OverlayController } from './components/src/lib/controller/overlay/OverlayController.mjs';
|
|
190
|
+
export { useOverlayController } from './components/src/lib/controller/overlay/useOverlayController.mjs';
|
|
191
|
+
import './components/src/lib/controller/overlay/context.mjs';
|
|
192
|
+
import './components/src/components/OverlayTrigger/components/MenuTrigger/MenuTrigger.mjs';
|
|
192
193
|
export { PopoverTrigger } from './components/src/components/Popover/components/PopoverTrigger/PopoverTrigger.mjs';
|
|
193
194
|
export { Popover } from './components/src/components/Popover/Popover.mjs';
|
|
194
195
|
import './components/src/components/ProgressBar/ProgressBar.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flr-universal.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flr-universal.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
|
|
2
|
-
import { PropsWithChildren
|
|
2
|
+
import { PropsWithChildren } from 'react';
|
|
3
3
|
import { PropsWithClassName } from '../../lib/types/props';
|
|
4
4
|
import { OverlayController } from '../../lib/controller';
|
|
5
5
|
export interface LightBoxProps extends PropsWithChildren, FlowComponentProps, PropsWithClassName {
|
|
@@ -11,10 +11,6 @@ export interface LightBoxProps extends PropsWithChildren, FlowComponentProps, Pr
|
|
|
11
11
|
*/
|
|
12
12
|
fitScreen?: boolean;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
* @flr-generate all
|
|
16
|
-
* @flr-clear-props-context
|
|
17
|
-
*/
|
|
18
|
-
export declare const LightBox: React.FunctionComponent<LightBoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export declare const LightBox: import('react').FunctionComponent<LightBoxProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
15
|
export default LightBox;
|
|
20
16
|
//# sourceMappingURL=LightBox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightBox.d.ts","sourceRoot":"","sources":["../../../../src/components/LightBox/LightBox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"LightBox.d.ts","sourceRoot":"","sources":["../../../../src/components/LightBox/LightBox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAU1D,MAAM,WAAW,aACf,SAAQ,iBAAiB,EACvB,kBAAkB,EAClB,kBAAkB;IACpB,4DAA4D;IAC5D,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,kGAkDnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { OverlayTriggerProps } from '../../../OverlayTrigger';
|
|
3
3
|
export type LightBoxTriggerProps = OverlayTriggerProps;
|
|
4
|
-
/** @flr-generate all */
|
|
5
4
|
export declare const LightBoxTrigger: FC<LightBoxTriggerProps>;
|
|
6
5
|
//# sourceMappingURL=LightBoxTrigger.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightBoxTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LightBoxTrigger.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LightBox/components/LightBoxTrigger/LightBoxTrigger.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAIvE,MAAM,MAAM,oBAAoB,GAAG,mBAAmB,CAAC;AAEvD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAWpD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LightBox/components/LightBoxTrigger/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LightBox/components/LightBoxTrigger/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,cAAc,mBAAmB,CAAC;AAClC,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/LightBox/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/LightBox/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,OAAO,EAAE,KAAK,aAAa,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Markdown/Markdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAc,OAAO,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Markdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Markdown/Markdown.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAc,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAK1D,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC;IAChE,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACtC;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAqGtC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from '../components/Icon/components/icons';
|
|
2
|
-
export { Action, type ActionFn, type ActionProps, BrowserOnly, type BrowserOnlyProps, ContextMenu, type ContextMenuProps, ContextMenuTrigger, type ContextMenuTriggerProps, List, type ListProps, ListItemView, type ListItemViewProps, Modal, type ModalProps, ModalTrigger, type ModalTriggerProps, Popover, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, SettingsProvider, typedList, NotificationProvider, type NotificationProviderProps, Wrap, type WrapProps, } from '../components/public';
|
|
2
|
+
export { Action, type ActionFn, type ActionProps, BrowserOnly, type BrowserOnlyProps, ContextMenu, type ContextMenuProps, ContextMenuTrigger, type ContextMenuTriggerProps, LightBox, type LightBoxProps, LightBoxTrigger, type LightBoxTriggerProps, List, type ListProps, ListItemView, type ListItemViewProps, Modal, type ModalProps, ModalTrigger, type ModalTriggerProps, Popover, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, SettingsProvider, typedList, NotificationProvider, type NotificationProviderProps, Wrap, type WrapProps, } from '../components/public';
|
|
3
3
|
export * from '../lib/controller/public';
|
|
4
4
|
export * from '../lib/hooks/public';
|
|
5
5
|
//# sourceMappingURL=flr-universal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flr-universal.d.ts","sourceRoot":"","sources":["../../../src/index/flr-universal.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AAEnD,OAAO,EACL,MAAM,EACN,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,IAAI,EACJ,KAAK,SAAS,EACd,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,EACL,KAAK,UAAU,EACf,YAAY,EACZ,KAAK,iBAAiB,EACtB,OAAO,EACP,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,mBAAmB,EACxB,gBAAgB,EAChB,SAAS,EACT,oBAAoB,EACpB,KAAK,yBAAyB,EAC9B,IAAI,EACJ,KAAK,SAAS,GACf,MAAM,qBAAqB,CAAC;AAE7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"flr-universal.d.ts","sourceRoot":"","sources":["../../../src/index/flr-universal.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AAEnD,OAAO,EACL,MAAM,EACN,KAAK,QAAQ,EACb,KAAK,WAAW,EAChB,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,QAAQ,EACR,KAAK,aAAa,EAClB,eAAe,EACf,KAAK,oBAAoB,EACzB,IAAI,EACJ,KAAK,SAAS,EACd,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,EACL,KAAK,UAAU,EACf,YAAY,EACZ,KAAK,iBAAiB,EACtB,OAAO,EACP,KAAK,YAAY,EACjB,cAAc,EACd,KAAK,mBAAmB,EACxB,gBAAgB,EAChB,SAAS,EACT,oBAAoB,EACpB,KAAK,yBAAyB,EAC9B,IAAI,EACJ,KAAK,SAAS,GACf,MAAM,qBAAqB,CAAC;AAE7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloneElement.d.ts","sourceRoot":"","sources":["../../../../src/lib/react/cloneElement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"cloneElement.d.ts","sourceRoot":"","sources":["../../../../src/lib/react/cloneElement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,eAAO,MAAM,YAAY,GAAI,CAAC,EAC5B,SAAS,YAAY,CAAC,CAAC,CAAC,EACxB,QAAQ,OAAO,CAAC,CAAC,CAAC,GAAG,UAAU,+DAOhC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { RemoteComponentRendererProps, RemoteTextRendererProps } from '@mittwald/remote-dom-react/host';
|
|
2
|
+
export declare function isRemoteComponentRendererProps(props: unknown): props is RemoteComponentRendererProps;
|
|
3
|
+
export declare function isRemoteTextRenderProps(props: unknown): props is RemoteTextRendererProps;
|
|
4
|
+
//# sourceMappingURL=remote.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote.d.ts","sourceRoot":"","sources":["../../../../src/lib/react/remote.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,4BAA4B,EAC5B,uBAAuB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,wBAAgB,8BAA8B,CAC5C,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,4BAA4B,CAOvC;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,uBAAuB,CAQlC"}
|
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.219",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A React implementation of Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://mittwald.github.io/flow",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@chakra-ui/live-region": "^2.1.0",
|
|
55
55
|
"@internationalized/string-compiler": "^3.2.6",
|
|
56
|
-
"@mittwald/react-tunnel": "0.2.0-alpha.
|
|
56
|
+
"@mittwald/react-tunnel": "0.2.0-alpha.219",
|
|
57
57
|
"@mittwald/react-use-promise": "^3.0.4",
|
|
58
58
|
"@react-aria/form": "^3.0.14",
|
|
59
59
|
"@react-aria/utils": "^3.28.1",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"devDependencies": {
|
|
93
93
|
"@faker-js/faker": "^9.6.0",
|
|
94
94
|
"@internationalized/date": "^3.7.0",
|
|
95
|
-
"@mittwald/flow-design-tokens": "0.2.0-alpha.
|
|
95
|
+
"@mittwald/flow-design-tokens": "0.2.0-alpha.219",
|
|
96
96
|
"@mittwald/react-use-promise": "^2.6.0",
|
|
97
97
|
"@mittwald/remote-dom-react": "1.2.2-mittwald.3",
|
|
98
98
|
"@mittwald/typescript-config": "",
|
|
@@ -173,5 +173,5 @@
|
|
|
173
173
|
"optional": true
|
|
174
174
|
}
|
|
175
175
|
},
|
|
176
|
-
"gitHead": "
|
|
176
|
+
"gitHead": "d77b2c6f5590835b65830ebe184187d28915393e"
|
|
177
177
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LightBoxTrigger } from './LightBoxTrigger';
|
|
2
|
-
import { ViewComponent } from '../../../../lib/viewComponentContext';
|
|
3
|
-
declare global {
|
|
4
|
-
interface FlowViewComponents {
|
|
5
|
-
LightBoxTrigger: ViewComponent<typeof LightBoxTrigger>;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=view.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../../../src/components/LightBox/components/LightBoxTrigger/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,eAAe,EAAE,aAAa,CAAC,OAAO,eAAe,CAAC,CAAC;KACxD;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"view.d.ts","sourceRoot":"","sources":["../../../../src/components/LightBox/view.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,kBAAkB;QAC1B,QAAQ,EAAE,aAAa,CAAC,OAAO,QAAQ,CAAC,CAAC;KAC1C;CACF"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LightBoxTriggerView.d.ts","sourceRoot":"","sources":["../../../src/views/LightBoxTriggerView.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AACnD,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,uBAAuB,CAAC;AAG/B,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,oBAAoB,CAIjD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LightBoxView.d.ts","sourceRoot":"","sources":["../../../src/views/LightBoxView.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AACnD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAGrE,QAAA,MAAM,YAAY,EAAE,EAAE,CAAC,aAAa,CAGnC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|