@planningcenter/topbar 11.2.5 → 12.0.0-rc.0
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/dist/topbar.js +135 -12
- package/dist/topbar.js.map +1 -1
- package/dist/topbar.modern.js +135 -12
- package/dist/topbar.modern.js.map +1 -1
- package/dist/topbar.module.js +135 -12
- package/dist/topbar.module.js.map +1 -1
- package/dist/topbar.umd.js +135 -12
- package/dist/topbar.umd.js.map +1 -1
- package/package.json +5 -4
package/dist/topbar.umd.js
CHANGED
|
@@ -3614,6 +3614,19 @@
|
|
|
3614
3614
|
LoadingIndicator: LoadingIndicator$1,
|
|
3615
3615
|
StackView: StackView$1
|
|
3616
3616
|
} = addOns.components;
|
|
3617
|
+
function CalendlyWidget({
|
|
3618
|
+
url,
|
|
3619
|
+
pageSettings,
|
|
3620
|
+
prefill,
|
|
3621
|
+
styles
|
|
3622
|
+
}) {
|
|
3623
|
+
return url ? (/*#__PURE__*/React.createElement(reactCalendly.InlineWidget, {
|
|
3624
|
+
url: url,
|
|
3625
|
+
pageSettings: pageSettings,
|
|
3626
|
+
prefill: prefill,
|
|
3627
|
+
styles: styles
|
|
3628
|
+
})) : null;
|
|
3629
|
+
}
|
|
3617
3630
|
function HelpdeskComponent({
|
|
3618
3631
|
appName,
|
|
3619
3632
|
closeDrawer,
|
|
@@ -3682,14 +3695,68 @@
|
|
|
3682
3695
|
spacing: 1
|
|
3683
3696
|
}, /*#__PURE__*/React.createElement(DrawerHeading, null, "Help and support"), /*#__PURE__*/React.createElement(LoadingIndicator$1, null)))),
|
|
3684
3697
|
additionalComponents: {
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3698
|
+
CalendlyWidget: {
|
|
3699
|
+
component: CalendlyWidget,
|
|
3700
|
+
properties: {
|
|
3701
|
+
pageSettings: {
|
|
3702
|
+
attribute: false
|
|
3703
|
+
},
|
|
3704
|
+
prefill: {
|
|
3705
|
+
attribute: false
|
|
3706
|
+
},
|
|
3707
|
+
styles: {
|
|
3708
|
+
attribute: false
|
|
3709
|
+
},
|
|
3710
|
+
url: {
|
|
3711
|
+
type: String
|
|
3712
|
+
}
|
|
3713
|
+
}
|
|
3714
|
+
},
|
|
3715
|
+
DocumentationSearch: {
|
|
3716
|
+
component: DocumentationSearch,
|
|
3717
|
+
properties: {
|
|
3718
|
+
currentAppName: {
|
|
3719
|
+
type: String
|
|
3720
|
+
},
|
|
3721
|
+
indexName: {
|
|
3722
|
+
type: String
|
|
3723
|
+
}
|
|
3724
|
+
}
|
|
3725
|
+
},
|
|
3726
|
+
DrawerHeader: {
|
|
3727
|
+
component: DrawerHeader,
|
|
3728
|
+
properties: {
|
|
3729
|
+
closeDrawer: {
|
|
3730
|
+
event: false
|
|
3731
|
+
}
|
|
3732
|
+
}
|
|
3733
|
+
},
|
|
3689
3734
|
DrawerHeading,
|
|
3690
|
-
PicobotIframe
|
|
3735
|
+
PicobotIframe: {
|
|
3736
|
+
component: PicobotIframe,
|
|
3737
|
+
properties: {
|
|
3738
|
+
currentPath: {
|
|
3739
|
+
attribute: false
|
|
3740
|
+
},
|
|
3741
|
+
onChangePath: {
|
|
3742
|
+
event: false,
|
|
3743
|
+
type: Function
|
|
3744
|
+
},
|
|
3745
|
+
onMessage: {
|
|
3746
|
+
event: false,
|
|
3747
|
+
type: Function
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3750
|
+
},
|
|
3691
3751
|
ScrollContainer,
|
|
3692
|
-
SwitchView
|
|
3752
|
+
SwitchView: {
|
|
3753
|
+
component: SwitchView,
|
|
3754
|
+
properties: {
|
|
3755
|
+
activeIndex: {
|
|
3756
|
+
type: Number
|
|
3757
|
+
}
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3693
3760
|
},
|
|
3694
3761
|
args: {
|
|
3695
3762
|
appName,
|
|
@@ -4293,8 +4360,13 @@
|
|
|
4293
4360
|
function NavLinkWithBadge({
|
|
4294
4361
|
children,
|
|
4295
4362
|
badge,
|
|
4296
|
-
|
|
4297
|
-
|
|
4363
|
+
borderBottomColor,
|
|
4364
|
+
borderBottomStyle,
|
|
4365
|
+
borderBottomWidth,
|
|
4366
|
+
color,
|
|
4367
|
+
fontSize,
|
|
4368
|
+
fontWeight,
|
|
4369
|
+
onClick
|
|
4298
4370
|
}) {
|
|
4299
4371
|
return /*#__PURE__*/React.createElement(tapestryReact.StackView, {
|
|
4300
4372
|
as: "button",
|
|
@@ -4304,7 +4376,14 @@
|
|
|
4304
4376
|
paddingBottom: 0.75,
|
|
4305
4377
|
onClick: () => onClick(),
|
|
4306
4378
|
spacing: 1,
|
|
4307
|
-
...
|
|
4379
|
+
...{
|
|
4380
|
+
borderBottomColor,
|
|
4381
|
+
borderBottomStyle,
|
|
4382
|
+
borderBottomWidth,
|
|
4383
|
+
color,
|
|
4384
|
+
fontSize,
|
|
4385
|
+
fontWeight
|
|
4386
|
+
}
|
|
4308
4387
|
}, children, badge && /*#__PURE__*/React.createElement(tapestryReact.Badge, {
|
|
4309
4388
|
size: "sm",
|
|
4310
4389
|
fontWeight: "600",
|
|
@@ -4356,11 +4435,55 @@
|
|
|
4356
4435
|
spacing: 1
|
|
4357
4436
|
}, /*#__PURE__*/React.createElement(DrawerHeading, null, "To do"), /*#__PURE__*/React.createElement(LoadingIndicator, null)))),
|
|
4358
4437
|
additionalComponents: {
|
|
4359
|
-
DrawerHeader
|
|
4438
|
+
DrawerHeader: {
|
|
4439
|
+
component: DrawerHeader,
|
|
4440
|
+
properties: {
|
|
4441
|
+
closeDrawer: {
|
|
4442
|
+
event: false,
|
|
4443
|
+
type: Function
|
|
4444
|
+
}
|
|
4445
|
+
}
|
|
4446
|
+
},
|
|
4360
4447
|
DrawerHeading,
|
|
4361
|
-
NavLinkWithBadge
|
|
4448
|
+
NavLinkWithBadge: {
|
|
4449
|
+
component: NavLinkWithBadge,
|
|
4450
|
+
properties: {
|
|
4451
|
+
badge: {
|
|
4452
|
+
attribute: false
|
|
4453
|
+
},
|
|
4454
|
+
borderBottomColor: {
|
|
4455
|
+
type: String
|
|
4456
|
+
},
|
|
4457
|
+
borderBottomStyle: {
|
|
4458
|
+
type: String
|
|
4459
|
+
},
|
|
4460
|
+
borderBottomWidth: {
|
|
4461
|
+
type: String
|
|
4462
|
+
},
|
|
4463
|
+
color: {
|
|
4464
|
+
type: String
|
|
4465
|
+
},
|
|
4466
|
+
fontSize: {
|
|
4467
|
+
attribute: false
|
|
4468
|
+
},
|
|
4469
|
+
fontWeight: {
|
|
4470
|
+
attribute: false
|
|
4471
|
+
},
|
|
4472
|
+
onClick: {
|
|
4473
|
+
event: false,
|
|
4474
|
+
type: Function
|
|
4475
|
+
}
|
|
4476
|
+
}
|
|
4477
|
+
},
|
|
4362
4478
|
ScrollContainer,
|
|
4363
|
-
SwitchView
|
|
4479
|
+
SwitchView: {
|
|
4480
|
+
component: SwitchView,
|
|
4481
|
+
properties: {
|
|
4482
|
+
activeIndex: {
|
|
4483
|
+
type: Number
|
|
4484
|
+
}
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4364
4487
|
},
|
|
4365
4488
|
args: {
|
|
4366
4489
|
closeDrawer,
|