|
3 | 3 | exports[`Select > should render 1`] = `
|
4 | 4 | <div>
|
5 | 5 | <div
|
6 |
| - class="display-0-inline-block--1 position-0-relative--1 box-sizing-0-border-box-1137980104803605758-1 " |
| 6 | + class="display-0-inline-block--1 height-0-fit-content--1 box-sizing-0-border-box-1137980104803605758-1 " |
| 7 | + > |
| 8 | + <button |
| 9 | + aria-expanded="false" |
| 10 | + aria-label="Select toggle" |
| 11 | + class="border-radius-0-8px--2 outline-0-2px solid-17005923944751620165-1 box-sizing-0-border-box--1 cursor-0-pointer--1 font-weight-0-700--1 outline-offset-0-2px--1 position-0-relative--1 transition-0-.25s--1 color-0-var(--text,#272727)-15425828959012638752-1 background-0-color-mix(in srgb,var(--primary,#8163E1) 20%,#FFF 80%)-15425828959012638752-1 border-0-1px solid var(--primary,#8163E1)-15425828959012638752-1 color-0-#D6D7DE-14172363753176421546-1 background-color-0-#F0F0F3-14172363753176421546-1 cursor-0-not-allowed-14172363753176421546-1 border-color-0-var(--border,#E4E4E4)-14172363753176421546-1 outline-color-0-var(--primaryFocus,#9385D3)-17005923944751620165-1 border-color-0-var(--primary,#8163E1)-8380715471663921674-1 background-0-color-mix(in srgb,var(--primary,#8163E1) 10%,#FFF 90%)-8380715471663921674-1 color-0-var(--text,#F6F6F6)-2922352740838246662-1 background-0-var(--primary,#8163E1)-2922352740838246662-1 color-0-#373737-878116160589243838-1 background-color-0-#47474A-878116160589243838-1 border-color-0-transparent-878116160589243838-1 border-color-0-var(--primary,#8163E1)-6232724021015440856-1 background-0-color-mix(in srgb,var(--primary,#674DC7) 10%,var(--inputBackground,#2E2E2E) 90%)-6232724021015440856-1 outline-color-0-var(--primaryFocus,#927CE4)-13318702800233181468-1 background-0-var(--inputBackground,#2E2E2E)-6667598448774358329-1 background-0-var(--inputBackground,#FFF)--1 border-0-1px solid var(--border,#E4E4E4)--1 border-radius-0-10px--1 color-0-var(--text,#272727)--1 font-size-0-14px--1 font-size-4-15px--1 letter-spacing-0--.02em--1 letter-spacing-4--.03em--1 padding-right-0-16px--1 padding-left-0-16px--1 padding-bottom-0-10px--1 padding-top-0-10px--1 " |
| 12 | + type="button" |
| 13 | + > |
| 14 | + <div |
| 15 | + class="max-width-0-100%--255 margin-right-0-auto--255 margin-left-0-auto--255 position-0-relative--255 width-0-fit-content--255" |
| 16 | + > |
| 17 | + <div |
| 18 | + class=" line-height-0-1.2--255 min-height-0-1.2em--255 " |
| 19 | + > |
| 20 | + Select |
| 21 | + </div> |
| 22 | + </div> |
| 23 | + </button> |
| 24 | + </div> |
| 25 | +</div> |
| 26 | +`; |
| 27 | + |
| 28 | +exports[`Select > should render with overflow screen 1`] = ` |
| 29 | +<div> |
| 30 | + <div |
| 31 | + class="display-0-inline-block--1 height-0-fit-content--1 box-sizing-0-border-box-1137980104803605758-1 " |
| 32 | + > |
| 33 | + <button |
| 34 | + aria-expanded="true" |
| 35 | + aria-label="Select toggle" |
| 36 | + class="border-radius-0-8px--2 outline-0-2px solid-17005923944751620165-1 box-sizing-0-border-box--1 cursor-0-pointer--1 font-weight-0-700--1 outline-offset-0-2px--1 position-0-relative--1 transition-0-.25s--1 color-0-var(--text,#272727)-15425828959012638752-1 background-0-color-mix(in srgb,var(--primary,#8163E1) 20%,#FFF 80%)-15425828959012638752-1 border-0-1px solid var(--primary,#8163E1)-15425828959012638752-1 color-0-#D6D7DE-14172363753176421546-1 background-color-0-#F0F0F3-14172363753176421546-1 cursor-0-not-allowed-14172363753176421546-1 border-color-0-var(--border,#E4E4E4)-14172363753176421546-1 outline-color-0-var(--primaryFocus,#9385D3)-17005923944751620165-1 border-color-0-var(--primary,#8163E1)-8380715471663921674-1 background-0-color-mix(in srgb,var(--primary,#8163E1) 10%,#FFF 90%)-8380715471663921674-1 color-0-var(--text,#F6F6F6)-2922352740838246662-1 background-0-var(--primary,#8163E1)-2922352740838246662-1 color-0-#373737-878116160589243838-1 background-color-0-#47474A-878116160589243838-1 border-color-0-transparent-878116160589243838-1 border-color-0-var(--primary,#8163E1)-6232724021015440856-1 background-0-color-mix(in srgb,var(--primary,#674DC7) 10%,var(--inputBackground,#2E2E2E) 90%)-6232724021015440856-1 outline-color-0-var(--primaryFocus,#927CE4)-13318702800233181468-1 background-0-var(--inputBackground,#2E2E2E)-6667598448774358329-1 background-0-var(--inputBackground,#FFF)--1 border-0-1px solid var(--border,#E4E4E4)--1 border-radius-0-10px--1 color-0-var(--text,#272727)--1 font-size-0-14px--1 font-size-4-15px--1 letter-spacing-0--.02em--1 letter-spacing-4--.03em--1 padding-right-0-16px--1 padding-left-0-16px--1 padding-bottom-0-10px--1 padding-top-0-10px--1 " |
| 37 | + type="button" |
| 38 | + > |
| 39 | + <div |
| 40 | + class="max-width-0-100%--255 margin-right-0-auto--255 margin-left-0-auto--255 position-0-relative--255 width-0-fit-content--255" |
| 41 | + > |
| 42 | + <div |
| 43 | + class=" line-height-0-1.2--255 min-height-0-1.2em--255 " |
| 44 | + > |
| 45 | + Select |
| 46 | + </div> |
| 47 | + </div> |
| 48 | + </button> |
| 49 | + <div |
| 50 | + aria-label="Select container" |
| 51 | + class="display-0-flex--0 flex-direction-0-column--0 background-0-var(--inputBg,light-dark(#FFF,#2E2E2E))--1 border-0-1px solid var(--border,light-dark(#E4E4E4,#434343))--1 border-radius-0-8px--1 bottom-0--4px--1 box-shadow-0-0 2px 2px 0 var(--base10,light-dark(#0000001A,#FFFFFF1A))--1 height-0-fit-content--1 width-0-fit-content--1 gap-0-6px--1 min-width-0-232px--1 padding-0-10px--1 position-0-fixed--1 user-select-0-none--1 z-index-0-1--1 " |
| 52 | + style="top: 10px; left: -1100px; bottom: 778px;" |
| 53 | + > |
| 54 | + <div |
| 55 | + class="display-0-flex--0 align-items-0-center--1 border-radius-0-6px--1 height-0-40px--1 padding-right-0-10px--1 padding-left-0-10px--1 transition-0-background-color .1s ease-in-out--1 color-0-var(--selectDisabled,light-dark(#C4C5D1,#45464D))--1 cursor-0-default--1 font-weight-0-400--1 gap-0-0--1 " |
| 56 | + data-value="Option 1" |
| 57 | + > |
| 58 | + Option 1 |
| 59 | + </div> |
| 60 | + <div |
| 61 | + class="display-0-flex--0 align-items-0-center--1 border-radius-0-6px--1 height-0-40px--1 padding-right-0-10px--1 padding-left-0-10px--1 transition-0-background-color .1s ease-in-out--1 background-0-var(--primaryBg,light-dark(#F4F3FA,#F4F3FA0D))-8380715471663921674-1 color-0-var(--title,light-dark(#1A1A1A,#FAFAFA))--1 cursor-0-pointer--1 font-weight-0-400--1 gap-0-0--1 " |
| 62 | + data-value="Option 2" |
| 63 | + > |
| 64 | + Option 2 |
| 65 | + </div> |
| 66 | + <div |
| 67 | + class="background-0-var(--border,light-dark(#E4E4E4,#434343))--1 height-0-1px--1 width-0-100%--1 " |
| 68 | + /> |
| 69 | + <div |
| 70 | + class="display-0-flex--0 align-items-0-center--1 border-radius-0-6px--1 height-0-40px--1 padding-right-0-10px--1 padding-left-0-10px--1 transition-0-background-color .1s ease-in-out--1 background-0-var(--primaryBg,light-dark(#F4F3FA,#F4F3FA0D))-8380715471663921674-1 color-0-var(--title,light-dark(#1A1A1A,#FAFAFA))--1 cursor-0-pointer--1 font-weight-0-400--1 gap-0-0--1 " |
| 71 | + data-value="Option 3" |
| 72 | + > |
| 73 | + Option 3 |
| 74 | + </div> |
| 75 | + <div |
| 76 | + class="display-0-flex--0 align-items-0-center--1 border-radius-0-6px--1 height-0-40px--1 padding-right-0-10px--1 padding-left-0-10px--1 transition-0-background-color .1s ease-in-out--1 color-0-var(--selectDisabled,light-dark(#C4C5D1,#45464D))--1 cursor-0-default--1 font-weight-0-400--1 gap-0-0--1 " |
| 77 | + data-value="Option 4" |
| 78 | + > |
| 79 | + Option 4 |
| 80 | + </div> |
| 81 | + <div |
| 82 | + class="display-0-inline-block--1 height-0-fit-content--1 box-sizing-0-border-box-1137980104803605758-1 " |
| 83 | + > |
| 84 | + <div |
| 85 | + aria-expanded="false" |
| 86 | + aria-label="Select toggle" |
| 87 | + class="display-0-flex--0 align-items-0-center--1 border-radius-0-6px--1 height-0-40px--1 padding-right-0-10px--1 padding-left-0-10px--1 transition-0-background-color .1s ease-in-out--1 background-0-var(--primaryBg,light-dark(#F4F3FA,#F4F3FA0D))-8380715471663921674-1 color-0-var(--title,light-dark(#1A1A1A,#FAFAFA))--1 cursor-0-pointer--1 font-weight-0-400--1 gap-0-6px--1 " |
| 88 | + > |
| 89 | + <div |
| 90 | + class="display-0-flex--0 align-items-0-center--255 justify-content-0-space-between--255 width-0-100%--255" |
| 91 | + > |
| 92 | + Option 5 |
| 93 | + <svg |
| 94 | + class="color-0-#8B8E9C--1" |
| 95 | + fill="none" |
| 96 | + height="16" |
| 97 | + viewBox="0 0 16 16" |
| 98 | + width="16" |
| 99 | + xmlns="http://www.w3.org/2000/svg" |
| 100 | + > |
| 101 | + <path |
| 102 | + clip-rule="evenodd" |
| 103 | + d="M6.1953 12.4714C5.93495 12.211 5.93495 11.7889 6.1953 11.5286L9.7239 7.99996L6.1953 4.47136C5.93495 4.21102 5.93495 3.78891 6.1953 3.52856C6.45565 3.26821 6.87776 3.26821 7.13811 3.52856L11.1381 7.52856C11.3985 7.7889 11.3985 8.21101 11.1381 8.47136L7.13811 12.4714C6.87776 12.7317 6.45565 12.7317 6.1953 12.4714Z" |
| 104 | + fill="currentColor" |
| 105 | + fill-rule="evenodd" |
| 106 | + /> |
| 107 | + </svg> |
| 108 | + </div> |
| 109 | + </div> |
| 110 | + </div> |
| 111 | + </div> |
| 112 | + </div> |
| 113 | +</div> |
| 114 | +`; |
| 115 | + |
| 116 | +exports[`Select > should render with x and y properties 1`] = ` |
| 117 | +<div> |
| 118 | + <div |
| 119 | + class="display-0-inline-block--1 height-0-fit-content--1 box-sizing-0-border-box-1137980104803605758-1 " |
7 | 120 | >
|
8 | 121 | <button
|
9 | 122 | aria-expanded="false"
|
|
0 commit comments