@orchestrator-ui/orchestrator-ui-components 0.13.0 → 1.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.13.0 build
2
+ > @orchestrator-ui/orchestrator-ui-components@1.0.0 build
3
3
  > tsup src/index.ts --format esm --dts --tsconfig tsconfig.build.json
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,6 +9,6 @@
9
9
  ESM Build start
10
10
  DTS Build start
11
11
  ESM dist/index.js 2.15 MB
12
- ESM ⚡️ Build success in 1132ms
13
- DTS ⚡️ Build success in 12299ms
14
- DTS dist/index.d.ts 120.91 KB
12
+ ESM ⚡️ Build success in 842ms
13
+ DTS ⚡️ Build success in 12461ms
14
+ DTS dist/index.d.ts 120.94 KB
@@ -1,4 +1,4 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.13.0 lint
2
+ > @orchestrator-ui/orchestrator-ui-components@1.0.0 lint
3
3
  > eslint "src/**/*.ts*"
4
4
 
@@ -1,34 +1,34 @@
1
1
 
2
- > @orchestrator-ui/orchestrator-ui-components@0.13.0 test
2
+ > @orchestrator-ui/orchestrator-ui-components@1.0.0 test
3
3
  > jest
4
4
 
5
- PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
6
5
  PASS Orchestrator UI Components Tests src/components/WfoForms/formFields/utils.spec.ts
6
+ PASS Orchestrator UI Components Tests src/pages/processes/timelineUtils.spec.ts
7
7
  PASS Orchestrator UI Components Tests src/utils/date.spec.ts
8
- PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
9
8
  PASS Orchestrator UI Components Tests src/components/WfoSubscription/utils/utils.spec.ts
9
+ PASS Orchestrator UI Components Tests src/utils/getProductNamesFromProcess.spec.ts
10
10
  PASS Orchestrator UI Components Tests src/utils/string.spec.ts
11
- PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
12
11
  PASS Orchestrator UI Components Tests src/components/WfoTree/treeUtils.spec.ts
13
12
  PASS Orchestrator UI Components Tests src/components/WfoTable/WfoDataGridTable/WfodataGridColumns.spec.ts
14
- PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
13
+ PASS Orchestrator UI Components Tests src/components/WfoTable/WfoTableWithFilter/updateQueryString.spec.ts
15
14
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableConfigPersistence.spec.ts
16
15
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/mapSortableAndFilterableValuesToTableColumnConfig.spec.ts
16
+ PASS Orchestrator UI Components Tests src/components/WfoTable/utils/tableUtils.spec.ts
17
17
  PASS Orchestrator UI Components Tests src/messages/getTranslationMessages.spec.ts
18
18
  PASS Orchestrator UI Components Tests src/utils/getToastMessage.spec.ts
19
19
  PASS Orchestrator UI Components Tests src/components/WfoTable/utils/columns.spec.ts
20
20
  PASS Orchestrator UI Components Tests src/utils/sortObjectKeys.spec.ts
21
- PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
22
21
  PASS Orchestrator UI Components Tests src/utils/getTokenName.spec.ts
22
+ PASS Orchestrator UI Components Tests src/components/WfoWorkflowSteps/stepListUtils.spec.ts
23
23
  PASS Orchestrator UI Components Tests src/utils/environmentVariables.spec.ts
24
24
  PASS Orchestrator UI Components Tests src/utils/onlyUnique.spec.ts
25
25
  PASS Orchestrator UI Components Tests src/utils/uuid.spec.ts
26
+ PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
26
27
  PASS Orchestrator UI Components Tests src/utils/getTypedFieldFromObject.spec.ts
27
28
  PASS Orchestrator UI Components Tests src/utils/getQueryVariablesForExport.spec.ts
28
- PASS Orchestrator UI Components Tests src/components/WfoPageTemplate/WfoPageHeader/utils/toHexColorWithOpacity.spec.ts
29
29
 
30
30
  Test Suites: 24 passed, 24 total
31
31
  Tests: 144 passed, 144 total
32
32
  Snapshots: 0 total
33
- Time: 4.561 s
33
+ Time: 4.64 s
34
34
  Ran all test suites.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @orchestrator-ui/orchestrator-ui-components
2
2
 
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 507399b: R1 Release
8
+
9
+ ## 0.13.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 9155f40: Added isDisabled prop to WfoSubmitModal
14
+
3
15
  ## 0.13.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -686,6 +686,7 @@ declare type WfoSubmitModalProps = {
686
686
  onClose: () => void;
687
687
  onSubmit: () => void;
688
688
  isLoading: boolean;
689
+ isDisabled?: boolean;
689
690
  submitButtonLabel: string;
690
691
  children: ReactNode;
691
692
  };
package/dist/index.js CHANGED
@@ -46734,6 +46734,7 @@ var WfoSubmitModal = ({
46734
46734
  onSubmit,
46735
46735
  isLoading,
46736
46736
  submitButtonLabel = "Submit",
46737
+ isDisabled,
46737
46738
  children
46738
46739
  }) => {
46739
46740
  return /* @__PURE__ */ jsxs46(EuiModal4, { onClose, children: [
@@ -46748,6 +46749,7 @@ var WfoSubmitModal = ({
46748
46749
  isLoading,
46749
46750
  fill: true,
46750
46751
  onClick: onSubmit,
46752
+ isDisabled,
46751
46753
  children: submitButtonLabel
46752
46754
  }
46753
46755
  ) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "0.13.0",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -18,6 +18,7 @@ export type WfoSubmitModalProps = {
18
18
  onClose: () => void;
19
19
  onSubmit: () => void;
20
20
  isLoading: boolean;
21
+ isDisabled?: boolean;
21
22
  submitButtonLabel: string;
22
23
  children: ReactNode;
23
24
  };
@@ -28,6 +29,7 @@ export const WfoSubmitModal: FC<WfoSubmitModalProps> = ({
28
29
  onSubmit,
29
30
  isLoading,
30
31
  submitButtonLabel = 'Submit',
32
+ isDisabled,
31
33
  children,
32
34
  }) => {
33
35
  return (
@@ -50,6 +52,7 @@ export const WfoSubmitModal: FC<WfoSubmitModalProps> = ({
50
52
  isLoading={isLoading}
51
53
  fill
52
54
  onClick={onSubmit}
55
+ isDisabled={isDisabled}
53
56
  >
54
57
  {submitButtonLabel}
55
58
  </EuiButton>