@returnless/focus-ui 0.0.15 → 0.0.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.
Files changed (27) hide show
  1. package/dist/components/{OldBarChart/ChartCrosshair.vue.d.ts → Card/CardLayout.vue.d.ts} +14 -12
  2. package/dist/components/Card/index.d.ts +1 -0
  3. package/dist/components/Collapsible/Collapsible.vue.d.ts +42 -0
  4. package/dist/components/Collapsible/index.d.ts +1 -0
  5. package/dist/components/Dialog/Dialog.vue.d.ts +42 -0
  6. package/dist/components/Dialog/DialogContent.vue.d.ts +9 -0
  7. package/dist/components/Dialog/DialogDescription.vue.d.ts +9 -0
  8. package/dist/components/Dialog/DialogFooter.vue.d.ts +9 -0
  9. package/dist/components/Dialog/DialogHeader.vue.d.ts +9 -0
  10. package/dist/components/Dialog/DialogTitle.vue.d.ts +9 -0
  11. package/dist/components/Dialog/index.d.ts +7 -0
  12. package/dist/components/Toast/ToastGroup.vue.d.ts +1 -15
  13. package/dist/components/index.d.ts +3 -2
  14. package/dist/composables/useToastNotifications.d.ts +9 -10
  15. package/dist/focus-ui.js +3681 -3539
  16. package/dist/focus-ui.umd.cjs +11 -11
  17. package/dist/style.css +1 -1
  18. package/package.json +1 -1
  19. package/dist/components/BarChart/BarChart.vue.d.ts +0 -44
  20. package/dist/components/BarChart/index.d.ts +0 -1
  21. package/dist/components/OldBarChart/BarChart.vue.d.ts +0 -27
  22. package/dist/components/OldBarChart/BarChartStacked.vue.d.ts +0 -27
  23. package/dist/components/OldBarChart/ChartTooltip.vue.d.ts +0 -25
  24. package/dist/components/OldBarChart/Vis.vue.d.ts +0 -56
  25. package/dist/components/OldBarChart/index.d.ts +0 -5
  26. package/dist/components/OldBarChart/types.d.ts +0 -15
  27. /package/dist/components/{OldBarChart/BarChartContainer.vue.d.ts → Dialog/DialogCancelButton.vue.d.ts} +0 -0
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._visuallyHidden_o6qmb_6{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.spinner[data-v-86edaaad]{display:inline-flex;animation:spinner-86edaaad .75s linear infinite}path[data-v-86edaaad]{fill-opacity:0}@keyframes spinner-86edaaad{0%{transform:rotate(0)}to{transform:rotate(1turn)}}input[type=number][data-v-8908e8cb]::-webkit-inner-spin-button,input[type=number][data-v-8908e8cb]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
1
+ ._visuallyHidden_o6qmb_6{position:absolute!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip-path:inset(50%)!important;border:0!important;white-space:nowrap!important}.shake{animation:horizontal-shaking .25s infinite}@keyframes horizontal-shaking{0%{transform:translate(0)}25%{transform:translate(5px)}50%{transform:translate(-5px)}75%{transform:translate(5px)}to{transform:translate(0)}}.spinner[data-v-86edaaad]{display:inline-flex;animation:spinner-86edaaad .75s linear infinite}path[data-v-86edaaad]{fill-opacity:0}@keyframes spinner-86edaaad{0%{transform:rotate(0)}to{transform:rotate(1turn)}}input[type=number][data-v-8908e8cb]::-webkit-inner-spin-button,input[type=number][data-v-8908e8cb]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@returnless/focus-ui",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -1,44 +0,0 @@
1
- import { TailwindColor } from '../../composables';
2
- declare const _default: <T extends Record<string, any>>(__VLS_props: {
3
- data: any[];
4
- categories: string[];
5
- colors: TailwindColor[];
6
- index: string;
7
- height: number;
8
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
9
- attrs: any;
10
- slots: {};
11
- emit: {};
12
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
13
- props: {
14
- data: any[];
15
- categories: string[];
16
- colors: TailwindColor[];
17
- index: string;
18
- height: number;
19
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
20
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
21
- attrs: any;
22
- slots: {};
23
- emit: {};
24
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }> & {
27
- __ctx?: {
28
- props: {
29
- data: any[];
30
- categories: string[];
31
- colors: TailwindColor[];
32
- index: string;
33
- height: number;
34
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
35
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
36
- attrs: any;
37
- slots: {};
38
- emit: {};
39
- } | undefined;
40
- };
41
- export default _default;
42
- type __VLS_Prettify<T> = {
43
- [K in keyof T]: T[K];
44
- } & {};
@@ -1 +0,0 @@
1
- export { default as BarChart } from './BarChart.vue';
@@ -1,27 +0,0 @@
1
- import { TailwindColor } from '../../composables';
2
- type DataPoint = {
3
- label: string;
4
- value: number;
5
- color: TailwindColor;
6
- };
7
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
8
- /** The data points to display */
9
- dataPoints: DataPoint[];
10
- /** The height of the chart */
11
- height: number;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
13
- /** The data points to display */
14
- dataPoints: DataPoint[];
15
- /** The height of the chart */
16
- height: number;
17
- }>>>, {}, {}>;
18
- export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToOption<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -1,27 +0,0 @@
1
- import { TailwindColor } from '../../composables';
2
- type DataPointStack = {
3
- label: string;
4
- dataPoints: DataPoint[];
5
- };
6
- type DataPoint = {
7
- label: string;
8
- value: number;
9
- color: TailwindColor;
10
- };
11
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
12
- dataPoints: DataPointStack[];
13
- height: number;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
15
- dataPoints: DataPointStack[];
16
- height: number;
17
- }>>>, {}, {}>;
18
- export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToOption<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -1,25 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
- title?: string | undefined;
3
- data: {
4
- name: string;
5
- color: string;
6
- value: any;
7
- }[];
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
9
- title?: string | undefined;
10
- data: {
11
- name: string;
12
- color: string;
13
- value: any;
14
- }[];
15
- }>>>, {}, {}>;
16
- export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToOption<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
@@ -1,56 +0,0 @@
1
- import { BulletLegendItemInterface } from '@unovis/ts';
2
- declare const _default: <T extends Record<string, any>>(__VLS_props: {
3
- onLegendItemClick?: ((d: BulletLegendItemInterface, i: number) => any) | undefined;
4
- data: T[];
5
- categories: Extract<keyof T, string>[];
6
- index: Extract<keyof T, string>;
7
- colors: ("slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "lightBlue" | "warmGray" | "trueGray" | "coolGray" | "blueGray")[];
8
- height: number;
9
- type?: "stacked" | "grouped" | undefined;
10
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
11
- attrs: any;
12
- slots: {
13
- default?(_: {}): any;
14
- };
15
- emit: (evt: "legendItemClick", d: BulletLegendItemInterface, i: number) => void;
16
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
17
- props: {
18
- onLegendItemClick?: ((d: BulletLegendItemInterface, i: number) => any) | undefined;
19
- data: T[];
20
- categories: Extract<keyof T, string>[];
21
- index: Extract<keyof T, string>;
22
- colors: ("slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "lightBlue" | "warmGray" | "trueGray" | "coolGray" | "blueGray")[];
23
- height: number;
24
- type?: "stacked" | "grouped" | undefined;
25
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
26
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
27
- attrs: any;
28
- slots: {
29
- default?(_: {}): any;
30
- };
31
- emit: (evt: "legendItemClick", d: BulletLegendItemInterface, i: number) => void;
32
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
33
- [key: string]: any;
34
- }> & {
35
- __ctx?: {
36
- props: {
37
- onLegendItemClick?: ((d: BulletLegendItemInterface, i: number) => any) | undefined;
38
- data: T[];
39
- categories: Extract<keyof T, string>[];
40
- index: Extract<keyof T, string>;
41
- colors: ("slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "lightBlue" | "warmGray" | "trueGray" | "coolGray" | "blueGray")[];
42
- height: number;
43
- type?: "stacked" | "grouped" | undefined;
44
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
45
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
46
- attrs: any;
47
- slots: {
48
- default?(_: {}): any;
49
- };
50
- emit: (evt: "legendItemClick", d: BulletLegendItemInterface, i: number) => void;
51
- } | undefined;
52
- };
53
- export default _default;
54
- type __VLS_Prettify<T> = {
55
- [K in keyof T]: T[K];
56
- } & {};
@@ -1,5 +0,0 @@
1
- export { default as BarChart } from './BarChart.vue';
2
- export { default as BarChartContainer } from './BarChartContainer.vue';
3
- export { default as BarChartStacked } from './BarChartStacked.vue';
4
- export { default as Vis } from './Vis.vue';
5
- export { default as ChartCrosshair } from './ChartCrosshair.vue';
@@ -1,15 +0,0 @@
1
- import { TailwindColor } from '@/composables';
2
- type KeyOf<T extends Record<string, any>> = Extract<keyof T, string>;
3
- export interface BaseChartProps<T extends Record<string, any>> {
4
- /** The source data, in which each entry is a dictionary. */
5
- data: T[];
6
- /** Select the categories from your data. Used to populate the legend and tooltip. */
7
- categories: KeyOf<T>[];
8
- /** Sets the key to map the data to the axis. */
9
- index: KeyOf<T>;
10
- /** Sets the key to map the data to the axis. */
11
- colors: TailwindColor[];
12
- /** The height of the chart. */
13
- height: number;
14
- }
15
- export {};