123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`ProjectTeamsSettings render() renders 1`] = `
- .glamor-64 {
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- height: 40px;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-bottom: 1em;
- }
- .glamor-0 {
- padding: 0.5em;
- margin-right: 5px;
- width: 80px;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- }
- .glamor-4 {
- display: block;
- width: 100%;
- background: #fff;
- border: 1px solid;
- box-shadow: inset;
- padding: 0.5em;
- -webkit-transition: border 0.1s linear;
- transition: border 0.1s linear;
- resize: vertical;
- padding: 0.5em;
- margin-right: 5px;
- }
- .glamor-4 {
- display: block;
- width: 100%;
- background: #fff;
- border: 1px solid;
- box-shadow: inset;
- padding: 0.5em;
- -webkit-transition: border 0.1s linear;
- transition: border 0.1s linear;
- resize: vertical;
- padding: 0.5em;
- margin-right: 5px;
- }
- .glamor-4 {
- display: block;
- width: 100%;
- background: #fff;
- border: 1px solid;
- box-shadow: inset;
- padding: 0.5em;
- -webkit-transition: border 0.1s linear;
- transition: border 0.1s linear;
- resize: vertical;
- padding: 0.5em;
- margin-right: 5px;
- }
- .glamor-4 {
- display: block;
- width: 100%;
- background: #fff;
- border: 1px solid;
- box-shadow: inset;
- padding: 0.5em;
- -webkit-transition: border 0.1s linear;
- transition: border 0.1s linear;
- resize: vertical;
- padding: 0.5em;
- margin-right: 5px;
- }
- .glamor-4:focus {
- outline: none;
- }
- .glamor-4:hover,
- .glamor-4:focus,
- .glamor-4:active {
- border: 1px solid;
- }
- .glamor-9 {
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- margin-right: 5px;
- }
- .glamor-7 {
- vertical-align: middle;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- margin-right: 5px;
- }
- .glamor-45 {
- box-sizing: border-box;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- }
- .glamor-41 {
- position: relative;
- display: inline-block;
- }
- .glamor-37 {
- margin-right: 5px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- white-space: nowrap;
- height: 37px;
- }
- .glamor-37 .button-label {
- font-size: 14px;
- padding: 4px 8px;
- padding-left: 4px;
- }
- .glamor-29 {
- position: relative;
- z-index: 2;
- box-shadow: none;
- margin-right: 5px;
- -webkit-flex: 1;
- -ms-flex: 1;
- flex: 1;
- white-space: nowrap;
- height: 37px;
- }
- .glamor-29 .button-label {
- font-size: 14px;
- padding: 4px 8px;
- padding-left: 4px;
- }
- .glamor-26 {
- box-sizing: border-box;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-align-items: center;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- }
- .glamor-13 {
- -webkit-box-pack: end;
- -webkit-justify-content: flex-end;
- -ms-flex-pack: end;
- justify-content: flex-end;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- }
- .glamor-13 span {
- margin-right: 2px;
- }
- .glamor-13 .avatar {
- width: 28px;
- height: 28px;
- }
- .glamor-15 {
- margin-left: 3px;
- padding: 0px;
- }
- .glamor-20 {
- margin-left: 0.33em;
- }
- .glamor-18 {
- vertical-align: middle;
- margin-left: 0.33em;
- }
- .glamor-60 {
- width: 37px;
- height: 37px;
- -webkit-flex-shrink: 0;
- -ms-flex-negative: 0;
- flex-shrink: 0;
- display: -webkit-box;
- display: -webkit-flex;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-pack: center;
- -webkit-justify-content: center;
- -ms-flex-pack: center;
- justify-content: center;
- }
- .glamor-60 .button-label {
- padding: 0.5em;
- }
- .glamor-60 div {
- margin: 0px !important;
- }
- .glamor-54 {
- box-sizing: border-box;
- margin-right: 8px;
- margin-left: -2px;
- }
- .glamor-50 {
- display: block;
- }
- .glamor-48 {
- vertical-align: middle;
- display: block;
- }
- .glamor-68 {
- text-align: end;
- padding-top: 10px;
- }
- <OwnerInput
- initialText="url:src @dummy@example.com"
- organization={
- Object {
- "access": Array [
- "org:read",
- "org:write",
- "org:admin",
- "project:read",
- "project:write",
- "project:admin",
- "team:read",
- "team:write",
- "team:admin",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- params={
- Object {
- "orgId": "org-slug",
- "projectId": "project-slug",
- }
- }
- project={
- Object {
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "slug": "project-slug",
- "teams": Array [],
- }
- }
- >
- <RuleBuilder
- onAddRule={[Function]}
- organization={
- Object {
- "access": Array [
- "org:read",
- "org:write",
- "org:admin",
- "project:read",
- "project:write",
- "project:admin",
- "team:read",
- "team:write",
- "team:admin",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- project={
- Object {
- "hasAccess": true,
- "id": "2",
- "isBookmarked": false,
- "isMember": true,
- "name": "Project Name",
- "slug": "project-slug",
- "teams": Array [],
- }
- }
- >
- <BuilderBar>
- <div
- className="glamor-64 glamor-65"
- >
- <BuilderSelect
- onChange={[Function]}
- value="path"
- >
- <SelectInput
- className="glamor-0 glamor-1"
- disabled={false}
- multiple={false}
- onChange={[Function]}
- placeholder="Select an option..."
- required={false}
- value="path"
- >
- <select
- className="glamor-0 glamor-1"
- disabled={false}
- multiple={false}
- onChange={[Function]}
- placeholder="Select an option..."
- required={false}
- value="path"
- >
- <option
- value="path"
- >
- Path
- </option>
- <option
- value="url"
- >
- URL
- </option>
- </select>
- </SelectInput>
- </BuilderSelect>
- <BuilderInput
- controlled={true}
- onChange={[Function]}
- placeholder="src/example/*"
- value=""
- >
- <input
- className="glamor-4 glamor-5"
- onChange={[Function]}
- placeholder="src/example/*"
- value=""
- />
- </BuilderInput>
- <Divider
- src="icon-chevron-right"
- >
- <InlineSvg
- className="glamor-9 glamor-6"
- src="icon-chevron-right"
- >
- <StyledSvg
- className="glamor-9 glamor-6"
- height="1em"
- style={Object {}}
- viewBox={Object {}}
- width="1em"
- >
- <svg
- className="glamor-6 glamor-7 glamor-8"
- height="1em"
- style={Object {}}
- viewBox={Object {}}
- width="1em"
- >
- <use
- href="#test"
- xlinkHref="#test"
- />
- </svg>
- </StyledSvg>
- </InlineSvg>
- </Divider>
- <Flex
- align="center"
- flex="1"
- >
- <Base
- align="center"
- className="glamor-45"
- flex="1"
- >
- <div
- className="glamor-45"
- is={null}
- >
- <DropdownAutoComplete
- alignMenu="right"
- items={
- Array [
- Object {
- "items": Array [],
- "label": "Teams",
- "value": "team",
- },
- Object {
- "items": Array [],
- "label": "Users",
- "value": "user",
- },
- ]
- }
- onSelect={[Function]}
- >
- <DropdownAutoCompleteMenu
- alignMenu="right"
- items={
- Array [
- Object {
- "items": Array [],
- "label": "Teams",
- "value": "team",
- },
- Object {
- "items": Array [],
- "label": "Users",
- "value": "user",
- },
- ]
- }
- onSelect={[Function]}
- >
- <AutoComplete
- itemToString={[Function]}
- onSelect={[Function]}
- >
- <DropdownMenu
- isOpen={false}
- keepMenuOpen={false}
- onClickOutside={[Function]}
- >
- <AutoCompleteRoot>
- <Component
- className="glamor-41 glamor-42"
- >
- <div
- className="glamor-41 glamor-42"
- >
- <div
- onClick={[Function]}
- onMouseEnter={[Function]}
- onMouseLeave={[Function]}
- role="button"
- >
- <BuilderDropdownButton
- isOpen={false}
- >
- <DropdownButton
- className="glamor-37 glamor-28"
- isOpen={false}
- >
- <StyledButton
- className="glamor-37 glamor-28"
- isOpen={false}
- >
- <Component
- className="glamor-28 glamor-29 glamor-30"
- isOpen={false}
- >
- <Button
- className="glamor-28 glamor-29 glamor-30"
- disabled={false}
- >
- <button
- className="glamor-28 glamor-29 glamor-30 button button-default"
- disabled={false}
- onClick={[Function]}
- role="button"
- >
- <Flex
- align="center"
- className="button-label"
- >
- <Base
- align="center"
- className="button-label glamor-26"
- >
- <div
- className="button-label glamor-26"
- is={null}
- >
- <Owners>
- <div
- className="glamor-13 glamor-14"
- />
- </Owners>
- <AddOwnersLabel>
- <div
- className="glamor-15 glamor-16"
- >
- Add Owners
- </div>
- </AddOwnersLabel>
- <StyledChevronDown>
- <Component
- className="glamor-20 glamor-17"
- >
- <InlineSvg
- className="glamor-20 glamor-17"
- src="icon-chevron-down"
- >
- <StyledSvg
- className="glamor-20 glamor-17"
- height="1em"
- style={Object {}}
- viewBox={Object {}}
- width="1em"
- >
- <svg
- className="glamor-17 glamor-18 glamor-8"
- height="1em"
- style={Object {}}
- viewBox={Object {}}
- width="1em"
- >
- <use
- href="#test"
- xlinkHref="#test"
- />
- </svg>
- </StyledSvg>
- </InlineSvg>
- </Component>
- </StyledChevronDown>
- </div>
- </Base>
- </Flex>
- </button>
- </Button>
- </Component>
- </StyledButton>
- </DropdownButton>
- </BuilderDropdownButton>
- </div>
- </div>
- </Component>
- </AutoCompleteRoot>
- </DropdownMenu>
- </AutoComplete>
- </DropdownAutoCompleteMenu>
- </DropdownAutoComplete>
- </div>
- </Base>
- </Flex>
- <RuleAddButton
- icon="icon-circle-add"
- onClick={[Function]}
- priority="primary"
- >
- <Button
- className="glamor-60 glamor-61"
- disabled={false}
- icon="icon-circle-add"
- onClick={[Function]}
- priority="primary"
- >
- <button
- className="glamor-60 glamor-61 button button-primary"
- disabled={false}
- onClick={[Function]}
- role="button"
- >
- <Flex
- align="center"
- className="button-label"
- >
- <Base
- align="center"
- className="button-label glamor-26"
- >
- <div
- className="button-label glamor-26"
- is={null}
- >
- <Icon>
- <Base
- className="glamor-54 glamor-55"
- >
- <div
- className="glamor-54 glamor-55"
- is={null}
- >
- <StyledInlineSvg
- size="16px"
- src="icon-circle-add"
- >
- <InlineSvg
- className="glamor-50 glamor-47"
- size="16px"
- src="icon-circle-add"
- >
- <StyledSvg
- className="glamor-50 glamor-47"
- height="16px"
- style={Object {}}
- viewBox={Object {}}
- width="16px"
- >
- <svg
- className="glamor-47 glamor-48 glamor-8"
- height="16px"
- style={Object {}}
- viewBox={Object {}}
- width="16px"
- >
- <use
- href="#test"
- xlinkHref="#test"
- />
- </svg>
- </StyledSvg>
- </InlineSvg>
- </StyledInlineSvg>
- </div>
- </Base>
- </Icon>
- </div>
- </Base>
- </Flex>
- </button>
- </Button>
- </RuleAddButton>
- </div>
- </BuilderBar>
- </RuleBuilder>
- <div
- onKeyDown={[Function]}
- style={
- Object {
- "position": "relative",
- }
- }
- >
- <TextareaAutosize
- autoCapitalize="off"
- autoComplete="off"
- autoCorrect="off"
- onChange={[Function]}
- placeholder="#example usage
- path:src/example/pipeline/* person@sentry.io #infrastructure
- url:http://example.com/settings/* #product"
- rows={1}
- spellCheck="false"
- style={
- Object {
- "border": "1 solid",
- "fontFamily": "Monaco, Consolas, \\"Courier New\\", monospace",
- "margin": 0,
- "minHeight": 140,
- "outline": 0,
- "overflow": "auto",
- "padding": "5px 5px 0",
- "resize": "none",
- "whiteSpace": "pre-wrap",
- "width": "100%",
- "wordBreak": "break-all",
- }
- }
- value="new"
- >
- <textarea
- autoCapitalize="off"
- autoComplete="off"
- autoCorrect="off"
- onChange={[Function]}
- placeholder="#example usage
- path:src/example/pipeline/* person@sentry.io #infrastructure
- url:http://example.com/settings/* #product"
- rows={1}
- spellCheck="false"
- style={
- Object {
- "border": "1 solid",
- "fontFamily": "Monaco, Consolas, \\"Courier New\\", monospace",
- "margin": 0,
- "minHeight": 140,
- "outline": 0,
- "overflow": "auto",
- "padding": "5px 5px 0",
- "resize": "none",
- "whiteSpace": "pre-wrap",
- "width": "100%",
- "wordBreak": "break-all",
- }
- }
- value="new"
- />
- </TextareaAutosize>
- <SaveButton>
- <div
- className="glamor-68 glamor-69"
- >
- <Button
- disabled={false}
- onClick={[Function]}
- priority="primary"
- size="small"
- >
- <button
- className="button button-primary button-sm"
- disabled={false}
- onClick={[Function]}
- role="button"
- >
- <Flex
- align="center"
- className="button-label"
- >
- <Base
- align="center"
- className="button-label glamor-26"
- >
- <div
- className="button-label glamor-26"
- is={null}
- >
- Save Changes
- </div>
- </Base>
- </Flex>
- </button>
- </Button>
- </div>
- </SaveButton>
- </div>
- </OwnerInput>
- `;
|