@pure-ds/storybook 0.7.50 → 0.7.57

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 (41) hide show
  1. package/dist/pds-reference.json +30 -44
  2. package/package.json +2 -2
  3. package/public/assets/js/app.js +8 -2132
  4. package/public/assets/js/lit.js +3 -1031
  5. package/public/assets/js/pds-ask.js +9 -464
  6. package/public/assets/js/pds-autocomplete.js +7 -639
  7. package/public/assets/js/pds-enhancers.js +1 -1471
  8. package/public/assets/js/pds-manager.js +3502 -17631
  9. package/public/assets/js/pds-toast.js +1 -30
  10. package/public/assets/js/pds.js +2 -1969
  11. package/public/assets/pds/components/pds-calendar.js +103 -7
  12. package/public/assets/pds/components/pds-fab.js +427 -142
  13. package/public/assets/pds/components/pds-toaster.js +22 -1
  14. package/public/assets/pds/core/pds-ask.js +9 -464
  15. package/public/assets/pds/core/pds-autocomplete.js +7 -639
  16. package/public/assets/pds/core/pds-enhancers.js +1 -1471
  17. package/public/assets/pds/core/pds-manager.js +3502 -17631
  18. package/public/assets/pds/core/pds-toast.js +1 -30
  19. package/public/assets/pds/core.js +2 -1969
  20. package/public/assets/pds/external/lit.js +3 -1031
  21. package/src/js/app.js +7 -4
  22. package/src/js/common/common.js +136 -23
  23. package/src/js/common/toast.js +14 -5
  24. package/src/js/pds-core/pds-enhancers-meta.js +135 -135
  25. package/src/js/pds-core/pds-generator.js +63 -8
  26. package/src/js/pds.d.ts +21 -7
  27. package/src/js/pds.js +7 -2
  28. package/stories/components/PdsCalendar.stories.js +25 -20
  29. package/stories/components/PdsFab.stories.js +132 -0
  30. package/stories/components/PdsRichtext.stories.js +123 -0
  31. package/stories/patterns/InteractiveStates.stories.js +5 -5
  32. package/stories/reference/pds-object-docs.js +8 -3
  33. package/stories/utils/PdsToast.stories.js +98 -0
  34. package/public/assets/js/app.js.map +0 -7
  35. package/public/assets/js/lit.js.map +0 -7
  36. package/public/assets/js/pds-ask.js.map +0 -7
  37. package/public/assets/js/pds-autocomplete.js.map +0 -7
  38. package/public/assets/js/pds-enhancers.js.map +0 -7
  39. package/public/assets/js/pds-manager.js.map +0 -7
  40. package/public/assets/js/pds-toast.js.map +0 -7
  41. package/public/assets/js/pds.js.map +0 -7
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-03-19T09:54:38.197Z",
2
+ "generatedAt": "2026-03-25T20:27:42.970Z",
3
3
  "sources": {
4
4
  "customElements": "custom-elements.json",
5
5
  "ontology": "src\\js\\pds-core\\pds-ontology.js",
@@ -1316,7 +1316,7 @@
1316
1316
  "name": "connectedCallback",
1317
1317
  "description": null,
1318
1318
  "parameters": [],
1319
- "return": "void"
1319
+ "return": "Promise<void>"
1320
1320
  },
1321
1321
  {
1322
1322
  "name": "disconnectedCallback",
@@ -3024,21 +3024,12 @@
3024
3024
  "pds-richtext": {
3025
3025
  "tag": "pds-richtext",
3026
3026
  "className": "RichText",
3027
- "displayName": "pds-richtext",
3028
- "storyTitle": "Components/pds-richtext",
3029
- "category": "Components",
3027
+ "displayName": "Rich Text",
3028
+ "storyTitle": null,
3029
+ "category": null,
3030
3030
  "description": null,
3031
- "docsDescription": "Rich text editor with markdown support and formatting toolbar. Provide a #showdown import-map entry for best performance; set format=\"markdown\" to keep submitted values as Markdown.",
3032
- "pdsTags": [
3033
- "autodocs",
3034
- "content",
3035
- "editor",
3036
- "forms",
3037
- "pds-richtext",
3038
- "richtext",
3039
- "text",
3040
- "wysiwyg"
3041
- ],
3031
+ "docsDescription": null,
3032
+ "pdsTags": [],
3042
3033
  "ontology": {
3043
3034
  "id": "pds-richtext",
3044
3035
  "name": "Rich Text",
@@ -3053,16 +3044,7 @@
3053
3044
  ],
3054
3045
  "category": "form"
3055
3046
  },
3056
- "stories": [
3057
- {
3058
- "exportName": "Default",
3059
- "name": "Default",
3060
- "id": "components-pds-richtext--default",
3061
- "tags": [],
3062
- "description": null,
3063
- "source": "packages\\pds-storybook\\stories\\components\\PdsRichtext.stories.js"
3064
- }
3065
- ],
3047
+ "stories": [],
3066
3048
  "sourceModule": "public/assets/pds/components/pds-richtext.js",
3067
3049
  "superclass": "HTMLElement",
3068
3050
  "attributes": [
@@ -4135,6 +4117,19 @@
4135
4117
  ],
4136
4118
  "return": "void"
4137
4119
  },
4120
+ {
4121
+ "name": "getToastElement",
4122
+ "description": "Get toast element by ID.",
4123
+ "parameters": [
4124
+ {
4125
+ "name": "toastId",
4126
+ "type": "string",
4127
+ "description": null,
4128
+ "optional": false
4129
+ }
4130
+ ],
4131
+ "return": "HTMLElement | null"
4132
+ },
4138
4133
  {
4139
4134
  "name": "toast",
4140
4135
  "description": "Display a toast notification\n\nDisplay a toast notification",
@@ -4147,12 +4142,12 @@
4147
4142
  },
4148
4143
  {
4149
4144
  "name": "options",
4150
- "type": "{\n type?: \"information\" | \"success\" | \"warning\" | \"error\";\n title?: string;\n duration?: number;\n closable?: boolean;\n persistent?: boolean;\n }",
4145
+ "type": "{\n type?: \"information\" | \"success\" | \"warning\" | \"error\";\n title?: string;\n duration?: number;\n closable?: boolean;\n persistent?: boolean;\n returnToastElement?: boolean;\n }",
4151
4146
  "description": "Toast configuration",
4152
4147
  "optional": true
4153
4148
  }
4154
4149
  ],
4155
- "return": "string"
4150
+ "return": "string | HTMLElement | null"
4156
4151
  },
4157
4152
  {
4158
4153
  "name": "toastError",
@@ -7717,12 +7712,12 @@
7717
7712
  "packages\\pds-storybook\\stories\\components\\PdsRating.stories.js"
7718
7713
  ]
7719
7714
  },
7720
- "pds-richtext": {
7721
- "slug": "pds-richtext",
7722
- "storyTitle": "Components/pds-richtext",
7723
- "category": "Components",
7724
- "name": "pds-richtext",
7725
- "description": "Rich text editor with markdown support and formatting toolbar. Provide a #showdown import-map entry for best performance; set format=\"markdown\" to keep submitted values as Markdown.",
7715
+ "saving-draft": {
7716
+ "slug": "saving-draft",
7717
+ "storyTitle": "Saving draft",
7718
+ "category": null,
7719
+ "name": "Saving draft",
7720
+ "description": "Rich text editor with markdown support and formatting toolbar. Provide a #showdown import-map entry for best performance; set format=",
7726
7721
  "tags": [
7727
7722
  "autodocs",
7728
7723
  "content",
@@ -7744,16 +7739,7 @@
7744
7739
  "forms"
7745
7740
  ]
7746
7741
  },
7747
- "stories": [
7748
- {
7749
- "exportName": "Default",
7750
- "name": "Default",
7751
- "id": "components-pds-richtext--default",
7752
- "tags": [],
7753
- "description": null,
7754
- "source": "packages\\pds-storybook\\stories\\components\\PdsRichtext.stories.js"
7755
- }
7756
- ],
7742
+ "stories": [],
7757
7743
  "files": [
7758
7744
  "packages\\pds-storybook\\stories\\components\\PdsRichtext.stories.js"
7759
7745
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pure-ds/storybook",
3
- "version": "0.7.50",
3
+ "version": "0.7.57",
4
4
  "description": "Storybook showcase for Pure Design System with live configuration",
5
5
  "type": "module",
6
6
  "private": false,
@@ -38,7 +38,7 @@
38
38
  "pds:build-icons": "pds-build-icons"
39
39
  },
40
40
  "peerDependencies": {
41
- "@pure-ds/core": "^0.7.50"
41
+ "@pure-ds/core": "^0.7.57"
42
42
  },
43
43
  "dependencies": {
44
44
  "@custom-elements-manifest/analyzer": "^0.11.0",