@adobe-commerce/elsie 1.0.0-alpha1
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/.elsie.js +12 -0
- package/.eslintrc.js +9 -0
- package/README.md +52 -0
- package/__mocks__/svg.js +1 -0
- package/bin/builders/build/index.js +20 -0
- package/bin/builders/generate/api/index.js +65 -0
- package/bin/builders/generate/api/templates/function.js +9 -0
- package/bin/builders/generate/api/templates/index.js +7 -0
- package/bin/builders/generate/api/templates/story.js +23 -0
- package/bin/builders/generate/api/templates/unit-test.js +15 -0
- package/bin/builders/generate/component/index.js +87 -0
- package/bin/builders/generate/component/templates/Component.js +43 -0
- package/bin/builders/generate/component/templates/css.js +24 -0
- package/bin/builders/generate/component/templates/index.js +8 -0
- package/bin/builders/generate/component/templates/stories.js +46 -0
- package/bin/builders/generate/component/templates/unit-test.js +19 -0
- package/bin/builders/generate/config/index.js +54 -0
- package/bin/builders/generate/config/templates/elsie.js +29 -0
- package/bin/builders/generate/container/index.js +65 -0
- package/bin/builders/generate/container/templates/Component.js +18 -0
- package/bin/builders/generate/container/templates/index.js +8 -0
- package/bin/builders/generate/container/templates/stories.js +34 -0
- package/bin/builders/generate/container/templates/unit-test.js +19 -0
- package/bin/builders/generate/index.js +283 -0
- package/bin/builders/gql/createOrClearDirectory.js +33 -0
- package/bin/builders/gql/getSchemaRef.js +25 -0
- package/bin/builders/gql/index.js +71 -0
- package/bin/builders/lint/index.js +5 -0
- package/bin/builders/serve/index.js +44 -0
- package/bin/builders/storybook/index.js +5 -0
- package/bin/builders/test/index.js +5 -0
- package/bin/index.js +26 -0
- package/bin/lib/cli.js +8 -0
- package/bin/lib/config.js +12 -0
- package/bin/lib/log-message.js +11 -0
- package/bin/lib/string.js +26 -0
- package/bin/lib/validate-typeof.js +19 -0
- package/bin/lib/write-file.js +21 -0
- package/bin/lib/write-parent-index.js +36 -0
- package/config/eslint.js +103 -0
- package/config/jest.js +81 -0
- package/config/prettier.js +7 -0
- package/config/setEnvVars.js +5 -0
- package/config/storybook/addon.js +121 -0
- package/config/storybook/components/FileTree/FileTree.jsx +183 -0
- package/config/storybook/components/FileTree/index.js +1 -0
- package/config/storybook/components/Flex/Flex.jsx +12 -0
- package/config/storybook/components/Flex/Flex.module.css +20 -0
- package/config/storybook/components/Flex/index.js +1 -0
- package/config/storybook/components/OptionsTable/OptionsTable.jsx +79 -0
- package/config/storybook/components/OptionsTable/OptionsTable.module.css +95 -0
- package/config/storybook/components/OptionsTable/index.js +1 -0
- package/config/storybook/components/Panel/Panel.module.css +47 -0
- package/config/storybook/components/Panel/Panel.tsx +37 -0
- package/config/storybook/components/Panel/index.ts +1 -0
- package/config/storybook/components/Screenshot/Screenshot.jsx +14 -0
- package/config/storybook/components/Screenshot/Screenshot.module.css +19 -0
- package/config/storybook/components/Screenshot/index.js +1 -0
- package/config/storybook/components/Steps/Steps.jsx +12 -0
- package/config/storybook/components/Steps/Steps.module.css +34 -0
- package/config/storybook/components/Steps/index.js +1 -0
- package/config/storybook/components/StoryWrapper/StoryWrapper.jsx +9 -0
- package/config/storybook/components/StoryWrapper/StoryWrapper.module.css +13 -0
- package/config/storybook/components/StoryWrapper/index.js +1 -0
- package/config/storybook/components/Summary/Summary.jsx +10 -0
- package/config/storybook/components/Summary/Summary.module.css +11 -0
- package/config/storybook/components/Summary/index.js +1 -0
- package/config/storybook/components/Variants/Variants.js +48 -0
- package/config/storybook/components/Variants/docs.css +39 -0
- package/config/storybook/components/Variants/index.js +1 -0
- package/config/storybook/components/video/index.jsx +19 -0
- package/config/storybook/manager.js +14 -0
- package/config/storybook/preview.jsx +79 -0
- package/config/storybook/theming/fonts.css +59 -0
- package/config/storybook/theming/logo.svg +19 -0
- package/config/storybook/theming/manager.css +54 -0
- package/config/storybook/theming/preview.css +84 -0
- package/config/storybook/theming/theme.js +52 -0
- package/config/tsconfig-base.json +16 -0
- package/config/tsconfig-preact.json +15 -0
- package/config/vite.mjs +297 -0
- package/dist/chunks/deviceUtils.js +14 -0
- package/dist/chunks/icons/Add.js +3 -0
- package/dist/chunks/icons/AddressBook.js +3 -0
- package/dist/chunks/icons/Bulk.js +3 -0
- package/dist/chunks/icons/Burger.js +3 -0
- package/dist/chunks/icons/Card.js +3 -0
- package/dist/chunks/icons/Cart.js +3 -0
- package/dist/chunks/icons/Check.js +3 -0
- package/dist/chunks/icons/CheckWithCircle.js +3 -0
- package/dist/chunks/icons/ChevronDown.js +3 -0
- package/dist/chunks/icons/ChevronRight.js +3 -0
- package/dist/chunks/icons/ChevronUp.js +3 -0
- package/dist/chunks/icons/Close.js +3 -0
- package/dist/chunks/icons/Coupon.js +3 -0
- package/dist/chunks/icons/Date.js +3 -0
- package/dist/chunks/icons/Delivery.js +3 -0
- package/dist/chunks/icons/EmptyBox.js +3 -0
- package/dist/chunks/icons/Eye.js +3 -0
- package/dist/chunks/icons/EyeClose.js +3 -0
- package/dist/chunks/icons/Gift.js +3 -0
- package/dist/chunks/icons/GiftCard.js +3 -0
- package/dist/chunks/icons/Heart.js +3 -0
- package/dist/chunks/icons/HeartFilled.js +3 -0
- package/dist/chunks/icons/InfoFilled.js +3 -0
- package/dist/chunks/icons/Locker.js +3 -0
- package/dist/chunks/icons/Minus.js +3 -0
- package/dist/chunks/icons/Order.js +3 -0
- package/dist/chunks/icons/OrderError.js +3 -0
- package/dist/chunks/icons/OrderSuccess.js +3 -0
- package/dist/chunks/icons/PaymentError.js +3 -0
- package/dist/chunks/icons/Placeholder.js +3 -0
- package/dist/chunks/icons/PlaceholderFilled.js +3 -0
- package/dist/chunks/icons/Search.js +3 -0
- package/dist/chunks/icons/SearchFilled.js +3 -0
- package/dist/chunks/icons/Sort.js +3 -0
- package/dist/chunks/icons/Star.js +3 -0
- package/dist/chunks/icons/Trash.js +3 -0
- package/dist/chunks/icons/User.js +3 -0
- package/dist/chunks/icons/View.js +3 -0
- package/dist/chunks/icons/Wallet.js +3 -0
- package/dist/chunks/icons/Warning.js +3 -0
- package/dist/chunks/icons/WarningFilled.js +3 -0
- package/dist/chunks/icons/WarningWithCircle.js +3 -0
- package/dist/chunks/image-params-keymap.js +3 -0
- package/dist/chunks/initializer.js +5 -0
- package/dist/components.d.ts +1 -0
- package/dist/components.js +3 -0
- package/dist/event-bus.d.ts +1 -0
- package/dist/event-bus.js +3 -0
- package/dist/fetch-graphql.d.ts +1 -0
- package/dist/fetch-graphql.js +3 -0
- package/dist/i18n.d.ts +1 -0
- package/dist/i18n.js +5 -0
- package/dist/initializer.d.ts +1 -0
- package/dist/initializer.js +5 -0
- package/dist/lib.d.ts +1 -0
- package/dist/lib.js +3 -0
- package/dist/preact-compat.d.ts +1 -0
- package/dist/preact-compat.js +3 -0
- package/dist/preact-hooks.d.ts +1 -0
- package/dist/preact-hooks.js +3 -0
- package/dist/preact-jsx-runtime.d.ts +1 -0
- package/dist/preact-jsx-runtime.js +3 -0
- package/dist/preact.d.ts +1 -0
- package/dist/preact.js +3 -0
- package/dist/recaptcha.d.ts +1 -0
- package/dist/recaptcha.js +14 -0
- package/dist/signals.d.ts +1 -0
- package/dist/signals.js +3 -0
- package/dist/types/elsie/src/components/Accordion/Accordion.d.ts +27 -0
- package/dist/types/elsie/src/components/Accordion/index.d.ts +3 -0
- package/dist/types/elsie/src/components/ActionButton/ActionButton.d.ts +11 -0
- package/dist/types/elsie/src/components/ActionButton/index.d.ts +2 -0
- package/dist/types/elsie/src/components/ActionButtonGroup/ActionButtonGroup.d.ts +20 -0
- package/dist/types/elsie/src/components/ActionButtonGroup/index.d.ts +2 -0
- package/dist/types/elsie/src/components/AlertBanner/AlertBanner.d.ts +15 -0
- package/dist/types/elsie/src/components/AlertBanner/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Breadcrumbs/Breadcrumbs.d.ts +9 -0
- package/dist/types/elsie/src/components/Breadcrumbs/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Button/Button.d.ts +15 -0
- package/dist/types/elsie/src/components/Button/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Card/Card.d.ts +9 -0
- package/dist/types/elsie/src/components/Card/index.d.ts +2 -0
- package/dist/types/elsie/src/components/CartItem/CartItem.d.ts +36 -0
- package/dist/types/elsie/src/components/CartItem/CartItemSkeleton.d.ts +4 -0
- package/dist/types/elsie/src/components/CartItem/index.d.ts +4 -0
- package/dist/types/elsie/src/components/CartList/CartList.d.ts +7 -0
- package/dist/types/elsie/src/components/CartList/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Checkbox/Checkbox.d.ts +13 -0
- package/dist/types/elsie/src/components/Checkbox/index.d.ts +2 -0
- package/dist/types/elsie/src/components/ColorSwatch/ColorSwatch.d.ts +20 -0
- package/dist/types/elsie/src/components/ColorSwatch/index.d.ts +3 -0
- package/dist/types/elsie/src/components/ContentGrid/ContentGrid.d.ts +10 -0
- package/dist/types/elsie/src/components/ContentGrid/index.d.ts +19 -0
- package/dist/types/elsie/src/components/Divider/Divider.d.ts +8 -0
- package/dist/types/elsie/src/components/Divider/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Field/Field.d.ts +14 -0
- package/dist/types/elsie/src/components/Field/index.d.ts +2 -0
- package/dist/types/elsie/src/components/Header/Header.d.ts +11 -0
- package/dist/types/elsie/src/components/Header/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Icon/Icon.d.ts +18 -0
- package/dist/types/elsie/src/components/Icon/index.d.ts +2 -0
- package/dist/types/elsie/src/components/IllustratedMessage/IllustratedMessage.d.ts +13 -0
- package/dist/types/elsie/src/components/IllustratedMessage/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Image/Image.d.ts +11 -0
- package/dist/types/elsie/src/components/Image/index.d.ts +2 -0
- package/dist/types/elsie/src/components/ImageSwatch/ImageSwatch.d.ts +20 -0
- package/dist/types/elsie/src/components/ImageSwatch/index.d.ts +3 -0
- package/dist/types/elsie/src/components/InLineAlert/InLineAlert.d.ts +19 -0
- package/dist/types/elsie/src/components/InLineAlert/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Incrementer/Incrementer.d.ts +17 -0
- package/dist/types/elsie/src/components/Incrementer/index.d.ts +2 -0
- package/dist/types/elsie/src/components/Input/Input.d.ts +19 -0
- package/dist/types/elsie/src/components/Input/index.d.ts +3 -0
- package/dist/types/elsie/src/components/InputDate/InputDate.d.ts +11 -0
- package/dist/types/elsie/src/components/InputDate/index.d.ts +3 -0
- package/dist/types/elsie/src/components/InputPassword/InputPassword.d.ts +19 -0
- package/dist/types/elsie/src/components/InputPassword/PasswordStatusIndicator/PasswordStatusIndicator.d.ts +18 -0
- package/dist/types/elsie/src/components/InputPassword/PasswordStatusIndicator/index.d.ts +3 -0
- package/dist/types/elsie/src/components/InputPassword/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Modal/Modal.d.ts +15 -0
- package/dist/types/elsie/src/components/Modal/index.d.ts +2 -0
- package/dist/types/elsie/src/components/Pagination/Pagination.d.ts +15 -0
- package/dist/types/elsie/src/components/Pagination/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Picker/Picker.d.ts +28 -0
- package/dist/types/elsie/src/components/Picker/index.d.ts +2 -0
- package/dist/types/elsie/src/components/Price/Price.d.ts +17 -0
- package/dist/types/elsie/src/components/Price/index.d.ts +2 -0
- package/dist/types/elsie/src/components/PriceRange/PriceRange.d.ts +17 -0
- package/dist/types/elsie/src/components/PriceRange/index.d.ts +3 -0
- package/dist/types/elsie/src/components/ProgressSpinner/ProgressSpinner.d.ts +14 -0
- package/dist/types/elsie/src/components/ProgressSpinner/index.d.ts +3 -0
- package/dist/types/elsie/src/components/RadioButton/RadioButton.d.ts +16 -0
- package/dist/types/elsie/src/components/RadioButton/index.d.ts +3 -0
- package/dist/types/elsie/src/components/Skeleton/Skeleton.d.ts +17 -0
- package/dist/types/elsie/src/components/Skeleton/index.d.ts +2 -0
- package/dist/types/elsie/src/components/Tag/Tag.d.ts +9 -0
- package/dist/types/elsie/src/components/Tag/index.d.ts +3 -0
- package/dist/types/elsie/src/components/TextArea/TextArea.d.ts +11 -0
- package/dist/types/elsie/src/components/TextArea/index.d.ts +3 -0
- package/dist/types/elsie/src/components/TextSwatch/TextSwatch.d.ts +18 -0
- package/dist/types/elsie/src/components/TextSwatch/index.d.ts +3 -0
- package/dist/types/elsie/src/components/ToggleButton/ToggleButton.d.ts +14 -0
- package/dist/types/elsie/src/components/ToggleButton/index.d.ts +3 -0
- package/dist/types/elsie/src/components/UIProvider/UIProvider.d.ts +19 -0
- package/dist/types/elsie/src/components/UIProvider/index.d.ts +2 -0
- package/dist/types/elsie/src/components/index.d.ts +41 -0
- package/dist/types/elsie/src/i18n/en_US.json.d.ts +149 -0
- package/dist/types/elsie/src/i18n/index.d.ts +443 -0
- package/dist/types/elsie/src/icons/index.d.ts +43 -0
- package/dist/types/elsie/src/lib/classes.d.ts +6 -0
- package/dist/types/elsie/src/lib/config.d.ts +7 -0
- package/dist/types/elsie/src/lib/debounce.d.ts +2 -0
- package/dist/types/elsie/src/lib/deepmerge.d.ts +5 -0
- package/dist/types/elsie/src/lib/deviceUtils.d.ts +2 -0
- package/dist/types/elsie/src/lib/form-values.d.ts +5 -0
- package/dist/types/elsie/src/lib/i18n.d.ts +8 -0
- package/dist/types/elsie/src/lib/image-params-keymap.d.ts +4 -0
- package/dist/types/elsie/src/lib/index.d.ts +16 -0
- package/dist/types/elsie/src/lib/initializer.d.ts +81 -0
- package/dist/types/elsie/src/lib/is-number.d.ts +2 -0
- package/dist/types/elsie/src/lib/render.d.ts +42 -0
- package/dist/types/elsie/src/lib/resolve-image.d.ts +10 -0
- package/dist/types/elsie/src/lib/signals.d.ts +2 -0
- package/dist/types/elsie/src/lib/slot.d.ts +45 -0
- package/dist/types/elsie/src/lib/tests.d.ts +5 -0
- package/dist/types/elsie/src/lib/types.d.ts +10 -0
- package/dist/types/elsie/src/lib/vcomponent.d.ts +9 -0
- package/package.json +114 -0
- package/src/components/Accordion/Accordion.css +79 -0
- package/src/components/Accordion/Accordion.stories.tsx +566 -0
- package/src/components/Accordion/Accordion.tsx +166 -0
- package/src/components/Accordion/index.ts +2 -0
- package/src/components/ActionButton/ActionButton.css +91 -0
- package/src/components/ActionButton/ActionButton.stories.tsx +160 -0
- package/src/components/ActionButton/ActionButton.tsx +44 -0
- package/src/components/ActionButton/index.ts +1 -0
- package/src/components/ActionButtonGroup/ActionButtonGroup.css +68 -0
- package/src/components/ActionButtonGroup/ActionButtonGroup.stories.tsx +88 -0
- package/src/components/ActionButtonGroup/ActionButtonGroup.tsx +82 -0
- package/src/components/ActionButtonGroup/index.ts +1 -0
- package/src/components/AlertBanner/AlertBanner.css +135 -0
- package/src/components/AlertBanner/AlertBanner.stories.tsx +156 -0
- package/src/components/AlertBanner/AlertBanner.tsx +81 -0
- package/src/components/AlertBanner/index.ts +2 -0
- package/src/components/Breadcrumbs/Breadcrumbs.css +51 -0
- package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +186 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +62 -0
- package/src/components/Breadcrumbs/index.ts +2 -0
- package/src/components/Button/Button.css +204 -0
- package/src/components/Button/Button.mdx +133 -0
- package/src/components/Button/Button.stories.tsx +389 -0
- package/src/components/Button/Button.tsx +112 -0
- package/src/components/Button/index.ts +2 -0
- package/src/components/Card/Card.css +25 -0
- package/src/components/Card/Card.stories.tsx +67 -0
- package/src/components/Card/Card.tsx +25 -0
- package/src/components/Card/index.ts +1 -0
- package/src/components/CartItem/CartItem.css +474 -0
- package/src/components/CartItem/CartItem.stories.tsx +588 -0
- package/src/components/CartItem/CartItem.tsx +444 -0
- package/src/components/CartItem/CartItemSkeleton.tsx +29 -0
- package/src/components/CartItem/index.ts +3 -0
- package/src/components/CartList/CartList.css +26 -0
- package/src/components/CartList/CartList.stories.tsx +102 -0
- package/src/components/CartList/CartList.tsx +31 -0
- package/src/components/CartList/index.ts +2 -0
- package/src/components/Checkbox/Checkbox.css +246 -0
- package/src/components/Checkbox/Checkbox.stories.tsx +281 -0
- package/src/components/Checkbox/Checkbox.tsx +129 -0
- package/src/components/Checkbox/index.ts +1 -0
- package/src/components/ColorSwatch/ColorSwatch.css +123 -0
- package/src/components/ColorSwatch/ColorSwatch.stories.tsx +265 -0
- package/src/components/ColorSwatch/ColorSwatch.tsx +118 -0
- package/src/components/ColorSwatch/index.ts +2 -0
- package/src/components/ContentGrid/ContentGrid.css +62 -0
- package/src/components/ContentGrid/ContentGrid.stories.tsx +145 -0
- package/src/components/ContentGrid/ContentGrid.tsx +65 -0
- package/src/components/ContentGrid/index.ts +19 -0
- package/src/components/Divider/Divider.css +13 -0
- package/src/components/Divider/Divider.stories.tsx +53 -0
- package/src/components/Divider/Divider.tsx +24 -0
- package/src/components/Divider/index.ts +2 -0
- package/src/components/Field/Field.css +74 -0
- package/src/components/Field/Field.stories.tsx +229 -0
- package/src/components/Field/Field.tsx +75 -0
- package/src/components/Field/index.ts +1 -0
- package/src/components/Header/Header.css +47 -0
- package/src/components/Header/Header.stories.tsx +128 -0
- package/src/components/Header/Header.tsx +53 -0
- package/src/components/Header/index.ts +2 -0
- package/src/components/Icon/Icon.css +17 -0
- package/src/components/Icon/Icon.stories.helpers.jsx +12 -0
- package/src/components/Icon/Icon.stories.tsx +88 -0
- package/src/components/Icon/Icon.tsx +103 -0
- package/src/components/Icon/index.ts +1 -0
- package/src/components/IllustratedMessage/IllustratedMessage.css +52 -0
- package/src/components/IllustratedMessage/IllustratedMessage.stories.tsx +117 -0
- package/src/components/IllustratedMessage/IllustratedMessage.tsx +69 -0
- package/src/components/IllustratedMessage/index.ts +2 -0
- package/src/components/Image/Image.css +43 -0
- package/src/components/Image/Image.stories.tsx +80 -0
- package/src/components/Image/Image.tsx +57 -0
- package/src/components/Image/index.ts +1 -0
- package/src/components/ImageSwatch/ImageSwatch.css +145 -0
- package/src/components/ImageSwatch/ImageSwatch.stories.tsx +252 -0
- package/src/components/ImageSwatch/ImageSwatch.tsx +111 -0
- package/src/components/ImageSwatch/index.ts +2 -0
- package/src/components/InLineAlert/InLineAlert.css +107 -0
- package/src/components/InLineAlert/InLineAlert.stories.tsx +317 -0
- package/src/components/InLineAlert/InLineAlert.tsx +119 -0
- package/src/components/InLineAlert/index.ts +2 -0
- package/src/components/Incrementer/Incrementer.css +156 -0
- package/src/components/Incrementer/Incrementer.stories.tsx +163 -0
- package/src/components/Incrementer/Incrementer.tsx +183 -0
- package/src/components/Incrementer/index.ts +1 -0
- package/src/components/Input/Input.css +295 -0
- package/src/components/Input/Input.stories.tsx +146 -0
- package/src/components/Input/Input.tsx +157 -0
- package/src/components/Input/index.ts +2 -0
- package/src/components/InputDate/InputDate.css +47 -0
- package/src/components/InputDate/InputDate.stories.tsx +108 -0
- package/src/components/InputDate/InputDate.tsx +111 -0
- package/src/components/InputDate/index.ts +2 -0
- package/src/components/InputPassword/InputPassword.css +22 -0
- package/src/components/InputPassword/InputPassword.stories.tsx +139 -0
- package/src/components/InputPassword/InputPassword.tsx +126 -0
- package/src/components/InputPassword/PasswordStatusIndicator/PasswordStatusIndicator.css +22 -0
- package/src/components/InputPassword/PasswordStatusIndicator/PasswordStatusIndicator.tsx +87 -0
- package/src/components/InputPassword/PasswordStatusIndicator/index.ts +2 -0
- package/src/components/InputPassword/index.ts +2 -0
- package/src/components/Modal/Modal.css +130 -0
- package/src/components/Modal/Modal.stories.tsx +255 -0
- package/src/components/Modal/Modal.tsx +162 -0
- package/src/components/Modal/index.ts +15 -0
- package/src/components/Pagination/Pagination.css +86 -0
- package/src/components/Pagination/Pagination.stories.tsx +108 -0
- package/src/components/Pagination/Pagination.tsx +140 -0
- package/src/components/Pagination/index.ts +2 -0
- package/src/components/Picker/Picker.css +211 -0
- package/src/components/Picker/Picker.stories.tsx +309 -0
- package/src/components/Picker/Picker.tsx +194 -0
- package/src/components/Picker/index.ts +1 -0
- package/src/components/Price/Price.css +48 -0
- package/src/components/Price/Price.stories.tsx +101 -0
- package/src/components/Price/Price.tsx +66 -0
- package/src/components/Price/index.ts +1 -0
- package/src/components/PriceRange/PriceRange.css +57 -0
- package/src/components/PriceRange/PriceRange.stories.tsx +231 -0
- package/src/components/PriceRange/PriceRange.tsx +239 -0
- package/src/components/PriceRange/index.ts +2 -0
- package/src/components/ProgressSpinner/ProgressSpinner.css +82 -0
- package/src/components/ProgressSpinner/ProgressSpinner.stories.tsx +291 -0
- package/src/components/ProgressSpinner/ProgressSpinner.tsx +77 -0
- package/src/components/ProgressSpinner/index.ts +2 -0
- package/src/components/RadioButton/RadioButton.css +125 -0
- package/src/components/RadioButton/RadioButton.stories.tsx +117 -0
- package/src/components/RadioButton/RadioButton.tsx +77 -0
- package/src/components/RadioButton/index.ts +2 -0
- package/src/components/Skeleton/Skeleton.css +136 -0
- package/src/components/Skeleton/Skeleton.stories.tsx +256 -0
- package/src/components/Skeleton/Skeleton.tsx +124 -0
- package/src/components/Skeleton/index.ts +1 -0
- package/src/components/Tag/Tag.css +17 -0
- package/src/components/Tag/Tag.stories.tsx +94 -0
- package/src/components/Tag/Tag.tsx +29 -0
- package/src/components/Tag/index.ts +2 -0
- package/src/components/TextArea/TextArea.css +131 -0
- package/src/components/TextArea/TextArea.stories.tsx +121 -0
- package/src/components/TextArea/TextArea.tsx +80 -0
- package/src/components/TextArea/index.ts +2 -0
- package/src/components/TextSwatch/TextSwatch.css +143 -0
- package/src/components/TextSwatch/TextSwatch.stories.tsx +268 -0
- package/src/components/TextSwatch/TextSwatch.tsx +122 -0
- package/src/components/TextSwatch/index.ts +2 -0
- package/src/components/ToggleButton/ToggleButton.css +77 -0
- package/src/components/ToggleButton/ToggleButton.stories.tsx +146 -0
- package/src/components/ToggleButton/ToggleButton.tsx +67 -0
- package/src/components/ToggleButton/index.ts +2 -0
- package/src/components/UIProvider/UIProvider.css +131 -0
- package/src/components/UIProvider/UIProvider.tsx +52 -0
- package/src/components/UIProvider/debugger.css +38 -0
- package/src/components/UIProvider/index.ts +1 -0
- package/src/components/UIProvider/normalize.css +17 -0
- package/src/components/index.ts +40 -0
- package/src/docs/API/event-bus.mdx +52 -0
- package/src/docs/API/graphql.mdx +214 -0
- package/src/docs/API/initializer.mdx +110 -0
- package/src/docs/API/render.mdx +125 -0
- package/src/docs/Design/colors.mdx +202 -0
- package/src/docs/Design/designBlocks.jsx +87 -0
- package/src/docs/Design/getTokenData.ts +28 -0
- package/src/docs/Design/grid.mdx +365 -0
- package/src/docs/Design/overview.mdx +69 -0
- package/src/docs/Design/shapes.mdx +100 -0
- package/src/docs/Design/spacing.mdx +22 -0
- package/src/docs/Design/typography.mdx +126 -0
- package/src/docs/Utilities/classList.mdx +52 -0
- package/src/docs/Utilities/debounce.mdx +49 -0
- package/src/docs/Utilities/deepmerge.mdx +12 -0
- package/src/docs/Utilities/getFormErrors.mdx +41 -0
- package/src/docs/Utilities/getFormValues.mdx +38 -0
- package/src/docs/assets/Banner.png +0 -0
- package/src/docs/assets/Colors.png +0 -0
- package/src/docs/assets/DropinBanner.png +0 -0
- package/src/docs/assets/ShapeStyles.png +0 -0
- package/src/docs/assets/Spacing.png +0 -0
- package/src/docs/assets/Typography.png +0 -0
- package/src/docs/cli-usage.mdx +181 -0
- package/src/docs/components/overview.mdx +124 -0
- package/src/docs/quick-start.mdx +245 -0
- package/src/docs/slots.mdx +211 -0
- package/src/docs/welcome.mdx +52 -0
- package/src/i18n/en_US.json +146 -0
- package/src/i18n/index.ts +17 -0
- package/src/icons/Add.svg +9 -0
- package/src/icons/AddressBook.svg +3 -0
- package/src/icons/Bulk.svg +24 -0
- package/src/icons/Burger.svg +5 -0
- package/src/icons/Card.svg +7 -0
- package/src/icons/Cart.svg +11 -0
- package/src/icons/Check.svg +8 -0
- package/src/icons/CheckWithCircle.svg +4 -0
- package/src/icons/ChevronDown.svg +3 -0
- package/src/icons/ChevronRight.svg +8 -0
- package/src/icons/ChevronUp.svg +3 -0
- package/src/icons/Close.svg +4 -0
- package/src/icons/Coupon.svg +3 -0
- package/src/icons/Date.svg +4 -0
- package/src/icons/Delivery.svg +11 -0
- package/src/icons/EmptyBox.svg +3 -0
- package/src/icons/Eye.svg +3 -0
- package/src/icons/EyeClose.svg +3 -0
- package/src/icons/Gift.svg +3 -0
- package/src/icons/GiftCard.svg +3 -0
- package/src/icons/Heart.svg +3 -0
- package/src/icons/HeartFilled.svg +3 -0
- package/src/icons/InfoFilled.svg +3 -0
- package/src/icons/Locker.svg +11 -0
- package/src/icons/Minus.svg +3 -0
- package/src/icons/Order.svg +6 -0
- package/src/icons/OrderError.svg +15 -0
- package/src/icons/OrderSuccess.svg +15 -0
- package/src/icons/PaymentError.svg +16 -0
- package/src/icons/Placeholder.svg +3 -0
- package/src/icons/PlaceholderFilled.svg +4 -0
- package/src/icons/Search.svg +9 -0
- package/src/icons/SearchFilled.svg +10 -0
- package/src/icons/Sort.svg +12 -0
- package/src/icons/Star.svg +8 -0
- package/src/icons/Trash.svg +7 -0
- package/src/icons/User.svg +5 -0
- package/src/icons/View.svg +14 -0
- package/src/icons/Wallet.svg +6 -0
- package/src/icons/Warning.svg +12 -0
- package/src/icons/WarningFilled.svg +3 -0
- package/src/icons/WarningWithCircle.svg +4 -0
- package/src/icons/index.ts +42 -0
- package/src/lib/classes.ts +25 -0
- package/src/lib/config.ts +15 -0
- package/src/lib/debounce.ts +7 -0
- package/src/lib/deepmerge.ts +36 -0
- package/src/lib/deviceUtils.ts +7 -0
- package/src/lib/form-values.ts +22 -0
- package/src/lib/i18n.ts +9 -0
- package/src/lib/image-params-keymap.ts +25 -0
- package/src/lib/index.ts +15 -0
- package/src/lib/initializer.ts +122 -0
- package/src/lib/is-number.ts +3 -0
- package/src/lib/render.tsx +129 -0
- package/src/lib/resolve-image.ts +77 -0
- package/src/lib/signals.ts +2 -0
- package/src/lib/slot.tsx +425 -0
- package/src/lib/tests.tsx +38 -0
- package/src/lib/types.ts +7 -0
- package/src/lib/vcomponent.tsx +47 -0
- package/static/assets/images/Card.png +0 -0
- package/static/assets/images/example.jpg +0 -0
- package/static/assets/images/index.ts +2 -0
- package/static/dropin.png +0 -0
- package/static/favicon.svg +14 -0
- package/storybook-stories.js +12 -0
- package/tests/__mocks__/browserMocks.ts +19 -0
- package/tests/__mocks__/fileMocks.ts +3 -0
- package/tests/__mocks__/styleMock.ts +0 -0
- package/types/icons.d.ts +9 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
.optionsTable {
|
|
2
|
+
margin-left: -1.25rem;
|
|
3
|
+
margin-right: -1.25rem;
|
|
4
|
+
margin-bottom: 1rem;
|
|
5
|
+
margin-top: 1.5rem;
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
overscroll-behavior-x: contain;
|
|
8
|
+
padding-left: 1.5rem;
|
|
9
|
+
padding-right: 1.5rem;
|
|
10
|
+
padding-bottom: 1rem;
|
|
11
|
+
mask-image: linear-gradient(
|
|
12
|
+
transparent 0.8em,
|
|
13
|
+
white 1.5em,
|
|
14
|
+
white calc(100% - 1.5em),
|
|
15
|
+
transparent calc(100% - 0.8em)
|
|
16
|
+
);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.optionsTable::-webkit-scrollbar {
|
|
20
|
+
width: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.table {
|
|
24
|
+
border-collapse: collapse;
|
|
25
|
+
font-size: 0.9rem;
|
|
26
|
+
line-height: 1.25rem;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.tableHeader {
|
|
31
|
+
border-top: 0 none transparent;
|
|
32
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
33
|
+
padding: 1rem 0;
|
|
34
|
+
text-align: left;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.headerRow {
|
|
38
|
+
border-top: 0 none transparent;
|
|
39
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
40
|
+
padding: 1rem 0;
|
|
41
|
+
text-align: left;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.headerCell {
|
|
45
|
+
border: none;
|
|
46
|
+
padding: 0.5rem 0;
|
|
47
|
+
font-weight: 600;
|
|
48
|
+
color: #222;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.body {
|
|
52
|
+
vertical-align: baseline;
|
|
53
|
+
color: rgb(17 24 39);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.row {
|
|
57
|
+
border-bottom: 1px solid rgb(135, 29, 29);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.cell {
|
|
61
|
+
padding: 0.5rem 0 0.5rem 0;
|
|
62
|
+
line-height: 1.5rem;
|
|
63
|
+
font-family: inherit;
|
|
64
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.codeCell {
|
|
68
|
+
border: none;
|
|
69
|
+
white-space: pre;
|
|
70
|
+
padding: 0.5rem 0 0.5rem 0;
|
|
71
|
+
line-height: 1.5rem;
|
|
72
|
+
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
|
|
73
|
+
font-size: 0.75rem;
|
|
74
|
+
color: rgb(0, 93, 160);
|
|
75
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.compactCell {
|
|
79
|
+
padding: 0;
|
|
80
|
+
border: none;
|
|
81
|
+
line-height: 1.5rem;
|
|
82
|
+
font-family: inherit;
|
|
83
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.compactCodeCell {
|
|
87
|
+
border: none;
|
|
88
|
+
white-space: pre;
|
|
89
|
+
padding: 0;
|
|
90
|
+
line-height: 1.5rem;
|
|
91
|
+
font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
|
|
92
|
+
font-size: 0.75rem;
|
|
93
|
+
color: rgb(0, 93, 160);
|
|
94
|
+
border-bottom: 1px solid rgb(220, 220, 220);
|
|
95
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/OptionsTable/OptionsTable';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.panel {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
border: 1px solid #d5d5d5;
|
|
6
|
+
border-radius: 0.25rem;
|
|
7
|
+
padding: 1rem;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.panelHeader {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
background-color: #f5f5f5;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
min-height: 130px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.panelHeader img {
|
|
22
|
+
object-fit: cover;
|
|
23
|
+
width: 100%;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.panelContent {
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.panelContent h3 {
|
|
35
|
+
margin: 1rem 0 0 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.panelFooter {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: flex-end;
|
|
42
|
+
width: 100%;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.panelFooter p:last-child {
|
|
46
|
+
margin: 0;
|
|
47
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { FunctionComponent, toChildArray } from 'preact';
|
|
2
|
+
import { HTMLAttributes } from 'preact/compat';
|
|
3
|
+
import styles from './Panel.module.css';
|
|
4
|
+
|
|
5
|
+
export interface PanelProps extends HTMLAttributes<HTMLDivElement> {
|
|
6
|
+
header?: boolean;
|
|
7
|
+
footer?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Panel: FunctionComponent<PanelProps> = ({
|
|
11
|
+
header,
|
|
12
|
+
footer,
|
|
13
|
+
children,
|
|
14
|
+
}) => {
|
|
15
|
+
const hasHeader = Boolean(header);
|
|
16
|
+
const hasFooter = Boolean(footer);
|
|
17
|
+
const childrenArray = toChildArray(children);
|
|
18
|
+
const firstChild = childrenArray[0];
|
|
19
|
+
const lastChild = childrenArray.slice(-1)[0];
|
|
20
|
+
|
|
21
|
+
const content =
|
|
22
|
+
hasHeader && !hasFooter
|
|
23
|
+
? childrenArray.slice(1)
|
|
24
|
+
: !hasHeader && hasFooter
|
|
25
|
+
? childrenArray.slice(0, -1)
|
|
26
|
+
: hasHeader && hasFooter
|
|
27
|
+
? childrenArray.slice(1, -1)
|
|
28
|
+
: childrenArray;
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<div className={`${styles.panel}`}>
|
|
32
|
+
{hasHeader && <div className={styles.panelHeader}>{firstChild}</div>}
|
|
33
|
+
<div className={styles.panelContent}>{content}</div>
|
|
34
|
+
{hasFooter && <div className={styles.panelFooter}>{lastChild}</div>}
|
|
35
|
+
</div>
|
|
36
|
+
);
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/Panel/Panel';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import styles from './Screenshot.module.css';
|
|
2
|
+
|
|
3
|
+
export function Screenshot({ src, alt }) {
|
|
4
|
+
const image = {
|
|
5
|
+
src,
|
|
6
|
+
alt,
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
return (
|
|
10
|
+
<div className={styles.screenshotContainer}>
|
|
11
|
+
<img src={image.src} alt={image.alt} className={styles.image} />
|
|
12
|
+
</div>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.screenshotContainer {
|
|
2
|
+
margin-bottom: 24px;
|
|
3
|
+
margin-top: 6px;
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
border-radius: 0.5rem;
|
|
8
|
+
border: 1px solid rgb(234, 237, 242);
|
|
9
|
+
background-color: rgb(250, 250, 252);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.image {
|
|
13
|
+
user-select: none;
|
|
14
|
+
background-color: white;
|
|
15
|
+
outline-width: 1px;
|
|
16
|
+
outline-color: rgb(156, 163, 175);
|
|
17
|
+
width: 100%;
|
|
18
|
+
object-fit: cover;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/Screenshot/Screenshot';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Unstyled } from '@storybook/blocks';
|
|
2
|
+
import styles from './Steps.module.css';
|
|
3
|
+
|
|
4
|
+
export function Steps({ children }) {
|
|
5
|
+
return (
|
|
6
|
+
<Unstyled>
|
|
7
|
+
<div className={`${styles.stepsContainer} ${styles.steps}`}>
|
|
8
|
+
{children}
|
|
9
|
+
</div>
|
|
10
|
+
</Unstyled>
|
|
11
|
+
);
|
|
12
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.stepsContainer {
|
|
2
|
+
counter-reset: step;
|
|
3
|
+
padding-left: 1.5rem;
|
|
4
|
+
margin-left: 0.75rem !important;
|
|
5
|
+
margin-bottom: 3rem;
|
|
6
|
+
border-left: 1px solid rgba(229, 231, 235);
|
|
7
|
+
overflow-wrap: break-word;
|
|
8
|
+
/* border-color: rgba(229,231,235);
|
|
9
|
+
border-left-width: 1px; */
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.steps h3 {
|
|
13
|
+
counter-increment: step;
|
|
14
|
+
color: rgba(15, 23, 42);
|
|
15
|
+
letter-spacing: -0.015em;
|
|
16
|
+
margin: 2rem 0 0 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.steps h3::before {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
border: 6px solid;
|
|
22
|
+
border-color: rgba(255, 255, 255);
|
|
23
|
+
background-color: rgba(243, 244, 246);
|
|
24
|
+
text-align: center;
|
|
25
|
+
color: rgba(122, 122, 122);
|
|
26
|
+
content: counter(step);
|
|
27
|
+
border-radius: 9999px;
|
|
28
|
+
margin: 0 0 0 -44px;
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
font-weight: 400;
|
|
31
|
+
height: 26px;
|
|
32
|
+
width: 26px;
|
|
33
|
+
line-height: 1.5rem;
|
|
34
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/Steps/Steps';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import styles from './StoryWrapper.module.css';
|
|
2
|
+
|
|
3
|
+
export function StoryWrapper({ direction = 'row', children }) {
|
|
4
|
+
const root = document.documentElement;
|
|
5
|
+
|
|
6
|
+
root.style.setProperty('--flex-direction', direction);
|
|
7
|
+
|
|
8
|
+
return <div className={`${styles.flexItems}`}>{children}</div>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/StoryWrapper/StoryWrapper';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/Summary/Summary';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { useState } from 'preact/hooks';
|
|
2
|
+
import { useOf, Story, Source } from '@storybook/blocks';
|
|
3
|
+
import './docs.css';
|
|
4
|
+
|
|
5
|
+
export const Variants = ({ of, storyOrder = [] }) => {
|
|
6
|
+
const info = useOf(of || 'story', ['story', 'meta', 'component']);
|
|
7
|
+
const stories = Object.values(info.csfFile.stories).map(
|
|
8
|
+
(story) => story.moduleExport
|
|
9
|
+
);
|
|
10
|
+
const [bgColor, setBgColor] = useState('#F5F5F5');
|
|
11
|
+
const toggleBgColor = () => {
|
|
12
|
+
setBgColor((prevColor) =>
|
|
13
|
+
prevColor === '#F5F5F5' ? '#222222' : '#F5F5F5'
|
|
14
|
+
);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
// Sort stories by custom order
|
|
18
|
+
const sortedStories = Object.values(stories).sort((a, b) => {
|
|
19
|
+
const indexA = storyOrder.indexOf(a);
|
|
20
|
+
const indexB = storyOrder.indexOf(b);
|
|
21
|
+
if (indexA === -1 || indexB === -1) {
|
|
22
|
+
return 0; // do not change order if story name is not in customOrder
|
|
23
|
+
}
|
|
24
|
+
return indexA - indexB;
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
return (
|
|
28
|
+
<div>
|
|
29
|
+
<button onClick={toggleBgColor}>Toggle Background Color</button>
|
|
30
|
+
<div className="stories">
|
|
31
|
+
{sortedStories.map((story, index) => (
|
|
32
|
+
<div key={index} className="story">
|
|
33
|
+
<div className="story__item story__item--left">
|
|
34
|
+
<h3 className="docs__header3">{story.name}</h3>
|
|
35
|
+
<p className="docs__paragraph">
|
|
36
|
+
{story.parameters.docs.description || `Add description to ${story.name}.stories.tsx.`}
|
|
37
|
+
</p>
|
|
38
|
+
</div>
|
|
39
|
+
<div className="story__item story__item--right" style={{ backgroundColor: bgColor }}>
|
|
40
|
+
<Story of={story} />
|
|
41
|
+
<Source of={story} />
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
))}
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
);
|
|
48
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.stories {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.stories .story {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
border: 1px solid #ddd;
|
|
10
|
+
margin-top: 0.5rem;
|
|
11
|
+
margin-bottom: 0.5rem;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.story__item {
|
|
15
|
+
min-height: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.story__item--left {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
padding: 1rem;
|
|
22
|
+
flex-basis: 30%;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.story__item--right {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
padding: 1rem;
|
|
29
|
+
flex-basis: 70%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.stories .docs__header3.docs__header3 {
|
|
33
|
+
margin-top: 4px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.stories .docs__paragraph.docs__paragraph {
|
|
37
|
+
margin-top: 0;
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@adobe/elsie/config/storybook/components/Variants/Variants';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export default function Video({ src }) {
|
|
2
|
+
return (
|
|
3
|
+
<video
|
|
4
|
+
muted
|
|
5
|
+
autoPlay
|
|
6
|
+
playsInline
|
|
7
|
+
loop
|
|
8
|
+
controls
|
|
9
|
+
style={{
|
|
10
|
+
marginTop: '6px',
|
|
11
|
+
borderRadius: '0.5rem',
|
|
12
|
+
border: '1px solid',
|
|
13
|
+
borderColor: 'dark:border-zinc-800',
|
|
14
|
+
}}
|
|
15
|
+
>
|
|
16
|
+
<source src={src} type="video/mp4" />
|
|
17
|
+
</video>
|
|
18
|
+
)
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { addons } from '@storybook/manager-api';
|
|
2
|
+
import theme from './theming/theme';
|
|
3
|
+
import './theming/manager.css';
|
|
4
|
+
|
|
5
|
+
addons.setConfig({
|
|
6
|
+
theme,
|
|
7
|
+
sidebar: {
|
|
8
|
+
filters: {
|
|
9
|
+
patterns: (item) => {
|
|
10
|
+
return !item.tags.includes('isHidden');
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { UIProvider } from '../../src/components';
|
|
2
|
+
import {
|
|
3
|
+
DocsContainer,
|
|
4
|
+
Title,
|
|
5
|
+
Canvas,
|
|
6
|
+
Stories,
|
|
7
|
+
Unstyled,
|
|
8
|
+
Description,
|
|
9
|
+
Controls,
|
|
10
|
+
} from '@storybook/blocks';
|
|
11
|
+
import './theming/preview.css';
|
|
12
|
+
import { useEffect, useState } from 'preact/hooks';
|
|
13
|
+
|
|
14
|
+
export const parameters = {
|
|
15
|
+
docs: {
|
|
16
|
+
container: (props) => (
|
|
17
|
+
<div className="dropin-design">
|
|
18
|
+
<DocsContainer {...props} />
|
|
19
|
+
</div>
|
|
20
|
+
),
|
|
21
|
+
page: () => (
|
|
22
|
+
<Unstyled>
|
|
23
|
+
<Title />
|
|
24
|
+
<Description />
|
|
25
|
+
<Canvas sourceState="none" />
|
|
26
|
+
<Controls sort="requiredFirst" />
|
|
27
|
+
<Stories title="Usage" />
|
|
28
|
+
</Unstyled>
|
|
29
|
+
),
|
|
30
|
+
canvas: {
|
|
31
|
+
sourceState: 'none',
|
|
32
|
+
},
|
|
33
|
+
source: {
|
|
34
|
+
language: 'tsx',
|
|
35
|
+
type: 'auto',
|
|
36
|
+
dark: false,
|
|
37
|
+
format: true,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
layout: 'centered',
|
|
41
|
+
actions: { argTypesRegex: '^on.*' },
|
|
42
|
+
controls: {
|
|
43
|
+
matchers: {
|
|
44
|
+
color: /(background|color)$/i,
|
|
45
|
+
date: /Date$/,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const decorators = [
|
|
51
|
+
(Story) => {
|
|
52
|
+
return (
|
|
53
|
+
<div className="dropin-design">
|
|
54
|
+
<UIProvider>
|
|
55
|
+
<Story />
|
|
56
|
+
</UIProvider>
|
|
57
|
+
</div>
|
|
58
|
+
);
|
|
59
|
+
},
|
|
60
|
+
// This is a workaround for the fact that the `initialData` is not passed to the
|
|
61
|
+
// component when it is rendered on Storybook.
|
|
62
|
+
(Story, story) => {
|
|
63
|
+
const [initialData, setInitialData] = useState();
|
|
64
|
+
const [loaded, setLoaded] = useState(!story.component.getInitialData);
|
|
65
|
+
|
|
66
|
+
useEffect(() => {
|
|
67
|
+
if (loaded) return;
|
|
68
|
+
|
|
69
|
+
story.component.getInitialData?.(story.args).then((_data) => {
|
|
70
|
+
setInitialData(_data);
|
|
71
|
+
setLoaded(true);
|
|
72
|
+
});
|
|
73
|
+
}, [initialData, loaded, story]);
|
|
74
|
+
|
|
75
|
+
story.args.initialData = initialData;
|
|
76
|
+
|
|
77
|
+
return loaded ? Story() : null;
|
|
78
|
+
},
|
|
79
|
+
];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* Light */
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'adobe-clean';
|
|
4
|
+
src: local('Adobe Clean Light'), local('AdobeClean-Light'),
|
|
5
|
+
url('https://use.typekit.net/af/40207f/0000000000000000000176ff/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3')
|
|
6
|
+
format('woff2'),
|
|
7
|
+
url('https://use.typekit.net/af/40207f/0000000000000000000176ff/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3')
|
|
8
|
+
format('woff'),
|
|
9
|
+
url('https://use.typekit.net/af/40207f/0000000000000000000176ff/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n3&v=3')
|
|
10
|
+
format('opentype');
|
|
11
|
+
font-display: swap;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 300;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Normal */
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'adobe-clean';
|
|
19
|
+
src: local('Adobe Clean'), local('AdobeClean-Regular'),
|
|
20
|
+
url('https://use.typekit.net/af/cb695f/000000000000000000017701/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3')
|
|
21
|
+
format('woff2'),
|
|
22
|
+
url('https://use.typekit.net/af/cb695f/000000000000000000017701/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3')
|
|
23
|
+
format('woff'),
|
|
24
|
+
url('https://use.typekit.net/af/cb695f/000000000000000000017701/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3')
|
|
25
|
+
format('opentype');
|
|
26
|
+
font-display: swap;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-weight: 400;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* Bold */
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: 'adobe-clean';
|
|
34
|
+
src: local('Adobe Clean Bold'), local('AdobeClean-Bold'),
|
|
35
|
+
url('https://use.typekit.net/af/eaf09c/000000000000000000017703/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3')
|
|
36
|
+
format('woff2'),
|
|
37
|
+
url('https://use.typekit.net/af/eaf09c/000000000000000000017703/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3')
|
|
38
|
+
format('woff'),
|
|
39
|
+
url('https://use.typekit.net/af/eaf09c/000000000000000000017703/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3')
|
|
40
|
+
format('opentype');
|
|
41
|
+
font-display: swap;
|
|
42
|
+
font-style: normal;
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/* Italic */
|
|
47
|
+
@font-face {
|
|
48
|
+
font-family: 'adobe-clean';
|
|
49
|
+
src: local('Adobe Clean Italic'), local('AdobeClean-It'),
|
|
50
|
+
url('https://use.typekit.net/af/74ffb1/000000000000000000017702/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3')
|
|
51
|
+
format('woff2'),
|
|
52
|
+
url('https://use.typekit.net/af/74ffb1/000000000000000000017702/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3')
|
|
53
|
+
format('woff'),
|
|
54
|
+
url('https://use.typekit.net/af/74ffb1/000000000000000000017702/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3')
|
|
55
|
+
format('opentype');
|
|
56
|
+
font-display: swap;
|
|
57
|
+
font-style: italic;
|
|
58
|
+
font-weight: 400;
|
|
59
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="161px" height="36px" viewBox="0 0 161 36" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>logo</title>
|
|
4
|
+
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="logo" transform="translate(0.6, 0.7)" fill-rule="nonzero">
|
|
6
|
+
<path d="M25.4683792,0 L40.1793563,0 L40.1793563,35 L25.4683792,0 Z M14.8948643,0 L3.21964677e-15,0 L3.21964677e-15,35 L14.8948643,0 Z M20.0896782,12.9166667 L29.6058415,35 L23.399648,35 L20.6413398,28.0092593 L13.6076539,28.0092593 L20.0896782,12.9166667 Z" id="Shape" fill="#FA0F00"></path>
|
|
7
|
+
<path d="M57.168696,16.5833333 C57.168696,16.7388889 57.212829,16.8055556 57.3010948,16.8055556 C58.0072217,16.85 60.2138683,16.85 61.670255,16.85 C65.4215542,16.85 69.4817839,14.6055556 69.4817839,9.29444444 C69.4817839,5.18333333 66.9000074,2.20555556 61.6261221,2.20555556 C59.6622066,2.20555556 57.9851553,2.25 57.3231613,2.27222222 C57.1907625,2.29444444 57.168696,2.33888889 57.168696,2.45 L57.168696,16.5833333 Z M60.2359348,4.91666667 C60.721397,4.89444444 61.0744605,4.89444444 61.6040556,4.89444444 C64.4285632,4.89444444 66.3262793,6.36111111 66.3262793,9.33888889 C66.3262793,12.4277778 64.4285632,14.1833333 61.5378562,14.1833333 C61.0303275,14.1833333 60.6772641,14.1611111 60.2359348,14.1388889 L60.2359348,4.91666667 Z" id="Shape" fill="#000000"></path>
|
|
8
|
+
<path d="M71.0025311,5.76111111 C70.8921988,5.76111111 70.8701324,5.80555556 70.8701324,5.91666667 C70.9583982,6.69444444 70.9804647,7.98333333 70.9804647,8.93888889 L70.9804647,16.6055556 C70.9804647,16.7388889 71.0245976,16.8055556 71.2011293,16.8055556 L73.8491052,16.8055556 C74.0035705,16.8055556 74.0477034,16.7611111 74.0477034,16.6277778 L74.0697699,9.56111111 C74.5331657,9.02777778 75.8130207,8.53888889 77.4018062,8.60555556 C77.5562715,8.60555556 77.6004044,8.56111111 77.6004044,8.45 L77.6004044,5.71666667 C77.6004044,5.58333333 77.5562715,5.53888889 77.4238727,5.53888889 C75.8571536,5.53888889 74.643498,6.33888889 73.9153046,7.20555556 C73.8932382,6.71666667 73.7829058,6.25 73.6725735,5.96111111 C73.6284406,5.82777778 73.5622412,5.76111111 73.4077759,5.76111111 L71.0025311,5.76111111 Z" id="Path" fill="#000000"></path>
|
|
9
|
+
<path d="M83.4682454,5.53888889 C80.0700097,5.53888889 77.9736954,8.13888889 77.9736954,11.2944444 C77.9736954,14.1611111 79.6507468,17.0277778 83.4241125,17.0277778 C86.6016835,17.0277778 88.852463,14.7166667 88.852463,11.2277778 C88.852463,8.22777778 87.0209464,5.53888889 83.4682454,5.53888889 Z M83.3358466,8.11666667 C85.012898,8.11666667 85.7190249,9.56111111 85.7190249,11.2944444 C85.7190249,13.3388889 84.7481004,14.45 83.4682454,14.45 C81.9897922,14.45 81.0850671,13.2055556 81.0850671,11.25 C81.0850671,9.27222222 82.0559916,8.11666667 83.3358466,8.11666667 Z" id="Shape" fill="#000000"></path>
|
|
10
|
+
<path d="M94.8968358,5.53888889 C92.9770532,5.53888889 91.3882677,6.07222222 90.262878,6.45 C90.1746121,6.47222222 90.1746121,6.53888889 90.1746121,6.56111111 C90.1966786,6.89444444 90.2408115,7.71666667 90.2408115,8.02777778 L90.2408115,21.0944444 C90.2408115,21.2055556 90.262878,21.25 90.3952768,21.25 C90.5276755,21.2277778 92.2267934,21.0722222 93.1315185,20.9833333 C93.2859838,20.9611111 93.3080502,20.8944444 93.3080502,20.7833333 L93.3080502,17.0055556 C93.4625155,17.0277778 93.6169807,17.0277778 93.7273131,17.0277778 C97.1696817,17.0277778 100.479652,15.0055556 100.479652,10.9388889 C100.479652,8.16111111 98.7364008,5.53888889 94.8968358,5.53888889 Z M94.6320382,8.16111111 C96.3532225,8.16111111 97.324147,9.22777778 97.324147,11.1388889 C97.324147,13.5611111 95.5367633,14.45 94.0141771,14.45 C93.8155789,14.45 93.484582,14.45 93.3080502,14.4055556 L93.3080502,8.33888889 C93.7493795,8.20555556 94.1245095,8.16111111 94.6320382,8.16111111 Z" id="Shape" fill="#000000"></path>
|
|
11
|
+
<path d="M101.868,16.6055556 C101.868,16.7388889 101.934199,16.8055556 102.088665,16.8055556 L104.736641,16.8055556 C104.913172,16.8055556 104.935239,16.7388889 104.935239,16.6055556 L104.935239,5.93888889 C104.935239,5.80555556 104.891106,5.76111111 104.758707,5.76111111 L102.044532,5.76111111 C101.912133,5.76111111 101.868,5.82777778 101.868,5.93888889 L101.868,16.6055556 Z M103.412653,4.58333333 C104.449777,4.58333333 105.133837,3.89444444 105.133837,2.85 C105.133837,1.85 104.493909,1.13888889 103.434719,1.13888889 C102.441728,1.13888889 101.713535,1.85 101.713535,2.85 C101.713535,3.89444444 102.375529,4.58333333 103.412653,4.58333333 Z" id="Shape" fill="#000000"></path>
|
|
12
|
+
<path d="M106.897315,16.6055556 C106.897315,16.7388889 106.941448,16.8055556 107.095914,16.8055556 L109.765956,16.8055556 C109.898355,16.8055556 109.964554,16.7388889 109.964554,16.6277778 L109.964554,8.91666667 C110.42795,8.49444444 111.045811,8.22777778 111.796071,8.22777778 C112.943527,8.22777778 113.517255,8.93888889 113.517255,10.2722222 L113.517255,16.6055556 C113.517255,16.7388889 113.583454,16.8055556 113.73792,16.8055556 L116.385896,16.8055556 C116.540361,16.8055556 116.584494,16.7388889 116.584494,16.6055556 L116.584494,10.0055556 C116.584494,6.42777778 114.576445,5.53888889 112.877328,5.53888889 C111.707805,5.53888889 110.670681,5.91666667 109.743889,6.67222222 C109.699757,6.36111111 109.655624,6.13888889 109.567358,5.93888889 C109.523225,5.82777778 109.457025,5.76111111 109.280494,5.76111111 L106.963515,5.76111111 C106.831116,5.76111111 106.786983,5.82777778 106.809049,5.93888889 C106.853182,6.42777778 106.897315,7.58333333 106.897315,8.33888889 L106.897315,16.6055556 Z" id="Path" fill="#000000"></path>
|
|
13
|
+
<path d="M126.576925,17.0277778 C129.975161,17.0277778 132.137674,15.3388889 132.137674,12.65 C132.137674,10.85 131.321215,9.45 128.386375,8.22777778 L127.569916,7.89444444 C125.914931,7.22777778 125.451535,6.76111111 125.451535,6.07222222 C125.451535,5.33888889 126.04733,4.76111111 127.746448,4.76111111 C129.048369,4.76111111 130.262025,4.98333333 131.144683,5.49444444 C131.277082,5.58333333 131.343282,5.47222222 131.343282,5.38333333 L131.343282,2.89444444 C131.343282,2.76111111 131.321215,2.67222222 131.210883,2.60555556 C130.41649,2.20555556 129.158702,2.02777778 127.768514,2.02777778 C124.259946,2.02777778 122.450496,3.93888889 122.450496,6.33888889 C122.450496,8.07222222 123.200756,9.45 125.914931,10.6055556 L127.018254,11.0722222 C128.518774,11.7166667 129.026303,12.2277778 129.026303,12.9388889 C129.026303,13.7166667 128.364309,14.2944444 126.687257,14.2944444 C125.363269,14.2944444 123.906883,13.9166667 122.693227,13.1388889 C122.604961,13.0722222 122.516695,13.1388889 122.516695,13.25 L122.516695,15.8944444 C122.516695,16.0722222 122.560828,16.1833333 122.671161,16.25 C123.597952,16.7388889 124.944007,17.0277778 126.576925,17.0277778 Z" id="Path" fill="#000000"></path>
|
|
14
|
+
<path d="M133.85702,16.5833333 C133.85702,16.7388889 133.901153,16.8055556 133.989419,16.8055556 C134.695546,16.85 136.902192,16.85 138.358579,16.85 C142.109878,16.85 146.170108,14.6055556 146.170108,9.29444444 C146.170108,5.18333333 143.588331,2.20555556 138.314446,2.20555556 C136.35053,2.20555556 134.673479,2.25 134.011485,2.27222222 C133.879086,2.29444444 133.85702,2.33888889 133.85702,2.45 L133.85702,16.5833333 Z M136.924259,4.91666667 C137.409721,4.89444444 137.762784,4.89444444 138.292379,4.89444444 C141.116887,4.89444444 143.014603,6.36111111 143.014603,9.33888889 C143.014603,12.4277778 141.116887,14.1833333 138.22618,14.1833333 C137.718651,14.1833333 137.365588,14.1611111 136.924259,14.1388889 L136.924259,4.91666667 Z" id="Shape" fill="#000000"></path>
|
|
15
|
+
<path d="M153.913598,9.29444444 C153.869465,9.20555556 153.869465,9.16111111 153.913598,9.07222222 L159.562614,2.49444444 C159.650879,2.38333333 159.628813,2.25 159.408148,2.25 L156.495375,2.25 C156.34091,2.25 156.27471,2.29444444 156.208511,2.40555556 L151.000825,8.67222222 L151.000825,2.45 C151.000825,2.29444444 150.934625,2.25 150.802227,2.25 L148.110118,2.25 C147.977719,2.25 147.933586,2.29444444 147.933586,2.42777778 L147.933586,16.5833333 C147.933586,16.7611111 147.999785,16.8055556 148.132184,16.8055556 L150.78016,16.8055556 C150.934625,16.8055556 151.000825,16.7388889 151.000825,16.6055556 L151.000825,10.3611111 L156.208511,16.6277778 C156.34091,16.7611111 156.429175,16.8055556 156.627774,16.8055556 L159.849478,16.8055556 C159.981876,16.8055556 160.048076,16.6722222 159.95981,16.5388889 L153.913598,9.29444444 Z" id="Path" fill="#000000"></path>
|
|
16
|
+
<path d="M61.4183295,32.5462963 L62.1998502,34.8148148 L62.2917938,34.8611111 L63.1652581,34.8611111 C63.2112299,34.8611111 63.2112299,34.8611111 63.1652581,34.7685185 L60.5908371,27.5 L59.3955702,27.5 C59.3955702,27.8240741 59.3495984,27.8703704 59.3036266,27.962963 L56.867121,34.7685185 C56.867121,34.8148148 56.867121,34.8611111 56.9590646,34.8611111 L57.6946135,34.8611111 L57.7865571,34.8148148 L58.5680777,32.5 L61.4183295,32.5 L61.4183295,32.5462963 Z M58.8439085,31.6666667 C59.3036266,30.462963 59.7633446,28.9351852 59.9932036,28.2407407 L61.1424987,31.6666667 L58.8439085,31.6666667 Z M65.0960738,34.7685185 L65.0960738,34.8611111 L66.934946,34.8611111 C68.8197899,34.8611111 70.9344929,33.8425926 70.9344929,31.0185185 C70.9344929,28.8888889 69.5553388,27.4537037 67.0728614,27.4537037 C66.4133374,27.4699587 65.7542486,27.5008304 65.0960738,27.5462963 L65.0960738,34.7685185 L65.0960738,34.7685185 Z M66.0155099,28.287037 L67.0728614,28.287037 C68.7278463,28.287037 70.0150568,29.212963 70.0150568,31.0648148 C70.0150568,33.0555556 68.7278463,34.0740741 66.934946,34.0740741 L66.0155099,34.0740741 L66.0155099,28.2407407 L66.0155099,28.287037 Z M76.1752785,27.3611111 C74.2444627,27.3611111 72.8193368,28.8888889 72.8193368,31.1574074 C72.8193368,33.3333333 74.0605755,34.9537037 76.2212503,34.9537037 C78.1060942,34.9537037 79.5312201,33.5648148 79.5312201,31.1111111 C79.5312201,29.0277778 78.2899814,27.3611111 76.1752785,27.3611111 L76.1752785,27.3611111 Z M73.7847447,31.1574074 C73.7847447,29.212963 74.8420962,28.1944444 76.1752785,28.1944444 C77.6004044,28.1944444 78.5658123,29.3981481 78.5658123,31.1574074 C78.5658123,32.9166667 77.692348,34.1203704 76.2212503,34.1203704 C74.6122372,34.1203704 73.7847447,32.7314815 73.7847447,31.1574074 L73.7847447,31.1574074 Z M81.7378667,34.7685185 C82.3810537,34.8076704 83.0247116,34.8385372 83.6686825,34.8611111 C85.3696392,34.8611111 86.6568497,34.1666667 86.6568497,32.6851852 C86.6869875,31.8866642 86.2051043,31.1587372 85.4615828,30.8796296 C85.9551732,30.5303058 86.247224,29.9593821 86.2431035,29.3518519 C86.2431035,28.7037037 85.9672726,27.4537037 83.7146543,27.4537037 L81.8298103,27.4537037 C81.7378667,27.4537037 81.7378667,27.5 81.7378667,27.5462963 L81.7378667,34.7685185 L81.7378667,34.7685185 Z M82.6573028,31.3888889 L83.8065979,31.3888889 L84.6800621,31.4351852 C85.3696392,31.6203704 85.6914418,32.0833333 85.6914418,32.6851852 C85.6914418,33.6111111 84.8639494,34.0740741 83.6227107,34.0740741 L82.7032746,34.0740741 L82.7032746,31.3888889 L82.6573028,31.3888889 Z M82.6573028,28.287037 L83.6686825,28.287037 C84.7260339,28.287037 85.3696392,28.6574074 85.3696392,29.4907407 C85.3696392,30.0462963 85.0478366,30.4166667 84.7260339,30.6018519 L83.7146543,30.5555556 L82.6573028,30.5555556 L82.6573028,28.2407407 L82.6573028,28.287037 Z M93.368733,34.0740741 L93.2767894,34.0277778 L89.7369605,34.0277778 L89.7369605,31.4814815 L92.7710996,31.4814815 L92.8170714,31.4351852 L92.8170714,30.7407407 L92.7710996,30.6481481 L89.7369605,30.6481481 L89.7369605,28.3333333 L93.0929022,28.3333333 L93.138874,28.2407407 L93.0469304,27.5462963 C93.0469304,27.4537037 93.0469304,27.4537037 92.9549868,27.4537037 L88.9094681,27.4537037 C88.8634963,27.4537037 88.8175245,27.4537037 88.8175245,27.5462963 L88.8175245,34.7685185 C88.8175245,34.8611111 88.8175245,34.8611111 88.9094681,34.8611111 L93.138874,34.8611111 L93.2308176,34.8148148 L93.368733,34.0740741 L93.368733,34.0740741 Z M103.712389,33.9814815 C103.712389,33.8888889 103.712389,33.8888889 103.620445,33.9351852 C103.206699,34.0740741 102.838925,34.1203704 102.241291,34.1203704 C101.091996,34.1203704 99.3450675,33.4722222 99.3450675,31.1111111 C99.3450675,29.3518519 100.540334,28.1944444 102.287263,28.1944444 C102.761696,28.1834958 103.232661,28.2783537 103.666417,28.4722222 C103.712389,28.4722222 103.758361,28.4722222 103.758361,28.3796296 L103.758361,27.5462963 C103.48253,27.4537037 103.022812,27.3611111 102.287263,27.3611111 C99.9427009,27.3611111 98.3796596,28.8888889 98.3796596,31.1574074 C98.3796596,33.8888889 100.310475,34.9537037 102.149347,34.9537037 C102.792953,34.9537037 103.298643,34.9537037 103.666417,34.7685185 L103.666417,33.9351852 L103.712389,33.9814815 Z M108.677344,27.3611111 C106.746528,27.3611111 105.367374,28.8888889 105.367374,31.1574074 C105.367374,33.3333333 106.608612,34.9537037 108.723315,34.9537037 C110.654131,34.9537037 112.033285,33.5648148 112.033285,31.1111111 C112.033285,29.0277778 110.792047,27.3611111 108.677344,27.3611111 L108.677344,27.3611111 Z M106.28681,31.1574074 C106.28681,29.212963 107.344161,28.1944444 108.677344,28.1944444 C110.148441,28.1944444 111.067877,29.3981481 111.067877,31.1574074 C111.067877,32.9166667 110.194413,34.1203704 108.769287,34.1203704 C107.160274,34.1203704 106.28681,32.7314815 106.28681,31.1574074 L106.28681,31.1574074 Z M114.607706,27.5462963 L114.147988,34.8148148 L114.19396,34.8611111 L114.975481,34.8611111 L115.021452,34.8148148 L115.389227,28.1018519 C116.078778,30.3647658 116.79907,32.6180636 117.549902,34.8611111 L118.331422,34.8611111 L118.423366,34.8148148 C118.883084,33.3796296 120.354182,29.1203704 120.630013,28.1018519 C120.71583,30.3559221 120.823103,32.609112 120.951815,34.8611111 L121.779308,34.8611111 L121.825279,34.8148148 L121.457505,27.5 L120.124323,27.5 L118.00962,33.6574074 L116.032832,27.5462963 C116.032832,27.5 116.032832,27.4537037 115.940889,27.4537037 L114.653678,27.4537037 L114.561734,27.5462963 L114.607706,27.5462963 Z M124.721503,27.5462963 L124.261785,34.8148148 L124.261785,34.8611111 L125.043306,34.8611111 L125.135249,34.8148148 C125.227193,32.4537037 125.457052,29.0740741 125.457052,28.1018519 C126.146625,30.3647589 126.866917,32.6180563 127.617727,34.8611111 L128.399247,34.8611111 L128.491191,34.8148148 C128.950909,33.3796296 130.467978,29.1203704 130.743809,28.1018519 C130.81424,30.3557765 130.906187,32.608967 131.01964,34.8611111 L131.847133,34.8611111 C131.893104,34.8611111 131.939076,34.8611111 131.893104,34.8148148 L131.52533,27.5 L130.192148,27.5 L128.077445,33.6574074 C127.847586,32.7314815 126.514403,28.7037037 126.100657,27.5462963 C126.100657,27.5 126.100657,27.4537037 126.008714,27.4537037 L124.813447,27.4537037 C124.767475,27.4537037 124.721503,27.4537037 124.721503,27.5462963 L124.721503,27.5462963 Z M138.972762,34.0740741 L138.92679,34.0277778 L135.34099,34.0277778 L135.34099,31.4814815 L138.329157,31.4814815 L138.375129,31.4351852 L138.375129,30.7407407 L138.329157,30.6481481 L135.34099,30.6481481 L135.34099,28.3333333 L138.65096,28.3333333 L138.696931,28.2407407 L138.604988,27.5462963 L138.559016,27.4537037 L134.467525,27.4537037 L134.421554,27.5462963 L134.421554,34.7685185 C134.421554,34.8611111 134.421554,34.8611111 134.513497,34.8611111 L138.696931,34.8611111 L138.788875,34.8148148 L138.92679,34.0740741 L138.972762,34.0740741 Z M141.777042,34.8611111 L141.868986,34.8148148 L141.868986,31.8055556 L143.110224,31.8055556 C143.24814,31.8055556 143.294112,31.8518519 143.386055,31.9907407 L145.224927,34.8148148 L145.316871,34.8611111 L146.236307,34.8611111 C145.552479,33.751828 144.847446,32.6559448 144.121604,31.5740741 C144.949097,31.2962963 145.684645,30.6481481 145.684645,29.5833333 C145.684645,28.1481481 144.581322,27.4537037 142.926337,27.4537037 C142.266877,27.4717315 141.607825,27.5026014 140.94955,27.5462963 L140.94955,34.8611111 L140.995521,34.9074074 L141.777042,34.9074074 L141.777042,34.8611111 Z M141.868986,31.0185185 L141.868986,28.287037 L142.926337,28.287037 C144.121604,28.287037 144.765209,28.75 144.765209,29.6296296 C144.765209,30.462963 144.121604,31.0185185 143.064253,31.0185185 L141.868986,31.0185185 Z M152.994162,33.9814815 C152.994162,33.8888889 152.994162,33.8888889 152.902219,33.9351852 C152.456177,34.0748725 151.989867,34.137486 151.523064,34.1203704 C150.327798,34.1203704 148.626841,33.4722222 148.626841,31.1111111 C148.626841,29.3518519 149.776136,28.1944444 151.523064,28.1944444 C152.012914,28.1765243 152.500356,28.2715337 152.94819,28.4722222 C152.994162,28.4722222 153.040134,28.4722222 153.040134,28.3796296 L153.040134,27.6388889 L152.994162,27.5462963 C152.718331,27.4537037 152.304585,27.3611111 151.569036,27.3611111 C149.178503,27.3611111 147.661433,28.8888889 147.661433,31.1574074 C147.661433,33.8888889 149.546277,34.9537037 151.431121,34.9537037 C152.028754,34.9537037 152.534444,34.9537037 152.902219,34.7685185 C152.94819,34.7685185 152.994162,34.7222222 152.994162,34.6296296 L152.994162,33.9814815 L152.994162,33.9814815 Z M159.614102,34.0740741 L159.614102,34.0277778 L156.028301,34.0277778 L156.028301,31.4814815 L159.016468,31.4814815 L159.108412,31.4351852 L159.108412,30.7407407 C159.108412,30.6944444 159.108412,30.6481481 159.016468,30.6481481 L156.028301,30.6481481 L156.028301,28.3333333 L159.338271,28.3333333 C159.430215,28.3333333 159.430215,28.287037 159.430215,28.2407407 L159.338271,27.5462963 C159.338271,27.4537037 159.338271,27.4537037 159.246327,27.4537037 L155.200809,27.4537037 C155.154837,27.4537037 155.108865,27.4537037 155.108865,27.5462963 L155.108865,34.7685185 C155.108865,34.8611111 155.108865,34.8611111 155.200809,34.8611111 L159.430215,34.8611111 L159.522158,34.8148148 L159.614102,34.0740741 L159.614102,34.0740741 Z" id="Shape" fill="#6E6E6E"></path>
|
|
17
|
+
</g>
|
|
18
|
+
</g>
|
|
19
|
+
</svg>
|