@mhmo91/schmancy 0.9.16 → 0.9.18

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 (101) hide show
  1. package/custom-elements.json +111 -51
  2. package/dist/agent/schmancy.agent.js +288 -38
  3. package/dist/agent/schmancy.agent.js.map +1 -1
  4. package/dist/agent/schmancy.manifest.json +332 -25
  5. package/dist/breadcrumb.cjs.map +1 -1
  6. package/dist/breadcrumb.js.map +1 -1
  7. package/dist/card-BslSqOsf.cjs.map +1 -1
  8. package/dist/card-CEdgK9nb.js.map +1 -1
  9. package/dist/details-B8p62xmR.cjs.map +1 -1
  10. package/dist/details-CCW52lzz.js.map +1 -1
  11. package/dist/dialog.cjs.map +1 -1
  12. package/dist/dialog.js.map +1 -1
  13. package/dist/divider-CbEWg3G_.js.map +1 -1
  14. package/dist/divider-JyyFw_3J.cjs.map +1 -1
  15. package/dist/dropdown.cjs.map +1 -1
  16. package/dist/dropdown.js.map +1 -1
  17. package/dist/expand-BmwIPNjq.cjs.map +1 -1
  18. package/dist/expand-bFa_qVDT.js.map +1 -1
  19. package/dist/handover/agent-runtime-followups.md +1 -1
  20. package/dist/handover/agent-runtime-v1.md +3 -3
  21. package/dist/list-BpjKUOzM.js.map +1 -1
  22. package/dist/list-CMWHu6cV.cjs.map +1 -1
  23. package/dist/menu-BIBUgS1T.js.map +1 -1
  24. package/dist/menu-DS8Iz4fJ.cjs.map +1 -1
  25. package/dist/navigation-rail.cjs.map +1 -1
  26. package/dist/navigation-rail.js.map +1 -1
  27. package/dist/page.cjs.map +1 -1
  28. package/dist/page.js.map +1 -1
  29. package/dist/scroll-CdmXRXh2.js.map +1 -1
  30. package/dist/scroll-V1rAZ9fK.cjs.map +1 -1
  31. package/dist/sheet-DdlZhnDG.cjs.map +1 -1
  32. package/dist/sheet-LFVo5iN4.js.map +1 -1
  33. package/dist/src-C7niWYur.js.map +1 -1
  34. package/dist/src-I4M33WK2.cjs.map +1 -1
  35. package/dist/surface-0XM4DBaT.js.map +1 -1
  36. package/dist/surface-B6DA01kL.cjs.map +1 -1
  37. package/dist/theme-Cq_c9IO3.js.map +1 -1
  38. package/dist/theme-DU5yXaV-.cjs.map +1 -1
  39. package/dist/tree.cjs.map +1 -1
  40. package/dist/tree.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/breadcrumb/breadcrumb.ts +14 -4
  43. package/src/card/actions.ts +9 -0
  44. package/src/card/card.ts +18 -0
  45. package/src/card/content.ts +9 -0
  46. package/src/card/media.ts +6 -0
  47. package/src/details/details.ts +12 -0
  48. package/src/dialog/dialog.component.ts +9 -9
  49. package/src/divider/divider.ts +11 -0
  50. package/src/dropdown/dropdown-component.ts +13 -1
  51. package/src/dropdown/dropdown-content.ts +11 -3
  52. package/src/expand/expand-root.component.ts +12 -0
  53. package/src/expand/expand.component.ts +14 -0
  54. package/src/layout/scroll/scroll.ts +5 -1
  55. package/src/list/list-item.ts +10 -0
  56. package/src/list/list.ts +7 -8
  57. package/src/menu/menu-item.ts +13 -0
  58. package/src/menu/menu.ts +10 -22
  59. package/src/nav-drawer/appbar.ts +11 -0
  60. package/src/nav-drawer/content.ts +11 -0
  61. package/src/nav-drawer/drawer.ts +15 -0
  62. package/src/nav-drawer/navbar.ts +14 -0
  63. package/src/navigation-bar/navigation-bar-item.ts +3 -4
  64. package/src/navigation-bar/navigation-bar.ts +3 -9
  65. package/src/navigation-rail/navigation-rail-item.ts +3 -7
  66. package/src/navigation-rail/navigation-rail.ts +12 -8
  67. package/src/page/page.ts +8 -11
  68. package/src/sheet/sheet.ts +17 -0
  69. package/src/surface/surface.ts +4 -10
  70. package/src/theme/theme.component.ts +10 -15
  71. package/src/tree/tree.ts +12 -0
  72. package/types/src/breadcrumb/breadcrumb.d.ts +14 -4
  73. package/types/src/card/actions.d.ts +9 -0
  74. package/types/src/card/card.d.ts +18 -0
  75. package/types/src/card/content.d.ts +9 -0
  76. package/types/src/card/media.d.ts +6 -0
  77. package/types/src/details/details.d.ts +12 -0
  78. package/types/src/dialog/dialog.component.d.ts +9 -9
  79. package/types/src/divider/divider.d.ts +11 -0
  80. package/types/src/dropdown/dropdown-component.d.ts +13 -1
  81. package/types/src/dropdown/dropdown-content.d.ts +11 -3
  82. package/types/src/expand/expand-root.component.d.ts +12 -0
  83. package/types/src/expand/expand.component.d.ts +14 -0
  84. package/types/src/layout/scroll/scroll.d.ts +5 -1
  85. package/types/src/list/list-item.d.ts +10 -0
  86. package/types/src/list/list.d.ts +7 -8
  87. package/types/src/menu/menu-item.d.ts +13 -0
  88. package/types/src/menu/menu.d.ts +10 -22
  89. package/types/src/nav-drawer/appbar.d.ts +11 -0
  90. package/types/src/nav-drawer/content.d.ts +11 -0
  91. package/types/src/nav-drawer/drawer.d.ts +15 -0
  92. package/types/src/nav-drawer/navbar.d.ts +14 -0
  93. package/types/src/navigation-bar/navigation-bar-item.d.ts +3 -4
  94. package/types/src/navigation-bar/navigation-bar.d.ts +3 -9
  95. package/types/src/navigation-rail/navigation-rail-item.d.ts +3 -7
  96. package/types/src/navigation-rail/navigation-rail.d.ts +12 -8
  97. package/types/src/page/page.d.ts +8 -11
  98. package/types/src/sheet/sheet.d.ts +17 -0
  99. package/types/src/surface/surface.d.ts +4 -10
  100. package/types/src/theme/theme.component.d.ts +10 -15
  101. package/types/src/tree/tree.d.ts +12 -0
@@ -1 +1 @@
1
- {"version":3,"file":"surface-0XM4DBaT.js","names":[],"sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { SurfaceMixin } from '@mixins/surface.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\n// Re-export types for backwards compatibility\nexport type { SchmancySurfaceFill, SchmancySurfaceRounded, SchmancySurfaceElevation } from '@mixins/surface.mixin'\n\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * SurfaceMixin automatically provides surfaceStyles CSS.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends SurfaceMixin(\n\tTailwindElement(css`\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t\tbox-sizing: border-box;\n\t\t\toverflow: visible;\n\t\t}\n\t`),\n) {\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\toverride type: TSurfaceColor = 'subtle'\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}\n"],"mappings":";;;;;;AAOA,IAAa,IAA6B,EAA6B,UAAA,EAwBhE,IAAA,cAA8B,EACpC,EAAgB,CAAG;;;;;;;;2BAeY;;CAE/B,SAAA;AACC,SAAO,CAAI;;;AAAA,EAAA,CALX,EAAQ,EAAE,SAAS,GAAA,CAAA,EACnB,EAAS,EAAE,SAAA,CAAS,GAAA,CAAA,CAAA,EAAO,EAAA,WAAA,QAAA,KAAA,EAAA,EAAA,IAAA,EAAA,CAhB5B,EAAc,mBAAA,CAAA,EAAmB,EAAA;AAAA,SAAA,KAAA,GAAA,KAAA"}
1
+ {"version":3,"file":"surface-0XM4DBaT.js","names":[],"sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { SurfaceMixin } from '@mixins/surface.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\n// Re-export types for backwards compatibility\nexport type { SchmancySurfaceFill, SchmancySurfaceRounded, SchmancySurfaceElevation } from '@mixins/surface.mixin'\n\n/**\n * Themed container the root surface primitive. Sets background, text color, rounding, elevation, and (optionally) internal scroll. Provides a `SchmancySurfaceTypeContext` so descendants can adapt to the enclosing surface variant.\n *\n * @element schmancy-surface\n * @summary Wrap a region of a page when you need it to pick up theme tokens (background + on-color + elevation). Nest surfaces to express Material Design's hierarchical color stacking.\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n * @platform div - Styled `<div>` with theme-driven background/color/elevation. Degrades to a plain `<div>` if the tag never registers — text stays readable, just loses theming.\n * @slot - Default slot for projecting child content.\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends SurfaceMixin(\n\tTailwindElement(css`\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t\tbox-sizing: border-box;\n\t\t\toverflow: visible;\n\t\t}\n\t`),\n) {\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\toverride type: TSurfaceColor = 'subtle'\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}\n"],"mappings":";;;;;;AAOA,IAAa,IAA6B,EAA6B,UAAA,EAkBhE,IAAA,cAA8B,EACpC,EAAgB,CAAG;;;;;;;;2BAeY;;CAE/B,SAAA;AACC,SAAO,CAAI;;;AAAA,EAAA,CALX,EAAQ,EAAE,SAAS,GAAA,CAAA,EACnB,EAAS,EAAE,SAAA,CAAS,GAAA,CAAA,CAAA,EAAO,EAAA,WAAA,QAAA,KAAA,EAAA,EAAA,IAAA,EAAA,CAhB5B,EAAc,mBAAA,CAAA,EAAmB,EAAA;AAAA,SAAA,KAAA,GAAA,KAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"surface-B6DA01kL.cjs","names":[],"sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { SurfaceMixin } from '@mixins/surface.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\n// Re-export types for backwards compatibility\nexport type { SchmancySurfaceFill, SchmancySurfaceRounded, SchmancySurfaceElevation } from '@mixins/surface.mixin'\n\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * SurfaceMixin automatically provides surfaceStyles CSS.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends SurfaceMixin(\n\tTailwindElement(css`\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t\tbox-sizing: border-box;\n\t\t\toverflow: visible;\n\t\t}\n\t`),\n) {\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\toverride type: TSurfaceColor = 'subtle'\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}\n"],"mappings":"wPAOA,IAAa,EAA6B,EAAA,EAA6B,UAAA,CAwBhE,EAAA,cAA8B,EAAA,EACpC,EAAA,EAAgB,EAAA,GAAG;;;;;;6CAeY,SAE/B,QAAA,CACC,MAAO,GAAA,IAAI,kBAAA,EAAA,EAAA,CALX,EAAA,EAAQ,CAAE,QAAS,EAAA,CAAA,EAA6B,EAAA,EAAA,UACvC,CAAE,QAAA,CAAS,EAAA,CAAA,CAAA,CAAO,EAAA,UAAA,OAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eAhBd,mBAAA,CAAA,CAAmB,EAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"surface-B6DA01kL.cjs","names":[],"sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { SurfaceMixin } from '@mixins/surface.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\n// Re-export types for backwards compatibility\nexport type { SchmancySurfaceFill, SchmancySurfaceRounded, SchmancySurfaceElevation } from '@mixins/surface.mixin'\n\n/**\n * Themed container the root surface primitive. Sets background, text color, rounding, elevation, and (optionally) internal scroll. Provides a `SchmancySurfaceTypeContext` so descendants can adapt to the enclosing surface variant.\n *\n * @element schmancy-surface\n * @summary Wrap a region of a page when you need it to pick up theme tokens (background + on-color + elevation). Nest surfaces to express Material Design's hierarchical color stacking.\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n * @platform div - Styled `<div>` with theme-driven background/color/elevation. Degrades to a plain `<div>` if the tag never registers — text stays readable, just loses theming.\n * @slot - Default slot for projecting child content.\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends SurfaceMixin(\n\tTailwindElement(css`\n\t\t:host {\n\t\t\tdisplay: block;\n\t\t\tbox-sizing: border-box;\n\t\t\toverflow: visible;\n\t\t}\n\t`),\n) {\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\toverride type: TSurfaceColor = 'subtle'\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}\n"],"mappings":"wPAOA,IAAa,EAA6B,EAAA,EAA6B,UAAA,CAkBhE,EAAA,cAA8B,EAAA,EACpC,EAAA,EAAgB,EAAA,GAAG;;;;;;6CAeY,SAE/B,QAAA,CACC,MAAO,GAAA,IAAI,kBAAA,EAAA,EAAA,CALX,EAAA,EAAQ,CAAE,QAAS,EAAA,CAAA,EAA6B,EAAA,EAAA,UACvC,CAAE,QAAA,CAAS,EAAA,CAAA,CAAA,CAAO,EAAA,UAAA,OAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eAhBd,mBAAA,CAAA,CAAmB,EAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA"}