@rojaostudio/ds 1.0.2 → 2.0.0-next.0
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/README.md +75 -13
- package/dist/compat/generate.d.ts +0 -1
- package/dist/components/accordion.d.ts +30 -20
- package/dist/components/accordion.js +31 -93
- package/dist/components/action-bar.d.ts +24 -0
- package/dist/components/action-bar.js +55 -0
- package/dist/components/alert-dialog.d.ts +31 -0
- package/dist/components/alert-dialog.js +43 -0
- package/dist/components/alert.d.ts +31 -19
- package/dist/components/alert.js +67 -65
- package/dist/components/attachment.d.ts +37 -0
- package/dist/components/attachment.js +76 -0
- package/dist/components/avatar.d.ts +43 -36
- package/dist/components/avatar.js +59 -90
- package/dist/components/badge.d.ts +30 -41
- package/dist/components/badge.js +13 -110
- package/dist/components/banner.d.ts +27 -0
- package/dist/components/banner.js +66 -0
- package/dist/components/benefits.d.ts +30 -0
- package/dist/components/benefits.js +32 -0
- package/dist/components/breadcrumb.d.ts +25 -18
- package/dist/components/breadcrumb.js +38 -56
- package/dist/components/browser.d.ts +18 -0
- package/dist/components/browser.js +32 -0
- package/dist/components/bubble.d.ts +29 -0
- package/dist/components/bubble.js +33 -0
- package/dist/components/button-group.d.ts +19 -0
- package/dist/components/button-group.js +20 -0
- package/dist/components/button.d.ts +47 -20
- package/dist/components/button.js +45 -108
- package/dist/components/calendar.d.ts +29 -0
- package/dist/components/calendar.js +149 -0
- package/dist/components/card.d.ts +47 -19
- package/dist/components/card.js +31 -46
- package/dist/components/carousel.d.ts +28 -0
- package/dist/components/carousel.js +130 -0
- package/dist/components/chart.d.ts +49 -0
- package/dist/components/chart.js +258 -0
- package/dist/components/checkbox-group.d.ts +16 -0
- package/dist/components/checkbox-group.js +13 -0
- package/dist/components/checkbox.d.ts +25 -10
- package/dist/components/checkbox.js +87 -81
- package/dist/components/chip-input.d.ts +46 -20
- package/dist/components/chip-input.js +172 -176
- package/dist/components/chip.d.ts +28 -0
- package/dist/components/chip.js +73 -0
- package/dist/components/choice-card.d.ts +10 -13
- package/dist/components/choice-card.js +11 -62
- package/dist/components/choice-carousel.d.ts +9 -0
- package/dist/components/choice-carousel.js +28 -44
- package/dist/components/choice-preview-card.d.ts +10 -20
- package/dist/components/choice-preview-card.js +12 -40
- package/dist/components/color-input.d.ts +36 -11
- package/dist/components/color-input.js +131 -59
- package/dist/components/combobox.d.ts +60 -57
- package/dist/components/combobox.js +210 -213
- package/dist/components/command.d.ts +58 -0
- package/dist/components/command.js +177 -0
- package/dist/components/contact.d.ts +23 -0
- package/dist/components/contact.js +32 -0
- package/dist/components/context-menu.d.ts +34 -26
- package/dist/components/context-menu.js +41 -68
- package/dist/components/copy-field.d.ts +10 -5
- package/dist/components/copy-field.js +24 -29
- package/dist/components/currency-input.d.ts +25 -11
- package/dist/components/currency-input.js +29 -65
- package/dist/components/danger-zone.d.ts +10 -1
- package/dist/components/danger-zone.js +14 -18
- package/dist/components/data-table-header.d.ts +13 -2
- package/dist/components/data-table-header.js +114 -190
- package/dist/components/date-picker.d.ts +31 -32
- package/dist/components/date-picker.js +119 -254
- package/dist/components/delta.d.ts +26 -0
- package/dist/components/delta.js +24 -0
- package/dist/components/dialog.d.ts +21 -0
- package/dist/components/dialog.js +16 -0
- package/dist/components/drawer.d.ts +15 -23
- package/dist/components/drawer.js +57 -89
- package/dist/components/dropdown-menu.d.ts +63 -0
- package/dist/components/dropdown-menu.js +62 -0
- package/dist/components/dropzone.d.ts +10 -4
- package/dist/components/dropzone.js +30 -58
- package/dist/components/empty.d.ts +29 -0
- package/dist/components/empty.js +42 -0
- package/dist/components/fab.d.ts +29 -6
- package/dist/components/fab.js +51 -51
- package/dist/components/faq.d.ts +21 -0
- package/dist/components/faq.js +24 -0
- package/dist/components/file-input.d.ts +56 -0
- package/dist/components/file-input.js +244 -0
- package/dist/components/filter-chip.d.ts +34 -47
- package/dist/components/filter-chip.js +61 -61
- package/dist/components/floating-stepper.d.ts +7 -18
- package/dist/components/floating-stepper.js +27 -55
- package/dist/components/footer.d.ts +36 -0
- package/dist/components/footer.js +38 -0
- package/dist/components/form-actions.d.ts +28 -0
- package/dist/components/form-actions.js +24 -0
- package/dist/components/google-account-chooser.d.ts +25 -0
- package/dist/components/google-account-chooser.js +44 -0
- package/dist/components/google-button.d.ts +26 -0
- package/dist/components/google-button.js +38 -0
- package/dist/components/google-consent.d.ts +23 -0
- package/dist/components/google-consent.js +28 -0
- package/dist/components/google-sign-in.d.ts +26 -0
- package/dist/components/google-sign-in.js +36 -0
- package/dist/components/hover-card.d.ts +30 -0
- package/dist/components/hover-card.js +55 -0
- package/dist/components/icon-button.d.ts +41 -11
- package/dist/components/icon-button.js +44 -64
- package/dist/components/image-crop-modal.d.ts +3 -3
- package/dist/components/image-crop-modal.js +32 -39
- package/dist/components/image-upload.d.ts +21 -29
- package/dist/components/image-upload.js +55 -259
- package/dist/components/index.d.ts +105 -49
- package/dist/components/index.js +190 -68
- package/dist/components/input-otp.d.ts +35 -0
- package/dist/components/input-otp.js +119 -0
- package/dist/components/input.d.ts +23 -17
- package/dist/components/input.js +104 -137
- package/dist/components/insight-card.d.ts +25 -9
- package/dist/components/insight-card.js +42 -27
- package/dist/components/internal/announce.d.ts +3 -0
- package/dist/components/internal/announce.js +20 -0
- package/dist/components/internal/block.d.ts +15 -0
- package/dist/components/internal/block.js +14 -0
- package/dist/components/internal/button.d.ts +23 -0
- package/dist/components/internal/button.js +30 -0
- package/dist/components/internal/choice-card.d.ts +52 -0
- package/dist/components/internal/choice-card.js +117 -0
- package/dist/components/internal/choice.d.ts +25 -0
- package/dist/components/internal/choice.js +44 -0
- package/dist/components/internal/dates.d.ts +17 -0
- package/dist/components/internal/dates.js +59 -0
- package/dist/components/internal/field.d.ts +66 -0
- package/dist/components/internal/field.js +105 -0
- package/dist/components/internal/fieldset.d.ts +25 -0
- package/dist/components/internal/fieldset.js +56 -0
- package/dist/components/internal/focus-after.d.ts +3 -0
- package/dist/components/internal/focus-after.js +13 -0
- package/dist/components/internal/google.d.ts +47 -0
- package/dist/components/internal/google.js +73 -0
- package/dist/components/internal/icons.d.ts +108 -0
- package/dist/components/internal/icons.js +316 -0
- package/dist/components/internal/menu.d.ts +16 -0
- package/dist/components/internal/menu.js +14 -0
- package/dist/components/internal/modal.d.ts +50 -0
- package/dist/components/internal/modal.js +85 -0
- package/dist/components/internal/option-content.d.ts +10 -0
- package/dist/components/internal/option-content.js +13 -0
- package/dist/components/internal/radio-context.d.ts +16 -0
- package/dist/components/internal/radio-context.js +6 -0
- package/dist/components/internal/toggle.d.ts +7 -0
- package/dist/components/internal/toggle.js +13 -0
- package/dist/components/internal/use-listbox.d.ts +56 -0
- package/dist/components/internal/use-listbox.js +69 -0
- package/dist/components/internal/whatsapp.d.ts +8 -0
- package/dist/components/internal/whatsapp.js +12 -0
- package/dist/components/item.d.ts +32 -0
- package/dist/components/item.js +35 -0
- package/dist/components/kbd.d.ts +17 -0
- package/dist/components/kbd.js +18 -0
- package/dist/components/listbox.d.ts +34 -0
- package/dist/components/listbox.js +114 -0
- package/dist/components/marker.d.ts +24 -0
- package/dist/components/marker.js +28 -0
- package/dist/components/media-tile.d.ts +17 -14
- package/dist/components/media-tile.js +19 -27
- package/dist/components/message-scroller.d.ts +20 -0
- package/dist/components/message-scroller.js +108 -0
- package/dist/components/message.d.ts +33 -0
- package/dist/components/message.js +23 -0
- package/dist/components/navigation-menu.d.ts +42 -0
- package/dist/components/navigation-menu.js +30 -0
- package/dist/components/newsletter.d.ts +27 -0
- package/dist/components/newsletter.js +75 -0
- package/dist/components/number-input.d.ts +60 -0
- package/dist/components/number-input.js +234 -0
- package/dist/components/option-tile.d.ts +20 -19
- package/dist/components/option-tile.js +52 -137
- package/dist/components/page-header.d.ts +31 -0
- package/dist/components/page-header.js +25 -0
- package/dist/components/page-shell.d.ts +11 -1
- package/dist/components/page-shell.js +8 -34
- package/dist/components/page-skeleton.d.ts +15 -21
- package/dist/components/page-skeleton.js +28 -25
- package/dist/components/pagination.d.ts +32 -22
- package/dist/components/pagination.js +78 -76
- package/dist/components/password-input.d.ts +26 -0
- package/dist/components/password-input.js +112 -0
- package/dist/components/phone-input.d.ts +12 -8
- package/dist/components/phone-input.js +75 -64
- package/dist/components/phone.d.ts +27 -0
- package/dist/components/phone.js +35 -0
- package/dist/components/popover.d.ts +25 -36
- package/dist/components/popover.js +30 -131
- package/dist/components/pricing-card.d.ts +9 -25
- package/dist/components/pricing-card.js +9 -40
- package/dist/components/pricing.d.ts +48 -0
- package/dist/components/pricing.js +64 -0
- package/dist/components/progress.d.ts +30 -0
- package/dist/components/progress.js +57 -0
- package/dist/components/qr-display.d.ts +11 -6
- package/dist/components/qr-display.js +6 -22
- package/dist/components/questionnaire.d.ts +42 -0
- package/dist/components/questionnaire.js +107 -0
- package/dist/components/radio-group.d.ts +21 -0
- package/dist/components/radio-group.js +40 -0
- package/dist/components/radio.d.ts +15 -29
- package/dist/components/radio.js +45 -103
- package/dist/components/row-actions.d.ts +5 -0
- package/dist/components/row-actions.js +27 -34
- package/dist/components/saving-bar-context.d.ts +0 -5
- package/dist/components/saving-bar-context.js +16 -40
- package/dist/components/saving-bar.d.ts +26 -11
- package/dist/components/saving-bar.js +50 -65
- package/dist/components/section-card.d.ts +18 -4
- package/dist/components/section-card.js +29 -50
- package/dist/components/section-header.d.ts +8 -12
- package/dist/components/section-header.js +5 -10
- package/dist/components/select.d.ts +44 -16
- package/dist/components/select.js +83 -154
- package/dist/components/selectable-card.d.ts +11 -19
- package/dist/components/selectable-card.js +4 -28
- package/dist/components/separator.d.ts +20 -0
- package/dist/components/separator.js +19 -0
- package/dist/components/setting-row.d.ts +11 -15
- package/dist/components/setting-row.js +10 -23
- package/dist/components/settings-list.d.ts +10 -12
- package/dist/components/settings-list.js +7 -19
- package/dist/components/sheet.d.ts +21 -0
- package/dist/components/sheet.js +16 -0
- package/dist/components/sidebar.d.ts +79 -0
- package/dist/components/sidebar.js +111 -0
- package/dist/components/skeleton.d.ts +14 -20
- package/dist/components/skeleton.js +8 -37
- package/dist/components/slider.d.ts +21 -23
- package/dist/components/slider.js +59 -64
- package/dist/components/sparkline.d.ts +19 -0
- package/dist/components/sparkline.js +32 -0
- package/dist/components/spinner.d.ts +16 -8
- package/dist/components/spinner.js +34 -37
- package/dist/components/star-rating.d.ts +22 -0
- package/dist/components/star-rating.js +25 -0
- package/dist/components/stat.d.ts +33 -0
- package/dist/components/stat.js +29 -0
- package/dist/components/status.d.ts +27 -0
- package/dist/components/status.js +34 -0
- package/dist/components/step-progress.d.ts +13 -6
- package/dist/components/step-progress.js +18 -16
- package/dist/components/summary-bar.d.ts +20 -20
- package/dist/components/summary-bar.js +13 -55
- package/dist/components/switch.d.ts +20 -0
- package/dist/components/switch.js +46 -0
- package/dist/components/table.d.ts +56 -17
- package/dist/components/table.js +59 -58
- package/dist/components/tabs.d.ts +67 -0
- package/dist/components/tabs.js +56 -0
- package/dist/components/testimonial.d.ts +30 -0
- package/dist/components/testimonial.js +36 -0
- package/dist/components/textarea.d.ts +11 -16
- package/dist/components/textarea.js +55 -91
- package/dist/components/tile.d.ts +24 -0
- package/dist/components/tile.js +21 -0
- package/dist/components/time-picker.d.ts +40 -25
- package/dist/components/time-picker.js +185 -203
- package/dist/components/toast.d.ts +63 -0
- package/dist/components/toast.js +132 -0
- package/dist/components/toggle-card-compact.d.ts +15 -5
- package/dist/components/toggle-card-compact.js +19 -86
- package/dist/components/toggle-card.d.ts +11 -2
- package/dist/components/toggle-card.js +8 -77
- package/dist/components/toggle-group.d.ts +21 -59
- package/dist/components/toggle-group.js +31 -80
- package/dist/components/toggle.d.ts +19 -9
- package/dist/components/toggle.js +16 -61
- package/dist/components/tooltip.d.ts +25 -12
- package/dist/components/tooltip.js +15 -88
- package/dist/components/top-navigation.d.ts +33 -0
- package/dist/components/top-navigation.js +85 -0
- package/dist/components/typing-indicator.d.ts +6 -0
- package/dist/components/typing-indicator.js +3 -24
- package/dist/components/whatsapp-chat.d.ts +28 -0
- package/dist/components/whatsapp-chat.js +95 -0
- package/dist/components/whatsapp-message.d.ts +22 -0
- package/dist/components/whatsapp-message.js +34 -0
- package/dist/components/whatsapp-notification.d.ts +27 -0
- package/dist/components/whatsapp-notification.js +73 -0
- package/dist/components/whatsapp-template.d.ts +42 -0
- package/dist/components/whatsapp-template.js +69 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.js +2 -0
- package/dist/icons/pix.d.ts +16 -0
- package/dist/targets/native/components/index.d.ts +0 -2
- package/dist/targets/native/components/index.js +0 -4
- package/dist/targets/native/preset.cjs +0 -1
- package/dist/targets/native/theme.css +58 -60
- package/dist/targets/native/theme.d.ts +58 -60
- package/dist/targets/native/theme.js +58 -60
- package/package.json +34 -12
- package/styles/_primitives.generated.css +40 -0
- package/styles/base.css +12 -18
- package/styles/rds/components-styles.css +11365 -0
- package/styles/rds/components.css +993 -0
- package/styles/rds/foundation.css +74 -0
- package/styles/rds/theme.css +261 -0
- package/styles/rds.css +6 -0
- package/styles/themes/rojao.css +46 -53
- package/dist/components/blocker-card.d.ts +0 -42
- package/dist/components/blocker-card.js +0 -54
- package/dist/components/bottom-sheet.d.ts +0 -31
- package/dist/components/bottom-sheet.js +0 -127
- package/dist/components/chat-bubble.d.ts +0 -16
- package/dist/components/chat-bubble.js +0 -56
- package/dist/components/chips.d.ts +0 -22
- package/dist/components/chips.js +0 -101
- package/dist/components/copilot-hint.d.ts +0 -18
- package/dist/components/copilot-hint.js +0 -72
- package/dist/components/divider.d.ts +0 -20
- package/dist/components/divider.js +0 -50
- package/dist/components/empty-state.d.ts +0 -48
- package/dist/components/empty-state.js +0 -94
- package/dist/components/form-card-header.d.ts +0 -13
- package/dist/components/form-card-header.js +0 -16
- package/dist/components/label.d.ts +0 -16
- package/dist/components/label.js +0 -48
- package/dist/components/menu.d.ts +0 -50
- package/dist/components/menu.js +0 -83
- package/dist/components/modal.d.ts +0 -25
- package/dist/components/modal.js +0 -86
- package/dist/components/notice.d.ts +0 -50
- package/dist/components/notice.js +0 -121
- package/dist/components/page-tabs.d.ts +0 -35
- package/dist/components/page-tabs.js +0 -68
- package/dist/components/paywall-banner.d.ts +0 -37
- package/dist/components/paywall-banner.js +0 -58
- package/dist/components/paywall.d.ts +0 -44
- package/dist/components/paywall.js +0 -65
- package/dist/components/phone-frame.d.ts +0 -9
- package/dist/components/phone-frame.js +0 -19
- package/dist/components/pix-icon.d.ts +0 -8
- package/dist/components/search.d.ts +0 -30
- package/dist/components/search.js +0 -86
- package/dist/components/themed.d.ts +0 -36
- package/dist/components/themed.js +0 -23
- package/dist/components/toaster.d.ts +0 -84
- package/dist/components/toaster.js +0 -290
- package/dist/components/use-dismiss.d.ts +0 -9
- package/dist/components/use-dismiss.js +0 -28
- package/dist/components/use-focus-trap.d.ts +0 -5
- package/dist/components/use-focus-trap.js +0 -54
- package/dist/targets/native/components/paywall-banner.d.ts +0 -11
- package/dist/targets/native/components/paywall-banner.js +0 -55
- package/dist/targets/native/components/paywall.d.ts +0 -18
- package/dist/targets/native/components/paywall.js +0 -71
- /package/dist/{components/pix-icon.js → icons/pix.js} +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__objRest,
|
|
4
|
+
__spreadProps,
|
|
5
|
+
__spreadValues
|
|
6
|
+
} from "../chunk-ORMEWXMH.js";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
import { ExternalLinkIcon, MoreVerticalIcon, PhoneIcon, ReplyIcon } from "./internal/icons.js";
|
|
9
|
+
import { useWhatsAppPlatform } from "./internal/whatsapp.js";
|
|
10
|
+
function WhatsAppTemplate(_a) {
|
|
11
|
+
var _b = _a, {
|
|
12
|
+
children,
|
|
13
|
+
header = "none",
|
|
14
|
+
headerText,
|
|
15
|
+
image,
|
|
16
|
+
body,
|
|
17
|
+
footer,
|
|
18
|
+
time = "11:59",
|
|
19
|
+
platform,
|
|
20
|
+
className
|
|
21
|
+
} = _b, rest = __objRest(_b, [
|
|
22
|
+
"children",
|
|
23
|
+
"header",
|
|
24
|
+
"headerText",
|
|
25
|
+
"image",
|
|
26
|
+
"body",
|
|
27
|
+
"footer",
|
|
28
|
+
"time",
|
|
29
|
+
"platform",
|
|
30
|
+
"className"
|
|
31
|
+
]);
|
|
32
|
+
const finalPlatform = useWhatsAppPlatform(platform);
|
|
33
|
+
return /* @__PURE__ */ jsxs("div", __spreadProps(__spreadValues({}, rest), { className: ["rds-whatsapp-template", `rds-whatsapp--${finalPlatform}`, className].filter(Boolean).join(" "), children: [
|
|
34
|
+
/* @__PURE__ */ jsxs("div", { className: ["rds-whatsapp-template__content", header === "image" && "rds-whatsapp-template__content--image"].filter(Boolean).join(" "), children: [
|
|
35
|
+
header === "image" && /* @__PURE__ */ jsx("div", { className: "rds-whatsapp-template__image", children: image }),
|
|
36
|
+
header === "text" && headerText && /* @__PURE__ */ jsx("p", { className: "rds-whatsapp-template__header", children: headerText }),
|
|
37
|
+
/* @__PURE__ */ jsxs("div", { className: "rds-whatsapp-template__text", children: [
|
|
38
|
+
/* @__PURE__ */ jsx("p", { className: "rds-whatsapp-template__body", children: body }),
|
|
39
|
+
footer && /* @__PURE__ */ jsx("p", { className: "rds-whatsapp-template__footer", children: footer }),
|
|
40
|
+
/* @__PURE__ */ jsx("p", { className: "rds-whatsapp-template__time", children: time })
|
|
41
|
+
] })
|
|
42
|
+
] }),
|
|
43
|
+
children && /* @__PURE__ */ jsx("div", { className: "rds-whatsapp-template__buttons", children })
|
|
44
|
+
] }));
|
|
45
|
+
}
|
|
46
|
+
const BUTTON_ICONS = {
|
|
47
|
+
"quick-reply": ReplyIcon,
|
|
48
|
+
url: ExternalLinkIcon,
|
|
49
|
+
phone: PhoneIcon,
|
|
50
|
+
"all-options": MoreVerticalIcon
|
|
51
|
+
};
|
|
52
|
+
function WhatsAppTemplateButton(_c) {
|
|
53
|
+
var _d = _c, { children, type = "quick-reply", status = "default", className } = _d, rest = __objRest(_d, ["children", "type", "status", "className"]);
|
|
54
|
+
const Icon = BUTTON_ICONS[type];
|
|
55
|
+
return /* @__PURE__ */ jsxs(
|
|
56
|
+
"div",
|
|
57
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
58
|
+
className: ["rds-whatsapp-template__button", status === "used" && "rds-whatsapp-template__button--used", className].filter(Boolean).join(" "),
|
|
59
|
+
children: [
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "rds-whatsapp-template__button-icon", "aria-hidden": "true", children: /* @__PURE__ */ jsx(Icon, {}) }),
|
|
61
|
+
/* @__PURE__ */ jsx("span", { children: children != null ? children : type === "all-options" ? "Ver todas as op\xE7\xF5es" : null })
|
|
62
|
+
]
|
|
63
|
+
})
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
WhatsAppTemplate,
|
|
68
|
+
WhatsAppTemplateButton
|
|
69
|
+
};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
1
|
export { AlertCircle, AlertTriangle, BarChart2, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, DollarSign, ExternalLink, FileText, GripVertical, House, Kanban, Layers, LayoutGrid, LayoutList, Loader2, LogOut, LucideIcon, LucideProps, Megaphone, Menu, MessagesSquare, Moon, Package, PanelLeftClose, PanelLeftOpen, Pencil, Plug, Plus, RefreshCw, Search, Settings, Star, Store, Sun, ThumbsUp, Trash2, Upload, Users, Wallet, X, Zap } from 'lucide-react';
|
|
2
|
+
export { PixIcon, PixIconProps } from './pix.js';
|
|
3
|
+
import 'react';
|
package/dist/icons/index.js
CHANGED
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
X,
|
|
44
44
|
Zap
|
|
45
45
|
} from "lucide-react";
|
|
46
|
+
import { PixIcon } from "./pix.js";
|
|
46
47
|
export {
|
|
47
48
|
AlertCircle,
|
|
48
49
|
AlertTriangle,
|
|
@@ -71,6 +72,7 @@ export {
|
|
|
71
72
|
PanelLeftClose,
|
|
72
73
|
PanelLeftOpen,
|
|
73
74
|
Pencil,
|
|
75
|
+
PixIcon,
|
|
74
76
|
Plug,
|
|
75
77
|
Plus,
|
|
76
78
|
RefreshCw,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import 'lucide-react';
|
|
2
|
+
import * as react from 'react';
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
|
|
5
|
+
interface PixIconProps extends SVGProps<SVGSVGElement> {
|
|
6
|
+
/** Width and height in px. Default 16. */
|
|
7
|
+
size?: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The Pix symbol (Banco Central do Brasil), monochrome: it takes the text colour (currentColor), so it sits with
|
|
11
|
+
* the other payment-method icons. Decorative by default (aria-hidden); name it with aria-label and role="img" when
|
|
12
|
+
* it stands alone. The coloured version belongs to brand contexts, not to UI.
|
|
13
|
+
*/
|
|
14
|
+
declare function PixIcon({ size, ...props }: PixIconProps): react.JSX.Element;
|
|
15
|
+
|
|
16
|
+
export { PixIcon, type PixIconProps };
|
|
@@ -33,8 +33,6 @@ export { IconButton, IconButtonColor, IconButtonSize, IconButtonVariant } from '
|
|
|
33
33
|
export { Search } from './search.js';
|
|
34
34
|
export { FAB, FABProps, FABProvider, useFAB } from './fab.js';
|
|
35
35
|
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps } from './accordion.js';
|
|
36
|
-
export { PaywallBanner, PaywallBannerProps } from './paywall-banner.js';
|
|
37
|
-
export { PaywallContent, PaywallContentProps, PaywallIcon, PaywallReason } from './paywall.js';
|
|
38
36
|
export { Menu, MenuItem } from './menu.js';
|
|
39
37
|
export { ContextMenu } from './context-menu.js';
|
|
40
38
|
export { Slider } from './slider.js';
|
|
@@ -34,8 +34,6 @@ import { IconButton } from "./icon-button.js";
|
|
|
34
34
|
import { Search } from "./search.js";
|
|
35
35
|
import { FAB, FABProvider, useFAB } from "./fab.js";
|
|
36
36
|
import { Accordion, AccordionItem } from "./accordion.js";
|
|
37
|
-
import { PaywallBanner } from "./paywall-banner.js";
|
|
38
|
-
import { PaywallContent } from "./paywall.js";
|
|
39
37
|
import { Menu, MenuItem } from "./menu.js";
|
|
40
38
|
import { ContextMenu } from "./context-menu.js";
|
|
41
39
|
import { Slider } from "./slider.js";
|
|
@@ -75,8 +73,6 @@ export {
|
|
|
75
73
|
Menu,
|
|
76
74
|
MenuItem,
|
|
77
75
|
Modal,
|
|
78
|
-
PaywallBanner,
|
|
79
|
-
PaywallContent,
|
|
80
76
|
Radio,
|
|
81
77
|
RadioGroup,
|
|
82
78
|
SavingBar,
|
|
@@ -34,7 +34,6 @@ module.exports = {
|
|
|
34
34
|
"hover": "var(--ds-brand-hover)",
|
|
35
35
|
"secondary": "var(--ds-brand-secondary)",
|
|
36
36
|
"accent": "var(--ds-brand-accent)",
|
|
37
|
-
"accent-light": "var(--ds-brand-accent-light)",
|
|
38
37
|
"on-primary": "var(--ds-brand-on-primary)",
|
|
39
38
|
"on-secondary": "var(--ds-brand-on-secondary)",
|
|
40
39
|
"on-accent": "var(--ds-brand-on-accent)"
|
|
@@ -3,37 +3,36 @@
|
|
|
3
3
|
/* Tema rojao resolvido (hex/rgba) para React Native via NativeWind. */
|
|
4
4
|
|
|
5
5
|
:root {
|
|
6
|
-
--ds-border-control: #
|
|
7
|
-
--ds-border-default: #
|
|
8
|
-
--ds-border-focus: #
|
|
9
|
-
--ds-border-strong: #
|
|
10
|
-
--ds-border-subtle: #
|
|
11
|
-
--ds-brand-accent: #
|
|
12
|
-
--ds-brand-
|
|
13
|
-
--ds-brand-
|
|
14
|
-
--ds-brand-on-accent: #ffffff;
|
|
6
|
+
--ds-border-control: #71717a;
|
|
7
|
+
--ds-border-default: #e4e4e7;
|
|
8
|
+
--ds-border-focus: #1b2a4a;
|
|
9
|
+
--ds-border-strong: #d4d4d8;
|
|
10
|
+
--ds-border-subtle: #f4f4f5;
|
|
11
|
+
--ds-brand-accent: #ff6a00;
|
|
12
|
+
--ds-brand-hover: #26344f;
|
|
13
|
+
--ds-brand-on-accent: #000000;
|
|
15
14
|
--ds-brand-on-primary: #ffffff;
|
|
16
|
-
--ds-brand-on-secondary: #
|
|
17
|
-
--ds-brand-primary: #
|
|
18
|
-
--ds-brand-primary-100: #
|
|
19
|
-
--ds-brand-primary-200: #
|
|
20
|
-
--ds-brand-primary-300: #
|
|
21
|
-
--ds-brand-primary-400: #
|
|
22
|
-
--ds-brand-primary-50: #
|
|
23
|
-
--ds-brand-primary-500: #
|
|
24
|
-
--ds-brand-primary-600: #
|
|
25
|
-
--ds-brand-primary-700: #
|
|
26
|
-
--ds-brand-primary-800: #
|
|
27
|
-
--ds-brand-primary-900: #
|
|
28
|
-
--ds-brand-secondary: #
|
|
15
|
+
--ds-brand-on-secondary: #ffffff;
|
|
16
|
+
--ds-brand-primary: #1b2a4a;
|
|
17
|
+
--ds-brand-primary-100: #e4e6ec;
|
|
18
|
+
--ds-brand-primary-200: #c9cdd8;
|
|
19
|
+
--ds-brand-primary-300: #aeb6c4;
|
|
20
|
+
--ds-brand-primary-400: #8a91a1;
|
|
21
|
+
--ds-brand-primary-50: #f4f6f9;
|
|
22
|
+
--ds-brand-primary-500: #6b7488;
|
|
23
|
+
--ds-brand-primary-600: #5a6478;
|
|
24
|
+
--ds-brand-primary-700: #3a465f;
|
|
25
|
+
--ds-brand-primary-800: #26344f;
|
|
26
|
+
--ds-brand-primary-900: #1b2a4a;
|
|
27
|
+
--ds-brand-secondary: #1b2a4a;
|
|
29
28
|
--ds-brand-secondary-band: var(--brand-secondary);
|
|
30
29
|
--ds-brand-secondary-surface: var(--brand-secondary);
|
|
31
|
-
--ds-brand-text: #
|
|
30
|
+
--ds-brand-text: #1b2a4a;
|
|
32
31
|
--ds-danger: #f44336;
|
|
33
32
|
--ds-danger-border: #ef9a9a;
|
|
34
33
|
--ds-danger-soft: #ffcdd2;
|
|
35
34
|
--ds-danger-text: #991b1b;
|
|
36
|
-
--ds-icon-default: #
|
|
35
|
+
--ds-icon-default: #27272a;
|
|
37
36
|
--ds-info: #2196f3;
|
|
38
37
|
--ds-info-border: #90caf9;
|
|
39
38
|
--ds-info-soft: #bbdefb;
|
|
@@ -43,16 +42,16 @@
|
|
|
43
42
|
--ds-success-soft: #c8e6c9;
|
|
44
43
|
--ds-success-text: #1b5e20;
|
|
45
44
|
--ds-surface-default: #ffffff;
|
|
46
|
-
--ds-surface-invert: #
|
|
47
|
-
--ds-surface-overlay: #
|
|
45
|
+
--ds-surface-invert: #18181b;
|
|
46
|
+
--ds-surface-overlay: #18181b;
|
|
48
47
|
--ds-surface-page: #fafafa;
|
|
49
|
-
--ds-surface-raised: #
|
|
50
|
-
--ds-text-disabled: #
|
|
48
|
+
--ds-surface-raised: #f4f4f5;
|
|
49
|
+
--ds-text-disabled: #a1a1aa;
|
|
51
50
|
--ds-text-inverse: #ffffff;
|
|
52
|
-
--ds-text-muted: #
|
|
53
|
-
--ds-text-placeholder: #
|
|
54
|
-
--ds-text-primary: #
|
|
55
|
-
--ds-text-secondary: #
|
|
51
|
+
--ds-text-muted: #52525b;
|
|
52
|
+
--ds-text-placeholder: #52525b;
|
|
53
|
+
--ds-text-primary: #18181b;
|
|
54
|
+
--ds-text-secondary: #3f3f46;
|
|
56
55
|
--ds-warning: #ffc107;
|
|
57
56
|
--ds-warning-border: #ffe082;
|
|
58
57
|
--ds-warning-soft: #ffecb3;
|
|
@@ -62,27 +61,26 @@
|
|
|
62
61
|
.dark {
|
|
63
62
|
--ds-border-control: rgba(255, 255, 255, 0.4);
|
|
64
63
|
--ds-border-default: rgba(255, 255, 255, 0.14);
|
|
65
|
-
--ds-border-focus: #
|
|
64
|
+
--ds-border-focus: #1b2a4a;
|
|
66
65
|
--ds-border-strong: rgba(255, 255, 255, 0.22);
|
|
67
66
|
--ds-border-subtle: rgba(255, 255, 255, 0.08);
|
|
68
|
-
--ds-brand-accent: #
|
|
69
|
-
--ds-brand-
|
|
70
|
-
--ds-brand-
|
|
71
|
-
--ds-brand-on-
|
|
72
|
-
--ds-brand-on-primary: #0d0d0d;
|
|
67
|
+
--ds-brand-accent: #ff6a00;
|
|
68
|
+
--ds-brand-hover: #26344f;
|
|
69
|
+
--ds-brand-on-accent: #000000;
|
|
70
|
+
--ds-brand-on-primary: #ffffff;
|
|
73
71
|
--ds-brand-on-secondary: #ffffff;
|
|
74
|
-
--ds-brand-primary: #
|
|
75
|
-
--ds-brand-primary-100: #
|
|
76
|
-
--ds-brand-primary-200: #
|
|
77
|
-
--ds-brand-primary-300: #
|
|
78
|
-
--ds-brand-primary-400: #
|
|
79
|
-
--ds-brand-primary-50: #
|
|
80
|
-
--ds-brand-primary-500: #
|
|
81
|
-
--ds-brand-primary-600: #
|
|
82
|
-
--ds-brand-primary-700: #
|
|
83
|
-
--ds-brand-primary-800: #
|
|
84
|
-
--ds-brand-primary-900: #
|
|
85
|
-
--ds-brand-secondary: #
|
|
72
|
+
--ds-brand-primary: #1b2a4a;
|
|
73
|
+
--ds-brand-primary-100: #e4e6ec;
|
|
74
|
+
--ds-brand-primary-200: #c9cdd8;
|
|
75
|
+
--ds-brand-primary-300: #aeb6c4;
|
|
76
|
+
--ds-brand-primary-400: #8a91a1;
|
|
77
|
+
--ds-brand-primary-50: #f4f6f9;
|
|
78
|
+
--ds-brand-primary-500: #6b7488;
|
|
79
|
+
--ds-brand-primary-600: #5a6478;
|
|
80
|
+
--ds-brand-primary-700: #3a465f;
|
|
81
|
+
--ds-brand-primary-800: #26344f;
|
|
82
|
+
--ds-brand-primary-900: #1b2a4a;
|
|
83
|
+
--ds-brand-secondary: #1b2a4a;
|
|
86
84
|
--ds-brand-secondary-band: transparent;
|
|
87
85
|
--ds-brand-secondary-surface: var(--surface-page);
|
|
88
86
|
--ds-brand-text: #fafafa;
|
|
@@ -90,7 +88,7 @@
|
|
|
90
88
|
--ds-danger-border: rgba(244, 67, 54, 0.4);
|
|
91
89
|
--ds-danger-soft: rgba(244, 67, 54, 0.2);
|
|
92
90
|
--ds-danger-text: #ef9a9a;
|
|
93
|
-
--ds-icon-default: #
|
|
91
|
+
--ds-icon-default: #a1a1aa;
|
|
94
92
|
--ds-info: #2196f3;
|
|
95
93
|
--ds-info-border: rgba(33, 150, 243, 0.4);
|
|
96
94
|
--ds-info-soft: rgba(33, 150, 243, 0.2);
|
|
@@ -99,17 +97,17 @@
|
|
|
99
97
|
--ds-success-border: rgba(76, 175, 80, 0.4);
|
|
100
98
|
--ds-success-soft: rgba(76, 175, 80, 0.2);
|
|
101
99
|
--ds-success-text: #a5d6a7;
|
|
102
|
-
--ds-surface-default: #
|
|
100
|
+
--ds-surface-default: #27272a;
|
|
103
101
|
--ds-surface-invert: #fafafa;
|
|
104
|
-
--ds-surface-overlay: #
|
|
105
|
-
--ds-surface-page: #
|
|
106
|
-
--ds-surface-raised: #
|
|
107
|
-
--ds-text-disabled: #
|
|
108
|
-
--ds-text-inverse: #
|
|
109
|
-
--ds-text-muted: #
|
|
110
|
-
--ds-text-placeholder: #
|
|
102
|
+
--ds-surface-overlay: #e4e4e7;
|
|
103
|
+
--ds-surface-page: #18181b;
|
|
104
|
+
--ds-surface-raised: #3f3f46;
|
|
105
|
+
--ds-text-disabled: #52525b;
|
|
106
|
+
--ds-text-inverse: #18181b;
|
|
107
|
+
--ds-text-muted: #d4d4d8;
|
|
108
|
+
--ds-text-placeholder: #d4d4d8;
|
|
111
109
|
--ds-text-primary: #fafafa;
|
|
112
|
-
--ds-text-secondary: #
|
|
110
|
+
--ds-text-secondary: #e4e4e7;
|
|
113
111
|
--ds-warning: #ffc107;
|
|
114
112
|
--ds-warning-border: rgba(255, 193, 7, 0.4);
|
|
115
113
|
--ds-warning-soft: rgba(255, 193, 7, 0.2);
|
|
@@ -16,44 +16,43 @@ declare const dsTheme: {
|
|
|
16
16
|
readonly "--info-soft": "#bbdefb";
|
|
17
17
|
readonly "--info-border": "#90caf9";
|
|
18
18
|
readonly "--info-text": "#1e40af";
|
|
19
|
-
readonly "--brand-primary-50": "#
|
|
20
|
-
readonly "--brand-primary-100": "#
|
|
21
|
-
readonly "--brand-primary-200": "#
|
|
22
|
-
readonly "--brand-primary-300": "#
|
|
23
|
-
readonly "--brand-primary-400": "#
|
|
24
|
-
readonly "--brand-primary-500": "#
|
|
25
|
-
readonly "--brand-primary-600": "#
|
|
26
|
-
readonly "--brand-primary-700": "#
|
|
27
|
-
readonly "--brand-primary-800": "#
|
|
28
|
-
readonly "--brand-primary-900": "#
|
|
29
|
-
readonly "--brand-primary": "#
|
|
30
|
-
readonly "--brand-hover": "#
|
|
19
|
+
readonly "--brand-primary-50": "#f4f6f9";
|
|
20
|
+
readonly "--brand-primary-100": "#e4e6ec";
|
|
21
|
+
readonly "--brand-primary-200": "#c9cdd8";
|
|
22
|
+
readonly "--brand-primary-300": "#aeb6c4";
|
|
23
|
+
readonly "--brand-primary-400": "#8a91a1";
|
|
24
|
+
readonly "--brand-primary-500": "#6b7488";
|
|
25
|
+
readonly "--brand-primary-600": "#5a6478";
|
|
26
|
+
readonly "--brand-primary-700": "#3a465f";
|
|
27
|
+
readonly "--brand-primary-800": "#26344f";
|
|
28
|
+
readonly "--brand-primary-900": "#1b2a4a";
|
|
29
|
+
readonly "--brand-primary": "#1b2a4a";
|
|
30
|
+
readonly "--brand-hover": "#26344f";
|
|
31
31
|
readonly "--brand-on-primary": "#ffffff";
|
|
32
|
-
readonly "--brand-secondary": "#
|
|
33
|
-
readonly "--brand-on-secondary": "#
|
|
32
|
+
readonly "--brand-secondary": "#1b2a4a";
|
|
33
|
+
readonly "--brand-on-secondary": "#ffffff";
|
|
34
34
|
readonly "--brand-secondary-surface": "var(--brand-secondary)";
|
|
35
35
|
readonly "--brand-secondary-band": "var(--brand-secondary)";
|
|
36
|
-
readonly "--brand-accent": "#
|
|
37
|
-
readonly "--brand-accent
|
|
38
|
-
readonly "--brand-on-accent": "#ffffff";
|
|
36
|
+
readonly "--brand-accent": "#ff6a00";
|
|
37
|
+
readonly "--brand-on-accent": "#000000";
|
|
39
38
|
readonly "--surface-page": "#fafafa";
|
|
40
39
|
readonly "--surface-default": "#ffffff";
|
|
41
|
-
readonly "--surface-raised": "#
|
|
42
|
-
readonly "--surface-overlay": "#
|
|
43
|
-
readonly "--surface-invert": "#
|
|
44
|
-
readonly "--border-subtle": "#
|
|
45
|
-
readonly "--border-default": "#
|
|
46
|
-
readonly "--border-strong": "#
|
|
47
|
-
readonly "--border-control": "#
|
|
48
|
-
readonly "--border-focus": "#
|
|
49
|
-
readonly "--brand-text": "#
|
|
50
|
-
readonly "--text-primary": "#
|
|
51
|
-
readonly "--text-secondary": "#
|
|
52
|
-
readonly "--text-muted": "#
|
|
53
|
-
readonly "--text-disabled": "#
|
|
40
|
+
readonly "--surface-raised": "#f4f4f5";
|
|
41
|
+
readonly "--surface-overlay": "#18181b";
|
|
42
|
+
readonly "--surface-invert": "#18181b";
|
|
43
|
+
readonly "--border-subtle": "#f4f4f5";
|
|
44
|
+
readonly "--border-default": "#e4e4e7";
|
|
45
|
+
readonly "--border-strong": "#d4d4d8";
|
|
46
|
+
readonly "--border-control": "#71717a";
|
|
47
|
+
readonly "--border-focus": "#1b2a4a";
|
|
48
|
+
readonly "--brand-text": "#1b2a4a";
|
|
49
|
+
readonly "--text-primary": "#18181b";
|
|
50
|
+
readonly "--text-secondary": "#3f3f46";
|
|
51
|
+
readonly "--text-muted": "#52525b";
|
|
52
|
+
readonly "--text-disabled": "#a1a1aa";
|
|
54
53
|
readonly "--text-inverse": "#ffffff";
|
|
55
|
-
readonly "--text-placeholder": "#
|
|
56
|
-
readonly "--icon-default": "#
|
|
54
|
+
readonly "--text-placeholder": "#52525b";
|
|
55
|
+
readonly "--icon-default": "#27272a";
|
|
57
56
|
};
|
|
58
57
|
readonly dark: {
|
|
59
58
|
readonly "--danger": "#f44336";
|
|
@@ -72,44 +71,43 @@ declare const dsTheme: {
|
|
|
72
71
|
readonly "--info-soft": "rgba(33, 150, 243, 0.2)";
|
|
73
72
|
readonly "--info-border": "rgba(33, 150, 243, 0.4)";
|
|
74
73
|
readonly "--info-text": "#90caf9";
|
|
75
|
-
readonly "--brand-primary-50": "#
|
|
76
|
-
readonly "--brand-primary-100": "#
|
|
77
|
-
readonly "--brand-primary-200": "#
|
|
78
|
-
readonly "--brand-primary-300": "#
|
|
79
|
-
readonly "--brand-primary-400": "#
|
|
80
|
-
readonly "--brand-primary-500": "#
|
|
81
|
-
readonly "--brand-primary-600": "#
|
|
82
|
-
readonly "--brand-primary-700": "#
|
|
83
|
-
readonly "--brand-primary-800": "#
|
|
84
|
-
readonly "--brand-primary-900": "#
|
|
85
|
-
readonly "--brand-primary": "#
|
|
86
|
-
readonly "--brand-hover": "#
|
|
87
|
-
readonly "--brand-on-primary": "#
|
|
88
|
-
readonly "--brand-secondary": "#
|
|
74
|
+
readonly "--brand-primary-50": "#f4f6f9";
|
|
75
|
+
readonly "--brand-primary-100": "#e4e6ec";
|
|
76
|
+
readonly "--brand-primary-200": "#c9cdd8";
|
|
77
|
+
readonly "--brand-primary-300": "#aeb6c4";
|
|
78
|
+
readonly "--brand-primary-400": "#8a91a1";
|
|
79
|
+
readonly "--brand-primary-500": "#6b7488";
|
|
80
|
+
readonly "--brand-primary-600": "#5a6478";
|
|
81
|
+
readonly "--brand-primary-700": "#3a465f";
|
|
82
|
+
readonly "--brand-primary-800": "#26344f";
|
|
83
|
+
readonly "--brand-primary-900": "#1b2a4a";
|
|
84
|
+
readonly "--brand-primary": "#1b2a4a";
|
|
85
|
+
readonly "--brand-hover": "#26344f";
|
|
86
|
+
readonly "--brand-on-primary": "#ffffff";
|
|
87
|
+
readonly "--brand-secondary": "#1b2a4a";
|
|
89
88
|
readonly "--brand-on-secondary": "#ffffff";
|
|
90
89
|
readonly "--brand-secondary-surface": "var(--surface-page)";
|
|
91
90
|
readonly "--brand-secondary-band": "transparent";
|
|
92
|
-
readonly "--brand-accent": "#
|
|
93
|
-
readonly "--brand-accent
|
|
94
|
-
readonly "--
|
|
95
|
-
readonly "--surface-
|
|
96
|
-
readonly "--surface-
|
|
97
|
-
readonly "--surface-
|
|
98
|
-
readonly "--surface-overlay": "#d6d6d6";
|
|
91
|
+
readonly "--brand-accent": "#ff6a00";
|
|
92
|
+
readonly "--brand-on-accent": "#000000";
|
|
93
|
+
readonly "--surface-page": "#18181b";
|
|
94
|
+
readonly "--surface-default": "#27272a";
|
|
95
|
+
readonly "--surface-raised": "#3f3f46";
|
|
96
|
+
readonly "--surface-overlay": "#e4e4e7";
|
|
99
97
|
readonly "--surface-invert": "#fafafa";
|
|
100
98
|
readonly "--border-subtle": "rgba(255, 255, 255, 0.08)";
|
|
101
99
|
readonly "--border-default": "rgba(255, 255, 255, 0.14)";
|
|
102
100
|
readonly "--border-strong": "rgba(255, 255, 255, 0.22)";
|
|
103
101
|
readonly "--border-control": "rgba(255, 255, 255, 0.4)";
|
|
104
|
-
readonly "--border-focus": "#
|
|
102
|
+
readonly "--border-focus": "#1b2a4a";
|
|
105
103
|
readonly "--brand-text": "#fafafa";
|
|
106
104
|
readonly "--text-primary": "#fafafa";
|
|
107
|
-
readonly "--text-secondary": "#
|
|
108
|
-
readonly "--text-muted": "#
|
|
109
|
-
readonly "--text-disabled": "#
|
|
110
|
-
readonly "--text-inverse": "#
|
|
111
|
-
readonly "--text-placeholder": "#
|
|
112
|
-
readonly "--icon-default": "#
|
|
105
|
+
readonly "--text-secondary": "#e4e4e7";
|
|
106
|
+
readonly "--text-muted": "#d4d4d8";
|
|
107
|
+
readonly "--text-disabled": "#52525b";
|
|
108
|
+
readonly "--text-inverse": "#18181b";
|
|
109
|
+
readonly "--text-placeholder": "#d4d4d8";
|
|
110
|
+
readonly "--icon-default": "#a1a1aa";
|
|
113
111
|
};
|
|
114
112
|
};
|
|
115
113
|
type ThemeMap = Record<string, string>;
|
|
@@ -17,44 +17,43 @@ const dsTheme = {
|
|
|
17
17
|
"--info-soft": "#bbdefb",
|
|
18
18
|
"--info-border": "#90caf9",
|
|
19
19
|
"--info-text": "#1e40af",
|
|
20
|
-
"--brand-primary-50": "#
|
|
21
|
-
"--brand-primary-100": "#
|
|
22
|
-
"--brand-primary-200": "#
|
|
23
|
-
"--brand-primary-300": "#
|
|
24
|
-
"--brand-primary-400": "#
|
|
25
|
-
"--brand-primary-500": "#
|
|
26
|
-
"--brand-primary-600": "#
|
|
27
|
-
"--brand-primary-700": "#
|
|
28
|
-
"--brand-primary-800": "#
|
|
29
|
-
"--brand-primary-900": "#
|
|
30
|
-
"--brand-primary": "#
|
|
31
|
-
"--brand-hover": "#
|
|
20
|
+
"--brand-primary-50": "#f4f6f9",
|
|
21
|
+
"--brand-primary-100": "#e4e6ec",
|
|
22
|
+
"--brand-primary-200": "#c9cdd8",
|
|
23
|
+
"--brand-primary-300": "#aeb6c4",
|
|
24
|
+
"--brand-primary-400": "#8a91a1",
|
|
25
|
+
"--brand-primary-500": "#6b7488",
|
|
26
|
+
"--brand-primary-600": "#5a6478",
|
|
27
|
+
"--brand-primary-700": "#3a465f",
|
|
28
|
+
"--brand-primary-800": "#26344f",
|
|
29
|
+
"--brand-primary-900": "#1b2a4a",
|
|
30
|
+
"--brand-primary": "#1b2a4a",
|
|
31
|
+
"--brand-hover": "#26344f",
|
|
32
32
|
"--brand-on-primary": "#ffffff",
|
|
33
|
-
"--brand-secondary": "#
|
|
34
|
-
"--brand-on-secondary": "#
|
|
33
|
+
"--brand-secondary": "#1b2a4a",
|
|
34
|
+
"--brand-on-secondary": "#ffffff",
|
|
35
35
|
"--brand-secondary-surface": "var(--brand-secondary)",
|
|
36
36
|
"--brand-secondary-band": "var(--brand-secondary)",
|
|
37
|
-
"--brand-accent": "#
|
|
38
|
-
"--brand-accent
|
|
39
|
-
"--brand-on-accent": "#ffffff",
|
|
37
|
+
"--brand-accent": "#ff6a00",
|
|
38
|
+
"--brand-on-accent": "#000000",
|
|
40
39
|
"--surface-page": "#fafafa",
|
|
41
40
|
"--surface-default": "#ffffff",
|
|
42
|
-
"--surface-raised": "#
|
|
43
|
-
"--surface-overlay": "#
|
|
44
|
-
"--surface-invert": "#
|
|
45
|
-
"--border-subtle": "#
|
|
46
|
-
"--border-default": "#
|
|
47
|
-
"--border-strong": "#
|
|
48
|
-
"--border-control": "#
|
|
49
|
-
"--border-focus": "#
|
|
50
|
-
"--brand-text": "#
|
|
51
|
-
"--text-primary": "#
|
|
52
|
-
"--text-secondary": "#
|
|
53
|
-
"--text-muted": "#
|
|
54
|
-
"--text-disabled": "#
|
|
41
|
+
"--surface-raised": "#f4f4f5",
|
|
42
|
+
"--surface-overlay": "#18181b",
|
|
43
|
+
"--surface-invert": "#18181b",
|
|
44
|
+
"--border-subtle": "#f4f4f5",
|
|
45
|
+
"--border-default": "#e4e4e7",
|
|
46
|
+
"--border-strong": "#d4d4d8",
|
|
47
|
+
"--border-control": "#71717a",
|
|
48
|
+
"--border-focus": "#1b2a4a",
|
|
49
|
+
"--brand-text": "#1b2a4a",
|
|
50
|
+
"--text-primary": "#18181b",
|
|
51
|
+
"--text-secondary": "#3f3f46",
|
|
52
|
+
"--text-muted": "#52525b",
|
|
53
|
+
"--text-disabled": "#a1a1aa",
|
|
55
54
|
"--text-inverse": "#ffffff",
|
|
56
|
-
"--text-placeholder": "#
|
|
57
|
-
"--icon-default": "#
|
|
55
|
+
"--text-placeholder": "#52525b",
|
|
56
|
+
"--icon-default": "#27272a"
|
|
58
57
|
},
|
|
59
58
|
dark: {
|
|
60
59
|
"--danger": "#f44336",
|
|
@@ -73,44 +72,43 @@ const dsTheme = {
|
|
|
73
72
|
"--info-soft": "rgba(33, 150, 243, 0.2)",
|
|
74
73
|
"--info-border": "rgba(33, 150, 243, 0.4)",
|
|
75
74
|
"--info-text": "#90caf9",
|
|
76
|
-
"--brand-primary-50": "#
|
|
77
|
-
"--brand-primary-100": "#
|
|
78
|
-
"--brand-primary-200": "#
|
|
79
|
-
"--brand-primary-300": "#
|
|
80
|
-
"--brand-primary-400": "#
|
|
81
|
-
"--brand-primary-500": "#
|
|
82
|
-
"--brand-primary-600": "#
|
|
83
|
-
"--brand-primary-700": "#
|
|
84
|
-
"--brand-primary-800": "#
|
|
85
|
-
"--brand-primary-900": "#
|
|
86
|
-
"--brand-primary": "#
|
|
87
|
-
"--brand-hover": "#
|
|
88
|
-
"--brand-on-primary": "#
|
|
89
|
-
"--brand-secondary": "#
|
|
75
|
+
"--brand-primary-50": "#f4f6f9",
|
|
76
|
+
"--brand-primary-100": "#e4e6ec",
|
|
77
|
+
"--brand-primary-200": "#c9cdd8",
|
|
78
|
+
"--brand-primary-300": "#aeb6c4",
|
|
79
|
+
"--brand-primary-400": "#8a91a1",
|
|
80
|
+
"--brand-primary-500": "#6b7488",
|
|
81
|
+
"--brand-primary-600": "#5a6478",
|
|
82
|
+
"--brand-primary-700": "#3a465f",
|
|
83
|
+
"--brand-primary-800": "#26344f",
|
|
84
|
+
"--brand-primary-900": "#1b2a4a",
|
|
85
|
+
"--brand-primary": "#1b2a4a",
|
|
86
|
+
"--brand-hover": "#26344f",
|
|
87
|
+
"--brand-on-primary": "#ffffff",
|
|
88
|
+
"--brand-secondary": "#1b2a4a",
|
|
90
89
|
"--brand-on-secondary": "#ffffff",
|
|
91
90
|
"--brand-secondary-surface": "var(--surface-page)",
|
|
92
91
|
"--brand-secondary-band": "transparent",
|
|
93
|
-
"--brand-accent": "#
|
|
94
|
-
"--brand-accent
|
|
95
|
-
"--
|
|
96
|
-
"--surface-
|
|
97
|
-
"--surface-
|
|
98
|
-
"--surface-
|
|
99
|
-
"--surface-overlay": "#d6d6d6",
|
|
92
|
+
"--brand-accent": "#ff6a00",
|
|
93
|
+
"--brand-on-accent": "#000000",
|
|
94
|
+
"--surface-page": "#18181b",
|
|
95
|
+
"--surface-default": "#27272a",
|
|
96
|
+
"--surface-raised": "#3f3f46",
|
|
97
|
+
"--surface-overlay": "#e4e4e7",
|
|
100
98
|
"--surface-invert": "#fafafa",
|
|
101
99
|
"--border-subtle": "rgba(255, 255, 255, 0.08)",
|
|
102
100
|
"--border-default": "rgba(255, 255, 255, 0.14)",
|
|
103
101
|
"--border-strong": "rgba(255, 255, 255, 0.22)",
|
|
104
102
|
"--border-control": "rgba(255, 255, 255, 0.4)",
|
|
105
|
-
"--border-focus": "#
|
|
103
|
+
"--border-focus": "#1b2a4a",
|
|
106
104
|
"--brand-text": "#fafafa",
|
|
107
105
|
"--text-primary": "#fafafa",
|
|
108
|
-
"--text-secondary": "#
|
|
109
|
-
"--text-muted": "#
|
|
110
|
-
"--text-disabled": "#
|
|
111
|
-
"--text-inverse": "#
|
|
112
|
-
"--text-placeholder": "#
|
|
113
|
-
"--icon-default": "#
|
|
106
|
+
"--text-secondary": "#e4e4e7",
|
|
107
|
+
"--text-muted": "#d4d4d8",
|
|
108
|
+
"--text-disabled": "#52525b",
|
|
109
|
+
"--text-inverse": "#18181b",
|
|
110
|
+
"--text-placeholder": "#d4d4d8",
|
|
111
|
+
"--icon-default": "#a1a1aa"
|
|
114
112
|
}
|
|
115
113
|
};
|
|
116
114
|
export {
|