@squiz/resource-browser 1.66.1 → 1.66.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @squiz/resource-browser
2
2
 
3
+ ## 1.66.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6d41052: Added white background to resource picker input to avoid it inheriting the background colour of its parent element.
8
+
3
9
  ## 1.66.1
4
10
 
5
11
  ### Patch Changes
package/lib/index.css CHANGED
@@ -997,6 +997,8 @@
997
997
  display: grid;
998
998
  grid-template-columns: 24px 1fr;
999
999
  gap: 0.5rem;
1000
+ --tw-bg-opacity: 1;
1001
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
1000
1002
  border-width: 2px;
1001
1003
  --tw-border-opacity: 1;
1002
1004
  border-color: rgb(224 224 224 / var(--tw-border-opacity));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squiz/resource-browser",
3
- "version": "1.66.1",
3
+ "version": "1.66.2",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "private": false,
@@ -1,5 +1,5 @@
1
1
  .resource-picker {
2
- @apply grid grid-cols-[24px_1fr] gap-2;
2
+ @apply grid grid-cols-[24px_1fr] gap-2 bg-white;
3
3
  @apply border-2 border-gray-300;
4
4
  @apply text-gray-500 rounded p-2;
5
5
  &-info {