@openedx/paragon 23.0.0-alpha.1 → 23.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -22
- package/dist/Button/index.scss +0 -2
- package/dist/Chip/index.scss +6 -5
- package/dist/Chip/mixins.scss +4 -4
- package/dist/Collapsible/index.scss +3 -3
- package/dist/Stepper/index.scss +3 -2
- package/dist/Tabs/index.scss +9 -6
- package/dist/core.css +19 -30
- package/dist/core.css.map +1 -1
- package/dist/core.min.css +1 -1
- package/dist/light.css +11 -11
- package/dist/light.css.map +1 -1
- package/dist/light.min.css +1 -1
- package/lib/build-tokens.js +18 -4
- package/package.json +2 -1
- package/src/Button/index.scss +0 -2
- package/src/Chip/index.scss +6 -5
- package/src/Chip/mixins.scss +4 -4
- package/src/Collapsible/index.scss +3 -3
- package/src/Stepper/index.scss +3 -2
- package/src/Tabs/index.scss +9 -6
- package/styles/css/core/variables.css +11 -22
- package/styles/css/themes/light/variables.css +11 -11
- package/styles/scss/core/_variables.scss +4 -5
- package/styles/scss/core/core.scss +1 -1
- package/tokens/README.md +1 -2
- package/tokens/src/core/alias/size.json +3 -3
- package/tokens/src/core/components/Breadcrumb.json +0 -14
- package/tokens/src/core/components/Card.json +6 -1
- package/tokens/src/core/components/Chip.json +4 -6
- package/tokens/src/core/components/ColorPicker.json +2 -2
- package/tokens/src/core/components/DataTable.json +1 -1
- package/tokens/src/core/components/Form/size.json +3 -7
- package/tokens/src/core/components/Nav.json +0 -3
- package/tokens/src/core/components/Pagination.json +0 -4
- package/tokens/src/core/components/ProductTour.json +0 -5
- package/tokens/src/core/global/display.json +2 -1
- package/tokens/src/core/global/spacing.json +7 -5
- package/tokens/src/themes/light/alias/color.json +2 -2
- package/tokens/src/themes/light/components/Alert.json +0 -9
- package/tokens/src/themes/light/components/Annotation.json +11 -11
- package/tokens/src/themes/light/components/Avatar.json +1 -1
- package/tokens/src/themes/light/components/Breadcrumb.json +0 -1
- package/tokens/src/themes/light/components/Card.json +2 -6
- package/tokens/src/themes/light/components/DataTable.json +1 -1
- package/tokens/src/themes/light/components/Form/color.json +4 -4
- package/tokens/src/themes/light/components/Form/elevation.json +1 -1
- package/tokens/src/themes/light/components/Form/other.json +3 -3
- package/tokens/src/themes/light/components/general/input.json +1 -1
- package/tokens/src/themes/light/components/general/link.json +1 -1
- package/tokens/src/themes/light/components/general/list.json +1 -1
- package/tokens/src/themes/light/components/general/text.json +7 -1
- package/tokens/src/themes/light/global/color.json +2 -2
- package/tokens/style-dictionary.js +6 -0
package/README.md
CHANGED
|
@@ -39,29 +39,39 @@ In your React project:
|
|
|
39
39
|
import { ComponentName } from '@openedx/paragon';
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
####
|
|
42
|
+
#### CSS Foundation
|
|
43
43
|
|
|
44
|
-
Usage
|
|
44
|
+
**Usage with no theme:**
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
The Paragon CSS Foundation offers a collection of fundamental styles, encompassing padding, typography, and sizing.
|
|
47
|
+
When applied, these styles contribute to the creation of a straightforward and neat appearance for your application.
|
|
48
|
+
|
|
49
|
+
To integrate these foundational styles into your project, include the following import:
|
|
47
50
|
|
|
48
51
|
```
|
|
49
|
-
|
|
50
|
-
@import '~@openedx/paragon/styles/scss/core/core.scss';
|
|
52
|
+
@use "@openedx/paragon/dist/core.min.css";
|
|
51
53
|
```
|
|
52
54
|
|
|
53
|
-
Usage
|
|
55
|
+
**Usage with a theme:**
|
|
56
|
+
|
|
57
|
+
In addition to the basic styles, you can provide a theme layer that includes styles for colors, shadows, backgrounds
|
|
58
|
+
and transparency of elements. This allows you to visually represent a specific theme in your application.
|
|
54
59
|
|
|
55
|
-
|
|
60
|
+
To apply these theme-specific styles, include the following import:
|
|
56
61
|
|
|
57
62
|
```
|
|
58
|
-
@
|
|
59
|
-
@
|
|
60
|
-
@import '~@openedx/paragon/styles/scss/core/core.scss';
|
|
61
|
-
@import '~@edx/brand/paragon/overrides.scss';
|
|
63
|
+
@use "@openedx/paragon/dist/core.min.css";
|
|
64
|
+
@use "@my-brand/light.min.css";
|
|
62
65
|
```
|
|
63
66
|
|
|
64
|
-
|
|
67
|
+
**CDN links:**
|
|
68
|
+
|
|
69
|
+
Alternative style integration is available when using CDN links:
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
@import url("https://cdn.jsdelivr.net/npm/@my-brand/core.min.css");
|
|
73
|
+
@import url("https://cdn.jsdelivr.net/npm/@my-brand/light.min.css");
|
|
74
|
+
```
|
|
65
75
|
|
|
66
76
|
## Paragon CLI
|
|
67
77
|
|
|
@@ -69,7 +79,8 @@ The Paragon CLI (Command Line Interface) is a tool that provides various utility
|
|
|
69
79
|
|
|
70
80
|
### Available Commands
|
|
71
81
|
|
|
72
|
-
- `paragon install-theme
|
|
82
|
+
- `paragon install-theme`: Install a [brand package](https://github.com/openedx/brand-openedx).
|
|
83
|
+
- `paragon migrate-to-openedx-scope`: Migrate from "@edx/paragon" to "@openedx/paragon".
|
|
73
84
|
- `paragon build-tokens`: Build Paragon's design tokens.
|
|
74
85
|
- `paragon replace-variables`: Replace SCSS variables usages or definitions to CSS variables and vice versa in `.scss` files.
|
|
75
86
|
- `paragon build-scss`: Compile Paragon's core and themes SCSS into CSS.
|
|
@@ -161,7 +172,7 @@ module.exports = {
|
|
|
161
172
|
};
|
|
162
173
|
```
|
|
163
174
|
|
|
164
|
-
Then, when importing Paragon's core SCSS in your MFE the import needs to begin with a tilde `~` so that path to your local Paragon repository gets resolved correctly: `@import "~@openedx/paragon/styles/scss/core";`
|
|
175
|
+
Then, when importing Paragon's core SCSS in your MFE the import needs to begin with a tilde `~` so that path to your local Paragon repository gets resolved correctly: `@import "~@openedx/paragon/styles/scss/core/core.scss";`
|
|
165
176
|
|
|
166
177
|
#### Internationalization
|
|
167
178
|
|
|
@@ -274,8 +285,7 @@ This will create a directory in `/src/` that will contain templates for all nece
|
|
|
274
285
|
MyComponent
|
|
275
286
|
├── index.jsx
|
|
276
287
|
├── README.md
|
|
277
|
-
├──
|
|
278
|
-
├── _variables.scss
|
|
288
|
+
├── index.scss
|
|
279
289
|
└── MyComponent.test.jsx
|
|
280
290
|
```
|
|
281
291
|
|
|
@@ -314,11 +324,10 @@ export default MyComponent;
|
|
|
314
324
|
##### 4. (Optional) Add styles to your component.
|
|
315
325
|
|
|
316
326
|
If your component requires additional styling (which most likely is the case), edit created SCSS style sheet in your
|
|
317
|
-
component's directory `/src/MyComponent/
|
|
327
|
+
component's directory `/src/MyComponent/index.scss` which by default contains an empty class for your component.
|
|
318
328
|
|
|
319
|
-
If you wish to use
|
|
320
|
-
easily overridden and customized by the consumers of Paragon),
|
|
321
|
-
This way the variables will also get automatically picked up by documentation site and displayed on your component's page.
|
|
329
|
+
If you wish to use CSS variables (which is the preferred way of styling the components since values can be
|
|
330
|
+
easily overridden and customized by the consumers of Paragon), you can do so by utilizing [design tokens](/tokens).
|
|
322
331
|
|
|
323
332
|
**Please note that you need to follow [Paragon's CSS styling conventions](docs/decisions/0012-css-styling-conventions).**
|
|
324
333
|
|
|
@@ -502,9 +511,9 @@ Paragon uses [style-dictionary](https://github.com/amzn/style-dictionary) to bui
|
|
|
502
511
|
6. Consuming applications would inject the `core.css` and `light.css` theme files into their applications via a mechanism similar to https://github.com/openedx/frontend-platform/pull/440 (ideally pulling from a public CDN for NPM packages, but falling back to locally installed copies, if needed).
|
|
503
512
|
|
|
504
513
|
#### Compiling CSS from design tokens for `@edx/brand` theme authors (in `@edx/brand` repos)
|
|
505
|
-
1. **`npm install`.** Install dependencies, including `@
|
|
514
|
+
1. **`npm install`.** Install dependencies, including `@openedx/paragon`.
|
|
506
515
|
2. Create tokens that will override Paragon's default tokens (matching same JSON schema).
|
|
507
|
-
3. **`npm run build-scss`.** This `@edx/brand` repo will have a new NPM script that utilizes a new CLI exported by `@
|
|
516
|
+
3. **`npm run build-scss`.** This `@edx/brand` repo will have a new NPM script that utilizes a new CLI exported by `@openedx/paragon` which exposes the `build-tokens.js` script (or possibly another if we end up needing one for the brand packages to run specifically, TBD) for `@edx/brand` consumers.
|
|
508
517
|
- The intent of running this command is to effectively deep merge the tokens defined in Paragon's default tokens with the override tokens defined by `@edx/brand`, generating its own `core.css` and `light.css` output files (exact output files still a TBD) containing CSS variable overrides based on the token overrides.
|
|
509
518
|
5. Ensure any changes to the generated `core.css` and `light.css` files are committed & released to NPM (which also "releases" them on versioned public CDNs for NPM packages).
|
|
510
519
|
- _Note: It is a bit unclear still in the above linked implementation POC for `@edx/frontend-platform` how it would integrate with `@edx/brand` in this way. Open to suggestions/feedback/ideas here._
|
package/dist/Button/index.scss
CHANGED
package/dist/Chip/index.scss
CHANGED
|
@@ -93,11 +93,12 @@
|
|
|
93
93
|
background-color: var(--pgn-color-chip-bg-dark);
|
|
94
94
|
|
|
95
95
|
&.selected {
|
|
96
|
-
@include chip-outline(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
@include chip-outline(
|
|
97
|
+
var(--pgn-color-chip-outline-dark),
|
|
98
|
+
calc(var(--pgn-spacing-chip-outline-selected-distance-dark) * -1),
|
|
99
|
+
calc(var(--pgn-size-chip-border-radius) + var(--pgn-spacing-chip-outline-width)),
|
|
100
|
+
var(--pgn-spacing-chip-outline-selected-distance-dark)
|
|
101
|
+
);
|
|
101
102
|
|
|
102
103
|
&:focus {
|
|
103
104
|
border: 1px solid var(--pgn-color-chip-border-focus-selected-dark);
|
package/dist/Chip/mixins.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@mixin chip-outline(
|
|
2
2
|
$outline-color: var(--pgn-color-white),
|
|
3
3
|
$distance-to-border: 0,
|
|
4
|
-
$border-radius: 50%,
|
|
5
|
-
$border-width
|
|
4
|
+
$outline-border-radius: 50%,
|
|
5
|
+
$outline-border-width: .125rem
|
|
6
6
|
) {
|
|
7
7
|
&::before {
|
|
8
8
|
content: "";
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
right: $distance-to-border;
|
|
12
12
|
bottom: $distance-to-border;
|
|
13
13
|
left: $distance-to-border;
|
|
14
|
-
border: solid $border-width
|
|
15
|
-
border-radius:
|
|
14
|
+
border: solid $outline-border-width $outline-color;
|
|
15
|
+
border-radius: $outline-border-radius;
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
.collapsible-trigger {
|
|
8
8
|
padding: var(--pgn-spacing-collapsible-card-spacer-y-base) var(--pgn-spacing-collapsible-card-spacer-x-base);
|
|
9
|
-
border-radius:
|
|
9
|
+
border-radius: var(--pgn-size-card-border-radius-inner);
|
|
10
10
|
border-bottom: var(--pgn-size-card-border-width) solid transparent;
|
|
11
11
|
transition: border-color 100ms ease 150ms;
|
|
12
12
|
cursor: pointer;
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
|
|
23
23
|
&[aria-expanded="true"] {
|
|
24
24
|
border-radius:
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
var(--pgn-size-card-border-radius-inner)
|
|
26
|
+
var(--pgn-size-card-border-radius-inner) 0 0;
|
|
27
27
|
border-color: var(--pgn-color-card-border-base);
|
|
28
28
|
transition: none;
|
|
29
29
|
text-align: start;
|
package/dist/Stepper/index.scss
CHANGED
|
@@ -8,8 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
.pgn__stepper-header-step-list {
|
|
10
10
|
list-style: none;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
padding:
|
|
12
|
+
var(--pgn-spacing-stepper-header-step-list-padding-y)
|
|
13
|
+
var(--pgn-spacing-stepper-header-step-list-padding-x);
|
|
13
14
|
display: flex;
|
|
14
15
|
align-items: center;
|
|
15
16
|
margin: var(--pgn-spacing-stepper-header-step-list-margin);
|
package/dist/Tabs/index.scss
CHANGED
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
margin: 0;
|
|
31
31
|
|
|
32
32
|
.dropdown .dropdown-toggle {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
padding:
|
|
34
|
+
var(--pgn-spacing-tab-more-link-dropdown-toggle-padding-x)
|
|
35
|
+
var(--pgn-spacing-tab-more-link-dropdown-toggle-padding-y);
|
|
35
36
|
|
|
36
37
|
&:focus {
|
|
37
38
|
background-color: var(--pgn-color-tab-more-link-dropdown-toggle-bg-focus);
|
|
@@ -62,8 +63,9 @@
|
|
|
62
63
|
// Nav inverse pills
|
|
63
64
|
&.nav-inverse-pills .pgn__tab_more.nav-link {
|
|
64
65
|
.dropdown .dropdown-toggle {
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
padding:
|
|
67
|
+
var(--pgn-spacing-tab-inverse-pills-link-dropdown-toggle-padding-x)
|
|
68
|
+
var(--pgn-spacing-tab-inverse-pills-link-dropdown-toggle-padding-y);
|
|
67
69
|
border: none;
|
|
68
70
|
|
|
69
71
|
&:focus {
|
|
@@ -97,8 +99,9 @@
|
|
|
97
99
|
|
|
98
100
|
// Nav inverse tabs
|
|
99
101
|
&.nav-inverse-tabs .pgn__tab_more.nav-link .dropdown .dropdown-toggle {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
padding:
|
|
103
|
+
var(--pgn-spacing-tab-inverse-tabs-link-dropdown-toggle-padding-x)
|
|
104
|
+
var(--pgn-spacing-tab-inverse-tabs-link-dropdown-toggle-padding-y);
|
|
102
105
|
|
|
103
106
|
&:hover {
|
|
104
107
|
background-color: var(--pgn-color-tab-inverse-pills-link-dropdown-toggle-bg-hover);
|
package/dist/core.css
CHANGED
|
@@ -154,6 +154,7 @@
|
|
|
154
154
|
--pgn-typography-font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
155
155
|
--pgn-typography-font-family-serif: serif;
|
|
156
156
|
--pgn-typography-font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
157
|
+
--pgn-typography-print-page-size: a3;
|
|
157
158
|
--pgn-typography-display-mobile: 3.25rem;
|
|
158
159
|
--pgn-typography-display-line-height-mobile: 3.5rem;
|
|
159
160
|
--pgn-typography-display-line-height-base: 1;
|
|
@@ -192,13 +193,12 @@
|
|
|
192
193
|
--pgn-typography-headings-font-family: inherit;
|
|
193
194
|
--pgn-typography-dropdown-item-text-decoration: none;
|
|
194
195
|
--pgn-typography-code-font-size: 87.5%;
|
|
195
|
-
--pgn-typography-breadcrumb-font-size: inherit;
|
|
196
196
|
--pgn-typography-badge-font-size: 75%;
|
|
197
197
|
--pgn-typography-alert-line-height: 1.5rem;
|
|
198
198
|
--pgn-typography-alert-font-size: .875rem;
|
|
199
199
|
--pgn-spacing-grid-gutter-width: 24px;
|
|
200
200
|
--pgn-spacing-table-cell-padding-sm: .3rem;
|
|
201
|
-
--pgn-spacing-table-cell-padding-base: 75rem;
|
|
201
|
+
--pgn-spacing-table-cell-padding-base: .75rem;
|
|
202
202
|
--pgn-spacing-label-margin-bottom: .5rem;
|
|
203
203
|
--pgn-spacing-spacer-base: 1rem;
|
|
204
204
|
--pgn-spacing-spacer-0: 0;
|
|
@@ -228,7 +228,6 @@
|
|
|
228
228
|
--pgn-spacing-popover-icon-margin-right: .5rem;
|
|
229
229
|
--pgn-spacing-popover-header-padding-x: 1rem;
|
|
230
230
|
--pgn-spacing-popover-header-padding-y: .5rem;
|
|
231
|
-
--pgn-spacing-pagination-margin-x: .5rem;
|
|
232
231
|
--pgn-spacing-pagination-padding-x-lg: 1.5rem;
|
|
233
232
|
--pgn-spacing-pagination-padding-x-sm: .6rem;
|
|
234
233
|
--pgn-spacing-pagination-padding-x-base: 1rem;
|
|
@@ -306,10 +305,8 @@
|
|
|
306
305
|
--pgn-spacing-chip-outline-focus-distance-light: .313rem;
|
|
307
306
|
--pgn-spacing-chip-outline-selected-distance-dark: 3px;
|
|
308
307
|
--pgn-spacing-chip-outline-selected-distance-light: 3px;
|
|
309
|
-
--pgn-spacing-chip-padding-to-icon: 3px;
|
|
310
|
-
--pgn-spacing-chip-padding-icon: .25rem;
|
|
311
308
|
--pgn-spacing-chip-padding-x: .5rem;
|
|
312
|
-
--pgn-spacing-chip-padding-y:
|
|
309
|
+
--pgn-spacing-chip-padding-y: 1px;
|
|
313
310
|
--pgn-spacing-chip-margin-icon: .25rem;
|
|
314
311
|
--pgn-spacing-chip-margin-base: .125rem;
|
|
315
312
|
--pgn-spacing-carousel-indicator-spacer: 3px;
|
|
@@ -329,10 +326,6 @@
|
|
|
329
326
|
--pgn-spacing-bubble-expandable-padding-x: .25rem;
|
|
330
327
|
--pgn-spacing-bubble-expandable-padding-y: 0;
|
|
331
328
|
--pgn-spacing-breadcrumb-margin-left: .5rem;
|
|
332
|
-
--pgn-spacing-breadcrumb-margin-bottom: 1rem;
|
|
333
|
-
--pgn-spacing-breadcrumb-padding-item: .5rem;
|
|
334
|
-
--pgn-spacing-breadcrumb-padding-x: 1rem;
|
|
335
|
-
--pgn-spacing-breadcrumb-padding-y: .75rem;
|
|
336
329
|
--pgn-spacing-badge-padding-y: .125rem;
|
|
337
330
|
--pgn-spacing-badge-padding-x-pill: .6em;
|
|
338
331
|
--pgn-spacing-badge-padding-x-base: .5rem;
|
|
@@ -386,7 +379,6 @@
|
|
|
386
379
|
--pgn-size-popover-icon-height: 1rem;
|
|
387
380
|
--pgn-size-popover-max-width: 480px;
|
|
388
381
|
--pgn-size-pagination-focus-outline: 0;
|
|
389
|
-
--pgn-size-pagination-focus-border-width: .125rem;
|
|
390
382
|
--pgn-size-pagination-toggle-border-sm: .25rem;
|
|
391
383
|
--pgn-size-pagination-toggle-border-base: .3125rem;
|
|
392
384
|
--pgn-size-pagination-reduced-dropdown-min-width: 6rem;
|
|
@@ -443,7 +435,7 @@
|
|
|
443
435
|
--pgn-size-data-table-layout-sidebar-width: 12rem;
|
|
444
436
|
--pgn-size-data-table-dropdown-pagination-min-width: 6rem;
|
|
445
437
|
--pgn-size-data-table-dropdown-pagination-max-height: 60vh;
|
|
446
|
-
--pgn-size-data-table-border:
|
|
438
|
+
--pgn-size-data-table-border: 2px;
|
|
447
439
|
--pgn-size-container-max-width-xl: 1440px;
|
|
448
440
|
--pgn-size-container-max-width-lg: 1192px;
|
|
449
441
|
--pgn-size-container-max-width-md: 952px;
|
|
@@ -452,8 +444,8 @@
|
|
|
452
444
|
--pgn-size-color-picker-md: calc(1.3333em + 1.125rem + 2px);
|
|
453
445
|
--pgn-size-color-picker-sm: 2rem;
|
|
454
446
|
--pgn-size-code-pre-scrollable-max-height: 340px;
|
|
455
|
-
--pgn-size-chip-icon: 1.
|
|
456
|
-
--pgn-size-chip-border-radius: .
|
|
447
|
+
--pgn-size-chip-icon: 1.5rem;
|
|
448
|
+
--pgn-size-chip-border-radius: .375rem;
|
|
457
449
|
--pgn-size-carousel-caption-width: 70%;
|
|
458
450
|
--pgn-size-carousel-indicator-height-area-hit: 10px;
|
|
459
451
|
--pgn-size-carousel-indicator-height-base: 3px;
|
|
@@ -487,9 +479,9 @@
|
|
|
487
479
|
--pgn-size-annotation-arrow-border-width: .5rem;
|
|
488
480
|
--pgn-size-alert-border-width: 0;
|
|
489
481
|
--pgn-size-rounded-pill: 50rem;
|
|
490
|
-
--pgn-size-border-radius-sm:
|
|
491
|
-
--pgn-size-border-radius-lg:
|
|
492
|
-
--pgn-size-border-radius-base:
|
|
482
|
+
--pgn-size-border-radius-sm: .25rem;
|
|
483
|
+
--pgn-size-border-radius-lg: .425rem;
|
|
484
|
+
--pgn-size-border-radius-base: .375rem;
|
|
493
485
|
--pgn-size-border-width: 1px;
|
|
494
486
|
--pgn-transition-carousel-base: transform var(--pgn-transition-carousel-duration) ease-in-out;
|
|
495
487
|
--pgn-typography-font-weight-base: var(--pgn-typography-font-weight-normal);
|
|
@@ -562,7 +554,6 @@
|
|
|
562
554
|
--pgn-spacing-popover-body-padding-y: var(--pgn-spacing-popover-header-padding-y);
|
|
563
555
|
--pgn-spacing-navbar-padding-x-base: var(--pgn-spacing-spacer-base);
|
|
564
556
|
--pgn-spacing-navbar-padding-y: calc(var(--pgn-spacing-spacer-base) / 2);
|
|
565
|
-
--pgn-spacing-nav-divider-margin-y: calc(var(--pgn-spacing-spacer-base) / 2);
|
|
566
557
|
--pgn-spacing-modal-header-padding-base: var(--pgn-spacing-modal-header-padding-y) 1.5rem;
|
|
567
558
|
--pgn-spacing-modal-footer-padding-base: var(--pgn-spacing-modal-footer-padding-y) 1.5rem;
|
|
568
559
|
--pgn-spacing-menu-item-icon-margin-right: var(--pgn-spacing-menu-item-icon-margin-left);
|
|
@@ -593,7 +584,6 @@
|
|
|
593
584
|
--pgn-size-spinner-base-height: var(--pgn-size-spinner-base-width);
|
|
594
585
|
--pgn-size-product-tour-checkpoint-arrow-transparent: var(--pgn-size-product-tour-checkpoint-width-arrow);
|
|
595
586
|
--pgn-size-product-tour-checkpoint-arrow-top: var(--pgn-size-product-tour-checkpoint-width-arrow);
|
|
596
|
-
--pgn-size-product-tour-checkpoint-arrow-bottom: var(--pgn-size-product-tour-checkpoint-width-arrow) var(--pgn-size-product-tour-checkpoint-width-border);
|
|
597
587
|
--pgn-size-popover-border-radius: var(--pgn-size-border-radius-sm);
|
|
598
588
|
--pgn-size-popover-border-width: var(--pgn-size-border-width);
|
|
599
589
|
--pgn-size-pagination-border-radius-lg: var(--pgn-size-border-radius-lg);
|
|
@@ -617,7 +607,6 @@
|
|
|
617
607
|
--pgn-size-form-control-range-thumb-focus-width: var(--pgn-size-form-input-width-focus);
|
|
618
608
|
--pgn-size-form-control-range-thumb-height: var(--pgn-size-form-control-range-thumb-width);
|
|
619
609
|
--pgn-size-form-control-select-border-radius: var(--pgn-size-border-radius-base);
|
|
620
|
-
--pgn-size-form-control-select-border-width-focus: var(--pgn-size-form-input-width-focus);
|
|
621
610
|
--pgn-size-form-control-switch-indicator-border-radius: calc(var(--pgn-size-form-control-indicator-base) / 2);
|
|
622
611
|
--pgn-size-form-control-switch-indicator-base: calc(var(--pgn-size-form-control-indicator-base) - var(--pgn-size-form-control-indicator-border-width) * 4);
|
|
623
612
|
--pgn-size-form-control-switch-width: calc(var(--pgn-size-form-control-indicator-base) * 1.75);
|
|
@@ -633,7 +622,6 @@
|
|
|
633
622
|
--pgn-size-btn-border-radius-sm: var(--pgn-size-border-radius-sm);
|
|
634
623
|
--pgn-size-btn-border-radius-lg: var(--pgn-size-border-radius-lg);
|
|
635
624
|
--pgn-size-btn-border-radius-base: var(--pgn-size-border-radius-base);
|
|
636
|
-
--pgn-size-breadcrumb-border-radius-base: var(--pgn-size-border-radius-base);
|
|
637
625
|
--pgn-size-badge-focus-width: var(--pgn-size-input-btn-focus-width);
|
|
638
626
|
--pgn-size-alert-border-radius: var(--pgn-size-border-radius-base);
|
|
639
627
|
--pgn-typography-form-control-file-font-family: var(--pgn-typography-form-input-font-family);
|
|
@@ -673,6 +661,7 @@
|
|
|
673
661
|
--pgn-size-form-input-height-base: calc(var(--pgn-typography-form-input-line-height-base) * 1em + var(--pgn-spacing-form-input-padding-y-base) * 2 + var(--pgn-size-form-input-height-border));
|
|
674
662
|
--pgn-size-dropdown-border-radius-inner: calc(var(--pgn-size-dropdown-border-radius-base) - var(--pgn-size-dropdown-border-width));
|
|
675
663
|
--pgn-size-card-image-border-radius: var(--pgn-size-card-border-radius-base);
|
|
664
|
+
--pgn-size-card-border-radius-inner: calc(var(--pgn-size-card-border-radius-base) - var(--pgn-size-card-border-width));
|
|
676
665
|
--pgn-size-btn-focus-border-radius-sm: var(--pgn-size-btn-border-radius-base);
|
|
677
666
|
--pgn-size-btn-focus-border-radius-base: calc(var(--pgn-size-btn-border-radius-base) + var(--pgn-spacing-btn-focus-border-gap));
|
|
678
667
|
--pgn-size-btn-border-width: var(--pgn-size-input-btn-border-width);
|
|
@@ -1044,7 +1033,7 @@ mark,
|
|
|
1044
1033
|
.blockquote-footer {
|
|
1045
1034
|
display: block;
|
|
1046
1035
|
font-size: var(--pgn-typography-blockquote-small-font-size);
|
|
1047
|
-
color: var(--pgn-color-
|
|
1036
|
+
color: var(--pgn-color-blockquote-small);
|
|
1048
1037
|
}
|
|
1049
1038
|
.blockquote-footer::before {
|
|
1050
1039
|
content: "— ";
|
|
@@ -8468,7 +8457,7 @@ p > a.brand-link[href]:not(.btn):hover, a.brand-link.inline-link:hover {
|
|
|
8468
8457
|
page-break-after: avoid;
|
|
8469
8458
|
}
|
|
8470
8459
|
@page {
|
|
8471
|
-
size:
|
|
8460
|
+
size: var(--pgn-typography-print-page-size);
|
|
8472
8461
|
}
|
|
8473
8462
|
body {
|
|
8474
8463
|
min-width: 992px !important;
|
|
@@ -8510,7 +8499,7 @@ p > a.brand-link[href]:not(.btn):hover, a.brand-link.inline-link:hover {
|
|
|
8510
8499
|
/**
|
|
8511
8500
|
* IMPORTANT: This file is the result of assembling design tokens
|
|
8512
8501
|
* Do not edit directly
|
|
8513
|
-
* Generated on
|
|
8502
|
+
* Generated on Wed, 15 May 2024 12:30:36 GMT
|
|
8514
8503
|
*/
|
|
8515
8504
|
/**
|
|
8516
8505
|
* IMPORTANT: This file is the result of assembling design tokens
|
|
@@ -11059,7 +11048,7 @@ a.pgn__card {
|
|
|
11059
11048
|
}
|
|
11060
11049
|
.collapsible-card .collapsible-trigger, .collapsible-card-lg .collapsible-trigger {
|
|
11061
11050
|
padding: var(--pgn-spacing-collapsible-card-spacer-y-base) var(--pgn-spacing-collapsible-card-spacer-x-base);
|
|
11062
|
-
border-radius:
|
|
11051
|
+
border-radius: var(--pgn-size-card-border-radius-inner);
|
|
11063
11052
|
border-bottom: var(--pgn-size-card-border-width) solid transparent;
|
|
11064
11053
|
transition: border-color 100ms ease 150ms;
|
|
11065
11054
|
cursor: pointer;
|
|
@@ -11073,7 +11062,7 @@ a.pgn__card {
|
|
|
11073
11062
|
margin-top: 0;
|
|
11074
11063
|
}
|
|
11075
11064
|
.collapsible-card .collapsible-trigger[aria-expanded=true], .collapsible-card-lg .collapsible-trigger[aria-expanded=true] {
|
|
11076
|
-
border-radius:
|
|
11065
|
+
border-radius: var(--pgn-size-card-border-radius-inner) var(--pgn-size-card-border-radius-inner) 0 0;
|
|
11077
11066
|
border-color: var(--pgn-color-card-border-base);
|
|
11078
11067
|
transition: none;
|
|
11079
11068
|
text-align: start;
|
|
@@ -11190,7 +11179,7 @@ a.close.disabled {
|
|
|
11190
11179
|
bottom: calc(var(--pgn-spacing-chip-outline-selected-distance-light) * -1);
|
|
11191
11180
|
left: calc(var(--pgn-spacing-chip-outline-selected-distance-light) * -1);
|
|
11192
11181
|
border: solid var(--pgn-spacing-chip-outline-selected-distance-light) var(--pgn-color-chip-outline-light);
|
|
11193
|
-
border-radius: var(--pgn-size-border-radius-
|
|
11182
|
+
border-radius: calc(var(--pgn-size-chip-border-radius) + var(--pgn-spacing-chip-outline-width));
|
|
11194
11183
|
}
|
|
11195
11184
|
.pgn__chip.pgn__chip-light.selected:focus {
|
|
11196
11185
|
border: 1px solid var(--pgn-color-chip-border-focus-selected-light);
|
|
@@ -11233,7 +11222,7 @@ a.close.disabled {
|
|
|
11233
11222
|
bottom: calc(var(--pgn-spacing-chip-outline-focus-distance-light) * -1);
|
|
11234
11223
|
left: calc(var(--pgn-spacing-chip-outline-focus-distance-light) * -1);
|
|
11235
11224
|
border: solid 0.125rem var(--pgn-color-chip-border-focus-selected-light);
|
|
11236
|
-
border-radius: var(--pgn-size-border-radius-
|
|
11225
|
+
border-radius: calc(var(--pgn-size-chip-border-radius) + var(--pgn-spacing-chip-outline-width));
|
|
11237
11226
|
}
|
|
11238
11227
|
.pgn__chip.pgn__chip-dark {
|
|
11239
11228
|
background-color: var(--pgn-color-chip-bg-dark);
|
|
@@ -11246,7 +11235,7 @@ a.close.disabled {
|
|
|
11246
11235
|
bottom: calc(var(--pgn-spacing-chip-outline-selected-distance-dark) * -1);
|
|
11247
11236
|
left: calc(var(--pgn-spacing-chip-outline-selected-distance-dark) * -1);
|
|
11248
11237
|
border: solid var(--pgn-spacing-chip-outline-selected-distance-dark) var(--pgn-color-chip-outline-dark);
|
|
11249
|
-
border-radius: var(--pgn-size-border-radius-
|
|
11238
|
+
border-radius: calc(var(--pgn-size-chip-border-radius) + var(--pgn-spacing-chip-outline-width));
|
|
11250
11239
|
}
|
|
11251
11240
|
.pgn__chip.pgn__chip-dark.selected:focus {
|
|
11252
11241
|
border: 1px solid var(--pgn-color-chip-border-focus-selected-dark);
|
|
@@ -11292,7 +11281,7 @@ a.close.disabled {
|
|
|
11292
11281
|
bottom: calc(var(--pgn-spacing-chip-outline-focus-distance-dark) * -1);
|
|
11293
11282
|
left: calc(var(--pgn-spacing-chip-outline-focus-distance-dark) * -1);
|
|
11294
11283
|
border: solid 0.125rem var(--pgn-color-chip-outline-dark);
|
|
11295
|
-
border-radius: var(--pgn-size-border-radius-
|
|
11284
|
+
border-radius: calc(var(--pgn-size-chip-border-radius) + var(--pgn-spacing-chip-outline-width));
|
|
11296
11285
|
}
|
|
11297
11286
|
.pgn__chip.disabled, .pgn__chip:disabled {
|
|
11298
11287
|
opacity: var(--pgn-other-chip-opacity-disabled);
|