@syscore/ui-library 2.0.0-beta-publish-workflow-beta.16 → 2.0.0-beta-publish-workflow-beta.18
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/client/components/icons/IconUtility.tsx +353 -0
- package/client/components/icons/X.tsx +4 -3
- package/client/components/ui/alert-v02.tsx +2 -6
- package/client/components/ui/button-v01.tsx +2 -12
- package/client/components/ui/button.tsx +39 -3
- package/client/components/ui/dropdown.tsx +2 -12
- package/client/components/ui/navigation.tsx +25 -4
- package/client/components/ui/radio-v01.tsx +84 -0
- package/client/components/ui/search-field-v01.tsx +10 -28
- package/client/components/ui/section-heading.tsx +1 -1
- package/client/components/ui/sign-in-field-v01.tsx +150 -0
- package/client/global.css +363 -73
- package/client/lib/system-icons.ts +1583 -0
- package/client/lib/utility-icons.ts +121 -0
- package/client/ui/Button.stories.tsx +63 -0
- package/client/ui/Colors.stories.tsx +34 -31
- package/client/ui/Icons.stories.tsx +179 -0
- package/client/ui/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/client/ui/RadioV01/RadioV01.stories.tsx +136 -0
- package/client/ui/SearchField/SearchField.stories.tsx +4 -1
- package/client/ui/TextAreaV01/TextAreaV01.stories.tsx +23 -2
- package/client/ui/TextFieldV01/PasswordFieldV01.stories.tsx +25 -11
- package/client/ui/TextFieldV01/SignInFieldV01.stories.tsx +196 -0
- package/dist/client/assets/alert/icon-clear.svg.js +4 -0
- package/dist/client/assets/alert/icon-done.svg.js +4 -0
- package/dist/client/assets/avatar-identity/placeholder-icon.svg.js +4 -0
- package/dist/client/assets/breadcrumb/icon-ellipsis.svg.js +4 -0
- package/dist/client/assets/breadcrumb/icon-home.svg.js +4 -0
- package/dist/client/assets/breadcrumb/icon-separator.svg.js +4 -0
- package/dist/client/assets/button-v01/icon-back.svg.js +4 -0
- package/dist/client/assets/button-v01/icon-check.svg.js +4 -0
- package/dist/client/assets/button-v01/icon-close.svg.js +4 -0
- package/dist/client/assets/button-v01/icon-delete.svg.js +4 -0
- package/dist/client/assets/button-v01/icon-device.svg.js +4 -0
- package/dist/client/assets/dropdown/icon-carrot-contract.svg.js +4 -0
- package/dist/client/assets/dropdown/icon-carrot-expand.svg.js +4 -0
- package/dist/client/assets/dropdown/icon-clear.svg.js +4 -0
- package/dist/client/assets/dropdown/icon-enter.svg.js +4 -0
- package/dist/client/components/icons/AlphaIcon.js +129 -0
- package/dist/client/components/icons/ConceptIcons.js +905 -0
- package/dist/client/components/icons/IconUtility.js +410 -0
- package/dist/client/components/icons/NavAccount.js +37 -0
- package/dist/client/components/icons/NavBullet.js +17 -0
- package/dist/client/components/icons/NavLogo.js +48 -0
- package/dist/client/components/icons/StandardLogo.js +93 -0
- package/dist/client/components/icons/UtilityAccordion.js +27 -0
- package/dist/client/components/icons/UtilityChangeType.js +26 -0
- package/dist/client/components/icons/UtilityCheck.js +28 -0
- package/dist/client/components/icons/UtilityChevronDown.js +39 -0
- package/dist/client/components/icons/UtilityClassification.js +53 -0
- package/dist/client/components/icons/UtilityClearRegular.js +51 -0
- package/dist/client/components/icons/UtilityClose.js +49 -0
- package/dist/client/components/icons/UtilityCompare.js +91 -0
- package/dist/client/components/icons/UtilityDrag.js +89 -0
- package/dist/client/components/icons/UtilityEdit.js +50 -0
- package/dist/client/components/icons/UtilityFeedback.js +38 -0
- package/dist/client/components/icons/UtilityHome.js +34 -0
- package/dist/client/components/icons/UtilityMessage.js +41 -0
- package/dist/client/components/icons/UtilityOptions.js +53 -0
- package/dist/client/components/icons/UtilityPortfolio.js +116 -0
- package/dist/client/components/icons/UtilityReset.js +49 -0
- package/dist/client/components/icons/UtilityRevisionsHide.js +76 -0
- package/dist/client/components/icons/UtilityRevisionsShow.js +56 -0
- package/dist/client/components/icons/UtilitySave.js +38 -0
- package/dist/client/components/icons/UtilityScopeLarge.js +123 -0
- package/dist/client/components/icons/UtilityScoring.js +51 -0
- package/dist/client/components/icons/UtilitySearch.js +46 -0
- package/dist/client/components/icons/UtilityShow.js +49 -0
- package/dist/client/components/icons/UtilitySort.js +63 -0
- package/dist/client/components/icons/UtilityTarget.js +29 -0
- package/dist/client/components/icons/UtilityTargetActive.js +48 -0
- package/dist/client/components/icons/UtilityText.js +59 -0
- package/dist/client/components/icons/UtilityTrash.js +66 -0
- package/dist/client/components/icons/UtilityTriangleInfo.js +38 -0
- package/dist/client/components/icons/X.js +40 -0
- package/dist/client/components/icons/achievement-badges/BadgeCertificationBronze.js +144 -0
- package/dist/client/components/icons/achievement-badges/BadgeCertificationGold.js +144 -0
- package/dist/client/components/icons/achievement-badges/BadgeCertificationPlatinum.js +144 -0
- package/dist/client/components/icons/achievement-badges/BadgeCertificationSilver.js +144 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingCoworking.js +91 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingDesign.js +91 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingEquity.js +91 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingHealthySafety.js +93 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingOperations.js +93 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingPerformance.js +93 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingRealEstate.js +93 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingResidential.js +93 -0
- package/dist/client/components/icons/achievement-badges/BadgeRatingWorkforce.js +91 -0
- package/dist/client/components/icons/imperative-badges/BadgeImperativePrimary.js +58 -0
- package/dist/client/components/icons/imperative-badges/BadgeImperativeSecondary.js +69 -0
- package/dist/client/components/icons/provider-badges/BadgeEnterpriseProvider.js +117 -0
- package/dist/client/components/icons/provider-badges/BadgePerformanceTestingProvider.js +124 -0
- package/dist/client/components/icons/provider-badges/BadgeProductProvider.js +117 -0
- package/dist/client/components/icons/provider-badges/BadgeSurveyProvider.js +117 -0
- package/dist/client/components/icons/provider-seals/SealEnterpriseProvider.js +100 -0
- package/dist/client/components/icons/provider-seals/SealPerformanceTestingProvider.js +100 -0
- package/dist/client/components/icons/provider-seals/SealProductProvider.js +98 -0
- package/dist/client/components/icons/provider-seals/SealProviders.js +98 -0
- package/dist/client/components/icons/provider-seals/SealSurveyProvider.js +98 -0
- package/dist/client/components/icons/seals/IWBILogo.js +301 -0
- package/dist/client/components/icons/seals/SealCertification.js +206 -0
- package/dist/client/components/icons/seals/SealCertificationBronze.js +140 -0
- package/dist/client/components/icons/seals/SealCertificationGold.js +140 -0
- package/dist/client/components/icons/seals/SealCertificationPlatinum.js +140 -0
- package/dist/client/components/icons/seals/SealCertificationSilver.js +140 -0
- package/dist/client/components/icons/seals/SealIwbiMember.js +134 -0
- package/dist/client/components/icons/seals/SealRating.js +157 -0
- package/dist/client/components/icons/seals/SealRatingCoworking.js +89 -0
- package/dist/client/components/icons/seals/SealRatingDesign.js +89 -0
- package/dist/client/components/icons/seals/SealRatingEquity.js +89 -0
- package/dist/client/components/icons/seals/SealRatingHealthSafety.js +91 -0
- package/dist/client/components/icons/seals/SealRatingOperations.js +89 -0
- package/dist/client/components/icons/seals/SealRatingPerformance.js +91 -0
- package/dist/client/components/icons/seals/SealRatingRealEstate.js +89 -0
- package/dist/client/components/icons/seals/SealRatingWorkforce.js +89 -0
- package/dist/client/components/icons/seals/SealWell.js +132 -0
- package/dist/client/components/icons/seals/SealWellCertification.js +225 -0
- package/dist/client/components/icons/seals/SealWellCommunity.js +197 -0
- package/dist/client/components/icons/seals/SealWellResidence.js +197 -0
- package/dist/client/components/icons/seals/SealWorksWithWell.js +227 -0
- package/dist/client/components/icons/seals/WaterMarkWWWProducts.js +27 -0
- package/dist/client/components/icons/seals/WaterMarkWellProjects.js +36 -0
- package/dist/client/components/icons/seals/WatermarkMemberOrg.js +24 -0
- package/dist/client/components/ui/accordion.js +326 -0
- package/dist/client/components/ui/alert-dialog-panel.js +156 -0
- package/dist/client/components/ui/alert-dialog.js +103 -0
- package/dist/client/components/ui/alert-v02.js +157 -0
- package/dist/client/components/ui/alert.js +55 -0
- package/dist/client/components/ui/app-bar.js +203 -0
- package/dist/client/components/ui/aspect-ratio.js +5 -0
- package/dist/client/components/ui/avatar-identity.js +93 -0
- package/dist/client/components/ui/avatar.js +56 -0
- package/dist/client/components/ui/back-link.js +27 -0
- package/dist/client/components/ui/banner.js +75 -0
- package/dist/client/components/ui/bottom-navigation.js +127 -0
- package/dist/client/components/ui/breadcrumb-trail.js +137 -0
- package/dist/client/components/ui/breadcrumb.js +91 -0
- package/dist/client/components/ui/button-v01.js +173 -0
- package/dist/client/components/ui/button.js +99 -0
- package/dist/client/components/ui/calendar.js +62 -0
- package/dist/client/components/ui/card.js +177 -0
- package/dist/client/components/ui/carousel.js +198 -0
- package/dist/client/components/ui/centered-page.js +10 -0
- package/dist/client/components/ui/chart.js +239 -0
- package/dist/client/components/ui/checkbox-field.js +39 -0
- package/dist/client/components/ui/checkbox.js +18 -0
- package/dist/client/components/ui/code-badge.js +29 -0
- package/dist/client/components/ui/collapsible.js +9 -0
- package/dist/client/components/ui/command.js +79 -0
- package/dist/client/components/ui/context-menu.js +138 -0
- package/dist/client/components/ui/copy.js +39 -0
- package/dist/client/components/ui/credit-card-preview.js +74 -0
- package/dist/client/components/ui/data-grid.js +156 -0
- package/dist/client/components/ui/date-picker.js +142 -0
- package/dist/client/components/ui/dialog.js +179 -0
- package/dist/client/components/ui/drawer.js +95 -0
- package/dist/client/components/ui/drop-zone.js +87 -0
- package/dist/client/components/ui/dropdown-menu.js +139 -0
- package/dist/client/components/ui/dropdown.js +339 -0
- package/dist/client/components/ui/empty-state.js +76 -0
- package/dist/client/components/ui/field-group.js +32 -0
- package/dist/client/components/ui/file-upload-trigger.js +70 -0
- package/dist/client/components/ui/file-upload.js +171 -0
- package/dist/client/components/ui/footer.js +97 -0
- package/dist/client/components/ui/form.js +109 -0
- package/dist/client/components/ui/height-container.js +41 -0
- package/dist/client/components/ui/hero-section.js +44 -0
- package/dist/client/components/ui/hero-split-image.js +45 -0
- package/dist/client/components/ui/hover-card.js +22 -0
- package/dist/client/components/ui/icon-button.js +30 -0
- package/dist/client/components/ui/inline-notice.js +19 -0
- package/dist/client/components/ui/input-otp.js +46 -0
- package/dist/client/components/ui/input.js +37 -0
- package/dist/client/components/ui/label.js +31 -0
- package/dist/client/components/ui/labeled-divider.js +23 -0
- package/dist/client/components/ui/layout.js +724 -0
- package/dist/client/components/ui/menubar.js +157 -0
- package/dist/client/components/ui/meta-row.js +19 -0
- package/dist/client/components/ui/mobile-nav.js +230 -0
- package/dist/client/components/ui/modal-panel.js +116 -0
- package/dist/client/components/ui/navigation-menu.js +89 -0
- package/dist/client/components/ui/navigation.js +452 -0
- package/dist/client/components/ui/outline-node.js +57 -0
- package/dist/client/components/ui/page-header.js +79 -0
- package/dist/client/components/ui/pagination-v01.js +124 -0
- package/dist/client/components/ui/pagination.js +105 -0
- package/dist/client/components/ui/password-field-v01.js +46 -0
- package/dist/client/components/ui/pill-button.js +34 -0
- package/dist/client/components/ui/popover.js +22 -0
- package/dist/client/components/ui/price-tag.js +20 -0
- package/dist/client/components/ui/profile-avatar.js +92 -0
- package/dist/client/components/ui/progress.js +23 -0
- package/dist/client/components/ui/radio-card.js +30 -0
- package/dist/client/components/ui/radio-group.js +32 -0
- package/dist/client/components/ui/radio-v01.js +58 -0
- package/dist/client/components/ui/resizable.js +32 -0
- package/dist/client/components/ui/resource-thumbnail.js +24 -0
- package/dist/client/components/ui/scroll-area.js +37 -0
- package/dist/client/components/ui/search-field-v01.js +111 -0
- package/dist/client/components/ui/search.js +109 -0
- package/dist/client/components/ui/section-badge.js +22 -0
- package/dist/client/components/ui/section-heading.js +21 -0
- package/dist/client/components/ui/select.js +96 -0
- package/dist/client/components/ui/separator.js +24 -0
- package/dist/client/components/ui/sheet.js +106 -0
- package/dist/client/components/ui/side-nav.js +173 -0
- package/dist/client/components/ui/sidebar.js +580 -0
- package/dist/client/components/ui/sign-in-field-v01.js +107 -0
- package/dist/client/components/ui/skeleton.js +17 -0
- package/dist/client/components/ui/slider.js +20 -0
- package/dist/client/components/ui/social-button.js +34 -0
- package/dist/client/components/ui/standard-navigation.js +454 -0
- package/dist/client/components/ui/status-pill.js +42 -0
- package/dist/client/components/ui/stepper.js +111 -0
- package/dist/client/components/ui/switch-v01.js +39 -0
- package/dist/client/components/ui/switch.js +17 -0
- package/dist/client/components/ui/system-bar.js +76 -0
- package/dist/client/components/ui/table.js +107 -0
- package/dist/client/components/ui/tabs-v01.js +74 -0
- package/dist/client/components/ui/tabs.js +253 -0
- package/dist/client/components/ui/tag-v02.js +85 -0
- package/dist/client/components/ui/tag.js +73 -0
- package/dist/client/components/ui/text-area-v01.js +26 -0
- package/dist/client/components/ui/text-field-v01.js +78 -0
- package/dist/client/components/ui/text-link.js +23 -0
- package/dist/client/components/ui/textarea.js +19 -0
- package/dist/client/components/ui/timeline.js +87 -0
- package/dist/client/components/ui/toast-v01.js +155 -0
- package/dist/client/components/ui/toast.js +88 -0
- package/dist/client/components/ui/toaster.js +22 -0
- package/dist/client/components/ui/toggle.js +56 -0
- package/dist/client/components/ui/tooltip.js +328 -0
- package/dist/client/components/ui/typography.js +119 -0
- package/dist/client/hooks/use-mobile.js +20 -0
- package/dist/client/hooks/use-segmented-control.js +32 -0
- package/dist/client/hooks/use-tabs.js +22 -0
- package/dist/client/hooks/use-toast.js +122 -0
- package/dist/client/lib/concept-colors.js +74 -0
- package/dist/client/lib/concept-icons.js +32 -0
- package/dist/client/lib/utility-icons.js +73 -0
- package/dist/client/lib/utils.js +13 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +156 -0
- package/dist/ui/index.js +774 -0
- package/package.json +9 -6
- package/dist/index.cjs.js +0 -1
- package/dist/index.es.js +0 -18989
- /package/{dist → client}/fonts/FT-Made/FTMade-Regular.otf +0 -0
- /package/{dist → client}/fonts/FT-Made/FTMade-Regular.ttf +0 -0
- /package/{dist → client}/fonts/FT-Made/FTMade-Regular.woff +0 -0
- /package/{dist → client}/fonts/FT-Made/FTMade-Regular.woff2 +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-black.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-blackitalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-bold.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-bolditalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-extrabold.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-extrabolditalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-extralight.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-extralightitalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-italic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-light.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-lightitalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-medium.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-mediumitalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-regular.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-semibold.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-semibolditalic.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-thin.otf +0 -0
- /package/{dist → client}/fonts/Mazzard-M/mazzardsoftm-thinitalic.otf +0 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import { RadioV01 } from "../../components/ui/radio-v01";
|
|
4
|
+
import type { RadioV01State } from "../../components/ui/radio-v01";
|
|
5
|
+
|
|
6
|
+
/** Figma's five `State` values, in the order the spec sheet lists them. */
|
|
7
|
+
const states: ReadonlyArray<{ name: string; state: RadioV01State }> = [
|
|
8
|
+
{ name: "Default", state: "default" },
|
|
9
|
+
{ name: "Focus", state: "focus" },
|
|
10
|
+
{ name: "Error", state: "error" },
|
|
11
|
+
{ name: "Error Focus", state: "error-focus" },
|
|
12
|
+
{ name: "Disabled", state: "disabled" },
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const rowLabel: React.CSSProperties = {
|
|
16
|
+
width: 94,
|
|
17
|
+
fontSize: 12,
|
|
18
|
+
fontWeight: 500,
|
|
19
|
+
color: "#52545d",
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** Row label on the left, control on the right — the Figma sheet's layout. */
|
|
23
|
+
const StateColumn = ({
|
|
24
|
+
checked,
|
|
25
|
+
...shared
|
|
26
|
+
}: { checked: boolean } & React.ComponentProps<typeof RadioV01>) => (
|
|
27
|
+
<div style={{ display: "flex", flexDirection: "column", gap: 36 }}>
|
|
28
|
+
{states.map(({ name, state }) => (
|
|
29
|
+
<div key={state} style={{ display: "flex", alignItems: "center" }}>
|
|
30
|
+
<span style={rowLabel}>{name}</span>
|
|
31
|
+
<RadioV01
|
|
32
|
+
{...shared}
|
|
33
|
+
state={state}
|
|
34
|
+
name={`radio-${checked ? "selected" : "unselected"}-${state}`}
|
|
35
|
+
defaultChecked={checked}
|
|
36
|
+
/>
|
|
37
|
+
</div>
|
|
38
|
+
))}
|
|
39
|
+
</div>
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* `render` hands Storybook a single `<StateColumn />`, so "Show code" would
|
|
44
|
+
* print just that. These are the lines a consumer would actually write.
|
|
45
|
+
*/
|
|
46
|
+
const sourceFor = (checked: boolean) =>
|
|
47
|
+
states
|
|
48
|
+
.map(
|
|
49
|
+
({ state }) =>
|
|
50
|
+
`<RadioV01 state="${state}"${checked ? " defaultChecked" : ""} />`,
|
|
51
|
+
)
|
|
52
|
+
.join("\n");
|
|
53
|
+
|
|
54
|
+
const meta = {
|
|
55
|
+
title: "Components/Radio",
|
|
56
|
+
component: RadioV01,
|
|
57
|
+
tags: ["autodocs"],
|
|
58
|
+
parameters: {
|
|
59
|
+
layout: "centered",
|
|
60
|
+
docs: {
|
|
61
|
+
description: {
|
|
62
|
+
component: [
|
|
63
|
+
"Radio control — unselected or selected, each in five states.",
|
|
64
|
+
"",
|
|
65
|
+
"## Import",
|
|
66
|
+
"",
|
|
67
|
+
"```tsx",
|
|
68
|
+
`import { RadioV01 } from "@syscore/ui-library"`,
|
|
69
|
+
"```",
|
|
70
|
+
"",
|
|
71
|
+
"## How to use",
|
|
72
|
+
"",
|
|
73
|
+
"Give every radio in a group the same `name` and let the browser own",
|
|
74
|
+
"selection. The dot is painted from `:checked`, so picking a sibling clears",
|
|
75
|
+
"this one and arrow keys move between them without any extra wiring.",
|
|
76
|
+
"",
|
|
77
|
+
"```tsx",
|
|
78
|
+
"const [plan, setPlan] = useState('core')",
|
|
79
|
+
"",
|
|
80
|
+
"<>",
|
|
81
|
+
" <RadioV01",
|
|
82
|
+
' name="plan"',
|
|
83
|
+
' value="core"',
|
|
84
|
+
' label="Core certification"',
|
|
85
|
+
" checked={plan === 'core'}",
|
|
86
|
+
" onChange={() => setPlan('core')}",
|
|
87
|
+
" />",
|
|
88
|
+
" <RadioV01",
|
|
89
|
+
' name="plan"',
|
|
90
|
+
' value="precheck"',
|
|
91
|
+
' label="Precheck"',
|
|
92
|
+
" checked={plan === 'precheck'}",
|
|
93
|
+
" onChange={() => setPlan('precheck')}",
|
|
94
|
+
" />",
|
|
95
|
+
"</>",
|
|
96
|
+
"```",
|
|
97
|
+
"",
|
|
98
|
+
"Leave `state` off in an app — focus is real focus, and `error` and",
|
|
99
|
+
"`disabled` derive the rest. It exists only to hold one state still for the",
|
|
100
|
+
"specimens below. `label` is optional; without it you get the bare control.",
|
|
101
|
+
].join("\n"),
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
argTypes: {
|
|
106
|
+
state: {
|
|
107
|
+
control: "select",
|
|
108
|
+
options: ["default", "focus", "error", "error-focus", "disabled"],
|
|
109
|
+
},
|
|
110
|
+
error: { control: "boolean" },
|
|
111
|
+
disabled: { control: "boolean" },
|
|
112
|
+
label: { control: "text" },
|
|
113
|
+
defaultChecked: { table: { disable: true } },
|
|
114
|
+
containerClassName: { table: { disable: true } },
|
|
115
|
+
},
|
|
116
|
+
args: {
|
|
117
|
+
label: "Label",
|
|
118
|
+
},
|
|
119
|
+
} satisfies Meta<typeof RadioV01>;
|
|
120
|
+
|
|
121
|
+
export default meta;
|
|
122
|
+
type Story = StoryObj<typeof meta>;
|
|
123
|
+
|
|
124
|
+
export const Unselected: Story = {
|
|
125
|
+
render: (args) => <StateColumn {...args} checked={false} />,
|
|
126
|
+
args: { label: undefined },
|
|
127
|
+
argTypes: { state: { table: { disable: true } } },
|
|
128
|
+
parameters: { docs: { source: { code: sourceFor(false) } } },
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export const Selected: Story = {
|
|
132
|
+
render: (args) => <StateColumn {...args} checked />,
|
|
133
|
+
args: { label: undefined },
|
|
134
|
+
argTypes: { state: { table: { disable: true } } },
|
|
135
|
+
parameters: { docs: { source: { code: sourceFor(true) } } },
|
|
136
|
+
};
|
|
@@ -30,7 +30,10 @@ const meta = {
|
|
|
30
30
|
"| **blurred** | search icon + placeholder | value + clear button |",
|
|
31
31
|
"| **focused** | cyan border, icon hidden | cyan border, typeahead + Enter |",
|
|
32
32
|
"",
|
|
33
|
-
"Pass `state` only to pin one for a spec or a screenshot.",
|
|
33
|
+
"Pass `state` only to pin one for a spec or a screenshot. A pinned",
|
|
34
|
+
"`focus` or `active` also draws the caret; under real",
|
|
35
|
+
"focus the browser's own caret is used instead, since it tracks where",
|
|
36
|
+
"the insertion point actually is.",
|
|
34
37
|
"",
|
|
35
38
|
"| Prop | Values | Default |",
|
|
36
39
|
"|------|--------|---------|",
|
|
@@ -23,6 +23,25 @@ const specimens = [
|
|
|
23
23
|
{ name: "Disabled", props: { disabled: true, defaultValue: DISABLED } },
|
|
24
24
|
] as const;
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* `autoFocus` alone lands the caret at index 0, so a prefilled specimen shows
|
|
28
|
+
* it sitting in front of the text. Focusing from an effect lets the selection
|
|
29
|
+
* be collapsed to the end first, which is where a caret belongs mid-typing.
|
|
30
|
+
*/
|
|
31
|
+
const FocusedAtEnd = (props: React.ComponentProps<typeof TextAreaV01>) => {
|
|
32
|
+
const ref = React.useRef<HTMLTextAreaElement>(null);
|
|
33
|
+
|
|
34
|
+
React.useEffect(() => {
|
|
35
|
+
const el = ref.current;
|
|
36
|
+
if (!el) return;
|
|
37
|
+
const end = el.value.length;
|
|
38
|
+
el.focus();
|
|
39
|
+
el.setSelectionRange(end, end);
|
|
40
|
+
}, []);
|
|
41
|
+
|
|
42
|
+
return <TextAreaV01 {...props} ref={ref} />;
|
|
43
|
+
};
|
|
44
|
+
|
|
26
45
|
const sectionHeading: React.CSSProperties = {
|
|
27
46
|
margin: "0 0 20px",
|
|
28
47
|
fontSize: 14,
|
|
@@ -107,12 +126,14 @@ export const Focus: Story = {
|
|
|
107
126
|
};
|
|
108
127
|
|
|
109
128
|
export const Active: Story = {
|
|
110
|
-
args: { focused: true,
|
|
129
|
+
args: { focused: true, defaultValue: SHORT },
|
|
130
|
+
render: (args) => <FocusedAtEnd {...args} />,
|
|
111
131
|
};
|
|
112
132
|
|
|
113
133
|
export const InProgress: Story = {
|
|
114
134
|
name: "In progress",
|
|
115
|
-
args: { focused: true,
|
|
135
|
+
args: { focused: true, defaultValue: LONG },
|
|
136
|
+
render: (args) => <FocusedAtEnd {...args} />,
|
|
116
137
|
};
|
|
117
138
|
|
|
118
139
|
export const Filled: Story = {
|
|
@@ -141,20 +141,34 @@ export const AllVariants: Story = {
|
|
|
141
141
|
<div
|
|
142
142
|
style={{
|
|
143
143
|
display: "flex",
|
|
144
|
-
|
|
145
|
-
gap: 56,
|
|
144
|
+
gap: 48,
|
|
146
145
|
padding: "32px 24px 48px",
|
|
147
146
|
}}
|
|
148
147
|
>
|
|
149
|
-
{
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
148
|
+
{/* Figma lays the set out as two columns of the same seven states —
|
|
149
|
+
Hide=No on the left, Hide=Yes on the right (node 12023:5210). */}
|
|
150
|
+
{([false, true] as const).map((hide) => (
|
|
151
|
+
<div
|
|
152
|
+
key={String(hide)}
|
|
153
|
+
style={{ display: "flex", flexDirection: "column", gap: 40 }}
|
|
154
|
+
>
|
|
155
|
+
<h3 style={sectionHeading}>
|
|
156
|
+
{hide ? "Hide = Yes (masked)" : "Hide = No (revealed)"}
|
|
157
|
+
</h3>
|
|
158
|
+
{specimens.map((specimen) => (
|
|
159
|
+
<section key={specimen.name}>
|
|
160
|
+
<h4 style={{ ...sectionHeading, margin: "0 0 12px", fontSize: 12 }}>
|
|
161
|
+
{specimen.name}
|
|
162
|
+
</h4>
|
|
163
|
+
<PasswordFieldV01
|
|
164
|
+
label={args.label}
|
|
165
|
+
placeholder={args.placeholder}
|
|
166
|
+
visible={!hide}
|
|
167
|
+
{...specimen.props}
|
|
168
|
+
/>
|
|
169
|
+
</section>
|
|
170
|
+
))}
|
|
171
|
+
</div>
|
|
158
172
|
))}
|
|
159
173
|
</div>
|
|
160
174
|
),
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
import { SignInFieldV01 } from "../../components/ui/sign-in-field-v01";
|
|
4
|
+
import type { SignInFieldV01Props } from "../../components/ui/sign-in-field-v01";
|
|
5
|
+
|
|
6
|
+
const EMAIL = "andre.poremski@wearewell.com";
|
|
7
|
+
const PASSWORD = "Str0ngPassw0rd!";
|
|
8
|
+
|
|
9
|
+
type Specimen = { name: string; props: Partial<SignInFieldV01Props> };
|
|
10
|
+
|
|
11
|
+
const emailSpecimens: Specimen[] = [
|
|
12
|
+
{ name: "Default", props: { state: "default" } },
|
|
13
|
+
{ name: "Focus", props: { state: "focus" } },
|
|
14
|
+
{ name: "Active", props: { state: "active", defaultValue: EMAIL } },
|
|
15
|
+
{ name: "Filled", props: { state: "filled", defaultValue: EMAIL } },
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
const passwordSpecimens: Specimen[] = [
|
|
19
|
+
{ name: "Default", props: { state: "default" } },
|
|
20
|
+
{ name: "Focus", props: { state: "focus" } },
|
|
21
|
+
{
|
|
22
|
+
name: "Active · Hide=Yes",
|
|
23
|
+
props: { state: "active", defaultValue: PASSWORD, hide: true },
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: "Active · Hide=No",
|
|
27
|
+
props: { state: "active", defaultValue: PASSWORD, hide: false },
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: "Error",
|
|
31
|
+
props: { state: "error", placeholder: "I don’t know the password" },
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
const sectionHeading: React.CSSProperties = {
|
|
36
|
+
margin: "0 0 20px",
|
|
37
|
+
fontSize: 14,
|
|
38
|
+
fontWeight: 600,
|
|
39
|
+
textTransform: "uppercase",
|
|
40
|
+
letterSpacing: 0.5,
|
|
41
|
+
color: "#52545d",
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
const rowHeading: React.CSSProperties = {
|
|
45
|
+
...sectionHeading,
|
|
46
|
+
margin: "0 0 12px",
|
|
47
|
+
fontSize: 12,
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
const Column = ({
|
|
51
|
+
type,
|
|
52
|
+
specimens,
|
|
53
|
+
}: {
|
|
54
|
+
type: "email" | "password";
|
|
55
|
+
specimens: Specimen[];
|
|
56
|
+
}) => (
|
|
57
|
+
<div style={{ display: "flex", flexDirection: "column", gap: 40 }}>
|
|
58
|
+
<h3 style={sectionHeading}>{type}</h3>
|
|
59
|
+
{specimens.map((specimen) => (
|
|
60
|
+
<section key={specimen.name}>
|
|
61
|
+
<h4 style={rowHeading}>{specimen.name}</h4>
|
|
62
|
+
<SignInFieldV01 type={type} {...specimen.props} />
|
|
63
|
+
</section>
|
|
64
|
+
))}
|
|
65
|
+
</div>
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
const meta = {
|
|
69
|
+
title: "Components/Sign in Fields",
|
|
70
|
+
component: SignInFieldV01,
|
|
71
|
+
tags: ["autodocs"],
|
|
72
|
+
parameters: {
|
|
73
|
+
layout: "centered",
|
|
74
|
+
docs: {
|
|
75
|
+
description: {
|
|
76
|
+
component: [
|
|
77
|
+
"The paired email and password inputs for the sign-in form.",
|
|
78
|
+
"",
|
|
79
|
+
"## Import",
|
|
80
|
+
"",
|
|
81
|
+
"```tsx",
|
|
82
|
+
`import { SignInFieldV01 } from "@syscore/ui-library"`,
|
|
83
|
+
"```",
|
|
84
|
+
"",
|
|
85
|
+
"## How to use",
|
|
86
|
+
"",
|
|
87
|
+
"Pass nothing for `state` and it follows interaction — empty and blurred",
|
|
88
|
+
"is Default, focused is Focus, typing is Active, blurred with a value is",
|
|
89
|
+
"Filled. The two types stack into one joined control.",
|
|
90
|
+
"",
|
|
91
|
+
"```tsx",
|
|
92
|
+
"<>",
|
|
93
|
+
` <SignInFieldV01 type="email" value={email} onChange={…} />`,
|
|
94
|
+
` <SignInFieldV01`,
|
|
95
|
+
` type="password"`,
|
|
96
|
+
` value={password}`,
|
|
97
|
+
" onChange={…}",
|
|
98
|
+
" onHelp={openPasswordHelp}",
|
|
99
|
+
" />",
|
|
100
|
+
"</>",
|
|
101
|
+
"```",
|
|
102
|
+
"",
|
|
103
|
+
"## Not the text field",
|
|
104
|
+
"",
|
|
105
|
+
"This field is 60px tall rather than 48, has 24px side padding rather than",
|
|
106
|
+
"16, rests on a `blue/200` border rather than `gray/200`, carries no label",
|
|
107
|
+
"row, and is rounded on **one edge only** — email on top, password",
|
|
108
|
+
"beneath. Reach for `TextFieldV01` or `PasswordFieldV01` for standalone",
|
|
109
|
+
"labelled inputs.",
|
|
110
|
+
"",
|
|
111
|
+
"## What each type gets",
|
|
112
|
+
"",
|
|
113
|
+
"| | email | password |",
|
|
114
|
+
"|---|---|---|",
|
|
115
|
+
"| States | Default, Focus, Active, Filled | + Error |",
|
|
116
|
+
"| Corners | top | bottom |",
|
|
117
|
+
"| Actions | none | reveal toggle + help |",
|
|
118
|
+
"",
|
|
119
|
+
"email has no Error state. Password's Error sets its copy in `plum/800`",
|
|
120
|
+
"italic and keeps the `blue/200` border.",
|
|
121
|
+
"",
|
|
122
|
+
"`state` exists to hold one state still for the specimens; leave it off in",
|
|
123
|
+
"an app.",
|
|
124
|
+
].join("\n"),
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
argTypes: {
|
|
129
|
+
type: { control: "inline-radio", options: ["email", "password"] },
|
|
130
|
+
state: {
|
|
131
|
+
control: "select",
|
|
132
|
+
options: ["default", "focus", "active", "filled", "error"],
|
|
133
|
+
},
|
|
134
|
+
hide: { control: "boolean" },
|
|
135
|
+
placeholder: { control: "text" },
|
|
136
|
+
disabled: { control: "boolean" },
|
|
137
|
+
containerClassName: { table: { disable: true } },
|
|
138
|
+
value: { table: { disable: true } },
|
|
139
|
+
},
|
|
140
|
+
args: {
|
|
141
|
+
type: "email",
|
|
142
|
+
},
|
|
143
|
+
} satisfies Meta<typeof SignInFieldV01>;
|
|
144
|
+
|
|
145
|
+
export default meta;
|
|
146
|
+
type Story = StoryObj<typeof meta>;
|
|
147
|
+
|
|
148
|
+
export const Email: Story = {
|
|
149
|
+
args: { type: "email", state: "default" },
|
|
150
|
+
// Figma's `Type=email` has no Error variant.
|
|
151
|
+
argTypes: {
|
|
152
|
+
state: {
|
|
153
|
+
control: "select",
|
|
154
|
+
options: ["default", "focus", "active", "filled"],
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export const Password: Story = {
|
|
160
|
+
args: { type: "password", state: "default", defaultValue: PASSWORD },
|
|
161
|
+
argTypes: {
|
|
162
|
+
state: {
|
|
163
|
+
control: "select",
|
|
164
|
+
options: ["default", "focus", "active", "error"],
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
// How Figma means them to be used: stacked into one joined control.
|
|
170
|
+
export const Pair: Story = {
|
|
171
|
+
render: () => (
|
|
172
|
+
<div style={{ display: "flex", flexDirection: "column" }}>
|
|
173
|
+
<SignInFieldV01 type="email" />
|
|
174
|
+
<SignInFieldV01 type="password" />
|
|
175
|
+
</div>
|
|
176
|
+
),
|
|
177
|
+
argTypes: {
|
|
178
|
+
type: { table: { disable: true } },
|
|
179
|
+
state: { table: { disable: true } },
|
|
180
|
+
},
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
export const AllVariants: Story = {
|
|
184
|
+
name: "All Variants",
|
|
185
|
+
parameters: { layout: "padded" },
|
|
186
|
+
render: () => (
|
|
187
|
+
<div style={{ display: "flex", gap: 48, padding: "32px 24px 48px" }}>
|
|
188
|
+
<Column type="email" specimens={emailSpecimens} />
|
|
189
|
+
<Column type="password" specimens={passwordSpecimens} />
|
|
190
|
+
</div>
|
|
191
|
+
),
|
|
192
|
+
argTypes: {
|
|
193
|
+
type: { table: { disable: true } },
|
|
194
|
+
state: { table: { disable: true } },
|
|
195
|
+
},
|
|
196
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconClear = "data:image/svg+xml,%3csvg%20width='9.5'%20height='9.5'%20viewBox='0%200%209.5%209.5'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.75%200.75L8.75%208.75'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.75%200.75L0.75%208.75'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconClear as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconDone = "data:image/svg+xml,%3csvg%20width='12.7'%20height='9.15217'%20viewBox='0%200%2012.7%209.15217'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.95%200.75L4.25%208.40217L0.75%204.92391'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconDone as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const placeholderIcon = "data:image/svg+xml,%3csvg%20viewBox='0%200%2050.0084%2063.25'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='icon'%3e%3cg%20id='icon_2'%3e%3cpath%20d='M25.0045%2027.5C31.0796%2027.5%2036.0045%2022.5751%2036.0045%2016.5C36.0045%2010.4249%2031.0796%205.5%2025.0045%205.5C18.9293%205.5%2014.0045%2010.4249%2014.0045%2016.5C14.0045%2022.5751%2018.9293%2027.5%2025.0045%2027.5Z'%20fill='%23FFFFFF'/%3e%3cpath%20d='M0%2051.7864C4.34615%2042.3222%2013.9076%2035.75%2025.0041%2035.75C36.1007%2035.75%2045.6623%2042.3224%2050.0084%2051.7869C43.9567%2058.8064%2034.9995%2063.25%2025.0044%2063.25C15.009%2063.25%206.05161%2058.8062%200%2051.7864Z'%20fill='%23FFFFFF'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
placeholderIcon as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconEllipsis = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.00004%208.66666C8.36823%208.66666%208.66671%208.36818%208.66671%207.99999C8.66671%207.63181%208.36823%207.33333%208.00004%207.33333C7.63185%207.33333%207.33337%207.63181%207.33337%207.99999C7.33337%208.36818%207.63185%208.66666%208.00004%208.66666Z'%20stroke='%2352545D'%20stroke-width='1.125'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.6667%208.66666C13.0349%208.66666%2013.3333%208.36818%2013.3333%207.99999C13.3333%207.63181%2013.0349%207.33333%2012.6667%207.33333C12.2985%207.33333%2012%207.63181%2012%207.99999C12%208.36818%2012.2985%208.66666%2012.6667%208.66666Z'%20stroke='%2352545D'%20stroke-width='1.125'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3.33329%208.66666C3.70148%208.66666%203.99996%208.36818%203.99996%207.99999C3.99996%207.63181%203.70148%207.33333%203.33329%207.33333C2.9651%207.33333%202.66663%207.63181%202.66663%207.99999C2.66663%208.36818%202.9651%208.66666%203.33329%208.66666Z'%20stroke='%2352545D'%20stroke-width='1.125'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconEllipsis as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconHome = "data:image/svg+xml,%3csvg%20width='14'%20height='13.5475'%20viewBox='0%200%2014%2013.5475'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.13%203.8375L8.17%200.3675C7.47%20-0.1225%206.54%20-0.1225%205.83%200.3675L0.87%203.8375C0.33%204.2175%200%204.8375%200%205.5075V11.5075C0%2012.6275%200.91%2013.5475%202.04%2013.5475H3.95C4.39%2013.5475%204.75%2013.1875%204.75%2012.7475V8.9575C4.75%207.7675%205.61%206.6575%206.8%206.5575C8.13%206.4375%209.25%207.4875%209.25%208.7975V12.7475C9.25%2013.1875%209.61%2013.5475%2010.05%2013.5475H11.96C13.08%2013.5475%2014%2012.6375%2014%2011.5075V5.5075C14%204.8475%2013.68%204.2175%2013.13%203.8375Z'%20fill='%2352545D'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconHome as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconSeparator = "data:image/svg+xml,%3csvg%20width='4.5'%20height='7.5'%20viewBox='0%200%204.5%207.5'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.75%206.75L3.75%203.75L0.75%200.75'%20stroke='%23CBCDD2'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconSeparator as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconBack = "data:image/svg+xml,%3csvg%20width='13.3'%20height='13.3'%20viewBox='0%200%2013.3%2013.3'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.65%2012.65L0.65%206.65L6.65%200.65'%20stroke='currentColor'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.65%206.65H0.65'%20stroke='currentColor'%20stroke-width='1.3'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconBack as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconCheck = "data:image/svg+xml,%3csvg%20width='12.7'%20height='9.15217'%20viewBox='0%200%2012.7%209.15217'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.95%200.75L4.25%208.40217L0.75%204.92391'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconCheck as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconClose = "data:image/svg+xml,%3csvg%20width='11.1'%20height='11.1'%20viewBox='0%200%2011.1%2011.1'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.35%200.75L0.75%2010.35'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M0.75%200.75L10.35%2010.35'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconClose as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconDelete = "data:image/svg+xml,%3csvg%20width='14.1'%20height='15.5'%20viewBox='0%200%2014.1%2015.5'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.95%203.55V13.35C11.95%2013.7213%2011.8025%2014.0774%2011.5399%2014.3399C11.2774%2014.6025%2010.9213%2014.75%2010.55%2014.75H3.55C3.1787%2014.75%202.8226%2014.6025%202.56005%2014.3399C2.2975%2014.0774%202.15%2013.7213%202.15%2013.35V3.55M0.75%203.55H13.35M4.25%203.55V2.15C4.25%201.7787%204.3975%201.4226%204.66005%201.16005C4.9226%200.8975%205.2787%200.75%205.65%200.75H8.45C8.8213%200.75%209.1774%200.8975%209.43995%201.16005C9.7025%201.4226%209.85%201.7787%209.85%202.15V3.55'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconDelete as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconDevice = "data:image/svg+xml,%3csvg%20width='20'%20height='19.0963'%20viewBox='0%200%2020%2019.0963'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19%2013.6C19%2014.0774%2018.8104%2014.5352%2018.4728%2014.8728C18.1352%2015.2104%2017.6774%2015.4%2017.2%2015.4H5.3452C4.86785%2015.4001%204.41009%2015.5898%204.0726%2015.9274L2.0908%2017.9092C2.00143%2017.9985%201.88758%2018.0594%201.76364%2018.084C1.6397%2018.1087%201.51123%2018.096%201.39448%2018.0477C1.27772%2017.9993%201.17793%2017.9174%201.10772%2017.8124C1.0375%2017.7073%201.00002%2017.5838%201%2017.4574V2.8C1%202.32261%201.18964%201.86477%201.52721%201.52721C1.86477%201.18964%202.32261%201%202.8%201H17.2C17.6774%201%2018.1352%201.18964%2018.4728%201.52721C18.8104%201.86477%2019%202.32261%2019%202.8V13.6Z'%20fill='white'%20fill-opacity='0.2'%20stroke='white'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconDevice as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconCarrotContract = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3%2010.25L8%205.75L13%2010.25'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconCarrotContract as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconCarrotExpand = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13%205.75L8%2010.25L3%205.75'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconCarrotExpand as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconClear$1 = "data:image/svg+xml,%3csvg%20width='11.1'%20height='11.1'%20viewBox='0%200%2011.1%2011.1'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.35%200.75L0.75%2010.35'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M0.75%200.75L10.35%2010.35'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconClear$1 as default
|
|
4
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const iconEnter = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.16667%2013.6L15%208.00002L9.16667%202.40002M15%208.00002L1%208.00002'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
2
|
+
export {
|
|
3
|
+
iconEnter as default
|
|
4
|
+
};
|