@carbon/web-components 2.0.0-alpha.0 → 2.0.0-beta.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/README.md +19 -19
- package/custom-elements.json +474 -200
- package/es/components/accordion/accordion-item-skeleton.d.ts +20 -0
- package/es/components/accordion/accordion-item-skeleton.d.ts.map +1 -0
- package/es/components/accordion/accordion-item-skeleton.js +60 -0
- package/es/components/accordion/accordion-item-skeleton.js.map +1 -0
- package/es/components/accordion/accordion-item.d.ts +5 -4
- package/es/components/accordion/accordion-item.d.ts.map +1 -1
- package/es/components/accordion/accordion-item.js +24 -9
- package/es/components/accordion/accordion-item.js.map +1 -1
- package/es/components/accordion/accordion-skeleton.d.ts +40 -0
- package/es/components/accordion/accordion-skeleton.d.ts.map +1 -0
- package/es/components/accordion/accordion-skeleton.js +166 -0
- package/es/components/accordion/accordion-skeleton.js.map +1 -0
- package/es/components/accordion/accordion.css.js +1 -1
- package/es/components/accordion/accordion.d.ts +2 -2
- package/es/components/accordion/accordion.d.ts.map +1 -1
- package/es/components/accordion/accordion.js +5 -5
- package/es/components/accordion/accordion.js.map +1 -1
- package/es/components/accordion/accordion.rtl.css.js +1 -1
- package/es/components/accordion/index.d.ts +3 -1
- package/es/components/accordion/index.d.ts.map +1 -1
- package/es/components/accordion/index.js +3 -1
- package/es/components/accordion/index.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb-item.d.ts +2 -2
- package/es/components/breadcrumb/breadcrumb-item.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb-item.js +5 -5
- package/es/components/breadcrumb/breadcrumb-item.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb-link.d.ts +4 -3
- package/es/components/breadcrumb/breadcrumb-link.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb-link.js +20 -6
- package/es/components/breadcrumb/breadcrumb-link.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts +3 -3
- package/es/components/breadcrumb/breadcrumb-overflow-menu.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb-overflow-menu.js +6 -6
- package/es/components/breadcrumb/breadcrumb-overflow-menu.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb-skeleton.d.ts +19 -0
- package/es/components/breadcrumb/breadcrumb-skeleton.d.ts.map +1 -0
- package/es/components/breadcrumb/breadcrumb-skeleton.js +59 -0
- package/es/components/breadcrumb/breadcrumb-skeleton.js.map +1 -0
- package/es/components/breadcrumb/breadcrumb.css.js +1 -1
- package/es/components/breadcrumb/breadcrumb.d.ts +6 -2
- package/es/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/es/components/breadcrumb/breadcrumb.js +30 -10
- package/es/components/breadcrumb/breadcrumb.js.map +1 -1
- package/es/components/breadcrumb/breadcrumb.rtl.css.js +1 -1
- package/es/components/breadcrumb/index.d.ts +2 -1
- package/es/components/breadcrumb/index.d.ts.map +1 -1
- package/es/components/breadcrumb/index.js +2 -1
- package/es/components/breadcrumb/index.js.map +1 -1
- package/es/components/button/button-set.d.ts +32 -0
- package/es/components/button/button-set.d.ts.map +1 -0
- package/es/components/button/button-set.js +92 -0
- package/es/components/button/button-set.js.map +1 -0
- package/es/components/button/button.css.js +1 -1
- package/es/components/button/button.d.ts +47 -8
- package/es/components/button/button.d.ts.map +1 -1
- package/es/components/button/button.js +187 -34
- package/es/components/button/button.js.map +1 -1
- package/es/components/button/button.rtl.css.js +1 -1
- package/es/components/button/defs.d.ts +60 -14
- package/es/components/button/defs.d.ts.map +1 -1
- package/es/components/button/defs.js +34 -11
- package/es/components/button/defs.js.map +1 -1
- package/es/components/button/index.d.ts +2 -1
- package/es/components/button/index.d.ts.map +1 -1
- package/es/components/button/index.js +2 -1
- package/es/components/button/index.js.map +1 -1
- package/es/components/checkbox/checkbox.css.js +1 -1
- package/es/components/checkbox/checkbox.rtl.css.js +1 -1
- package/es/components/code-snippet/code-snippet.css.js +1 -1
- package/es/components/code-snippet/code-snippet.rtl.css.js +1 -1
- package/es/components/combo-box/combo-box.css.js +1 -1
- package/es/components/combo-box/combo-box.rtl.css.js +1 -1
- package/es/components/data-table/data-table.css.js +1 -1
- package/es/components/data-table/data-table.rtl.css.js +1 -1
- package/es/components/date-picker/date-picker.css.js +1 -1
- package/es/components/date-picker/date-picker.rtl.css.js +1 -1
- package/es/components/dropdown/dropdown.css.js +1 -1
- package/es/components/dropdown/dropdown.rtl.css.js +1 -1
- package/es/components/file-uploader/file-uploader.css.js +1 -1
- package/es/components/file-uploader/file-uploader.rtl.css.js +1 -1
- package/es/components/form/form-item.css.js +1 -1
- package/es/components/form/form-item.rtl.css.js +1 -1
- package/es/components/input/input.css.js +1 -1
- package/es/components/input/input.rtl.css.js +1 -1
- package/es/components/layer/index.d.ts +11 -0
- package/es/components/layer/index.d.ts.map +1 -0
- package/es/components/layer/index.js +11 -0
- package/es/components/layer/index.js.map +1 -0
- package/es/components/layer/layer.css.js +12 -0
- package/es/components/layer/layer.d.ts +36 -0
- package/es/components/layer/layer.d.ts.map +1 -0
- package/es/components/layer/layer.js +117 -0
- package/es/components/layer/layer.js.map +1 -0
- package/es/components/layer/layer.rtl.css.js +12 -0
- package/es/components/link/link.d.ts +16 -8
- package/es/components/link/link.d.ts.map +1 -1
- package/es/components/link/link.js +41 -9
- package/es/components/link/link.js.map +1 -1
- package/es/components/multi-select/multi-select.css.js +1 -1
- package/es/components/multi-select/multi-select.rtl.css.js +1 -1
- package/es/components/number-input/number-input.css.js +1 -1
- package/es/components/number-input/number-input.rtl.css.js +1 -1
- package/es/components/pagination/pagination.css.js +1 -1
- package/es/components/pagination/pagination.rtl.css.js +1 -1
- package/es/components/radio-button/radio-button-group.d.ts +16 -4
- package/es/components/radio-button/radio-button-group.d.ts.map +1 -1
- package/es/components/radio-button/radio-button-group.js +55 -8
- package/es/components/radio-button/radio-button-group.js.map +1 -1
- package/es/components/radio-button/radio-button.css.js +1 -1
- package/es/components/radio-button/radio-button.d.ts +12 -4
- package/es/components/radio-button/radio-button.d.ts.map +1 -1
- package/es/components/radio-button/radio-button.js +44 -12
- package/es/components/radio-button/radio-button.js.map +1 -1
- package/es/components/radio-button/radio-button.rtl.css.js +1 -1
- package/es/components/search/search.css.js +1 -1
- package/es/components/search/search.rtl.css.js +1 -1
- package/es/components/select/select.css.js +1 -1
- package/es/components/select/select.rtl.css.js +1 -1
- package/es/components/slider/slider.css.js +1 -1
- package/es/components/slider/slider.rtl.css.js +1 -1
- package/es/components/tabs/tabs.css.js +1 -1
- package/es/components/tabs/tabs.rtl.css.js +1 -1
- package/es/components/tag/defs.d.ts +3 -3
- package/es/components/tag/defs.d.ts.map +1 -1
- package/es/components/tag/defs.js +2 -2
- package/es/components/tag/defs.js.map +1 -1
- package/es/components/tag/index.d.ts +1 -2
- package/es/components/tag/index.d.ts.map +1 -1
- package/es/components/tag/index.js +1 -2
- package/es/components/tag/index.js.map +1 -1
- package/es/components/tag/tag.css.js +1 -1
- package/es/components/tag/tag.d.ts +660 -3
- package/es/components/tag/tag.d.ts.map +1 -1
- package/es/components/tag/tag.js +160 -13
- package/es/components/tag/tag.js.map +1 -1
- package/es/components/tag/tag.rtl.css.js +1 -1
- package/es/components/textarea/textarea.css.js +1 -1
- package/es/components/textarea/textarea.rtl.css.js +1 -1
- package/es/components/tile/expandable-tile.d.ts +5 -5
- package/es/components/tile/expandable-tile.d.ts.map +1 -1
- package/es/components/tile/expandable-tile.js +50 -36
- package/es/components/tile/expandable-tile.js.map +1 -1
- package/es/components/tile/radio-tile.d.ts +6 -338
- package/es/components/tile/radio-tile.d.ts.map +1 -1
- package/es/components/tile/radio-tile.js +36 -127
- package/es/components/tile/radio-tile.js.map +1 -1
- package/es/components/tile/selectable-tile.d.ts +322 -1
- package/es/components/tile/selectable-tile.d.ts.map +1 -1
- package/es/components/tile/selectable-tile.js +26 -10
- package/es/components/tile/selectable-tile.js.map +1 -1
- package/es/components/tile/tile-group.d.ts +380 -3
- package/es/components/tile/tile-group.d.ts.map +1 -1
- package/es/components/tile/tile-group.js +336 -19
- package/es/components/tile/tile-group.js.map +1 -1
- package/es/components/tile/tile.css.js +1 -1
- package/es/components/tile/tile.rtl.css.js +1 -1
- package/es/components/toggle/toggle.css.js +1 -1
- package/es/components/toggle/toggle.d.ts +13 -5
- package/es/components/toggle/toggle.d.ts.map +1 -1
- package/es/components/toggle/toggle.js +46 -15
- package/es/components/toggle/toggle.js.map +1 -1
- package/es/components/toggle/toggle.rtl.css.js +1 -1
- package/es/components/toggle-tip/toggletip.css.js +1 -1
- package/es/components/toggle-tip/toggletip.d.ts +5 -1
- package/es/components/toggle-tip/toggletip.d.ts.map +1 -1
- package/es/components/toggle-tip/toggletip.js +12 -12
- package/es/components/toggle-tip/toggletip.js.map +1 -1
- package/es/components/toggle-tip/toggletip.rtl.css.js +1 -1
- package/es/components/tooltip/tooltip-body.d.ts.map +1 -1
- package/es/components/tooltip/tooltip-body.js +1 -5
- package/es/components/tooltip/tooltip-body.js.map +1 -1
- package/es/components/tooltip/tooltip.css.js +1 -1
- package/es/components/tooltip/tooltip.d.ts +1 -2
- package/es/components/tooltip/tooltip.d.ts.map +1 -1
- package/es/components/tooltip/tooltip.js +9 -3
- package/es/components/tooltip/tooltip.js.map +1 -1
- package/es/components/tooltip/tooltip.rtl.css.js +1 -1
- package/es/components-react/accordion/accordion-item-skeleton.d.ts +15 -0
- package/es/components-react/accordion/accordion-item-skeleton.js +21 -0
- package/es/components-react/accordion/accordion-item.d.ts +2 -2
- package/es/components-react/accordion/accordion-skeleton.d.ts +15 -0
- package/es/components-react/accordion/accordion-skeleton.js +21 -0
- package/es/components-react/accordion/accordion.d.ts +2 -2
- package/es/components-react/breadcrumb/breadcrumb-item.d.ts +2 -2
- package/es/components-react/breadcrumb/breadcrumb-link.d.ts +2 -2
- package/es/components-react/breadcrumb/breadcrumb-overflow-menu.d.ts +2 -2
- package/es/components-react/breadcrumb/breadcrumb-skeleton.d.ts +15 -0
- package/es/components-react/breadcrumb/breadcrumb-skeleton.js +21 -0
- package/es/components-react/breadcrumb/breadcrumb.d.ts +2 -2
- package/es/components-react/button/button-set.d.ts +15 -0
- package/es/components-react/button/button-set.js +21 -0
- package/es/components-react/button/button.js +7 -1
- package/es/components-react/layer/index.d.ts +14 -0
- package/es/components-react/layer/index.js +8 -0
- package/es/components-react/layer/layer.d.ts +19 -0
- package/es/components-react/{tag/filter-tag.js → layer/layer.js} +5 -10
- package/es/components-react/link/link.d.ts +2 -2
- package/es/components-react/radio-button/radio-button-group.d.ts +2 -2
- package/es/components-react/radio-button/radio-button.d.ts +2 -2
- package/es/components-react/tag/tag.d.ts +11 -2
- package/es/components-react/tag/tag.js +12 -2
- package/es/components-react/tile/radio-tile.d.ts +8 -3
- package/es/components-react/tile/radio-tile.js +8 -2
- package/es/components-react/tile/tile-group.d.ts +10 -2
- package/es/components-react/tile/tile-group.js +12 -2
- package/es/components-react/toggle/toggle.d.ts +2 -2
- package/es/globals/internal/radio-group-manager.d.ts +3 -2
- package/es/globals/internal/radio-group-manager.d.ts.map +1 -1
- package/es/globals/internal/radio-group-manager.js +5 -4
- package/es/globals/internal/radio-group-manager.js.map +1 -1
- package/es/index.d.ts +0 -1
- package/es/index.d.ts.map +1 -1
- package/es/index.js +0 -1
- package/es/index.js.map +1 -1
- package/lib/components/button/defs.js +36 -13
- package/lib/components/button/defs.js.map +1 -1
- package/lib/components/tag/defs.js +2 -2
- package/lib/components/tag/defs.js.map +1 -1
- package/lib/components-react-node/accordion/accordion-item-skeleton.js +36 -0
- package/lib/components-react-node/accordion/accordion-skeleton.js +36 -0
- package/lib/components-react-node/breadcrumb/breadcrumb-skeleton.js +36 -0
- package/lib/components-react-node/button/button-set.js +36 -0
- package/lib/components-react-node/button/button.js +18 -6
- package/lib/components-react-node/layer/index.js +9 -0
- package/lib/components-react-node/{tag/filter-tag.js → layer/layer.js} +4 -21
- package/lib/components-react-node/tag/tag.js +12 -2
- package/lib/components-react-node/tile/radio-tile.js +8 -2
- package/lib/components-react-node/tile/tile-group.js +12 -2
- package/package.json +6 -7
- package/scss/components/accordion/accordion.scss +24 -10
- package/scss/components/breadcrumb/breadcrumb.scss +6 -3
- package/scss/components/button/button.scss +16 -34
- package/scss/components/combo-box/combo-box.scss +0 -1
- package/scss/components/layer/layer.scss +29 -0
- package/scss/components/radio-button/radio-button.scss +6 -6
- package/scss/components/tag/tag.scss +69 -72
- package/scss/components/tile/tile.scss +38 -16
- package/scss/components/toggle/toggle.scss +4 -0
- package/CHANGELOG.md +0 -87
- package/es/components/tag/filter-tag.d.ts +0 -680
- package/es/components/tag/filter-tag.d.ts.map +0 -1
- package/es/components/tag/filter-tag.js +0 -194
- package/es/components/tag/filter-tag.js.map +0 -1
- package/es/components-react/tag/filter-tag.d.ts +0 -24
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import _decorate from "@babel/runtime/helpers/esm/decorate";
|
|
2
|
-
import _get from "@babel/runtime/helpers/esm/get";
|
|
3
|
-
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
4
2
|
let _ = t => t,
|
|
5
3
|
_t;
|
|
6
4
|
/**
|
|
@@ -13,45 +11,364 @@ let _ = t => t,
|
|
|
13
11
|
*/
|
|
14
12
|
|
|
15
13
|
import { LitElement, html } from 'lit';
|
|
16
|
-
import { customElement } from 'lit/decorators.js';
|
|
14
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
17
15
|
import { prefix } from '../../globals/settings';
|
|
16
|
+
import { NAVIGATION_DIRECTION } from '../../globals/internal/radio-group-manager';
|
|
17
|
+
import HostListener from '../../globals/decorators/host-listener';
|
|
18
|
+
import HostListenerMixin from '../../globals/mixins/host-listener';
|
|
18
19
|
import styles from "././tile.css.js";
|
|
19
20
|
|
|
21
|
+
/**
|
|
22
|
+
* Map of navigation direction by key.
|
|
23
|
+
*/ /**
|
|
24
|
+
* Map of navigation direction by key.
|
|
25
|
+
*/
|
|
26
|
+
const navigationDirectionForKey = {
|
|
27
|
+
ArrowUp: NAVIGATION_DIRECTION.BACKWARD,
|
|
28
|
+
Up: NAVIGATION_DIRECTION.BACKWARD,
|
|
29
|
+
// IE
|
|
30
|
+
ArrowDown: NAVIGATION_DIRECTION.FORWARD,
|
|
31
|
+
Down: NAVIGATION_DIRECTION.FORWARD // IE
|
|
32
|
+
};
|
|
33
|
+
|
|
20
34
|
/**
|
|
21
35
|
* Tile group.
|
|
22
36
|
*
|
|
23
37
|
* @element cds-tile-group
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
* @element cds-tile-group
|
|
28
|
-
*/
|
|
29
|
-
let BXTileGroup = _decorate([customElement(`${prefix}-tile-group`)], function (_initialize, _LitElement) {
|
|
30
|
-
class BXTileGroup extends _LitElement {
|
|
38
|
+
*/
|
|
39
|
+
let CDSTileGroup = _decorate([customElement(`${prefix}-tile-group`)], function (_initialize, _HostListenerMixin) {
|
|
40
|
+
class CDSTileGroup extends _HostListenerMixin {
|
|
31
41
|
constructor(...args) {
|
|
32
42
|
super(...args);
|
|
33
43
|
_initialize(this);
|
|
34
44
|
}
|
|
35
45
|
}
|
|
36
46
|
return {
|
|
37
|
-
F:
|
|
47
|
+
F: CDSTileGroup,
|
|
38
48
|
d: [{
|
|
39
49
|
kind: "method",
|
|
40
|
-
key: "
|
|
41
|
-
value: function
|
|
50
|
+
key: "_handleRadioClick",
|
|
51
|
+
value: function _handleRadioClick(event) {
|
|
52
|
+
const {
|
|
53
|
+
target
|
|
54
|
+
} = event;
|
|
55
|
+
const {
|
|
56
|
+
currentRadioSelection
|
|
57
|
+
} = this;
|
|
58
|
+
const {
|
|
59
|
+
eventCurrentRadioTileSelection
|
|
60
|
+
} = this.constructor;
|
|
61
|
+
if (!currentRadioSelection) {
|
|
62
|
+
this.currentRadioSelection = target;
|
|
63
|
+
} else if (currentRadioSelection !== target) {
|
|
64
|
+
currentRadioSelection.toggleAttribute('selected');
|
|
65
|
+
this.currentRadioSelection = target;
|
|
66
|
+
}
|
|
67
|
+
this.dispatchEvent(new CustomEvent(eventCurrentRadioTileSelection, {
|
|
68
|
+
bubbles: true,
|
|
69
|
+
composed: true,
|
|
70
|
+
detail: {
|
|
71
|
+
target
|
|
72
|
+
}
|
|
73
|
+
}));
|
|
74
|
+
}
|
|
75
|
+
}, {
|
|
76
|
+
kind: "method",
|
|
77
|
+
key: "_handleSelectableClick",
|
|
78
|
+
value: function _handleSelectableClick(event) {
|
|
79
|
+
const {
|
|
80
|
+
target
|
|
81
|
+
} = event;
|
|
82
|
+
const {
|
|
83
|
+
currentSelections
|
|
84
|
+
} = this;
|
|
85
|
+
const {
|
|
86
|
+
eventCurrentSelectableTilesSelection
|
|
87
|
+
} = this.constructor;
|
|
88
|
+
if (!currentSelections.includes(target)) {
|
|
89
|
+
currentSelections.push(target);
|
|
90
|
+
} else {
|
|
91
|
+
currentSelections.splice(currentSelections.indexOf(target), 1);
|
|
92
|
+
}
|
|
93
|
+
target.toggleAttribute('selected');
|
|
94
|
+
this.dispatchEvent(new CustomEvent(eventCurrentSelectableTilesSelection, {
|
|
95
|
+
bubbles: true,
|
|
96
|
+
composed: true,
|
|
97
|
+
detail: {
|
|
98
|
+
currentSelections
|
|
99
|
+
}
|
|
100
|
+
}));
|
|
101
|
+
event.stopPropagation();
|
|
102
|
+
event.preventDefault();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Click listener to ensure selectability.
|
|
107
|
+
*
|
|
108
|
+
* @param event click
|
|
109
|
+
*/
|
|
110
|
+
}, {
|
|
111
|
+
kind: "method",
|
|
112
|
+
decorators: [HostListener('click')],
|
|
113
|
+
key: "_handleTileSelect",
|
|
114
|
+
value: function _handleTileSelect(event) {
|
|
115
|
+
if (this.radioTiles.length) {
|
|
116
|
+
this._handleRadioClick(event);
|
|
117
|
+
} else {
|
|
118
|
+
this._handleSelectableClick(event);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Handle keyboard navigation for radio tiles
|
|
124
|
+
*
|
|
125
|
+
* @param nextSibling to focus on
|
|
126
|
+
*/
|
|
127
|
+
}, {
|
|
128
|
+
kind: "method",
|
|
129
|
+
key: "_handleKeydownRadio",
|
|
130
|
+
value: function _handleKeydownRadio(nextSibling) {
|
|
131
|
+
const {
|
|
132
|
+
currentRadioSelection
|
|
133
|
+
} = this;
|
|
134
|
+
const {
|
|
135
|
+
eventCurrentRadioTileSelection
|
|
136
|
+
} = this.constructor;
|
|
137
|
+
if (currentRadioSelection) {
|
|
138
|
+
currentRadioSelection.toggleAttribute('selected');
|
|
139
|
+
}
|
|
140
|
+
nextSibling.focus();
|
|
141
|
+
nextSibling.toggleAttribute('selected');
|
|
142
|
+
this.currentRadioSelection = nextSibling;
|
|
143
|
+
this.dispatchEvent(new CustomEvent(eventCurrentRadioTileSelection, {
|
|
144
|
+
bubbles: true,
|
|
145
|
+
composed: true,
|
|
146
|
+
detail: {
|
|
147
|
+
nextSibling
|
|
148
|
+
}
|
|
149
|
+
}));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Handle keyboard navigation for selectable tiles
|
|
154
|
+
*
|
|
155
|
+
* @param event to get target
|
|
156
|
+
* @param nextSibling to focus on
|
|
157
|
+
*/
|
|
158
|
+
}, {
|
|
159
|
+
kind: "method",
|
|
160
|
+
key: "_handleKeydownSelectable",
|
|
161
|
+
value: function _handleKeydownSelectable(event, nextSibling) {
|
|
162
|
+
const {
|
|
163
|
+
target
|
|
164
|
+
} = event;
|
|
165
|
+
const {
|
|
166
|
+
currentSelections
|
|
167
|
+
} = this;
|
|
168
|
+
const {
|
|
169
|
+
eventCurrentSelectableTilesSelection
|
|
170
|
+
} = this.constructor;
|
|
171
|
+
if (nextSibling) {
|
|
172
|
+
nextSibling.focus();
|
|
173
|
+
} else {
|
|
174
|
+
if (!currentSelections.includes(target)) {
|
|
175
|
+
currentSelections.push(target);
|
|
176
|
+
} else {
|
|
177
|
+
currentSelections.splice(currentSelections.indexOf(target), 1);
|
|
178
|
+
}
|
|
179
|
+
this.dispatchEvent(new CustomEvent(eventCurrentSelectableTilesSelection, {
|
|
180
|
+
bubbles: true,
|
|
181
|
+
composed: true,
|
|
182
|
+
detail: {
|
|
183
|
+
currentSelections
|
|
184
|
+
}
|
|
185
|
+
}));
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Keyboard listener to ensure keyboard navigation.
|
|
191
|
+
*
|
|
192
|
+
* @param event to get key pressed
|
|
193
|
+
*/
|
|
194
|
+
}, {
|
|
195
|
+
kind: "field",
|
|
196
|
+
decorators: [HostListener('keydown')],
|
|
197
|
+
key: "_handleKeydown",
|
|
198
|
+
value() {
|
|
199
|
+
return event => {
|
|
200
|
+
const {
|
|
201
|
+
target,
|
|
202
|
+
key
|
|
203
|
+
} = event;
|
|
204
|
+
const {
|
|
205
|
+
radioTiles,
|
|
206
|
+
selectableTiles
|
|
207
|
+
} = this;
|
|
208
|
+
const navigationDirection = navigationDirectionForKey[key];
|
|
209
|
+
let tiles = radioTiles.length ? radioTiles : selectableTiles;
|
|
210
|
+
const currentIndex = [...tiles].findIndex(e => e == target);
|
|
211
|
+
const nextIndex = currentIndex + navigationDirection;
|
|
212
|
+
const nextSibling = nextIndex !== -1 ? tiles[nextIndex % tiles.length] : tiles[tiles.length - 1];
|
|
213
|
+
if (navigationDirection) {
|
|
214
|
+
event.preventDefault(); // Prevent default (scrolling) behavior
|
|
215
|
+
|
|
216
|
+
if (this.radioTiles.length) {
|
|
217
|
+
this._handleKeydownRadio(nextSibling);
|
|
218
|
+
} else {
|
|
219
|
+
this._handleKeydownSelectable(event, nextSibling);
|
|
220
|
+
}
|
|
221
|
+
} else if (key === ' ' || key === 'Enter') {
|
|
222
|
+
this._handleKeydownSelectable(event);
|
|
223
|
+
}
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
}, {
|
|
227
|
+
kind: "field",
|
|
228
|
+
decorators: [HostListener('focusin')],
|
|
229
|
+
key: "_handleFocus",
|
|
230
|
+
value() {
|
|
231
|
+
return event => {
|
|
232
|
+
const {
|
|
233
|
+
relatedTarget,
|
|
234
|
+
target
|
|
235
|
+
} = event;
|
|
236
|
+
if (this.radioTiles.length) {
|
|
237
|
+
if (!this.currentRadioSelection) {
|
|
238
|
+
target.toggleAttribute('selected');
|
|
239
|
+
this.currentRadioSelection = target;
|
|
240
|
+
} else if (!(relatedTarget !== null && relatedTarget !== void 0 && relatedTarget.matches(this.constructor.selectorRadioTile)) && target !== this.currentRadioSelection) {
|
|
241
|
+
this.currentRadioSelection.focus();
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
}, {
|
|
247
|
+
kind: "field",
|
|
248
|
+
decorators: [property({
|
|
249
|
+
reflect: true,
|
|
250
|
+
attribute: 'class-name'
|
|
251
|
+
})],
|
|
252
|
+
key: "className",
|
|
253
|
+
value: void 0
|
|
254
|
+
}, {
|
|
255
|
+
kind: "field",
|
|
256
|
+
decorators: [property({
|
|
257
|
+
reflect: true,
|
|
258
|
+
type: Boolean
|
|
259
|
+
})],
|
|
260
|
+
key: "disabled",
|
|
261
|
+
value: void 0
|
|
262
|
+
}, {
|
|
263
|
+
kind: "field",
|
|
264
|
+
decorators: [property()],
|
|
265
|
+
key: "currentRadioSelection",
|
|
266
|
+
value: void 0
|
|
267
|
+
}, {
|
|
268
|
+
kind: "field",
|
|
269
|
+
decorators: [property()],
|
|
270
|
+
key: "currentSelections",
|
|
271
|
+
value() {
|
|
272
|
+
return [];
|
|
273
|
+
}
|
|
274
|
+
}, {
|
|
275
|
+
kind: "field",
|
|
276
|
+
decorators: [property()],
|
|
277
|
+
key: "radioTiles",
|
|
278
|
+
value: void 0
|
|
279
|
+
}, {
|
|
280
|
+
kind: "field",
|
|
281
|
+
decorators: [property()],
|
|
282
|
+
key: "selectableTiles",
|
|
283
|
+
value: void 0
|
|
284
|
+
}, {
|
|
285
|
+
kind: "method",
|
|
286
|
+
key: "firstUpdated",
|
|
287
|
+
value:
|
|
288
|
+
/**
|
|
289
|
+
* Focus listener to focus on selected element upon focusing
|
|
290
|
+
*
|
|
291
|
+
* @param event to get focused
|
|
292
|
+
*/
|
|
293
|
+
/**
|
|
294
|
+
* Provide an optional className to be applied to the component
|
|
295
|
+
*/
|
|
296
|
+
/**
|
|
297
|
+
* Specify whether the group is disabled
|
|
298
|
+
*/
|
|
299
|
+
function firstUpdated() {
|
|
42
300
|
if (!this.hasAttribute('role')) {
|
|
43
301
|
this.setAttribute('role', 'group');
|
|
44
302
|
}
|
|
45
|
-
|
|
303
|
+
if (!this.radioTiles) {
|
|
304
|
+
this.radioTiles = this.querySelectorAll(this.constructor.selectorRadioTile);
|
|
305
|
+
}
|
|
306
|
+
if (!this.selectableTiles) {
|
|
307
|
+
this.selectableTiles = this.querySelectorAll(this.constructor.selectorSelectableTile);
|
|
308
|
+
}
|
|
309
|
+
if (this.disabled) {
|
|
310
|
+
this.radioTiles.forEach(e => e.toggleAttribute('disabled'));
|
|
311
|
+
this.selectableTiles.forEach(e => e.toggleAttribute('disabled'));
|
|
312
|
+
}
|
|
46
313
|
}
|
|
47
314
|
}, {
|
|
48
315
|
kind: "method",
|
|
49
316
|
key: "render",
|
|
50
317
|
value: function render() {
|
|
318
|
+
const {
|
|
319
|
+
className,
|
|
320
|
+
disabled
|
|
321
|
+
} = this;
|
|
51
322
|
return html(_t || (_t = _`
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
323
|
+
<fieldset class="${0}" ?disabled=${0}>
|
|
324
|
+
<slot name="legend" class="${0}--label"></slot>
|
|
325
|
+
<slot></slot>
|
|
326
|
+
</fieldset>
|
|
327
|
+
`), className, disabled, prefix);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* A selector that selects a radio tile component.
|
|
332
|
+
*/
|
|
333
|
+
}, {
|
|
334
|
+
kind: "get",
|
|
335
|
+
static: true,
|
|
336
|
+
key: "selectorRadioTile",
|
|
337
|
+
value: function selectorRadioTile() {
|
|
338
|
+
return `${prefix}-radio-tile`;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* A selector that selects a selectable tile component.
|
|
343
|
+
*/
|
|
344
|
+
}, {
|
|
345
|
+
kind: "get",
|
|
346
|
+
static: true,
|
|
347
|
+
key: "selectorSelectableTile",
|
|
348
|
+
value: function selectorSelectableTile() {
|
|
349
|
+
return `${prefix}-selectable-tile`;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The name of the custom event fired after a radio tile changes its selected state.
|
|
354
|
+
*/
|
|
355
|
+
}, {
|
|
356
|
+
kind: "get",
|
|
357
|
+
static: true,
|
|
358
|
+
key: "eventCurrentRadioTileSelection",
|
|
359
|
+
value: function eventCurrentRadioTileSelection() {
|
|
360
|
+
return `${prefix}-current-radio-tile-selection`;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* The name of the custom event fired after a radio tile changes its selected state.
|
|
365
|
+
*/
|
|
366
|
+
}, {
|
|
367
|
+
kind: "get",
|
|
368
|
+
static: true,
|
|
369
|
+
key: "eventCurrentSelectableTilesSelection",
|
|
370
|
+
value: function eventCurrentSelectableTilesSelection() {
|
|
371
|
+
return `${prefix}-current-selectable-tile-selections`;
|
|
55
372
|
}
|
|
56
373
|
}, {
|
|
57
374
|
kind: "field",
|
|
@@ -62,6 +379,6 @@ let BXTileGroup = _decorate([customElement(`${prefix}-tile-group`)], function (_
|
|
|
62
379
|
}
|
|
63
380
|
}]
|
|
64
381
|
};
|
|
65
|
-
}, LitElement);
|
|
66
|
-
export default
|
|
382
|
+
}, HostListenerMixin(LitElement));
|
|
383
|
+
export default CDSTileGroup;
|
|
67
384
|
//# sourceMappingURL=tile-group.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tile-group.js","names":["LitElement","html","customElement","prefix","styles","BXTileGroup","_decorate","_initialize","_LitElement","constructor","args","F","d","kind","key","value","connectedCallback","hasAttribute","setAttribute","_get","_getPrototypeOf","prototype","call","render","_t","_","static"],"sources":["components/tile/tile-group.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { customElement } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport styles from './tile.scss';\n\n/**\n * Tile group.\n *\n * @element cds-tile-group\n */\n@customElement(`${prefix}-tile-group`)\nclass BXTileGroup extends LitElement {\n connectedCallback() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'group');\n }\n super.connectedCallback();\n }\n\n render() {\n return html`\n <slot name=\"legend\" class=\"${prefix}--label\"></slot>\n <slot></slot>\n `;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default BXTileGroup;\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,EAAEC,IAAI,QAAQ,KAAK;AACtC,SAASC,aAAa,QAAQ,mBAAmB;AACjD,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,OAAOC,MAAM,MAAM,iBAAa;;AAEhC;AACA;AACA;AACA;AACA,GAJA;AACA;AACA;AACA;AACA;AAJA,IAMMC,WAAW,GAAAC,SAAA,EADhBJ,aAAa,CAAE,GAAEC,MAAO,aAAY,CAAC,aAAAI,WAAA,EAAAC,WAAA;EAAtC,MACMH,WAAW,SAAAG,WAAA,CAAoB;IAAAC,YAAA,GAAAC,IAAA;MAAA,SAAAA,IAAA;MAAAH,WAAA;IAAA;EAgBrC;EAAC;IAAAI,CAAA,EAhBKN,WAAW;IAAAO,CAAA;MAAAC,IAAA;MAAAC,GAAA;MAAAC,KAAA,EACf,SAAAC,kBAAA,EAAoB;QAClB,IAAI,CAAC,IAAI,CAACC,YAAY,CAAC,MAAM,CAAC,EAAE;UAC9B,IAAI,CAACC,YAAY,CAAC,MAAM,EAAE,OAAO,CAAC;QACpC;QACAC,IAAA,CAAAC,eAAA,CALEf,WAAW,CAAAgB,SAAA,8BAAAC,IAAA;MAMf;IAAC;MAAAT,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAED,SAAAQ,OAAA,EAAS;QACP,OAAOtB,IAAI,CAAAuB,EAAA,KAAAA,EAAA,GAAAC,CAAC;AAChB,mCAAiC,CAAS;AAC1C;AACA,KAAI,GAF+BtB,MAAM;MAGvC;IAAC;MAAAU,IAAA;MAAAa,MAAA;MAAAZ,GAAA;MAAAC,MAAA;QAAA,OAEeX,MAAM;MAAA;IAAA;EAAA;AAAA,GAfEJ,UAAU;AAkBpC,eAAeK,WAAW"}
|
|
1
|
+
{"version":3,"file":"tile-group.js","names":["LitElement","html","customElement","property","prefix","NAVIGATION_DIRECTION","HostListener","HostListenerMixin","styles","navigationDirectionForKey","ArrowUp","BACKWARD","Up","ArrowDown","FORWARD","Down","CDSTileGroup","_decorate","_initialize","_HostListenerMixin","constructor","args","F","d","kind","key","value","_handleRadioClick","event","target","currentRadioSelection","eventCurrentRadioTileSelection","toggleAttribute","dispatchEvent","CustomEvent","bubbles","composed","detail","_handleSelectableClick","currentSelections","eventCurrentSelectableTilesSelection","includes","push","splice","indexOf","stopPropagation","preventDefault","decorators","_handleTileSelect","radioTiles","length","_handleKeydownRadio","nextSibling","focus","_handleKeydownSelectable","selectableTiles","navigationDirection","tiles","currentIndex","findIndex","e","nextIndex","relatedTarget","matches","selectorRadioTile","reflect","attribute","type","Boolean","firstUpdated","hasAttribute","setAttribute","querySelectorAll","selectorSelectableTile","disabled","forEach","render","className","_t","_","static"],"sources":["components/tile/tile-group.ts"],"sourcesContent":["/**\n * @license\n *\n * Copyright IBM Corp. 2019, 2023\n *\n * This source code is licensed under the Apache-2.0 license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { LitElement, html } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\nimport { prefix } from '../../globals/settings';\nimport { NAVIGATION_DIRECTION } from '../../globals/internal/radio-group-manager';\nimport HostListener from '../../globals/decorators/host-listener';\nimport HostListenerMixin from '../../globals/mixins/host-listener';\nimport styles from './tile.scss';\n\n/**\n * Map of navigation direction by key.\n */\nconst navigationDirectionForKey = {\n ArrowUp: NAVIGATION_DIRECTION.BACKWARD,\n Up: NAVIGATION_DIRECTION.BACKWARD, // IE\n ArrowDown: NAVIGATION_DIRECTION.FORWARD,\n Down: NAVIGATION_DIRECTION.FORWARD, // IE\n};\n\n/**\n * Tile group.\n *\n * @element cds-tile-group\n */\n@customElement(`${prefix}-tile-group`)\nclass CDSTileGroup extends HostListenerMixin(LitElement) {\n private _handleRadioClick(event) {\n const { target } = event;\n const { currentRadioSelection } = this;\n const { eventCurrentRadioTileSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (!currentRadioSelection) {\n this.currentRadioSelection = target;\n } else if (currentRadioSelection !== target) {\n currentRadioSelection.toggleAttribute('selected');\n this.currentRadioSelection = target;\n }\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentRadioTileSelection, {\n bubbles: true,\n composed: true,\n detail: {\n target,\n },\n })\n );\n }\n\n private _handleSelectableClick(event) {\n const { target } = event;\n const { currentSelections } = this;\n const { eventCurrentSelectableTilesSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (!currentSelections.includes(target)) {\n currentSelections.push(target);\n } else {\n currentSelections.splice(currentSelections.indexOf(target), 1);\n }\n (target as HTMLElement).toggleAttribute('selected');\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentSelectableTilesSelection, {\n bubbles: true,\n composed: true,\n detail: {\n currentSelections,\n },\n })\n );\n event.stopPropagation();\n event.preventDefault();\n }\n\n /**\n * Click listener to ensure selectability.\n *\n * @param event click\n */\n @HostListener('click')\n // @ts-ignore\n private _handleTileSelect(event: Event) {\n if (this.radioTiles.length) {\n this._handleRadioClick(event);\n } else {\n this._handleSelectableClick(event);\n }\n }\n\n /**\n * Handle keyboard navigation for radio tiles\n *\n * @param nextSibling to focus on\n */\n private _handleKeydownRadio(nextSibling) {\n const { currentRadioSelection } = this;\n\n const { eventCurrentRadioTileSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (currentRadioSelection) {\n currentRadioSelection.toggleAttribute('selected');\n }\n nextSibling.focus();\n nextSibling.toggleAttribute('selected');\n this.currentRadioSelection = nextSibling;\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentRadioTileSelection, {\n bubbles: true,\n composed: true,\n detail: {\n nextSibling,\n },\n })\n );\n }\n\n /**\n * Handle keyboard navigation for selectable tiles\n *\n * @param event to get target\n * @param nextSibling to focus on\n */\n private _handleKeydownSelectable(event, nextSibling?) {\n const { target } = event;\n const { currentSelections } = this;\n const { eventCurrentSelectableTilesSelection } = this\n .constructor as typeof CDSTileGroup;\n\n if (nextSibling) {\n nextSibling.focus();\n } else {\n if (!currentSelections.includes(target)) {\n currentSelections.push(target);\n } else {\n currentSelections.splice(currentSelections.indexOf(target), 1);\n }\n\n this.dispatchEvent(\n new CustomEvent(eventCurrentSelectableTilesSelection, {\n bubbles: true,\n composed: true,\n detail: {\n currentSelections,\n },\n })\n );\n }\n }\n\n /**\n * Keyboard listener to ensure keyboard navigation.\n *\n * @param event to get key pressed\n */\n @HostListener('keydown')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleKeydown = (event: KeyboardEvent) => {\n const { target, key } = event;\n const { radioTiles, selectableTiles } = this;\n const navigationDirection = navigationDirectionForKey[key];\n\n let tiles = radioTiles.length ? radioTiles : selectableTiles;\n const currentIndex = [...tiles].findIndex((e) => e == target);\n const nextIndex = currentIndex + navigationDirection;\n const nextSibling =\n nextIndex !== -1\n ? tiles[nextIndex % tiles.length]\n : tiles[tiles.length - 1];\n\n if (navigationDirection) {\n event.preventDefault(); // Prevent default (scrolling) behavior\n\n if (this.radioTiles.length) {\n this._handleKeydownRadio(nextSibling);\n } else {\n this._handleKeydownSelectable(event, nextSibling);\n }\n } else if (key === ' ' || key === 'Enter') {\n this._handleKeydownSelectable(event);\n }\n };\n\n /**\n * Focus listener to focus on selected element upon focusing\n *\n * @param event to get focused\n */\n @HostListener('focusin')\n // @ts-ignore: The decorator refers to this method but TS thinks this method is not referred to\n private _handleFocus = (event: KeyboardEvent) => {\n const { relatedTarget, target } = event as any;\n\n if (this.radioTiles.length) {\n if (!this.currentRadioSelection) {\n target.toggleAttribute('selected');\n this.currentRadioSelection = target;\n } else if (\n !relatedTarget?.matches(\n (this.constructor as typeof CDSTileGroup).selectorRadioTile\n ) &&\n target !== this.currentRadioSelection\n ) {\n this.currentRadioSelection.focus();\n }\n }\n };\n\n /**\n * Provide an optional className to be applied to the component\n */\n @property({ reflect: true, attribute: 'class-name' })\n className;\n\n /**\n * Specify whether the group is disabled\n */\n @property({ reflect: true, type: Boolean })\n disabled;\n\n @property()\n currentRadioSelection;\n\n @property()\n currentSelections = [] as any;\n\n @property()\n radioTiles;\n\n @property()\n selectableTiles;\n\n firstUpdated() {\n if (!this.hasAttribute('role')) {\n this.setAttribute('role', 'group');\n }\n\n if (!this.radioTiles) {\n this.radioTiles = this.querySelectorAll(\n (this.constructor as typeof CDSTileGroup).selectorRadioTile\n );\n }\n\n if (!this.selectableTiles) {\n this.selectableTiles = this.querySelectorAll(\n (this.constructor as typeof CDSTileGroup).selectorSelectableTile\n );\n }\n\n if (this.disabled) {\n this.radioTiles.forEach((e) => e.toggleAttribute('disabled'));\n this.selectableTiles.forEach((e) => e.toggleAttribute('disabled'));\n }\n }\n\n render() {\n const { className, disabled } = this;\n return html`\n <fieldset class=\"${className}\" ?disabled=${disabled}>\n <slot name=\"legend\" class=\"${prefix}--label\"></slot>\n <slot></slot>\n </fieldset>\n `;\n }\n\n /**\n * A selector that selects a radio tile component.\n */\n static get selectorRadioTile() {\n return `${prefix}-radio-tile`;\n }\n\n /**\n * A selector that selects a selectable tile component.\n */\n static get selectorSelectableTile() {\n return `${prefix}-selectable-tile`;\n }\n\n /**\n * The name of the custom event fired after a radio tile changes its selected state.\n */\n static get eventCurrentRadioTileSelection() {\n return `${prefix}-current-radio-tile-selection`;\n }\n\n /**\n * The name of the custom event fired after a radio tile changes its selected state.\n */\n static get eventCurrentSelectableTilesSelection() {\n return `${prefix}-current-selectable-tile-selections`;\n }\n\n static styles = styles; // `styles` here is a `CSSResult` generated by custom WebPack loader\n}\n\nexport default CDSTileGroup;\n"],"mappings":";;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,UAAU,EAAEC,IAAI,QAAQ,KAAK;AACtC,SAASC,aAAa,EAAEC,QAAQ,QAAQ,mBAAmB;AAC3D,SAASC,MAAM,QAAQ,wBAAwB;AAC/C,SAASC,oBAAoB,QAAQ,4CAA4C;AACjF,OAAOC,YAAY,MAAM,wCAAwC;AACjE,OAAOC,iBAAiB,MAAM,oCAAoC;AAClE,OAAOC,MAAM,MAAM,iBAAa;;AAEhC;AACA;AACA,GAFA;AACA;AACA;AACA,MAAMC,yBAAyB,GAAG;EAChCC,OAAO,EAAEL,oBAAoB,CAACM,QAAQ;EACtCC,EAAE,EAAEP,oBAAoB,CAACM,QAAQ;EAAE;EACnCE,SAAS,EAAER,oBAAoB,CAACS,OAAO;EACvCC,IAAI,EAAEV,oBAAoB,CAACS,OAAO,CAAE;AACtC,CAAC;;AAED;AACA;AACA;AACA;AACA;AAJA,IAMME,YAAY,GAAAC,SAAA,EADjBf,aAAa,CAAE,GAAEE,MAAO,aAAY,CAAC,aAAAc,WAAA,EAAAC,kBAAA;EAAtC,MACMH,YAAY,SAAAG,kBAAA,CAAuC;IAAAC,YAAA,GAAAC,IAAA;MAAA,SAAAA,IAAA;MAAAH,WAAA;IAAA;EAgRzD;EAAC;IAAAI,CAAA,EAhRKN,YAAY;IAAAO,CAAA;MAAAC,IAAA;MAAAC,GAAA;MAAAC,KAAA,EAChB,SAAAC,kBAA0BC,KAAK,EAAE;QAC/B,MAAM;UA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AAC,KAAA,EAED,SAAAkD,OAAA,EAAS;QACP,MAAM;UAAEC,SAAS;UAAEH;QAAS,CAAC,GAAG,IAAI;QACpC,OAAOzE,IAAI,CAAA6E,EAAA,KAAAA,EAAA,GAAAC,CAAC;AAChB,yBAAuB,CAAY,eAAY,CAAW;AAC1D,qCAAmC,CAAS;AAC5C;AACA;AACA,KAAI,GAJqBF,SAAS,EAAeH,QAAQ,EACpBtE,MAAM;MAIzC;;MAEA;AACF;AACA;IAFE;MAAAoB,IAAA;MAAAwD,MAAA;MAAAvD,GAAA;MAAAC,KAAA,EAGA,SAAAsC,kBAAA,EAA+B;QAC7B,OAAQ,GAAE5D,MAAO,aAAY;MAC/B;;MAEA;AACF;AACA;IAFE;MAAAoB,IAAA;MAAAwD,MAAA;MAAAvD,GAAA;MAAAC,KAAA,EAGA,SAAA+C,uBAAA,EAAoC;QAClC,OAAQ,GAAErE,MAAO,kBAAiB;MACpC;;MAEA;AACF;AACA;IAFE;MAAAoB,IAAA;MAAAwD,MAAA;MAAAvD,GAAA;MAAAC,KAAA,EAGA,SAAAK,+BAAA,EAA4C;QAC1C,OAAQ,GAAE3B,MAAO,+BAA8B;MACjD;;MAEA;AACF;AACA;IAFE;MAAAoB,IAAA;MAAAwD,MAAA;MAAAvD,GAAA;MAAAC,KAAA,EAGA,SAAAc,qCAAA,EAAkD;QAChD,OAAQ,GAAEpC,MAAO,qCAAoC;MACvD;IAAC;MAAAoB,IAAA;MAAAwD,MAAA;MAAAvD,GAAA;MAAAC,MAAA;QAAA,OAEelB,MAAM;MAAA;IAAA;EAAA;AAAA,GA/QGD,iBAAiB,CAACP,UAAU,CAAC;AAkRxD,eAAegB,YAAY"}
|
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { css } from 'lit';
|
|
10
10
|
export default css([
|
|
11
|
-
".cds--assistive-text,.cds--visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap}.cds--tile-group html,:host(cds-tile-group) html{font-size:100%}.cds--tile-group body,:host(cds-tile-group) body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--tile-group code,:host(cds-tile-group) code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--tile-group strong,:host(cds-tile-group) strong{font-weight:600}.cds--tile,:host(cds-expandable-tile),:host(cds-tile){position:relative;display:block;min-width:8rem;min-height:4rem;padding:1rem;background-color:var(--cds-layer);outline:2px solid transparent;outline-offset:-2px;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}.cds--tile:focus,:focus:host(cds-expandable-tile),:focus:host(cds-tile){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile:focus,:focus:host(cds-expandable-tile),:focus:host(cds-tile){outline-style:dotted}}.cds--tile--light,:host(cds-expandable-tile[color-scheme=light]),:host(cds-tile[color-scheme=light]){background-color:var(--cds-layer-02,#fff)}.cds--tile--clickable,.cds--tile--selectable,:host(cds-clickable-tile) .cds--tile--clickable{cursor:pointer;transition:150ms cubic-bezier(.2,0,.38,.9)}.cds--tile--clickable:hover,.cds--tile--selectable:hover{background:var(--cds-layer-hover)}.cds--tile--clickable,:host(cds-clickable-tile) .cds--tile--clickable{color:var(--cds-text-primary,#161616);text-decoration:none}.cds--tile--clickable html{font-size:100%}.cds--tile--clickable body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--tile--clickable code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--tile--clickable strong{font-weight:600}.cds--tile--clickable:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile--clickable:focus{outline-style:dotted}}.cds--tile--clickable:focus .cds--tile__checkmark,.cds--tile--clickable:hover .cds--tile__checkmark{opacity:1}.cds--tile--expandable::-moz-focus-inner,:host(cds-expandable-tile)::-moz-focus-inner{border:0}.cds--tile--clickable:active,.cds--tile--clickable:hover,.cds--tile--clickable:visited,.cds--tile--clickable:visited:hover{color:var(--cds-text-primary,#161616);text-decoration:none}.cds--tile--clickable.cds--link--disabled,.cds--tile--clickable:hover.cds--link--disabled{display:block;padding:1rem;background-color:var(--cds-layer);color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--tile--selectable{padding-right:3rem;border:1px solid transparent}.cds--tile__checkmark{position:absolute;top:1rem;right:1rem;height:1rem;border:none;background:0 0;opacity:0;transition:110ms cubic-bezier(.2,0,.38,.9)}.cds--tile__checkmark svg{border-radius:50%;fill:var(--cds-icon-secondary,#525252)}.cds--tile__checkmark:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile__checkmark:focus{outline-style:dotted}}.cds--tile__checkmark--persistent{opacity:1}.cds--tile__chevron,:host(cds-selectable-tile) .cds--tile__chevron{position:absolute;right:0;bottom:0;display:flex;width:3rem;height:3rem;align-items:center;justify-content:center}.cds--tile__chevron svg{fill:var(--cds-icon-primary,#161616);transform-origin:center;transition:110ms cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){.cds--tile__chevron svg{transition:none}}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--tile__chevron svg{fill:ButtonText}}.cds--tile__chevron--interactive{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;position:absolute;right:0;bottom:0;display:flex;width:3rem;height:3rem;align-items:center;justify-content:center}.cds--tile__chevron--interactive *,.cds--tile__chevron--interactive ::after,.cds--tile__chevron--interactive ::before{box-sizing:inherit}.cds--tile__chevron--interactive::-moz-focus-inner{border:0}.cds--tile__chevron--interactive:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}.cds--tile__chevron--interactive:hover{background-color:var(--cds-layer-hover);cursor:pointer}.cds--tile--expandable,:host(cds-expandable-tile){position:relative;overflow:hidden;width:100%;border:0;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left;transition:max-height 150ms cubic-bezier(.2,0,.38,.9);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}.cds--tile--expandable:hover,:hover:host(cds-expandable-tile){background:var(--cds-layer-hover)}.cds--tile--expandable--interactive:host(cds-expandable-tile),.cds--tile--expandable.cds--tile--expandable--interactive{cursor:default;transition:max-height 150ms cubic-bezier(.2,0,.38,.9)}.cds--tile--expandable--interactive:hover:host(cds-expandable-tile),.cds--tile--expandable.cds--tile--expandable--interactive:hover{background-color:var(--cds-layer)}.cds--tile--expandable--interactive:focus:host(cds-expandable-tile),.cds--tile--expandable.cds--tile--expandable--interactive:focus{outline:0}.cds--tile--expandable--interactive:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile--expandable--interactive:focus{outline-style:dotted}}.cds--tile-content__above-the-fold,:host(cds-expandable-tile) ::slotted(cds-tile-above-the-fold-content){display:block}.cds--tile-content__below-the-fold,:host(cds-expandable-tile) ::slotted(cds-tile-below-the-fold-content){display:block;opacity:0;transition:opacity 110ms cubic-bezier(.2,0,.38,.9),visibility 110ms cubic-bezier(.2,0,.38,.9);visibility:hidden}.cds--tile--is-expanded,:host(cds-expandable-tile[expanded]){overflow:visible;transition:max-height 110ms cubic-bezier(.2,0,.38,.9)}.cds--tile--is-expanded .cds--tile__chevron svg,:host(cds-expandable-tile[expanded]) .cds--tile__chevron svg{transform:rotate(180deg)}.cds--tile--is-expanded .cds--tile-content__below-the-fold,.cds--tile--is-expanded :host(cds-expandable-tile) ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile) .cds--tile--is-expanded ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile[expanded]) .cds--tile-content__below-the-fold,:host(cds-expandable-tile[expanded]) ::slotted(cds-tile-below-the-fold-content){opacity:1;transition:opacity 110ms cubic-bezier(.2,0,.38,.9),visibility 110ms cubic-bezier(.2,0,.38,.9);visibility:inherit}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none) and (stroke-color:transparent){.cds--tile--is-expanded .cds--tile-content__below-the-fold,.cds--tile--is-expanded :host(cds-expandable-tile) ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile) .cds--tile--is-expanded ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile[expanded]) .cds--tile-content__below-the-fold,:host(cds-expandable-tile[expanded]) ::slotted(cds-tile-below-the-fold-content){overflow-y:auto}}}.cds--tile--is-selected{border:1px solid var(--cds-layer-selected-inverse,#161616)}.cds--tile--is-selected .cds--tile__checkmark{opacity:1}.cds--tile--is-selected .cds--tile__checkmark svg{fill:var(--cds-icon-primary,#161616)}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--tile--is-selected .cds--tile__checkmark svg{fill:ButtonText}}.cds--tile-content{width:100%;height:100%}.cds--tile-input{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap}.cds--tile-input:focus+.cds--tile,.cds--tile-input:focus+:host(cds-expandable-tile),.cds--tile-input:focus+:host(cds-tile){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile-input:focus+.cds--tile,.cds--tile-input:focus+:host(cds-expandable-tile),.cds--tile-input:focus+:host(cds-tile){outline-style:dotted}}.cds--tile--disabled.cds--tile--selectable{background-color:var(--cds-layer);color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed}.cds--tile--disabled.cds--tile--selectable.cds--tile--light,.cds--tile--disabled.cds--tile--selectable:host(cds-expandable-tile[color-scheme=light]),.cds--tile--disabled.cds--tile--selectable:host(cds-tile[color-scheme=light]){background-color:var(--cds-layer-02,#fff)}.cds--tile--disabled.cds--tile--is-selected{border-color:var(--cds-button-disabled,#c6c6c6)}.cds--tile--disabled .cds--tile__checkmark svg{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}@media screen and (-ms-high-contrast:active),(forced-colors:active){.cds--tile--is-selected .cds--tile__checkmark svg,.cds--tile__checkmark svg,.cds--tile__chevron svg{fill:ButtonText}}.cds--link,:host(cds-tile) ::slotted(.cds--link){box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:inline-flex;color:var(--cds-link-text-color,var(--cds-link-primary,#0f62fe));outline:0;text-decoration:none;transition:color 70ms cubic-bezier(.2,0,.38,.9)}.cds--link *,.cds--link ::after,.cds--link ::before,:host(cds-tile) ::slotted(.cds--link) *,:host(cds-tile) ::slotted(.cds--link) ::after,:host(cds-tile) ::slotted(.cds--link) ::before{box-sizing:inherit}.cds--link:hover,:host(cds-tile) :hover::slotted(.cds--link){color:var(--cds-link-hover-text-color,var(--cds-link-primary-hover,#0043ce));text-decoration:underline}.cds--link:active,.cds--link:active:visited,.cds--link:active:visited:hover,:host(cds-tile) :active::slotted(.cds--link){color:var(--cds-text-primary,#161616);text-decoration:underline}.cds--link:focus,:host(cds-tile) :focus::slotted(.cds--link){outline:1px solid var(--cds-focus,#0f62fe);outline-color:var(--cds-link-focus-text-color,var(--cds-focus,#0f62fe))}@media screen and (prefers-contrast){.cds--link:focus,:host(cds-tile) :focus::slotted(.cds--link){outline-style:dotted}}.cds--link:visited,:host(cds-tile) :visited::slotted(.cds--link){color:var(--cds-link-primary,#0f62fe)}.cds--link:visited:hover,:host(cds-tile) :visited:hover::slotted(.cds--link){color:var(--cds-link-primary-hover,#0043ce)}.cds--link--disabled,.cds--link--disabled:hover{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed;font-weight:400;text-decoration:none}.cds--link--disabled *,.cds--link--disabled ::after,.cds--link--disabled ::before,.cds--link--disabled:hover *,.cds--link--disabled:hover ::after,.cds--link--disabled:hover ::before{box-sizing:inherit}.cds--link.cds--link--visited:visited,:host(cds-tile) .cds--link--visited:visited::slotted(.cds--link){color:var(--cds-link-visited,#8a3ffc)}.cds--link.cds--link--visited:visited:hover,:host(cds-tile) .cds--link--visited:visited:hover::slotted(.cds--link){color:var(--cds-link-primary-hover,#0043ce)}.cds--link.cds--link--inline,:host(cds-tile) .cds--link--inline::slotted(.cds--link){display:inline;text-decoration:underline}.cds--link.cds--link--inline:focus,.cds--link.cds--link--inline:visited,:host(cds-tile) .cds--link--inline:focus::slotted(.cds--link),:host(cds-tile) .cds--link--inline:visited::slotted(.cds--link){text-decoration:none}.cds--link--disabled.cds--link--inline{text-decoration:underline}.cds--link--sm,.cds--link--sm.cds--link--disabled:hover{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px)}.cds--link--lg,.cds--link--lg.cds--link--disabled:hover{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0)}.cds--link__icon{display:inline-flex;align-self:center;margin-left:.5rem}@keyframes hide-feedback{0%{opacity:1;visibility:inherit}100%{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset html{font-size:100%}.cds--fieldset body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--fieldset code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--fieldset strong{font-weight:600}.cds--form-item{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:inline-block;margin-bottom:.5rem;color:var(--cds-text-secondary,#525252);font-weight:400;line-height:1rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label--no-margin{margin-bottom:0}.cds--label+.cds--tooltip{position:relative;top:.2rem;left:.5rem}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger ::after,.cds--label+.cds--tooltip .cds--tooltip__trigger ::before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{top:.2rem;left:.5rem}.cds--label.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:4.6875rem;height:.875rem}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--label.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton::before{animation:none}}input[type=number]{font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(:focus),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(:focus),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:0}.cds--form--fluid .cds--form-requirement{padding:.5rem 2.5rem .5rem 1rem;margin:0}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:none;overflow:hidden;max-height:0;margin:.25rem 0 0}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-top:0}.cds--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);z-index:0;width:100%;margin-top:.25rem;color:var(--cds-text-secondary,#525252);opacity:1}.cds--form__helper-text--disabled,.cds--label--disabled{color:var(--cds-text-disabled,rgba(22,22,22,.25))}fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,rgba(22,22,22,.25))}:host(cds-clickable-tile){display:content;outline:0}:host(cds-clickable-tile) .cds--link--disabled{display:block}:host(cds-clickable-tile) .cds--tile,:host(cds-clickable-tile) :host(cds-expandable-tile),:host(cds-clickable-tile) :host(cds-tile){padding:1rem;outline:2px solid transparent}:host(cds-clickable-tile) .cds--tile--clickable{transition:150ms cubic-bezier(.2,0,.38,.9)}:host(cds-clickable-tile) .cds--tile--clickable:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-clickable-tile) .cds--tile--clickable:focus{outline-style:dotted}}:host(cds-radio-tile){display:block;outline:0;margin-bottom:.5rem}:host(cds-selectable-tile){display:content;outline:0}:host(cds-radio-tile) .cds--tile-input:checked~.cds--tile--selectable .cds--tile__checkmark,:host(cds-selectable-tile) .cds--tile-input:checked~.cds--tile--selectable .cds--tile__checkmark{opacity:1}:host(cds-expandable-tile){position:relative}:host(cds-expandable-tile) .cds--tile__chevron{background:0 0;border:none;outline:0;cursor:pointer}:host(cds-expandable-tile) .cds-ce--expandable-tile--below-the-fold-content{max-height:0;transition:max-height 110ms cubic-bezier(.2,0,.38,.9)}:host(cds-expandable-tile[expanded]) ::slotted(cds-tile-below-the-fold-content){opacity:1;transition:110ms cubic-bezier(.2,0,.38,.9)}",
|
|
11
|
+
".cds--assistive-text,.cds--visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap}.cds--tile-group html,:host(cds-tile-group) html{font-size:100%}.cds--tile-group body,:host(cds-tile-group) body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--tile-group code,:host(cds-tile-group) code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--tile-group strong,:host(cds-tile-group) strong{font-weight:600}.cds--tile,:host(cds-expandable-tile),:host(cds-tile){position:relative;display:block;min-width:8rem;min-height:4rem;padding:1rem;background-color:var(--cds-layer);outline:2px solid transparent;outline-offset:-2px;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}.cds--tile:focus,:focus:host(cds-expandable-tile),:focus:host(cds-tile){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile:focus,:focus:host(cds-expandable-tile),:focus:host(cds-tile){outline-style:dotted}}.cds--tile--light,:host(cds-expandable-tile[color-scheme=light]),:host(cds-tile[color-scheme=light]){background-color:var(--cds-layer-02,#fff)}.cds--tile--clickable,.cds--tile--selectable,:host(cds-clickable-tile) .cds--tile--clickable{cursor:pointer;transition:150ms cubic-bezier(.2,0,.38,.9)}.cds--tile--clickable:hover,.cds--tile--selectable:hover{background:var(--cds-layer-hover)}.cds--tile--clickable,:host(cds-clickable-tile) .cds--tile--clickable{color:var(--cds-text-primary,#161616);text-decoration:none}.cds--tile--clickable html{font-size:100%}.cds--tile--clickable body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--tile--clickable code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--tile--clickable strong{font-weight:600}.cds--tile--clickable:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile--clickable:focus{outline-style:dotted}}.cds--tile--clickable:focus .cds--tile__checkmark,.cds--tile--clickable:hover .cds--tile__checkmark{opacity:1}.cds--tile--expandable::-moz-focus-inner,:host(cds-expandable-tile)::-moz-focus-inner{border:0}.cds--tile--clickable:active,.cds--tile--clickable:hover,.cds--tile--clickable:visited,.cds--tile--clickable:visited:hover{color:var(--cds-text-primary,#161616);text-decoration:none}.cds--tile--clickable.cds--link--disabled,.cds--tile--clickable:hover.cds--link--disabled{display:block;padding:1rem;background-color:var(--cds-layer);color:var(--cds-text-disabled,rgba(22,22,22,.25))}.cds--tile--selectable{padding-right:3rem;border:1px solid transparent}.cds--tile__checkmark{position:absolute;top:1rem;right:1rem;height:1rem;border:none;background:0 0;opacity:0;transition:110ms cubic-bezier(.2,0,.38,.9)}.cds--tile__checkmark svg{border-radius:50%;fill:var(--cds-icon-secondary,#525252)}.cds--tile__checkmark:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile__checkmark:focus{outline-style:dotted}}.cds--tile__checkmark--persistent{opacity:1}.cds--tile__chevron,:host(cds-selectable-tile) .cds--tile__chevron{position:absolute;right:0;bottom:0;display:flex;width:3rem;height:3rem;align-items:center;justify-content:center}.cds--tile__chevron svg{fill:var(--cds-icon-primary,#161616);transform-origin:center;transition:110ms cubic-bezier(.2,0,.38,.9)}@media screen and (prefers-reduced-motion:reduce){.cds--tile__chevron svg{transition:none}}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--tile__chevron svg{fill:ButtonText}}.cds--tile__chevron--interactive{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;position:absolute;right:0;bottom:0;display:flex;width:3rem;height:3rem;align-items:center;justify-content:center}.cds--tile__chevron--interactive *,.cds--tile__chevron--interactive ::after,.cds--tile__chevron--interactive ::before{box-sizing:inherit}.cds--tile__chevron--interactive::-moz-focus-inner{border:0}.cds--tile__chevron--interactive:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}.cds--tile__chevron--interactive:hover{background-color:var(--cds-layer-hover);cursor:pointer}.cds--tile--expandable,:host(cds-expandable-tile){position:relative;overflow:hidden;width:100%;border:0;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;text-align:left;transition:max-height 150ms cubic-bezier(.2,0,.38,.9);font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px)}.cds--tile--expandable:hover,:hover:host(cds-expandable-tile){background:var(--cds-layer-hover)}.cds--tile--expandable--interactive:host(cds-expandable-tile),.cds--tile--expandable.cds--tile--expandable--interactive{cursor:default;transition:max-height 150ms cubic-bezier(.2,0,.38,.9)}.cds--tile--expandable--interactive:hover:host(cds-expandable-tile),.cds--tile--expandable.cds--tile--expandable--interactive:hover{background-color:var(--cds-layer)}.cds--tile--expandable--interactive:focus:host(cds-expandable-tile),.cds--tile--expandable.cds--tile--expandable--interactive:focus{outline:0}.cds--tile--expandable--interactive:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile--expandable--interactive:focus{outline-style:dotted}}.cds--tile-content__above-the-fold,:host(cds-expandable-tile) ::slotted(cds-tile-above-the-fold-content){display:block}.cds--tile-content__below-the-fold,:host(cds-expandable-tile) ::slotted(cds-tile-below-the-fold-content){display:block;opacity:0;transition:opacity 110ms cubic-bezier(.2,0,.38,.9),visibility 110ms cubic-bezier(.2,0,.38,.9);visibility:hidden}.cds--tile--is-expanded,:host(cds-expandable-tile)[expanded]{overflow:visible;transition:max-height 110ms cubic-bezier(.2,0,.38,.9)}.cds--tile--is-expanded .cds--tile__chevron svg,:host(cds-expandable-tile)[expanded] .cds--tile__chevron svg{transform:rotate(180deg)}.cds--tile--is-expanded .cds--tile-content__below-the-fold,.cds--tile--is-expanded :host(cds-expandable-tile) ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile) .cds--tile--is-expanded ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile)[expanded] .cds--tile-content__below-the-fold,:host(cds-expandable-tile)[expanded] ::slotted(cds-tile-below-the-fold-content){opacity:1;transition:opacity 110ms cubic-bezier(.2,0,.38,.9),visibility 110ms cubic-bezier(.2,0,.38,.9);visibility:inherit}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none) and (stroke-color:transparent){.cds--tile--is-expanded .cds--tile-content__below-the-fold,.cds--tile--is-expanded :host(cds-expandable-tile) ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile) .cds--tile--is-expanded ::slotted(cds-tile-below-the-fold-content),:host(cds-expandable-tile)[expanded] .cds--tile-content__below-the-fold,:host(cds-expandable-tile)[expanded] ::slotted(cds-tile-below-the-fold-content){overflow-y:auto}}}.cds--tile--is-selected{border:1px solid var(--cds-layer-selected-inverse,#161616)}.cds--tile--is-selected .cds--tile__checkmark{opacity:1}.cds--tile--is-selected .cds--tile__checkmark svg{fill:var(--cds-icon-primary,#161616)}@media screen and (-ms-high-contrast:active),screen and (prefers-contrast){.cds--tile--is-selected .cds--tile__checkmark svg{fill:ButtonText}}.cds--tile-content{width:100%;height:100%}.cds--tile-input{position:absolute;overflow:hidden;width:1px;height:1px;padding:0;border:0;margin:-1px;clip:rect(0,0,0,0);visibility:inherit;white-space:nowrap}.cds--tile-input:focus+.cds--tile,.cds--tile-input:focus+:host(cds-expandable-tile),.cds--tile-input:focus+:host(cds-tile){outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){.cds--tile-input:focus+.cds--tile,.cds--tile-input:focus+:host(cds-expandable-tile),.cds--tile-input:focus+:host(cds-tile){outline-style:dotted}}.cds--tile--disabled.cds--tile--selectable{background-color:var(--cds-layer);color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed}.cds--tile--disabled.cds--tile--selectable.cds--tile--light,.cds--tile--disabled.cds--tile--selectable:host(cds-expandable-tile[color-scheme=light]),.cds--tile--disabled.cds--tile--selectable:host(cds-tile[color-scheme=light]){background-color:var(--cds-layer-02,#fff)}.cds--tile--disabled.cds--tile--is-selected{border-color:var(--cds-button-disabled,#c6c6c6)}.cds--tile--disabled .cds--tile__checkmark svg{fill:var(--cds-icon-disabled,rgba(22,22,22,.25))}@media screen and (-ms-high-contrast:active),(forced-colors:active){.cds--tile--is-selected .cds--tile__checkmark svg,.cds--tile__checkmark svg,.cds--tile__chevron svg{fill:ButtonText}}.cds--link,:host(cds-tile) ::slotted(.cds--link){box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:inline-flex;color:var(--cds-link-text-color,var(--cds-link-primary,#0f62fe));outline:0;text-decoration:none;transition:color 70ms cubic-bezier(.2,0,.38,.9)}.cds--link *,.cds--link ::after,.cds--link ::before,:host(cds-tile) ::slotted(.cds--link) *,:host(cds-tile) ::slotted(.cds--link) ::after,:host(cds-tile) ::slotted(.cds--link) ::before{box-sizing:inherit}.cds--link:hover,:host(cds-tile) :hover::slotted(.cds--link){color:var(--cds-link-hover-text-color,var(--cds-link-primary-hover,#0043ce));text-decoration:underline}.cds--link:active,.cds--link:active:visited,.cds--link:active:visited:hover,:host(cds-tile) :active::slotted(.cds--link){color:var(--cds-text-primary,#161616);text-decoration:underline}.cds--link:focus,:host(cds-tile) :focus::slotted(.cds--link){outline:1px solid var(--cds-focus,#0f62fe);outline-color:var(--cds-link-focus-text-color,var(--cds-focus,#0f62fe))}@media screen and (prefers-contrast){.cds--link:focus,:host(cds-tile) :focus::slotted(.cds--link){outline-style:dotted}}.cds--link:visited,:host(cds-tile) :visited::slotted(.cds--link){color:var(--cds-link-primary,#0f62fe)}.cds--link:visited:hover,:host(cds-tile) :visited:hover::slotted(.cds--link){color:var(--cds-link-primary-hover,#0043ce)}.cds--link--disabled,.cds--link--disabled:hover{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);color:var(--cds-text-disabled,rgba(22,22,22,.25));cursor:not-allowed;font-weight:400;text-decoration:none}.cds--link--disabled *,.cds--link--disabled ::after,.cds--link--disabled ::before,.cds--link--disabled:hover *,.cds--link--disabled:hover ::after,.cds--link--disabled:hover ::before{box-sizing:inherit}.cds--link.cds--link--visited:visited,:host(cds-tile) .cds--link--visited:visited::slotted(.cds--link){color:var(--cds-link-visited,#8a3ffc)}.cds--link.cds--link--visited:visited:hover,:host(cds-tile) .cds--link--visited:visited:hover::slotted(.cds--link){color:var(--cds-link-primary-hover,#0043ce)}.cds--link.cds--link--inline,:host(cds-tile) .cds--link--inline::slotted(.cds--link){display:inline;text-decoration:underline}.cds--link.cds--link--inline:focus,.cds--link.cds--link--inline:visited,:host(cds-tile) .cds--link--inline:focus::slotted(.cds--link),:host(cds-tile) .cds--link--inline:visited::slotted(.cds--link){text-decoration:none}.cds--link--disabled.cds--link--inline{text-decoration:underline}.cds--link--sm,.cds--link--sm.cds--link--disabled:hover{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px)}.cds--link--lg,.cds--link--lg.cds--link--disabled:hover{font-size:var(--cds-body-compact-02-font-size,1rem);font-weight:var(--cds-body-compact-02-font-weight,400);line-height:var(--cds-body-compact-02-line-height,1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing,0)}.cds--link__icon{display:inline-flex;align-self:center;margin-left:.5rem}@keyframes hide-feedback{0%{opacity:1;visibility:inherit}100%{opacity:0;visibility:hidden}}@keyframes show-feedback{0%{opacity:0;visibility:hidden}100%{opacity:1;visibility:inherit}}@keyframes skeleton{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}input:-webkit-autofill,input:-webkit-autofill:focus,input:-webkit-autofill:hover,textarea:-webkit-autofill,textarea:-webkit-autofill:focus,textarea:-webkit-autofill:hover{box-shadow:0 0 0 1000px var(--cds-field) inset;-webkit-text-fill-color:var(--cds-text-primary,#161616)}.cds--fieldset html{font-size:100%}.cds--fieldset body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--fieldset code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--fieldset strong{font-weight:600}.cds--form-item{font-size:var(--cds-body-compact-01-font-size,.875rem);font-weight:var(--cds-body-compact-01-font-weight,400);line-height:var(--cds-body-compact-01-line-height,1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing,.16px);display:flex;flex:1 1 auto;flex-direction:column;align-items:flex-start}.cds--label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:inline-block;margin-bottom:.5rem;color:var(--cds-text-secondary,#525252);font-weight:400;line-height:1rem;vertical-align:baseline}.cds--label html{font-size:100%}.cds--label body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--label code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--label strong{font-weight:600}.cds--label .cds--toggletip-label{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label--no-margin{margin-bottom:0}.cds--label+.cds--tooltip{position:relative;top:.2rem;left:.5rem}.cds--label+.cds--tooltip .cds--tooltip__trigger{box-sizing:border-box;padding:0;border:0;margin:0;font-family:inherit;font-size:100%;vertical-align:baseline;display:inline-block;padding:0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;cursor:pointer;text-align:start;width:100%;display:flex;align-items:center;justify-content:center;font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px)}.cds--label+.cds--tooltip .cds--tooltip__trigger *,.cds--label+.cds--tooltip .cds--tooltip__trigger ::after,.cds--label+.cds--tooltip .cds--tooltip__trigger ::before{box-sizing:inherit}.cds--label+.cds--tooltip .cds--tooltip__trigger::-moz-focus-inner{border:0}.cds--label+.cds--tooltip .cds--tooltip__trigger:focus{outline:1px solid var(--cds-focus,#0f62fe)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg{fill:var(--cds-icon-secondary,#525252)}.cds--label+.cds--tooltip .cds--tooltip__trigger svg :hover{fill:var(--cds-icon-primary,#161616)}.cds--label+.cds--toggletip{top:.2rem;left:.5rem}.cds--label.cds--skeleton{position:relative;padding:0;border:none;background:var(--cds-skeleton-background,#e8e8e8);box-shadow:none;pointer-events:none;width:4.6875rem;height:.875rem}.cds--label.cds--skeleton:active,.cds--label.cds--skeleton:focus,.cds--label.cds--skeleton:hover{border:none;cursor:default;outline:0}.cds--label.cds--skeleton::before{position:absolute;width:100%;height:100%;animation:3s ease-in-out skeleton infinite;background:var(--cds-skeleton-element,#c6c6c6);content:\"\";will-change:transform-origin,transform,opacity}@media (prefers-reduced-motion:reduce){.cds--label.cds--skeleton::before{animation:none}}input[type=number]{font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif}.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline:2px solid var(--cds-support-error,#da1e28);outline-offset:-2px}@media screen and (prefers-contrast){.cds--combo-box[data-invalid]:not(.cds--multi-select--selected) .cds--text-input:not(:focus),.cds--list-box[data-invalid]:not(.cds--multi-select--invalid--focused),.cds--number[data-invalid] input[type=number]:not(:focus),.cds--select-input__wrapper[data-invalid] .cds--select-input:not(:focus),.cds--text-area__wrapper[data-invalid]>.cds--text-area--invalid:not(:focus),.cds--text-input__field-wrapper[data-invalid]>.cds--text-input--invalid:not(:focus),input[data-invalid]:not(:focus){outline-style:dotted}}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper--warn~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box--warning~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--number__input-wrapper--warning~.cds--form-requirement,.cds--select--warning .cds--select-input__wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper--warn~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper--warning>.cds--text-input~.cds--form-requirement,.cds--text-input__field-wrapper--warning~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{display:block;overflow:visible;max-height:12.5rem;font-weight:400}.cds--date-picker-input__wrapper--invalid~.cds--form-requirement,.cds--date-picker-input__wrapper~.cds--form-requirement,.cds--list-box[data-invalid]~.cds--form-requirement,.cds--number[data-invalid] .cds--number__input-wrapper~.cds--form-requirement,.cds--select-input__wrapper[data-invalid]~.cds--form-requirement,.cds--text-area__wrapper[data-invalid]~.cds--form-requirement,.cds--text-input__field-wrapper[data-invalid]~.cds--form-requirement,.cds--time-picker--invalid~.cds--form-requirement,.cds--time-picker[data-invalid]~.cds--form-requirement,input[data-invalid]~.cds--form-requirement{color:var(--cds-text-error,#da1e28)}.cds--form--fluid .cds--text-input__field-wrapper--warning,.cds--form--fluid .cds--text-input__field-wrapper[data-invalid]{display:block}.cds--form--fluid input[data-invalid]{outline:0}.cds--form--fluid .cds--form-requirement{padding:.5rem 2.5rem .5rem 1rem;margin:0}input:not(output):not([data-invalid]):-moz-ui-invalid{box-shadow:none}.cds--form-requirement{font-size:var(--cds-label-01-font-size,.75rem);font-weight:var(--cds-label-01-font-weight,400);line-height:var(--cds-label-01-line-height,1.33333);letter-spacing:var(--cds-label-01-letter-spacing,.32px);display:none;overflow:hidden;max-height:0;margin:.25rem 0 0}.cds--form-requirement html{font-size:100%}.cds--form-requirement body{font-weight:400;font-family:'IBM Plex Sans',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.cds--form-requirement code{font-family:'IBM Plex Mono',system-ui,-apple-system,BlinkMacSystemFont,'.SFNSText-Regular',monospace}.cds--form-requirement strong{font-weight:600}.cds--select--inline .cds--form__helper-text{margin-top:0}.cds--form__helper-text{font-size:var(--cds-helper-text-01-font-size,.75rem);line-height:var(--cds-helper-text-01-line-height,1.33333);letter-spacing:var(--cds-helper-text-01-letter-spacing,.32px);z-index:0;width:100%;margin-top:.25rem;color:var(--cds-text-secondary,#525252);opacity:1}.cds--form__helper-text--disabled,.cds--label--disabled{color:var(--cds-text-disabled,rgba(22,22,22,.25))}fieldset[disabled] .cds--form__helper-text,fieldset[disabled] .cds--label{color:var(--cds-text-disabled,rgba(22,22,22,.25))}:host(cds-tile-group){background:0 0}:host(cds-clickable-tile){display:grid;outline:0}:host(cds-clickable-tile) .cds--link--disabled{display:block}:host(cds-clickable-tile) .cds--tile,:host(cds-clickable-tile) :host(cds-expandable-tile),:host(cds-clickable-tile) :host(cds-tile){padding:1rem;outline:2px solid transparent}:host(cds-clickable-tile) .cds--tile--clickable{transition:150ms cubic-bezier(.2,0,.38,.9)}:host(cds-clickable-tile) .cds--tile--clickable:focus{outline:2px solid var(--cds-focus,#0f62fe);outline-offset:-2px}@media screen and (prefers-contrast){:host(cds-clickable-tile) .cds--tile--clickable:focus{outline-style:dotted}}:host(cds-clickable-tile):hover .cds--tile--clickable{color:inherit}:host(cds-radio-tile){display:block;outline:0;margin-bottom:.5rem}:host(cds-selectable-tile){display:content;outline:0}:host(cds-radio-tile) .cds--tile-input:checked~.cds--tile--selectable .cds--tile__checkmark,:host(cds-selectable-tile) .cds--tile-input:checked~.cds--tile--selectable .cds--tile__checkmark{opacity:1}:host(cds-expandable-tile) .cds-ce--expandable-tile--below-the-fold-content{max-height:0;transition:max-height 110ms cubic-bezier(.2,0,.38,.9)}:host(cds-expandable-tile)[expanded] ::slotted(cds-tile-below-the-fold-content){opacity:1;transition:110ms cubic-bezier(.2,0,.38,.9)}:host(cds-expandable-tile)[with-interactive]{cursor:default;transition:max-height 150ms cubic-bezier(.2,0,.38,.9)}:host(cds-expandable-tile)[with-interactive]:hover{background-color:var(--cds-layer)}:host(cds-expandable-tile)[with-interactive]:focus{outline:0}:host(cds-expandable-tile):not([with-interactive]) .cds--tile__chevron{background:0 0;border:none;outline:0;cursor:pointer}",
|
|
12
12
|
]);
|