Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
Improve size section layout according to design (#760)
Bogdan Chadkin2c3027d10b82
diff --git a/apps/designer/app/designer/features/style-panel/sections/size/size.tsx b/apps/designer/app/designer/features/style-panel/sections/size/size.tsxindex 2d558697e8..8ec83b53cb 100644--- a/apps/designer/app/designer/features/style-panel/sections/size/size.tsx+++ b/apps/designer/app/designer/features/style-panel/sections/size/size.tsx@@ -1,19 +1,128 @@+import type { StyleProperty } from "@webstudio-is/css-data";+import { toValue } from "@webstudio-is/css-engine";+import { Grid } from "@webstudio-is/design-system";+import { styleConfigByName } from "../../shared/configs";import type { RenderCategoryProps } from "../../style-sections";-import { ShowMore } from "../../shared/show-more";-import { renderProperty } from "../../style-sections";+import { PropertyName } from "../../shared/property-name";+import { TextControl } from "../../controls";+import { ToggleGroupControl } from "../../controls/toggle/toggle-control";+import {+ EyeconOpenIcon,+ EyeconClosedIcon,+ ScrollIcon,+ AutoScrollIcon,+} from "@webstudio-is/icons";+import { getStyleSource } from "../../shared/style-info";++const SizeField = ({+ property,+ style,+ setProperty,+ deleteProperty,+}: {+ property: StyleProperty;+ style: RenderCategoryProps["currentStyle"];+ setProperty: RenderCategoryProps["setProperty"];+ deleteProperty: RenderCategoryProps["deleteProperty"];+}) => {+ const { label } = styleConfigByName[property];+ return (+ <Grid gap={1}>+ <PropertyName+ label={label}+ property={property}+ style={style}+ onReset={() => deleteProperty(property)}+ />+ <TextControl+ property={property}+ currentStyle={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />+ </Grid>+ );+};export const SizeSection = ({- styleConfigsByCategory,- moreStyleConfigsByCategory,+ currentStyle: style,+ setProperty,+ deleteProperty,}: RenderCategoryProps) => {return (- <>- {styleConfigsByCategory.map((entry) => renderProperty(entry))}- <ShowMore- styleConfigs={moreStyleConfigsByCategory.map((entry) =>- renderProperty(entry)- )}- />- </>+ <Grid columns={2} css={{ columnGap: "$spacing$5", rowGap: "$spacing$7" }}>+ <SizeField+ property="width"+ style={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />+ <SizeField+ property="height"+ style={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />+ <SizeField+ property="minWidth"+ style={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />+ <SizeField+ property="minHeight"+ style={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />+ <SizeField+ property="maxWidth"+ style={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />+ <SizeField+ property="maxHeight"+ style={style}+ setProperty={setProperty}+ deleteProperty={deleteProperty}+ />++ <PropertyName+ label={styleConfigByName.overflow.label}+ property="overflow"+ style={style}+ onReset={() => deleteProperty("overflow")}+ />+ <ToggleGroupControl+ styleSource={getStyleSource(style.overflow)}+ items={[+ {+ child: <EyeconOpenIcon />,+ label: "Visible",+ value: "visible",+ },+ {+ child: <EyeconClosedIcon />,+ label: "Hidden",+ value: "hidden",+ },+ {+ child: <ScrollIcon />,+ label: "Scroll",+ value: "scroll",+ },+ {+ child: <AutoScrollIcon />,+ label: "Auto",+ value: "auto",+ },+ ]}+ value={toValue(style.overflow?.value)}+ onValueChange={(value) =>+ setProperty("overflow")({ type: "keyword", value })+ }+ />+ </Grid>);};diff --git a/packages/icons/icons/auto-scroll.svg b/packages/icons/icons/auto-scroll.svgnew file mode 100644index 0000000000..1d7b3beab7--- /dev/null+++ b/packages/icons/icons/auto-scroll.svg@@ -0,0 +1,6 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M2.375 3.30211C2.375 2.99719 2.65482 2.75 3 2.75H13C13.3452 2.75 13.625 2.99719 13.625 3.30211C13.625 3.60703 13.3452 3.85422 13 3.85422H3C2.65482 3.85422 2.375 3.60703 2.375 3.30211Z" />+<path d="M2.375 12.6979C2.375 12.393 2.65482 12.1458 3 12.1458H13C13.3452 12.1458 13.625 12.393 13.625 12.6979C13.625 13.0028 13.3452 13.25 13 13.25H3C2.65482 13.25 2.375 13.0028 2.375 12.6979Z" />+<path d="M11.2308 5.42897C11.2308 5.16911 11.0187 4.95845 10.7571 4.95845C10.4954 4.95845 10.2833 5.16911 10.2833 5.42897V9.37504L9.04521 8.14546C8.86019 7.96171 8.56021 7.96171 8.37519 8.14546C8.19018 8.32921 8.19018 8.62712 8.37519 8.81087L10.4221 10.8437C10.6071 11.0274 10.907 11.0274 11.0921 10.8437L13.1389 8.81087C13.3239 8.62712 13.3239 8.32921 13.1389 8.14546C12.9539 7.96171 12.6539 7.96171 12.4689 8.14546L11.2308 9.37504V5.42897Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M5.48697 4.96492C5.64949 5.07271 5.72113 5.24257 5.7494 5.3096L5.74991 5.31082C5.78646 5.39746 5.82427 5.5095 5.86387 5.62685L7.49267 10.4518C7.57717 10.7021 7.44135 10.973 7.18931 11.057C6.93727 11.1409 6.66444 11.006 6.57995 10.7557L5.99888 9.03443H4.27249L3.69142 10.7557C3.60693 11.006 3.3341 11.1409 3.08206 11.057C2.83002 10.973 2.6942 10.7021 2.7787 10.4518L4.40248 5.64171C4.40416 5.63675 4.40583 5.63179 4.4075 5.62685C4.4471 5.5095 4.48491 5.39746 4.52146 5.31082L4.52197 5.3096C4.55024 5.24258 4.62188 5.07271 4.7844 4.96492C4.99917 4.82249 5.2722 4.82249 5.48697 4.96492ZM4.59522 8.07839H5.67615L5.13569 6.4774L4.59522 8.07839Z" />+</svg>diff --git a/packages/icons/icons/eyecon-closed.svg b/packages/icons/icons/eyecon-closed.svgnew file mode 100644index 0000000000..dd643513d4--- /dev/null+++ b/packages/icons/icons/eyecon-closed.svg@@ -0,0 +1,3 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M2.20857 7.59368C2.46615 7.43269 2.80548 7.511 2.96647 7.76858C3.33441 8.35728 3.78294 8.87716 4.29825 9.30763C4.30779 9.31504 4.31715 9.3228 4.3263 9.33092C5.33321 10.1618 6.59176 10.6531 8.0003 10.6531C10.1462 10.6531 11.9439 9.51288 13.0341 7.76858C13.1951 7.511 13.5344 7.43269 13.792 7.59369C14.0496 7.75468 14.1279 8.094 13.9669 8.35158C13.6441 8.86811 13.2652 9.34224 12.8372 9.76205L13.6685 10.5933C13.8833 10.8081 13.8833 11.1563 13.6685 11.3711C13.4537 11.5859 13.1054 11.5859 12.8907 11.3711L11.9925 10.473C11.4209 10.883 10.7874 11.2076 10.1035 11.4274L10.4173 12.5986C10.4959 12.892 10.3218 13.1936 10.0284 13.2722C9.735 13.3508 9.43342 13.1767 9.35481 12.8833L9.0317 11.6773C8.69687 11.7272 8.3527 11.7531 8.0003 11.7531C7.64809 11.7531 7.3041 11.7272 6.96944 11.6774L6.64637 12.8833C6.56776 13.1767 6.26619 13.3509 5.97278 13.2722C5.67937 13.1936 5.50524 12.8921 5.58384 12.5987L5.89759 11.4275C5.21371 11.2079 4.58023 10.8833 4.00863 10.4734L3.11059 11.3715C2.8958 11.5862 2.54756 11.5862 2.33277 11.3715C2.11799 11.1567 2.11799 10.8084 2.33277 10.5936L3.16387 9.76254C2.73571 9.34261 2.35663 8.86831 2.03367 8.35158C1.87268 8.094 1.95099 7.75468 2.20857 7.59368Z" />+</svg>diff --git a/packages/icons/icons/eyecon-open.svg b/packages/icons/icons/eyecon-open.svgnew file mode 100644index 0000000000..7da618df1a--- /dev/null+++ b/packages/icons/icons/eyecon-open.svg@@ -0,0 +1,4 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M8.00047 9.84861C9.0214 9.84861 9.84903 9.02098 9.84903 8.00005C9.84903 6.97912 9.0214 6.15149 8.00047 6.15149C6.97954 6.15149 6.15192 6.97912 6.15192 8.00005C6.15192 9.02098 6.97954 9.84861 8.00047 9.84861Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M2.13224 8.45751C1.95584 8.17777 1.95584 7.82228 2.13224 7.54254C3.35968 5.596 5.5289 4.30286 8.00016 4.30286C10.4714 4.30286 12.6406 5.596 13.8681 7.54254C14.0445 7.82228 14.0445 8.17777 13.8681 8.45751C12.6406 10.404 10.4714 11.6972 8.00016 11.6972C5.5289 11.6972 3.35968 10.404 2.13224 8.45751ZM8.00016 10.6972C5.91871 10.6972 4.08677 9.62587 3.02678 8.00002C4.08677 6.37418 5.91871 5.30286 8.00016 5.30286C10.0816 5.30286 11.9135 6.37418 12.9735 8.00002C11.9135 9.62587 10.0816 10.6972 8.00016 10.6972Z" />+</svg>diff --git a/packages/icons/icons/linked.svg b/packages/icons/icons/linked.svgindex 5befb0b539..7941c5f59a 100644--- a/packages/icons/icons/linked.svg+++ b/packages/icons/icons/linked.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path fill-rule="evenodd" clip-rule="evenodd" d="M11.2233 6.08011L10.0814 6.08011C9.69485 6.08011 9.38145 5.76671 9.38145 5.38011C9.38145 4.99352 9.69485 4.68011 10.0814 4.68011L11.2233 4.68011C13.1747 4.68012 14.9233 6.0805 14.9233 8.00012C14.9233 9.91975 13.1747 11.3201 11.2233 11.3201L10.0814 11.3201C9.69485 11.3201 9.38145 11.0067 9.38145 10.6201C9.38145 10.2335 9.69485 9.92012 10.0814 9.92012L11.2233 9.92012C12.5856 9.92012 13.5233 8.97447 13.5233 8.00012C13.5233 7.02577 12.5856 6.08011 11.2233 6.08011ZM4.77565 6.08035C3.41335 6.08035 2.47565 7.026 2.47565 8.00035C2.47565 8.97471 3.41335 9.92036 4.77565 9.92036L5.91753 9.92036C6.30413 9.92036 6.61753 10.2338 6.61753 10.6204C6.61753 11.007 6.30413 11.3204 5.91753 11.3204L4.77565 11.3204C2.82425 11.3204 1.07565 9.91998 1.07565 8.00035C1.07565 6.08073 2.82425 4.68035 4.77565 4.68035L5.91753 4.68035C6.30413 4.68035 6.61753 4.99375 6.61753 5.38035C6.61753 5.76695 6.30413 6.08035 5.91753 6.08035H4.77565ZM5.23276 8.00024C5.23276 7.61364 5.54616 7.30024 5.93276 7.30024H10.0663C10.4529 7.30024 10.7663 7.61364 10.7663 8.00024C10.7663 8.38684 10.4529 8.70024 10.0663 8.70024H5.93276C5.54616 8.70024 5.23276 8.38684 5.23276 8.00024Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M11.2233 6.08011L10.0814 6.08011C9.69485 6.08011 9.38145 5.76671 9.38145 5.38011C9.38145 4.99352 9.69485 4.68011 10.0814 4.68011L11.2233 4.68011C13.1747 4.68012 14.9233 6.0805 14.9233 8.00012C14.9233 9.91975 13.1747 11.3201 11.2233 11.3201L10.0814 11.3201C9.69485 11.3201 9.38145 11.0067 9.38145 10.6201C9.38145 10.2335 9.69485 9.92012 10.0814 9.92012L11.2233 9.92012C12.5856 9.92012 13.5233 8.97447 13.5233 8.00012C13.5233 7.02577 12.5856 6.08011 11.2233 6.08011ZM4.77565 6.08035C3.41335 6.08035 2.47565 7.026 2.47565 8.00035C2.47565 8.97471 3.41335 9.92036 4.77565 9.92036L5.91753 9.92036C6.30413 9.92036 6.61753 10.2338 6.61753 10.6204C6.61753 11.007 6.30413 11.3204 5.91753 11.3204L4.77565 11.3204C2.82425 11.3204 1.07565 9.91998 1.07565 8.00035C1.07565 6.08073 2.82425 4.68035 4.77565 4.68035L5.91753 4.68035C6.30413 4.68035 6.61753 4.99375 6.61753 5.38035C6.61753 5.76695 6.30413 6.08035 5.91753 6.08035H4.77565ZM5.23276 8.00024C5.23276 7.61364 5.54616 7.30024 5.93276 7.30024H10.0663C10.4529 7.30024 10.7663 7.61364 10.7663 8.00024C10.7663 8.38684 10.4529 8.70024 10.0663 8.70024H5.93276C5.54616 8.70024 5.23276 8.38684 5.23276 8.00024Z" /></svg>diff --git a/packages/icons/icons/scroll.svg b/packages/icons/icons/scroll.svgnew file mode 100644index 0000000000..9be857e2b7--- /dev/null+++ b/packages/icons/icons/scroll.svg@@ -0,0 +1,8 @@+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path d="M10.9531 5.39896C10.9531 5.13495 10.7337 4.92094 10.4631 4.92094C10.1925 4.92094 9.97318 5.13495 9.97318 5.39896V9.40795L8.69278 8.15876C8.50143 7.97209 8.1912 7.97209 7.99986 8.15876C7.80852 8.34544 7.80852 8.64811 7.99986 8.83478L10.1167 10.9C10.308 11.0867 10.6183 11.0867 10.8096 10.9L12.9264 8.83478C13.1178 8.64811 13.1178 8.34544 12.9264 8.15876C12.7351 7.97209 12.4249 7.97209 12.2335 8.15876L10.9531 9.40795V5.39896Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.93994 12.7C1.93994 13.0038 2.21678 13.25 2.55827 13.25H13.4516C13.7931 13.25 14.0699 13.0038 14.0699 12.7C14.0699 12.3962 13.7931 12.15 13.4516 12.15H2.55827C2.21678 12.15 1.93994 12.3962 1.93994 12.7Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.93994 3.3C1.93994 3.60376 2.21678 3.85 2.55827 3.85H13.4516C13.7931 3.85 14.0699 3.60376 14.0699 3.3C14.0699 2.99624 13.7931 2.75 13.4516 2.75H2.55827C2.21678 2.75 1.93994 2.99624 1.93994 3.3Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.93994 5.65C1.93994 5.95376 2.20067 6.2 2.52229 6.2L6.31759 6.2C6.63921 6.2 6.89994 5.95375 6.89994 5.65C6.89994 5.34624 6.63921 5.1 6.31759 5.1L2.52229 5.1C2.20067 5.1 1.93994 5.34624 1.93994 5.65Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.93994 10.35C1.93994 10.6538 2.20067 10.9 2.52229 10.9H6.31759C6.63921 10.9 6.89994 10.6538 6.89994 10.35C6.89994 10.0462 6.63921 9.79999 6.31759 9.79999L2.52229 9.8C2.20067 9.8 1.93994 10.0462 1.93994 10.35Z" />+<path fill-rule="evenodd" clip-rule="evenodd" d="M1.93994 8C1.93994 8.30375 2.20067 8.55 2.52229 8.55L6.31759 8.55C6.63921 8.55 6.89994 8.30375 6.89994 8C6.89994 7.69624 6.63921 7.45 6.31759 7.45L2.52229 7.45C2.20067 7.45 1.93994 7.69624 1.93994 8Z" />+</svg>diff --git a/packages/icons/icons/unlinked.svg b/packages/icons/icons/unlinked.svgindex e838b6e067..8ac34c6bf9 100644--- a/packages/icons/icons/unlinked.svg+++ b/packages/icons/icons/unlinked.svg@@ -1,3 +1,3 @@-<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">-<path fill-rule="evenodd" clip-rule="evenodd" d="M11.2233 6.08011L10.0814 6.08011C9.69485 6.08011 9.38145 5.76671 9.38145 5.38011C9.38145 4.99352 9.69485 4.68011 10.0814 4.68011L11.2233 4.68011C13.1747 4.68012 14.9233 6.0805 14.9233 8.00012C14.9233 9.91975 13.1747 11.3201 11.2233 11.3201L10.0814 11.3201C9.69485 11.3201 9.38145 11.0067 9.38145 10.6201C9.38145 10.2335 9.69485 9.92012 10.0814 9.92012L11.2233 9.92012C12.5856 9.92012 13.5233 8.97447 13.5233 8.00012C13.5233 7.02577 12.5856 6.08011 11.2233 6.08011ZM4.77565 6.08035C3.41335 6.08035 2.47565 7.026 2.47565 8.00035C2.47565 8.97471 3.41335 9.92036 4.77565 9.92036L5.91753 9.92036C6.30413 9.92036 6.61753 10.2338 6.61753 10.6204C6.61753 11.007 6.30413 11.3204 5.91753 11.3204L4.77565 11.3204C2.82425 11.3204 1.07565 9.91998 1.07565 8.00035C1.07565 6.08073 2.82425 4.68035 4.77565 4.68035L5.91753 4.68035C6.30413 4.68035 6.61753 4.99375 6.61753 5.38035C6.61753 5.76695 6.30413 6.08035 5.91753 6.08035H4.77565Z" fill="#11181C"/>+<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">+<path fill-rule="evenodd" clip-rule="evenodd" d="M11.2233 6.08011L10.0814 6.08011C9.69485 6.08011 9.38145 5.76671 9.38145 5.38011C9.38145 4.99352 9.69485 4.68011 10.0814 4.68011L11.2233 4.68011C13.1747 4.68012 14.9233 6.0805 14.9233 8.00012C14.9233 9.91975 13.1747 11.3201 11.2233 11.3201L10.0814 11.3201C9.69485 11.3201 9.38145 11.0067 9.38145 10.6201C9.38145 10.2335 9.69485 9.92012 10.0814 9.92012L11.2233 9.92012C12.5856 9.92012 13.5233 8.97447 13.5233 8.00012C13.5233 7.02577 12.5856 6.08011 11.2233 6.08011ZM4.77565 6.08035C3.41335 6.08035 2.47565 7.026 2.47565 8.00035C2.47565 8.97471 3.41335 9.92036 4.77565 9.92036L5.91753 9.92036C6.30413 9.92036 6.61753 10.2338 6.61753 10.6204C6.61753 11.007 6.30413 11.3204 5.91753 11.3204L4.77565 11.3204C2.82425 11.3204 1.07565 9.91998 1.07565 8.00035C1.07565 6.08073 2.82425 4.68035 4.77565 4.68035L5.91753 4.68035C6.30413 4.68035 6.61753 4.99375 6.61753 5.38035C6.61753 5.76695 6.30413 6.08035 5.91753 6.08035H4.77565Z" /></svg>diff --git a/packages/icons/src/__generated__/auto-scroll.tsx b/packages/icons/src/__generated__/auto-scroll.tsxnew file mode 100644index 0000000000..39621852a9--- /dev/null+++ b/packages/icons/src/__generated__/auto-scroll.tsx@@ -0,0 +1,15 @@+// Generated from icons/auto-scroll.svg++import { forwardRef } from "react";+import { IconProps } from "../types";++// prettier-ignore+export const AutoScrollIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M2.375 3.302c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM2.375 12.698c0-.305.28-.552.625-.552h10c.345 0 .625.247.625.552 0 .305-.28.552-.625.552H3c-.345 0-.625-.247-.625-.552ZM11.23 5.429c0-.26-.211-.47-.473-.47a.472.472 0 0 0-.474.47v3.946l-1.238-1.23a.476.476 0 0 0-.67 0 .468.468 0 0 0 0 .666l2.047 2.033a.476.476 0 0 0 .67 0L13.14 8.81a.468.468 0 0 0 0-.666.476.476 0 0 0-.67 0l-1.238 1.23V5.429Z" /><path fillRule="evenodd" d="M5.487 4.965a.749.749 0 0 1 .262.345c.037.087.075.2.115.317l1.629 4.825a.482.482 0 0 1-.913.304l-.581-1.722H4.272l-.58 1.722a.482.482 0 0 1-.913-.304l1.623-4.81.005-.015c.04-.117.078-.23.114-.316l.001-.001c.028-.067.1-.237.262-.345a.631.631 0 0 1 .703 0Zm-.892 3.113h1.081l-.54-1.6-.54 1.6Z" clipRule="evenodd" /></svg>+ );+ }+);++AutoScrollIcon.displayName = "AutoScrollIcon";diff --git a/packages/icons/src/__generated__/eyecon-closed.tsx b/packages/icons/src/__generated__/eyecon-closed.tsxnew file mode 100644index 0000000000..47e77e7cb1--- /dev/null+++ b/packages/icons/src/__generated__/eyecon-closed.tsx@@ -0,0 +1,15 @@+// Generated from icons/eyecon-closed.svg++import { forwardRef } from "react";+import { IconProps } from "../types";++// prettier-ignore+export const EyeconClosedIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M2.209 7.594a.55.55 0 0 1 .757.175 6.463 6.463 0 0 0 1.36 1.562A5.708 5.708 0 0 0 8 10.653c2.146 0 3.944-1.14 5.034-2.884a.55.55 0 0 1 .933.583c-.323.516-.702.99-1.13 1.41l.832.831a.55.55 0 1 1-.778.778l-.899-.898a6.815 6.815 0 0 1-1.889.954l.314 1.172a.55.55 0 0 1-1.062.284l-.323-1.206a6.992 6.992 0 0 1-2.063 0l-.323 1.206a.55.55 0 1 1-1.062-.284l.314-1.171a6.812 6.812 0 0 1-1.89-.955l-.897.898a.55.55 0 0 1-.778-.777l.83-.831a7.665 7.665 0 0 1-1.13-1.411.55.55 0 0 1 .176-.758Z" /></svg>+ );+ }+);++EyeconClosedIcon.displayName = "EyeconClosedIcon";diff --git a/packages/icons/src/__generated__/eyecon-open.tsx b/packages/icons/src/__generated__/eyecon-open.tsxnew file mode 100644index 0000000000..64e5e45030--- /dev/null+++ b/packages/icons/src/__generated__/eyecon-open.tsx@@ -0,0 +1,15 @@+// Generated from icons/eyecon-open.svg++import { forwardRef } from "react";+import { IconProps } from "../types";++// prettier-ignore+export const EyeconOpenIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M8 9.849A1.849 1.849 0 1 0 8 6.15 1.849 1.849 0 0 0 8 9.85Z" /><path fillRule="evenodd" d="M2.132 8.458a.857.857 0 0 1 0-.915A6.927 6.927 0 0 1 8 4.303a6.927 6.927 0 0 1 5.868 3.24.857.857 0 0 1 0 .915A6.927 6.927 0 0 1 8 11.698a6.927 6.927 0 0 1-5.868-3.24ZM8 10.698A5.926 5.926 0 0 1 3.027 8 5.926 5.926 0 0 1 8 5.303 5.926 5.926 0 0 1 12.973 8 5.926 5.926 0 0 1 8 10.697Z" clipRule="evenodd" /></svg>+ );+ }+);++EyeconOpenIcon.displayName = "EyeconOpenIcon";diff --git a/packages/icons/src/__generated__/index.ts b/packages/icons/src/__generated__/index.tsindex ae260102ee..a6ce5b9b71 100644--- a/packages/icons/src/__generated__/index.ts+++ b/packages/icons/src/__generated__/index.ts@@ -1,4 +1,8 @@+export * from "./auto-scroll";+export * from "./eyecon-closed";+export * from "./eyecon-open";export * from "./linked";+export * from "./scroll";export * from "./subscript";export * from "./superscript";export * from "./unlinked";diff --git a/packages/icons/src/__generated__/linked.tsx b/packages/icons/src/__generated__/linked.tsxindex 4a6e26f192..9e8532c650 100644--- a/packages/icons/src/__generated__/linked.tsx+++ b/packages/icons/src/__generated__/linked.tsx@@ -7,7 +7,7 @@ import { IconProps } from "../types";export const LinkedIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" fillRule="evenodd" d="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776ZM5.233 8a.7.7 0 0 1 .7-.7h4.133a.7.7 0 1 1 0 1.4H5.933a.7.7 0 0 1-.7-.7Z" clipRule="evenodd" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776ZM5.233 8a.7.7 0 0 1 .7-.7h4.133a.7.7 0 1 1 0 1.4H5.933a.7.7 0 0 1-.7-.7Z" clipRule="evenodd" /></svg>);});diff --git a/packages/icons/src/__generated__/scroll.tsx b/packages/icons/src/__generated__/scroll.tsxnew file mode 100644index 0000000000..79b58c1c27--- /dev/null+++ b/packages/icons/src/__generated__/scroll.tsx@@ -0,0 +1,15 @@+// Generated from icons/scroll.svg++import { forwardRef } from "react";+import { IconProps } from "../types";++// prettier-ignore+export const ScrollIcon = forwardRef<SVGSVGElement, IconProps>(+ ({ color = "currentColor", ...props }, forwardedRef) => {+ return (+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path d="M10.953 5.399a.484.484 0 0 0-.49-.478c-.27 0-.49.214-.49.478v4.009l-1.28-1.25a.499.499 0 0 0-.693 0 .47.47 0 0 0 0 .677l2.117 2.065a.499.499 0 0 0 .693 0l2.116-2.065a.47.47 0 0 0 0-.676.499.499 0 0 0-.693 0l-1.28 1.249V5.399Z" /><path fillRule="evenodd" d="M1.94 12.7c0 .304.277.55.618.55h10.894c.341 0 .618-.246.618-.55 0-.304-.277-.55-.618-.55H2.558c-.341 0-.618.246-.618.55ZM1.94 3.3c0 .304.277.55.618.55h10.894c.341 0 .618-.246.618-.55 0-.304-.277-.55-.618-.55H2.558c-.341 0-.618.246-.618.55ZM1.94 5.65c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55ZM1.94 10.35c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55ZM1.94 8c0 .304.26.55.582.55h3.796c.321 0 .582-.246.582-.55 0-.304-.26-.55-.582-.55H2.522c-.321 0-.582.246-.582.55Z" clipRule="evenodd" /></svg>+ );+ }+);++ScrollIcon.displayName = "ScrollIcon";diff --git a/packages/icons/src/__generated__/unlinked.tsx b/packages/icons/src/__generated__/unlinked.tsxindex 116c72079b..8f55ef6cbe 100644--- a/packages/icons/src/__generated__/unlinked.tsx+++ b/packages/icons/src/__generated__/unlinked.tsx@@ -7,7 +7,7 @@ import { IconProps } from "../types";export const UnlinkedIcon = forwardRef<SVGSVGElement, IconProps>(({ color = "currentColor", ...props }, forwardedRef) => {return (- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fill="#11181C" fillRule="evenodd" d="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776Z" clipRule="evenodd" /></svg>+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16" fill={color} {...props} ref={forwardedRef}><path fillRule="evenodd" d="M11.223 6.08h-1.142a.7.7 0 0 1 0-1.4h1.142c1.952 0 3.7 1.4 3.7 3.32s-1.748 3.32-3.7 3.32h-1.142a.7.7 0 0 1 0-1.4h1.142c1.363 0 2.3-.946 2.3-1.92s-.937-1.92-2.3-1.92Zm-6.447 0c-1.363 0-2.3.946-2.3 1.92 0 .975.937 1.92 2.3 1.92h1.142a.7.7 0 0 1 0 1.4H4.776c-1.952 0-3.7-1.4-3.7-3.32s1.748-3.32 3.7-3.32h1.142a.7.7 0 1 1 0 1.4H4.776Z" clipRule="evenodd" /></svg>);});