@c2n/status-panel 0.0.12 → 0.0.13

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.
@@ -0,0 +1 @@
1
+ {"schemaVersion":"1.0.0","readme":"","modules":[{"kind":"javascript-module","path":"src/status-panel.ts","declarations":[{"kind":"class","description":"Presents a meaningful application state with optional media, supporting copy, actions and additional content. Use it\nfor empty collections, completed operations, errors, unavailable pages and other places where the user needs a clear\nexplanation and next step.","name":"StatusPanel","cssProperties":[{"type":{"text":"length"},"description":"Panel width.","name":"--c2-status-panel__container--width","default":"100%"},{"type":{"text":"length"},"description":"Maximum panel width.","name":"--c2-status-panel__container--max-width","default":"720px"},{"type":{"text":"length"},"description":"Minimum panel height.","name":"--c2-status-panel__container--min-height","default":"240px"},{"type":{"text":"padding"},"description":"Panel padding.","name":"--c2-status-panel__container--padding","default":"40px 24px"},{"type":{"text":"length"},"description":"Space between the message, actions and content.","name":"--c2-status-panel__container--gap","default":"24px"},{"type":{"text":"border"},"description":"Panel border.","name":"--c2-status-panel__container--border","default":"1px solid transparent"},{"type":{"text":"border-radius"},"description":"Panel corner radius.","name":"--c2-status-panel__container--border-radius","default":"14px"},{"type":{"text":"color"},"description":"Panel background.","name":"--c2-status-panel__container--background-color","default":"transparent"},{"type":{"text":"length"},"description":"Media container width and height.","name":"--c2-status-panel__media--size","default":"64px"},{"type":{"text":"border-radius"},"description":"Media container corner radius.","name":"--c2-status-panel__media--border-radius","default":"999px"},{"type":{"text":"color"},"description":"Neutral media background.","name":"--c2-status-panel__media--background-color","default":"#f4f4f5"},{"type":{"text":"color"},"description":"Neutral media colour.","name":"--c2-status-panel__media--color","default":"#71717a"},{"type":{"text":"length"},"description":"Default and slotted icon size.","name":"--c2-status-panel__media-icon--size","default":"32px"},{"type":{"text":"color"},"description":"Information media background.","name":"--c2-status-panel__media__info--background-color","default":"#edf1fe"},{"type":{"text":"color"},"description":"Information media colour.","name":"--c2-status-panel__media__info--color","default":"rgb(2, 101, 220)"},{"type":{"text":"color"},"description":"Success media background.","name":"--c2-status-panel__media__success--background-color","default":"#ecfdf3"},{"type":{"text":"color"},"description":"Success media colour.","name":"--c2-status-panel__media__success--color","default":"#15803d"},{"type":{"text":"color"},"description":"Warning media background.","name":"--c2-status-panel__media__warning--background-color","default":"#fffbeb"},{"type":{"text":"color"},"description":"Warning media colour.","name":"--c2-status-panel__media__warning--color","default":"#b45309"},{"type":{"text":"color"},"description":"Error media background.","name":"--c2-status-panel__media__error--background-color","default":"#fef2f2"},{"type":{"text":"color"},"description":"Error media colour.","name":"--c2-status-panel__media__error--color","default":"#b91c1c"},{"type":{"text":"length"},"description":"Space between title and description.","name":"--c2-status-panel__header--gap","default":"6px"},{"type":{"text":"color"},"description":"Title colour.","name":"--c2-status-panel__title--color","default":"#18181b"},{"type":{"text":"font-size"},"description":"Title font size.","name":"--c2-status-panel__title--font-size","default":"20px"},{"type":{"text":"font-weight"},"description":"Title font weight.","name":"--c2-status-panel__title--font-weight","default":"600"},{"type":{"text":"line-height"},"description":"Title line height.","name":"--c2-status-panel__title--line-height","default":"28px"},{"type":{"text":"color"},"description":"Description colour.","name":"--c2-status-panel__description--color","default":"#71717a"},{"type":{"text":"font-size"},"description":"Description font size.","name":"--c2-status-panel__description--font-size","default":"14px"},{"type":{"text":"line-height"},"description":"Description line height.","name":"--c2-status-panel__description--line-height","default":"20px"},{"type":{"text":"length"},"description":"Maximum readable description width.","name":"--c2-status-panel__description--max-width","default":"480px"},{"type":{"text":"length"},"description":"Space between actions.","name":"--c2-status-panel__actions--gap","default":"8px"},{"type":{"text":"length"},"description":"Maximum additional-content width.","name":"--c2-status-panel__content--max-width","default":"560px"},{"type":{"text":"padding"},"description":"Additional-content padding.","name":"--c2-status-panel__content--padding","default":"16px"},{"type":{"text":"border-radius"},"description":"Additional-content corner radius.","name":"--c2-status-panel__content--border-radius","default":"8px"},{"type":{"text":"color"},"description":"Additional-content background.","name":"--c2-status-panel__content--background-color","default":"#f4f4f5"}],"slots":[{"description":"Illustration, icon, avatar or other visual. A status icon is shown by default.","name":"media"},{"description":"Short heading. Falls back to the `heading` attribute.","name":"title"},{"description":"Supporting explanation. Falls back to the `description` attribute.","name":"description"},{"description":"Primary and secondary actions.","name":"actions"},{"description":"Additional details, lists or controls below the actions.","name":"content"}],"members":[{"kind":"field","name":"status","type":{"text":"StatusPanelStatus"},"default":"'neutral'","description":"Visual tone and default media icon.","attribute":"status","reflects":true},{"kind":"field","name":"align","type":{"text":"StatusPanelAlign"},"default":"'center'","description":"Centers the composition or aligns it to the inline start.","attribute":"align","reflects":true},{"kind":"field","name":"heading","type":{"text":"string"},"default":"''","description":"Plain-text title fallback. Use the `title` slot for rich content.","attribute":"heading"},{"kind":"field","name":"description","type":{"text":"string"},"default":"''","description":"Plain-text description fallback. Use the `description` slot for rich content.","attribute":"description"},{"kind":"field","name":"headingLevel","type":{"text":"number"},"default":"2","description":"Accessible heading level used by the title region.","attribute":"heading-level"},{"kind":"field","name":"titleSlotted","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"descriptionSlotted","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"actionsSlotted","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"field","name":"contentSlotted","type":{"text":"boolean"},"privacy":"private","default":"false"},{"kind":"method","name":"syncSlotState","privacy":"private"},{"kind":"field","name":"handleSlotChange","privacy":"private"},{"kind":"method","name":"renderDefaultMedia","privacy":"private","return":{"type":{"text":"TemplateResult"}}}],"attributes":[{"name":"status","type":{"text":"StatusPanelStatus"},"default":"'neutral'","description":"Visual tone and default media icon.","fieldName":"status"},{"name":"align","type":{"text":"StatusPanelAlign"},"default":"'center'","description":"Centers the composition or aligns it to the inline start.","fieldName":"align"},{"name":"heading","type":{"text":"string"},"default":"''","description":"Plain-text title fallback. Use the `title` slot for rich content.","fieldName":"heading"},{"name":"description","type":{"text":"string"},"default":"''","description":"Plain-text description fallback. Use the `description` slot for rich content.","fieldName":"description"},{"name":"heading-level","type":{"text":"number"},"default":"2","description":"Accessible heading level used by the title region.","fieldName":"headingLevel"}],"superclass":{"name":"LitElement","package":"lit"},"tagName":"c2-status-panel","customElement":true}],"exports":[{"kind":"js","name":"StatusPanel","declaration":{"name":"StatusPanel","module":"src/status-panel.ts"}},{"kind":"custom-element-definition","name":"c2-status-panel","declaration":{"name":"StatusPanel","module":"src/status-panel.ts"}}]}]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c2n/status-panel",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "main": "dist/status-panel.js",
6
6
  "exports": {
@@ -21,6 +21,7 @@
21
21
  "files": [
22
22
  "dist",
23
23
  "types",
24
+ "custom-elements.json",
24
25
  "react.d.ts",
25
26
  "react.js",
26
27
  "vue.d.ts",
@@ -62,12 +63,12 @@
62
63
  }
63
64
  },
64
65
  "dependencies": {
65
- "@c2n/core": "0.0.12",
66
+ "@c2n/core": "0.0.13",
66
67
  "lit": "3.3.3"
67
68
  },
68
69
  "devDependencies": {
69
70
  "@c2n/config": "*"
70
71
  },
71
72
  "customElements": "custom-elements.json",
72
- "gitHead": "43e38b42ac221ffeef99a773c42dd3356961d26a"
73
+ "gitHead": "aa19b641f64fbc54c36b7649a8171d7a686abbdd"
73
74
  }