@govbr-ds/playground 5.3.0 → 5.3.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/dist/Playground.d.ts.map +1 -1
- package/dist/browser/examplePicker.d.ts.map +1 -1
- package/dist/browser/index.js +32 -39
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -8
- package/dist/react/index.js +7 -14
- package/dist/styles.css +29 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -803,6 +803,9 @@ body.wbc-shared-playground-active #content > section[aria-label='Playground do c
|
|
|
803
803
|
gap: 0.5rem;
|
|
804
804
|
flex: 0 0 auto;
|
|
805
805
|
}
|
|
806
|
+
.govbr-playground__code-header {
|
|
807
|
+
padding-block-start: 0.4rem;
|
|
808
|
+
}
|
|
806
809
|
.govbr-playground__bench-divider {
|
|
807
810
|
grid-area: 2 / 1;
|
|
808
811
|
}
|
|
@@ -1159,6 +1162,29 @@ body.wbc-shared-playground-active #content > section[aria-label='Playground do c
|
|
|
1159
1162
|
max-inline-size: 100%;
|
|
1160
1163
|
margin: 0;
|
|
1161
1164
|
}
|
|
1165
|
+
.govbr-playground__example-picker {
|
|
1166
|
+
position: relative;
|
|
1167
|
+
inline-size: 19rem;
|
|
1168
|
+
max-inline-size: 100%;
|
|
1169
|
+
cursor: pointer;
|
|
1170
|
+
}
|
|
1171
|
+
.govbr-playground__example-picker::after {
|
|
1172
|
+
content: '';
|
|
1173
|
+
position: absolute;
|
|
1174
|
+
inset-block-start: 50%;
|
|
1175
|
+
inset-inline-end: 0.9rem;
|
|
1176
|
+
inline-size: 0.45rem;
|
|
1177
|
+
block-size: 0.45rem;
|
|
1178
|
+
border-inline-end: 2px solid currentColor;
|
|
1179
|
+
border-block-end: 2px solid currentColor;
|
|
1180
|
+
transform: translateY(-70%) rotate(45deg);
|
|
1181
|
+
pointer-events: none;
|
|
1182
|
+
}
|
|
1183
|
+
.govbr-playground__example-picker br-input {
|
|
1184
|
+
display: block;
|
|
1185
|
+
inline-size: 100%;
|
|
1186
|
+
cursor: pointer;
|
|
1187
|
+
}
|
|
1162
1188
|
@container workbench (width < 700px) {
|
|
1163
1189
|
.govbr-playground__example-line > label {
|
|
1164
1190
|
width: 100%;
|
|
@@ -1168,6 +1194,9 @@ body.wbc-shared-playground-active #content > section[aria-label='Playground do c
|
|
|
1168
1194
|
width: 100%;
|
|
1169
1195
|
min-width: 0;
|
|
1170
1196
|
}
|
|
1197
|
+
.govbr-playground__example-picker {
|
|
1198
|
+
width: 100%;
|
|
1199
|
+
}
|
|
1171
1200
|
}
|
|
1172
1201
|
/* The preview/tools divider shares the space granted by the host in either orientation. */
|
|
1173
1202
|
.govbr-playground__stacked-divider,
|