@gusto/embedded-react-sdk 0.4.1 → 0.6.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/CHANGELOG.md +86 -0
- package/dist/{HUY7CZI3-CM-U8Gdr.js → 3VW64HDT-DZCphYiC.js} +3 -3
- package/dist/{HUY7CZI3-CM-U8Gdr.js.map → 3VW64HDT-DZCphYiC.js.map} +1 -1
- package/dist/{B4MFY5CR-hjSpgaAn.js → 67EVQ76A-CpAwQIaO.js} +1368 -1460
- package/dist/67EVQ76A-CpAwQIaO.js.map +1 -0
- package/dist/{Company.AssignSignatory-VsqcZn_d.js → Company.AssignSignatory-CUCZtm6s.js} +8 -8
- package/dist/Company.AssignSignatory-CUCZtm6s.js.map +1 -0
- package/dist/Company.DocumentList-D-h6c4bI.js +40 -0
- package/dist/Company.DocumentList-D-h6c4bI.js.map +1 -0
- package/dist/Company.Locations-Cp9h8ZGu.js +74 -0
- package/dist/Company.Locations-Cp9h8ZGu.js.map +1 -0
- package/dist/Company.PaySchedule-CxoupNmN.js +74 -0
- package/dist/Company.PaySchedule-CxoupNmN.js.map +1 -0
- package/dist/Company.SignatureForm-DC4MsbLt.js +30 -0
- package/dist/Company.SignatureForm-DC4MsbLt.js.map +1 -0
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js +50 -0
- package/dist/Employee.DocumentSigner-DgbuxBnJ.js.map +1 -0
- package/dist/{HO4MOOFI-C3z78pq0.js → J3FDRF32-sHWjjvEV.js} +3 -3
- package/dist/{HO4MOOFI-C3z78pq0.js.map → J3FDRF32-sHWjjvEV.js.map} +1 -1
- package/dist/index-BjyRpZDE.js +45647 -0
- package/dist/index-BjyRpZDE.js.map +1 -0
- package/dist/index.d.ts +340 -55
- package/dist/index.js +49 -48
- package/dist/style.css +1 -1
- package/package.json +8 -3
- package/dist/B4MFY5CR-hjSpgaAn.js.map +0 -1
- package/dist/Company.AssignSignatory-VsqcZn_d.js.map +0 -1
- package/dist/Company.DocumentList-CHkbgJsE.js +0 -38
- package/dist/Company.DocumentList-CHkbgJsE.js.map +0 -1
- package/dist/Company.PaySchedule-CMS2f4fy.js +0 -12
- package/dist/Company.PaySchedule-CMS2f4fy.js.map +0 -1
- package/dist/Employee.DocumentSigner-CQx0yl15.js +0 -48
- package/dist/Employee.DocumentSigner-CQx0yl15.js.map +0 -1
- package/dist/index-C7lSGIir.js +0 -37862
- package/dist/index-C7lSGIir.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
- Allow for default value for flsa_status (employment type field) in compensation
|
|
6
|
+
- The default font that ships with the SDK has been updated to 'Geist' so that will update if you do not have a default font specified in your theme
|
|
7
|
+
- Update company Industry component to use speakeasy
|
|
8
|
+
- Update Employee List component to use speakeasy
|
|
9
|
+
- Add a CalendarDisplay component and introduce it to Company PaySchedule component
|
|
10
|
+
- Add `isSelfOnboardingEnabled` prop to Employee profile components to disallow self onboarding
|
|
11
|
+
- Add company PaySchedule component
|
|
12
|
+
- Add styling to SDK internal error component
|
|
13
|
+
|
|
14
|
+
### Breaking changes
|
|
15
|
+
|
|
16
|
+
> Note: We are pre alpha and are regularly iterating on the SDK as we learn more about our consumers and their needs which sometimes involves breaking changes. [Read more about our current versioning strategy here](./docs/04/01/versioning.md).
|
|
17
|
+
|
|
18
|
+
#### Update GustoApiProvider `baseUrl` property to use an absolute URL
|
|
19
|
+
|
|
20
|
+
Ex. previously you could set a `baseUrl` to a relative URL as follows
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
<GustoApiProvider
|
|
24
|
+
config={{
|
|
25
|
+
baseUrl: `some/url/path/`,
|
|
26
|
+
}}
|
|
27
|
+
...
|
|
28
|
+
>
|
|
29
|
+
...
|
|
30
|
+
</GustoApiProvider>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Moving forward, we require setting an absolute URL. Ex updating to be:
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
<GustoApiProvider
|
|
37
|
+
config={{
|
|
38
|
+
baseUrl: `https://api.example.com/some/url/path/`,
|
|
39
|
+
}}
|
|
40
|
+
...
|
|
41
|
+
>
|
|
42
|
+
...
|
|
43
|
+
</GustoApiProvider>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### fontWeight override for typography theme has been changed from `book` to `regular`
|
|
47
|
+
|
|
48
|
+
Ex. so if you were overriding the `fontWeight` property before using `book`
|
|
49
|
+
|
|
50
|
+
```ts
|
|
51
|
+
<GustoApiProvider
|
|
52
|
+
theme={{
|
|
53
|
+
typography: {
|
|
54
|
+
fontWeight: {
|
|
55
|
+
book: 400,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
}}
|
|
59
|
+
...
|
|
60
|
+
>
|
|
61
|
+
...
|
|
62
|
+
</GustoApiProvider>
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
You will want to update to use `regular` instead as follows
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
<GustoApiProvider
|
|
69
|
+
theme={{
|
|
70
|
+
typography: {
|
|
71
|
+
fontWeight: {
|
|
72
|
+
regular: 400,
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
}}
|
|
76
|
+
...
|
|
77
|
+
>
|
|
78
|
+
...
|
|
79
|
+
</GustoApiProvider>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
## 0.5.0
|
|
83
|
+
|
|
84
|
+
- Update to require proxy to add IP address via `x-gusto-client-ip` header
|
|
85
|
+
- Responsive table style updates
|
|
86
|
+
- Initial speakeasy integration
|
|
87
|
+
- Addition of company document signer
|
|
88
|
+
|
|
3
89
|
## 0.4.1
|
|
4
90
|
|
|
5
91
|
- Fix for self onboarding profile form validation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./
|
|
2
|
-
import { g as v, c as C, a as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./67EVQ76A-CpAwQIaO.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-BjyRpZDE.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -40,4 +40,4 @@ var h = (t) => {
|
|
|
40
40
|
export {
|
|
41
41
|
p as default
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=
|
|
43
|
+
//# sourceMappingURL=3VW64HDT-DZCphYiC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{"version":3,"file":"3VW64HDT-DZCphYiC.js","sources":["../node_modules/@tanstack/query-devtools/build/DevtoolsPanelComponent/3VW64HDT.js"],"sourcesContent":["import { createLocalStorage, THEME_PREFERENCE, QueryDevtoolsContext, PiPProvider, ThemeContext, ParentPanel, ContentView } from '../chunk/67EVQ76A.js';\nimport { getPreferredColorScheme, createMemo, createComponent } from '../chunk/4F76KWFD.js';\n\n// src/DevtoolsPanelComponent.tsx\nvar DevtoolsPanelComponent = (props) => {\n const [localStore, setLocalStore] = createLocalStorage({\n prefix: \"TanstackQueryDevtools\"\n });\n const colorScheme = getPreferredColorScheme();\n const theme = createMemo(() => {\n const preference = localStore.theme_preference || THEME_PREFERENCE;\n if (preference !== \"system\")\n return preference;\n return colorScheme();\n });\n return createComponent(QueryDevtoolsContext.Provider, {\n value: props,\n get children() {\n return createComponent(PiPProvider, {\n disabled: true,\n localStore,\n setLocalStore,\n get children() {\n return createComponent(ThemeContext.Provider, {\n value: theme,\n get children() {\n return createComponent(ParentPanel, {\n get children() {\n return createComponent(ContentView, {\n localStore,\n setLocalStore,\n get onClose() {\n return props.onClose;\n },\n showPanelViewOnly: true\n });\n }\n });\n }\n });\n }\n });\n }\n });\n};\nvar DevtoolsPanelComponent_default = DevtoolsPanelComponent;\n\nexport { DevtoolsPanelComponent_default as default };\n"],"names":["DevtoolsPanelComponent","props","localStore","setLocalStore","createLocalStorage","colorScheme","getPreferredColorScheme","theme","createMemo","preference","THEME_PREFERENCE","createComponent","QueryDevtoolsContext","PiPProvider","ThemeContext","ParentPanel","ContentView","DevtoolsPanelComponent_default"],"mappings":";;AAIA,IAAIA,IAAyB,CAACC,MAAU;AACtC,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAmB;AAAA,IACrD,QAAQ;AAAA,EACZ,CAAG,GACKC,IAAcC,EAAyB,GACvCC,IAAQC,EAAW,MAAM;AAC7B,UAAMC,IAAaP,EAAW,oBAAoBQ;AAClD,WAAID,MAAe,WACVA,IACFJ,EAAa;AAAA,EACxB,CAAG;AACD,SAAOM,EAAgBC,EAAqB,UAAU;AAAA,IACpD,OAAOX;AAAA,IACP,IAAI,WAAW;AACb,aAAOU,EAAgBE,GAAa;AAAA,QAClC,UAAU;AAAA,QACV,YAAAX;AAAA,QACA,eAAAC;AAAA,QACA,IAAI,WAAW;AACb,iBAAOQ,EAAgBG,EAAa,UAAU;AAAA,YAC5C,OAAOP;AAAA,YACP,IAAI,WAAW;AACb,qBAAOI,EAAgBI,GAAa;AAAA,gBAClC,IAAI,WAAW;AACb,yBAAOJ,EAAgBK,GAAa;AAAA,oBAClC,YAAAd;AAAA,oBACA,eAAAC;AAAA,oBACA,IAAI,UAAU;AACZ,6BAAOF,EAAM;AAAA,oBACd;AAAA,oBACD,mBAAmB;AAAA,kBACvC,CAAmB;AAAA,gBACnB;AAAA,cACA,CAAe;AAAA,YACf;AAAA,UACA,CAAW;AAAA,QACX;AAAA,MACA,CAAO;AAAA,IACP;AAAA,EACA,CAAG;AACH,GACIgB,IAAiCjB;","x_google_ignoreList":[0]}
|