@carbon/ibm-products-web-components 0.25.0-rc.0 → 0.26.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.
Files changed (47) hide show
  1. package/custom-elements.json +174 -0
  2. package/es/components/side-panel/side-panel.js +2 -6
  3. package/es/components/side-panel/side-panel.js.map +1 -1
  4. package/es/components/step-flow/_story-assets/step-tearsheet.d.ts +40 -0
  5. package/es/components/step-flow/_story-assets/step-tearsheet.js +251 -0
  6. package/es/components/step-flow/_story-assets/step-tearsheet.js.map +1 -0
  7. package/es/components/step-flow/index.d.ts +10 -0
  8. package/es/components/step-flow/index.js +10 -0
  9. package/es/components/step-flow/index.js.map +1 -0
  10. package/es/components/step-flow/step-flow-signal.d.ts +24 -0
  11. package/es/components/step-flow/step-flow-signal.js +54 -0
  12. package/es/components/step-flow/step-flow-signal.js.map +1 -0
  13. package/es/components/step-flow/step-flow-signal.test.d.ts +7 -0
  14. package/es/components/step-flow/step-flow-signal.test.js +88 -0
  15. package/es/components/step-flow/step-flow-signal.test.js.map +1 -0
  16. package/es/components/step-flow/step-group.d.ts +15 -0
  17. package/es/components/step-flow/step-group.js +28 -0
  18. package/es/components/step-flow/step-group.js.map +1 -0
  19. package/es/components/step-flow/story-styles.scss.js +13 -0
  20. package/es/components/step-flow/story-styles.scss.js.map +1 -0
  21. package/es/packages/ibm-products-web-components/package.json.js +1 -1
  22. package/es-custom/components/side-panel/side-panel.js +2 -6
  23. package/es-custom/components/side-panel/side-panel.js.map +1 -1
  24. package/es-custom/components/step-flow/_story-assets/step-tearsheet.d.ts +40 -0
  25. package/es-custom/components/step-flow/_story-assets/step-tearsheet.js +251 -0
  26. package/es-custom/components/step-flow/_story-assets/step-tearsheet.js.map +1 -0
  27. package/es-custom/components/step-flow/index.d.ts +10 -0
  28. package/es-custom/components/step-flow/index.js +10 -0
  29. package/es-custom/components/step-flow/index.js.map +1 -0
  30. package/es-custom/components/step-flow/step-flow-signal.d.ts +24 -0
  31. package/es-custom/components/step-flow/step-flow-signal.js +54 -0
  32. package/es-custom/components/step-flow/step-flow-signal.js.map +1 -0
  33. package/es-custom/components/step-flow/step-flow-signal.test.d.ts +7 -0
  34. package/es-custom/components/step-flow/step-flow-signal.test.js +88 -0
  35. package/es-custom/components/step-flow/step-flow-signal.test.js.map +1 -0
  36. package/es-custom/components/step-flow/step-group.d.ts +15 -0
  37. package/es-custom/components/step-flow/step-group.js +28 -0
  38. package/es-custom/components/step-flow/step-group.js.map +1 -0
  39. package/es-custom/components/step-flow/story-styles.scss.js +13 -0
  40. package/es-custom/components/step-flow/story-styles.scss.js.map +1 -0
  41. package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
  42. package/lib/components/step-flow/_story-assets/step-tearsheet.d.ts +40 -0
  43. package/lib/components/step-flow/index.d.ts +10 -0
  44. package/lib/components/step-flow/step-flow-signal.d.ts +24 -0
  45. package/lib/components/step-flow/step-flow-signal.test.d.ts +7 -0
  46. package/lib/components/step-flow/step-group.d.ts +15 -0
  47. package/package.json +6 -5
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { __decorate } from 'tslib';
9
+ import { LitElement, html } from 'lit';
10
+ import { customElement } from 'lit/decorators.js';
11
+
12
+ /**
13
+ * Copyright IBM Corp. 2025, 2025
14
+ *
15
+ * This source code is licensed under the Apache-2.0 license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */
18
+ let StepGroup = class StepGroup extends LitElement {
19
+ render() {
20
+ return html `<slot></slot>`;
21
+ }
22
+ };
23
+ StepGroup = __decorate([
24
+ customElement('step-group')
25
+ ], StepGroup);
26
+
27
+ export { StepGroup };
28
+ //# sourceMappingURL=step-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"step-group.js","sources":["../../../src/components/step-flow/step-group.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;;;AAKG;AAMI,IAAM,SAAS,GAAf,MAAM,SAAU,SAAQ,UAAU,CAAA;IACvC,MAAM,GAAA;QACJ,OAAO,IAAI,CAAA,CAAA,aAAA,CAAe;;;AAFjB,SAAS,GAAA,UAAA,CAAA;IADrB,aAAa,CAAC,YAAY;AACd,CAAA,EAAA,SAAS,CAIrB;;;;"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright IBM Corp. 2024
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import { css } from 'lit';
9
+
10
+ var styles = css([""]);
11
+
12
+ export { styles as default };
13
+ //# sourceMappingURL=story-styles.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"story-styles.scss.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- var version = "0.24.1";
8
+ var version = "0.25.0";
9
9
  var packageJson = {
10
10
  version: version};
11
11
 
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { LitElement, PropertyValues } from 'lit';
8
+ import '@carbon/web-components/es/components/progress-indicator/index.js';
9
+ import '@carbon/web-components/es/components/stack/index.js';
10
+ import '@carbon/web-components/es/components/code-snippet/index.js';
11
+ import '../step-group';
12
+ import '../../tearsheet/index.js';
13
+ declare const StepTearsheet_base: typeof LitElement;
14
+ export declare class StepTearsheet extends StepTearsheet_base {
15
+ private _open;
16
+ private _email;
17
+ private _city;
18
+ private _state;
19
+ private _trapFocusAPI;
20
+ private _onButtonClick;
21
+ private _handleCancelButton;
22
+ private _handleBackButton;
23
+ private _handleNextButton;
24
+ private _handleEmailInput;
25
+ private _handleCityInput;
26
+ private _handleStateInput;
27
+ private _stepInfo;
28
+ connectedCallback(): void;
29
+ disconnectedCallback(): void;
30
+ protected firstUpdated(_changedProperties: PropertyValues): void;
31
+ updated(changedProps: Map<string | number | symbol, unknown>): void;
32
+ render(): import("lit-html").TemplateResult<1>;
33
+ static styles: any;
34
+ }
35
+ declare global {
36
+ interface HTMLElementTagNameMap {
37
+ 'step-tearsheet': StepTearsheet;
38
+ }
39
+ }
40
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @license
3
+ *
4
+ * Copyright IBM Corp. 2025
5
+ *
6
+ * This source code is licensed under the Apache-2.0 license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+ import './step-flow-signal';
10
+ import './step-group';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ interface formStateType {
8
+ [key: string]: any;
9
+ }
10
+ export declare class StepInstance {
11
+ #private;
12
+ get data(): {
13
+ totalSteps: number;
14
+ formState: {};
15
+ currentStep: number;
16
+ };
17
+ set handleGoToStep(value: number);
18
+ set updateTotalStepCount(value: number);
19
+ set updateFormState(newFormValue: formStateType);
20
+ handleNext(): void;
21
+ handlePrevious(): void;
22
+ reset(): void;
23
+ }
24
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ export {};
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Copyright IBM Corp. 2025, 2025
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { LitElement } from 'lit';
8
+ export declare class StepGroup extends LitElement {
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'step-group': StepGroup;
14
+ }
15
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products-web-components",
3
3
  "description": "Carbon for IBM Products Web Components",
4
- "version": "0.25.0-rc.0",
4
+ "version": "0.26.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "es/index.js",
7
7
  "module": "es/index.js",
@@ -56,7 +56,7 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@carbon-labs/wc-empty-state": "^0.9.0",
59
- "@carbon/ibm-products-styles": "^2.72.0-rc.0",
59
+ "@carbon/ibm-products-styles": "^2.73.0-rc.0",
60
60
  "@carbon/styles": "1.89.0",
61
61
  "@carbon/web-components": "2.37.0",
62
62
  "@ibm/telemetry-js": "^1.10.2",
@@ -65,6 +65,7 @@
65
65
  "lit": "^3.1.0"
66
66
  },
67
67
  "devDependencies": {
68
+ "@aarsteinmedia/dotlottie-player": "^6.0.5",
68
69
  "@blockquote/rollup-plugin-externalize-source-dependencies": "^1.0.0",
69
70
  "@carbon/icon-helpers": "^10.65.0",
70
71
  "@carbon/icons": "^11.66.0",
@@ -88,8 +89,8 @@
88
89
  "cssnano": "^7.0.6",
89
90
  "eslint": "^9.14.0",
90
91
  "eslint-config-carbon": "^3.25.0",
91
- "globby": "^14.0.2",
92
- "happy-dom": "^18.0.0",
92
+ "globby": "^15.0.0",
93
+ "happy-dom": "^20.0.0",
93
94
  "playwright": "^1.51.1",
94
95
  "postcss": "^8.4.47",
95
96
  "remark-gfm": "^4.0.0",
@@ -105,5 +106,5 @@
105
106
  "vitest": "^3.2.0",
106
107
  "web-component-analyzer": "2.0.0"
107
108
  },
108
- "gitHead": "bf120ae9c3bf30ed5898cd7684f1f04ac3d137d9"
109
+ "gitHead": "cac201df1c2c6f019e72a981568a176c0f37f7a2"
109
110
  }