@mhmo91/schmancy 0.9.15 → 0.9.17
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.
- package/custom-elements.json +83 -35
- package/dist/agent/schmancy.agent.js +297 -40
- package/dist/agent/schmancy.agent.js.map +1 -1
- package/dist/agent/schmancy.manifest.json +342 -19
- package/dist/autocomplete-CgWUCUU-.js.map +1 -1
- package/dist/autocomplete-EM0jE7X2.cjs.map +1 -1
- package/dist/button.cjs.map +1 -1
- package/dist/button.js.map +1 -1
- package/dist/card-BslSqOsf.cjs.map +1 -1
- package/dist/card-CEdgK9nb.js.map +1 -1
- package/dist/checkbox-Br84TiCs.js.map +1 -1
- package/dist/checkbox-DtcFMgZL.cjs.map +1 -1
- package/dist/chips-BNYOweGm.js.map +1 -1
- package/dist/chips-DoCu5YQb.cjs.map +1 -1
- package/dist/details-B8p62xmR.cjs.map +1 -1
- package/dist/details-CCW52lzz.js.map +1 -1
- package/dist/divider-CbEWg3G_.js.map +1 -1
- package/dist/divider-JyyFw_3J.cjs.map +1 -1
- package/dist/expand-BmwIPNjq.cjs.map +1 -1
- package/dist/expand-bFa_qVDT.js.map +1 -1
- package/dist/extra-BUgyMgjl.cjs.map +1 -1
- package/dist/extra-HwbaUnCD.js.map +1 -1
- package/dist/form-rCZqoAoK.js.map +1 -1
- package/dist/form-wI58M85H.cjs.map +1 -1
- package/dist/handover/agent-runtime-followups.md +1 -1
- package/dist/handover/agent-runtime-v1.md +3 -3
- package/dist/input-BGNZlfL8.cjs.map +1 -1
- package/dist/input-Bc3bVISm.js.map +1 -1
- package/dist/input-chip-CiG61y-N.js.map +1 -1
- package/dist/input-chip-p24lkYtY.cjs.map +1 -1
- package/dist/page.cjs.map +1 -1
- package/dist/page.js.map +1 -1
- package/dist/radio-group-B72sYGnS.js.map +1 -1
- package/dist/radio-group-B7DuNxUq.cjs.map +1 -1
- package/dist/scroll-CdmXRXh2.js.map +1 -1
- package/dist/scroll-V1rAZ9fK.cjs.map +1 -1
- package/dist/select-DFxoBgEf.cjs.map +1 -1
- package/dist/select-wFDKDLQI.js.map +1 -1
- package/dist/surface-0XM4DBaT.js.map +1 -1
- package/dist/surface-B6DA01kL.cjs.map +1 -1
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.js.map +1 -1
- package/dist/textarea-B2544vx9.cjs.map +1 -1
- package/dist/textarea-CS-KdSLz.js.map +1 -1
- package/dist/theme-Cq_c9IO3.js.map +1 -1
- package/dist/theme-DU5yXaV-.cjs.map +1 -1
- package/dist/tree.cjs.map +1 -1
- package/dist/tree.js.map +1 -1
- package/package.json +1 -1
- package/src/autocomplete/autocomplete.ts +12 -1
- package/src/button/button.ts +6 -1
- package/src/button/icon-button.ts +7 -1
- package/src/card/actions.ts +9 -0
- package/src/card/card.ts +18 -0
- package/src/card/content.ts +9 -0
- package/src/card/media.ts +6 -0
- package/src/checkbox/checkbox.ts +7 -1
- package/src/chips/chips.ts +14 -0
- package/src/chips/input-chip.ts +6 -6
- package/src/details/details.ts +12 -0
- package/src/divider/divider.ts +11 -0
- package/src/expand/expand-root.component.ts +12 -0
- package/src/expand/expand.component.ts +14 -0
- package/src/extra/countries/countries.ts +10 -0
- package/src/extra/timezone/timezone.ts +8 -1
- package/src/form/form.ts +9 -2
- package/src/input/input.ts +11 -4
- package/src/layout/scroll/scroll.ts +5 -1
- package/src/page/page.ts +8 -11
- package/src/radio-group/radio-button.ts +10 -1
- package/src/radio-group/radio-group.ts +18 -0
- package/src/select/select.ts +12 -1
- package/src/surface/surface.ts +4 -10
- package/src/switch/switch.ts +7 -4
- package/src/textarea/textarea.ts +9 -1
- package/src/theme/theme.component.ts +10 -15
- package/src/tree/tree.ts +12 -0
- package/types/src/autocomplete/autocomplete.d.ts +12 -1
- package/types/src/button/button.d.ts +6 -1
- package/types/src/button/icon-button.d.ts +7 -1
- package/types/src/card/actions.d.ts +9 -0
- package/types/src/card/card.d.ts +18 -0
- package/types/src/card/content.d.ts +9 -0
- package/types/src/card/media.d.ts +6 -0
- package/types/src/checkbox/checkbox.d.ts +7 -1
- package/types/src/chips/chips.d.ts +14 -0
- package/types/src/chips/input-chip.d.ts +6 -6
- package/types/src/details/details.d.ts +12 -0
- package/types/src/divider/divider.d.ts +11 -0
- package/types/src/expand/expand-root.component.d.ts +12 -0
- package/types/src/expand/expand.component.d.ts +14 -0
- package/types/src/extra/countries/countries.d.ts +10 -0
- package/types/src/extra/timezone/timezone.d.ts +8 -1
- package/types/src/form/form.d.ts +9 -2
- package/types/src/input/input.d.ts +11 -4
- package/types/src/layout/scroll/scroll.d.ts +5 -1
- package/types/src/page/page.d.ts +8 -11
- package/types/src/radio-group/radio-button.d.ts +10 -1
- package/types/src/radio-group/radio-group.d.ts +18 -0
- package/types/src/select/select.d.ts +12 -1
- package/types/src/surface/surface.d.ts +4 -10
- package/types/src/switch/switch.d.ts +7 -4
- package/types/src/textarea/textarea.d.ts +9 -1
- package/types/src/theme/theme.component.d.ts +10 -15
- package/types/src/tree/tree.d.ts +12 -0
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { LitElement, type PropertyValues } from 'lit';
|
|
2
2
|
declare const SchmancyTextarea_base: import("@mixins/index").Constructor<CustomElementConstructor> & import("@mixins/index").Constructor<import("@mixins/index").ITailwindElementMixin> & import("@mixins/index").Constructor<LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Multi-line text input with auto-resize and form integration. Form-associated.
|
|
5
|
+
*
|
|
6
|
+
* @element schmancy-textarea
|
|
7
|
+
* @summary Textarea for freeform text — notes, descriptions, messages. Auto-grows with content up to a maxlength.
|
|
8
|
+
* @example
|
|
9
|
+
* <schmancy-textarea name="description" label="Description" rows="4" maxlength="500"></schmancy-textarea>
|
|
10
|
+
* @platform textarea change - Schmancy-skinned native `<textarea>`. Degrades to styled native `<textarea>` if the tag never registers.
|
|
11
|
+
* @fires input - On every keystroke.
|
|
12
|
+
* @fires change - On blur.
|
|
5
13
|
*
|
|
6
14
|
* @prop {string} name - Name attribute for form submission
|
|
7
15
|
* @prop {string} value - Current value of the textarea
|
|
@@ -2,28 +2,23 @@ import { TSchmancyTheme } from './theme.interface';
|
|
|
2
2
|
export declare const tailwindStyles: import("lit").CSSResult;
|
|
3
3
|
declare const SchmancyThemeComponent_base: CustomElementConstructor & import("../../mixins/constructor").Constructor<import("lit").LitElement> & import("../../mixins/constructor").Constructor<import("../../mixins/baseElement").IBaseMixin>;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* This component manages color schemes, primary colors, and theme distribution
|
|
8
|
-
* throughout the component tree. It can be used at the root level or nested
|
|
9
|
-
* to provide different themes to different parts of the application.
|
|
5
|
+
* Theme provider — generates a Material 3 palette from a seed color, resolves light/dark scheme, and publishes the token set to descendants as CSS custom properties (var(--schmancy-sys-color-…)).
|
|
10
6
|
*
|
|
11
7
|
* @element schmancy-theme
|
|
12
|
-
*
|
|
8
|
+
* @summary Always wrap your app root in a `<schmancy-theme root scheme="auto" color="#…">`. Nest additional `<schmancy-theme>` blocks to override theming for a subtree.
|
|
13
9
|
* @example
|
|
14
|
-
* ```html
|
|
15
10
|
* <!-- Root theme provider -->
|
|
16
|
-
* <schmancy-theme
|
|
11
|
+
* <schmancy-theme root scheme="auto" color="#6200ee">
|
|
17
12
|
* <your-app></your-app>
|
|
18
13
|
* </schmancy-theme>
|
|
19
|
-
*
|
|
20
|
-
* <!-- Nested theme for specific section -->
|
|
21
|
-
* <schmancy-theme
|
|
22
|
-
* <
|
|
23
|
-
* <!-- Components here
|
|
24
|
-
* </
|
|
14
|
+
* @example
|
|
15
|
+
* <!-- Nested theme for a specific section -->
|
|
16
|
+
* <schmancy-theme scheme="dark" color="#2196f3">
|
|
17
|
+
* <schmancy-surface fill="all">
|
|
18
|
+
* <!-- Components here use the blue dark theme -->
|
|
19
|
+
* </schmancy-surface>
|
|
25
20
|
* </schmancy-theme>
|
|
26
|
-
*
|
|
21
|
+
* @platform div - Styled `<div>` that publishes theme tokens via inline `--schmancy-sys-color-*` custom properties. Degrades to a plain div if the tag never registers — children lose theming and fall back to browser defaults.
|
|
27
22
|
*/
|
|
28
23
|
export declare class SchmancyThemeComponent extends SchmancyThemeComponent_base {
|
|
29
24
|
/**
|
package/types/src/tree/tree.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
declare const SchmancyTree_base: import("@mixins/index").Constructor<CustomElementConstructor> & import("@mixins/index").Constructor<import("@mixins/index").ITailwindElementMixin> & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
|
|
2
2
|
/**
|
|
3
|
+
* Expandable tree node — a recursive disclosure widget. One root slot, one default slot for child nodes. Each node can itself contain schmancy-tree children.
|
|
4
|
+
*
|
|
3
5
|
* @element schmancy-tree
|
|
6
|
+
* @summary Use for hierarchical navigation / file-explorer layouts. Each level is a schmancy-tree with a `root` slot (the parent label) and default slot (the children, which may be more schmancy-trees).
|
|
7
|
+
* @example
|
|
8
|
+
* <schmancy-tree>
|
|
9
|
+
* <schmancy-list-item slot="root">src/</schmancy-list-item>
|
|
10
|
+
* <schmancy-tree>
|
|
11
|
+
* <schmancy-list-item slot="root">components/</schmancy-list-item>
|
|
12
|
+
* <schmancy-list-item>button.ts</schmancy-list-item>
|
|
13
|
+
* </schmancy-tree>
|
|
14
|
+
* </schmancy-tree>
|
|
15
|
+
* @platform details toggle - Recursive `<details>`-like disclosure. Degrades to a plain nested list if the tag never registers — loses expand/collapse but stays navigable.
|
|
4
16
|
* @slot root - The root element of the tree
|
|
5
17
|
* @slot - The children of the tree
|
|
6
18
|
*/
|