@rippling/rippling-sdk 0.2.0-alpha.59 → 0.2.0-alpha.60

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.
Files changed (127) hide show
  1. package/examples/manifest/dental-practice-management/dental-practice-management.ts +5 -4
  2. package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +7 -10
  3. package/examples/manifest/dental-practice-management/functions/operatory-list.ts +7 -10
  4. package/examples/manifest/dental-practice-management/functions/patient-list.ts +7 -10
  5. package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +7 -10
  6. package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +7 -10
  7. package/examples/manifest/gym-membership-management/functions/member-list.ts +7 -10
  8. package/examples/manifest/gym-membership-management/functions/today-schedule.ts +7 -10
  9. package/examples/manifest/gym-membership-management/functions/trainer-list.ts +7 -10
  10. package/examples/manifest/gym-membership-management/gym-membership-management.ts +5 -4
  11. package/examples/manifest/simple-todo-app/functions/todo-list.ts +7 -10
  12. package/examples/manifest/simple-todo-app/simple-todo-app.ts +2 -2
  13. package/internal/tslib.js +0 -4
  14. package/lib/manifest/manifest-function.d.mts +3 -3
  15. package/lib/manifest/manifest-function.d.ts +3 -3
  16. package/lib/manifest/manifest-function.js +3 -3
  17. package/lib/manifest/manifest-function.mjs +3 -3
  18. package/package.json +1 -1
  19. package/src/lib/manifest/manifest-function.ts +3 -3
  20. package/src/version.ts +1 -1
  21. package/version.d.mts +1 -1
  22. package/version.d.ts +1 -1
  23. package/version.js +1 -1
  24. package/version.mjs +1 -1
  25. package/examples/sdui/sdui-crud-todo/rippling-function.ts +0 -358
  26. package/examples/sdui/sdui-showcase/rippling-function.ts +0 -366
  27. package/examples/sdui/sdui-tab-multi-view/rippling-function.ts +0 -1042
  28. package/examples/sdui/vote/rippling-function.ts +0 -315
  29. package/lib/sdui/actions.d.mts +0 -25
  30. package/lib/sdui/actions.d.mts.map +0 -1
  31. package/lib/sdui/actions.d.ts +0 -25
  32. package/lib/sdui/actions.d.ts.map +0 -1
  33. package/lib/sdui/actions.js +0 -63
  34. package/lib/sdui/actions.js.map +0 -1
  35. package/lib/sdui/actions.mjs +0 -52
  36. package/lib/sdui/actions.mjs.map +0 -1
  37. package/lib/sdui/component.d.mts +0 -58
  38. package/lib/sdui/component.d.mts.map +0 -1
  39. package/lib/sdui/component.d.ts +0 -58
  40. package/lib/sdui/component.d.ts.map +0 -1
  41. package/lib/sdui/component.js +0 -128
  42. package/lib/sdui/component.js.map +0 -1
  43. package/lib/sdui/component.mjs +0 -124
  44. package/lib/sdui/component.mjs.map +0 -1
  45. package/lib/sdui/components.d.mts +0 -1047
  46. package/lib/sdui/components.d.mts.map +0 -1
  47. package/lib/sdui/components.d.ts +0 -1047
  48. package/lib/sdui/components.d.ts.map +0 -1
  49. package/lib/sdui/components.js +0 -845
  50. package/lib/sdui/components.js.map +0 -1
  51. package/lib/sdui/components.mjs +0 -840
  52. package/lib/sdui/components.mjs.map +0 -1
  53. package/lib/sdui/conditions.d.mts +0 -25
  54. package/lib/sdui/conditions.d.mts.map +0 -1
  55. package/lib/sdui/conditions.d.ts +0 -25
  56. package/lib/sdui/conditions.d.ts.map +0 -1
  57. package/lib/sdui/conditions.js +0 -47
  58. package/lib/sdui/conditions.js.map +0 -1
  59. package/lib/sdui/conditions.mjs +0 -35
  60. package/lib/sdui/conditions.mjs.map +0 -1
  61. package/lib/sdui/directives.d.mts +0 -18
  62. package/lib/sdui/directives.d.mts.map +0 -1
  63. package/lib/sdui/directives.d.ts +0 -18
  64. package/lib/sdui/directives.d.ts.map +0 -1
  65. package/lib/sdui/directives.js +0 -31
  66. package/lib/sdui/directives.js.map +0 -1
  67. package/lib/sdui/directives.mjs +0 -24
  68. package/lib/sdui/directives.mjs.map +0 -1
  69. package/lib/sdui/index.d.mts +0 -375
  70. package/lib/sdui/index.d.mts.map +0 -1
  71. package/lib/sdui/index.d.ts +0 -375
  72. package/lib/sdui/index.d.ts.map +0 -1
  73. package/lib/sdui/index.js +0 -386
  74. package/lib/sdui/index.js.map +0 -1
  75. package/lib/sdui/index.mjs +0 -215
  76. package/lib/sdui/index.mjs.map +0 -1
  77. package/lib/sdui/propTypes.d.mts +0 -5971
  78. package/lib/sdui/propTypes.d.mts.map +0 -1
  79. package/lib/sdui/propTypes.d.ts +0 -5971
  80. package/lib/sdui/propTypes.d.ts.map +0 -1
  81. package/lib/sdui/propTypes.js +0 -14
  82. package/lib/sdui/propTypes.js.map +0 -1
  83. package/lib/sdui/propTypes.mjs +0 -13
  84. package/lib/sdui/propTypes.mjs.map +0 -1
  85. package/lib/sdui/props.d.mts +0 -12
  86. package/lib/sdui/props.d.mts.map +0 -1
  87. package/lib/sdui/props.d.ts +0 -12
  88. package/lib/sdui/props.d.ts.map +0 -1
  89. package/lib/sdui/props.js +0 -25
  90. package/lib/sdui/props.js.map +0 -1
  91. package/lib/sdui/props.mjs +0 -21
  92. package/lib/sdui/props.mjs.map +0 -1
  93. package/lib/sdui/render.d.mts +0 -23
  94. package/lib/sdui/render.d.mts.map +0 -1
  95. package/lib/sdui/render.d.ts +0 -23
  96. package/lib/sdui/render.d.ts.map +0 -1
  97. package/lib/sdui/render.js +0 -48
  98. package/lib/sdui/render.js.map +0 -1
  99. package/lib/sdui/render.mjs +0 -45
  100. package/lib/sdui/render.mjs.map +0 -1
  101. package/lib/sdui/state.d.mts +0 -22
  102. package/lib/sdui/state.d.mts.map +0 -1
  103. package/lib/sdui/state.d.ts +0 -22
  104. package/lib/sdui/state.d.ts.map +0 -1
  105. package/lib/sdui/state.js +0 -59
  106. package/lib/sdui/state.js.map +0 -1
  107. package/lib/sdui/state.mjs +0 -55
  108. package/lib/sdui/state.mjs.map +0 -1
  109. package/lib/sdui.d.mts +0 -3
  110. package/lib/sdui.d.mts.map +0 -1
  111. package/lib/sdui.d.ts +0 -3
  112. package/lib/sdui.d.ts.map +0 -1
  113. package/lib/sdui.js +0 -8
  114. package/lib/sdui.js.map +0 -1
  115. package/lib/sdui.mjs +0 -3
  116. package/lib/sdui.mjs.map +0 -1
  117. package/src/lib/sdui/actions.ts +0 -71
  118. package/src/lib/sdui/component.ts +0 -162
  119. package/src/lib/sdui/components.ts +0 -1572
  120. package/src/lib/sdui/conditions.ts +0 -59
  121. package/src/lib/sdui/directives.ts +0 -45
  122. package/src/lib/sdui/index.ts +0 -650
  123. package/src/lib/sdui/propTypes.ts +0 -8087
  124. package/src/lib/sdui/props.ts +0 -32
  125. package/src/lib/sdui/render.ts +0 -66
  126. package/src/lib/sdui/state.ts +0 -66
  127. package/src/lib/sdui.ts +0 -2
@@ -571,6 +571,7 @@ new CustomObjectPageLayout(planObj, {
571
571
  // ── SDUI object-list tabs ───────────────────────────────────────────────────
572
572
  const sduiObjectListDependencies = {
573
573
  '@rippling/rippling-sdk': '^0.2.0-alpha.33',
574
+ '@rippling/pebble-sdui-web': '^0.3.0',
574
575
  };
575
576
 
576
577
  function loadFunctionCode(filename: string): string {
@@ -604,7 +605,7 @@ function createObjectListPage(props: {
604
605
  const patientListPage = createObjectListPage({
605
606
  codeFilename: 'patient-list.ts',
606
607
  functionApiName: 'dental_patient_list_fn',
607
- functionName: 'Patients (SDUI)',
608
+ functionName: 'renderPatients',
608
609
  functionDescription: 'SDUI ObjectListView for patient records',
609
610
  pageId: 'dental_patients',
610
611
  pageName: 'Patients',
@@ -613,7 +614,7 @@ const patientListPage = createObjectListPage({
613
614
  const operatoryListPage = createObjectListPage({
614
615
  codeFilename: 'operatory-list.ts',
615
616
  functionApiName: 'dental_operatory_list_fn',
616
- functionName: 'Operatories (SDUI)',
617
+ functionName: 'renderOperatories',
617
618
  functionDescription: 'SDUI ObjectListView for operatory records',
618
619
  pageId: 'dental_operatories',
619
620
  pageName: 'Operatories',
@@ -622,7 +623,7 @@ const operatoryListPage = createObjectListPage({
622
623
  const chairBoardPage = createObjectListPage({
623
624
  codeFilename: 'chair-schedule.ts',
624
625
  functionApiName: 'dental_chair_schedule_fn',
625
- functionName: 'Daily chair board (SDUI)',
626
+ functionName: 'renderChairSchedule',
626
627
  functionDescription: 'SDUI ObjectListView for appointments (init + spec render)',
627
628
  pageId: 'dental_chair_schedule',
628
629
  pageName: 'Chair schedule',
@@ -631,7 +632,7 @@ const chairBoardPage = createObjectListPage({
631
632
  const treatmentPlanListPage = createObjectListPage({
632
633
  codeFilename: 'treatment-plan-list.ts',
633
634
  functionApiName: 'dental_treatment_plan_list_fn',
634
- functionName: 'Treatment plans (SDUI)',
635
+ functionName: 'renderTreatmentPlans',
635
636
  functionDescription: 'SDUI ObjectListView for treatment plan records',
636
637
  pageId: 'dental_treatment_plans',
637
638
  pageName: 'Treatment plans',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'dental_appointment__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'dental_operatory__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'dental_patient__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'dental_treatment_plan__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'gym_class_enrollment__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'gym_member__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'gym_class_session__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'gym_trainer__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -633,6 +633,7 @@ new CustomObjectPageLayout(enrollmentObj, {
633
633
  // ── SDUI object-list tabs ───────────────────────────────────────────────────
634
634
  const sduiObjectListDependencies = {
635
635
  '@rippling/rippling-sdk': '^0.2.0-alpha.33',
636
+ '@rippling/pebble-sdui-web': '^0.3.0',
636
637
  };
637
638
 
638
639
  function loadFunctionCode(filename: string): string {
@@ -666,7 +667,7 @@ function createObjectListPage(props: {
666
667
  const memberListPage = createObjectListPage({
667
668
  codeFilename: 'member-list.ts',
668
669
  functionApiName: 'gym_member_list_fn',
669
- functionName: 'Members (SDUI)',
670
+ functionName: 'renderMembers',
670
671
  functionDescription: 'SDUI ObjectListView for member records',
671
672
  pageId: 'gym_members',
672
673
  pageName: 'Members',
@@ -675,7 +676,7 @@ const memberListPage = createObjectListPage({
675
676
  const trainerListPage = createObjectListPage({
676
677
  codeFilename: 'trainer-list.ts',
677
678
  functionApiName: 'gym_trainer_list_fn',
678
- functionName: 'Trainers (SDUI)',
679
+ functionName: 'renderTrainers',
679
680
  functionDescription: 'SDUI ObjectListView for trainer records',
680
681
  pageId: 'gym_trainers',
681
682
  pageName: 'Trainers',
@@ -684,7 +685,7 @@ const trainerListPage = createObjectListPage({
684
685
  const todaySchedulePage = createObjectListPage({
685
686
  codeFilename: 'today-schedule.ts',
686
687
  functionApiName: 'gym_today_schedule_fn',
687
- functionName: 'Today’s schedule (SDUI)',
688
+ functionName: 'renderTodaySchedule',
688
689
  functionDescription:
689
690
  'Searchable grid of class sessions — pair with list view “Today’s class sessions” or filter by date',
690
691
  pageId: 'gym_today_schedule',
@@ -694,7 +695,7 @@ const todaySchedulePage = createObjectListPage({
694
695
  const checkInDeskPage = createObjectListPage({
695
696
  codeFilename: 'check-in-desk.ts',
696
697
  functionApiName: 'gym_check_in_desk_fn',
697
- functionName: 'Check-in desk (SDUI)',
698
+ functionName: 'renderCheckInDesk',
698
699
  functionDescription: 'Searchable roster grid — update attendance and checked-in time as members arrive',
699
700
  pageId: 'gym_check_in_desk',
700
701
  pageName: 'Check-in desk',
@@ -1,5 +1,5 @@
1
1
  import { FunctionContext, FunctionEvent, FunctionResponse } from '@rippling/rippling-sdk';
2
- import SDUI from '@rippling/rippling-sdk/lib/sdui';
2
+ import { ObjectListView, render } from '@rippling/pebble-sdui-web/catalogs/custom-apps';
3
3
 
4
4
  const OBJECT = 'simple_todo__c';
5
5
 
@@ -10,17 +10,14 @@ export async function onRipplingEvent(
10
10
  const action = event['parameters']?.action;
11
11
 
12
12
  if (!action || action === 'init') {
13
- const s = SDUI.createState({});
14
- const root = SDUI.components.VStack({
15
- children: [
16
- SDUI.components.ObjectListView({
17
- objectApiName: OBJECT,
18
- canSearchInGrid: true,
19
- }),
20
- ],
13
+ const spec = render({
14
+ root: ObjectListView({
15
+ props: { objectApiName: OBJECT },
16
+ }),
17
+ state: {},
21
18
  });
22
19
  return new FunctionResponse({
23
- body: { spec: JSON.stringify(SDUI.render(s, root)) },
20
+ body: { spec: JSON.stringify(spec) },
24
21
  statusCode: 200,
25
22
  headers: {},
26
23
  message: '',
@@ -131,10 +131,10 @@ new CustomObjectPageLayout(todoObj, {
131
131
  // ── SDUI page (ObjectListView) ──────────────────────────────────────────────
132
132
  const todoListFn = new ManifestFunction(manifest, {
133
133
  apiName: 'simple_todo_list_fn',
134
- name: 'Todos (SDUI)',
134
+ name: 'renderTodos',
135
135
  description: 'SDUI ObjectListView for todo records',
136
136
  code: fs.readFileSync(path.join(__dirname, 'functions', 'todo-list.ts'), 'utf-8'),
137
- dependencies: { '@rippling/rippling-sdk': '^0.2.0-alpha.33' },
137
+ dependencies: { '@rippling/rippling-sdk': '^0.2.0-alpha.33', '@rippling/pebble-sdui-web': '^0.3.0' },
138
138
  isAsync: false,
139
139
  });
140
140
 
package/internal/tslib.js CHANGED
@@ -5,7 +5,6 @@ exports.__classPrivateFieldSet = __classPrivateFieldSet;
5
5
  exports.__classPrivateFieldGet = __classPrivateFieldGet;
6
6
  exports.__importStar = __importStar;
7
7
  exports.__exportStar = __exportStar;
8
- exports.__importDefault = __importDefault;
9
8
  function __classPrivateFieldSet(receiver, state, value, kind, f) {
10
9
  if (kind === "m")
11
10
  throw new TypeError("Private method is not writable");
@@ -80,6 +79,3 @@ function __exportStar(m, o) {
80
79
  if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
81
80
  __createBinding(o, m, p);
82
81
  }
83
- function __importDefault(mod) {
84
- return mod && mod.__esModule ? mod : { default: mod };
85
- }
@@ -61,9 +61,9 @@ export interface ManifestFunctionProps {
61
61
  * serverless infrastructure. The handler must export `onRipplingEvent`.
62
62
  *
63
63
  * Functions have two primary uses:
64
- * 1. **Authoring SDUI for Custom Apps** — the function returns an SDUI spec
65
- * (built with `@rippling/rippling-sdk/lib/sdui`) that renders as a page tab.
66
- * Wrap the function in an {@link SduiPage} and reference it from an {@link App}.
64
+ * 1. **Rendering SDUI for Custom Apps** — the function returns an SDUI spec
65
+ * payload that renders as a page tab. Wrap the function in an {@link SduiPage}
66
+ * and reference it from an {@link App}.
67
67
  * 2. **Workflow / event handlers** — functions invoked from rules, automations,
68
68
  * or callbacks that do not render UI.
69
69
  *
@@ -61,9 +61,9 @@ export interface ManifestFunctionProps {
61
61
  * serverless infrastructure. The handler must export `onRipplingEvent`.
62
62
  *
63
63
  * Functions have two primary uses:
64
- * 1. **Authoring SDUI for Custom Apps** — the function returns an SDUI spec
65
- * (built with `@rippling/rippling-sdk/lib/sdui`) that renders as a page tab.
66
- * Wrap the function in an {@link SduiPage} and reference it from an {@link App}.
64
+ * 1. **Rendering SDUI for Custom Apps** — the function returns an SDUI spec
65
+ * payload that renders as a page tab. Wrap the function in an {@link SduiPage}
66
+ * and reference it from an {@link App}.
67
67
  * 2. **Workflow / event handlers** — functions invoked from rules, automations,
68
68
  * or callbacks that do not render UI.
69
69
  *
@@ -10,9 +10,9 @@ const _existing_component_fields_1 = require("./_existing-component-fields.js");
10
10
  * serverless infrastructure. The handler must export `onRipplingEvent`.
11
11
  *
12
12
  * Functions have two primary uses:
13
- * 1. **Authoring SDUI for Custom Apps** — the function returns an SDUI spec
14
- * (built with `@rippling/rippling-sdk/lib/sdui`) that renders as a page tab.
15
- * Wrap the function in an {@link SduiPage} and reference it from an {@link App}.
13
+ * 1. **Rendering SDUI for Custom Apps** — the function returns an SDUI spec
14
+ * payload that renders as a page tab. Wrap the function in an {@link SduiPage}
15
+ * and reference it from an {@link App}.
16
16
  * 2. **Workflow / event handlers** — functions invoked from rules, automations,
17
17
  * or callbacks that do not render UI.
18
18
  *
@@ -7,9 +7,9 @@ import { optionalStringComponentField, requireStringComponentField } from "./_ex
7
7
  * serverless infrastructure. The handler must export `onRipplingEvent`.
8
8
  *
9
9
  * Functions have two primary uses:
10
- * 1. **Authoring SDUI for Custom Apps** — the function returns an SDUI spec
11
- * (built with `@rippling/rippling-sdk/lib/sdui`) that renders as a page tab.
12
- * Wrap the function in an {@link SduiPage} and reference it from an {@link App}.
10
+ * 1. **Rendering SDUI for Custom Apps** — the function returns an SDUI spec
11
+ * payload that renders as a page tab. Wrap the function in an {@link SduiPage}
12
+ * and reference it from an {@link App}.
13
13
  * 2. **Workflow / event handlers** — functions invoked from rules, automations,
14
14
  * or callbacks that do not render UI.
15
15
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rippling/rippling-sdk",
3
- "version": "0.2.0-alpha.59",
3
+ "version": "0.2.0-alpha.60",
4
4
  "description": "The official TypeScript library for the Rippling SDK API",
5
5
  "author": "Rippling SDK <no-reply@rippling.com>",
6
6
  "types": "./index.d.ts",
@@ -64,9 +64,9 @@ export interface ManifestFunctionProps {
64
64
  * serverless infrastructure. The handler must export `onRipplingEvent`.
65
65
  *
66
66
  * Functions have two primary uses:
67
- * 1. **Authoring SDUI for Custom Apps** — the function returns an SDUI spec
68
- * (built with `@rippling/rippling-sdk/lib/sdui`) that renders as a page tab.
69
- * Wrap the function in an {@link SduiPage} and reference it from an {@link App}.
67
+ * 1. **Rendering SDUI for Custom Apps** — the function returns an SDUI spec
68
+ * payload that renders as a page tab. Wrap the function in an {@link SduiPage}
69
+ * and reference it from an {@link App}.
70
70
  * 2. **Workflow / event handlers** — functions invoked from rules, automations,
71
71
  * or callbacks that do not render UI.
72
72
  *
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.0-alpha.59'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.60'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.59";
1
+ export declare const VERSION = "0.2.0-alpha.60";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.59";
1
+ export declare const VERSION = "0.2.0-alpha.60";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.2.0-alpha.59'; // x-release-please-version
4
+ exports.VERSION = '0.2.0-alpha.60'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.2.0-alpha.59'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.60'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map