@dpa-id-components/dpa-shared-components 4.0.1 → 4.0.2

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.
@@ -57,7 +57,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
57
57
  default: string;
58
58
  };
59
59
  selectedDate: {
60
- type: __PropType<string | Date | [Date, Date] | undefined>;
60
+ type: __PropType<string | Date | [Date, Date] | {
61
+ month: number;
62
+ year: number;
63
+ } | undefined>;
61
64
  required: false;
62
65
  default: string;
63
66
  };
@@ -163,7 +166,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
163
166
  default: string;
164
167
  };
165
168
  selectedDate: {
166
- type: __PropType<string | Date | [Date, Date] | undefined>;
169
+ type: __PropType<string | Date | [Date, Date] | {
170
+ month: number;
171
+ year: number;
172
+ } | undefined>;
167
173
  required: false;
168
174
  default: string;
169
175
  };
@@ -231,7 +237,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
231
237
  placeholderText: string | undefined;
232
238
  quickFilterRanges: PresetRange[] | null | undefined;
233
239
  quickFilterHeadline: string | undefined;
234
- selectedDate: string | Date | [Date, Date] | undefined;
240
+ selectedDate: string | Date | [Date, Date] | {
241
+ month: number;
242
+ year: number;
243
+ } | undefined;
235
244
  autoPosition: boolean | undefined;
236
245
  leftSidebar: boolean | undefined;
237
246
  actionArea: boolean | undefined;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpa-id-components/dpa-shared-components",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
4
4
  "description": "Shared Vue components library for dpa projects",
5
5
  "files": [
6
6
  "dist"
@@ -1,22 +0,0 @@
1
- import UseTailwindBreakpoints from "./UseTailwindBreakpoints.vue";
2
- import type { Meta, StoryObj } from "@storybook/vue3";
3
-
4
- const meta = {
5
- title: "tailwind/useTailwindBreakpoints.ts",
6
- component: UseTailwindBreakpoints,
7
- argTypes: {},
8
- parameters: {},
9
- } satisfies Meta<typeof UseTailwindBreakpoints>;
10
-
11
- export default meta;
12
- type Story = StoryObj<typeof meta>;
13
-
14
- export const Default: Story = {
15
- render: (args: any) => ({
16
- setup() {
17
- return { args };
18
- },
19
- components: { UseTailwindBreakpoints },
20
- template: `<div><UseTailwindBreakpoints /></div>`,
21
- }),
22
- };
@@ -1,12 +0,0 @@
1
- <template>
2
- <UiButton v-if="lg">Button for LG</UiButton>
3
- <UiIconButton v-else icon-name="emoji" />
4
- </template>
5
-
6
- <script setup lang="ts">
7
- import useTailwindBreakpoints from "./useTailwindBreakpoints";
8
- import UiIconButton from "@/components/UiIconButton/UiIconButton.vue";
9
- import UiButton from "@/components/UiButton/UiButton.vue";
10
-
11
- const { lg } = useTailwindBreakpoints();
12
- </script>
@@ -1,19 +0,0 @@
1
- import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
- const n = {
3
- viewBox: "0 0 16 16",
4
- xmlns: "http://www.w3.org/2000/svg"
5
- }, l = /* @__PURE__ */ t("path", {
6
- "fill-rule": "evenodd",
7
- "clip-rule": "evenodd",
8
- d: "M12 6.66671C12.3687 6.66671 12.6667 6.96537 12.6667 7.33337C12.6667 9.68004 10.9247 11.6214 8.66668 11.9467V13.4708C8.66668 13.839 8.3682 14.1375 8.00001 14.1375C7.63182 14.1375 7.33334 13.839 7.33334 13.4708V11.9467C5.07534 11.6214 3.33334 9.68004 3.33334 7.33337C3.33334 6.96537 3.63134 6.66671 4.00001 6.66671C4.36868 6.66671 4.66668 6.96537 4.66668 7.33337C4.66668 9.17137 6.16201 10.6667 8.00001 10.6667C9.83801 10.6667 11.3333 9.17137 11.3333 7.33337C11.3333 6.96537 11.6313 6.66671 12 6.66671ZM10.1667 7.33337C10.1667 8.5279 9.19453 9.50004 8.00001 9.50004C6.80549 9.50004 5.83334 8.5279 5.83334 7.33337V5.00004C5.83334 3.80552 6.80549 2.83337 8.00001 2.83337C9.19453 2.83337 10.1667 3.80552 10.1667 5.00004V7.33337Z"
9
- }, null, -1), r = [
10
- l
11
- ];
12
- function C(c, d) {
13
- return e(), o("svg", n, r);
14
- }
15
- const i = { render: C };
16
- export {
17
- i as default,
18
- C as render
19
- };
@@ -1,19 +0,0 @@
1
- import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- const n = {
3
- viewBox: "0 0 16 16",
4
- xmlns: "http://www.w3.org/2000/svg"
5
- }, r = /* @__PURE__ */ o("path", {
6
- "fill-rule": "evenodd",
7
- "clip-rule": "evenodd",
8
- d: "M5.5 10.75V8.25C5.5 7.83579 5.16421 7.5 4.75 7.5C4.33579 7.5 4 7.83579 4 8.25V10.75C4 11.1642 4.33579 11.5 4.75 11.5C5.16421 11.5 5.5 11.1642 5.5 10.75ZM8.5 10.75V6.25C8.5 5.83579 8.16421 5.5 7.75 5.5C7.33579 5.5 7 5.83579 7 6.25V10.75C7 11.1642 7.33579 11.5 7.75 11.5C8.16421 11.5 8.5 11.1642 8.5 10.75ZM11.5 10.75V4.25C11.5 3.83579 11.1642 3.5 10.75 3.5C10.3358 3.5 10 3.83579 10 4.25V10.75C10 11.1642 10.3358 11.5 10.75 11.5C11.1642 11.5 11.5 11.1642 11.5 10.75Z"
9
- }, null, -1), c = [
10
- r
11
- ];
12
- function l(d, C) {
13
- return e(), t("svg", n, c);
14
- }
15
- const i = { render: l };
16
- export {
17
- i as default,
18
- l as render
19
- };
@@ -1,19 +0,0 @@
1
- import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- const n = {
3
- viewBox: "0 0 16 16",
4
- xmlns: "http://www.w3.org/2000/svg"
5
- }, r = /* @__PURE__ */ o("path", {
6
- "fill-rule": "evenodd",
7
- "clip-rule": "evenodd",
8
- d: "M5 4.5H11C11.138 4.5 11.25 4.612 11.25 4.75V8.594L9.62 7.507C9.252 7.262 8.767 7.287 8.427 7.57L4.75 10.625V4.75C4.75 4.612 4.862 4.5 5 4.5ZM11 3H5C4.034 3 3.25 3.783 3.25 4.75V10.75C3.25 11.717 4.034 12.5 5 12.5H11C11.966 12.5 12.75 11.717 12.75 10.75V4.75C12.75 3.783 11.966 3 11 3ZM6.5 7.25C7.052 7.25 7.5 6.803 7.5 6.25C7.5 5.697 7.052 5.25 6.5 5.25C5.948 5.25 5.5 5.697 5.5 6.25C5.5 6.803 5.948 7.25 6.5 7.25Z"
9
- }, null, -1), c = [
10
- r
11
- ];
12
- function l(d, s) {
13
- return e(), t("svg", n, c);
14
- }
15
- const i = { render: l };
16
- export {
17
- i as default,
18
- l as render
19
- };
package/dist/screens.js DELETED
@@ -1,13 +0,0 @@
1
- export const screens = {
2
- sm: "640px",
3
- md: "768px",
4
- lg: "1024px",
5
- xl: "1280px",
6
- xxl: "1600px",
7
- };
8
-
9
- export default screens;
10
-
11
- if (module !== undefined) {
12
- module.exports = screens;
13
- }
package/dist/screens.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "sm": "640px",
3
- "md": "768px",
4
- "lg": "1024px",
5
- "xl": "1280px",
6
- "xxl": "1600px"
7
- }
@@ -1,8 +0,0 @@
1
- export namespace screens {
2
- const sm: string;
3
- const md: string;
4
- const lg: string;
5
- const xl: string;
6
- const xxl: string;
7
- }
8
- export default screens;
@@ -1,214 +0,0 @@
1
- declare const screens: {
2
- sm: string;
3
- md: string;
4
- lg: string;
5
- xl: string;
6
- xxl: string;
7
- };
8
- export namespace theme {
9
- export const inset: {
10
- 0: number;
11
- "1/2": string;
12
- full: string;
13
- };
14
- export { screens };
15
- export const fontSize: {
16
- xs: string;
17
- sm: string;
18
- base: string;
19
- lg: string;
20
- xl: string;
21
- "2xl": string;
22
- "3xl": string;
23
- "4xl": string;
24
- "5xl": string;
25
- "6xl": string;
26
- "7xl": string;
27
- };
28
- export const spacing: {
29
- px: string;
30
- 0: string;
31
- 0.5: string;
32
- 1: string;
33
- 1.5: string;
34
- 2: string;
35
- 2.5: string;
36
- 3: string;
37
- 3.5: string;
38
- 4: string;
39
- 5: string;
40
- 6: string;
41
- 7: string;
42
- 8: string;
43
- 9: string;
44
- 10: string;
45
- 11: string;
46
- 12: string;
47
- 14: string;
48
- 16: string;
49
- 20: string;
50
- 24: string;
51
- 28: string;
52
- 32: string;
53
- 36: string;
54
- 37: string;
55
- 40: string;
56
- 41: string;
57
- 44: string;
58
- 48: string;
59
- 52: string;
60
- 56: string;
61
- 60: string;
62
- 64: string;
63
- 72: string;
64
- 80: string;
65
- 96: string;
66
- };
67
- export namespace extend {
68
- export namespace outline {
69
- const blue: string[];
70
- }
71
- export namespace fontFamily {
72
- const sans: string[];
73
- const marketing: string[];
74
- }
75
- export namespace spacing_1 {
76
- const inherit: string;
77
- const half: string;
78
- const inputFocused: string;
79
- }
80
- export { spacing_1 as spacing };
81
- export const duration: {
82
- 0: string;
83
- };
84
- export const colors: {
85
- transparent: string;
86
- black: string;
87
- white: string;
88
- gray: {
89
- 100: string;
90
- 200: string;
91
- 300: string;
92
- 400: string;
93
- 500: string;
94
- 600: string;
95
- 700: string;
96
- 800: string;
97
- 900: string;
98
- };
99
- blue: {
100
- default: string;
101
- dark: string;
102
- };
103
- red: {
104
- default: string;
105
- dark: string;
106
- };
107
- pink: {
108
- default: string;
109
- dark: string;
110
- };
111
- purple: {
112
- default: string;
113
- dark: string;
114
- };
115
- cyan: {
116
- default: string;
117
- dark: string;
118
- };
119
- teal: {
120
- default: string;
121
- dark: string;
122
- };
123
- green: {
124
- default: string;
125
- dark: string;
126
- };
127
- yellow: {
128
- default: string;
129
- dark: string;
130
- };
131
- orange: {
132
- default: string;
133
- dark: string;
134
- };
135
- "alert-red": {
136
- default: string;
137
- dark: string;
138
- };
139
- "alert-green": {
140
- default: string;
141
- dark: string;
142
- };
143
- "neon-green": string;
144
- rainbow: {
145
- red: string;
146
- "red-dark": string;
147
- orange: string;
148
- purple: string;
149
- };
150
- };
151
- export const opacity: {
152
- 60: string;
153
- 20: string;
154
- };
155
- export namespace boxShadow {
156
- const _default: string;
157
- export { _default as default };
158
- export const negative: string;
159
- export const md: string;
160
- export const lg: string;
161
- }
162
- const inset_1: {
163
- 0: number;
164
- auto: string;
165
- 1: string;
166
- 3: string;
167
- 4: string;
168
- 5: string;
169
- 12: string;
170
- 16: string;
171
- full: string;
172
- };
173
- export { inset_1 as inset };
174
- export namespace screens_1 {
175
- namespace print {
176
- const raw: string;
177
- }
178
- }
179
- export { screens_1 as screens };
180
- export const lineHeight: {
181
- 3: string;
182
- 4: string;
183
- 5: string;
184
- 6: string;
185
- 7: string;
186
- 8: string;
187
- 9: string;
188
- 10: string;
189
- };
190
- export const width: {
191
- 4.5: string;
192
- };
193
- export const height: {
194
- 4.5: string;
195
- };
196
- }
197
- export const maxHeight: {
198
- 60: string;
199
- };
200
- }
201
- export namespace variants {
202
- const opacity_1: string[];
203
- export { opacity_1 as opacity };
204
- const outline_1: string[];
205
- export { outline_1 as outline };
206
- export const display: string[];
207
- export const textColor: string[];
208
- export const textDecoration: string[];
209
- }
210
- export const plugins: (typeof import("@tailwindcss/typography") | {
211
- handler: import("tailwindcss/types/config").PluginCreator;
212
- config?: Partial<import("tailwindcss/types/config").Config> | undefined;
213
- })[];
214
- export {};
@@ -1,9 +0,0 @@
1
- declare const _default: () => {
2
- currentBreakpoint: import("vue").ComputedRef<string[]>;
3
- sm: import("vue").ComputedRef<boolean>;
4
- md: import("vue").ComputedRef<boolean>;
5
- lg: import("vue").ComputedRef<boolean>;
6
- xl: import("vue").ComputedRef<boolean>;
7
- xxl: import("vue").ComputedRef<boolean>;
8
- };
9
- export default _default;
@@ -1,15 +0,0 @@
1
- import { openBlock as e, createElementBlock as t, createElementVNode as o } from "vue";
2
- const n = {
3
- viewBox: "0 0 16 16",
4
- xmlns: "http://www.w3.org/2000/svg"
5
- }, c = /* @__PURE__ */ o("path", { d: "M4.75 4H11.25C11.6642 4 12 4.33579 12 4.75C12 5.16421 11.6642 5.5 11.25 5.5H4.75C4.33579 5.5 4 5.16421 4 4.75C4 4.33579 4.33579 4 4.75 4ZM4.75 7H11.25C11.6642 7 12 7.33579 12 7.75C12 8.16421 11.6642 8.5 11.25 8.5H4.75C4.33579 8.5 4 8.16421 4 7.75C4 7.33579 4.33579 7 4.75 7ZM4.75 10H8.25C8.66421 10 9 10.3358 9 10.75C9 11.1642 8.66421 11.5 8.25 11.5H4.75C4.33579 11.5 4 11.1642 4 10.75C4 10.3358 4.33579 10 4.75 10Z" }, null, -1), r = [
6
- c
7
- ];
8
- function C(s, l) {
9
- return e(), t("svg", n, r);
10
- }
11
- const _ = { render: C };
12
- export {
13
- _ as default,
14
- C as render
15
- };
@@ -1,19 +0,0 @@
1
- import { useBreakpoints } from "@vueuse/core";
2
- import { computed } from "vue";
3
- import screens from "./screens.json";
4
-
5
- export default () => {
6
- const breakpoints = useBreakpoints({
7
- ...screens,
8
- });
9
-
10
- const currentBreakpoint = breakpoints.current();
11
-
12
- const sm = computed(() => currentBreakpoint.value.includes("sm"));
13
- const md = computed(() => currentBreakpoint.value.includes("md"));
14
- const lg = computed(() => currentBreakpoint.value.includes("lg"));
15
- const xl = computed(() => currentBreakpoint.value.includes("xl"));
16
- const xxl = computed(() => currentBreakpoint.value.includes("xxl"));
17
-
18
- return { currentBreakpoint, sm, md, lg, xl, xxl };
19
- };
@@ -1,19 +0,0 @@
1
- import { openBlock as e, createElementBlock as o, createElementVNode as t } from "vue";
2
- const n = {
3
- viewBox: "0 0 16 16",
4
- xmlns: "http://www.w3.org/2000/svg"
5
- }, l = /* @__PURE__ */ t("path", {
6
- "fill-rule": "evenodd",
7
- "clip-rule": "evenodd",
8
- d: "M7.304 12.0019C7.09933 12.0019 6.89267 11.9579 6.7 11.8672C6.268 11.6632 6 11.2585 6 10.8099V5.19252C6 4.74385 6.268 4.33918 6.7 4.13518C7.188 3.90518 7.76667 3.97252 8.17267 4.30785L11.572 7.11718C11.8447 7.34118 12 7.66385 12 8.00118C12 8.33852 11.8447 8.66118 11.572 8.88518L8.17267 11.6939C7.92733 11.8972 7.618 12.0019 7.304 12.0019Z"
9
- }, null, -1), r = [
10
- l
11
- ];
12
- function c(d, s) {
13
- return e(), o("svg", n, r);
14
- }
15
- const _ = { render: c };
16
- export {
17
- _ as default,
18
- c as render
19
- };