pdm-ui-kit 0.1.23 → 0.1.25
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.
package/fesm2020/pdm-ui-kit.mjs
CHANGED
|
@@ -291,11 +291,19 @@ class PdmButtonGroupComponent {
|
|
|
291
291
|
: '';
|
|
292
292
|
const groupHorizontalClasses = isGroup && !isVertical && !this.separated
|
|
293
293
|
? [
|
|
294
|
+
'[&>*]:rounded-none',
|
|
295
|
+
'[&>*:first-child]:rounded-l-md',
|
|
296
|
+
'[&>*:last-child]:rounded-r-md',
|
|
294
297
|
'[&>*:not(:first-child)]:-ml-px',
|
|
298
|
+
'[&>*:not(:first-child)]:border-l-0',
|
|
295
299
|
'[&>pdm-button]:flex',
|
|
296
300
|
'[&>pdm-button>button]:h-9',
|
|
297
301
|
'[&>pdm-input]:flex-1',
|
|
298
302
|
'[&>pdm-input>div]:w-full',
|
|
303
|
+
'[&>pdm-select>select]:!rounded-none',
|
|
304
|
+
'[&>pdm-select:first-child>select]:!rounded-l-md',
|
|
305
|
+
'[&>pdm-select:last-child>select]:!rounded-r-md',
|
|
306
|
+
'[&>pdm-select>select]:shadow-none',
|
|
299
307
|
'[&>pdm-button>button]:!rounded-none',
|
|
300
308
|
'[&>pdm-button:first-child>button]:!rounded-l-md',
|
|
301
309
|
'[&>pdm-button:last-child>button]:!rounded-r-md',
|
|
@@ -308,12 +316,20 @@ class PdmButtonGroupComponent {
|
|
|
308
316
|
'[&>pdm-input>div>input]:bg-background',
|
|
309
317
|
'[&>pdm-input>div>input]:shadow-none',
|
|
310
318
|
'[&>pdm-button>button]:rounded-l-none',
|
|
311
|
-
'[&>pdm-button>button]:shadow-none'
|
|
319
|
+
'[&>pdm-button>button]:shadow-none',
|
|
320
|
+
'[&>pdm-tooltip>span>*]:rounded-none',
|
|
321
|
+
'[&>pdm-tooltip:first-child>span>*]:rounded-l-md',
|
|
322
|
+
'[&>pdm-tooltip:last-child>span>*]:rounded-r-md',
|
|
323
|
+
'[&>pdm-tooltip:not(:first-child)>span>*]:border-l-0'
|
|
312
324
|
].join(' ')
|
|
313
325
|
: '';
|
|
314
326
|
const groupVerticalClasses = isGroup && isVertical && !this.separated
|
|
315
327
|
? [
|
|
328
|
+
'[&>*]:rounded-none',
|
|
329
|
+
'[&>*:first-child]:rounded-t-md',
|
|
330
|
+
'[&>*:last-child]:rounded-b-md',
|
|
316
331
|
'[&>*:not(:first-child)]:-mt-px',
|
|
332
|
+
'[&>*:not(:first-child)]:border-t-0',
|
|
317
333
|
'[&>pdm-button]:flex',
|
|
318
334
|
'[&>pdm-button>button]:h-9',
|
|
319
335
|
'[&>pdm-button>button]:!rounded-none',
|
|
@@ -325,9 +341,17 @@ class PdmButtonGroupComponent {
|
|
|
325
341
|
'[&>pdm-input-group>div]:!rounded-none',
|
|
326
342
|
'[&>pdm-input-group:first-child>div]:!rounded-t-md',
|
|
327
343
|
'[&>pdm-input-group:last-child>div]:!rounded-b-md',
|
|
344
|
+
'[&>pdm-select>select]:!rounded-none',
|
|
345
|
+
'[&>pdm-select:first-child>select]:!rounded-t-md',
|
|
346
|
+
'[&>pdm-select:last-child>select]:!rounded-b-md',
|
|
347
|
+
'[&>pdm-select>select]:shadow-none',
|
|
328
348
|
'[&>pdm-input>div>input]:bg-background',
|
|
329
349
|
'[&>pdm-input>div>input]:shadow-none',
|
|
330
|
-
'[&>pdm-button>button]:shadow-none'
|
|
350
|
+
'[&>pdm-button>button]:shadow-none',
|
|
351
|
+
'[&>pdm-tooltip>span>*]:rounded-none',
|
|
352
|
+
'[&>pdm-tooltip:first-child>span>*]:rounded-t-md',
|
|
353
|
+
'[&>pdm-tooltip:last-child>span>*]:rounded-b-md',
|
|
354
|
+
'[&>pdm-tooltip:not(:first-child)>span>*]:border-t-0'
|
|
331
355
|
].join(' ')
|
|
332
356
|
: '';
|
|
333
357
|
return [
|