@patternfly/react-core 4.175.17 → 4.176.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.
- package/CHANGELOG.md +11 -0
- package/dist/esm/components/Select/Select.d.ts +2 -0
- package/dist/esm/components/Select/Select.d.ts.map +1 -1
- package/dist/esm/components/Select/Select.js +7 -9
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/js/components/Select/Select.d.ts +2 -0
- package/dist/js/components/Select/Select.d.ts.map +1 -1
- package/dist/js/components/Select/Select.js +7 -9
- package/dist/js/components/Select/Select.js.map +1 -1
- package/dist/umd/react-core.js +7 -9
- package/dist/umd/react-core.min.css +62 -62
- package/dist/umd/react-core.min.js +1 -1
- package/package.json +5 -5
- package/src/components/Select/Select.tsx +9 -1
- package/src/components/Select/__tests__/__snapshots__/Select.test.tsx.snap +25 -0
- package/src/components/Select/examples/Select.md +75 -9
|
@@ -2328,6 +2328,68 @@ button.pf-c-breadcrumb__link {
|
|
|
2328
2328
|
--pf-c-calendar-month__date--hover--focus--BorderColor: transparent;
|
|
2329
2329
|
}
|
|
2330
2330
|
|
|
2331
|
+
.pf-c-check {
|
|
2332
|
+
--pf-c-check--GridGap: var(--pf-global--spacer--xs) var(--pf-global--spacer--sm);
|
|
2333
|
+
--pf-c-check__label--disabled--Color: var(--pf-global--disabled-color--100);
|
|
2334
|
+
--pf-c-check__label--Color: var(--pf-global--Color--100);
|
|
2335
|
+
--pf-c-check__label--FontWeight: var(--pf-global--FontWeight--normal);
|
|
2336
|
+
--pf-c-check__label--FontSize: var(--pf-global--FontSize--md);
|
|
2337
|
+
--pf-c-check__label--LineHeight: var(--pf-global--LineHeight--sm);
|
|
2338
|
+
--pf-c-check__input--Height: var(--pf-c-check__label--FontSize);
|
|
2339
|
+
--pf-c-check__input--MarginTop: calc(((var(--pf-c-check__label--FontSize) * var(--pf-c-check__label--LineHeight)) - var(--pf-c-check__input--Height)) / 2);
|
|
2340
|
+
--pf-c-check__description--FontSize: var(--pf-global--FontSize--sm);
|
|
2341
|
+
--pf-c-check__description--Color: var(--pf-global--Color--200);
|
|
2342
|
+
--pf-c-check__body--MarginTop: var(--pf-global--spacer--sm);
|
|
2343
|
+
display: grid;
|
|
2344
|
+
grid-template-columns: auto 1fr;
|
|
2345
|
+
grid-gap: var(--pf-c-check--GridGap);
|
|
2346
|
+
align-items: start;
|
|
2347
|
+
justify-items: start;
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
.pf-c-check.pf-m-standalone {
|
|
2351
|
+
--pf-c-check--GridGap: 0;
|
|
2352
|
+
--pf-c-check__input--Height: auto;
|
|
2353
|
+
--pf-c-check__input--MarginTop: 0;
|
|
2354
|
+
display: inline-grid;
|
|
2355
|
+
line-height: 1;
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
.pf-c-check__label {
|
|
2359
|
+
font-size: var(--pf-c-check__label--FontSize);
|
|
2360
|
+
font-weight: var(--pf-c-check__label--FontWeight);
|
|
2361
|
+
line-height: var(--pf-c-check__label--LineHeight);
|
|
2362
|
+
color: var(--pf-c-check__label--Color);
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
.pf-c-check__input {
|
|
2366
|
+
height: var(--pf-c-check__input--Height);
|
|
2367
|
+
margin-top: var(--pf-c-check__input--MarginTop);
|
|
2368
|
+
}
|
|
2369
|
+
|
|
2370
|
+
.pf-c-check__description {
|
|
2371
|
+
grid-column: 2;
|
|
2372
|
+
font-size: var(--pf-c-check__description--FontSize);
|
|
2373
|
+
color: var(--pf-c-check__description--Color);
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
.pf-c-check__body {
|
|
2377
|
+
grid-column: 2;
|
|
2378
|
+
margin-top: var(--pf-c-check__body--MarginTop);
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
label.pf-c-check, .pf-c-check__label,
|
|
2382
|
+
.pf-c-check__input {
|
|
2383
|
+
cursor: pointer;
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2386
|
+
.pf-c-check__label:disabled, .pf-c-check__label.pf-m-disabled,
|
|
2387
|
+
.pf-c-check__input:disabled,
|
|
2388
|
+
.pf-c-check__input.pf-m-disabled {
|
|
2389
|
+
--pf-c-check__label--Color: var(--pf-c-check__label--disabled--Color);
|
|
2390
|
+
cursor: not-allowed;
|
|
2391
|
+
}
|
|
2392
|
+
|
|
2331
2393
|
.pf-c-card {
|
|
2332
2394
|
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
2333
2395
|
--pf-c-card--BoxShadow: var(--pf-global--BoxShadow--sm);
|
|
@@ -2675,68 +2737,6 @@ button.pf-c-breadcrumb__link {
|
|
|
2675
2737
|
font-weight: var(--pf-global--FontWeight--normal);
|
|
2676
2738
|
}
|
|
2677
2739
|
|
|
2678
|
-
.pf-c-check {
|
|
2679
|
-
--pf-c-check--GridGap: var(--pf-global--spacer--xs) var(--pf-global--spacer--sm);
|
|
2680
|
-
--pf-c-check__label--disabled--Color: var(--pf-global--disabled-color--100);
|
|
2681
|
-
--pf-c-check__label--Color: var(--pf-global--Color--100);
|
|
2682
|
-
--pf-c-check__label--FontWeight: var(--pf-global--FontWeight--normal);
|
|
2683
|
-
--pf-c-check__label--FontSize: var(--pf-global--FontSize--md);
|
|
2684
|
-
--pf-c-check__label--LineHeight: var(--pf-global--LineHeight--sm);
|
|
2685
|
-
--pf-c-check__input--Height: var(--pf-c-check__label--FontSize);
|
|
2686
|
-
--pf-c-check__input--MarginTop: calc(((var(--pf-c-check__label--FontSize) * var(--pf-c-check__label--LineHeight)) - var(--pf-c-check__input--Height)) / 2);
|
|
2687
|
-
--pf-c-check__description--FontSize: var(--pf-global--FontSize--sm);
|
|
2688
|
-
--pf-c-check__description--Color: var(--pf-global--Color--200);
|
|
2689
|
-
--pf-c-check__body--MarginTop: var(--pf-global--spacer--sm);
|
|
2690
|
-
display: grid;
|
|
2691
|
-
grid-template-columns: auto 1fr;
|
|
2692
|
-
grid-gap: var(--pf-c-check--GridGap);
|
|
2693
|
-
align-items: start;
|
|
2694
|
-
justify-items: start;
|
|
2695
|
-
}
|
|
2696
|
-
|
|
2697
|
-
.pf-c-check.pf-m-standalone {
|
|
2698
|
-
--pf-c-check--GridGap: 0;
|
|
2699
|
-
--pf-c-check__input--Height: auto;
|
|
2700
|
-
--pf-c-check__input--MarginTop: 0;
|
|
2701
|
-
display: inline-grid;
|
|
2702
|
-
line-height: 1;
|
|
2703
|
-
}
|
|
2704
|
-
|
|
2705
|
-
.pf-c-check__label {
|
|
2706
|
-
font-size: var(--pf-c-check__label--FontSize);
|
|
2707
|
-
font-weight: var(--pf-c-check__label--FontWeight);
|
|
2708
|
-
line-height: var(--pf-c-check__label--LineHeight);
|
|
2709
|
-
color: var(--pf-c-check__label--Color);
|
|
2710
|
-
}
|
|
2711
|
-
|
|
2712
|
-
.pf-c-check__input {
|
|
2713
|
-
height: var(--pf-c-check__input--Height);
|
|
2714
|
-
margin-top: var(--pf-c-check__input--MarginTop);
|
|
2715
|
-
}
|
|
2716
|
-
|
|
2717
|
-
.pf-c-check__description {
|
|
2718
|
-
grid-column: 2;
|
|
2719
|
-
font-size: var(--pf-c-check__description--FontSize);
|
|
2720
|
-
color: var(--pf-c-check__description--Color);
|
|
2721
|
-
}
|
|
2722
|
-
|
|
2723
|
-
.pf-c-check__body {
|
|
2724
|
-
grid-column: 2;
|
|
2725
|
-
margin-top: var(--pf-c-check__body--MarginTop);
|
|
2726
|
-
}
|
|
2727
|
-
|
|
2728
|
-
label.pf-c-check, .pf-c-check__label,
|
|
2729
|
-
.pf-c-check__input {
|
|
2730
|
-
cursor: pointer;
|
|
2731
|
-
}
|
|
2732
|
-
|
|
2733
|
-
.pf-c-check__label:disabled, .pf-c-check__label.pf-m-disabled,
|
|
2734
|
-
.pf-c-check__input:disabled,
|
|
2735
|
-
.pf-c-check__input.pf-m-disabled {
|
|
2736
|
-
--pf-c-check__label--Color: var(--pf-c-check__label--disabled--Color);
|
|
2737
|
-
cursor: not-allowed;
|
|
2738
|
-
}
|
|
2739
|
-
|
|
2740
2740
|
.pf-c-chip-group {
|
|
2741
2741
|
--pf-global--Color--100: var(--pf-global--Color--dark-100);
|
|
2742
2742
|
--pf-global--Color--200: var(--pf-global--Color--dark-200);
|