@furystack/shades-common-components 5.0.1 → 5.0.3
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/esm/components/animations.js +1 -1
- package/esm/components/animations.js.map +1 -1
- package/esm/components/app-bar-link.js +1 -1
- package/esm/components/app-bar-link.js.map +1 -1
- package/esm/components/app-bar.js +1 -1
- package/esm/components/app-bar.js.map +1 -1
- package/{types → esm}/components/button.d.ts +1 -1
- package/{types → esm}/components/button.d.ts.map +1 -1
- package/esm/components/button.js +2 -2
- package/esm/components/button.js.map +1 -1
- package/{types → esm}/components/command-palette/command-palette-input.d.ts +1 -1
- package/{types → esm}/components/command-palette/command-palette-input.d.ts.map +1 -1
- package/esm/components/command-palette/command-palette-input.js +2 -2
- package/esm/components/command-palette/command-palette-input.js.map +1 -1
- package/{types → esm}/components/command-palette/command-palette-manager.d.ts +1 -1
- package/{types → esm}/components/command-palette/command-palette-manager.d.ts.map +1 -1
- package/{types → esm}/components/command-palette/command-palette-suggestion-list.d.ts +1 -1
- package/{types → esm}/components/command-palette/command-palette-suggestion-list.d.ts.map +1 -1
- package/esm/components/command-palette/command-palette-suggestion-list.js +2 -2
- package/esm/components/command-palette/command-palette-suggestion-list.js.map +1 -1
- package/{types → esm}/components/command-palette/index.d.ts +5 -5
- package/{types → esm}/components/command-palette/index.d.ts.map +1 -1
- package/esm/components/command-palette/index.js +11 -11
- package/esm/components/command-palette/index.js.map +1 -1
- package/{types → esm}/components/data-grid/body.d.ts +2 -2
- package/esm/components/data-grid/body.d.ts.map +1 -0
- package/esm/components/data-grid/body.js +2 -2
- package/esm/components/data-grid/body.js.map +1 -1
- package/{types → esm}/components/data-grid/data-grid-row.d.ts +2 -2
- package/esm/components/data-grid/data-grid-row.d.ts.map +1 -0
- package/esm/components/data-grid/data-grid-row.js +1 -1
- package/esm/components/data-grid/data-grid-row.js.map +1 -1
- package/{types → esm}/components/data-grid/data-grid.d.ts +2 -2
- package/{types → esm}/components/data-grid/data-grid.d.ts.map +1 -1
- package/esm/components/data-grid/data-grid.js +5 -4
- package/esm/components/data-grid/data-grid.js.map +1 -1
- package/{types → esm}/components/data-grid/footer.d.ts +1 -1
- package/{types → esm}/components/data-grid/footer.d.ts.map +1 -1
- package/esm/components/data-grid/footer.js +1 -1
- package/esm/components/data-grid/footer.js.map +1 -1
- package/{types → esm}/components/data-grid/header.d.ts +1 -1
- package/{types → esm}/components/data-grid/header.d.ts.map +1 -1
- package/esm/components/data-grid/header.js +4 -4
- package/esm/components/data-grid/header.js.map +1 -1
- package/esm/components/data-grid/index.d.ts +3 -0
- package/{types → esm}/components/data-grid/index.d.ts.map +1 -1
- package/esm/components/data-grid/index.js +2 -2
- package/esm/components/data-grid/index.js.map +1 -1
- package/{types → esm}/components/data-grid/selection-cell.d.ts +1 -1
- package/esm/components/data-grid/selection-cell.d.ts.map +1 -0
- package/{types → esm}/components/form.d.ts +1 -1
- package/esm/components/form.d.ts.map +1 -0
- package/esm/components/grid.js +1 -1
- package/esm/components/grid.js.map +1 -1
- package/esm/components/index.d.ts +21 -0
- package/esm/components/index.d.ts.map +1 -0
- package/esm/components/index.js +20 -20
- package/esm/components/index.js.map +1 -1
- package/{types → esm}/components/inputs/autocomplete.d.ts +1 -1
- package/{types → esm}/components/inputs/autocomplete.d.ts.map +1 -1
- package/esm/components/inputs/autocomplete.js +1 -1
- package/esm/components/inputs/autocomplete.js.map +1 -1
- package/esm/components/inputs/index.d.ts +4 -0
- package/{types → esm}/components/inputs/index.d.ts.map +1 -1
- package/esm/components/inputs/index.js +3 -3
- package/esm/components/inputs/index.js.map +1 -1
- package/{types → esm}/components/inputs/input.d.ts +1 -1
- package/{types → esm}/components/inputs/input.d.ts.map +1 -1
- package/esm/components/inputs/input.js +2 -1
- package/esm/components/inputs/input.js.map +1 -1
- package/esm/components/inputs/text-area.js +2 -2
- package/esm/components/inputs/text-area.js.map +1 -1
- package/esm/components/loader.js +2 -2
- package/esm/components/loader.js.map +1 -1
- package/{types → esm}/components/noty-list.d.ts +1 -1
- package/{types → esm}/components/noty-list.d.ts.map +1 -1
- package/esm/components/noty-list.js +4 -4
- package/esm/components/noty-list.js.map +1 -1
- package/esm/components/paper.js +1 -1
- package/esm/components/paper.js.map +1 -1
- package/esm/components/skeleton.js +1 -1
- package/esm/components/skeleton.js.map +1 -1
- package/{types → esm}/components/suggest/index.d.ts +5 -5
- package/{types → esm}/components/suggest/index.d.ts.map +1 -1
- package/esm/components/suggest/index.js +10 -10
- package/esm/components/suggest/index.js.map +1 -1
- package/{types → esm}/components/suggest/suggest-input.d.ts +1 -1
- package/{types → esm}/components/suggest/suggest-input.d.ts.map +1 -1
- package/esm/components/suggest/suggest-input.js +1 -1
- package/esm/components/suggest/suggest-input.js.map +1 -1
- package/{types → esm}/components/suggest/suggest-manager.d.ts +1 -1
- package/{types → esm}/components/suggest/suggest-manager.d.ts.map +1 -1
- package/{types → esm}/components/suggest/suggestion-list.d.ts +1 -1
- package/{types → esm}/components/suggest/suggestion-list.d.ts.map +1 -1
- package/esm/components/suggest/suggestion-list.js +2 -2
- package/esm/components/suggest/suggestion-list.js.map +1 -1
- package/esm/components/tabs.js +1 -1
- package/esm/components/tabs.js.map +1 -1
- package/esm/components/wizard/index.js +1 -1
- package/esm/components/wizard/index.js.map +1 -1
- package/esm/index.d.ts +4 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +3 -3
- package/esm/index.js.map +1 -1
- package/esm/services/default-dark-theme.d.ts +3 -0
- package/{types → esm}/services/default-dark-theme.d.ts.map +1 -1
- package/esm/services/default-dark-theme.js +1 -1
- package/esm/services/default-dark-theme.js.map +1 -1
- package/esm/services/default-light-theme.d.ts +3 -0
- package/{types → esm}/services/default-light-theme.d.ts.map +1 -1
- package/esm/services/default-light-theme.js +1 -1
- package/esm/services/default-light-theme.js.map +1 -1
- package/esm/services/default-palette.d.ts +3 -0
- package/{types → esm}/services/default-palette.d.ts.map +1 -1
- package/{types → esm}/services/default-variable-theme.d.ts +1 -1
- package/{types → esm}/services/default-variable-theme.d.ts.map +1 -1
- package/esm/services/index.d.ts +9 -0
- package/esm/services/index.d.ts.map +1 -0
- package/esm/services/index.js +8 -8
- package/esm/services/index.js.map +1 -1
- package/esm/services/theme-provider-service.js +1 -1
- package/esm/services/theme-provider-service.js.map +1 -1
- package/esm/utils/index.d.ts +2 -0
- package/esm/utils/index.d.ts.map +1 -0
- package/esm/utils/index.js +1 -1
- package/esm/utils/index.js.map +1 -1
- package/package.json +7 -16
- package/src/components/animations.ts +1 -1
- package/src/components/app-bar-link.tsx +1 -1
- package/src/components/app-bar.tsx +1 -1
- package/src/components/button.tsx +3 -3
- package/src/components/command-palette/command-palette-input.tsx +3 -3
- package/src/components/command-palette/command-palette-manager.ts +1 -1
- package/src/components/command-palette/command-palette-suggestion-list.tsx +3 -3
- package/src/components/command-palette/index.tsx +12 -12
- package/src/components/data-grid/body.tsx +4 -4
- package/src/components/data-grid/data-grid-row.tsx +3 -3
- package/src/components/data-grid/data-grid.tsx +7 -6
- package/src/components/data-grid/footer.tsx +2 -2
- package/src/components/data-grid/header.tsx +5 -5
- package/src/components/data-grid/index.tsx +2 -2
- package/src/components/data-grid/selection-cell.tsx +1 -1
- package/src/components/form.tsx +1 -1
- package/src/components/grid.tsx +1 -1
- package/src/components/index.ts +20 -20
- package/src/components/inputs/autocomplete.tsx +2 -2
- package/src/components/inputs/index.ts +3 -3
- package/src/components/inputs/input.tsx +3 -2
- package/src/components/inputs/text-area.tsx +2 -2
- package/src/components/loader.tsx +2 -2
- package/src/components/noty-list.tsx +5 -5
- package/src/components/paper.tsx +1 -1
- package/src/components/skeleton.tsx +1 -1
- package/src/components/suggest/index.tsx +11 -11
- package/src/components/suggest/suggest-input.tsx +2 -2
- package/src/components/suggest/suggest-manager.ts +1 -1
- package/src/components/suggest/suggestion-list.tsx +3 -3
- package/src/components/tabs.tsx +1 -1
- package/src/components/wizard/index.tsx +1 -1
- package/src/index.ts +3 -3
- package/src/services/default-dark-theme.ts +2 -2
- package/src/services/default-light-theme.ts +2 -2
- package/src/services/default-palette.ts +1 -1
- package/src/services/default-variable-theme.ts +1 -1
- package/src/services/index.ts +8 -8
- package/src/services/theme-provider-service.ts +1 -1
- package/src/utils/index.ts +1 -1
- package/types/components/data-grid/body.d.ts.map +0 -1
- package/types/components/data-grid/data-grid-row.d.ts.map +0 -1
- package/types/components/data-grid/index.d.ts +0 -3
- package/types/components/data-grid/selection-cell.d.ts.map +0 -1
- package/types/components/form.d.ts.map +0 -1
- package/types/components/index.d.ts +0 -21
- package/types/components/index.d.ts.map +0 -1
- package/types/components/inputs/index.d.ts +0 -4
- package/types/index.d.ts +0 -4
- package/types/index.d.ts.map +0 -1
- package/types/services/default-dark-theme.d.ts +0 -3
- package/types/services/default-light-theme.d.ts +0 -3
- package/types/services/default-palette.d.ts +0 -3
- package/types/services/index.d.ts +0 -9
- package/types/services/index.d.ts.map +0 -1
- package/types/utils/index.d.ts +0 -2
- package/types/utils/index.d.ts.map +0 -1
- /package/{types → esm}/components/animations.d.ts +0 -0
- /package/{types → esm}/components/animations.d.ts.map +0 -0
- /package/{types → esm}/components/app-bar-link.d.ts +0 -0
- /package/{types → esm}/components/app-bar-link.d.ts.map +0 -0
- /package/{types → esm}/components/app-bar.d.ts +0 -0
- /package/{types → esm}/components/app-bar.d.ts.map +0 -0
- /package/{types → esm}/components/avatar.d.ts +0 -0
- /package/{types → esm}/components/avatar.d.ts.map +0 -0
- /package/{types → esm}/components/command-palette/command-provider.d.ts +0 -0
- /package/{types → esm}/components/command-palette/command-provider.d.ts.map +0 -0
- /package/{types → esm}/components/fab.d.ts +0 -0
- /package/{types → esm}/components/fab.d.ts.map +0 -0
- /package/{types → esm}/components/grid.d.ts +0 -0
- /package/{types → esm}/components/grid.d.ts.map +0 -0
- /package/{types → esm}/components/inputs/text-area.d.ts +0 -0
- /package/{types → esm}/components/inputs/text-area.d.ts.map +0 -0
- /package/{types → esm}/components/loader.d.ts +0 -0
- /package/{types → esm}/components/loader.d.ts.map +0 -0
- /package/{types → esm}/components/modal.d.ts +0 -0
- /package/{types → esm}/components/modal.d.ts.map +0 -0
- /package/{types → esm}/components/paper.d.ts +0 -0
- /package/{types → esm}/components/paper.d.ts.map +0 -0
- /package/{types → esm}/components/skeleton.d.ts +0 -0
- /package/{types → esm}/components/skeleton.d.ts.map +0 -0
- /package/{types → esm}/components/styles.d.ts +0 -0
- /package/{types → esm}/components/styles.d.ts.map +0 -0
- /package/{types → esm}/components/suggest/suggestion-result.d.ts +0 -0
- /package/{types → esm}/components/suggest/suggestion-result.d.ts.map +0 -0
- /package/{types → esm}/components/tabs.d.ts +0 -0
- /package/{types → esm}/components/tabs.d.ts.map +0 -0
- /package/{types → esm}/components/wizard/index.d.ts +0 -0
- /package/{types → esm}/components/wizard/index.d.ts.map +0 -0
- /package/{types → esm}/services/click-away-service.d.ts +0 -0
- /package/{types → esm}/services/click-away-service.d.ts.map +0 -0
- /package/{types → esm}/services/collection-service.d.ts +0 -0
- /package/{types → esm}/services/collection-service.d.ts.map +0 -0
- /package/{types → esm}/services/noty-service.d.ts +0 -0
- /package/{types → esm}/services/noty-service.d.ts.map +0 -0
- /package/{types → esm}/services/theme-provider-service.d.ts +0 -0
- /package/{types → esm}/services/theme-provider-service.d.ts.map +0 -0
- /package/{types → esm}/utils/promisify-animation.d.ts +0 -0
- /package/{types → esm}/utils/promisify-animation.d.ts.map +0 -0
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-dark-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-dark-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AAExD,eAAO,MAAM,gBAAgB,EAAE,KAmB9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-dark-theme.js","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-dark-theme.js","sourceRoot":"","sources":["../../src/services/default-dark-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,MAAM,CAAC,MAAM,gBAAgB,GAAU;IACrC,IAAI,EAAE;QACJ,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,0BAA0B;QACrC,QAAQ,EAAE,0BAA0B;KACrC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,2BAA2B;QAClC,QAAQ,EAAE,2BAA2B;QACrC,QAAQ,EAAE,0BAA0B;QACpC,kBAAkB,EAAE,2BAA2B;KAChD;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,SAAS;KACjB;IACD,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-light-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-light-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AAExD,eAAO,MAAM,iBAAiB,EAAE,KAmB/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-light-theme.js","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-light-theme.js","sourceRoot":"","sources":["../../src/services/default-light-theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAGrD,MAAM,CAAC,MAAM,iBAAiB,GAAU;IACtC,OAAO,EAAE,cAAc;IACvB,IAAI,EAAE;QACJ,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,qBAAqB;QAChC,QAAQ,EAAE,qBAAqB;KAChC;IACD,MAAM,EAAE;QACN,MAAM,EAAE,qBAAqB;QAC7B,KAAK,EAAE,qBAAqB;QAC5B,QAAQ,EAAE,qBAAqB;QAC/B,QAAQ,EAAE,qBAAqB;QAC/B,kBAAkB,EAAE,qBAAqB;KAC1C;IACD,UAAU,EAAE;QACV,OAAO,EAAE,SAAS;QAClB,KAAK,EAAE,MAAM;KACd;IACD,OAAO,EAAE,qBAAqB;CAC/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-palette.d.ts","sourceRoot":"","sources":["../../src/services/default-palette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-palette.d.ts","sourceRoot":"","sources":["../../src/services/default-palette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAA;AAE1D,eAAO,MAAM,cAAc,EAAE,OA+B5B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DeepPartial } from '@furystack/utils';
|
|
2
|
-
import type { Theme } from './theme-provider-service';
|
|
2
|
+
import type { Theme } from './theme-provider-service.js';
|
|
3
3
|
export declare const defaultVariableTheme: Theme;
|
|
4
4
|
export declare const setCssVariable: (key: string, value: string, root: HTMLElement) => void;
|
|
5
5
|
export declare const getCssVariable: (key: string, root?: HTMLElement) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-variable-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-variable-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"default-variable-theme.d.ts","sourceRoot":"","sources":["../../src/services/default-variable-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAA;AACxD,eAAO,MAAM,oBAAoB,EAAE,KAkDlC,CAAA;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,SAAS,MAAM,QAAQ,WAAW,SAE3E,CAAA;AAED,eAAO,MAAM,cAAc,QAAS,MAAM,SAAQ,WAAW,WAE5D,CAAA;AAmBD,eAAO,MAAM,oBAAoB,UAAW,YAAY,KAAK,CAAC,SAG7D,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './click-away-service.js';
|
|
2
|
+
export * from './collection-service.js';
|
|
3
|
+
export * from './theme-provider-service.js';
|
|
4
|
+
export * from './default-dark-theme.js';
|
|
5
|
+
export * from './default-light-theme.js';
|
|
6
|
+
export * from './default-palette.js';
|
|
7
|
+
export * from './noty-service.js';
|
|
8
|
+
export * from './default-variable-theme.js';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA"}
|
package/esm/services/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './click-away-service';
|
|
2
|
-
export * from './collection-service';
|
|
3
|
-
export * from './theme-provider-service';
|
|
4
|
-
export * from './default-dark-theme';
|
|
5
|
-
export * from './default-light-theme';
|
|
6
|
-
export * from './default-palette';
|
|
7
|
-
export * from './noty-service';
|
|
8
|
-
export * from './default-variable-theme';
|
|
1
|
+
export * from './click-away-service.js';
|
|
2
|
+
export * from './collection-service.js';
|
|
3
|
+
export * from './theme-provider-service.js';
|
|
4
|
+
export * from './default-dark-theme.js';
|
|
5
|
+
export * from './default-light-theme.js';
|
|
6
|
+
export * from './default-palette.js';
|
|
7
|
+
export * from './noty-service.js';
|
|
8
|
+
export * from './default-variable-theme.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,0BAA0B,CAAA;AACxC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA"}
|
|
@@ -5,7 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { Injectable } from '@furystack/inject';
|
|
8
|
-
import { defaultVariableTheme, getCssVariable, useThemeCssVariables } from './default-variable-theme';
|
|
8
|
+
import { defaultVariableTheme, getCssVariable, useThemeCssVariables } from './default-variable-theme.js';
|
|
9
9
|
export class RgbColor {
|
|
10
10
|
constructor(r, g, b, a = 1) {
|
|
11
11
|
this.r = r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider-service.js","sourceRoot":"","sources":["../../src/services/theme-provider-service.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"theme-provider-service.js","sourceRoot":"","sources":["../../src/services/theme-provider-service.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
package/esm/utils/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './promisify-animation';
|
|
1
|
+
export * from './promisify-animation.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/esm/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@furystack/shades-common-components",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -8,16 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
-
"import": "./esm/index.js"
|
|
12
|
-
"types": "./types/index.d.ts"
|
|
13
|
-
},
|
|
14
|
-
"./package.json": "./package.json"
|
|
15
|
-
},
|
|
16
|
-
"typesVersions": {
|
|
17
|
-
"*": {
|
|
18
|
-
"*": [
|
|
19
|
-
"types/*"
|
|
20
|
-
]
|
|
11
|
+
"import": "./esm/index.js"
|
|
21
12
|
}
|
|
22
13
|
},
|
|
23
14
|
"files": [
|
|
@@ -41,13 +32,13 @@
|
|
|
41
32
|
"license": "GPL-2.0",
|
|
42
33
|
"devDependencies": {
|
|
43
34
|
"typescript": "^5.0.4",
|
|
44
|
-
"vitest": "^0.
|
|
35
|
+
"vitest": "^0.31.0"
|
|
45
36
|
},
|
|
46
37
|
"dependencies": {
|
|
47
|
-
"@furystack/core": "^12.0.
|
|
48
|
-
"@furystack/inject": "^8.0.
|
|
49
|
-
"@furystack/shades": "^8.0.
|
|
50
|
-
"@furystack/utils": "^4.0.
|
|
38
|
+
"@furystack/core": "^12.0.3",
|
|
39
|
+
"@furystack/inject": "^8.0.3",
|
|
40
|
+
"@furystack/shades": "^8.0.3",
|
|
41
|
+
"@furystack/utils": "^4.0.3",
|
|
51
42
|
"path-to-regexp": "^6.2.1",
|
|
52
43
|
"semaphore-async-await": "^1.5.1"
|
|
53
44
|
},
|
|
@@ -2,7 +2,7 @@ import type { RouteLinkProps } from '@furystack/shades'
|
|
|
2
2
|
import { attachProps } from '@furystack/shades'
|
|
3
3
|
import { createComponent, LocationService, RouteLink, Shade } from '@furystack/shades'
|
|
4
4
|
import { match } from 'path-to-regexp'
|
|
5
|
-
import { ThemeProviderService } from '../services'
|
|
5
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
6
6
|
|
|
7
7
|
export const AppBarLink = Shade<RouteLinkProps>({
|
|
8
8
|
shadowDomName: 'shade-app-bar-link',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Shade, createComponent, attachProps } from '@furystack/shades'
|
|
2
|
-
import { ThemeProviderService } from '../services/theme-provider-service'
|
|
2
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
3
3
|
|
|
4
4
|
export const AppBar = Shade({
|
|
5
5
|
shadowDomName: 'shade-app-bar',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PartialElement } from '@furystack/shades'
|
|
2
2
|
import { attachProps } from '@furystack/shades'
|
|
3
3
|
import { Shade, createComponent } from '@furystack/shades'
|
|
4
|
-
import { promisifyAnimation } from '../utils/promisify-animation'
|
|
5
|
-
import type { Palette, Theme } from '../services/theme-provider-service'
|
|
6
|
-
import { ThemeProviderService } from '../services/theme-provider-service'
|
|
4
|
+
import { promisifyAnimation } from '../utils/promisify-animation.js'
|
|
5
|
+
import type { Palette, Theme } from '../services/theme-provider-service.js'
|
|
6
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
7
7
|
import { Trace } from '@furystack/utils'
|
|
8
8
|
|
|
9
9
|
export type ButtonProps = PartialElement<HTMLButtonElement> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import { ThemeProviderService } from '../../services'
|
|
3
|
-
import { promisifyAnimation } from '../../utils/promisify-animation'
|
|
4
|
-
import type { CommandPaletteManager } from './command-palette-manager'
|
|
2
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
3
|
+
import { promisifyAnimation } from '../../utils/promisify-animation.js'
|
|
4
|
+
import type { CommandPaletteManager } from './command-palette-manager.js'
|
|
5
5
|
|
|
6
6
|
export const CommandPaletteInput = Shade<{ manager: CommandPaletteManager }>({
|
|
7
7
|
shadowDomName: 'shades-command-palette-input',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Injector } from '@furystack/inject'
|
|
2
2
|
import { Injectable } from '@furystack/inject'
|
|
3
3
|
import { debounce, ObservableValue } from '@furystack/utils'
|
|
4
|
-
import type { CommandProvider, CommandPaletteSuggestionResult } from './command-provider'
|
|
4
|
+
import type { CommandProvider, CommandPaletteSuggestionResult } from './command-provider.js'
|
|
5
5
|
|
|
6
6
|
@Injectable({ lifetime: 'singleton' })
|
|
7
7
|
export class CommandPaletteManager {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import { promisifyAnimation } from '../../utils/promisify-animation'
|
|
3
|
-
import type { CommandPaletteManager } from './command-palette-manager'
|
|
4
|
-
import { ThemeProviderService } from '../../services/theme-provider-service'
|
|
2
|
+
import { promisifyAnimation } from '../../utils/promisify-animation.js'
|
|
3
|
+
import type { CommandPaletteManager } from './command-palette-manager.js'
|
|
4
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
5
5
|
|
|
6
6
|
export const CommandPaletteSuggestionList = Shade<{ manager: CommandPaletteManager; fullScreenSuggestions?: boolean }>({
|
|
7
7
|
shadowDomName: 'shade-command-palette-suggestion-list',
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import { promisifyAnimation } from '../../utils/promisify-animation'
|
|
3
|
-
import { Loader } from '../loader'
|
|
4
|
-
import { CommandPaletteManager } from './command-palette-manager'
|
|
5
|
-
import { CommandPaletteInput } from './command-palette-input'
|
|
6
|
-
import { CommandPaletteSuggestionList } from './command-palette-suggestion-list'
|
|
7
|
-
import type { CommandProvider } from './command-provider'
|
|
8
|
-
import { ClickAwayService } from '../../services/click-away-service'
|
|
9
|
-
import { ThemeProviderService } from '../../services'
|
|
2
|
+
import { promisifyAnimation } from '../../utils/promisify-animation.js'
|
|
3
|
+
import { Loader } from '../loader.js'
|
|
4
|
+
import { CommandPaletteManager } from './command-palette-manager.js'
|
|
5
|
+
import { CommandPaletteInput } from './command-palette-input.js'
|
|
6
|
+
import { CommandPaletteSuggestionList } from './command-palette-suggestion-list.js'
|
|
7
|
+
import type { CommandProvider } from './command-provider.js'
|
|
8
|
+
import { ClickAwayService } from '../../services/click-away-service.js'
|
|
9
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
10
10
|
|
|
11
|
-
export * from './command-palette-input'
|
|
12
|
-
export * from './command-palette-manager'
|
|
13
|
-
export * from './command-palette-suggestion-list'
|
|
14
|
-
export * from './command-provider'
|
|
11
|
+
export * from './command-palette-input.js'
|
|
12
|
+
export * from './command-palette-manager.js'
|
|
13
|
+
export * from './command-palette-suggestion-list.js'
|
|
14
|
+
export * from './command-provider.js'
|
|
15
15
|
|
|
16
16
|
export interface CommandPaletteProps {
|
|
17
17
|
commandProviders: CommandProvider[]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { CollectionService } from '../../services/collection-service'
|
|
1
|
+
import type { CollectionService } from '../../services/collection-service.js'
|
|
2
2
|
import type { ChildrenList } from '@furystack/shades'
|
|
3
3
|
import { Shade, createComponent } from '@furystack/shades'
|
|
4
|
-
import type { DataRowCells } from './data-grid'
|
|
5
|
-
import { Loader } from '../loader'
|
|
6
|
-
import { DataGridRow } from './data-grid-row'
|
|
4
|
+
import type { DataRowCells } from './data-grid.js'
|
|
5
|
+
import { Loader } from '../loader.js'
|
|
6
|
+
import { DataGridRow } from './data-grid-row.js'
|
|
7
7
|
|
|
8
8
|
export interface DataGridBodyProps<T> {
|
|
9
9
|
service: CollectionService<T>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ChildrenList } from '@furystack/shades'
|
|
2
2
|
import { attachStyles, createComponent, Shade } from '@furystack/shades'
|
|
3
|
-
import { ThemeProviderService } from '../../services'
|
|
4
|
-
import type { CollectionService } from '../../services/collection-service'
|
|
5
|
-
import type { DataRowCells } from './data-grid'
|
|
3
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
4
|
+
import type { CollectionService } from '../../services/collection-service.js'
|
|
5
|
+
import type { DataRowCells } from './data-grid.js'
|
|
6
6
|
|
|
7
7
|
export interface DataGridRowProps<T> {
|
|
8
8
|
entry: T
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { ChildrenList } from '@furystack/shades'
|
|
2
2
|
import { createComponent, Shade } from '@furystack/shades'
|
|
3
|
-
import type { CollectionService } from '../../services/collection-service'
|
|
4
|
-
import type { GridProps } from '../grid'
|
|
5
|
-
import { DataGridHeader } from './header'
|
|
6
|
-
import { DataGridBody } from './body'
|
|
7
|
-
import { DataGridFooter } from './footer'
|
|
8
|
-
import {
|
|
3
|
+
import type { CollectionService } from '../../services/collection-service.js'
|
|
4
|
+
import type { GridProps } from '../grid.js'
|
|
5
|
+
import { DataGridHeader } from './header.js'
|
|
6
|
+
import { DataGridBody } from './body.js'
|
|
7
|
+
import { DataGridFooter } from './footer.js'
|
|
8
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
9
|
+
import { ClickAwayService } from '../../services/click-away-service.js'
|
|
9
10
|
|
|
10
11
|
export type DataHeaderCells<T> = {
|
|
11
12
|
[TKey in keyof T | 'default']?: (name: keyof T) => JSX.Element
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import { ThemeProviderService } from '../../services'
|
|
3
|
-
import type { CollectionService } from '../../services/collection-service'
|
|
2
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
3
|
+
import type { CollectionService } from '../../services/collection-service.js'
|
|
4
4
|
|
|
5
5
|
export const dataGridItemsPerPage = [10, 20, 25, 50, 100, Infinity]
|
|
6
6
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { FindOptions } from '@furystack/core'
|
|
2
2
|
import type { ChildrenList } from '@furystack/shades'
|
|
3
3
|
import { Shade, createComponent } from '@furystack/shades'
|
|
4
|
-
import type { CollectionService } from '../../services/collection-service'
|
|
5
|
-
import { Input } from '../inputs/input'
|
|
6
|
-
import { Form } from '../form'
|
|
7
|
-
import { Button } from '../button'
|
|
4
|
+
import type { CollectionService } from '../../services/collection-service.js'
|
|
5
|
+
import { Input } from '../inputs/input.js'
|
|
6
|
+
import { Form } from '../form.js'
|
|
7
|
+
import { Button } from '../button.js'
|
|
8
8
|
import { ObservableValue } from '@furystack/utils'
|
|
9
|
-
import { collapse, expand } from '../animations'
|
|
9
|
+
import { collapse, expand } from '../animations.js'
|
|
10
10
|
|
|
11
11
|
export interface DataGridHeaderProps<T, K extends keyof T> {
|
|
12
12
|
collectionService: CollectionService<T>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './data-grid'
|
|
2
|
-
export * from './selection-cell'
|
|
1
|
+
export * from './data-grid.js'
|
|
2
|
+
export * from './selection-cell.js'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createComponent, Shade } from '@furystack/shades'
|
|
2
|
-
import type { CollectionService } from '../../services'
|
|
2
|
+
import type { CollectionService } from '../../services/collection-service.js'
|
|
3
3
|
|
|
4
4
|
export const SelectionCell = Shade<{ entry: any; service: CollectionService<any> }>({
|
|
5
5
|
shadowDomName: 'shades-data-grid-selection-cell',
|
package/src/components/form.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ChildrenList, PartialElement } from '@furystack/shades'
|
|
2
2
|
import { attachProps } from '@furystack/shades'
|
|
3
3
|
import { Shade, createComponent } from '@furystack/shades'
|
|
4
|
-
import type { InputValidationResult } from './inputs'
|
|
4
|
+
import type { InputValidationResult } from './inputs/input.js'
|
|
5
5
|
import { Injectable } from '@furystack/inject'
|
|
6
6
|
import { ObservableValue } from '@furystack/utils'
|
|
7
7
|
|
package/src/components/grid.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChildrenList } from '@furystack/shades'
|
|
2
2
|
import { Shade, createComponent } from '@furystack/shades'
|
|
3
|
-
import { ThemeProviderService } from '../services'
|
|
3
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
4
4
|
|
|
5
5
|
// ToDo: https://stackoverflow.com/questions/51459971/type-of-generic-stateless-component-react-or-extending-generic-function-interfa
|
|
6
6
|
|
package/src/components/index.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export * from './animations'
|
|
2
|
-
export * from './app-bar'
|
|
3
|
-
export * from './app-bar-link'
|
|
4
|
-
export * from './inputs'
|
|
5
|
-
export * from './avatar'
|
|
6
|
-
export * from './button'
|
|
7
|
-
export * from './data-grid'
|
|
8
|
-
export * from './fab'
|
|
9
|
-
export * from './form'
|
|
10
|
-
export * from './grid'
|
|
11
|
-
export * from './modal'
|
|
12
|
-
export * from './noty-list'
|
|
13
|
-
export * from './paper'
|
|
14
|
-
export * from './skeleton'
|
|
15
|
-
export * from './styles'
|
|
16
|
-
export * from './suggest'
|
|
17
|
-
export * from './tabs'
|
|
18
|
-
export * from './loader'
|
|
19
|
-
export * from './command-palette'
|
|
20
|
-
export * from './wizard'
|
|
1
|
+
export * from './animations.js'
|
|
2
|
+
export * from './app-bar.js'
|
|
3
|
+
export * from './app-bar-link.js'
|
|
4
|
+
export * from './inputs/index.js'
|
|
5
|
+
export * from './avatar.js'
|
|
6
|
+
export * from './button.js'
|
|
7
|
+
export * from './data-grid/index.js'
|
|
8
|
+
export * from './fab.js'
|
|
9
|
+
export * from './form.js'
|
|
10
|
+
export * from './grid.js'
|
|
11
|
+
export * from './modal.js'
|
|
12
|
+
export * from './noty-list.js'
|
|
13
|
+
export * from './paper.js'
|
|
14
|
+
export * from './skeleton.js'
|
|
15
|
+
export * from './styles.js'
|
|
16
|
+
export * from './suggest/index.js'
|
|
17
|
+
export * from './tabs.js'
|
|
18
|
+
export * from './loader.js'
|
|
19
|
+
export * from './command-palette/index.js'
|
|
20
|
+
export * from './wizard/index.js'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import type { TextInputProps } from './input'
|
|
3
|
-
import { Input } from './input'
|
|
2
|
+
import type { TextInputProps } from './input.js'
|
|
3
|
+
import { Input } from './input.js'
|
|
4
4
|
|
|
5
5
|
export const Autocomplete = Shade<{
|
|
6
6
|
inputProps?: TextInputProps
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './autocomplete'
|
|
2
|
-
export * from './input'
|
|
3
|
-
export * from './text-area'
|
|
1
|
+
export * from './autocomplete.js'
|
|
2
|
+
export * from './input.js'
|
|
3
|
+
export * from './text-area.js'
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PartialElement } from '@furystack/shades'
|
|
2
2
|
import { Shade, createComponent, attachStyles } from '@furystack/shades'
|
|
3
3
|
import { ObservableValue } from '@furystack/utils'
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import type { Palette } from '../../services/theme-provider-service.js'
|
|
5
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
6
|
+
import { FormService } from '../form.js'
|
|
6
7
|
|
|
7
8
|
export type ValidInputValidationResult = { isValid: true }
|
|
8
9
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PartialElement } from '@furystack/shades'
|
|
2
2
|
import { createComponent, Shade } from '@furystack/shades'
|
|
3
|
-
import { ThemeProviderService } from '../../services'
|
|
4
|
-
import { promisifyAnimation } from '../../utils'
|
|
3
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
4
|
+
import { promisifyAnimation } from '../../utils/promisify-animation.js'
|
|
5
5
|
|
|
6
6
|
export interface TextAreaProps extends PartialElement<HTMLTextAreaElement> {
|
|
7
7
|
labelTitle?: string
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import { ThemeProviderService } from '../services'
|
|
3
|
-
import { promisifyAnimation } from '../utils'
|
|
2
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
3
|
+
import { promisifyAnimation } from '../utils/promisify-animation.js'
|
|
4
4
|
|
|
5
5
|
interface LoaderProps {
|
|
6
6
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { attachProps, createComponent, Shade } from '@furystack/shades'
|
|
2
|
-
import type { NotyModel } from '../services/noty-service'
|
|
3
|
-
import { NotyService } from '../services/noty-service'
|
|
4
|
-
import { ThemeProviderService } from '../services/theme-provider-service'
|
|
5
|
-
import { promisifyAnimation } from '../utils'
|
|
6
|
-
import { Button } from './button'
|
|
2
|
+
import type { NotyModel } from '../services/noty-service.js'
|
|
3
|
+
import { NotyService } from '../services/noty-service.js'
|
|
4
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
5
|
+
import { promisifyAnimation } from '../utils/promisify-animation.js'
|
|
6
|
+
import { Button } from './button.js'
|
|
7
7
|
|
|
8
8
|
export const getDefaultNotyTimeouts = (type: NotyModel['type']) => {
|
|
9
9
|
switch (type) {
|
package/src/components/paper.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PartialElement } from '@furystack/shades'
|
|
2
2
|
import { attachProps } from '@furystack/shades'
|
|
3
3
|
import { Shade, createComponent } from '@furystack/shades'
|
|
4
|
-
import { ThemeProviderService } from '../services/theme-provider-service'
|
|
4
|
+
import { ThemeProviderService } from '../services/theme-provider-service.js'
|
|
5
5
|
|
|
6
6
|
export const Paper = Shade<PartialElement<HTMLDivElement> & { elevation?: 1 | 2 | 3 }>({
|
|
7
7
|
shadowDomName: 'shade-paper',
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { ChildrenList } from '@furystack/shades'
|
|
2
2
|
import { Shade, createComponent } from '@furystack/shades'
|
|
3
|
-
import { promisifyAnimation } from '../../utils/promisify-animation'
|
|
4
|
-
import { Loader } from '../loader'
|
|
5
|
-
import { SuggestManager } from './suggest-manager'
|
|
6
|
-
import type { SuggestionResult } from './suggestion-result'
|
|
7
|
-
import { SuggestInput } from './suggest-input'
|
|
8
|
-
import { SuggestionList } from './suggestion-list'
|
|
9
|
-
import { ThemeProviderService } from '../../services'
|
|
3
|
+
import { promisifyAnimation } from '../../utils/promisify-animation.js'
|
|
4
|
+
import { Loader } from '../loader.js'
|
|
5
|
+
import { SuggestManager } from './suggest-manager.js'
|
|
6
|
+
import type { SuggestionResult } from './suggestion-result.js'
|
|
7
|
+
import { SuggestInput } from './suggest-input.js'
|
|
8
|
+
import { SuggestionList } from './suggestion-list.js'
|
|
9
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
10
10
|
|
|
11
|
-
export * from './suggest-input'
|
|
12
|
-
export * from './suggest-manager'
|
|
13
|
-
export * from './suggestion-list'
|
|
14
|
-
export * from './suggestion-result'
|
|
11
|
+
export * from './suggest-input.js'
|
|
12
|
+
export * from './suggest-manager.js'
|
|
13
|
+
export * from './suggestion-list.js'
|
|
14
|
+
export * from './suggestion-result.js'
|
|
15
15
|
|
|
16
16
|
export interface SuggestProps<T> {
|
|
17
17
|
defaultPrefix: string
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Shade, createComponent } from '@furystack/shades'
|
|
2
|
-
import { ThemeProviderService } from '../../services'
|
|
3
|
-
import type { SuggestManager } from './suggest-manager'
|
|
2
|
+
import { ThemeProviderService } from '../../services/theme-provider-service.js'
|
|
3
|
+
import type { SuggestManager } from './suggest-manager.js'
|
|
4
4
|
|
|
5
5
|
export const SuggestInput = Shade<{ manager: SuggestManager<any> }>({
|
|
6
6
|
shadowDomName: 'shades-suggest-input',
|