toku-ui 5.2.0 → 5.3.0

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 (43) hide show
  1. package/dist/components/TDrawer/TDrawer.stories.d.ts +161 -0
  2. package/dist/components/TDrawer/TDrawer.stories.d.ts.map +1 -0
  3. package/dist/components/TDrawer/TDrawer.vue.d.ts +50 -0
  4. package/dist/components/TDrawer/TDrawer.vue.d.ts.map +1 -0
  5. package/dist/components/TDrawer/TDrawerFooter/TDrawerFooter.vue.d.ts +20 -0
  6. package/dist/components/TDrawer/TDrawerFooter/TDrawerFooter.vue.d.ts.map +1 -0
  7. package/dist/components/TDrawer/TDrawerFooter/index.d.ts +3 -0
  8. package/dist/components/TDrawer/TDrawerFooter/index.d.ts.map +1 -0
  9. package/dist/components/TDrawer/TDrawerHeader/TDrawerHeader.vue.d.ts +69 -0
  10. package/dist/components/TDrawer/TDrawerHeader/TDrawerHeader.vue.d.ts.map +1 -0
  11. package/dist/components/TDrawer/TDrawerHeader/index.d.ts +3 -0
  12. package/dist/components/TDrawer/TDrawerHeader/index.d.ts.map +1 -0
  13. package/dist/components/TDrawer/TDrawerLinkRow/TDrawerLinkRow.vue.d.ts +14 -0
  14. package/dist/components/TDrawer/TDrawerLinkRow/TDrawerLinkRow.vue.d.ts.map +1 -0
  15. package/dist/components/TDrawer/TDrawerLinkRow/index.d.ts +3 -0
  16. package/dist/components/TDrawer/TDrawerLinkRow/index.d.ts.map +1 -0
  17. package/dist/components/TDrawer/TDrawerRow/TDrawerRow.vue.d.ts +38 -0
  18. package/dist/components/TDrawer/TDrawerRow/TDrawerRow.vue.d.ts.map +1 -0
  19. package/dist/components/TDrawer/TDrawerRow/index.d.ts +3 -0
  20. package/dist/components/TDrawer/TDrawerRow/index.d.ts.map +1 -0
  21. package/dist/components/TDrawer/TDrawerSection/TDrawerSection.vue.d.ts +23 -0
  22. package/dist/components/TDrawer/TDrawerSection/TDrawerSection.vue.d.ts.map +1 -0
  23. package/dist/components/TDrawer/TDrawerSection/index.d.ts +3 -0
  24. package/dist/components/TDrawer/TDrawerSection/index.d.ts.map +1 -0
  25. package/dist/components/TDrawer/index.d.ts +8 -0
  26. package/dist/components/TDrawer/index.d.ts.map +1 -0
  27. package/dist/components/TDropdown/TDropdown.d.ts.map +1 -1
  28. package/dist/components/TDropdown/TDropdown.stories.d.ts.map +1 -1
  29. package/dist/components/TDropdown/TDropdown.styles.d.ts.map +1 -1
  30. package/dist/components/TDropdown/TDropdown.types.d.ts +1 -1
  31. package/dist/components/TDropdown/TDropdown.types.d.ts.map +1 -1
  32. package/dist/components/TIconButton/TIconButton.stories.d.ts.map +1 -1
  33. package/dist/components/TIconButton/TIconButton.styles.d.ts.map +1 -1
  34. package/dist/components/TIconButton/TIconButton.types.d.ts +1 -1
  35. package/dist/components/TIconButton/TIconButton.types.d.ts.map +1 -1
  36. package/dist/components/index.d.ts +1 -0
  37. package/dist/components/index.d.ts.map +1 -1
  38. package/dist/index.es.js +1293 -984
  39. package/dist/index.es.js.map +1 -1
  40. package/dist/stories/DesignTokens.stories.d.ts.map +1 -1
  41. package/dist/style.css +1 -1
  42. package/dist/tokens.css +3 -1
  43. package/package.json +2 -2
@@ -0,0 +1,161 @@
1
+ import type { StoryObj } from '@storybook/vue3-vite';
2
+ declare const meta: {
3
+ component: {
4
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./TDrawer.vue").TDrawerProps & {
5
+ open?: boolean;
6
+ }> & Readonly<{
7
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
8
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:open": (value: boolean) => any;
10
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
11
+ P: {};
12
+ B: {};
13
+ D: {};
14
+ C: {};
15
+ M: {};
16
+ Defaults: {};
17
+ }, Readonly<import("./TDrawer.vue").TDrawerProps & {
18
+ open?: boolean;
19
+ }> & Readonly<{
20
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
21
+ }>, {}, {}, {}, {}, {}>;
22
+ __isFragment?: never;
23
+ __isTeleport?: never;
24
+ __isSuspense?: never;
25
+ } & import("vue").ComponentOptionsBase<Readonly<import("./TDrawer.vue").TDrawerProps & {
26
+ open?: boolean;
27
+ }> & Readonly<{
28
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
29
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "update:open": (value: boolean) => any;
31
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
32
+ $slots: import("./TDrawer.vue").TDrawerSlots;
33
+ });
34
+ subcomponents: {
35
+ TDrawerHeader: {
36
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./TDrawerHeader").TDrawerHeaderProps> & Readonly<{
37
+ onClose?: (() => any) | undefined;
38
+ onAction?: ((id: string) => any) | undefined;
39
+ onBack?: (() => any) | undefined;
40
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ close: () => any;
42
+ action: (id: string) => any;
43
+ back: () => any;
44
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
45
+ P: {};
46
+ B: {};
47
+ D: {};
48
+ C: {};
49
+ M: {};
50
+ Defaults: {};
51
+ }, Readonly<import("./TDrawerHeader").TDrawerHeaderProps> & Readonly<{
52
+ onClose?: (() => any) | undefined;
53
+ onAction?: ((id: string) => any) | undefined;
54
+ onBack?: (() => any) | undefined;
55
+ }>, {}, {}, {}, {}, {}>;
56
+ __isFragment?: never;
57
+ __isTeleport?: never;
58
+ __isSuspense?: never;
59
+ } & import("vue").ComponentOptionsBase<Readonly<import("./TDrawerHeader").TDrawerHeaderProps> & Readonly<{
60
+ onClose?: (() => any) | undefined;
61
+ onAction?: ((id: string) => any) | undefined;
62
+ onBack?: (() => any) | undefined;
63
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
64
+ close: () => any;
65
+ action: (id: string) => any;
66
+ back: () => any;
67
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
+ $slots: import("./TDrawerHeader").TDrawerHeaderSlots;
69
+ });
70
+ TDrawerSection: {
71
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./TDrawerSection").TDrawerSectionProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
72
+ P: {};
73
+ B: {};
74
+ D: {};
75
+ C: {};
76
+ M: {};
77
+ Defaults: {};
78
+ }, Readonly<import("./TDrawerSection").TDrawerSectionProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
79
+ __isFragment?: never;
80
+ __isTeleport?: never;
81
+ __isSuspense?: never;
82
+ } & import("vue").ComponentOptionsBase<Readonly<import("./TDrawerSection").TDrawerSectionProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
83
+ $slots: import("./TDrawerSection").TDrawerSectionSlots;
84
+ });
85
+ TDrawerRow: {
86
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./TDrawerRow").TDrawerRowProps> & Readonly<{
87
+ onOpen?: (() => any) | undefined;
88
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
89
+ open: () => any;
90
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
91
+ P: {};
92
+ B: {};
93
+ D: {};
94
+ C: {};
95
+ M: {};
96
+ Defaults: {};
97
+ }, Readonly<import("./TDrawerRow").TDrawerRowProps> & Readonly<{
98
+ onOpen?: (() => any) | undefined;
99
+ }>, {}, {}, {}, {}, {}>;
100
+ __isFragment?: never;
101
+ __isTeleport?: never;
102
+ __isSuspense?: never;
103
+ } & import("vue").ComponentOptionsBase<Readonly<import("./TDrawerRow").TDrawerRowProps> & Readonly<{
104
+ onOpen?: (() => any) | undefined;
105
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
106
+ open: () => any;
107
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
108
+ $slots: import("./TDrawerRow").TDrawerRowSlots;
109
+ });
110
+ TDrawerLinkRow: import("vue").DefineComponent<import("./TDrawerLinkRow").TDrawerLinkRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./TDrawerLinkRow").TDrawerLinkRowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
111
+ TDrawerFooter: {
112
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
113
+ P: {};
114
+ B: {};
115
+ D: {};
116
+ C: {};
117
+ M: {};
118
+ Defaults: {};
119
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
120
+ __isFragment?: never;
121
+ __isTeleport?: never;
122
+ __isSuspense?: never;
123
+ } & import("vue").ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
124
+ $slots: import("./TDrawerFooter").TDrawerFooterSlots;
125
+ });
126
+ };
127
+ args: {
128
+ size: "s";
129
+ };
130
+ parameters: {
131
+ layout: string;
132
+ docs: {
133
+ story: {
134
+ inline: boolean;
135
+ iframeHeight: number;
136
+ };
137
+ };
138
+ };
139
+ };
140
+ export default meta;
141
+ type Story = StoryObj<typeof meta>;
142
+ /**
143
+ * A debt list that opens its detail. The drawer does not block the page: clicking another
144
+ * row swaps the content without closing it. It closes with Close or with Escape while
145
+ * focus is inside, and focus goes back to the row that opened it. With the dropdown in
146
+ * "Gestión" open, Escape closes the dropdown first.
147
+ */
148
+ export declare const playground: Story;
149
+ export declare const sizeM: Story;
150
+ export declare const sizeL: Story;
151
+ /**
152
+ * Up to 2 actions show as icons. With more, Edit stays visible and the rest go to "Más
153
+ * acciones" — all of them when there is no Edit. Destructive actions go last. Back only
154
+ * shows on a nested record.
155
+ */
156
+ export declare const headerActions: Story;
157
+ /** Label / value rows: plain, linked, empty, a label cut to 2 lines and an ID with no spaces. */
158
+ export declare const rows: Story;
159
+ /** At most 2 buttons, right-aligned, primary last, plus an optional tertiary one on the left (`start` slot). */
160
+ export declare const footer: Story;
161
+ //# sourceMappingURL=TDrawer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawer.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TDrawer/TDrawer.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AA+G3D,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASsB,CAAC;AAEjC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAuFxB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAOnB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAGnB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,EAAE,KA6C3B,CAAC;AAEF,iGAAiG;AACjG,eAAO,MAAM,IAAI,EAAE,KAuBlB,CAAC;AAEF,gHAAgH;AAChH,eAAO,MAAM,MAAM,EAAE,KAqBpB,CAAC"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Side drawer anchored to the right edge of the viewport, for a record's detail.
3
+ *
4
+ * It does not block the page: clicking outside keeps it open, so clicking another
5
+ * table row only swaps its content. It closes with the header's Close button or with
6
+ * Escape while focus is inside it. Focus moves to the header title on open and returns
7
+ * to whatever was focused before (typically the row that opened it) on close — rows
8
+ * need to be focusable for that to work.
9
+ *
10
+ * Compose it with `TDrawerHeader` in the `header` slot, `TDrawerSection`s in the
11
+ * default slot (the only part that scrolls) and an optional `TDrawerFooter`.
12
+ */
13
+ export interface TDrawerProps {
14
+ /**
15
+ * Width step: `s` 540px, `m` 580px, `l` 660px. Grow it only when an inner table
16
+ * doesn't fit — content never widens the drawer.
17
+ * @defaultValue 's'
18
+ */
19
+ size?: 's' | 'm' | 'l';
20
+ /**
21
+ * Identifies the record on display. Changing it while open counts as a new open:
22
+ * focus goes back to the title and the body scrolls to the top.
23
+ */
24
+ contentKey?: string | number;
25
+ }
26
+ export interface TDrawerSlots {
27
+ /** Required: fixed at the top, receives a `TDrawerHeader`, whose title names the drawer and holds Close. */
28
+ header: () => unknown;
29
+ /** Takes the remaining height and is the only part that scrolls. Receives `TDrawerSection`s. */
30
+ default?: () => unknown;
31
+ /** Fixed at the bottom. Receives a `TDrawerFooter`; not rendered when omitted. */
32
+ footer?: () => unknown;
33
+ }
34
+ declare const _default: typeof __VLS_export;
35
+ export default _default;
36
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TDrawerProps & {
37
+ open?: boolean;
38
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ "update:open": (value: boolean) => any;
40
+ }, string, import("vue").PublicProps, Readonly<TDrawerProps & {
41
+ open?: boolean;
42
+ }> & Readonly<{
43
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
44
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TDrawerSlots>;
45
+ type __VLS_WithSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ //# sourceMappingURL=TDrawer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TDrawer/TDrawer.vue"],"names":[],"mappings":"AA6NA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,4GAA4G;IAC5G,MAAM,EAAE,MAAM,OAAO,CAAC;IACtB,gGAAgG;IAChG,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;IACxB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,OAAO,CAAC;CACxB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;WAkFT,OAAO;;;;WAAP,OAAO;;;iGA0JZ,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Footer for the record's flow actions (change its state, download) or Cancel / Save
3
+ * while editing. Holds at most 2 `TButton`s, right-aligned, primary last, plus an
4
+ * optional tertiary one on the left.
5
+ */
6
+ export interface TDrawerFooterSlots {
7
+ /** The tertiary `TButton`, on the left. */
8
+ start?: () => unknown;
9
+ /** Up to 2 `TButton`s on the right, primary last. */
10
+ default?: () => unknown;
11
+ }
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, TDrawerFooterSlots>;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=TDrawerFooter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawerFooter.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerFooter/TDrawerFooter.vue"],"names":[],"mappings":"AA8CA;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC;IACtB,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;CACzB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY,oTAoCd,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TDrawerFooter } from './TDrawerFooter.vue';
2
+ export type { TDrawerFooterSlots } from './TDrawerFooter.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerFooter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,YAAY,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import type { HeroIcon } from '@/types/heroicons';
2
+ import type { TTagProps } from '../../TTag';
3
+ /** An action offered by the record on display. */
4
+ export interface TDrawerAction {
5
+ /** Emitted with the `action` event when chosen. */
6
+ id: string;
7
+ /** Tooltip and accessible name of the icon, or the menu item text. */
8
+ label: string;
9
+ icon: HeroIcon;
10
+ /** Marks the Edit action, which stays visible even when the rest go to the menu. */
11
+ edit?: boolean;
12
+ /** Sorted last. Confirming it is up to the consumer. */
13
+ destructive?: boolean;
14
+ disabled?: boolean;
15
+ }
16
+ /**
17
+ * One-line drawer header: optional Back, title and status tag on the left; action
18
+ * icons and Close on the right.
19
+ *
20
+ * Up to 2 actions show as icons. With more, Edit stays visible and the rest move to
21
+ * the "More actions" menu (all of them when there is no Edit). Destructive actions
22
+ * always go last.
23
+ */
24
+ export interface TDrawerHeaderProps {
25
+ /** Entity type plus an identifier a person recognises, e.g. "Deuda 848848". */
26
+ title: string;
27
+ /** Text of the status `TTag` next to the title. */
28
+ status?: string;
29
+ /** @defaultValue 'default' */
30
+ statusVariant?: TTagProps['variant'];
31
+ /** @defaultValue [] */
32
+ actions?: TDrawerAction[];
33
+ /** Shows Back before the title, for a nested record. */
34
+ back?: boolean;
35
+ /** @defaultValue 'Close' */
36
+ closeLabel?: string;
37
+ /** @defaultValue 'Back' */
38
+ backLabel?: string;
39
+ /** @defaultValue 'More actions' */
40
+ moreActionsLabel?: string;
41
+ }
42
+ export interface TDrawerHeaderEmits {
43
+ action: [id: string];
44
+ back: [];
45
+ close: [];
46
+ }
47
+ export interface TDrawerHeaderSlots {
48
+ /** Overrides the title text. It stays inside the heading that names the drawer. */
49
+ title?: () => unknown;
50
+ /** Overrides the status `TTag`. */
51
+ status?: () => unknown;
52
+ }
53
+ declare const _default: typeof __VLS_export;
54
+ export default _default;
55
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TDrawerHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
56
+ close: () => any;
57
+ action: (id: string) => any;
58
+ back: () => any;
59
+ }, string, import("vue").PublicProps, Readonly<TDrawerHeaderProps> & Readonly<{
60
+ onClose?: (() => any) | undefined;
61
+ onAction?: ((id: string) => any) | undefined;
62
+ onBack?: (() => any) | undefined;
63
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TDrawerHeaderSlots>;
64
+ type __VLS_WithSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
69
+ //# sourceMappingURL=TDrawerHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawerHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerHeader/TDrawerHeader.vue"],"names":[],"mappings":"AAwTA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAA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AC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TDrawerHeader } from './TDrawerHeader.vue';
2
+ export type { TDrawerAction, TDrawerHeaderEmits, TDrawerHeaderProps, TDrawerHeaderSlots } from './TDrawerHeader.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { HeroIcon } from '@/types/heroicons';
2
+ /**
3
+ * Row that opens a related record. Goes after the data, before the footer. It renders
4
+ * a native `<button>` and emits no custom events — attach a plain `@click`.
5
+ */
6
+ export interface TDrawerLinkRowProps {
7
+ label: string;
8
+ /** Leading icon. */
9
+ icon?: HeroIcon;
10
+ }
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ declare const __VLS_export: import("vue").DefineComponent<TDrawerLinkRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TDrawerLinkRowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ //# sourceMappingURL=TDrawerLinkRow.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawerLinkRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerLinkRow/TDrawerLinkRow.vue"],"names":[],"mappings":"AAiFA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,oBAAoB;IACpB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACjB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY,kTAuEd,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TDrawerLinkRow } from './TDrawerLinkRow.vue';
2
+ export type { TDrawerLinkRowProps } from './TDrawerLinkRow.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerLinkRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Label / value row of the drawer body. The label column is fixed at 180px and cuts
3
+ * to 2 lines with "…" (the full text goes in a tooltip); the value takes the rest and
4
+ * breaks anywhere when it has no spaces (IDs, URLs). Both columns align to the top.
5
+ */
6
+ export interface TDrawerRowProps {
7
+ label: string;
8
+ /** Shown as "—" when empty. Replace it with the default slot for richer content. */
9
+ value?: string | number | null;
10
+ /**
11
+ * `link` renders the value semibold and underlined, as the way into the entity's
12
+ * detail: an anchor when `href` is set, otherwise a button that emits `open`.
13
+ * @defaultValue 'text'
14
+ */
15
+ variant?: 'text' | 'link';
16
+ href?: string;
17
+ }
18
+ export interface TDrawerRowEmits {
19
+ /** Click on a `link` value without `href`. */
20
+ open: [];
21
+ }
22
+ export interface TDrawerRowSlots {
23
+ /** Overrides the value. */
24
+ default?: () => unknown;
25
+ }
26
+ declare const _default: typeof __VLS_export;
27
+ export default _default;
28
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TDrawerRowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ open: () => any;
30
+ }, string, import("vue").PublicProps, Readonly<TDrawerRowProps> & Readonly<{
31
+ onOpen?: (() => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TDrawerRowSlots>;
33
+ type __VLS_WithSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
38
+ //# sourceMappingURL=TDrawerRow.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawerRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerRow/TDrawerRow.vue"],"names":[],"mappings":"AAmKA;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,oFAAoF;IACpF,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,8CAA8C;IAC9C,IAAI,EAAE,EAAE,CAAC;CACV;AAED,MAAM,WAAW,eAAe;IAC9B,2BAA2B;IAC3B,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;CACzB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY;;;;oGAgJd,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TDrawerRow } from './TDrawerRow.vue';
2
+ export type { TDrawerRowEmits, TDrawerRowProps, TDrawerRowSlots } from './TDrawerRow.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerRow/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * A block of the drawer body. Every section but the first carries a `title`, which
3
+ * renders as a divider followed by the subtitle — never a divider on its own.
4
+ */
5
+ export interface TDrawerSectionProps {
6
+ /** Subtitle under the divider. Leave it out on the first section. */
7
+ title?: string;
8
+ }
9
+ export interface TDrawerSectionSlots {
10
+ /** Overrides the subtitle text; the divider stays. */
11
+ title?: () => unknown;
12
+ /** `TDrawerRow`s, `TDrawerLinkRow`s or any other content. */
13
+ default?: () => unknown;
14
+ }
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<TDrawerSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TDrawerSectionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, TDrawerSectionSlots>;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
23
+ //# sourceMappingURL=TDrawerSection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TDrawerSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerSection/TDrawerSection.vue"],"names":[],"mappings":"AA2DA;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mBAAmB;IAClC,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,OAAO,CAAC;IACtB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC;CACzB;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY,wVA+Cd,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TDrawerSection } from './TDrawerSection.vue';
2
+ export type { TDrawerSectionProps, TDrawerSectionSlots } from './TDrawerSection.vue';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TDrawer/TDrawerSection/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,8 @@
1
+ export { default as TDrawer } from './TDrawer.vue';
2
+ export type { TDrawerProps, TDrawerSlots } from './TDrawer.vue';
3
+ export * from './TDrawerFooter';
4
+ export * from './TDrawerHeader';
5
+ export * from './TDrawerLinkRow';
6
+ export * from './TDrawerRow';
7
+ export * from './TDrawerSection';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TDrawer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAChE,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TDropdown.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.tsx"],"names":[],"mappings":"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CAAC;cAC5B,QAAQ,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;eAClC,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;kBAClC,QAAQ,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;;;iFA2MnE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TDropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAEhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAclB,CAAC;AAUF,eAAO,MAAM,QAAQ,EAAE,KA8DtB,CAAC;AAUF,eAAO,MAAM,IAAI,EAAE,KAoBlB,CAAC;AASF,eAAO,MAAM,SAAS,EAAE,KAoBvB,CAAC;AAUF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC"}
1
+ {"version":3,"file":"TDropdown.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CAEhC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;AAExC,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAclB,CAAC;AAUF,eAAO,MAAM,QAAQ,EAAE,KAsEtB,CAAC;AAUF,eAAO,MAAM,IAAI,EAAE,KAoBlB,CAAC;AASF,eAAO,MAAM,SAAS,EAAE,KAoBvB,CAAC;AAUF,eAAO,MAAM,QAAQ,EAAE,KActB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TDropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,eAAO,MAAM,SAAS,GAAI,YAAY,GAAG,CAAC,MAAM,CAAC,sCAyFhD,CAAC;AAEF,eAAO,MAAM,aAAa,yCAsDzB,CAAC"}
1
+ {"version":3,"file":"TDropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAK/B,eAAO,MAAM,SAAS,GAAI,YAAY,GAAG,CAAC,MAAM,CAAC,sCA+FhD,CAAC;AAEF,eAAO,MAAM,aAAa,yCAsDzB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export interface TDropdownProps {
2
2
  open?: boolean;
3
3
  size?: 'small' | 'large';
4
- position?: 'left' | 'middle-left' | 'center' | 'middle-right' | 'right' | 'top-center' | 'top-left' | 'top-right';
4
+ position?: 'left' | 'middle-left' | 'center' | 'middle-right' | 'right' | 'top-center' | 'top-left' | 'top-right' | 'bottom-end';
5
5
  fullWidth?: boolean;
6
6
  attachToBody?: boolean;
7
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"TDropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,CAAC;IAClH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
1
+ {"version":3,"file":"TDropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/TDropdown/TDropdown.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,GAAG,QAAQ,GAAG,cAAc,GAAG,OAAO,GAAG,YAAY,GAAG,UAAU,GAAG,WAAW,GAAG,YAAY,CAAC;IACjI,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"TIconButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW0B,CAAC;AAErC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAUF,eAAO,MAAM,IAAI,EAAE,KAuBlB,CAAC;AASF,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC;AASF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AASF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAUF,eAAO,MAAM,KAAK,EAAE,KAgCnB,CAAC"}
1
+ {"version":3,"file":"TIconButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAW0B,CAAC;AAErC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,KAQxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAUF,eAAO,MAAM,IAAI,EAAE,KAuBlB,CAAC;AASF,eAAO,MAAM,QAAQ,EAAE,KAWtB,CAAC;AASF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AASF,eAAO,MAAM,OAAO,EAAE,KAWrB,CAAC;AAUF,eAAO,MAAM,KAAK,EAAE,KAmCnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TIconButton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,eAAO,MAAM,SAAS,GAAI,OACtB,GAAG,CAAC,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,GAC3C,WAAW,CAAC,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;;;CAyHtD,CAAC"}
1
+ {"version":3,"file":"TIconButton.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAO5D,eAAO,MAAM,SAAS,GAAI,OACtB,GAAG,CAAC,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,GAC3C,WAAW,CAAC,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;;;CAsItD,CAAC"}
@@ -6,6 +6,6 @@ export interface TIconButtonProps extends ButtonHTMLAttributes {
6
6
  disabled?: boolean;
7
7
  rounded?: boolean;
8
8
  loading?: boolean;
9
- color?: 'primary' | 'error' | 'success' | 'warning' | 'in-process' | 'in-process-dark' | 'info';
9
+ color?: 'primary' | 'error' | 'success' | 'warning' | 'in-process' | 'in-process-dark' | 'info' | 'neutral';
10
10
  }
11
11
  //# sourceMappingURL=TIconButton.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TIconButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,KAAK,CAAC;AAEhD,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EACF,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,MAAM,CAAC;CACZ"}
1
+ {"version":3,"file":"TIconButton.types.d.ts","sourceRoot":"","sources":["../../../src/components/TIconButton/TIconButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,KAAK,CAAC;AAEhD,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EACF,SAAS,GACT,OAAO,GACP,SAAS,GACT,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,MAAM,GACN,SAAS,CAAC;CACf"}
@@ -6,6 +6,7 @@ export * from './TCheckbox';
6
6
  export * from './TCombobox';
7
7
  export * from './TCommandPalette';
8
8
  export * from './TDialog';
9
+ export * from './TDrawer';
9
10
  export * from './TDropdown';
10
11
  export * from './TFileUpload';
11
12
  export * from './TIcon';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAA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