pdm-ui-kit 1.6.2 → 1.6.4

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.
@@ -183,19 +183,45 @@ const ATTACHMENT_CONTROL_CLASSES = {
183
183
  "[&>pdm-button>button]:shadow-none",
184
184
  "[&>pdm-button:first-child>button]:!rounded-l-md",
185
185
  "[&>pdm-button:last-child>button]:!rounded-r-md",
186
+ "[&>*:has(>pdm-button)]:flex",
187
+ "[&>*>pdm-button]:flex",
188
+ "[&>*>pdm-button>button]:h-9",
189
+ "[&>*>pdm-button>button]:!rounded-none",
190
+ "[&>*>pdm-button>button]:shadow-none",
191
+ "[&>*:first-child>pdm-button>button]:!rounded-l-md",
192
+ "[&>*:last-child>pdm-button>button]:!rounded-r-md",
186
193
  "[&>pdm-input]:flex-1",
187
194
  "[&>pdm-input]:min-w-0",
188
195
  "[&>pdm-input>div]:w-full",
189
196
  "[&>pdm-input>div]:min-w-0",
190
197
  "[&>pdm-input>div]:!rounded-none",
191
198
  "[&>pdm-input>div]:shadow-none",
192
- "[&>pdm-input>div>input]:!rounded-none",
193
- "[&>pdm-input>div>input]:bg-background",
194
- "[&>pdm-input>div>input]:shadow-none",
199
+ "[&>pdm-input>div>div]:w-full",
200
+ "[&>pdm-input>div>div]:min-w-0",
201
+ "[&>pdm-input>div>div>input]:!rounded-none",
202
+ "[&>pdm-input>div>div>input]:bg-background",
203
+ "[&>pdm-input>div>div>input]:shadow-none",
195
204
  "[&>pdm-input:first-child>div]:!rounded-l-md",
196
205
  "[&>pdm-input:last-child>div]:!rounded-r-md",
197
- "[&>pdm-input:first-child>div>input]:!rounded-l-md",
198
- "[&>pdm-input:last-child>div>input]:!rounded-r-md",
206
+ "[&>pdm-input:first-child>div>div>input]:!rounded-l-md",
207
+ "[&>pdm-input:last-child>div>div>input]:!rounded-r-md",
208
+ "[&>*:has(>pdm-input)]:flex-1",
209
+ "[&>*:has(>pdm-input)]:min-w-0",
210
+ "[&>*>pdm-input]:flex-1",
211
+ "[&>*>pdm-input]:min-w-0",
212
+ "[&>*>pdm-input>div]:w-full",
213
+ "[&>*>pdm-input>div]:min-w-0",
214
+ "[&>*>pdm-input>div]:!rounded-none",
215
+ "[&>*>pdm-input>div]:shadow-none",
216
+ "[&>*>pdm-input>div>div]:w-full",
217
+ "[&>*>pdm-input>div>div]:min-w-0",
218
+ "[&>*>pdm-input>div>div>input]:!rounded-none",
219
+ "[&>*>pdm-input>div>div>input]:bg-background",
220
+ "[&>*>pdm-input>div>div>input]:shadow-none",
221
+ "[&>*:first-child>pdm-input>div]:!rounded-l-md",
222
+ "[&>*:last-child>pdm-input>div]:!rounded-r-md",
223
+ "[&>*:first-child>pdm-input>div>div>input]:!rounded-l-md",
224
+ "[&>*:last-child>pdm-input>div>div>input]:!rounded-r-md",
199
225
  "[&>pdm-input-group]:min-w-0",
200
226
  "[&>pdm-input-group>div]:!rounded-none",
201
227
  "[&>pdm-input-group>div]:shadow-none",
@@ -233,13 +259,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
233
259
  "[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md",
234
260
  "[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
235
261
  "[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
236
- "[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none",
237
- "[&>pdm-tooltip>span>pdm-input>div>input]:bg-background",
238
- "[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none",
262
+ "[&>pdm-tooltip>span>pdm-input>div>div]:w-full",
263
+ "[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0",
264
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none",
265
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background",
266
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none",
239
267
  "[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md",
240
268
  "[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md",
241
- "[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-l-md",
242
- "[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-r-md",
269
+ "[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-l-md",
270
+ "[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-r-md",
243
271
  "[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
244
272
  "[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
245
273
  "[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md",
@@ -267,15 +295,37 @@ const ATTACHMENT_CONTROL_CLASSES = {
267
295
  "[&>pdm-button>button]:shadow-none",
268
296
  "[&>pdm-button:first-child>button]:!rounded-t-md",
269
297
  "[&>pdm-button:last-child>button]:!rounded-b-md",
298
+ "[&>*:has(>pdm-button)]:flex",
299
+ "[&>*>pdm-button]:flex",
300
+ "[&>*>pdm-button>button]:h-9",
301
+ "[&>*>pdm-button>button]:!rounded-none",
302
+ "[&>*>pdm-button>button]:shadow-none",
303
+ "[&>*:first-child>pdm-button>button]:!rounded-t-md",
304
+ "[&>*:last-child>pdm-button>button]:!rounded-b-md",
270
305
  "[&>pdm-input>div]:!rounded-none",
271
306
  "[&>pdm-input>div]:shadow-none",
272
- "[&>pdm-input>div>input]:!rounded-none",
273
- "[&>pdm-input>div>input]:bg-background",
274
- "[&>pdm-input>div>input]:shadow-none",
307
+ "[&>pdm-input>div>div]:w-full",
308
+ "[&>pdm-input>div>div]:min-w-0",
309
+ "[&>pdm-input>div>div>input]:!rounded-none",
310
+ "[&>pdm-input>div>div>input]:bg-background",
311
+ "[&>pdm-input>div>div>input]:shadow-none",
275
312
  "[&>pdm-input:first-child>div]:!rounded-t-md",
276
313
  "[&>pdm-input:last-child>div]:!rounded-b-md",
277
- "[&>pdm-input:first-child>div>input]:!rounded-t-md",
278
- "[&>pdm-input:last-child>div>input]:!rounded-b-md",
314
+ "[&>pdm-input:first-child>div>div>input]:!rounded-t-md",
315
+ "[&>pdm-input:last-child>div>div>input]:!rounded-b-md",
316
+ "[&>*:has(>pdm-input)]:min-w-0",
317
+ "[&>*>pdm-input]:min-w-0",
318
+ "[&>*>pdm-input>div]:!rounded-none",
319
+ "[&>*>pdm-input>div]:shadow-none",
320
+ "[&>*>pdm-input>div>div]:w-full",
321
+ "[&>*>pdm-input>div>div]:min-w-0",
322
+ "[&>*>pdm-input>div>div>input]:!rounded-none",
323
+ "[&>*>pdm-input>div>div>input]:bg-background",
324
+ "[&>*>pdm-input>div>div>input]:shadow-none",
325
+ "[&>*:first-child>pdm-input>div]:!rounded-t-md",
326
+ "[&>*:last-child>pdm-input>div]:!rounded-b-md",
327
+ "[&>*:first-child>pdm-input>div>div>input]:!rounded-t-md",
328
+ "[&>*:last-child>pdm-input>div>div>input]:!rounded-b-md",
279
329
  "[&>pdm-input-group>div]:!rounded-none",
280
330
  "[&>pdm-input-group>div]:shadow-none",
281
331
  "[&>pdm-input-group:first-child>div]:!rounded-t-md",
@@ -312,13 +362,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
312
362
  "[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md",
313
363
  "[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
314
364
  "[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
315
- "[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none",
316
- "[&>pdm-tooltip>span>pdm-input>div>input]:bg-background",
317
- "[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none",
365
+ "[&>pdm-tooltip>span>pdm-input>div>div]:w-full",
366
+ "[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0",
367
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none",
368
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background",
369
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none",
318
370
  "[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md",
319
371
  "[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md",
320
- "[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-t-md",
321
- "[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-b-md",
372
+ "[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-t-md",
373
+ "[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-b-md",
322
374
  "[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
323
375
  "[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
324
376
  "[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md",
@@ -1 +1 @@
1
- {"version":3,"file":"pdm-ui-kit-src-button.mjs","sources":["../../../src/button/button-theme.constant.ts","../../../src/button/button.component.ts","../../../src/button/button.component.html","../../../src/button/button-group.component.ts","../../../src/button/button-group.component.html","../../../src/button/button.module.ts","../../../src/button/pdm-ui-kit-src-button.ts"],"sourcesContent":["import { PdmButtonVariant, PdmButtonState } from './button.component';\n\nexport const BUTTON_TONE_MAP: Record<PdmButtonVariant, Record<PdmButtonState, string>> = {\n default: {\n default: 'border-primary bg-primary text-primary-foreground',\n hover: 'border-primary bg-primary text-primary-foreground opacity-90',\n },\n primary: {\n default: 'border-primary bg-primary text-primary-foreground',\n hover: 'border-primary bg-primary text-primary-foreground opacity-90',\n },\n destructive: {\n default: 'border-border bg-destructive text-destructive-foreground',\n hover: 'border-border bg-destructive text-destructive-foreground opacity-90',\n },\n outline: {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-muted text-foreground',\n },\n subtle: {\n default: 'border-secondary bg-secondary text-secondary-foreground',\n hover: 'border-accent bg-accent text-accent-foreground',\n },\n secondary: {\n default: 'border-secondary bg-secondary text-secondary-foreground',\n hover: 'border-accent bg-accent text-accent-foreground',\n },\n ghost: {\n default: 'border-border bg-transparent text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n link: {\n default: 'border-border bg-transparent text-primary',\n hover: 'border-border bg-transparent text-primary underline underline-offset-4',\n },\n 'with-icon': {\n default: 'border-primary bg-primary text-primary-foreground',\n hover: 'border-primary bg-primary text-primary-foreground opacity-90',\n },\n icon: {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n 'icon-circle': {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n rounded: {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n loading: {\n default: 'border-primary bg-primary text-primary-foreground opacity-70',\n hover: 'border-primary bg-primary text-primary-foreground opacity-70',\n },\n} as const;\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { BUTTON_TONE_MAP } from './button-theme.constant';\n\nexport type PdmButtonVariant =\n | 'default'\n | 'primary'\n | 'destructive'\n | 'outline'\n | 'subtle'\n | 'secondary'\n | 'ghost'\n | 'link'\n | 'with-icon'\n | 'icon'\n | 'icon-circle'\n | 'rounded'\n | 'loading';\nexport type PdmButtonState = 'default' | 'hover';\nexport type PdmButtonSize = 'small' | 'default' | 'large';\n\n@Component({\n selector: 'pdm-button',\n templateUrl: './button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmButtonComponent {\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\n @Input() variant: PdmButtonVariant | string = 'default';\n @Input() state: PdmButtonState | string = 'default';\n @Input() size: PdmButtonSize | string = 'default';\n @Input() disabled = false;\n @Input() loading = false;\n @Input() className = '';\n\n @Output() pressed = new EventEmitter<MouseEvent>();\n\n readonly toneClassMap = BUTTON_TONE_MAP;\n\n get isDisabled(): boolean {\n return this.disabled || this.loading || this.variant === 'loading';\n }\n\n get resolvedVariant(): PdmButtonVariant {\n return this.isValidVariant(this.variant) ? this.variant : 'default';\n }\n\n get resolvedState(): PdmButtonState {\n return this.state === 'hover' ? 'hover' : 'default';\n }\n\n get resolvedSize(): PdmButtonSize {\n if (this.size === 'small' || this.size === 'large') {\n return this.size;\n }\n\n return 'default';\n }\n\n get showsIconSlot(): boolean {\n const variant = this.resolvedVariant;\n return variant === 'with-icon' || variant === 'icon' || variant === 'icon-circle' || variant === 'rounded';\n }\n\n get rootClasses(): string[] {\n const currentState = this.resolvedState;\n const variant = this.resolvedVariant;\n const toneClass = this.toneClassMap[variant][currentState];\n\n return [\n 'inline-flex appearance-none box-border items-center justify-center gap-2 rounded-md border border-solid text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-clip-padding',\n variant === 'link' ? 'px-4 py-2 h-9' : '',\n variant === 'icon' ? 'h-9 w-9 p-0' : '',\n variant === 'icon-circle' ? 'h-10 w-10 rounded-full p-0' : '',\n variant === 'rounded' ? 'h-9 w-9 rounded-full p-0' : '',\n variant !== 'icon' && variant !== 'icon-circle' && variant !== 'rounded'\n ? this.resolvedSize === 'small'\n ? 'h-8 px-3 text-xs'\n : this.resolvedSize === 'large'\n ? 'h-10 px-8'\n : 'h-9 px-4'\n : '',\n variant === 'link' && currentState === 'hover' ? 'underline underline-offset-4' : '',\n toneClass,\n this.className\n ];\n }\n\n onClick(event: MouseEvent): void {\n if (!this.isDisabled) {\n this.pressed.emit(event);\n }\n }\n\n private isValidVariant(value: unknown): value is PdmButtonVariant {\n return (\n value === 'default' ||\n value === 'primary' ||\n value === 'destructive' ||\n value === 'outline' ||\n value === 'subtle' ||\n value === 'secondary' ||\n value === 'ghost' ||\n value === 'link' ||\n value === 'with-icon' ||\n value === 'icon' ||\n value === 'icon-circle' ||\n value === 'rounded' ||\n value === 'loading'\n );\n }\n}\n","<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"isDisabled && loading ? true : null\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\n\nexport type PdmButtonGroupVariant =\n\t| \"default\"\n\t| \"group\"\n\t| \"orientation\"\n\t| \"separator\";\nexport type PdmButtonGroupOrientation = \"horizontal\" | \"vertical\";\n\ntype Axis = \"horizontal\" | \"vertical\";\n\nconst ROOT_LAYOUT: Record<Axis, string> = {\n\thorizontal: \"w-full flex flex-row items-center overflow-visible\",\n\tvertical: \"flex flex-col items-stretch\",\n};\n\nconst ATTACHMENT_EDGE_CLASSES: Record<Axis, string[]> = {\n\thorizontal: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-l-md\",\n\t\t\"[&>*:last-child]:rounded-r-md\",\n\t\t\"[&>*:not(:first-child)]:border-l-0\",\n\t\t\"[&>*:not(:first-child)]:-ml-px\",\n\t],\n\tvertical: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-t-md\",\n\t\t\"[&>*:last-child]:rounded-b-md\",\n\t\t\"[&>*:not(:first-child)]:border-t-0\",\n\t\t\"[&>*:not(:first-child)]:-mt-px\",\n\t],\n};\n\nconst ATTACHMENT_CONTROL_CLASSES: Record<Axis, string[]> = {\n\thorizontal: [\n\t\t\"[&>pdm-button]:flex\",\n\t\t\"[&>pdm-button>button]:h-9\",\n\t\t\"[&>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-button:first-child>button]:!rounded-l-md\",\n\t\t\"[&>pdm-button:last-child>button]:!rounded-r-md\",\n\n\t\t\"[&>pdm-input]:flex-1\",\n\t\t\"[&>pdm-input]:min-w-0\",\n\t\t\"[&>pdm-input>div]:w-full\",\n\t\t\"[&>pdm-input>div]:min-w-0\",\n\t\t\"[&>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-input:first-child>div]:!rounded-l-md\",\n\t\t\"[&>pdm-input:last-child>div]:!rounded-r-md\",\n\t\t\"[&>pdm-input:first-child>div>input]:!rounded-l-md\",\n\t\t\"[&>pdm-input:last-child>div>input]:!rounded-r-md\",\n\n\t\t\"[&>pdm-input-group]:min-w-0\",\n\t\t\"[&>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-input-group:first-child>div]:!rounded-l-md\",\n\t\t\"[&>pdm-input-group:last-child>div]:!rounded-r-md\",\n\n\t\t\"[&>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-select:first-child>select]:!rounded-l-md\",\n\t\t\"[&>pdm-select:last-child>select]:!rounded-r-md\",\n\t\t\"[&>pdm-select:first-child>div>button]:!rounded-l-md\",\n\t\t\"[&>pdm-select:last-child>div>button]:!rounded-r-md\",\n\t\t\"[&>pdm-select:not(:first-child)>div>button]:!rounded-l-none\",\n\t\t\"[&>pdm-select:not(:last-child)>div>button]:!rounded-r-none\",\n\n\t\t\"[&>pdm-tooltip>span>*]:rounded-none\",\n\t\t\"[&>pdm-tooltip>span>*]:shadow-none\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>*]:border-l-0\",\n\t\t\"[&>pdm-tooltip>span>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>input]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>input]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>select]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>select]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-l-none\",\n\t\t\"[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-r-none\",\n\t],\n\tvertical: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-t-md\",\n\t\t\"[&>*:last-child]:rounded-b-md\",\n\t\t\"[&>*:not(:first-child)]:border-t-0\",\n\t\t\"[&>*:not(:first-child)]:-mt-px\",\n\n\t\t\"[&>pdm-button]:flex\",\n\t\t\"[&>pdm-button>button]:h-9\",\n\t\t\"[&>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-button:first-child>button]:!rounded-t-md\",\n\t\t\"[&>pdm-button:last-child>button]:!rounded-b-md\",\n\n\t\t\"[&>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-input:first-child>div]:!rounded-t-md\",\n\t\t\"[&>pdm-input:last-child>div]:!rounded-b-md\",\n\t\t\"[&>pdm-input:first-child>div>input]:!rounded-t-md\",\n\t\t\"[&>pdm-input:last-child>div>input]:!rounded-b-md\",\n\n\t\t\"[&>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-input-group:first-child>div]:!rounded-t-md\",\n\t\t\"[&>pdm-input-group:last-child>div]:!rounded-b-md\",\n\n\t\t\"[&>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-select:first-child>select]:!rounded-t-md\",\n\t\t\"[&>pdm-select:last-child>select]:!rounded-b-md\",\n\t\t\"[&>pdm-select:first-child>div>button]:!rounded-t-md\",\n\t\t\"[&>pdm-select:last-child>div>button]:!rounded-b-md\",\n\t\t\"[&>pdm-select:not(:first-child)>div>button]:!rounded-t-none\",\n\t\t\"[&>pdm-select:not(:last-child)>div>button]:!rounded-b-none\",\n\n\t\t\"[&>pdm-tooltip>span>*]:rounded-none\",\n\t\t\"[&>pdm-tooltip>span>*]:shadow-none\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>*]:border-t-0\",\n\t\t\"[&>pdm-tooltip>span>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>input]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>input]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>select]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>select]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-t-none\",\n\t\t\"[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-b-none\",\n\t],\n};\n\nconst FOCUS_STACKING_CLASS = \"*:focus-visible:relative *:focus-visible:z-10\";\nconst SEPARATOR_CLASSES =\n\t\"overflow-hidden rounded-md border border-solid border-border bg-secondary shadow-sm\";\n\n@Component({\n\tselector: \"pdm-button-group\",\n\ttemplateUrl: \"./button-group.component.html\",\n\tstyles: [\":host { display: block; }\"],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PdmButtonGroupComponent {\n\t@Input() variant: PdmButtonGroupVariant = \"default\";\n\t@Input() orientation?: PdmButtonGroupOrientation;\n\t@Input() direction?: PdmButtonGroupOrientation;\n\t@Input() separated = true;\n\t@Input() className = \"\";\n\n\tget axis(): Axis {\n\t\treturn this.orientation ?? this.direction ?? \"horizontal\";\n\t}\n\n\tget isVertical(): boolean {\n\t\treturn this.variant === \"orientation\" || this.axis === \"vertical\";\n\t}\n\n\tget shouldAttach(): boolean {\n\t\treturn !this.separated && this.variant !== \"default\";\n\t}\n\n\tget ariaOrientation(): PdmButtonGroupOrientation {\n\t\treturn this.isVertical ? \"vertical\" : \"horizontal\";\n\t}\n\n\tget rootClasses(): string[] {\n\t\treturn [\n\t\t\tROOT_LAYOUT[this.isVertical ? \"vertical\" : \"horizontal\"],\n\t\t\tthis.variant === \"default\" || this.separated ? \"gap-2\" : \"gap-0\",\n\t\t\tthis.shouldAttach\n\t\t\t\t? ATTACHMENT_EDGE_CLASSES[\n\t\t\t\t\t\tthis.isVertical ? \"vertical\" : \"horizontal\"\n\t\t\t\t\t].join(\" \")\n\t\t\t\t: \"\",\n\t\t\tthis.shouldAttach\n\t\t\t\t? ATTACHMENT_CONTROL_CLASSES[\n\t\t\t\t\t\tthis.isVertical ? \"vertical\" : \"horizontal\"\n\t\t\t\t\t].join(\" \")\n\t\t\t\t: \"\",\n\t\t\tthis.shouldAttach ? FOCUS_STACKING_CLASS : \"\",\n\t\t\tthis.variant === \"separator\" ? SEPARATOR_CLASSES : \"\",\n\t\t\tthis.className,\n\t\t];\n\t}\n}\n","<div\n role=\"group\"\n [attr.aria-orientation]=\"ariaOrientation\"\n [ngClass]=\"rootClasses\"\n>\n <ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmButtonComponent } from './button.component';\nimport { PdmButtonGroupComponent } from './button-group.component';\n\nconst COMPONENTS = [\n PdmButtonComponent,\n PdmButtonGroupComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEO,MAAM,eAAe,GAA6D;AACvF,IAAA,OAAO,EAAE;AACP,QAAA,OAAO,EAAE,mDAAmD;AAC5D,QAAA,KAAK,EAAE,8DAA8D;AACtE,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,OAAO,EAAE,mDAAmD;AAC5D,QAAA,KAAK,EAAE,8DAA8D;AACtE,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,OAAO,EAAE,0DAA0D;AACnE,QAAA,KAAK,EAAE,qEAAqE;AAC7E,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,OAAO,EAAE,6CAA6C;AACtD,QAAA,KAAK,EAAE,wCAAwC;AAChD,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,yDAAyD;AAClE,QAAA,KAAK,EAAE,gDAAgD;AACxD,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,OAAO,EA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GAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAf,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,iBAT1B,kBAAkB;QAClB,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAIb,YAAY,CAAA,EAAA,OAAA,EAAA,CALtB,kBAAkB;QAClB,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAQZ,eAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJhB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;iBACpB,CAAA;;;ACdD;;AAEG;;;;"}
1
+ {"version":3,"file":"pdm-ui-kit-src-button.mjs","sources":["../../../src/button/button-theme.constant.ts","../../../src/button/button.component.ts","../../../src/button/button.component.html","../../../src/button/button-group.component.ts","../../../src/button/button-group.component.html","../../../src/button/button.module.ts","../../../src/button/pdm-ui-kit-src-button.ts"],"sourcesContent":["import { PdmButtonVariant, PdmButtonState } from './button.component';\n\nexport const BUTTON_TONE_MAP: Record<PdmButtonVariant, Record<PdmButtonState, string>> = {\n default: {\n default: 'border-primary bg-primary text-primary-foreground',\n hover: 'border-primary bg-primary text-primary-foreground opacity-90',\n },\n primary: {\n default: 'border-primary bg-primary text-primary-foreground',\n hover: 'border-primary bg-primary text-primary-foreground opacity-90',\n },\n destructive: {\n default: 'border-border bg-destructive text-destructive-foreground',\n hover: 'border-border bg-destructive text-destructive-foreground opacity-90',\n },\n outline: {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-muted text-foreground',\n },\n subtle: {\n default: 'border-secondary bg-secondary text-secondary-foreground',\n hover: 'border-accent bg-accent text-accent-foreground',\n },\n secondary: {\n default: 'border-secondary bg-secondary text-secondary-foreground',\n hover: 'border-accent bg-accent text-accent-foreground',\n },\n ghost: {\n default: 'border-border bg-transparent text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n link: {\n default: 'border-border bg-transparent text-primary',\n hover: 'border-border bg-transparent text-primary underline underline-offset-4',\n },\n 'with-icon': {\n default: 'border-primary bg-primary text-primary-foreground',\n hover: 'border-primary bg-primary text-primary-foreground opacity-90',\n },\n icon: {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n 'icon-circle': {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n rounded: {\n default: 'border-border bg-background text-foreground',\n hover: 'border-border bg-accent text-accent-foreground',\n },\n loading: {\n default: 'border-primary bg-primary text-primary-foreground opacity-70',\n hover: 'border-primary bg-primary text-primary-foreground opacity-70',\n },\n} as const;\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from '@angular/core';\nimport { BUTTON_TONE_MAP } from './button-theme.constant';\n\nexport type PdmButtonVariant =\n | 'default'\n | 'primary'\n | 'destructive'\n | 'outline'\n | 'subtle'\n | 'secondary'\n | 'ghost'\n | 'link'\n | 'with-icon'\n | 'icon'\n | 'icon-circle'\n | 'rounded'\n | 'loading';\nexport type PdmButtonState = 'default' | 'hover';\nexport type PdmButtonSize = 'small' | 'default' | 'large';\n\n@Component({\n selector: 'pdm-button',\n templateUrl: './button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class PdmButtonComponent {\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\n @Input() variant: PdmButtonVariant | string = 'default';\n @Input() state: PdmButtonState | string = 'default';\n @Input() size: PdmButtonSize | string = 'default';\n @Input() disabled = false;\n @Input() loading = false;\n @Input() className = '';\n\n @Output() pressed = new EventEmitter<MouseEvent>();\n\n readonly toneClassMap = BUTTON_TONE_MAP;\n\n get isDisabled(): boolean {\n return this.disabled || this.loading || this.variant === 'loading';\n }\n\n get resolvedVariant(): PdmButtonVariant {\n return this.isValidVariant(this.variant) ? this.variant : 'default';\n }\n\n get resolvedState(): PdmButtonState {\n return this.state === 'hover' ? 'hover' : 'default';\n }\n\n get resolvedSize(): PdmButtonSize {\n if (this.size === 'small' || this.size === 'large') {\n return this.size;\n }\n\n return 'default';\n }\n\n get showsIconSlot(): boolean {\n const variant = this.resolvedVariant;\n return variant === 'with-icon' || variant === 'icon' || variant === 'icon-circle' || variant === 'rounded';\n }\n\n get rootClasses(): string[] {\n const currentState = this.resolvedState;\n const variant = this.resolvedVariant;\n const toneClass = this.toneClassMap[variant][currentState];\n\n return [\n 'inline-flex appearance-none box-border items-center justify-center gap-2 rounded-md border border-solid text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 bg-clip-padding',\n variant === 'link' ? 'px-4 py-2 h-9' : '',\n variant === 'icon' ? 'h-9 w-9 p-0' : '',\n variant === 'icon-circle' ? 'h-10 w-10 rounded-full p-0' : '',\n variant === 'rounded' ? 'h-9 w-9 rounded-full p-0' : '',\n variant !== 'icon' && variant !== 'icon-circle' && variant !== 'rounded'\n ? this.resolvedSize === 'small'\n ? 'h-8 px-3 text-xs'\n : this.resolvedSize === 'large'\n ? 'h-10 px-8'\n : 'h-9 px-4'\n : '',\n variant === 'link' && currentState === 'hover' ? 'underline underline-offset-4' : '',\n toneClass,\n this.className\n ];\n }\n\n onClick(event: MouseEvent): void {\n if (!this.isDisabled) {\n this.pressed.emit(event);\n }\n }\n\n private isValidVariant(value: unknown): value is PdmButtonVariant {\n return (\n value === 'default' ||\n value === 'primary' ||\n value === 'destructive' ||\n value === 'outline' ||\n value === 'subtle' ||\n value === 'secondary' ||\n value === 'ghost' ||\n value === 'link' ||\n value === 'with-icon' ||\n value === 'icon' ||\n value === 'icon-circle' ||\n value === 'rounded' ||\n value === 'loading'\n );\n }\n}\n","<button\n [type]=\"type\"\n [disabled]=\"isDisabled\"\n [attr.aria-busy]=\"isDisabled && loading ? true : null\"\n [ngClass]=\"rootClasses\"\n (click)=\"onClick($event)\"\n>\n <span\n *ngIf=\"loading\"\n class=\"inline-block h-4 w-4 animate-spin rounded-full border-2 border-current border-r-transparent\"\n aria-hidden=\"true\"\n ></span>\n <ng-content select=\"[pdmButtonIcon]\" *ngIf=\"showsIconSlot\"></ng-content>\n <ng-content></ng-content>\n</button>\n","import { ChangeDetectionStrategy, Component, Input } from \"@angular/core\";\n\nexport type PdmButtonGroupVariant =\n\t| \"default\"\n\t| \"group\"\n\t| \"orientation\"\n\t| \"separator\";\nexport type PdmButtonGroupOrientation = \"horizontal\" | \"vertical\";\n\ntype Axis = \"horizontal\" | \"vertical\";\n\nconst ROOT_LAYOUT: Record<Axis, string> = {\n\thorizontal: \"w-full flex flex-row items-center overflow-visible\",\n\tvertical: \"flex flex-col items-stretch\",\n};\n\nconst ATTACHMENT_EDGE_CLASSES: Record<Axis, string[]> = {\n\thorizontal: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-l-md\",\n\t\t\"[&>*:last-child]:rounded-r-md\",\n\t\t\"[&>*:not(:first-child)]:border-l-0\",\n\t\t\"[&>*:not(:first-child)]:-ml-px\",\n\t],\n\tvertical: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-t-md\",\n\t\t\"[&>*:last-child]:rounded-b-md\",\n\t\t\"[&>*:not(:first-child)]:border-t-0\",\n\t\t\"[&>*:not(:first-child)]:-mt-px\",\n\t],\n};\n\nconst ATTACHMENT_CONTROL_CLASSES: Record<Axis, string[]> = {\n\thorizontal: [\n\t\t\"[&>pdm-button]:flex\",\n\t\t\"[&>pdm-button>button]:h-9\",\n\t\t\"[&>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-button:first-child>button]:!rounded-l-md\",\n\t\t\"[&>pdm-button:last-child>button]:!rounded-r-md\",\n\t\t\"[&>*:has(>pdm-button)]:flex\",\n\t\t\"[&>*>pdm-button]:flex\",\n\t\t\"[&>*>pdm-button>button]:h-9\",\n\t\t\"[&>*>pdm-button>button]:!rounded-none\",\n\t\t\"[&>*>pdm-button>button]:shadow-none\",\n\t\t\"[&>*:first-child>pdm-button>button]:!rounded-l-md\",\n\t\t\"[&>*:last-child>pdm-button>button]:!rounded-r-md\",\n\n\t\t\"[&>pdm-input]:flex-1\",\n\t\t\"[&>pdm-input]:min-w-0\",\n\t\t\"[&>pdm-input>div]:w-full\",\n\t\t\"[&>pdm-input>div]:min-w-0\",\n\t\t\"[&>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-input>div>div]:w-full\",\n\t\t\"[&>pdm-input>div>div]:min-w-0\",\n\t\t\"[&>pdm-input>div>div>input]:!rounded-none\",\n\t\t\"[&>pdm-input>div>div>input]:bg-background\",\n\t\t\"[&>pdm-input>div>div>input]:shadow-none\",\n\t\t\"[&>pdm-input:first-child>div]:!rounded-l-md\",\n\t\t\"[&>pdm-input:last-child>div]:!rounded-r-md\",\n\t\t\"[&>pdm-input:first-child>div>div>input]:!rounded-l-md\",\n\t\t\"[&>pdm-input:last-child>div>div>input]:!rounded-r-md\",\n\t\t\"[&>*:has(>pdm-input)]:flex-1\",\n\t\t\"[&>*:has(>pdm-input)]:min-w-0\",\n\t\t\"[&>*>pdm-input]:flex-1\",\n\t\t\"[&>*>pdm-input]:min-w-0\",\n\t\t\"[&>*>pdm-input>div]:w-full\",\n\t\t\"[&>*>pdm-input>div]:min-w-0\",\n\t\t\"[&>*>pdm-input>div]:!rounded-none\",\n\t\t\"[&>*>pdm-input>div]:shadow-none\",\n\t\t\"[&>*>pdm-input>div>div]:w-full\",\n\t\t\"[&>*>pdm-input>div>div]:min-w-0\",\n\t\t\"[&>*>pdm-input>div>div>input]:!rounded-none\",\n\t\t\"[&>*>pdm-input>div>div>input]:bg-background\",\n\t\t\"[&>*>pdm-input>div>div>input]:shadow-none\",\n\t\t\"[&>*:first-child>pdm-input>div]:!rounded-l-md\",\n\t\t\"[&>*:last-child>pdm-input>div]:!rounded-r-md\",\n\t\t\"[&>*:first-child>pdm-input>div>div>input]:!rounded-l-md\",\n\t\t\"[&>*:last-child>pdm-input>div>div>input]:!rounded-r-md\",\n\n\t\t\"[&>pdm-input-group]:min-w-0\",\n\t\t\"[&>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-input-group:first-child>div]:!rounded-l-md\",\n\t\t\"[&>pdm-input-group:last-child>div]:!rounded-r-md\",\n\n\t\t\"[&>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-select:first-child>select]:!rounded-l-md\",\n\t\t\"[&>pdm-select:last-child>select]:!rounded-r-md\",\n\t\t\"[&>pdm-select:first-child>div>button]:!rounded-l-md\",\n\t\t\"[&>pdm-select:last-child>div>button]:!rounded-r-md\",\n\t\t\"[&>pdm-select:not(:first-child)>div>button]:!rounded-l-none\",\n\t\t\"[&>pdm-select:not(:last-child)>div>button]:!rounded-r-none\",\n\n\t\t\"[&>pdm-tooltip>span>*]:rounded-none\",\n\t\t\"[&>pdm-tooltip>span>*]:shadow-none\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>*]:border-l-0\",\n\t\t\"[&>pdm-tooltip>span>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>input]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>input]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>select]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>select]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div]:w-full\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-l-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-r-md\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-l-none\",\n\t\t\"[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-r-none\",\n\t],\n\tvertical: [\n\t\t\"[&>*]:rounded-none\",\n\t\t\"[&>*:first-child]:rounded-t-md\",\n\t\t\"[&>*:last-child]:rounded-b-md\",\n\t\t\"[&>*:not(:first-child)]:border-t-0\",\n\t\t\"[&>*:not(:first-child)]:-mt-px\",\n\n\t\t\"[&>pdm-button]:flex\",\n\t\t\"[&>pdm-button>button]:h-9\",\n\t\t\"[&>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-button:first-child>button]:!rounded-t-md\",\n\t\t\"[&>pdm-button:last-child>button]:!rounded-b-md\",\n\t\t\"[&>*:has(>pdm-button)]:flex\",\n\t\t\"[&>*>pdm-button]:flex\",\n\t\t\"[&>*>pdm-button>button]:h-9\",\n\t\t\"[&>*>pdm-button>button]:!rounded-none\",\n\t\t\"[&>*>pdm-button>button]:shadow-none\",\n\t\t\"[&>*:first-child>pdm-button>button]:!rounded-t-md\",\n\t\t\"[&>*:last-child>pdm-button>button]:!rounded-b-md\",\n\n\t\t\"[&>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-input>div>div]:w-full\",\n\t\t\"[&>pdm-input>div>div]:min-w-0\",\n\t\t\"[&>pdm-input>div>div>input]:!rounded-none\",\n\t\t\"[&>pdm-input>div>div>input]:bg-background\",\n\t\t\"[&>pdm-input>div>div>input]:shadow-none\",\n\t\t\"[&>pdm-input:first-child>div]:!rounded-t-md\",\n\t\t\"[&>pdm-input:last-child>div]:!rounded-b-md\",\n\t\t\"[&>pdm-input:first-child>div>div>input]:!rounded-t-md\",\n\t\t\"[&>pdm-input:last-child>div>div>input]:!rounded-b-md\",\n\t\t\"[&>*:has(>pdm-input)]:min-w-0\",\n\t\t\"[&>*>pdm-input]:min-w-0\",\n\t\t\"[&>*>pdm-input>div]:!rounded-none\",\n\t\t\"[&>*>pdm-input>div]:shadow-none\",\n\t\t\"[&>*>pdm-input>div>div]:w-full\",\n\t\t\"[&>*>pdm-input>div>div]:min-w-0\",\n\t\t\"[&>*>pdm-input>div>div>input]:!rounded-none\",\n\t\t\"[&>*>pdm-input>div>div>input]:bg-background\",\n\t\t\"[&>*>pdm-input>div>div>input]:shadow-none\",\n\t\t\"[&>*:first-child>pdm-input>div]:!rounded-t-md\",\n\t\t\"[&>*:last-child>pdm-input>div]:!rounded-b-md\",\n\t\t\"[&>*:first-child>pdm-input>div>div>input]:!rounded-t-md\",\n\t\t\"[&>*:last-child>pdm-input>div>div>input]:!rounded-b-md\",\n\n\t\t\"[&>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-input-group:first-child>div]:!rounded-t-md\",\n\t\t\"[&>pdm-input-group:last-child>div]:!rounded-b-md\",\n\n\t\t\"[&>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-select:first-child>select]:!rounded-t-md\",\n\t\t\"[&>pdm-select:last-child>select]:!rounded-b-md\",\n\t\t\"[&>pdm-select:first-child>div>button]:!rounded-t-md\",\n\t\t\"[&>pdm-select:last-child>div>button]:!rounded-b-md\",\n\t\t\"[&>pdm-select:not(:first-child)>div>button]:!rounded-t-none\",\n\t\t\"[&>pdm-select:not(:last-child)>div>button]:!rounded-b-none\",\n\n\t\t\"[&>pdm-tooltip>span>*]:rounded-none\",\n\t\t\"[&>pdm-tooltip>span>*]:shadow-none\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>*]:border-t-0\",\n\t\t\"[&>pdm-tooltip>span>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>input]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>input]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>select]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>select]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-button>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-button>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div]:w-full\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background\",\n\t\t\"[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-input-group>div]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>select]:shadow-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:!rounded-none\",\n\t\t\"[&>pdm-tooltip>span>pdm-select>div>button]:shadow-none\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>select]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>select]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:first-child>span>pdm-select>div>button]:!rounded-t-md\",\n\t\t\"[&>pdm-tooltip:last-child>span>pdm-select>div>button]:!rounded-b-md\",\n\t\t\"[&>pdm-tooltip:not(:first-child)>span>pdm-select>div>button]:!rounded-t-none\",\n\t\t\"[&>pdm-tooltip:not(:last-child)>span>pdm-select>div>button]:!rounded-b-none\",\n\t],\n};\n\nconst FOCUS_STACKING_CLASS = \"*:focus-visible:relative *:focus-visible:z-10\";\nconst SEPARATOR_CLASSES =\n\t\"overflow-hidden rounded-md border border-solid border-border bg-secondary shadow-sm\";\n\n@Component({\n\tselector: \"pdm-button-group\",\n\ttemplateUrl: \"./button-group.component.html\",\n\tstyles: [\":host { display: block; }\"],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PdmButtonGroupComponent {\n\t@Input() variant: PdmButtonGroupVariant = \"default\";\n\t@Input() orientation?: PdmButtonGroupOrientation;\n\t@Input() direction?: PdmButtonGroupOrientation;\n\t@Input() separated = true;\n\t@Input() className = \"\";\n\n\tget axis(): Axis {\n\t\treturn this.orientation ?? this.direction ?? \"horizontal\";\n\t}\n\n\tget isVertical(): boolean {\n\t\treturn this.variant === \"orientation\" || this.axis === \"vertical\";\n\t}\n\n\tget shouldAttach(): boolean {\n\t\treturn !this.separated && this.variant !== \"default\";\n\t}\n\n\tget ariaOrientation(): PdmButtonGroupOrientation {\n\t\treturn this.isVertical ? \"vertical\" : \"horizontal\";\n\t}\n\n\tget rootClasses(): string[] {\n\t\treturn [\n\t\t\tROOT_LAYOUT[this.isVertical ? \"vertical\" : \"horizontal\"],\n\t\t\tthis.variant === \"default\" || this.separated ? \"gap-2\" : \"gap-0\",\n\t\t\tthis.shouldAttach\n\t\t\t\t? ATTACHMENT_EDGE_CLASSES[\n\t\t\t\t\t\tthis.isVertical ? \"vertical\" : \"horizontal\"\n\t\t\t\t\t].join(\" \")\n\t\t\t\t: \"\",\n\t\t\tthis.shouldAttach\n\t\t\t\t? ATTACHMENT_CONTROL_CLASSES[\n\t\t\t\t\t\tthis.isVertical ? \"vertical\" : \"horizontal\"\n\t\t\t\t\t].join(\" \")\n\t\t\t\t: \"\",\n\t\t\tthis.shouldAttach ? FOCUS_STACKING_CLASS : \"\",\n\t\t\tthis.variant === \"separator\" ? SEPARATOR_CLASSES : \"\",\n\t\t\tthis.className,\n\t\t];\n\t}\n}\n","<div\n role=\"group\"\n [attr.aria-orientation]=\"ariaOrientation\"\n [ngClass]=\"rootClasses\"\n>\n <ng-content></ng-content>\n</div>\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { PdmButtonComponent } from './button.component';\nimport { PdmButtonGroupComponent } from './button-group.component';\n\nconst COMPONENTS = [\n PdmButtonComponent,\n PdmButtonGroupComponent,\n];\n\n@NgModule({\n imports: [CommonModule],\n declarations: COMPONENTS,\n exports: COMPONENTS\n})\nexport class PdmButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAEO,MAAM,eAAe,GAA6D;AACvF,IAAA,OAAO,EAAE;AACP,QAAA,OAAO,EAAE,mDAAmD;AAC5D,QAAA,KAAK,EAAE,8DAA8D;AACtE,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,OAAO,EAAE,mDAAmD;AAC5D,QAAA,KAAK,EAAE,8DAA8D;AACtE,KAAA;AACD,IAAA,WAAW,EAAE;AACX,QAAA,OAAO,EAAE,0DAA0D;AACnE,QAAA,KAAK,EAAE,qEAAqE;AAC7E,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,OAAO,EAAE,6CAA6C;AACtD,QAAA,KAAK,EAAE,wCAAwC;AAChD,KAAA;AACD,IAAA,MAAM,EAAE;AACN,QAAA,OAAO,EAAE,yDAAyD;AAClE,QAAA,KAAK,EAAE,gDAAgD;AACxD,KAAA;AACD,IAAA,SAAS,EAAE;AACT,QAAA,OAAO,EAAE,yDAAyD;AAClE,QAAA,KAAK,EAAE,gDAAgD;AACxD,KAAA;AACD,IAAA,KAAK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,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAJhB,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIX,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,YAAY,EAAE,UAAU;AACxB,oBAAA,OAAO,EAAE,UAAU;iBACpB,CAAA;;;ACdD;;AAEG;;;;"}
@@ -702,19 +702,45 @@ const ATTACHMENT_CONTROL_CLASSES = {
702
702
  "[&>pdm-button>button]:shadow-none",
703
703
  "[&>pdm-button:first-child>button]:!rounded-l-md",
704
704
  "[&>pdm-button:last-child>button]:!rounded-r-md",
705
+ "[&>*:has(>pdm-button)]:flex",
706
+ "[&>*>pdm-button]:flex",
707
+ "[&>*>pdm-button>button]:h-9",
708
+ "[&>*>pdm-button>button]:!rounded-none",
709
+ "[&>*>pdm-button>button]:shadow-none",
710
+ "[&>*:first-child>pdm-button>button]:!rounded-l-md",
711
+ "[&>*:last-child>pdm-button>button]:!rounded-r-md",
705
712
  "[&>pdm-input]:flex-1",
706
713
  "[&>pdm-input]:min-w-0",
707
714
  "[&>pdm-input>div]:w-full",
708
715
  "[&>pdm-input>div]:min-w-0",
709
716
  "[&>pdm-input>div]:!rounded-none",
710
717
  "[&>pdm-input>div]:shadow-none",
711
- "[&>pdm-input>div>input]:!rounded-none",
712
- "[&>pdm-input>div>input]:bg-background",
713
- "[&>pdm-input>div>input]:shadow-none",
718
+ "[&>pdm-input>div>div]:w-full",
719
+ "[&>pdm-input>div>div]:min-w-0",
720
+ "[&>pdm-input>div>div>input]:!rounded-none",
721
+ "[&>pdm-input>div>div>input]:bg-background",
722
+ "[&>pdm-input>div>div>input]:shadow-none",
714
723
  "[&>pdm-input:first-child>div]:!rounded-l-md",
715
724
  "[&>pdm-input:last-child>div]:!rounded-r-md",
716
- "[&>pdm-input:first-child>div>input]:!rounded-l-md",
717
- "[&>pdm-input:last-child>div>input]:!rounded-r-md",
725
+ "[&>pdm-input:first-child>div>div>input]:!rounded-l-md",
726
+ "[&>pdm-input:last-child>div>div>input]:!rounded-r-md",
727
+ "[&>*:has(>pdm-input)]:flex-1",
728
+ "[&>*:has(>pdm-input)]:min-w-0",
729
+ "[&>*>pdm-input]:flex-1",
730
+ "[&>*>pdm-input]:min-w-0",
731
+ "[&>*>pdm-input>div]:w-full",
732
+ "[&>*>pdm-input>div]:min-w-0",
733
+ "[&>*>pdm-input>div]:!rounded-none",
734
+ "[&>*>pdm-input>div]:shadow-none",
735
+ "[&>*>pdm-input>div>div]:w-full",
736
+ "[&>*>pdm-input>div>div]:min-w-0",
737
+ "[&>*>pdm-input>div>div>input]:!rounded-none",
738
+ "[&>*>pdm-input>div>div>input]:bg-background",
739
+ "[&>*>pdm-input>div>div>input]:shadow-none",
740
+ "[&>*:first-child>pdm-input>div]:!rounded-l-md",
741
+ "[&>*:last-child>pdm-input>div]:!rounded-r-md",
742
+ "[&>*:first-child>pdm-input>div>div>input]:!rounded-l-md",
743
+ "[&>*:last-child>pdm-input>div>div>input]:!rounded-r-md",
718
744
  "[&>pdm-input-group]:min-w-0",
719
745
  "[&>pdm-input-group>div]:!rounded-none",
720
746
  "[&>pdm-input-group>div]:shadow-none",
@@ -752,13 +778,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
752
778
  "[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-r-md",
753
779
  "[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
754
780
  "[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
755
- "[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none",
756
- "[&>pdm-tooltip>span>pdm-input>div>input]:bg-background",
757
- "[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none",
781
+ "[&>pdm-tooltip>span>pdm-input>div>div]:w-full",
782
+ "[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0",
783
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none",
784
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background",
785
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none",
758
786
  "[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-l-md",
759
787
  "[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-r-md",
760
- "[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-l-md",
761
- "[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-r-md",
788
+ "[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-l-md",
789
+ "[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-r-md",
762
790
  "[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
763
791
  "[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
764
792
  "[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-l-md",
@@ -786,15 +814,37 @@ const ATTACHMENT_CONTROL_CLASSES = {
786
814
  "[&>pdm-button>button]:shadow-none",
787
815
  "[&>pdm-button:first-child>button]:!rounded-t-md",
788
816
  "[&>pdm-button:last-child>button]:!rounded-b-md",
817
+ "[&>*:has(>pdm-button)]:flex",
818
+ "[&>*>pdm-button]:flex",
819
+ "[&>*>pdm-button>button]:h-9",
820
+ "[&>*>pdm-button>button]:!rounded-none",
821
+ "[&>*>pdm-button>button]:shadow-none",
822
+ "[&>*:first-child>pdm-button>button]:!rounded-t-md",
823
+ "[&>*:last-child>pdm-button>button]:!rounded-b-md",
789
824
  "[&>pdm-input>div]:!rounded-none",
790
825
  "[&>pdm-input>div]:shadow-none",
791
- "[&>pdm-input>div>input]:!rounded-none",
792
- "[&>pdm-input>div>input]:bg-background",
793
- "[&>pdm-input>div>input]:shadow-none",
826
+ "[&>pdm-input>div>div]:w-full",
827
+ "[&>pdm-input>div>div]:min-w-0",
828
+ "[&>pdm-input>div>div>input]:!rounded-none",
829
+ "[&>pdm-input>div>div>input]:bg-background",
830
+ "[&>pdm-input>div>div>input]:shadow-none",
794
831
  "[&>pdm-input:first-child>div]:!rounded-t-md",
795
832
  "[&>pdm-input:last-child>div]:!rounded-b-md",
796
- "[&>pdm-input:first-child>div>input]:!rounded-t-md",
797
- "[&>pdm-input:last-child>div>input]:!rounded-b-md",
833
+ "[&>pdm-input:first-child>div>div>input]:!rounded-t-md",
834
+ "[&>pdm-input:last-child>div>div>input]:!rounded-b-md",
835
+ "[&>*:has(>pdm-input)]:min-w-0",
836
+ "[&>*>pdm-input]:min-w-0",
837
+ "[&>*>pdm-input>div]:!rounded-none",
838
+ "[&>*>pdm-input>div]:shadow-none",
839
+ "[&>*>pdm-input>div>div]:w-full",
840
+ "[&>*>pdm-input>div>div]:min-w-0",
841
+ "[&>*>pdm-input>div>div>input]:!rounded-none",
842
+ "[&>*>pdm-input>div>div>input]:bg-background",
843
+ "[&>*>pdm-input>div>div>input]:shadow-none",
844
+ "[&>*:first-child>pdm-input>div]:!rounded-t-md",
845
+ "[&>*:last-child>pdm-input>div]:!rounded-b-md",
846
+ "[&>*:first-child>pdm-input>div>div>input]:!rounded-t-md",
847
+ "[&>*:last-child>pdm-input>div>div>input]:!rounded-b-md",
798
848
  "[&>pdm-input-group>div]:!rounded-none",
799
849
  "[&>pdm-input-group>div]:shadow-none",
800
850
  "[&>pdm-input-group:first-child>div]:!rounded-t-md",
@@ -831,13 +881,15 @@ const ATTACHMENT_CONTROL_CLASSES = {
831
881
  "[&>pdm-tooltip:last-child>span>pdm-button>button]:!rounded-b-md",
832
882
  "[&>pdm-tooltip>span>pdm-input>div]:!rounded-none",
833
883
  "[&>pdm-tooltip>span>pdm-input>div]:shadow-none",
834
- "[&>pdm-tooltip>span>pdm-input>div>input]:!rounded-none",
835
- "[&>pdm-tooltip>span>pdm-input>div>input]:bg-background",
836
- "[&>pdm-tooltip>span>pdm-input>div>input]:shadow-none",
884
+ "[&>pdm-tooltip>span>pdm-input>div>div]:w-full",
885
+ "[&>pdm-tooltip>span>pdm-input>div>div]:min-w-0",
886
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:!rounded-none",
887
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:bg-background",
888
+ "[&>pdm-tooltip>span>pdm-input>div>div>input]:shadow-none",
837
889
  "[&>pdm-tooltip:first-child>span>pdm-input>div]:!rounded-t-md",
838
890
  "[&>pdm-tooltip:last-child>span>pdm-input>div]:!rounded-b-md",
839
- "[&>pdm-tooltip:first-child>span>pdm-input>div>input]:!rounded-t-md",
840
- "[&>pdm-tooltip:last-child>span>pdm-input>div>input]:!rounded-b-md",
891
+ "[&>pdm-tooltip:first-child>span>pdm-input>div>div>input]:!rounded-t-md",
892
+ "[&>pdm-tooltip:last-child>span>pdm-input>div>div>input]:!rounded-b-md",
841
893
  "[&>pdm-tooltip>span>pdm-input-group>div]:!rounded-none",
842
894
  "[&>pdm-tooltip>span>pdm-input-group>div]:shadow-none",
843
895
  "[&>pdm-tooltip:first-child>span>pdm-input-group>div]:!rounded-t-md",