@inera/ids-design 5.3.0 → 5.4.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/components/alert/alert-lit.js +1 -1
- package/components/alert/alert.css +48 -48
- package/components/alert-global/alert-global-lit.js +1 -1
- package/components/alert-global/alert-global.css +68 -92
- package/components/badge/badge-lit.js +1 -1
- package/components/badge/badge.css +10 -6
- package/components/breadcrumbs/breadcrumbs-lit.js +1 -1
- package/components/breadcrumbs/breadcrumbs.css +48 -25
- package/components/button-group/button-group-lit.js +1 -1
- package/components/button-group/button-group.css +1 -1
- package/components/card/card-lit.js +1 -1
- package/components/card/card.css +26 -17
- package/components/carousel/carousel-item-lit.d.ts +2 -0
- package/components/carousel/carousel-item-lit.js +7 -0
- package/components/carousel/carousel-item.css +67 -0
- package/components/carousel/carousel-lit.d.ts +2 -0
- package/components/carousel/carousel-lit.js +7 -0
- package/components/carousel/carousel.css +156 -0
- package/components/data-table/data-table-lit.js +1 -1
- package/components/data-table/data-table.css +28 -28
- package/components/date-label/date-label-lit.js +1 -1
- package/components/date-label/date-label.css +13 -13
- package/components/dialog/dialog-lit.js +1 -1
- package/components/dialog/dialog.css +43 -47
- package/components/dropdown/dropdown-lit.js +1 -1
- package/components/dropdown/dropdown.css +21 -21
- package/components/expandable/expandable-lit.js +1 -1
- package/components/expandable/expandable.css +38 -37
- package/components/footer/footer-lit.js +1 -1
- package/components/footer/footer.css +49 -49
- package/components/footer-1177/footer-1177-lit.js +1 -1
- package/components/footer-1177/footer-1177.css +72 -70
- package/components/footer-1177-admin/footer-1177-admin-lit.js +1 -1
- package/components/footer-1177-admin/footer-1177-admin.css +75 -71
- package/components/footer-1177-pro/footer-1177-pro-lit.js +1 -1
- package/components/footer-1177-pro/footer-1177-pro.css +38 -39
- package/components/footer-inera/footer-inera-lit.js +1 -1
- package/components/footer-inera/footer-inera.css +84 -84
- package/components/footer-inera-admin/footer-inera-admin-lit.js +1 -1
- package/components/footer-inera-admin/footer-inera-admin.css +111 -110
- package/components/form/error-message/error-message-lit.js +1 -1
- package/components/form/error-message/error-message.css +9 -9
- package/components/form/group/group-lit.js +1 -1
- package/components/form/group/group.css +7 -7
- package/components/form/range/range-lit.js +1 -1
- package/components/form/range/range.css +15 -16
- package/components/form/select-multiple/select-multiple-lit.js +1 -1
- package/components/form/select-multiple/select-multiple.css +44 -35
- package/components/form/spinner/spinner-lit.js +1 -1
- package/components/form/spinner/spinner.css +9 -8
- package/components/grid/column/column-lit.js +1 -1
- package/components/grid/column/column.css +12 -0
- package/components/header-1177/composite-header-1177.css +413 -394
- package/components/header-1177/header-1177-avatar-lit.js +1 -1
- package/components/header-1177/header-1177-avatar.css +42 -34
- package/components/header-1177/header-1177-item-lit.js +1 -1
- package/components/header-1177/header-1177-item.css +47 -43
- package/components/header-1177/header-1177-lit.js +1 -1
- package/components/header-1177/header-1177-nav-item-lit.js +1 -1
- package/components/header-1177/header-1177-nav-item-mobile-lit.js +1 -1
- package/components/header-1177/header-1177-nav-item-mobile.css +39 -40
- package/components/header-1177/header-1177-nav-item.css +141 -141
- package/components/header-1177/header-1177-nav-lit.js +1 -1
- package/components/header-1177/header-1177-nav.css +22 -22
- package/components/header-1177/header-1177.css +125 -117
- package/components/header-1177-admin/header-1177-admin-avatar-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-avatar-mobile-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-avatar-mobile.css +17 -17
- package/components/header-1177-admin/header-1177-admin-avatar.css +62 -61
- package/components/header-1177-admin/header-1177-admin-item-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-item.css +53 -37
- package/components/header-1177-admin/header-1177-admin-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-item-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-nav-item.css +149 -149
- package/components/header-1177-admin/header-1177-admin-nav-lit.js +1 -1
- package/components/header-1177-admin/header-1177-admin-nav.css +16 -16
- package/components/header-1177-admin/header-1177-admin.css +74 -72
- package/components/header-1177-pro/header-1177-pro-avatar-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-avatar-mobile-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-avatar-mobile.css +18 -17
- package/components/header-1177-pro/header-1177-pro-avatar.css +67 -65
- package/components/header-1177-pro/header-1177-pro-item-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-item.css +17 -13
- package/components/header-1177-pro/header-1177-pro-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-item-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-item.css +137 -137
- package/components/header-1177-pro/header-1177-pro-nav-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-menu-mobile-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-nav-menu-mobile.css +32 -32
- package/components/header-1177-pro/header-1177-pro-nav.css +20 -24
- package/components/header-1177-pro/header-1177-pro-region-picker-lit.js +1 -1
- package/components/header-1177-pro/header-1177-pro-region-picker.css +81 -77
- package/components/header-1177-pro/header-1177-pro.css +63 -63
- package/components/header-inera/header-inera-item-lit.js +1 -1
- package/components/header-inera/header-inera-item.css +15 -12
- package/components/header-inera/header-inera-lit.js +1 -1
- package/components/header-inera/header-inera-nav-item-lit.js +1 -1
- package/components/header-inera/header-inera-nav-item.css +37 -50
- package/components/header-inera/header-inera-nav-lit.js +1 -1
- package/components/header-inera/header-inera-nav-mobile-lit.js +1 -1
- package/components/header-inera/header-inera-nav-mobile.css +49 -48
- package/components/header-inera/header-inera-nav.css +2 -2
- package/components/header-inera/header-inera.css +17 -17
- package/components/header-inera-admin/composite-header-inera-admin.css +152 -170
- package/components/header-inera-admin/header-inera-admin-avatar-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-avatar-mobile-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-avatar-mobile.css +9 -9
- package/components/header-inera-admin/header-inera-admin-avatar.css +22 -21
- package/components/header-inera-admin/header-inera-admin-item-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-item.css +11 -11
- package/components/header-inera-admin/header-inera-admin-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-item-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-item.css +42 -50
- package/components/header-inera-admin/header-inera-admin-nav-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-mobile-lit.js +1 -1
- package/components/header-inera-admin/header-inera-admin-nav-mobile.css +49 -48
- package/components/header-inera-admin/header-inera-admin-nav.css +2 -2
- package/components/header-inera-admin/header-inera-admin.css +30 -30
- package/components/list/list-lit.js +1 -1
- package/components/list/list.css +38 -21
- package/components/mobile-menu/mobile-menu-lit.js +1 -1
- package/components/mobile-menu/mobile-menu.css +413 -408
- package/components/navigation/content/navigation-content-lit.js +1 -1
- package/components/navigation/content/navigation-content.css +15 -15
- package/components/navigation/local/navigation-local-lit.js +1 -1
- package/components/navigation/local/navigation-local.css +13 -13
- package/components/notification-badge/notification-badge-lit.js +1 -1
- package/components/notification-badge/notification-badge.css +2 -2
- package/components/pagination/data-pagination/data-pagination-lit.js +1 -1
- package/components/pagination/data-pagination/data-pagination.css +23 -23
- package/components/pagination/list-pagination/list-pagination-lit.js +1 -1
- package/components/pagination/list-pagination/list-pagination.css +32 -29
- package/components/popover/popover-content-lit.js +1 -1
- package/components/popover/popover-content.css +74 -82
- package/components/progressbar/progressbar-lit.js +1 -1
- package/components/progressbar/progressbar.css +12 -12
- package/components/side-menu/side-menu-lit.js +1 -1
- package/components/side-menu/side-menu.css +32 -32
- package/components/side-panel/side-panel-lit.js +1 -1
- package/components/side-panel/side-panel.css +83 -101
- package/components/stepper/stepper-lit.js +1 -1
- package/components/stepper/stepper.css +28 -24
- package/components/table/table.css +5 -5
- package/components/tabs/tab-lit.js +1 -1
- package/components/tabs/tab-panel-lit.js +1 -1
- package/components/tabs/tab-panel.css +2 -2
- package/components/tabs/tab.css +24 -24
- package/components/tabs/tabs-lit.js +2 -2
- package/components/tabs/tabs.css +6 -6
- package/components/tag/tag-lit.js +1 -1
- package/components/tag/tag.css +19 -43
- package/components/tooltip/tooltip-lit.js +1 -1
- package/components/tooltip/tooltip.css +11 -14
- package/global/_partials.css +1 -1
- package/global/global.css +404 -356
- package/global/util/util.css +7 -5
- package/package.json +1 -1
- package/themes/1177/1177.css +812 -822
- package/themes/1177-pro/1177-pro.css +912 -929
- package/themes/inera/inera.css +812 -858
- package/themes/inera-admin/inera-admin.css +860 -934
- package/themes/reset.css +1 -1
package/components/tabs/tab.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* BUTTONS
|
|
3
3
|
********/
|
|
4
4
|
/*******
|
|
5
|
-
*
|
|
5
|
+
* SCROLLBARS
|
|
6
6
|
********/
|
|
7
7
|
/*******
|
|
8
8
|
* FORM
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
* A11Y
|
|
12
12
|
********/
|
|
13
13
|
:host {
|
|
14
|
-
border-radius: var(--IDS-
|
|
14
|
+
border-radius: var(--IDS-TAB__BORDER-RADIUS);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:host(:not([selected]):focus) {
|
|
18
|
-
outline: var(--
|
|
19
|
-
outline-offset:
|
|
18
|
+
outline: var(--IDS-FOCUS__OUTLINE);
|
|
19
|
+
outline-offset: 0.125rem;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.ids-tab {
|
|
23
|
-
min-width:
|
|
24
|
-
min-height:
|
|
23
|
+
min-width: 1.5rem;
|
|
24
|
+
min-height: 1.5rem;
|
|
25
25
|
background: none;
|
|
26
26
|
color: inherit;
|
|
27
27
|
border: none;
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
outline: none;
|
|
39
39
|
justify-content: center;
|
|
40
40
|
align-items: flex-end;
|
|
41
|
-
padding:
|
|
41
|
+
padding: 0.625rem 1.438rem 0.875rem 1.438rem;
|
|
42
42
|
background: var(--IDS-TAB_BACKGROUND-COLOR);
|
|
43
43
|
box-shadow: var(--IDS-TAB_BOX-SHADOW);
|
|
44
|
-
border-radius: var(--IDS-
|
|
45
|
-
border: var(--IDS-
|
|
44
|
+
border-radius: var(--IDS-TAB__BORDER-RADIUS);
|
|
45
|
+
border: var(--IDS-TAB__BORDER);
|
|
46
46
|
cursor: pointer;
|
|
47
47
|
position: relative;
|
|
48
48
|
-webkit-touch-callout: none;
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
display: flex;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
justify-content: center;
|
|
59
|
-
color: var(--IDS-
|
|
59
|
+
color: var(--IDS-TAB__COLOR);
|
|
60
60
|
font-weight: 400;
|
|
61
61
|
font-size: 1rem;
|
|
62
62
|
}
|
|
63
63
|
.ids-tab ids-notification-badge {
|
|
64
|
-
margin-left:
|
|
65
|
-
margin-bottom: -
|
|
64
|
+
margin-left: 0.375rem;
|
|
65
|
+
margin-bottom: -0.125rem;
|
|
66
66
|
}
|
|
67
67
|
.ids-tab:has(.ids-tab__icon) .ids-tab__label, .ids-tab.ids-tab--has-icon .ids-tab__label {
|
|
68
|
-
margin-bottom: -
|
|
69
|
-
line-height:
|
|
68
|
+
margin-bottom: -0.438rem;
|
|
69
|
+
line-height: 2.188rem;
|
|
70
70
|
}
|
|
71
71
|
.ids-tab ::slotted([slot=icon]),
|
|
72
72
|
.ids-tab .ids-icon {
|
|
@@ -75,26 +75,26 @@
|
|
|
75
75
|
}
|
|
76
76
|
.ids-tab:after {
|
|
77
77
|
content: "";
|
|
78
|
-
height: var(--IDS-TAB--
|
|
78
|
+
height: var(--IDS-TAB--SELECTED__AFTER-HEIGHT);
|
|
79
79
|
background-color: transparent;
|
|
80
80
|
position: absolute;
|
|
81
|
-
width: calc(100% +
|
|
82
|
-
left: -
|
|
83
|
-
right:
|
|
84
|
-
bottom: var(--IDS-TAB--
|
|
81
|
+
width: calc(100% + 0.125rem);
|
|
82
|
+
left: -0.063rem;
|
|
83
|
+
right: 0;
|
|
84
|
+
bottom: var(--IDS-TAB--SELECTED__AFTER-BOTTOM);
|
|
85
85
|
}
|
|
86
86
|
.ids-tab.ids-tab--selected {
|
|
87
|
-
background-color:
|
|
87
|
+
background-color: var(--IDS-COLOR-NEUTRAL-100);
|
|
88
88
|
border: var(--IDS-TAB--SELECTED-BORDER);
|
|
89
|
-
box-shadow: var(--IDS-TAB--
|
|
89
|
+
box-shadow: var(--IDS-TAB--SELECTED__BOX-SHADOW);
|
|
90
90
|
}
|
|
91
91
|
.ids-tab.ids-tab--selected .ids-tab__label {
|
|
92
92
|
color: var(--IDS-TAB--SELECTED_COLOR);
|
|
93
93
|
}
|
|
94
94
|
.ids-tab.ids-tab--selected:after {
|
|
95
|
-
background-color: var(--IDS-TAB--
|
|
95
|
+
background-color: var(--IDS-TAB--SELECTED__AFTER-BACKGROUND-COLOR);
|
|
96
96
|
}
|
|
97
97
|
.ids-tab:focus {
|
|
98
|
-
outline: var(--IDS-
|
|
99
|
-
outline-offset: var(--IDS-
|
|
98
|
+
outline: var(--IDS-FOCUS__OUTLINE);
|
|
99
|
+
outline-offset: var(--IDS-FOCUS__OUTLINE-OFFSET) !important;
|
|
100
100
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
|
|
3
|
-
var css_248z$1 = ".ids-tabs{align-items:flex-end;border-bottom:var(--IDS-
|
|
3
|
+
var css_248z$1 = ".ids-tabs{align-items:flex-end;border-bottom:var(--IDS-TABS__BORDER-BOTTOM);display:flex;gap:.188rem;height:3rem;padding:0 1.25rem;position:relative}.ids-tabs.ids-tabs--unresponsive{display:flex!important}.ids-tabs.ids-tabs--has-icons{height:4.7rem}.ids-tabs:before{bottom:0;box-shadow:inset 0 -.25rem .25rem -.25rem rgba(0,0,0,.2);content:var(--IDS-TAB--SELECTED__BEFORE-CONTENT);height:.625rem;left:0;pointer-events:none;position:absolute;right:0}.ids-tab-panels{position:relative;z-index:1}";
|
|
4
4
|
|
|
5
|
-
var css_248z = ".ids-select{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;background-color:var(--IDS-INPUT__BACKGROUND-COLOR);border
|
|
5
|
+
var css_248z = ".ids-select{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;background-color:var(--IDS-INPUT__BACKGROUND-COLOR);border:var(--IDS-INPUT__BORDER);border-radius:var(--IDS-INPUT__BORDER-RADIUS);color:var(--IDS-INPUT__COLOR);cursor:pointer;display:block;display:inline-block!important;font-family:var(--IDS-FONT-FAMILY-BASE)!important;font-size:1rem;height:var(--IDS-INPUT__HEIGHT);overflow:hidden;padding:var(--IDS-INPUT__PADDING);padding-right:var(--IDS-INPUT__ICON-PADDING-RIGHT)!important;text-align:left;text-overflow:ellipsis;width:100%!important}.ids-select.ids-input--light:disabled,.ids-select:disabled{background:var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);border:var(--IDS-FORM--DISABLED__BORDER);color:var(--IDS-FORM--DISABLED__COLOR);font-style:italic!important}.ids-select.ids-input--light.ids-input--invalid{background-color:var(--IDS-FORM--INVALID__BACKGROUND-COLOR)}.ids-select.ids-input--invalid{background:var(--IDS-FORM--INVALID__BACKGROUND-COLOR);border:var(--IDS-FORM--INVALID__BORDER);box-shadow:inset 0 0 0 .0625rem var(--IDS-FORM--INVALID__BORDER-COLOR)}.ids-select.ids-input--light{background-color:var(--IDS-COLOR-NEUTRAL-100)}.ids-select.ids-input--light.ids-input--invalid{background:var(--IDS-FORM--INVALID__BACKGROUND-COLOR);border:var(--IDS-FORM--INVALID__BORDER);box-shadow:inset 0 0 0 .0625rem var(--IDS-FORM--INVALID__BORDER-COLOR)}.ids-select:disabled{cursor:default}.ids-select:disabled.ids-input--light{background-color:var(--IDS-COLOR-NEUTRAL-100);background:var(--IDS-FORM--DISABLED__BACKGROUND-COLOR);border:var(--IDS-FORM--DISABLED__BORDER);color:var(--IDS-FORM--DISABLED__COLOR);font-style:italic!important}.ids-select:focus{outline:var(--IDS-FOCUS__OUTLINE);outline-offset:var(--IDS-FOCUS__OUTLINE-OFFSET)!important}.ids-select-wrapper{display:flex;position:relative}.ids-select-wrapper:after{background-image:var(--IDS-SELECT__CHEVRON-ICON);background-position:50%;background-repeat:no-repeat;bottom:0;content:\"\";display:block;height:100%;pointer-events:none;position:absolute;right:var(--IDS-INPUT__ICON-RIGHT);top:0;transform:rotate(90deg);width:.75rem}.ids-select-wrapper:has(.ids-input--invalid):after{background-image:var(--IDS-SELECT--INVALID__CHEVRON-ICON)}.ids-select-wrapper:has(.ids-select:disabled):after{background-image:var(--IDS-SELECT--DISABLED__CHEVRON-ICON)}";
|
|
6
6
|
|
|
7
7
|
var tabsLit = css`${unsafeCSS(css_248z)} ${unsafeCSS(css_248z$1)}`;
|
|
8
8
|
|
package/components/tabs/tabs.css
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
.ids-tabs {
|
|
2
2
|
display: flex;
|
|
3
|
-
border-bottom: var(--IDS-
|
|
4
|
-
gap:
|
|
3
|
+
border-bottom: var(--IDS-TABS__BORDER-BOTTOM);
|
|
4
|
+
gap: 0.188rem;
|
|
5
5
|
position: relative;
|
|
6
6
|
align-items: flex-end;
|
|
7
7
|
height: 3rem;
|
|
8
|
-
padding:
|
|
8
|
+
padding: 0 1.25rem;
|
|
9
9
|
}
|
|
10
10
|
.ids-tabs.ids-tabs--unresponsive {
|
|
11
11
|
display: flex !important;
|
|
12
12
|
}
|
|
13
13
|
.ids-tabs.ids-tabs--has-icons {
|
|
14
|
-
height: 4.
|
|
14
|
+
height: 4.7rem;
|
|
15
15
|
}
|
|
16
16
|
.ids-tabs::before {
|
|
17
|
-
content: var(--IDS-TAB--
|
|
18
|
-
box-shadow: 0 -
|
|
17
|
+
content: var(--IDS-TAB--SELECTED__BEFORE-CONTENT);
|
|
18
|
+
box-shadow: 0 -0.25rem 0.25rem -0.25rem rgba(0, 0, 0, 0.2) inset;
|
|
19
19
|
position: absolute;
|
|
20
20
|
left: 0;
|
|
21
21
|
right: 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".ids-tag{align-content:center;align-items:center;background-color:var(--IDS-TAG__BACKGROUND-COLOR);border
|
|
3
|
+
var css_248z = ".ids-tag{align-content:center;align-items:center;background-color:var(--IDS-TAG__BACKGROUND-COLOR);border:.063rem solid var(--IDS-TAG__BORDER-COLOR);border-radius:var(--IDS-TAG__BORDER-RADIUS);color:var(--IDS-TAG__COLOR);display:inline-flex;flex-wrap:wrap;font-family:var(--IDS-TAG__FONT-FAMILY);font-weight:400;justify-content:center;line-height:1rem;padding:var(--IDS-TAG__PADDING)}.ids-tag.ids-tag--interactive{border-color:var(--IDS-TAG--INTERACTIVE__BORDER-COLOR);color:var(--IDS-TAG--INTERACTIVE__COLOR);cursor:pointer;font-weight:var(--IDS-TAG--INTERACTIVE__FONT-WEIGHT)}.ids-tag.ids-tag--interactive:focus{outline:var(--IDS-FOCUS__OUTLINE);outline-offset:var(--IDS-FOCUS__OUTLINE-OFFSET)}.ids-tag.ids-tag--interactive:hover{color:var(--IDS-TAG--INTERACTIVE-HOVER__COLOR)}.ids-tag .ids-tag__close-btn-icon{background-color:var(--IDS-ICON__COLOR);height:.875rem;mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' height='40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.268.732A2.5 2.5 0 0 0 .732 4.268L16.464 20 .733 35.732a2.5 2.5 0 0 0 3.536 3.536L20 23.535l15.732 15.733a2.5 2.5 0 0 0 3.536-3.536L23.535 20 39.269 4.268A2.5 2.5 0 1 0 35.732.732L20 16.464 4.268.733Z' fill='%23000'/%3E%3C/svg%3E\");mask-size:cover;width:.875rem}.ids-tag .ids-tag__close-btn{align-items:center;background:none;border:none;border-radius:1.25rem;color:inherit;cursor:pointer;display:flex;font:inherit;height:1.5rem;justify-content:center;margin:-.5rem -.5rem -.5rem .5rem;min-height:1.5rem;min-width:1.5rem;outline:inherit;padding:0;-moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:1.5rem}.ids-tag .ids-tag__close-btn:focus{outline:var(--IDS-FOCUS__OUTLINE);outline-offset:var(--IDS-FOCUS__OUTLINE-OFFSET)!important}.ids-tag .ids-tag__close-btn:active .ids-tag__close-btn-icon,.ids-tag .ids-tag__close-btn:focus .ids-tag__close-btn-icon,.ids-tag .ids-tag__close-btn:hover .ids-tag__close-btn-icon{background-color:var(--IDS-ICON--ACTIVE__COLOR);mask-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='40' height='40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.268.732A2.5 2.5 0 0 0 .732 4.268L16.464 20 .733 35.732a2.5 2.5 0 0 0 3.536 3.536L20 23.535l15.732 15.733a2.5 2.5 0 0 0 3.536-3.536L23.535 20 39.269 4.268A2.5 2.5 0 1 0 35.732.732L20 16.464 4.268.733Z' fill='%23000'/%3E%3C/svg%3E\");mask-size:cover}";
|
|
4
4
|
|
|
5
5
|
var tagLit = css`${unsafeCSS(css_248z)}`;
|
|
6
6
|
|
package/components/tag/tag.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* BUTTONS
|
|
3
3
|
********/
|
|
4
4
|
/*******
|
|
5
|
-
*
|
|
5
|
+
* SCROLLBARS
|
|
6
6
|
********/
|
|
7
7
|
/*******
|
|
8
8
|
* FORM
|
|
@@ -10,36 +10,12 @@
|
|
|
10
10
|
/*******
|
|
11
11
|
* A11Y
|
|
12
12
|
********/
|
|
13
|
-
/* css classes that need !important */
|
|
14
|
-
/* @mixin ids-icon-close-svg-important($color) {
|
|
15
|
-
background-color: var($color) !important;
|
|
16
|
-
mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" role="img" fill="none" width="20" height="20" style="" viewBox="0 0 40 40" aria-hidden="true"><!--%3Flit$332566053$--><path xmlns="http://www.w3.org/2000/svg" d="M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z" fill="%23396291"></path></svg>') !important;
|
|
17
|
-
mask-size: cover !important;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.ids-icon__close {
|
|
21
|
-
@include ids-icon-close-svg-important(--IDS-ICON-COLOR);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.ids-icon__close-active {
|
|
25
|
-
@include ids-icon-close-svg-important(--IDS-ICON-ACTIVE-COLOR);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ids-icon__close-interactive {
|
|
29
|
-
@include ids-icon-close-svg-important(--IDS-ICON-COLOR);
|
|
30
|
-
|
|
31
|
-
&:hover,
|
|
32
|
-
&:focus,
|
|
33
|
-
&:active {
|
|
34
|
-
@include ids-icon-close-svg-important(--IDS-ICON-ACTIVE-COLOR);
|
|
35
|
-
}
|
|
36
|
-
} */
|
|
37
13
|
.ids-tag {
|
|
38
14
|
font-family: var(--IDS-TAG__FONT-FAMILY);
|
|
39
15
|
font-weight: 400;
|
|
40
16
|
color: var(--IDS-TAG__COLOR);
|
|
41
17
|
padding: var(--IDS-TAG__PADDING);
|
|
42
|
-
border:
|
|
18
|
+
border: 0.063rem solid var(--IDS-TAG__BORDER-COLOR);
|
|
43
19
|
background-color: var(--IDS-TAG__BACKGROUND-COLOR);
|
|
44
20
|
border-radius: var(--IDS-TAG__BORDER-RADIUS);
|
|
45
21
|
display: inline-flex;
|
|
@@ -56,22 +32,22 @@
|
|
|
56
32
|
font-weight: var(--IDS-TAG--INTERACTIVE__FONT-WEIGHT);
|
|
57
33
|
}
|
|
58
34
|
.ids-tag.ids-tag--interactive:focus {
|
|
59
|
-
outline: var(--
|
|
60
|
-
outline-offset: var(--
|
|
35
|
+
outline: var(--IDS-FOCUS__OUTLINE);
|
|
36
|
+
outline-offset: var(--IDS-FOCUS__OUTLINE-OFFSET);
|
|
61
37
|
}
|
|
62
38
|
.ids-tag.ids-tag--interactive:hover {
|
|
63
|
-
color: var(--IDS-TAG--
|
|
39
|
+
color: var(--IDS-TAG--INTERACTIVE-HOVER__COLOR);
|
|
64
40
|
}
|
|
65
41
|
.ids-tag .ids-tag__close-btn-icon {
|
|
66
|
-
background-color: var(--IDS-
|
|
67
|
-
mask-image: url(
|
|
42
|
+
background-color: var(--IDS-ICON__COLOR);
|
|
43
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z' fill='black'/%3E%3C/svg%3E");
|
|
68
44
|
mask-size: cover;
|
|
69
|
-
width:
|
|
70
|
-
height:
|
|
45
|
+
width: 0.875rem;
|
|
46
|
+
height: 0.875rem;
|
|
71
47
|
}
|
|
72
48
|
.ids-tag .ids-tag__close-btn {
|
|
73
|
-
min-width:
|
|
74
|
-
min-height:
|
|
49
|
+
min-width: 1.5rem;
|
|
50
|
+
min-height: 1.5rem;
|
|
75
51
|
background: none;
|
|
76
52
|
color: inherit;
|
|
77
53
|
border: none;
|
|
@@ -84,20 +60,20 @@
|
|
|
84
60
|
-webkit-user-select: none;
|
|
85
61
|
-ms-user-select: none;
|
|
86
62
|
user-select: none;
|
|
87
|
-
width:
|
|
88
|
-
height:
|
|
63
|
+
width: 1.5rem;
|
|
64
|
+
height: 1.5rem;
|
|
89
65
|
display: flex;
|
|
90
|
-
border-radius:
|
|
91
|
-
margin: -
|
|
66
|
+
border-radius: 1.25rem;
|
|
67
|
+
margin: -0.5rem -0.5rem -0.5rem 0.5rem;
|
|
92
68
|
justify-content: center;
|
|
93
69
|
align-items: center;
|
|
94
70
|
}
|
|
95
71
|
.ids-tag .ids-tag__close-btn:focus {
|
|
96
|
-
outline: var(--IDS-
|
|
97
|
-
outline-offset:
|
|
72
|
+
outline: var(--IDS-FOCUS__OUTLINE);
|
|
73
|
+
outline-offset: var(--IDS-FOCUS__OUTLINE-OFFSET) !important;
|
|
98
74
|
}
|
|
99
75
|
.ids-tag .ids-tag__close-btn:hover .ids-tag__close-btn-icon, .ids-tag .ids-tag__close-btn:focus .ids-tag__close-btn-icon, .ids-tag .ids-tag__close-btn:active .ids-tag__close-btn-icon {
|
|
100
|
-
background-color: var(--IDS-ICON
|
|
101
|
-
mask-image: url(
|
|
76
|
+
background-color: var(--IDS-ICON--ACTIVE__COLOR);
|
|
77
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.26777 0.732233C3.29146 -0.244078 1.70854 -0.244078 0.732233 0.732233C-0.244078 1.70854 -0.244078 3.29146 0.732233 4.26777L16.4645 20L0.732233 35.7322C-0.244078 36.7085 -0.244078 38.2915 0.732233 39.2678C1.70854 40.2441 3.29146 40.2441 4.26777 39.2678L20 23.5355L35.7322 39.2678C36.7085 40.2441 38.2915 40.2441 39.2678 39.2678C40.2441 38.2915 40.2441 36.7085 39.2678 35.7322L23.5355 20L39.2678 4.26777C40.2441 3.29146 40.2441 1.70854 39.2678 0.732233C38.2915 -0.244078 36.7085 -0.244078 35.7322 0.732233L20 16.4645L4.26777 0.732233Z' fill='black'/%3E%3C/svg%3E");
|
|
102
78
|
mask-size: cover;
|
|
103
79
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, unsafeCSS } from 'lit';
|
|
2
2
|
|
|
3
|
-
var css_248z = "
|
|
3
|
+
var css_248z = ".ids-tooltip{display:inline-block;position:relative!important}.ids-tooltip .ids-tooltip__trigger{display:inline}.ids-tooltip .ids-tooltip__content{background-color:var(--IDS-COLOR-NEUTRAL-100);border:.063rem solid var(--IDS-TOOLTIP__BORDER-COLOR);border-radius:var(--IDS-BORDER-RADIUS);box-shadow:0 0 .625rem rgba(0,0,0,.3);box-sizing:border-box;color:var(--IDS-TOOLTIP__COLOR);display:none;max-width:90vw;padding:.625rem 1.25rem;position:absolute;text-align:left;width:max-content;z-index:2}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-left{left:0;top:-.625rem;transform:translateY(-100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top{left:50%;top:-.625rem;transform:translate(-50%,-100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-right{right:0;top:-.625rem;transform:translateY(-100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-left{bottom:-.625rem;left:0;transform:translateY(100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom{bottom:-.625rem;left:50%;right:auto;transform:translate(-50%,100%)}.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-right{bottom:-.625rem;right:0;transform:translateY(100%)}.ids-tooltip:focus-within .ids-tooltip__content,.ids-tooltip:hover .ids-tooltip__content{display:inline-block}";
|
|
4
4
|
|
|
5
5
|
var tooltipLit = css`${unsafeCSS(css_248z)}`;
|
|
6
6
|
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.ids-tooltip {
|
|
6
2
|
display: inline-block;
|
|
7
3
|
position: relative !important;
|
|
@@ -18,41 +14,42 @@
|
|
|
18
14
|
width: max-content;
|
|
19
15
|
max-width: 90vw;
|
|
20
16
|
z-index: 2;
|
|
21
|
-
background-color:
|
|
22
|
-
border:
|
|
23
|
-
box-shadow: 0 0
|
|
17
|
+
background-color: var(--IDS-COLOR-NEUTRAL-100);
|
|
18
|
+
border: 0.063rem solid var(--IDS-TOOLTIP__BORDER-COLOR);
|
|
19
|
+
box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.3);
|
|
24
20
|
border-radius: var(--IDS-BORDER-RADIUS);
|
|
25
|
-
padding:
|
|
21
|
+
padding: 0.625rem 1.25rem;
|
|
26
22
|
}
|
|
27
23
|
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-left {
|
|
28
24
|
left: 0;
|
|
29
25
|
transform: translateY(-100%);
|
|
30
|
-
top: -
|
|
26
|
+
top: -0.625rem;
|
|
31
27
|
}
|
|
32
28
|
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top {
|
|
33
29
|
left: 50%;
|
|
34
30
|
transform: translate(-50%, -100%);
|
|
35
|
-
top: -
|
|
31
|
+
top: -0.625rem;
|
|
36
32
|
}
|
|
37
33
|
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--top-right {
|
|
38
34
|
right: 0;
|
|
39
35
|
transform: translateY(-100%);
|
|
40
|
-
top: -
|
|
36
|
+
top: -0.625rem;
|
|
41
37
|
}
|
|
42
38
|
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-left {
|
|
43
39
|
left: 0;
|
|
44
40
|
transform: translateY(100%);
|
|
45
|
-
bottom: -
|
|
41
|
+
bottom: -0.625rem;
|
|
46
42
|
}
|
|
47
43
|
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom {
|
|
48
44
|
left: 50%;
|
|
45
|
+
right: auto;
|
|
49
46
|
transform: translate(-50%, 100%);
|
|
50
|
-
bottom: -
|
|
47
|
+
bottom: -0.625rem;
|
|
51
48
|
}
|
|
52
49
|
.ids-tooltip .ids-tooltip__content.ids-tooltip__content--bottom-right {
|
|
53
50
|
right: 0;
|
|
54
51
|
transform: translateY(100%);
|
|
55
|
-
bottom: -
|
|
52
|
+
bottom: -0.625rem;
|
|
56
53
|
}
|
|
57
54
|
.ids-tooltip:focus-within .ids-tooltip__content, .ids-tooltip:hover .ids-tooltip__content {
|
|
58
55
|
display: inline-block;
|