@govbr-ds/playground 5.3.0 → 5.3.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/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,14 @@ 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
+ inline-size: 19rem;
1167
+ max-inline-size: 100%;
1168
+ }
1169
+ .govbr-playground__example-picker > br-select {
1170
+ display: block;
1171
+ inline-size: 100%;
1172
+ }
1162
1173
  @container workbench (width < 700px) {
1163
1174
  .govbr-playground__example-line > label {
1164
1175
  width: 100%;
@@ -1168,6 +1179,9 @@ body.wbc-shared-playground-active #content > section[aria-label='Playground do c
1168
1179
  width: 100%;
1169
1180
  min-width: 0;
1170
1181
  }
1182
+ .govbr-playground__example-picker {
1183
+ width: 100%;
1184
+ }
1171
1185
  }
1172
1186
  /* The preview/tools divider shares the space granted by the host in either orientation. */
1173
1187
  .govbr-playground__stacked-divider,
@@ -1695,47 +1709,6 @@ body.wbc-shared-playground-active #content > section[aria-label='Playground do c
1695
1709
  overflow-anchor: none;
1696
1710
  }
1697
1711
 
1698
- .govbr-playground__example-picker {
1699
- position: relative;
1700
- max-width: 24rem;
1701
- }
1702
- .govbr-playground__example-picker br-input {
1703
- display: block;
1704
- }
1705
- .govbr-playground__example-results:not([hidden]) {
1706
- position: absolute;
1707
- inset-inline: 0;
1708
- top: 100%;
1709
- z-index: var(--z-index-layer-1, 1);
1710
- display: grid;
1711
- max-height: 18rem;
1712
- overflow: auto;
1713
- border: 1px solid var(--gp-border, #c8cdd3);
1714
- border-radius: 4px;
1715
- background: var(--gp-surface, #fff);
1716
- color: var(--gp-text, #1b1b1b);
1717
- box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
1718
- }
1719
- .govbr-playground__example-results button {
1720
- padding: 0.5rem 0.75rem;
1721
- border: 0;
1722
- background: transparent;
1723
- color: inherit;
1724
- font: inherit;
1725
- text-align: start;
1726
- cursor: pointer;
1727
- }
1728
- .govbr-playground__example-results button:hover,
1729
- .govbr-playground__example-results button:focus-visible {
1730
- background: var(--gp-accent-soft, #e8f0fe);
1731
- outline: 2px solid var(--gp-accent, #1351b4);
1732
- outline-offset: -2px;
1733
- }
1734
- .govbr-playground__example-results p {
1735
- margin: 0;
1736
- padding: 0.75rem;
1737
- }
1738
-
1739
1712
  .govbr-playground__example-line > div {
1740
1713
  width: 24rem;
1741
1714
  max-width: 100%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@govbr-ds/playground",
3
- "version": "5.3.0",
3
+ "version": "5.3.2",
4
4
  "description": "Playground reutilizável para aplicações GovBR-DS",
5
5
  "license": "MIT",
6
6
  "type": "module",