@kopexa/theme 17.15.0 → 17.16.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.
@@ -6,15 +6,31 @@ declare const filter: tailwind_variants.TVReturnType<{
6
6
  sm: {
7
7
  trigger: string;
8
8
  field: string;
9
+ fieldLabel: string;
10
+ fieldOperator: string;
11
+ fieldOperatorSelect: string;
12
+ fieldValue: string;
13
+ fieldValueInput: string;
9
14
  fieldRemove: string;
10
15
  };
11
16
  md: {
12
17
  trigger: string;
13
18
  field: string;
19
+ fieldLabel: string;
20
+ fieldOperator: string;
21
+ fieldOperatorSelect: string;
22
+ fieldValue: string;
23
+ fieldValueInput: string;
24
+ fieldRemove: string;
14
25
  };
15
26
  lg: {
16
27
  trigger: string;
17
28
  field: string;
29
+ fieldLabel: string;
30
+ fieldOperator: string;
31
+ fieldOperatorSelect: string;
32
+ fieldValue: string;
33
+ fieldValueInput: string;
18
34
  fieldRemove: string;
19
35
  };
20
36
  };
@@ -22,7 +38,9 @@ declare const filter: tailwind_variants.TVReturnType<{
22
38
  outline: {
23
39
  field: string;
24
40
  };
25
- solid: {};
41
+ solid: {
42
+ field: string;
43
+ };
26
44
  };
27
45
  }, {
28
46
  root: string;
@@ -35,9 +53,14 @@ declare const filter: tailwind_variants.TVReturnType<{
35
53
  menuItemIcon: string;
36
54
  menuSeparator: string;
37
55
  field: string[];
38
- fieldLabel: string;
39
- fieldOperator: string;
40
- fieldValue: string;
56
+ fieldLabel: string[];
57
+ fieldOperator: string[];
58
+ fieldOperatorSelect: string[];
59
+ fieldOperatorIcon: string;
60
+ fieldValue: string[];
61
+ fieldValueInput: string[];
62
+ fieldValueText: string;
63
+ fieldValueIcon: string;
41
64
  fieldRemove: string[];
42
65
  editor: string[];
43
66
  editorHeader: string;
@@ -51,15 +74,31 @@ declare const filter: tailwind_variants.TVReturnType<{
51
74
  sm: {
52
75
  trigger: string;
53
76
  field: string;
77
+ fieldLabel: string;
78
+ fieldOperator: string;
79
+ fieldOperatorSelect: string;
80
+ fieldValue: string;
81
+ fieldValueInput: string;
54
82
  fieldRemove: string;
55
83
  };
56
84
  md: {
57
85
  trigger: string;
58
86
  field: string;
87
+ fieldLabel: string;
88
+ fieldOperator: string;
89
+ fieldOperatorSelect: string;
90
+ fieldValue: string;
91
+ fieldValueInput: string;
92
+ fieldRemove: string;
59
93
  };
60
94
  lg: {
61
95
  trigger: string;
62
96
  field: string;
97
+ fieldLabel: string;
98
+ fieldOperator: string;
99
+ fieldOperatorSelect: string;
100
+ fieldValue: string;
101
+ fieldValueInput: string;
63
102
  fieldRemove: string;
64
103
  };
65
104
  };
@@ -67,7 +106,9 @@ declare const filter: tailwind_variants.TVReturnType<{
67
106
  outline: {
68
107
  field: string;
69
108
  };
70
- solid: {};
109
+ solid: {
110
+ field: string;
111
+ };
71
112
  };
72
113
  }, {
73
114
  root: string;
@@ -80,9 +121,14 @@ declare const filter: tailwind_variants.TVReturnType<{
80
121
  menuItemIcon: string;
81
122
  menuSeparator: string;
82
123
  field: string[];
83
- fieldLabel: string;
84
- fieldOperator: string;
85
- fieldValue: string;
124
+ fieldLabel: string[];
125
+ fieldOperator: string[];
126
+ fieldOperatorSelect: string[];
127
+ fieldOperatorIcon: string;
128
+ fieldValue: string[];
129
+ fieldValueInput: string[];
130
+ fieldValueText: string;
131
+ fieldValueIcon: string;
86
132
  fieldRemove: string[];
87
133
  editor: string[];
88
134
  editorHeader: string;
@@ -96,15 +142,31 @@ declare const filter: tailwind_variants.TVReturnType<{
96
142
  sm: {
97
143
  trigger: string;
98
144
  field: string;
145
+ fieldLabel: string;
146
+ fieldOperator: string;
147
+ fieldOperatorSelect: string;
148
+ fieldValue: string;
149
+ fieldValueInput: string;
99
150
  fieldRemove: string;
100
151
  };
101
152
  md: {
102
153
  trigger: string;
103
154
  field: string;
155
+ fieldLabel: string;
156
+ fieldOperator: string;
157
+ fieldOperatorSelect: string;
158
+ fieldValue: string;
159
+ fieldValueInput: string;
160
+ fieldRemove: string;
104
161
  };
105
162
  lg: {
106
163
  trigger: string;
107
164
  field: string;
165
+ fieldLabel: string;
166
+ fieldOperator: string;
167
+ fieldOperatorSelect: string;
168
+ fieldValue: string;
169
+ fieldValueInput: string;
108
170
  fieldRemove: string;
109
171
  };
110
172
  };
@@ -112,7 +174,9 @@ declare const filter: tailwind_variants.TVReturnType<{
112
174
  outline: {
113
175
  field: string;
114
176
  };
115
- solid: {};
177
+ solid: {
178
+ field: string;
179
+ };
116
180
  };
117
181
  }, {
118
182
  root: string;
@@ -125,9 +189,14 @@ declare const filter: tailwind_variants.TVReturnType<{
125
189
  menuItemIcon: string;
126
190
  menuSeparator: string;
127
191
  field: string[];
128
- fieldLabel: string;
129
- fieldOperator: string;
130
- fieldValue: string;
192
+ fieldLabel: string[];
193
+ fieldOperator: string[];
194
+ fieldOperatorSelect: string[];
195
+ fieldOperatorIcon: string;
196
+ fieldValue: string[];
197
+ fieldValueInput: string[];
198
+ fieldValueText: string;
199
+ fieldValueIcon: string;
131
200
  fieldRemove: string[];
132
201
  editor: string[];
133
202
  editorHeader: string;
@@ -37,7 +37,7 @@ var filter = (0, import_tailwind_variants.tv)({
37
37
  root: "flex flex-wrap items-center gap-2",
38
38
  // Trigger Button
39
39
  trigger: [
40
- "inline-flex items-center gap-2 rounded-md",
40
+ "inline-flex items-center gap-2 rounded-full",
41
41
  "border border-dashed border-input text-sm",
42
42
  "hover:bg-accent hover:text-accent-foreground",
43
43
  "transition-colors cursor-pointer",
@@ -61,63 +61,106 @@ var filter = (0, import_tailwind_variants.tv)({
61
61
  ],
62
62
  menuItemIcon: "size-4 text-muted-foreground",
63
63
  menuSeparator: "bg-border -mx-1 my-1 h-px",
64
- // Aktiver Filter (Chip-artig)
64
+ // Aktiver Filter (Contentful-Style segmented)
65
65
  field: [
66
- "inline-flex items-center gap-1 rounded-md",
67
- "bg-secondary text-secondary-foreground text-sm",
68
- "border border-transparent hover:border-border",
69
- "cursor-pointer transition-colors"
66
+ "group inline-flex items-center rounded-full",
67
+ "border border-border bg-background",
68
+ "transition-all hover:shadow-sm focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-1"
70
69
  ],
71
- fieldLabel: "font-medium",
72
- fieldOperator: "text-muted-foreground text-xs",
73
- fieldValue: "max-w-[150px] truncate",
70
+ fieldLabel: [
71
+ "bg-muted text-foreground font-medium text-xs",
72
+ "flex items-center gap-1.5 flex-shrink-0"
73
+ ],
74
+ fieldOperator: [
75
+ "bg-primary text-primary-foreground",
76
+ "flex items-center",
77
+ "rounded-full shadow-sm",
78
+ "mx-1 my-0.5"
79
+ ],
80
+ // Native select inside operator segment
81
+ fieldOperatorSelect: [
82
+ "appearance-none bg-transparent font-normal cursor-pointer",
83
+ "border-none outline-none text-xs",
84
+ "focus:outline-none"
85
+ ],
86
+ fieldOperatorIcon: "size-3 opacity-70 ml-0.5 pointer-events-none",
87
+ fieldValue: [
88
+ "bg-background text-foreground text-xs",
89
+ "flex items-center gap-1"
90
+ ],
91
+ // Native input inside value segment (width set dynamically via style)
92
+ fieldValueInput: [
93
+ "bg-transparent border-none outline-none",
94
+ "placeholder:text-muted-foreground"
95
+ ],
96
+ fieldValueText: "truncate",
97
+ fieldValueIcon: "size-3.5 opacity-60 flex-shrink-0",
74
98
  fieldRemove: [
75
- "size-5 rounded-sm flex items-center justify-center",
99
+ "size-5 rounded-full flex items-center justify-center flex-shrink-0",
76
100
  "hover:bg-destructive/10 hover:text-destructive",
77
101
  "transition-colors cursor-pointer",
102
+ "mr-1",
78
103
  ...focusVisibleClasses
79
104
  ],
80
- // Wert-Editor Popover
105
+ // Wert-Editor Popover (for select/multiselect types)
81
106
  editor: [
82
- "bg-popover text-popover-foreground border rounded-lg shadow-lg p-3 min-w-[240px]",
107
+ "bg-popover text-popover-foreground border rounded-lg shadow-lg p-3 min-w-[280px]",
83
108
  "data-[open]:animate-in data-[closed]:animate-out",
84
109
  "data-[closed]:fade-out-0 data-[open]:fade-in-0",
85
110
  "data-[closed]:zoom-out-95 data-[open]:zoom-in-95"
86
111
  ],
87
- editorHeader: "flex items-center justify-between mb-2",
112
+ editorHeader: "flex items-center justify-between mb-3",
88
113
  editorTitle: "text-sm font-medium",
89
- editorOperator: "w-full mb-2",
114
+ editorOperator: "w-full mb-3",
90
115
  editorInput: "w-full",
91
116
  // Active Filters Container
92
117
  active: "flex flex-wrap items-center gap-2",
93
118
  // Clear All Button
94
119
  clearAll: [
95
120
  "text-xs text-muted-foreground hover:text-foreground",
96
- "cursor-pointer transition-colors"
121
+ "cursor-pointer transition-colors underline-offset-2 hover:underline"
97
122
  ]
98
123
  },
99
124
  variants: {
100
125
  size: {
101
126
  sm: {
102
127
  trigger: "h-7 text-xs px-2.5",
103
- field: "h-6 text-xs pl-2 pr-0.5",
128
+ field: "text-xs h-7",
129
+ fieldLabel: "px-2.5 py-1",
130
+ fieldOperator: "px-2.5 py-0.5",
131
+ fieldOperatorSelect: "text-xs",
132
+ fieldValue: "px-2 py-1",
133
+ fieldValueInput: "text-xs h-5",
104
134
  fieldRemove: "size-4"
105
135
  },
106
136
  md: {
107
137
  trigger: "h-8 px-3",
108
- field: "h-7 pl-2.5 pr-1"
138
+ field: "text-sm h-8",
139
+ fieldLabel: "px-3 py-1.5",
140
+ fieldOperator: "px-3 py-1",
141
+ fieldOperatorSelect: "text-sm",
142
+ fieldValue: "px-2.5 py-1.5",
143
+ fieldValueInput: "text-sm h-5",
144
+ fieldRemove: "size-5"
109
145
  },
110
146
  lg: {
111
147
  trigger: "h-9 px-4 text-base",
112
- field: "h-8 pl-3 pr-1.5 text-base",
148
+ field: "text-base h-9",
149
+ fieldLabel: "px-4 py-2",
150
+ fieldOperator: "px-4 py-1.5",
151
+ fieldOperatorSelect: "text-base",
152
+ fieldValue: "px-3 py-2",
153
+ fieldValueInput: "text-base h-6",
113
154
  fieldRemove: "size-6"
114
155
  }
115
156
  },
116
157
  variant: {
117
158
  outline: {
118
- field: "bg-transparent border-input"
159
+ field: "border-input"
119
160
  },
120
- solid: {}
161
+ solid: {
162
+ field: "border-transparent shadow-sm"
163
+ }
121
164
  }
122
165
  },
123
166
  defaultVariants: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  filter
3
- } from "../chunk-PKB6QHSP.mjs";
3
+ } from "../chunk-L75CK6K3.mjs";
4
4
  import "../chunk-6IZPAS4O.mjs";
5
5
  export {
6
6
  filter
@@ -18,6 +18,7 @@ export { ComboboxVariantProps, combobox } from './combobox.mjs';
18
18
  export { CommandVariants, command } from './command.mjs';
19
19
  export { ComplianceBadgeSlots, ComplianceBadgeVariantProps, complianceBadge } from './compliance-badge.mjs';
20
20
  export { controlExtension } from './control-extension.mjs';
21
+ export { ConversationSlots, ConversationVariantProps, conversation } from './conversation.mjs';
21
22
  export { DataGridVariants, datagrid } from './data-grid.mjs';
22
23
  export { DataTableVariants, dataTable } from './data-table.mjs';
23
24
  export { DialogSlots, DialogVariantProps, dialog } from './dialog.mjs';
@@ -40,10 +41,12 @@ export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } fr
40
41
  export { kbd } from './kbd.mjs';
41
42
  export { LabelVariantProps, label } from './label.mjs';
42
43
  export { LoadingPageVariants, loadingPage } from './loading-page.mjs';
44
+ export { MessageSlots, MessageVariantProps, message } from './message.mjs';
43
45
  export { PageHeaderVariantProps, pageHeader } from './page-header.mjs';
44
46
  export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './page-layout.mjs';
45
47
  export { PopoverVariants, popover } from './popover.mjs';
46
48
  export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './preview-card.mjs';
49
+ export { PromptInputSlots, PromptInputVariantProps, promptInput } from './prompt-input.mjs';
47
50
  export { RelatedControlChipVariantsProps, relatedControlChip } from './related-control-chip.mjs';
48
51
  export { ResizableVariantProps, resizable } from './resizable.mjs';
49
52
  export { RiskBadgeVariantProps, riskBadge } from './risk-badge.mjs';
@@ -18,6 +18,7 @@ export { ComboboxVariantProps, combobox } from './combobox.js';
18
18
  export { CommandVariants, command } from './command.js';
19
19
  export { ComplianceBadgeSlots, ComplianceBadgeVariantProps, complianceBadge } from './compliance-badge.js';
20
20
  export { controlExtension } from './control-extension.js';
21
+ export { ConversationSlots, ConversationVariantProps, conversation } from './conversation.js';
21
22
  export { DataGridVariants, datagrid } from './data-grid.js';
22
23
  export { DataTableVariants, dataTable } from './data-table.js';
23
24
  export { DialogSlots, DialogVariantProps, dialog } from './dialog.js';
@@ -40,10 +41,12 @@ export { IntegrationCardSlots, IntegrationCardVariantProps, integrationCard } fr
40
41
  export { kbd } from './kbd.js';
41
42
  export { LabelVariantProps, label } from './label.js';
42
43
  export { LoadingPageVariants, loadingPage } from './loading-page.js';
44
+ export { MessageSlots, MessageVariantProps, message } from './message.js';
43
45
  export { PageHeaderVariantProps, pageHeader } from './page-header.js';
44
46
  export { PageLayoutSlots, PageLayoutVariantProps, pageLayout } from './page-layout.js';
45
47
  export { PopoverVariants, popover } from './popover.js';
46
48
  export { PreviewCardSlots, PreviewCardVariantProps, previewCard } from './preview-card.js';
49
+ export { PromptInputSlots, PromptInputVariantProps, promptInput } from './prompt-input.js';
47
50
  export { RelatedControlChipVariantsProps, relatedControlChip } from './related-control-chip.js';
48
51
  export { ResizableVariantProps, resizable } from './resizable.js';
49
52
  export { RiskBadgeVariantProps, riskBadge } from './risk-badge.js';