@egose/shadcn-theme-ng 0.0.16 → 0.0.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.
- package/alert/fesm2022/alert.mjs +1 -1
- package/alert/fesm2022/alert.mjs.map +1 -1
- package/button/fesm2022/button.mjs +1 -0
- package/button/fesm2022/button.mjs.map +1 -1
- package/checkbox/fesm2022/checkbox.mjs +1 -1
- package/checkbox/fesm2022/checkbox.mjs.map +1 -1
- package/exports.json +1 -1
- package/form-checkbox/fesm2022/form-checkbox.mjs +13 -10
- package/form-checkbox/fesm2022/form-checkbox.mjs.map +1 -1
- package/form-checkbox/index.d.ts +2 -1
- package/form-date-picker/fesm2022/form-date-picker.mjs +11 -8
- package/form-date-picker/fesm2022/form-date-picker.mjs.map +1 -1
- package/form-date-picker/index.d.ts +2 -1
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs +11 -5
- package/form-searchable-multiselect/fesm2022/form-searchable-multiselect.mjs.map +1 -1
- package/form-searchable-multiselect/index.d.ts +3 -1
- package/form-select/fesm2022/form-select.mjs +11 -5
- package/form-select/fesm2022/form-select.mjs.map +1 -1
- package/form-select/index.d.ts +3 -1
- package/form-text-input/fesm2022/form-text-input.mjs +12 -9
- package/form-text-input/fesm2022/form-text-input.mjs.map +1 -1
- package/form-text-input/index.d.ts +2 -1
- package/form-textarea/fesm2022/form-textarea.mjs +12 -9
- package/form-textarea/fesm2022/form-textarea.mjs.map +1 -1
- package/form-textarea/index.d.ts +2 -1
- package/package.json +5 -5
- package/{switch → sheet}/README.md +4 -4
- package/sheet/fesm2022/sheet.mjs +271 -0
- package/sheet/fesm2022/sheet.mjs.map +1 -0
- package/sheet/index.d.ts +79 -0
- package/switch/fesm2022/switch.mjs +0 -139
- package/switch/fesm2022/switch.mjs.map +0 -1
- package/switch/index.d.ts +0 -56
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"switch.mjs","sources":["../../../projects/switch/src/lib/switch-thumb.ts","../../../projects/switch/src/lib/switch.ts","../../../projects/switch/src/public-api.ts","../../../projects/switch/src/switch.ts"],"sourcesContent":["import { Directive, computed, input } from '@angular/core';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport type { ClassValue } from 'clsx';\n\n@Directive({\n selector: 'brn-switch-thumb[hlm],[hlmSwitchThumb]',\n host: {\n '[class]': '_computedClass()',\n },\n})\nexport class HlmSwitchThumb {\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n\n protected readonly _computedClass = computed(() =>\n hlm(\n 'tw:bg-background tw:dark:group-data-[state=unchecked]:bg-foreground tw:dark:group-data-[state=checked]:bg-primary-foreground tw:pointer-events-none tw:block tw:size-4 tw:rounded-full tw:ring-0 tw:transition-transform tw:data-[state=unchecked]:translate-x-0 tw:group-data-[state=checked]:translate-x-[calc(100%-2px)]',\n this.userClass(),\n ),\n );\n}\n","import { BooleanInput } from '@angular/cdk/coercion';\nimport {\n ChangeDetectionStrategy,\n Component,\n booleanAttribute,\n computed,\n forwardRef,\n input,\n linkedSignal,\n model,\n output,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';\nimport { BrnSwitch, BrnSwitchThumb } from '@spartan-ng/brain/switch';\nimport { hlm } from '@egose/shadcn-theme-ng/utils';\nimport type { ClassValue } from 'clsx';\nimport { HlmSwitchThumb } from './switch-thumb';\nexport const EG_SWITCH_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => HlmSwitch),\n multi: true,\n};\n\n@Component({\n selector: 'hlm-switch',\n imports: [BrnSwitchThumb, BrnSwitch, HlmSwitchThumb],\n host: {\n class: 'contents',\n '[attr.id]': 'null',\n '[attr.aria-label]': 'null',\n '[attr.aria-labelledby]': 'null',\n '[attr.aria-describedby]': 'null',\n },\n template: `\n <brn-switch\n [class]=\"_computedClass()\"\n [checked]=\"checked()\"\n (changed)=\"handleChange($event)\"\n (touched)=\"_onTouched?.()\"\n [disabled]=\"_disabled()\"\n [id]=\"id()\"\n [aria-label]=\"ariaLabel()\"\n [aria-labelledby]=\"ariaLabelledby()\"\n [aria-describedby]=\"ariaDescribedby()\"\n >\n <brn-switch-thumb hlm />\n </brn-switch>\n `,\n providers: [EG_SWITCH_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HlmSwitch implements ControlValueAccessor {\n public readonly userClass = input<ClassValue>('', { alias: 'class' });\n protected readonly _computedClass = computed(() =>\n hlm(\n 'tw:data-[state=checked]:bg-primary tw:data-[state=unchecked]:bg-input tw:focus-visible:border-ring tw:focus-visible:ring-ring/50 tw:dark:data-[state=unchecked]:bg-input/80 tw:shadow-xs tw:group tw:inline-flex tw:h-[1.15rem] tw:w-8 tw:shrink-0 tw:items-center tw:rounded-full tw:border tw:border-transparent tw:outline-none tw:transition-all tw:focus-visible:ring-[3px] tw:data-[disabled=true]:cursor-not-allowed tw:data-[disabled=true]:opacity-50',\n this.userClass(),\n ),\n );\n\n /** The checked state of the switch. */\n public readonly checked = model<boolean>(false);\n\n /** The disabled state of the switch. */\n public readonly disabled = input<boolean, BooleanInput>(false, {\n transform: booleanAttribute,\n });\n\n /** Used to set the id on the underlying brn element. */\n public readonly id = input<string | null>(null);\n\n /** Used to set the aria-label attribute on the underlying brn element. */\n public readonly ariaLabel = input<string | null>(null, { alias: 'aria-label' });\n\n /** Used to set the aria-labelledby attribute on the underlying brn element. */\n public readonly ariaLabelledby = input<string | null>(null, { alias: 'aria-labelledby' });\n\n /** Used to set the aria-describedby attribute on the underlying brn element. */\n public readonly ariaDescribedby = input<string | null>(null, { alias: 'aria-describedby' });\n\n /** Emits when the checked state of the switch changes. */\n public readonly changed = output<boolean>();\n\n protected readonly _disabled = linkedSignal(this.disabled);\n\n protected _onChange?: ChangeFn<boolean>;\n protected _onTouched?: TouchFn;\n\n protected handleChange(value: boolean): void {\n this.checked.set(value);\n this._onChange?.(value);\n this.changed.emit(value);\n }\n\n /** CONROL VALUE ACCESSOR */\n\n writeValue(value: boolean): void {\n this.checked.set(Boolean(value));\n }\n\n registerOnChange(fn: ChangeFn<boolean>): void {\n this._onChange = fn;\n }\n\n registerOnTouched(fn: TouchFn): void {\n this._onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this._disabled.set(isDisabled);\n }\n}\n","/*\n * Public API Surface of switch\n */\n\nimport { NgModule } from '@angular/core';\n\nimport { HlmSwitch } from './lib/switch';\nimport { HlmSwitchThumb } from './lib/switch-thumb';\n\nexport * from './lib/switch';\nexport * from './lib/switch-thumb';\n\nexport const HlmSwitchImports = [HlmSwitch, HlmSwitchThumb] as const;\n@NgModule({\n imports: [...HlmSwitchImports],\n exports: [...HlmSwitchImports],\n})\nexport class HlmSwitchModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAUa,cAAc,CAAA;AACT,IAAA,SAAS,GAAG,KAAK,CAAa,EAAE,6CAAI,KAAK,EAAE,OAAO,EAAA,CAAA,GAAA,CAAhB,EAAE,KAAK,EAAE,OAAO,EAAE,GAAC;AAElD,IAAA,cAAc,GAAG,QAAQ,CAAC,MAC3C,GAAG,CACD,6TAA6T,EAC7T,IAAI,CAAC,SAAS,EAAE,CACjB,0DACF;uGARU,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wCAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,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AAgB,GAAG,CAAC,SAAS,EAAE,cAAc;MAK7C,eAAe,CAAA;uGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YALK,SAAS,EAAE,cAAc,CAAA,EAAA,OAAA,EAAA,CAAzB,SAAS,EAAE,cAAc,CAAA,EAAA,CAAA;AAK7C,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YALK,SAAS,CAAA,EAAA,CAAA;;2FAK7B,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,GAAG,gBAAgB,CAAC;AAC9B,oBAAA,OAAO,EAAE,CAAC,GAAG,gBAAgB,CAAC;AAC/B,iBAAA;;;AChBD;;AAEG;;;;"}
|
package/switch/index.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
|
3
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import { ChangeFn, TouchFn } from '@spartan-ng/brain/forms';
|
|
5
|
-
import { ClassValue } from 'clsx';
|
|
6
|
-
|
|
7
|
-
declare const EG_SWITCH_VALUE_ACCESSOR: {
|
|
8
|
-
provide: _angular_core.InjectionToken<readonly ControlValueAccessor[]>;
|
|
9
|
-
useExisting: _angular_core.Type<any>;
|
|
10
|
-
multi: boolean;
|
|
11
|
-
};
|
|
12
|
-
declare class HlmSwitch implements ControlValueAccessor {
|
|
13
|
-
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
14
|
-
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
15
|
-
/** The checked state of the switch. */
|
|
16
|
-
readonly checked: _angular_core.ModelSignal<boolean>;
|
|
17
|
-
/** The disabled state of the switch. */
|
|
18
|
-
readonly disabled: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
|
|
19
|
-
/** Used to set the id on the underlying brn element. */
|
|
20
|
-
readonly id: _angular_core.InputSignal<string | null>;
|
|
21
|
-
/** Used to set the aria-label attribute on the underlying brn element. */
|
|
22
|
-
readonly ariaLabel: _angular_core.InputSignal<string | null>;
|
|
23
|
-
/** Used to set the aria-labelledby attribute on the underlying brn element. */
|
|
24
|
-
readonly ariaLabelledby: _angular_core.InputSignal<string | null>;
|
|
25
|
-
/** Used to set the aria-describedby attribute on the underlying brn element. */
|
|
26
|
-
readonly ariaDescribedby: _angular_core.InputSignal<string | null>;
|
|
27
|
-
/** Emits when the checked state of the switch changes. */
|
|
28
|
-
readonly changed: _angular_core.OutputEmitterRef<boolean>;
|
|
29
|
-
protected readonly _disabled: _angular_core.WritableSignal<boolean>;
|
|
30
|
-
protected _onChange?: ChangeFn<boolean>;
|
|
31
|
-
protected _onTouched?: TouchFn;
|
|
32
|
-
protected handleChange(value: boolean): void;
|
|
33
|
-
/** CONROL VALUE ACCESSOR */
|
|
34
|
-
writeValue(value: boolean): void;
|
|
35
|
-
registerOnChange(fn: ChangeFn<boolean>): void;
|
|
36
|
-
registerOnTouched(fn: TouchFn): void;
|
|
37
|
-
setDisabledState(isDisabled: boolean): void;
|
|
38
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSwitch, never>;
|
|
39
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<HlmSwitch, "hlm-switch", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; "isSignal": true; }; }, { "checked": "checkedChange"; "changed": "changed"; }, never, never, true, never>;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
declare class HlmSwitchThumb {
|
|
43
|
-
readonly userClass: _angular_core.InputSignal<ClassValue>;
|
|
44
|
-
protected readonly _computedClass: _angular_core.Signal<string>;
|
|
45
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSwitchThumb, never>;
|
|
46
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<HlmSwitchThumb, "brn-switch-thumb[hlm],[hlmSwitchThumb]", never, { "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
declare const HlmSwitchImports: readonly [typeof HlmSwitch, typeof HlmSwitchThumb];
|
|
50
|
-
declare class HlmSwitchModule {
|
|
51
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<HlmSwitchModule, never>;
|
|
52
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<HlmSwitchModule, never, [typeof HlmSwitch, typeof HlmSwitchThumb], [typeof HlmSwitch, typeof HlmSwitchThumb]>;
|
|
53
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<HlmSwitchModule>;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export { EG_SWITCH_VALUE_ACCESSOR, HlmSwitch, HlmSwitchImports, HlmSwitchModule, HlmSwitchThumb };
|