@skyscanner/backpack-web 31.10.1 → 32.0.1
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/bpk-component-accordion/src/BpkAccordion.module.css +2 -2
- package/bpk-component-accordion/src/BpkAccordionItem.module.css +2 -2
- package/bpk-component-aria-live/src/BpkAriaLive.module.css +2 -2
- package/bpk-component-autosuggest/src/BpkAutosuggest.module.css +2 -2
- package/bpk-component-badge/index.js +1 -3
- package/bpk-component-badge/src/BpkBadge.module.css +2 -2
- package/bpk-component-banner-alert/src/BpkAnimateAndFade.module.css +2 -2
- package/bpk-component-banner-alert/src/BpkBannerAlert.module.css +2 -2
- package/bpk-component-barchart/src/BpkBarchart.module.css +2 -2
- package/bpk-component-barchart/src/BpkBarchartBar.module.css +2 -2
- package/bpk-component-barchart/src/BpkChartAxis.module.css +2 -2
- package/bpk-component-barchart/src/BpkChartDataTable.module.css +2 -2
- package/bpk-component-barchart/src/BpkChartGridLines.module.css +2 -2
- package/bpk-component-blockquote/src/BpkBlockquote.module.css +2 -2
- package/bpk-component-boilerplate/src/BpkBoilerplate.module.css +2 -2
- package/bpk-component-bottom-sheet/src/BpkBottomSheet.module.css +2 -2
- package/bpk-component-bottom-sheet/src/BpkBottomSheetInner.module.css +2 -2
- package/bpk-component-breadcrumb/src/BpkBreadcrumb.module.css +2 -2
- package/bpk-component-breadcrumb/src/BpkBreadcrumbItem.module.css +2 -2
- package/bpk-component-button/src/BpkButtonBase.module.css +2 -2
- package/bpk-component-button/src/BpkButtonDestructive.module.css +2 -2
- package/bpk-component-button/src/BpkButtonFeatured.module.css +2 -2
- package/bpk-component-button/src/BpkButtonLink.module.css +2 -2
- package/bpk-component-button/src/BpkButtonLinkOnDark.module.css +2 -2
- package/bpk-component-button/src/BpkButtonPrimaryOnDark.module.css +2 -2
- package/bpk-component-button/src/BpkButtonPrimaryOnLight.module.css +2 -2
- package/bpk-component-button/src/BpkButtonSecondary.module.css +2 -2
- package/bpk-component-button/src/BpkButtonSecondaryOnDark.module.css +2 -2
- package/bpk-component-button/src/BpkButtonV2/BpkButton.module.css +2 -2
- package/bpk-component-calendar/src/BpkCalendar.module.css +2 -2
- package/bpk-component-calendar/src/BpkCalendarDate.module.css +2 -2
- package/bpk-component-calendar/src/BpkCalendarGrid.module.css +2 -2
- package/bpk-component-calendar/src/BpkCalendarGridHeader.module.css +2 -2
- package/bpk-component-calendar/src/BpkCalendarGridTransition.module.css +2 -2
- package/bpk-component-calendar/src/BpkCalendarNav.module.css +2 -2
- package/bpk-component-card/src/BpkCard.module.css +2 -2
- package/bpk-component-card/src/BpkCardWrapper.module.css +2 -2
- package/bpk-component-card/src/BpkDividedCard.module.css +2 -2
- package/bpk-component-card-button/src/BpkSaveButton.module.css +2 -2
- package/bpk-component-checkbox/src/BpkCheckbox.module.css +2 -2
- package/bpk-component-chip/src/BpkSelectableChip.module.css +2 -2
- package/bpk-component-close-button/src/BpkCloseButton.module.css +2 -2
- package/bpk-component-code/src/BpkCode.module.css +2 -2
- package/bpk-component-code/src/BpkCodeBlock.module.css +2 -2
- package/bpk-component-content-cards/src/BpkContentCard.module.css +2 -2
- package/bpk-component-content-cards/src/BpkContentCards.module.css +2 -2
- package/bpk-component-datatable/index.js +3 -2
- package/bpk-component-datatable/src/BpkDataTable.js +38 -103
- package/bpk-component-datatable/src/BpkDataTable.module.css +2 -2
- package/bpk-component-datatable/src/BpkDataTableHeader.js +22 -2
- package/bpk-component-datatable/src/BpkDataTableHeader.module.css +2 -2
- package/bpk-component-datatable/src/common-types.js +22 -0
- package/bpk-component-datatable/src/utils.js +14 -148
- package/bpk-component-datepicker/src/BpkDatepicker.module.css +2 -2
- package/bpk-component-description-list/src/BpkDescriptionList.module.css +2 -2
- package/bpk-component-dialog/src/BpkDialog.module.css +2 -2
- package/bpk-component-dialog/src/BpkDialogInner.module.css +2 -2
- package/bpk-component-drawer/src/BpkDrawer.module.css +2 -2
- package/bpk-component-drawer/src/BpkDrawerContent.module.css +2 -2
- package/bpk-component-fieldset/src/BpkFieldset.module.css +2 -2
- package/bpk-component-flare/src/bpk-content-bubble.module.css +2 -2
- package/bpk-component-flare/src/bpk-flare-bar.module.css +2 -2
- package/bpk-component-floating-notification/src/BpkFloatingNotification.module.css +2 -2
- package/bpk-component-form-validation/src/BpkFormValidation.module.css +2 -2
- package/bpk-component-graphic-promotion/src/BpkGraphicPromo.module.css +2 -2
- package/bpk-component-grid-toggle/src/BpkGridToggle.module.css +2 -2
- package/bpk-component-horizontal-nav/src/BpkHorizontalNav.module.css +2 -2
- package/bpk-component-horizontal-nav/src/BpkHorizontalNavItem.module.css +2 -2
- package/bpk-component-icon/src/BpkIcon.module.css +2 -2
- package/bpk-component-icon/src/withDescription.module.css +2 -2
- package/bpk-component-image/src/BpkBackgroundImage.module.css +2 -2
- package/bpk-component-image/src/BpkImage.module.css +2 -2
- package/bpk-component-infinite-scroll/src/withInfiniteScroll.module.css +2 -2
- package/bpk-component-info-banner/src/BpkAnimateAndFade.module.css +2 -2
- package/bpk-component-info-banner/src/BpkInfoBanner.module.css +2 -2
- package/bpk-component-input/src/BpkClearButton.module.css +2 -2
- package/bpk-component-input/src/BpkInput.module.css +2 -2
- package/bpk-component-label/src/BpkLabel.module.css +2 -2
- package/bpk-component-link/src/BpkLink.module.css +2 -2
- package/bpk-component-list/src/BpkList.module.css +2 -2
- package/bpk-component-loading-button/src/BpkLoadingButton.module.css +2 -2
- package/bpk-component-map/src/BpkIconMarker.module.css +2 -2
- package/bpk-component-map/src/BpkIconMarkerBackground.module.css +2 -2
- package/bpk-component-map/src/BpkMap.module.css +2 -2
- package/bpk-component-map/src/BpkPriceMarker.module.css +2 -2
- package/bpk-component-map/src/BpkPriceMarkerV2/BpkPriceMarker.module.css +2 -2
- package/bpk-component-map/src/DefaultLoadingElement.module.css +2 -2
- package/bpk-component-mobile-scroll-container/src/BpkMobileScrollContainer.module.css +2 -2
- package/bpk-component-modal/src/BpkModal.module.css +2 -2
- package/bpk-component-modal/src/BpkModalInner.module.css +2 -2
- package/bpk-component-modal/src/BpkModalV2/BpKModal.module.css +2 -2
- package/bpk-component-navigation-bar/src/BpkNavigationBar.module.css +2 -2
- package/bpk-component-navigation-bar/src/BpkNavigationBarButtonLink.module.css +2 -2
- package/bpk-component-navigation-bar/src/BpkNavigationBarIconButton.module.css +2 -2
- package/bpk-component-nudger/src/BpkNudger.module.css +2 -2
- package/bpk-component-overlay/src/BpkOverlay.module.css +2 -2
- package/bpk-component-page-indicator/src/BpkPageIndicator.module.css +2 -2
- package/bpk-component-pagination/src/BpkPagination.module.css +2 -2
- package/bpk-component-pagination/src/BpkPaginationList.module.css +2 -2
- package/bpk-component-pagination/src/BpkPaginationNudger.module.css +2 -2
- package/bpk-component-pagination/src/BpkPaginationPage.module.css +2 -2
- package/bpk-component-panel/src/BpkPanel.module.css +2 -2
- package/bpk-component-phone-input/src/BpkPhoneInput.module.css +2 -2
- package/bpk-component-popover/src/BpkPopover.module.css +2 -2
- package/bpk-component-price/src/BpkPrice.module.css +2 -2
- package/bpk-component-progress/src/BpkProgress.module.css +2 -2
- package/bpk-component-radio/src/BpkRadio.module.css +2 -2
- package/bpk-component-rating/src/BpkRating.module.css +2 -2
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGrid.module.css +2 -2
- package/bpk-component-scrollable-calendar/src/BpkScrollableCalendarGridList.module.css +2 -2
- package/bpk-component-section-header/src/BpkSectionHeader.module.css +2 -2
- package/bpk-component-section-list/src/BpkSectionListItem.module.css +2 -2
- package/bpk-component-section-list/src/BpkSectionListSection.module.css +2 -2
- package/bpk-component-select/src/BpkSelect.module.css +2 -2
- package/bpk-component-skip-link/src/BpkSkipLink.module.css +2 -2
- package/bpk-component-slider/src/BpkSlider.module.css +2 -2
- package/bpk-component-spinner/src/BpkSpinner.module.css +2 -2
- package/bpk-component-split-input/src/BpkInputField.module.css +2 -2
- package/bpk-component-split-input/src/BpkSplitInput.module.css +2 -2
- package/bpk-component-star-rating/src/BpkInteractiveStar.module.css +2 -2
- package/bpk-component-star-rating/src/BpkStar.module.css +2 -2
- package/bpk-component-star-rating/src/BpkStarRating.module.css +2 -2
- package/bpk-component-swap-button/src/BpkSwapButton.module.css +2 -2
- package/bpk-component-switch/src/BpkSwitch.module.css +2 -2
- package/bpk-component-table/src/BpkTable.module.css +2 -2
- package/bpk-component-text/src/BpkText.module.css +2 -2
- package/bpk-component-textarea/src/BpkTextarea.module.css +2 -2
- package/bpk-component-theme-toggle/src/BpkThemeToggle.module.css +2 -2
- package/bpk-component-ticket/src/BpkTicket.module.css +2 -2
- package/bpk-component-tooltip/src/BpkTooltip.module.css +2 -2
- package/bpk-mixins/{src/mixins/_badges-v2.scss → _badges-v2.scss} +3 -1
- package/bpk-mixins/{src/mixins/_badges.scss → _badges.scss} +13 -9
- package/bpk-mixins/{src/mixins/_borders.scss → _borders.scss} +11 -9
- package/bpk-mixins/{src/mixins/_breakpoints.scss → _breakpoints.scss} +3 -1
- package/bpk-mixins/{src/mixins/_buttons.scss → _buttons.scss} +7 -4
- package/bpk-mixins/{src/mixins/_cards.scss → _cards.scss} +6 -1
- package/bpk-mixins/{src/mixins/_chips.scss → _chips.scss} +8 -0
- package/bpk-mixins/{src/mixins/_forms.scss → _forms.scss} +5 -1
- package/bpk-mixins/_icons.scss +88 -0
- package/bpk-mixins/_index.scss +20 -17
- package/bpk-mixins/{src/mixins/_layers.scss → _layers.scss} +18 -15
- package/bpk-mixins/{src/mixins/_margins.scss → _margins.scss} +4 -0
- package/bpk-mixins/{src/mixins/_panels.scss → _panels.scss} +6 -2
- package/bpk-mixins/{src/mixins/_radii.scss → _radii.scss} +3 -1
- package/bpk-mixins/{src/mixins/_scroll-indicators.scss → _scroll-indicators.scss} +3 -1
- package/bpk-mixins/{src/mixins/_shadows.scss → _shadows.scss} +3 -1
- package/bpk-mixins/{src/mixins/_svgs.scss → _spinners.scss} +5 -68
- package/bpk-mixins/{src/_bonds.scss → _tokens.scss} +2 -0
- package/bpk-mixins/{src/mixins/_typography.scss → _typography.scss} +6 -2
- package/bpk-mixins/{src/mixins/_utils.scss → _utils.scss} +4 -0
- package/bpk-scrim-utils/src/bpk-scrim-content.module.css +2 -2
- package/bpk-scrim-utils/src/bpk-scrim.module.css +2 -2
- package/bpk-stylesheets/base.css +1 -2
- package/bpk-stylesheets/font.css +2 -2
- package/bpk-stylesheets/index.js +2 -2
- package/bpk-stylesheets/index.scss +13 -11
- package/bpk-stylesheets/normalize.css +422 -0
- package/package.json +15 -2
- package/unstable__bpk-mixins/_badges-v2.scss +240 -0
- package/unstable__bpk-mixins/_badges.scss +240 -0
- package/unstable__bpk-mixins/_borders.scss +268 -0
- package/unstable__bpk-mixins/_breakpoints.scss +221 -0
- package/unstable__bpk-mixins/_buttons.scss +568 -0
- package/unstable__bpk-mixins/_cards.scss +94 -0
- package/unstable__bpk-mixins/_chips.scss +240 -0
- package/unstable__bpk-mixins/_forms.scss +1049 -0
- package/unstable__bpk-mixins/_icons.scss +88 -0
- package/{bpk-mixins/sass-functions.js → unstable__bpk-mixins/_index.scss} +19 -10
- package/unstable__bpk-mixins/_layers.scss +199 -0
- package/unstable__bpk-mixins/_margins.scss +75 -0
- package/unstable__bpk-mixins/_panels.scss +71 -0
- package/unstable__bpk-mixins/_radii.scss +80 -0
- package/unstable__bpk-mixins/_scroll-indicators.scss +79 -0
- package/unstable__bpk-mixins/_shadows.scss +58 -0
- package/unstable__bpk-mixins/_spinners.scss +102 -0
- package/{bpk-component-datatable/src/sort-types.js → unstable__bpk-mixins/_tokens.scss} +3 -6
- package/unstable__bpk-mixins/_typography.scss +1039 -0
- package/unstable__bpk-mixins/_utils.scss +266 -0
- package/bpk-component-badge/src/BpkBadgeV2/BpkBadge.d.ts +0 -22
- package/bpk-component-badge/src/BpkBadgeV2/BpkBadge.js +0 -47
- package/bpk-component-badge/src/BpkBadgeV2/BpkBadge.module.css +0 -18
- package/bpk-component-datatable/src/BpkDataTableColumn.js +0 -54
- package/bpk-component-datatable/src/BpkDataTableColumn.module.css +0 -18
- package/bpk-component-datatable/src/hasChildrenOfType.js +0 -35
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Backpack - Skyscanner's Design System
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2016 Skyscanner Ltd
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/* stylelint-disable at-rule-disallowed-list */
|
|
20
|
+
|
|
21
|
+
@use 'tokens.scss';
|
|
22
|
+
@use 'borders.scss';
|
|
23
|
+
@use 'margins.scss';
|
|
24
|
+
@use 'shadows.scss';
|
|
25
|
+
@use 'utils.scss';
|
|
26
|
+
|
|
27
|
+
@mixin bpk-chip {
|
|
28
|
+
display: inline-flex;
|
|
29
|
+
height: tokens.bpk-spacing-xl();
|
|
30
|
+
padding: 0 tokens.bpk-spacing-base();
|
|
31
|
+
align-items: center;
|
|
32
|
+
border: none;
|
|
33
|
+
border-radius: tokens.$bpk-border-radius-xs * 2;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
|
|
36
|
+
&__leading-accessory-view {
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
fill: currentcolor;
|
|
39
|
+
|
|
40
|
+
@include margins.bpk-margin-trailing(tokens.bpk-spacing-md());
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__trailing-accessory-view {
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
fill: currentcolor;
|
|
46
|
+
|
|
47
|
+
@include margins.bpk-margin-leading(tokens.bpk-spacing-md(), false);
|
|
48
|
+
@include margins.bpk-margin-trailing(-1 * tokens.bpk-spacing-md(), false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&--on-dark {
|
|
52
|
+
background-color: transparent;
|
|
53
|
+
color: tokens.$bpk-text-on-dark-day;
|
|
54
|
+
|
|
55
|
+
@include borders.bpk-border-sm(tokens.$bpk-line-on-dark-day);
|
|
56
|
+
|
|
57
|
+
@include utils.bpk-hover {
|
|
58
|
+
@include borders.bpk-border-sm(tokens.$bpk-surface-default-day);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:active:not(:disabled) {
|
|
62
|
+
@include borders.bpk-border-sm(tokens.$bpk-surface-default-day);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-selected {
|
|
66
|
+
@include utils.bpk-themeable-property(
|
|
67
|
+
color,
|
|
68
|
+
--bpk-chip-on-dark-selected-text-color,
|
|
69
|
+
tokens.$bpk-text-on-light-day
|
|
70
|
+
);
|
|
71
|
+
@include utils.bpk-themeable-property(
|
|
72
|
+
background-color,
|
|
73
|
+
--bpk-chip-on-dark-selected-background-color,
|
|
74
|
+
tokens.$bpk-surface-default-day
|
|
75
|
+
);
|
|
76
|
+
@include borders.bpk-border-sm(transparent);
|
|
77
|
+
|
|
78
|
+
@include utils.bpk-hover {
|
|
79
|
+
@include borders.bpk-border-sm(transparent);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:active:not(:disabled) {
|
|
83
|
+
@include borders.bpk-border-sm(transparent);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&-dismissible {
|
|
88
|
+
@include utils.bpk-hover {
|
|
89
|
+
svg {
|
|
90
|
+
fill: currentcolor;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&:active:not(:disabled) {
|
|
95
|
+
svg {
|
|
96
|
+
fill: currentcolor;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__trailing-accessory-view {
|
|
101
|
+
fill: tokens.$bpk-text-secondary-day;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&-disabled {
|
|
106
|
+
@include borders.bpk-border-sm(transparent);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&--default {
|
|
111
|
+
background-color: transparent;
|
|
112
|
+
color: tokens.$bpk-text-primary-day;
|
|
113
|
+
|
|
114
|
+
@include borders.bpk-border-sm(tokens.$bpk-line-day);
|
|
115
|
+
|
|
116
|
+
@include utils.bpk-hover {
|
|
117
|
+
@include borders.bpk-border-sm(tokens.$bpk-core-primary-day);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&:active:not(:disabled) {
|
|
121
|
+
@include borders.bpk-border-sm(tokens.$bpk-core-primary-day);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-selected {
|
|
125
|
+
@include utils.bpk-themeable-property(
|
|
126
|
+
color,
|
|
127
|
+
--bpk-chip-default-selected-text-color,
|
|
128
|
+
tokens.$bpk-text-on-dark-day
|
|
129
|
+
);
|
|
130
|
+
@include utils.bpk-themeable-property(
|
|
131
|
+
background-color,
|
|
132
|
+
--bpk-chip-default-selected-background-color,
|
|
133
|
+
tokens.$bpk-core-primary-day
|
|
134
|
+
);
|
|
135
|
+
@include borders.bpk-border-sm(transparent);
|
|
136
|
+
|
|
137
|
+
@include utils.bpk-hover {
|
|
138
|
+
@include borders.bpk-border-sm(transparent);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&:active:not(:disabled) {
|
|
142
|
+
@include borders.bpk-border-sm(transparent);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&-dismissible {
|
|
147
|
+
@include utils.bpk-hover {
|
|
148
|
+
svg {
|
|
149
|
+
fill: currentcolor;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:active:not(:disabled) {
|
|
154
|
+
svg {
|
|
155
|
+
fill: currentcolor;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&__trailing-accessory-view {
|
|
160
|
+
fill: tokens.$bpk-text-disabled-on-dark-day;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&-disabled {
|
|
165
|
+
@include borders.bpk-border-sm(transparent);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&--on-image {
|
|
170
|
+
background-color: tokens.$bpk-surface-default-day;
|
|
171
|
+
color: tokens.$bpk-text-primary-day;
|
|
172
|
+
|
|
173
|
+
@include shadows.bpk-box-shadow-sm;
|
|
174
|
+
|
|
175
|
+
@include utils.bpk-hover {
|
|
176
|
+
background-color: tokens.$bpk-canvas-contrast-day;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&:active:not(:disabled) {
|
|
180
|
+
background-color: tokens.$bpk-canvas-contrast-day;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&-selected {
|
|
184
|
+
@include utils.bpk-themeable-property(
|
|
185
|
+
color,
|
|
186
|
+
--bpk-chip-on-image-selected-text-color,
|
|
187
|
+
tokens.$bpk-text-on-dark-day
|
|
188
|
+
);
|
|
189
|
+
@include utils.bpk-themeable-property(
|
|
190
|
+
background-color,
|
|
191
|
+
--bpk-chip-on-image-selected-background-color,
|
|
192
|
+
tokens.$bpk-core-primary-day
|
|
193
|
+
);
|
|
194
|
+
|
|
195
|
+
@include utils.bpk-hover {
|
|
196
|
+
@include utils.bpk-themeable-property(
|
|
197
|
+
background-color,
|
|
198
|
+
--bpk-chip-on-image-selected-hover-background-color,
|
|
199
|
+
tokens.$bpk-core-primary-day
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&:active:not(:disabled) {
|
|
204
|
+
@include utils.bpk-themeable-property(
|
|
205
|
+
background-color,
|
|
206
|
+
--bpk-chip-on-image-selected-active-background-color,
|
|
207
|
+
tokens.$bpk-core-primary-day
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&-dismissible {
|
|
213
|
+
@include utils.bpk-hover {
|
|
214
|
+
svg {
|
|
215
|
+
fill: currentcolor;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&:active:not(:disabled) {
|
|
220
|
+
svg {
|
|
221
|
+
fill: currentcolor;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
&__trailing-accessory-view {
|
|
226
|
+
fill: tokens.$bpk-text-disabled-on-dark-day;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
&-disabled {
|
|
231
|
+
@include shadows.bpk-box-shadow-sm;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&--disabled {
|
|
236
|
+
background-color: tokens.$bpk-private-chip-disabled-background-day;
|
|
237
|
+
color: tokens.$bpk-text-disabled-day;
|
|
238
|
+
cursor: not-allowed;
|
|
239
|
+
}
|
|
240
|
+
}
|