-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Project import generated by Copybara
PiperOrigin-RevId: 721404123
- Loading branch information
1 parent
cd1f861
commit 0bdfbf8
Showing
37 changed files
with
102 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/** | ||
* Copyright 2025 Google LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
import {localized} from '@lit/localize'; | ||
import {css, html, LitElement} from 'lit'; | ||
import {customElement, property} from 'lit/decorators.js'; | ||
|
||
/** | ||
* A named grouping of configuration settings. | ||
*/ | ||
@localized() | ||
@customElement('config-section') | ||
export class ConfigSection extends LitElement { | ||
static styles = css` | ||
:host { | ||
display: flex; | ||
min-width: 0; | ||
width: 100%; | ||
} | ||
fieldset { | ||
display: flex; | ||
flex-flow: row wrap; | ||
min-width: 0; | ||
width: 100%; | ||
} | ||
::slotted(config-section), | ||
::slotted(targeting-input) { | ||
margin: 15px 0 0; | ||
} | ||
`; | ||
|
||
/** | ||
* The name of the section. | ||
*/ | ||
@property({attribute: 'title', type: String}) title = ''; | ||
|
||
render() { | ||
return html` | ||
<fieldset> | ||
<legend>${this.title}</legend> | ||
<slot></slot> | ||
</fieldset> | ||
`; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-3.06 KB
(94%)
...rator.spec.ts-snapshots/samplePrepopulate-bottom-anchor-slot-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+162 Bytes
(100%)
...urator.spec.ts-snapshots/samplePrepopulate-bottom-anchor-slot-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+5 Bytes
(100%)
...gurator.spec.ts-snapshots/samplePrepopulate-bottom-anchor-slot-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.81 KB
(94%)
...urator.spec.ts-snapshots/samplePrepopulate-interstitial-slot-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+167 Bytes
(100%)
...gurator.spec.ts-snapshots/samplePrepopulate-interstitial-slot-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.02 KB
(94%)
...igurator.spec.ts-snapshots/samplePrepopulate-multi-size-slot-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+321 Bytes
(100%)
...figurator.spec.ts-snapshots/samplePrepopulate-multi-size-slot-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-16 Bytes
(100%)
...nfigurator.spec.ts-snapshots/samplePrepopulate-multi-size-slot-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.66 KB
(84%)
...figurator.spec.ts-snapshots/samplePrepopulate-page-targeting-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+149 Bytes
(100%)
...nfigurator.spec.ts-snapshots/samplePrepopulate-page-targeting-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
...onfigurator.spec.ts-snapshots/samplePrepopulate-page-targeting-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.35 KB
(83%)
...tor.spec.ts-snapshots/samplePrepopulate-privacy-settings-all-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+86 Bytes
(100%)
...ator.spec.ts-snapshots/samplePrepopulate-privacy-settings-all-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-15 Bytes
(100%)
...rator.spec.ts-snapshots/samplePrepopulate-privacy-settings-all-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.28 KB
(83%)
...gurator.spec.ts-snapshots/samplePrepopulate-privacy-settings-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+160 Bytes
(100%)
...igurator.spec.ts-snapshots/samplePrepopulate-privacy-settings-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...figurator.spec.ts-snapshots/samplePrepopulate-privacy-settings-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.87 KB
(94%)
...configurator.spec.ts-snapshots/samplePrepopulate-single-slot-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+275 Bytes
(100%)
.../configurator.spec.ts-snapshots/samplePrepopulate-single-slot-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5 Bytes
(100%)
...b/configurator.spec.ts-snapshots/samplePrepopulate-single-slot-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-8.48 KB
(84%)
...figurator.spec.ts-snapshots/samplePrepopulate-slot-targeting-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+156 Bytes
(100%)
...nfigurator.spec.ts-snapshots/samplePrepopulate-slot-targeting-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-19 Bytes
(100%)
...onfigurator.spec.ts-snapshots/samplePrepopulate-slot-targeting-webkit-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.23 KB
(94%)
...onfigurator.spec.ts-snapshots/samplePrepopulate-sra-disabled-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+329 Bytes
(100%)
...configurator.spec.ts-snapshots/samplePrepopulate-sra-disabled-firefox-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9 Bytes
(100%)
.../configurator.spec.ts-snapshots/samplePrepopulate-sra-disabled-webkit-linux.png
Oops, something went wrong.
Binary file modified
BIN
-4.25 KB
(94%)
...configurator.spec.ts-snapshots/samplePrepopulate-sra-enabled-chromium-linux.png
Oops, something went wrong.
Binary file modified
BIN
+341 Bytes
(100%)
.../configurator.spec.ts-snapshots/samplePrepopulate-sra-enabled-firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-14 Bytes
(100%)
...b/configurator.spec.ts-snapshots/samplePrepopulate-sra-enabled-webkit-linux.png
Oops, something went wrong.
Binary file modified
BIN
-3.12 KB
(94%)
...igurator.spec.ts-snapshots/samplePrepopulate-top-anchor-slot-chromium-linux.png
Oops, something went wrong.
Binary file modified
BIN
+160 Bytes
(100%)
...figurator.spec.ts-snapshots/samplePrepopulate-top-anchor-slot-firefox-linux.png
Oops, something went wrong.
Binary file modified
BIN
-1 Byte
(100%)
...nfigurator.spec.ts-snapshots/samplePrepopulate-top-anchor-slot-webkit-linux.png
Oops, something went wrong.