@databricks/design-system 2.0.1 → 2.0.2

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 (59) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/{WizardStepContentWrapper-CFCTOSm8.js → WizardStepContentWrapper-DnwQIMN1.js} +772 -191
  3. package/dist/WizardStepContentWrapper-DnwQIMN1.js.map +1 -0
  4. package/dist/dubois-colors.less +2 -0
  5. package/dist/index-dark.css +10 -319
  6. package/dist/index-dark.mitigated.css +10 -319
  7. package/dist/index.css +61 -279
  8. package/dist/index.js +1809 -155
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mitigated.css +61 -279
  11. package/dist/patterns.js +10 -1
  12. package/dist/patterns.js.map +1 -1
  13. package/dist-types/design-system/Button/Button.d.ts +2 -2
  14. package/dist-types/design-system/Drawer/DrawerContext.d.ts +9 -0
  15. package/dist-types/design-system/FormV2/RHFAdapters.d.ts +8 -8
  16. package/dist-types/design-system/Grid/Col.d.ts +2 -2
  17. package/dist-types/design-system/Grid/Row.d.ts +2 -2
  18. package/dist-types/design-system/Icon/__generated/icons/FlowsIcon.d.ts +4 -0
  19. package/dist-types/design-system/Icon/__generated/icons/LakewatchAlertIcon.d.ts +4 -0
  20. package/dist-types/design-system/Icon/__generated/icons/LakewatchDatasourceIcon.d.ts +4 -0
  21. package/dist-types/design-system/Icon/__generated/icons/LakewatchDetectionRuleIcon.d.ts +4 -0
  22. package/dist-types/design-system/Icon/__generated/icons/LakewatchParserIcon.d.ts +4 -0
  23. package/dist-types/design-system/Icon/__generated/icons/index.d.ts +5 -0
  24. package/dist-types/design-system/LegacyTooltip/index.d.ts +0 -1
  25. package/dist-types/design-system/Skeleton/TitleSkeleton.d.ts +9 -3
  26. package/dist-types/design-system/TypeaheadCombobox/TypeaheadComboboxControls.d.ts +2 -0
  27. package/dist-types/design-system/TypeaheadCombobox/TypeaheadComboboxMultiSelectInput.d.ts +9 -0
  28. package/dist-types/design-system/TypeaheadComboboxReactAria/CountBadge.d.ts +6 -0
  29. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxAddButton.d.ts +3 -0
  30. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxCheckboxItem.d.ts +10 -0
  31. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxControls.d.ts +11 -0
  32. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxFooter.d.ts +2 -0
  33. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxInput.d.ts +9 -0
  34. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxMenu.d.ts +17 -0
  35. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxMenuItem.d.ts +16 -0
  36. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxMultiSelectInput.d.ts +18 -0
  37. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxRoot.d.ts +17 -0
  38. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxSectionHeader.d.ts +1 -0
  39. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxSelectedItem.d.ts +11 -0
  40. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxSeparator.d.ts +1 -0
  41. package/dist-types/design-system/TypeaheadComboboxReactAria/TypeaheadComboboxToggleButton.d.ts +4 -0
  42. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/footerFocus.d.ts +13 -0
  43. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/index.d.ts +4 -0
  44. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useComboboxItems.d.ts +32 -0
  45. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useComboboxState.d.ts +75 -0
  46. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useComboboxStateProps.d.ts +36 -0
  47. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useMultipleSelectionState.d.ts +25 -0
  48. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useScrollOptionIntoView.d.ts +11 -0
  49. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useTypeaheadComboboxContext.d.ts +2 -0
  50. package/dist-types/design-system/TypeaheadComboboxReactAria/hooks/useVirtualizedComboboxScroll.d.ts +36 -0
  51. package/dist-types/design-system/TypeaheadComboboxReactAria/index.d.ts +13 -0
  52. package/dist-types/design-system/TypeaheadComboboxReactAria/providers/TypeaheadComboboxContext.d.ts +45 -0
  53. package/dist-types/design-system/Typography/titleLevel.d.ts +11 -0
  54. package/dist-types/design-system/index.d.ts +1 -0
  55. package/dist-types/design-system/utils/useMediaQuery.d.ts +4 -1
  56. package/dist-types/theme/_generated/ValidSemanticColors.d.ts +2 -1
  57. package/package.json +12 -2
  58. package/dist/WizardStepContentWrapper-CFCTOSm8.js.map +0 -1
  59. package/dist-types/design-system/LegacyTooltip/LegacyInfoTooltip.d.ts +0 -16
@@ -172,6 +172,7 @@
172
172
  @dubois-light-textValidationSuccess: #277C43;
173
173
  @dubois-light-textValidationWarning: #BE501E;
174
174
  @dubois-light-tooltipBackgroundTooltip: #161616;
175
+ @dubois-light-tooltipTextTooltip: #FFFFFF;
175
176
  @dubois-light-backgroundValidationDanger: #FFF5F7;
176
177
  @dubois-light-backgroundValidationSuccess: #F3FCF6;
177
178
  @dubois-light-backgroundValidationWarning: #FFF9EB;
@@ -279,6 +280,7 @@
279
280
  @dubois-dark-textValidationSuccess: #3BA65E;
280
281
  @dubois-dark-textValidationWarning: #DE7921;
281
282
  @dubois-dark-tooltipBackgroundTooltip: #E8ECF0;
283
+ @dubois-dark-tooltipTextTooltip: #11171C;
282
284
  @dubois-dark-backgroundValidationDanger: rgba(200, 45, 76, 0.1600);
283
285
  @dubois-dark-backgroundValidationSuccess: rgba(39, 124, 67, 0.1600);
284
286
  @dubois-dark-backgroundValidationWarning: rgba(190, 80, 30, 0.1600);
@@ -10911,316 +10911,6 @@ textarea.du-bois-dark-input {
10911
10911
  /* stylelint-disable */
10912
10912
  /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
10913
10913
 
10914
- /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
10915
- /* stylelint-disable no-duplicate-selectors */
10916
- /* stylelint-disable */
10917
- /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
10918
- .du-bois-dark-modal {
10919
- box-sizing: border-box;
10920
- margin: 0;
10921
- padding: 0;
10922
- color: #E8ECF0;
10923
- font-size: 13px;
10924
- font-variant: tabular-nums;
10925
- line-height: 20px;
10926
- list-style: none;
10927
- font-feature-settings: tnum;
10928
- pointer-events: none;
10929
- position: relative;
10930
- top: 100px;
10931
- width: auto;
10932
- max-width: calc(100vw - 32px);
10933
- margin: 0 auto;
10934
- padding-bottom: 24px;
10935
- }
10936
- .du-bois-dark-modal.du-bois-dark-zoom-enter,
10937
- .du-bois-dark-modal.du-bois-darkzoom-appear {
10938
- transform: none;
10939
- opacity: 0;
10940
- animation-duration: 0.3s;
10941
- user-select: none;
10942
- }
10943
- .du-bois-dark-modal-mask {
10944
- position: fixed;
10945
- top: 0;
10946
- right: 0;
10947
- bottom: 0;
10948
- left: 0;
10949
- z-index: 1000;
10950
- height: 100%;
10951
- background-color: rgba(0, 0, 0, 0.45);
10952
- }
10953
- .du-bois-dark-modal-mask-hidden {
10954
- display: none;
10955
- }
10956
- .du-bois-dark-modal-wrap {
10957
- position: fixed;
10958
- top: 0;
10959
- right: 0;
10960
- bottom: 0;
10961
- left: 0;
10962
- overflow: auto;
10963
- outline: 0;
10964
- -webkit-overflow-scrolling: touch;
10965
- }
10966
- .du-bois-dark-modal-wrap {
10967
- z-index: 1000;
10968
- }
10969
- .du-bois-dark-modal-title {
10970
- margin: 0;
10971
- color: rgba(255, 255, 255, 0.85);
10972
- font-weight: 500;
10973
- font-size: 18px;
10974
- line-height: 22px;
10975
- word-wrap: break-word;
10976
- }
10977
- .du-bois-dark-modal-content {
10978
- position: relative;
10979
- background-color: #1f1f1f;
10980
- background-clip: padding-box;
10981
- border: 0;
10982
- border-radius: 4px;
10983
- box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.48), 0 6px 16px 0 rgba(0, 0, 0, 0.32), 0 9px 28px 8px rgba(0, 0, 0, 0.2);
10984
- pointer-events: auto;
10985
- }
10986
- .du-bois-dark-modal-close {
10987
- position: absolute;
10988
- top: 0;
10989
- right: 0;
10990
- z-index: 10;
10991
- padding: 0;
10992
- color: #92A4B3;
10993
- font-weight: 700;
10994
- line-height: 1;
10995
- text-decoration: none;
10996
- background: transparent;
10997
- border: 0;
10998
- outline: 0;
10999
- cursor: pointer;
11000
- transition: color 0.3s;
11001
- }
11002
- .du-bois-dark-modal-close-x {
11003
- display: block;
11004
- width: 102px;
11005
- height: 102px;
11006
- font-size: 18px;
11007
- font-style: normal;
11008
- line-height: 102px;
11009
- text-align: center;
11010
- text-transform: none;
11011
- text-rendering: auto;
11012
- }
11013
- .du-bois-dark-modal-close:focus,
11014
- .du-bois-dark-modal-close:hover {
11015
- color: rgba(255, 255, 255, 0.75);
11016
- text-decoration: none;
11017
- }
11018
- .du-bois-dark-modal-header {
11019
- padding: 40px 40px 20px;
11020
- color: #E8ECF0;
11021
- background: #1f1f1f;
11022
- border-bottom: 0px solid #303030;
11023
- border-radius: 4px 4px 0 0;
11024
- }
11025
- .du-bois-dark-modal-body {
11026
- padding: 0 40px;
11027
- font-size: 13px;
11028
- line-height: 20px;
11029
- word-wrap: break-word;
11030
- }
11031
- .du-bois-dark-modal-footer {
11032
- padding: 0px 0px;
11033
- text-align: right;
11034
- background: transparent;
11035
- border-top: 0px solid #303030;
11036
- border-radius: 0 0 4px 4px;
11037
- }
11038
- .du-bois-dark-modal-footer .du-bois-dark-btn + .du-bois-dark-btn:not(.du-bois-dark-dropdown-trigger) {
11039
- margin-bottom: 0;
11040
- margin-left: 8px;
11041
- }
11042
- .du-bois-dark-modal-open {
11043
- overflow: hidden;
11044
- }
11045
- .du-bois-dark-modal-centered {
11046
- text-align: center;
11047
- }
11048
- .du-bois-dark-modal-centered::before {
11049
- display: inline-block;
11050
- width: 0;
11051
- height: 100%;
11052
- vertical-align: middle;
11053
- content: '';
11054
- }
11055
- .du-bois-dark-modal-centered .du-bois-dark-modal {
11056
- top: 0;
11057
- display: inline-block;
11058
- text-align: left;
11059
- vertical-align: middle;
11060
- }
11061
- @media (max-width: 767px) {
11062
- .du-bois-dark-modal {
11063
- max-width: calc(100vw - 16px);
11064
- margin: 8px auto;
11065
- }
11066
- .du-bois-dark-modal-centered .du-bois-dark-modal {
11067
- flex: 1;
11068
- }
11069
- }
11070
- .du-bois-dark-modal-confirm .du-bois-dark-modal-header {
11071
- display: none;
11072
- }
11073
- .du-bois-dark-modal-confirm .du-bois-dark-modal-body {
11074
- padding: 32px 32px 24px;
11075
- }
11076
- .du-bois-dark-modal-confirm-body-wrapper::before {
11077
- display: table;
11078
- content: '';
11079
- }
11080
- .du-bois-dark-modal-confirm-body-wrapper::after {
11081
- display: table;
11082
- clear: both;
11083
- content: '';
11084
- }
11085
- .du-bois-dark-modal-confirm-body .du-bois-dark-modal-confirm-title {
11086
- display: block;
11087
- overflow: hidden;
11088
- color: rgba(255, 255, 255, 0.85);
11089
- font-weight: 500;
11090
- font-size: 18px;
11091
- line-height: 1.4;
11092
- }
11093
- .du-bois-dark-modal-confirm-body .du-bois-dark-modal-confirm-content {
11094
- margin-top: 8px;
11095
- color: #E8ECF0;
11096
- font-size: 13px;
11097
- }
11098
- .du-bois-dark-modal-confirm-body > .anticon {
11099
- float: left;
11100
- margin-right: 16px;
11101
- font-size: 22px;
11102
- }
11103
- .du-bois-dark-modal-confirm-body > .anticon + .du-bois-dark-modal-confirm-title + .du-bois-dark-modal-confirm-content {
11104
- margin-left: 38px;
11105
- }
11106
- .du-bois-dark-modal-confirm .du-bois-dark-modal-confirm-btns {
11107
- float: right;
11108
- margin-top: 24px;
11109
- }
11110
- .du-bois-dark-modal-confirm .du-bois-dark-modal-confirm-btns .du-bois-dark-btn + .du-bois-dark-btn {
11111
- margin-bottom: 0;
11112
- margin-left: 8px;
11113
- }
11114
- .du-bois-dark-modal-confirm-error .du-bois-dark-modal-confirm-body > .anticon {
11115
- color: #E65B77;
11116
- }
11117
- .du-bois-dark-modal-confirm-warning .du-bois-dark-modal-confirm-body > .anticon,
11118
- .du-bois-dark-modal-confirm-confirm .du-bois-dark-modal-confirm-body > .anticon {
11119
- color: #AF5B23;
11120
- }
11121
- .du-bois-dark-modal-confirm-info .du-bois-dark-modal-confirm-body > .anticon {
11122
- color: #64727D;
11123
- }
11124
- .du-bois-dark-modal-confirm-success .du-bois-dark-modal-confirm-body > .anticon {
11125
- color: #34824F;
11126
- }
11127
- .du-bois-dark-modal .du-bois-dark-picker-clear,
11128
- .du-bois-dark-modal .du-bois-dark-slider-handle,
11129
- .du-bois-dark-modal .du-bois-dark-anchor-wrapper,
11130
- .du-bois-dark-modal .du-bois-dark-collapse-content,
11131
- .du-bois-dark-modal .du-bois-dark-timeline-item-head,
11132
- .du-bois-dark-modal .du-bois-dark-card {
11133
- background-color: #1f1f1f;
11134
- }
11135
- .du-bois-dark-modal .du-bois-dark-transfer-list-header {
11136
- background: #1f1f1f;
11137
- border-bottom: 1px solid #3a3a3a;
11138
- }
11139
- .du-bois-dark-modal .du-bois-dark-transfer-list-content-item:not(.du-bois-dark-transfer-list-content-item-disabled):hover {
11140
- background-color: rgba(255, 255, 255, 0.08);
11141
- }
11142
- .du-bois-dark-modal tr.du-bois-dark-table-expanded-row > td,
11143
- .du-bois-dark-modal tr.du-bois-dark-table-expanded-row:hover > td {
11144
- background: #272727;
11145
- }
11146
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-small thead > tr > th {
11147
- background-color: #1f1f1f;
11148
- border-bottom: 1px solid #3a3a3a;
11149
- }
11150
- .du-bois-dark-modal .du-bois-dark-table {
11151
- background-color: #1f1f1f;
11152
- }
11153
- .du-bois-dark-modal .du-bois-dark-table .du-bois-dark-table-row-expand-icon {
11154
- border: 1px solid #3a3a3a;
11155
- }
11156
- .du-bois-dark-modal .du-bois-dark-table tfoot > tr > th,
11157
- .du-bois-dark-modal .du-bois-dark-table tfoot > tr > td {
11158
- border-bottom: 1px solid #3a3a3a;
11159
- }
11160
- .du-bois-dark-modal .du-bois-dark-table thead > tr > th {
11161
- background-color: #272727;
11162
- border-bottom: 1px solid #3a3a3a;
11163
- }
11164
- .du-bois-dark-modal .du-bois-dark-table tbody > tr > td {
11165
- border-bottom: 1px solid #3a3a3a;
11166
- }
11167
- .du-bois-dark-modal .du-bois-dark-table tbody > tr > td.du-bois-dark-table-cell-fix-left,
11168
- .du-bois-dark-modal .du-bois-dark-table tbody > tr > td.du-bois-dark-table-cell-fix-right {
11169
- background-color: #1f1f1f;
11170
- }
11171
- .du-bois-dark-modal .du-bois-dark-table tbody > tr.du-bois-dark-table-row:hover > td {
11172
- background: #303030;
11173
- }
11174
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered .du-bois-dark-table-title {
11175
- border: 1px solid #3a3a3a;
11176
- }
11177
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered thead > tr > th,
11178
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered tbody > tr > td,
11179
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered tfoot > tr > th,
11180
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered tfoot > tr > td {
11181
- border-right: 1px solid #3a3a3a;
11182
- }
11183
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered .du-bois-dark-table-cell-fix-right-first::after {
11184
- border-right: 1px solid #3a3a3a;
11185
- }
11186
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered table thead > tr:not(:last-child) > th {
11187
- border-bottom: 1px solid #303030;
11188
- }
11189
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered .du-bois-dark-table-container {
11190
- border: 1px solid #3a3a3a;
11191
- }
11192
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered .du-bois-dark-table-expanded-row-fixed::after {
11193
- border-right: 1px solid #3a3a3a;
11194
- }
11195
- .du-bois-dark-modal .du-bois-dark-table.du-bois-dark-table-bordered .du-bois-dark-table-footer {
11196
- border: 1px solid #3a3a3a;
11197
- }
11198
- .du-bois-dark-modal .du-bois-dark-table .du-bois-dark-table-filter-trigger-container-open {
11199
- background-color: #525252;
11200
- }
11201
- .du-bois-dark-modal .du-bois-dark-picker-calendar-full {
11202
- background-color: #1f1f1f;
11203
- }
11204
- .du-bois-dark-modal .du-bois-dark-picker-calendar-full .du-bois-dark-picker-panel {
11205
- background-color: #1f1f1f;
11206
- }
11207
- .du-bois-dark-modal .du-bois-dark-picker-calendar-full .du-bois-dark-picker-panel .du-bois-dark-picker-calendar-date {
11208
- border-top: 2px solid #3a3a3a;
11209
- }
11210
- .du-bois-dark-modal .du-bois-dark-tabs.du-bois-dark-tabs-card .du-bois-dark-tabs-card-bar .du-bois-dark-tabs-tab-active {
11211
- background-color: #1f1f1f;
11212
- border-bottom: 1px solid #1f1f1f;
11213
- }
11214
- .du-bois-dark-modal .du-bois-dark-badge-count {
11215
- box-shadow: 0 0 0 1px #1f1f1f;
11216
- }
11217
- .du-bois-dark-modal .du-bois-dark-tree-show-line .du-bois-dark-tree-switcher {
11218
- background: #1f1f1f;
11219
- }
11220
- /* stylelint-disable no-duplicate-selectors */
11221
- /* stylelint-disable */
11222
- /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
11223
-
11224
10914
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
11225
10915
  /* stylelint-disable no-duplicate-selectors */
11226
10916
  /* stylelint-disable */
@@ -16556,6 +16246,7 @@ span.du-bois-dark-typography-ellipsis-single-line {
16556
16246
  --db-color-text-validation-success: #3ba65e;
16557
16247
  --db-color-text-validation-warning: #de7921;
16558
16248
  --db-color-tooltip-background-tooltip: #e8ecf0;
16249
+ --db-color-tooltip-text-tooltip: #11171c;
16559
16250
  }
16560
16251
 
16561
16252
  /* Layout primitive classes — internal Du Bois use for now (not a published
@@ -16672,9 +16363,9 @@ span.du-bois-dark-typography-ellipsis-single-line {
16672
16363
  --db-checkbox-focus-ring-offset: var(--db-selection-toggle-focus-ring-offset);
16673
16364
  --db-checkbox-transition-duration: var(--db-selection-toggle-transition-duration);
16674
16365
 
16675
- /* Indeterminate mark — sized to look like AntD's `<inner>` ::after dash. */
16366
+ /* Indeterminate mark — the horizontal dash shown in the mixed state. */
16676
16367
  --db-checkbox-indeterminate-mark-width: 8px;
16677
- --db-checkbox-indeterminate-mark-height: 2px;
16368
+ --db-checkbox-indeterminate-mark-height: 3px;
16678
16369
  }
16679
16370
 
16680
16371
  /* Native-input <Checkbox> styles. Classic CSS only — no native nesting (the
@@ -17005,17 +16696,17 @@ span.du-bois-dark-typography-ellipsis-single-line {
17005
16696
  --db-switch-transition-duration: var(--db-selection-toggle-transition-duration);
17006
16697
  }
17007
16698
 
17008
- /* Hover/press live on the root (label), not the input: the input has `pointer-events: none`. */
16699
+ /* The track. `appearance: none` strips the native checkbox rendering so the input itself can be styled. */
17009
16700
 
17010
- /* On focus, recolor the track border to the checked-fill color on top of the outline ring. Matching
17011
- * AntD, the ring sits flush when off and gains a 1px offset when checked (see the checked rule below). */
16701
+ /* The thumb. A pseudo-element keeps the input the switch's only element, so nothing can overlay it
16702
+ * and intercept clicks. Offset left by the border width to sit flush with the track's outer edge. */
17012
16703
 
17013
- /* Disabled + on: more specific than the plain disabled rule, so it wins regardless of source order. */
16704
+ /* `<label for>` propagates `:hover` to the input, so scope hover/press to the control, not `input:hover`. */
17014
16705
 
17015
- /* Hidden but still focusable/in tab order so `:has()` can read its state; pointer events fall through
17016
- * to the label. */
16706
+ /* On focus, recolor the border to the checked-fill color on top of the outline ring. Matching AntD,
16707
+ * the ring sits flush when off and gains a 1px offset when checked. */
17017
16708
 
17018
- /* `border-color: inherit` picks up the track's per-state color, so it's only set on the track. */
16709
+ /* Disabled + on: more specific than the plain disabled rule, so it wins regardless of source order. */
17019
16710
 
17020
16711
  /* `:first-child` scopes this to the label-first layout; the plain layout renders the label last. */
17021
16712