@openedx/paragon 23.0.0-alpha.3 → 23.0.0-alpha.4
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/bin/paragon-scripts.js +10 -0
- package/dist/Annotation/index.scss +16 -0
- package/dist/Card/CardDeck.js +0 -2
- package/dist/Card/CardDeck.js.map +1 -1
- package/dist/Card/index.scss +6 -6
- package/dist/Carousel/index.scss +24 -1
- package/dist/Chip/ChipIcon.d.ts +1 -1
- package/dist/CloseButton/index.scss +8 -0
- package/dist/ColorPicker/index.scss +1 -1
- package/dist/DataTable/index.scss +12 -0
- package/dist/Dropdown/dropdown-bootstrap.scss +6 -0
- package/dist/Dropzone/index.scss +34 -0
- package/dist/Form/_FormText.scss +1 -1
- package/dist/Form/_bootstrap-custom-forms.scss +40 -0
- package/dist/Form/_index.scss +9 -0
- package/dist/Form/_mixins.scss +22 -0
- package/dist/IconButton/index.d.ts +1 -1
- package/dist/IconButton/index.scss +146 -0
- package/dist/Menu/index.scss +8 -0
- package/dist/Modal/ModalDialog.js +8 -4
- package/dist/Modal/ModalDialog.js.map +1 -1
- package/dist/Modal/_ModalDialog.scss +22 -2
- package/dist/Nav/index.scss +8 -0
- package/dist/Overlay/index.d.ts +2 -2
- package/dist/PageBanner/index.scss +2 -2
- package/dist/Pagination/pagination-bootstrap.scss +9 -0
- package/dist/Popover/index.scss +1 -1
- package/dist/ProductTour/Checkpoint.scss +1 -1
- package/dist/ProgressBar/bootstrap-progress.scss +20 -5
- package/dist/ProgressBar/index.scss +3 -3
- package/dist/Stepper/index.scss +1 -1
- package/dist/Sticky/index.scss +12 -0
- package/dist/Toast/index.scss +13 -1
- package/dist/Tooltip/index.scss +16 -0
- package/dist/core.css +911 -470
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/light.css +2035 -1315
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/lib/build-tokens.js +67 -31
- package/package.json +7 -4
- package/src/Annotation/index.scss +16 -0
- package/src/Card/CardDeck.jsx +0 -3
- package/src/Card/README.md +0 -31
- package/src/Card/index.scss +6 -6
- package/src/Carousel/index.scss +24 -1
- package/src/CloseButton/index.scss +8 -0
- package/src/ColorPicker/index.scss +1 -1
- package/src/DataTable/index.scss +12 -0
- package/src/Dropdown/dropdown-bootstrap.scss +6 -0
- package/src/Dropzone/index.scss +34 -0
- package/src/Form/_FormText.scss +1 -1
- package/src/Form/_bootstrap-custom-forms.scss +40 -0
- package/src/Form/_index.scss +9 -0
- package/src/Form/_mixins.scss +22 -0
- package/src/IconButton/index.scss +146 -0
- package/src/Menu/index.scss +8 -0
- package/src/Modal/ModalDialog.jsx +7 -3
- package/src/Modal/_ModalDialog.scss +22 -2
- package/src/Modal/modal-dialog.mdx +95 -6
- package/src/Modal/tests/ModalDialog.test.jsx +2 -0
- package/src/Nav/index.scss +8 -0
- package/src/PageBanner/index.scss +2 -2
- package/src/Pagination/pagination-bootstrap.scss +9 -0
- package/src/Popover/index.scss +1 -1
- package/src/ProductTour/Checkpoint.scss +1 -1
- package/src/ProgressBar/bootstrap-progress.scss +20 -5
- package/src/ProgressBar/index.scss +3 -3
- package/src/Stepper/index.scss +1 -1
- package/src/Sticky/index.scss +12 -0
- package/src/Toast/index.scss +13 -1
- package/src/Tooltip/index.scss +16 -0
- package/styles/css/core/abstraction-variables.css +44 -0
- package/styles/css/core/custom-media-breakpoints.css +3 -4
- package/styles/css/core/index.css +2 -1
- package/styles/css/core/variables.css +494 -430
- package/styles/css/themes/light/abstraction-variables.css +304 -0
- package/styles/css/themes/light/index.css +1 -0
- package/styles/css/themes/light/utility-classes.css +2 -3
- package/styles/css/themes/light/variables.css +1753 -1334
- package/styles/scss/core/_typography.scss +16 -4
- package/styles/scss/core/_utilities.scss +7 -3
- package/styles/scss/core/_variables.scss +43 -30
- package/styles/scss/core/core.scss +1 -0
- package/tokens/src/core/alias/size.json +6 -5
- package/tokens/src/core/components/ActionRow.json +3 -2
- package/tokens/src/core/components/Alert.json +12 -10
- package/tokens/src/core/components/Annotation.json +9 -7
- package/tokens/src/core/components/Avatar.json +9 -9
- package/tokens/src/core/components/AvatarButton.json +4 -3
- package/tokens/src/core/components/Badge.json +12 -9
- package/tokens/src/core/components/Breadcrumb.json +7 -5
- package/tokens/src/core/components/Bubble.json +4 -3
- package/tokens/src/core/components/Button/core.json +35 -59
- package/tokens/src/core/components/Card.json +33 -44
- package/tokens/src/core/components/Carousel.json +39 -13
- package/tokens/src/core/components/Chip.json +13 -21
- package/tokens/src/core/components/ChipCarousel.json +4 -5
- package/tokens/src/core/components/CloseButton.json +2 -6
- package/tokens/src/core/components/Code.json +9 -8
- package/tokens/src/core/components/Collapsible.json +10 -13
- package/tokens/src/core/components/ColorPicker.json +3 -2
- package/tokens/src/core/components/Container.json +6 -5
- package/tokens/src/core/components/DataTable.json +17 -9
- package/tokens/src/core/components/Dropdown.json +24 -29
- package/tokens/src/core/components/Dropzone.json +5 -7
- package/tokens/src/core/components/Form/other.json +5 -4
- package/tokens/src/core/components/Form/size.json +72 -119
- package/tokens/src/core/components/Form/spacing.json +39 -83
- package/tokens/src/core/components/Form/transition.json +43 -7
- package/tokens/src/core/components/Form/typography.json +24 -88
- package/tokens/src/core/components/Icon.json +6 -5
- package/tokens/src/core/components/IconButton.json +4 -7
- package/tokens/src/core/components/Image.json +7 -6
- package/tokens/src/core/components/Menu.json +14 -12
- package/tokens/src/core/components/Modal.json +26 -21
- package/tokens/src/core/components/Nav.json +14 -16
- package/tokens/src/core/components/Navbar.json +15 -30
- package/tokens/src/core/components/Pagination.json +23 -24
- package/tokens/src/core/components/Popover.json +18 -14
- package/tokens/src/core/components/ProductTour.json +8 -14
- package/tokens/src/core/components/ProgressBar.json +29 -14
- package/tokens/src/core/components/SearchField.json +7 -9
- package/tokens/src/core/components/SelectableBox.json +4 -3
- package/tokens/src/core/components/Sheet.json +3 -2
- package/tokens/src/core/components/Spinner.json +9 -7
- package/tokens/src/core/components/Stack.json +2 -1
- package/tokens/src/core/components/Stepper.json +12 -14
- package/tokens/src/core/components/Sticky.json +2 -1
- package/tokens/src/core/components/Tab.json +8 -7
- package/tokens/src/core/components/Tabs.json +5 -5
- package/tokens/src/core/components/Toast.json +11 -8
- package/tokens/src/core/components/Tooltip.json +13 -11
- package/tokens/src/core/components/general/caret.json +5 -3
- package/tokens/src/core/components/general/headings.json +5 -4
- package/tokens/src/core/components/general/hr.json +3 -2
- package/tokens/src/core/components/general/input.json +19 -19
- package/tokens/src/core/components/general/link.json +13 -12
- package/tokens/src/core/components/general/list.json +9 -6
- package/tokens/src/core/components/general/text.json +6 -12
- package/tokens/src/core/global/breakpoints.json +25 -6
- package/tokens/src/core/global/elevation.json +55 -13
- package/tokens/src/core/global/other.json +5 -1
- package/tokens/src/core/global/spacing.json +70 -17
- package/tokens/src/core/global/transition.json +41 -4
- package/tokens/src/core/global/typography.json +248 -53
- package/tokens/src/core/utilities/color.json +35 -4
- package/tokens/src/themes/light/alias/color.json +276 -75
- package/tokens/src/themes/light/components/Alert.json +15 -26
- package/tokens/src/themes/light/components/Annotation.json +27 -13
- package/tokens/src/themes/light/components/Avatar.json +2 -1
- package/tokens/src/themes/light/components/Badge.json +57 -122
- package/tokens/src/themes/light/components/Breadcrumb.json +6 -5
- package/tokens/src/themes/light/components/Bubble.json +9 -8
- package/tokens/src/themes/light/components/Button/brand.json +171 -119
- package/tokens/src/themes/light/components/Button/core.json +8 -9
- package/tokens/src/themes/light/components/Button/danger.json +171 -112
- package/tokens/src/themes/light/components/Button/dark.json +188 -106
- package/tokens/src/themes/light/components/Button/info.json +186 -112
- package/tokens/src/themes/light/components/Button/light.json +186 -110
- package/tokens/src/themes/light/components/Button/primary.json +178 -116
- package/tokens/src/themes/light/components/Button/secondary.json +166 -132
- package/tokens/src/themes/light/components/Button/success.json +176 -117
- package/tokens/src/themes/light/components/Button/tertiary.json +34 -60
- package/tokens/src/themes/light/components/Button/warning.json +164 -128
- package/tokens/src/themes/light/components/Card.json +10 -21
- package/tokens/src/themes/light/components/Carousel.json +12 -11
- package/tokens/src/themes/light/components/Chip.json +14 -26
- package/tokens/src/themes/light/components/CloseButton.json +12 -2
- package/tokens/src/themes/light/components/Code.json +7 -9
- package/tokens/src/themes/light/components/DataTable.json +7 -11
- package/tokens/src/themes/light/components/Dropdown.json +17 -20
- package/tokens/src/themes/light/components/Dropzone.json +49 -11
- package/tokens/src/themes/light/components/Form/color.json +101 -155
- package/tokens/src/themes/light/components/Form/elevation.json +38 -42
- package/tokens/src/themes/light/components/Form/other.json +44 -41
- package/tokens/src/themes/light/components/IconButton.json +408 -256
- package/tokens/src/themes/light/components/Image.json +7 -4
- package/tokens/src/themes/light/components/Menu.json +12 -10
- package/tokens/src/themes/light/components/Modal.json +22 -12
- package/tokens/src/themes/light/components/Nav.json +82 -94
- package/tokens/src/themes/light/components/Navbar.json +32 -76
- package/tokens/src/themes/light/components/OverflowScroll.json +3 -1
- package/tokens/src/themes/light/components/PageBanner.json +11 -10
- package/tokens/src/themes/light/components/Pagination.json +19 -23
- package/tokens/src/themes/light/components/Popover.json +22 -27
- package/tokens/src/themes/light/components/ProductTour.json +9 -20
- package/tokens/src/themes/light/components/ProgressBar.json +12 -10
- package/tokens/src/themes/light/components/Scrollable.json +3 -3
- package/tokens/src/themes/light/components/SearchField.json +9 -9
- package/tokens/src/themes/light/components/Sheet.json +6 -7
- package/tokens/src/themes/light/components/Stepper.json +12 -17
- package/tokens/src/themes/light/components/Sticky.json +31 -6
- package/tokens/src/themes/light/components/Tab.json +47 -24
- package/tokens/src/themes/light/components/Toast.json +26 -14
- package/tokens/src/themes/light/components/Tooltip.json +25 -10
- package/tokens/src/themes/light/components/general/body.json +3 -2
- package/tokens/src/themes/light/components/general/headings.json +2 -1
- package/tokens/src/themes/light/components/general/hr.json +3 -6
- package/tokens/src/themes/light/components/general/input.json +11 -4
- package/tokens/src/themes/light/components/general/link.json +34 -43
- package/tokens/src/themes/light/components/general/list.json +15 -19
- package/tokens/src/themes/light/components/general/text.json +5 -6
- package/tokens/src/themes/light/global/color.json +1592 -867
- package/tokens/src/themes/light/global/elevation.json +481 -93
- package/tokens/style-dictionary.js +342 -144
- package/tokens/utils.js +176 -6
- package/tokens/src/core/global/display.json +0 -22
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-modal-content-box-shadow-sm-up:
|
|
3
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-1-offset-x)
|
|
4
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-1-offset-y)
|
|
5
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-1-blur)
|
|
6
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-1-color),
|
|
7
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-2-offset-x)
|
|
8
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-2-offset-y)
|
|
9
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-2-blur)
|
|
10
|
+
var(--pgn-elevation-modal-content-box-shadow-sm-up-2-color);
|
|
11
|
+
|
|
12
|
+
--pgn-spacing-modal-footer-padding-base:
|
|
13
|
+
var(--pgn-spacing-modal-footer-padding-base-y)
|
|
14
|
+
var(--pgn-spacing-modal-footer-padding-base-x);
|
|
15
|
+
|
|
16
|
+
--pgn-spacing-modal-header-padding-base:
|
|
17
|
+
var(--pgn-spacing-modal-header-padding-base-y)
|
|
18
|
+
var(--pgn-spacing-modal-header-padding-base-x);
|
|
19
|
+
}
|
|
20
|
+
|
|
1
21
|
.pgn__modal {
|
|
2
22
|
background: var(--pgn-color-modal-content-bg);
|
|
3
23
|
border-radius: calc(var(--pgn-size-modal-content-border-radius) - var(--pgn-size-modal-content-border-width));
|
|
@@ -122,7 +142,7 @@
|
|
|
122
142
|
}
|
|
123
143
|
|
|
124
144
|
.pgn__modal-title {
|
|
125
|
-
font-size: var(--pgn-typography-font-size-h3);
|
|
145
|
+
font-size: var(--pgn-typography-font-size-h3-base);
|
|
126
146
|
margin-inline-end: 3rem; // roughly accomodate the width of the close buttonn
|
|
127
147
|
text-align: start;
|
|
128
148
|
}
|
|
@@ -310,7 +330,7 @@
|
|
|
310
330
|
}
|
|
311
331
|
|
|
312
332
|
.pgn__modal-title {
|
|
313
|
-
font-size: var(--pgn-typography-font-size-h4);
|
|
333
|
+
font-size: var(--pgn-typography-font-size-h4-base);
|
|
314
334
|
display: flex;
|
|
315
335
|
flex-grow: 1;
|
|
316
336
|
align-items: center;
|
package/dist/Nav/index.scss
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
@import "mixins";
|
|
2
2
|
|
|
3
|
+
:root {
|
|
4
|
+
--pgn-border-color-nav-tabs-link-border-hover:
|
|
5
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-top)
|
|
6
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-right)
|
|
7
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-bottom)
|
|
8
|
+
var(--pgn-border-color-nav-tabs-link-border-hover-left);
|
|
9
|
+
}
|
|
10
|
+
|
|
3
11
|
// Base class
|
|
4
12
|
//
|
|
5
13
|
// Kickstart any navigation component with a set of style resets. Works with
|
package/dist/Overlay/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { type OverlayProps } from 'react-bootstrap/Overlay';
|
|
3
3
|
import { type OverlayTriggerProps, type OverlayTriggerType } from 'react-bootstrap/OverlayTrigger';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
declare function Overlay(props: OverlayProps):
|
|
5
|
+
declare function Overlay(props: OverlayProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare namespace Overlay {
|
|
7
7
|
var propTypes: {
|
|
8
8
|
/** Specifies the content of the `Overlay`. */
|
|
@@ -72,7 +72,7 @@ declare namespace Overlay {
|
|
|
72
72
|
transition: React.ForwardRefExoticComponent<import("react-bootstrap/Fade").FadeProps & React.RefAttributes<import("react-transition-group/Transition").default<any>>>;
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
declare function OverlayTrigger(props: OverlayTriggerProps):
|
|
75
|
+
declare function OverlayTrigger(props: OverlayTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
76
76
|
declare namespace OverlayTrigger {
|
|
77
77
|
var propTypes: {
|
|
78
78
|
/** Specifies the content of the `OverlayTrigger`. */
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
min-height: 36px;
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-wrap: nowrap;
|
|
7
|
-
font-size: var(--pgn-typography-font-size-
|
|
7
|
+
font-size: var(--pgn-typography-font-size-xs);
|
|
8
8
|
background-color: var(--pgn-page-baner-bg, inherit);
|
|
9
9
|
color: var(--pgn-page-baner-color, inherit);
|
|
10
10
|
|
|
11
11
|
@include media-breakpoint-up(md) {
|
|
12
|
-
font-size: var(--pgn-typography-font-size-
|
|
12
|
+
font-size: var(--pgn-typography-font-size-sm);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-pagination-focus-box-shadow:
|
|
3
|
+
var(--pgn-elevation-pagination-focus-box-shadow-offset-x)
|
|
4
|
+
var(--pgn-elevation-pagination-focus-box-shadow-offset-y)
|
|
5
|
+
var(--pgn-elevation-pagination-focus-box-shadow-blur)
|
|
6
|
+
var(--pgn-elevation-pagination-focus-box-shadow-spread)
|
|
7
|
+
var(--pgn-elevation-pagination-focus-box-shadow-color);
|
|
8
|
+
}
|
|
9
|
+
|
|
1
10
|
.pagination {
|
|
2
11
|
display: flex;
|
|
3
12
|
|
package/dist/Popover/index.scss
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-transition-progress-bar-animation-timing:
|
|
3
|
+
var(--pgn-transition-progress-bar-animation-timing-duration)
|
|
4
|
+
var(--pgn-transition-progress-bar-animation-timing-timing-function)
|
|
5
|
+
var(--pgn-transition-progress-bar-animation-timing-iteration-count)
|
|
6
|
+
var(--pgn-transition-progress-bar-animation-timing-delay);
|
|
7
|
+
|
|
8
|
+
--pgn-transition-progress-bar-transition:
|
|
9
|
+
var(--pgn-transition-progress-bar-transition-property)
|
|
10
|
+
var(--pgn-transition-progress-bar-transition-duration)
|
|
11
|
+
var(--pgn-transition-progress-bar-transition-timing-function)
|
|
12
|
+
var(--pgn-transition-progress-bar-transition-delay)
|
|
13
|
+
var(--pgn-transition-progress-bar-transition-behavior);
|
|
14
|
+
}
|
|
15
|
+
|
|
1
16
|
@if $enable-transitions {
|
|
2
17
|
@keyframes progress-bar-stripes {
|
|
3
18
|
from { background-position: var(--pgn-size-progress-bar-height-base) 0; }
|
|
@@ -10,7 +25,7 @@
|
|
|
10
25
|
height: var(--pgn-size-progress-bar-height-base);
|
|
11
26
|
overflow: hidden;
|
|
12
27
|
line-height: 0;
|
|
13
|
-
background-color: var(--pgn-color-progress-
|
|
28
|
+
background-color: var(--pgn-color-progress-bg);
|
|
14
29
|
box-shadow: var(--pgn-elevation-progress-bar-box-shadow);
|
|
15
30
|
|
|
16
31
|
@include font-size(var(--pgn-typography-progress-bar-font-size));
|
|
@@ -22,12 +37,12 @@
|
|
|
22
37
|
flex-direction: column;
|
|
23
38
|
justify-content: center;
|
|
24
39
|
overflow: hidden;
|
|
25
|
-
color: var(--pgn-color-progress-bar-
|
|
40
|
+
color: var(--pgn-color-progress-bar-base);
|
|
26
41
|
text-align: center;
|
|
27
42
|
white-space: nowrap;
|
|
28
|
-
background-color: var(--pgn-color-progress-bar-
|
|
43
|
+
background-color: var(--pgn-color-progress-bar-bg-base);
|
|
29
44
|
|
|
30
|
-
@include transition(var(--pgn-transition-progress-bar-
|
|
45
|
+
@include transition(var(--pgn-transition-progress-bar-transition));
|
|
31
46
|
}
|
|
32
47
|
|
|
33
48
|
.progress-bar-striped {
|
|
@@ -38,7 +53,7 @@
|
|
|
38
53
|
|
|
39
54
|
@if $enable-transitions {
|
|
40
55
|
.progress-bar-animated {
|
|
41
|
-
animation: var(--pgn-transition-progress-bar-
|
|
56
|
+
animation: var(--pgn-transition-progress-bar-animation-timing) progress-bar-stripes;
|
|
42
57
|
|
|
43
58
|
@if $enable-prefers-reduced-motion-media-query {
|
|
44
59
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.progress-bar {
|
|
9
|
-
background-color: var(--pgn-color-progress-bar-
|
|
9
|
+
background-color: var(--pgn-color-progress-bar-bg-base);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.pgn__progress-annotated {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
border: none;
|
|
23
23
|
|
|
24
24
|
.progress-bar {
|
|
25
|
-
background-color: var(--pgn-color-progress-bar-
|
|
25
|
+
background-color: var(--pgn-color-progress-bar-bg-annotated);
|
|
26
26
|
overflow: visible;
|
|
27
27
|
position: relative;
|
|
28
28
|
}
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
.pgn__progress-hint {
|
|
88
88
|
box-sizing: border-box;
|
|
89
89
|
padding: 0 var(--pgn-spacing-progress-bar-hint-annotation-gap);
|
|
90
|
-
font-size: var(--pgn-typography-font-size-
|
|
90
|
+
font-size: var(--pgn-typography-font-size-sm);
|
|
91
91
|
}
|
|
92
92
|
}
|
package/dist/Stepper/index.scss
CHANGED
package/dist/Sticky/index.scss
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-sticky-shadow-bottom:
|
|
3
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-offset-x)
|
|
4
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-offset-y)
|
|
5
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-blur)
|
|
6
|
+
var(--pgn-elevation-sticky-shadow-bottom-1-color),
|
|
7
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-offset-x)
|
|
8
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-offset-y)
|
|
9
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-blur)
|
|
10
|
+
var(--pgn-elevation-sticky-shadow-bottom-2-color);
|
|
11
|
+
}
|
|
12
|
+
|
|
1
13
|
.pgn__sticky {
|
|
2
14
|
display: flex;
|
|
3
15
|
width: 100%;
|
package/dist/Toast/index.scss
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
@import "bootstrap-toast";
|
|
2
2
|
|
|
3
|
+
:root {
|
|
4
|
+
--pgn-elevation-toast-box-shadow:
|
|
5
|
+
var(--pgn-elevation-toast-box-shadow-1-offset-x)
|
|
6
|
+
var(--pgn-elevation-toast-box-shadow-1-offset-y)
|
|
7
|
+
var(--pgn-elevation-toast-box-shadow-1-blur)
|
|
8
|
+
var(--pgn-elevation-toast-box-shadow-1-color),
|
|
9
|
+
var(--pgn-elevation-toast-box-shadow-2-offset-x)
|
|
10
|
+
var(--pgn-elevation-toast-box-shadow-2-offset-y)
|
|
11
|
+
var(--pgn-elevation-toast-box-shadow-2-blur)
|
|
12
|
+
var(--pgn-elevation-toast-box-shadow-2-color);
|
|
13
|
+
}
|
|
14
|
+
|
|
3
15
|
.toast {
|
|
4
16
|
background-color: var(--pgn-color-toast-bg);
|
|
5
17
|
box-shadow: var(--pgn-elevation-toast-box-shadow);
|
|
@@ -31,7 +43,7 @@
|
|
|
31
43
|
padding: 0;
|
|
32
44
|
|
|
33
45
|
p {
|
|
34
|
-
font-size: var(--pgn-typography-font-size-
|
|
46
|
+
font-size: var(--pgn-typography-font-size-sm);
|
|
35
47
|
margin: 0;
|
|
36
48
|
padding-right: .75rem;
|
|
37
49
|
}
|
package/dist/Tooltip/index.scss
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pgn-elevation-tooltip-box-shadow:
|
|
3
|
+
drop-shadow(
|
|
4
|
+
var(--pgn-elevation-tooltip-box-shadow-1-offset-x)
|
|
5
|
+
var(--pgn-elevation-tooltip-box-shadow-1-offset-y)
|
|
6
|
+
var(--pgn-elevation-tooltip-box-shadow-1-blur)
|
|
7
|
+
var(--pgn-elevation-tooltip-box-shadow-1-color)
|
|
8
|
+
)
|
|
9
|
+
drop-shadow(
|
|
10
|
+
var(--pgn-elevation-tooltip-box-shadow-2-offset-x)
|
|
11
|
+
var(--pgn-elevation-tooltip-box-shadow-2-offset-y)
|
|
12
|
+
var(--pgn-elevation-tooltip-box-shadow-2-blur)
|
|
13
|
+
var(--pgn-elevation-tooltip-box-shadow-2-color)
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
|
|
1
17
|
// Base class
|
|
2
18
|
.tooltip {
|
|
3
19
|
position: absolute;
|